From 49a54b0ce5c632bb694eb8228432ea0707fffcea Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:07:18 +0800 Subject: [PATCH 01/73] [mgmt] refresh rlc mgmt packages --- .../arm-appservice-rest/karma.conf.js | 3 +- .../arm-appservice-rest/package.json | 5 +- .../review/arm-appservice.api.md | 9871 +++++++++-------- .../src/clientDefinitions.ts | 3760 ++++--- .../arm-appservice-rest/src/index.ts | 1 + .../arm-appservice-rest/src/isUnexpected.ts | 8334 ++++++++++++++ .../arm-appservice-rest/src/logger.ts | 5 + .../arm-appservice-rest/src/models.ts | 1582 +-- .../arm-appservice-rest/src/outputModels.ts | 1519 ++- .../arm-appservice-rest/src/paginateHelper.ts | 146 +- .../arm-appservice-rest/src/pollingHelper.ts | 166 +- .../arm-appservice-rest/src/responses.ts | 2900 +++-- .../src/webSiteManagementClient.ts | 50 +- .../arm-appservice-rest/swagger/README.md | 6 +- .../test/public/appservice-rest.spec.ts | 4 +- .../test/public/sampleTest.spec.ts | 23 - .../test/public/utils/env.browser.ts | 2 - .../test/public/utils/env.ts | 6 - .../test/public/utils/recordedClient.ts | 7 +- 19 files changed, 18906 insertions(+), 9484 deletions(-) create mode 100644 sdk/appservice/arm-appservice-rest/src/isUnexpected.ts create mode 100644 sdk/appservice/arm-appservice-rest/src/logger.ts delete mode 100644 sdk/appservice/arm-appservice-rest/test/public/sampleTest.spec.ts delete mode 100644 sdk/appservice/arm-appservice-rest/test/public/utils/env.browser.ts delete mode 100644 sdk/appservice/arm-appservice-rest/test/public/utils/env.ts diff --git a/sdk/appservice/arm-appservice-rest/karma.conf.js b/sdk/appservice/arm-appservice-rest/karma.conf.js index c5461b4c5c9f..4fdf26c79ac0 100644 --- a/sdk/appservice/arm-appservice-rest/karma.conf.js +++ b/sdk/appservice/arm-appservice-rest/karma.conf.js @@ -52,14 +52,13 @@ module.exports = function (config) { }, envPreprocessor: [ - "RECORDINGS_RELATIVE_PATH", "TEST_MODE", "ENDPOINT", "AZURE_CLIENT_SECRET", "AZURE_CLIENT_ID", "AZURE_TENANT_ID", "SUBSCRIPTION_ID", - "RESOURCE_GROUP", + "RECORDINGS_RELATIVE_PATH", ], // test results reporter to use diff --git a/sdk/appservice/arm-appservice-rest/package.json b/sdk/appservice/arm-appservice-rest/package.json index 748d4fc74c23..10b330be4693 100644 --- a/sdk/appservice/arm-appservice-rest/package.json +++ b/sdk/appservice/arm-appservice-rest/package.json @@ -72,11 +72,12 @@ "dependencies": { "@azure-rest/core-client": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^2.2.0", + "@azure/core-lro": "^3.1.0", "@azure/core-paging": "^1.2.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", - "tslib": "^2.2.0" + "tslib": "^2.2.0", + "@azure/abort-controller": "^2.1.2" }, "devDependencies": { "@azure-tools/test-credential": "^1.0.0", diff --git a/sdk/appservice/arm-appservice-rest/review/arm-appservice.api.md b/sdk/appservice/arm-appservice-rest/review/arm-appservice.api.md index 4b1f46d9d9da..5032feb554a6 100644 --- a/sdk/appservice/arm-appservice-rest/review/arm-appservice.api.md +++ b/sdk/appservice/arm-appservice-rest/review/arm-appservice.api.md @@ -4,18 +4,19 @@ ```ts +import type { AbortSignalLike } from '@azure/abort-controller'; +import type { CancelOnProgress } from '@azure/core-lro'; import type { Client } from '@azure-rest/core-client'; import type { ClientOptions } from '@azure-rest/core-client'; +import type { CreateHttpPollerOptions } from '@azure/core-lro'; import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PagedAsyncIterableIterator } from '@azure/core-paging'; +import type { OperationState } from '@azure/core-lro'; import type { PathUncheckedResponse } from '@azure-rest/core-client'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; import type { RequestParameters } from '@azure-rest/core-client'; +import type { StreamableMethod } from '@azure-rest/core-client'; import type { TokenCredential } from '@azure/core-auth'; -// @public (undocumented) +// @public export interface AbnormalTimePeriod { endTime?: Date | string; events?: Array; @@ -23,7 +24,7 @@ export interface AbnormalTimePeriod { startTime?: Date | string; } -// @public (undocumented) +// @public export interface AbnormalTimePeriodOutput { endTime?: string; events?: Array; @@ -31,7 +32,7 @@ export interface AbnormalTimePeriodOutput { startTime?: string; } -// @public (undocumented) +// @public export interface Address { address1: string; address2?: string; @@ -41,7 +42,7 @@ export interface Address { state: string; } -// @public (undocumented) +// @public export interface AddressOutput { address1: string; address2?: string; @@ -51,17 +52,17 @@ export interface AddressOutput { state: string; } -// @public (undocumented) +// @public export interface AddressResponse extends ProxyOnlyResource { properties?: AddressResponseProperties; } -// @public (undocumented) +// @public export interface AddressResponseOutput extends ProxyOnlyResourceOutput { properties?: AddressResponsePropertiesOutput; } -// @public (undocumented) +// @public export interface AddressResponseProperties { internalIpAddress?: string; outboundIpAddresses?: Array; @@ -69,7 +70,7 @@ export interface AddressResponseProperties { vipMappings?: Array; } -// @public (undocumented) +// @public export interface AddressResponsePropertiesOutput { internalIpAddress?: string; outboundIpAddresses?: Array; @@ -77,29 +78,29 @@ export interface AddressResponsePropertiesOutput { vipMappings?: Array; } -// @public (undocumented) +// @public export interface AllowedAudiencesValidation { allowedAudiences?: Array; } -// @public (undocumented) +// @public export interface AllowedAudiencesValidationOutput { allowedAudiences?: Array; } -// @public (undocumented) +// @public export interface AllowedPrincipals { groups?: Array; identities?: Array; } -// @public (undocumented) +// @public export interface AllowedPrincipalsOutput { groups?: Array; identities?: Array; } -// @public (undocumented) +// @public export interface AnalysisData { data?: Array>; detectorDefinition?: DetectorDefinition; @@ -108,7 +109,7 @@ export interface AnalysisData { source?: string; } -// @public (undocumented) +// @public export interface AnalysisDataOutput { data?: Array>; detectorDefinition?: DetectorDefinitionOutput; @@ -117,53 +118,52 @@ export interface AnalysisDataOutput { source?: string; } -// @public (undocumented) +// @public export interface AnalysisDefinition extends ProxyOnlyResource { properties?: AnalysisDefinitionProperties; } -// @public (undocumented) +// @public export interface AnalysisDefinitionOutput extends ProxyOnlyResourceOutput { properties?: AnalysisDefinitionPropertiesOutput; } -// @public (undocumented) +// @public export interface AnalysisDefinitionProperties { - description?: string; } -// @public (undocumented) +// @public export interface AnalysisDefinitionPropertiesOutput { - description?: string; + readonly description?: string; } -// @public (undocumented) +// @public export interface ApiDefinitionInfo { url?: string; } -// @public (undocumented) +// @public export interface ApiDefinitionInfoOutput { url?: string; } -// @public (undocumented) +// @public export interface ApiKVReference extends ProxyOnlyResource { properties?: ApiKVReferenceProperties; } // @public (undocumented) export interface ApiKVReferenceCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ApiKVReferenceOutput extends ProxyOnlyResourceOutput { properties?: ApiKVReferencePropertiesOutput; } -// @public (undocumented) +// @public export interface ApiKVReferenceProperties { // (undocumented) activeVersion?: string; @@ -184,7 +184,7 @@ export interface ApiKVReferenceProperties { vaultName?: string; } -// @public (undocumented) +// @public export interface ApiKVReferencePropertiesOutput { // (undocumented) activeVersion?: string; @@ -205,69 +205,67 @@ export interface ApiKVReferencePropertiesOutput { vaultName?: string; } -// @public (undocumented) +// @public export interface ApiManagementConfig { id?: string; } -// @public (undocumented) +// @public export interface ApiManagementConfigOutput { id?: string; } -// @public (undocumented) +// @public export interface AppInsightsWebAppStackSettings { - isDefaultOff?: boolean; - isSupported?: boolean; } -// @public (undocumented) +// @public export interface AppInsightsWebAppStackSettingsOutput { - isDefaultOff?: boolean; - isSupported?: boolean; + readonly isDefaultOff?: boolean; + readonly isSupported?: boolean; } -// @public (undocumented) +// @public export interface Apple { enabled?: boolean; login?: LoginScopes; registration?: AppleRegistration; } -// @public (undocumented) +// @public export interface AppleOutput { enabled?: boolean; login?: LoginScopesOutput; registration?: AppleRegistrationOutput; } -// @public (undocumented) +// @public export interface AppleRegistration { clientId?: string; clientSecretSettingName?: string; } -// @public (undocumented) +// @public export interface AppleRegistrationOutput { clientId?: string; clientSecretSettingName?: string; } -// @public (undocumented) +// @public export interface ApplicationLogsConfig { azureBlobStorage?: AzureBlobStorageApplicationLogsConfig; azureTableStorage?: AzureTableStorageApplicationLogsConfig; fileSystem?: FileSystemApplicationLogsConfig; } -// @public (undocumented) +// @public export interface ApplicationLogsConfigOutput { azureBlobStorage?: AzureBlobStorageApplicationLogsConfigOutput; azureTableStorage?: AzureTableStorageApplicationLogsConfigOutput; fileSystem?: FileSystemApplicationLogsConfigOutput; } -// @public (undocumented) +// @public export interface ApplicationStack { dependency?: string; display?: string; @@ -277,13 +275,13 @@ export interface ApplicationStack { name?: string; } -// @public (undocumented) +// @public export interface ApplicationStackCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ApplicationStackOutput { dependency?: string; display?: string; @@ -293,12 +291,12 @@ export interface ApplicationStackOutput { name?: string; } -// @public (undocumented) +// @public export interface ApplicationStackResource extends ProxyOnlyResource { properties?: ApplicationStack; } -// @public (undocumented) +// @public export interface ApplicationStackResourceOutput extends ProxyOnlyResourceOutput { properties?: ApplicationStackOutput; } @@ -319,150 +317,123 @@ export interface AppLogsConfigurationOutput { logAnalyticsConfiguration?: LogAnalyticsConfigurationOutput; } -// @public (undocumented) +// @public export interface AppRegistration { appId?: string; appSecretSettingName?: string; } -// @public (undocumented) +// @public export interface AppRegistrationOutput { appId?: string; appSecretSettingName?: string; } -// @public (undocumented) +// @public export interface AppServiceCertificate { keyVaultId?: string; keyVaultSecretName?: string; - provisioningState?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; } -// @public (undocumented) +// @public export interface AppServiceCertificateCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrder extends Resource { properties?: AppServiceCertificateOrderProperties; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderOutput extends ResourceOutput { properties?: AppServiceCertificateOrderPropertiesOutput; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPatchResource extends ProxyOnlyResource { properties?: AppServiceCertificateOrderPatchResourceProperties; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: AppServiceCertificateOrderPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPatchResourceProperties { - appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; autoRenew?: boolean; certificates?: Record; - contact?: CertificateOrderContact; csr?: string; distinguishedName?: string; - domainVerificationToken?: string; - expirationTime?: Date | string; - intermediate?: CertificateDetails; - isPrivateKeyExternal?: boolean; keySize?: number; - lastCertificateIssuanceTime?: Date | string; - nextAutoRenewalTimeStamp?: Date | string; productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - root?: CertificateDetails; - serialNumber?: string; - signedCertificate?: CertificateDetails; - status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; validityInYears?: number; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPatchResourcePropertiesOutput { - appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; + readonly appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; autoRenew?: boolean; certificates?: Record; - contact?: CertificateOrderContactOutput; + readonly contact?: CertificateOrderContactOutput; csr?: string; distinguishedName?: string; - domainVerificationToken?: string; - expirationTime?: string; - intermediate?: CertificateDetailsOutput; - isPrivateKeyExternal?: boolean; + readonly domainVerificationToken?: string; + readonly expirationTime?: string; + readonly intermediate?: CertificateDetailsOutput; + readonly isPrivateKeyExternal?: boolean; keySize?: number; - lastCertificateIssuanceTime?: string; - nextAutoRenewalTimeStamp?: string; + readonly lastCertificateIssuanceTime?: string; + readonly nextAutoRenewalTimeStamp?: string; productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - root?: CertificateDetailsOutput; - serialNumber?: string; - signedCertificate?: CertificateDetailsOutput; - status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly root?: CertificateDetailsOutput; + readonly serialNumber?: string; + readonly signedCertificate?: CertificateDetailsOutput; + readonly status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; validityInYears?: number; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderProperties { - appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; autoRenew?: boolean; certificates?: Record; - contact?: CertificateOrderContact; csr?: string; distinguishedName?: string; - domainVerificationToken?: string; - expirationTime?: Date | string; - intermediate?: CertificateDetails; - isPrivateKeyExternal?: boolean; keySize?: number; - lastCertificateIssuanceTime?: Date | string; - nextAutoRenewalTimeStamp?: Date | string; productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - root?: CertificateDetails; - serialNumber?: string; - signedCertificate?: CertificateDetails; - status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; validityInYears?: number; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPropertiesOutput { - appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; + readonly appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; autoRenew?: boolean; certificates?: Record; - contact?: CertificateOrderContactOutput; + readonly contact?: CertificateOrderContactOutput; csr?: string; distinguishedName?: string; - domainVerificationToken?: string; - expirationTime?: string; - intermediate?: CertificateDetailsOutput; - isPrivateKeyExternal?: boolean; + readonly domainVerificationToken?: string; + readonly expirationTime?: string; + readonly intermediate?: CertificateDetailsOutput; + readonly isPrivateKeyExternal?: boolean; keySize?: number; - lastCertificateIssuanceTime?: string; - nextAutoRenewalTimeStamp?: string; + readonly lastCertificateIssuanceTime?: string; + readonly nextAutoRenewalTimeStamp?: string; productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - root?: CertificateDetailsOutput; - serialNumber?: string; - signedCertificate?: CertificateDetailsOutput; - status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly root?: CertificateDetailsOutput; + readonly serialNumber?: string; + readonly signedCertificate?: CertificateDetailsOutput; + readonly status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; validityInYears?: number; } @@ -509,11 +480,11 @@ export interface AppServiceCertificateOrdersCreateOrUpdateCertificateBodyParam { } // @public -export interface AppServiceCertificateOrdersCreateOrUpdateCertificatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -525,11 +496,11 @@ export interface AppServiceCertificateOrdersCreateOrUpdateCertificateMediaTypesP export type AppServiceCertificateOrdersCreateOrUpdateCertificateParameters = AppServiceCertificateOrdersCreateOrUpdateCertificateMediaTypesParam & AppServiceCertificateOrdersCreateOrUpdateCertificateBodyParam & RequestParameters; // @public -export interface AppServiceCertificateOrdersCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -542,53 +513,45 @@ export type AppServiceCertificateOrdersCreateOrUpdateParameters = AppServiceCert // @public export interface AppServiceCertificateOrdersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServiceCertificateOrdersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface AppServiceCertificateOrdersDeleteCertificate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServiceCertificateOrdersDeleteCertificate204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServiceCertificateOrdersDeleteCertificatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersDeleteCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceCertificateOrdersDeleteCertificateParameters = RequestParameters; // @public -export interface AppServiceCertificateOrdersDeletedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -596,10 +559,10 @@ export type AppServiceCertificateOrdersDeleteParameters = RequestParameters; // @public (undocumented) export interface AppServiceCertificateOrdersGet { - delete(options?: AppServiceCertificateOrdersDeleteParameters): Promise; - get(options?: AppServiceCertificateOrdersGetParameters): Promise; - patch(options: AppServiceCertificateOrdersUpdateParameters): Promise; - put(options: AppServiceCertificateOrdersCreateOrUpdateParameters): Promise; + delete(options?: AppServiceCertificateOrdersDeleteParameters): StreamableMethod; + get(options?: AppServiceCertificateOrdersGetParameters): StreamableMethod; + patch(options: AppServiceCertificateOrdersUpdateParameters): StreamableMethod; + put(options: AppServiceCertificateOrdersCreateOrUpdateParameters): StreamableMethod; } // @public @@ -612,10 +575,10 @@ export interface AppServiceCertificateOrdersGet200Response extends HttpResponse // @public (undocumented) export interface AppServiceCertificateOrdersGetCertificate { - delete(options?: AppServiceCertificateOrdersDeleteCertificateParameters): Promise; - get(options?: AppServiceCertificateOrdersGetCertificateParameters): Promise; - patch(options: AppServiceCertificateOrdersUpdateCertificateParameters): Promise; - put(options: AppServiceCertificateOrdersCreateOrUpdateCertificateParameters): Promise; + delete(options?: AppServiceCertificateOrdersDeleteCertificateParameters): StreamableMethod; + get(options?: AppServiceCertificateOrdersGetCertificateParameters): StreamableMethod; + patch(options: AppServiceCertificateOrdersUpdateCertificateParameters): StreamableMethod; + put(options: AppServiceCertificateOrdersCreateOrUpdateCertificateParameters): StreamableMethod; } // @public @@ -627,22 +590,22 @@ export interface AppServiceCertificateOrdersGetCertificate200Response extends Ht } // @public -export interface AppServiceCertificateOrdersGetCertificatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersGetCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceCertificateOrdersGetCertificateParameters = RequestParameters; // @public -export interface AppServiceCertificateOrdersGetdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -650,7 +613,7 @@ export type AppServiceCertificateOrdersGetParameters = RequestParameters; // @public (undocumented) export interface AppServiceCertificateOrdersList { - get(options?: AppServiceCertificateOrdersListParameters): Promise; + get(options?: AppServiceCertificateOrdersListParameters): StreamableMethod; } // @public @@ -663,7 +626,7 @@ export interface AppServiceCertificateOrdersList200Response extends HttpResponse // @public (undocumented) export interface AppServiceCertificateOrdersListByResourceGroup { - get(options?: AppServiceCertificateOrdersListByResourceGroupParameters): Promise; + get(options?: AppServiceCertificateOrdersListByResourceGroupParameters): StreamableMethod; } // @public @@ -675,11 +638,11 @@ export interface AppServiceCertificateOrdersListByResourceGroup200Response exten } // @public -export interface AppServiceCertificateOrdersListByResourceGroupdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -687,7 +650,7 @@ export type AppServiceCertificateOrdersListByResourceGroupParameters = RequestPa // @public (undocumented) export interface AppServiceCertificateOrdersListCertificates { - get(options?: AppServiceCertificateOrdersListCertificatesParameters): Promise; + get(options?: AppServiceCertificateOrdersListCertificatesParameters): StreamableMethod; } // @public @@ -699,22 +662,22 @@ export interface AppServiceCertificateOrdersListCertificates200Response extends } // @public -export interface AppServiceCertificateOrdersListCertificatesdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersListCertificatesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceCertificateOrdersListCertificatesParameters = RequestParameters; // @public -export interface AppServiceCertificateOrdersListdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -722,13 +685,11 @@ export type AppServiceCertificateOrdersListParameters = RequestParameters; // @public (undocumented) export interface AppServiceCertificateOrdersReissue { - post(options: AppServiceCertificateOrdersReissueParameters): Promise; + post(options: AppServiceCertificateOrdersReissueParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersReissue204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -739,11 +700,11 @@ export interface AppServiceCertificateOrdersReissueBodyParam { } // @public -export interface AppServiceCertificateOrdersReissuedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersReissueDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -756,13 +717,11 @@ export type AppServiceCertificateOrdersReissueParameters = AppServiceCertificate // @public (undocumented) export interface AppServiceCertificateOrdersRenew { - post(options: AppServiceCertificateOrdersRenewParameters): Promise; + post(options: AppServiceCertificateOrdersRenewParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersRenew204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -773,11 +732,11 @@ export interface AppServiceCertificateOrdersRenewBodyParam { } // @public -export interface AppServiceCertificateOrdersRenewdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersRenewDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -790,23 +749,21 @@ export type AppServiceCertificateOrdersRenewParameters = AppServiceCertificateOr // @public (undocumented) export interface AppServiceCertificateOrdersResendEmail { - post(options?: AppServiceCertificateOrdersResendEmailParameters): Promise; + post(options?: AppServiceCertificateOrdersResendEmailParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersResendEmail204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServiceCertificateOrdersResendEmaildefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersResendEmailDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -814,13 +771,11 @@ export type AppServiceCertificateOrdersResendEmailParameters = RequestParameters // @public (undocumented) export interface AppServiceCertificateOrdersResendRequestEmails { - post(options: AppServiceCertificateOrdersResendRequestEmailsParameters): Promise; + post(options: AppServiceCertificateOrdersResendRequestEmailsParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersResendRequestEmails204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -831,11 +786,11 @@ export interface AppServiceCertificateOrdersResendRequestEmailsBodyParam { } // @public -export interface AppServiceCertificateOrdersResendRequestEmailsdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersResendRequestEmailsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -848,7 +803,7 @@ export type AppServiceCertificateOrdersResendRequestEmailsParameters = AppServic // @public (undocumented) export interface AppServiceCertificateOrdersRetrieveCertificateActions { - post(options?: AppServiceCertificateOrdersRetrieveCertificateActionsParameters): Promise; + post(options?: AppServiceCertificateOrdersRetrieveCertificateActionsParameters): StreamableMethod; } // @public @@ -860,11 +815,11 @@ export interface AppServiceCertificateOrdersRetrieveCertificateActions200Respons } // @public -export interface AppServiceCertificateOrdersRetrieveCertificateActionsdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -872,7 +827,7 @@ export type AppServiceCertificateOrdersRetrieveCertificateActionsParameters = Re // @public (undocumented) export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistory { - post(options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters): Promise; + post(options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters): StreamableMethod; } // @public @@ -884,11 +839,11 @@ export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Re } // @public -export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistorydefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -896,7 +851,7 @@ export type AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters // @public (undocumented) export interface AppServiceCertificateOrdersRetrieveSiteSeal { - post(options: AppServiceCertificateOrdersRetrieveSiteSealParameters): Promise; + post(options: AppServiceCertificateOrdersRetrieveSiteSealParameters): StreamableMethod; } // @public @@ -913,11 +868,11 @@ export interface AppServiceCertificateOrdersRetrieveSiteSealBodyParam { } // @public -export interface AppServiceCertificateOrdersRetrieveSiteSealdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -955,11 +910,11 @@ export interface AppServiceCertificateOrdersUpdateCertificateBodyParam { } // @public -export interface AppServiceCertificateOrdersUpdateCertificatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersUpdateCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -971,11 +926,11 @@ export interface AppServiceCertificateOrdersUpdateCertificateMediaTypesParam { export type AppServiceCertificateOrdersUpdateCertificateParameters = AppServiceCertificateOrdersUpdateCertificateMediaTypesParam & AppServiceCertificateOrdersUpdateCertificateBodyParam & RequestParameters; // @public -export interface AppServiceCertificateOrdersUpdatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -988,13 +943,11 @@ export type AppServiceCertificateOrdersUpdateParameters = AppServiceCertificateO // @public (undocumented) export interface AppServiceCertificateOrdersValidatePurchaseInformation { - post(options: AppServiceCertificateOrdersValidatePurchaseInformationParameters): Promise; + post(options: AppServiceCertificateOrdersValidatePurchaseInformationParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersValidatePurchaseInformation204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1005,11 +958,11 @@ export interface AppServiceCertificateOrdersValidatePurchaseInformationBodyParam } // @public -export interface AppServiceCertificateOrdersValidatePurchaseInformationdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1022,117 +975,109 @@ export type AppServiceCertificateOrdersValidatePurchaseInformationParameters = A // @public (undocumented) export interface AppServiceCertificateOrdersVerifyDomainOwnership { - post(options?: AppServiceCertificateOrdersVerifyDomainOwnershipParameters): Promise; + post(options?: AppServiceCertificateOrdersVerifyDomainOwnershipParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersVerifyDomainOwnership204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServiceCertificateOrdersVerifyDomainOwnershipdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceCertificateOrdersVerifyDomainOwnershipParameters = RequestParameters; -// @public (undocumented) +// @public export interface AppServiceCertificateOutput { keyVaultId?: string; keyVaultSecretName?: string; - provisioningState?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; + readonly provisioningState?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; } -// @public (undocumented) +// @public export interface AppServiceCertificatePatchResource extends ProxyOnlyResource { properties?: AppServiceCertificate; } -// @public (undocumented) +// @public export interface AppServiceCertificatePatchResourceOutput extends ProxyOnlyResourceOutput { properties?: AppServiceCertificateOutput; } -// @public (undocumented) +// @public export interface AppServiceCertificateResource extends Resource { properties?: AppServiceCertificate; } -// @public (undocumented) +// @public export interface AppServiceCertificateResourceOutput extends ResourceOutput { properties?: AppServiceCertificateOutput; } -// @public (undocumented) +// @public export interface AppServiceEnvironment { clusterSettings?: Array; dedicatedHostCount?: number; dnsSuffix?: string; frontEndScaleFactor?: number; - hasLinuxWorkers?: boolean; internalLoadBalancingMode?: "None" | "Web" | "Publishing" | "Web, Publishing"; ipsslAddressCount?: number; - maximumNumberOfMachines?: number; - multiRoleCount?: number; multiSize?: string; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; - suspended?: boolean; userWhitelistedIpRanges?: Array; virtualNetwork: VirtualNetworkProfile; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentOutput { clusterSettings?: Array; dedicatedHostCount?: number; dnsSuffix?: string; frontEndScaleFactor?: number; - hasLinuxWorkers?: boolean; + readonly hasLinuxWorkers?: boolean; internalLoadBalancingMode?: "None" | "Web" | "Publishing" | "Web, Publishing"; ipsslAddressCount?: number; - maximumNumberOfMachines?: number; - multiRoleCount?: number; + readonly maximumNumberOfMachines?: number; + readonly multiRoleCount?: number; multiSize?: string; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; - suspended?: boolean; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; + readonly suspended?: boolean; userWhitelistedIpRanges?: Array; virtualNetwork: VirtualNetworkProfileOutput; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { properties?: AppServiceEnvironment; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: AppServiceEnvironmentOutput; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentResource extends Resource { properties?: AppServiceEnvironment; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentResourceOutput extends ResourceOutput { properties?: AppServiceEnvironmentOutput; } @@ -1160,11 +1105,11 @@ export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionB } // @public -export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1177,7 +1122,7 @@ export type AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParame // @public (undocumented) export interface AppServiceEnvironmentsChangeVnet { - post(options: AppServiceEnvironmentsChangeVnetParameters): Promise; + post(options: AppServiceEnvironmentsChangeVnetParameters): StreamableMethod; } // @public @@ -1202,11 +1147,11 @@ export interface AppServiceEnvironmentsChangeVnetBodyParam { } // @public -export interface AppServiceEnvironmentsChangeVnetdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsChangeVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1247,11 +1192,11 @@ export interface AppServiceEnvironmentsCreateOrUpdateBodyParam { } // @public -export interface AppServiceEnvironmentsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1281,11 +1226,11 @@ export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolBodyParam { } // @public -export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1321,11 +1266,11 @@ export interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolBodyParam { } // @public -export interface AppServiceEnvironmentsCreateOrUpdateWorkerPooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1338,26 +1283,22 @@ export type AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters = AppServic // @public export interface AppServiceEnvironmentsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface AppServiceEnvironmentsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServiceEnvironmentsDeletedefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1388,11 +1329,11 @@ export interface AppServiceEnvironmentsDeletePrivateEndpointConnection204Respons } // @public -export interface AppServiceEnvironmentsDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1411,10 +1352,10 @@ export interface AppServiceEnvironmentsDeleteQueryParamProperties { // @public (undocumented) export interface AppServiceEnvironmentsGet { - delete(options?: AppServiceEnvironmentsDeleteParameters): Promise; - get(options?: AppServiceEnvironmentsGetParameters): Promise; - patch(options: AppServiceEnvironmentsUpdateParameters): Promise; - put(options: AppServiceEnvironmentsCreateOrUpdateParameters): Promise; + delete(options?: AppServiceEnvironmentsDeleteParameters): StreamableMethod; + get(options?: AppServiceEnvironmentsGetParameters): StreamableMethod; + patch(options: AppServiceEnvironmentsUpdateParameters): StreamableMethod; + put(options: AppServiceEnvironmentsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -1427,8 +1368,8 @@ export interface AppServiceEnvironmentsGet200Response extends HttpResponse { // @public (undocumented) export interface AppServiceEnvironmentsGetAseV3NetworkingConfiguration { - get(options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters): Promise; - put(options: AppServiceEnvironmentsUpdateAseNetworkingConfigurationParameters): Promise; + get(options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters): StreamableMethod; + put(options: AppServiceEnvironmentsUpdateAseNetworkingConfigurationParameters): StreamableMethod; } // @public @@ -1440,27 +1381,27 @@ export interface AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Respons } // @public -export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters = RequestParameters; // @public -export interface AppServiceEnvironmentsGetdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsGetDiagnosticsItem { - get(options?: AppServiceEnvironmentsGetDiagnosticsItemParameters): Promise; + get(options?: AppServiceEnvironmentsGetDiagnosticsItemParameters): StreamableMethod; } // @public @@ -1472,11 +1413,11 @@ export interface AppServiceEnvironmentsGetDiagnosticsItem200Response extends Htt } // @public -export interface AppServiceEnvironmentsGetDiagnosticsItemdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1484,7 +1425,7 @@ export type AppServiceEnvironmentsGetDiagnosticsItemParameters = RequestParamete // @public (undocumented) export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints { - get(options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParameters): Promise; + get(options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParameters): StreamableMethod; } // @public @@ -1496,11 +1437,11 @@ export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200 } // @public -export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1508,9 +1449,9 @@ export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParamete // @public (undocumented) export interface AppServiceEnvironmentsGetMultiRolePool { - get(options?: AppServiceEnvironmentsGetMultiRolePoolParameters): Promise; - patch(options: AppServiceEnvironmentsUpdateMultiRolePoolParameters): Promise; - put(options: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolParameters): Promise; + get(options?: AppServiceEnvironmentsGetMultiRolePoolParameters): StreamableMethod; + patch(options: AppServiceEnvironmentsUpdateMultiRolePoolParameters): StreamableMethod; + put(options: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolParameters): StreamableMethod; } // @public @@ -1522,11 +1463,11 @@ export interface AppServiceEnvironmentsGetMultiRolePool200Response extends HttpR } // @public -export interface AppServiceEnvironmentsGetMultiRolePooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetMultiRolePoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1534,7 +1475,7 @@ export type AppServiceEnvironmentsGetMultiRolePoolParameters = RequestParameters // @public (undocumented) export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints { - get(options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsParameters): Promise; + get(options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsParameters): StreamableMethod; } // @public @@ -1546,11 +1487,11 @@ export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints20 } // @public -export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1561,9 +1502,9 @@ export type AppServiceEnvironmentsGetParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsGetPrivateEndpointConnection { - delete(options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionParameters): Promise; - get(options?: AppServiceEnvironmentsGetPrivateEndpointConnectionParameters): Promise; - put(options: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParameters): Promise; + delete(options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionParameters): StreamableMethod; + get(options?: AppServiceEnvironmentsGetPrivateEndpointConnectionParameters): StreamableMethod; + put(options: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParameters): StreamableMethod; } // @public @@ -1575,16 +1516,16 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnection200Response e } // @public -export interface AppServiceEnvironmentsGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsGetPrivateEndpointConnectionList { - get(options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListParameters): Promise; + get(options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListParameters): StreamableMethod; } // @public @@ -1596,11 +1537,11 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionList200Respon } // @public -export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1611,7 +1552,7 @@ export type AppServiceEnvironmentsGetPrivateEndpointConnectionParameters = Reque // @public (undocumented) export interface AppServiceEnvironmentsGetPrivateLinkResources { - get(options?: AppServiceEnvironmentsGetPrivateLinkResourcesParameters): Promise; + get(options?: AppServiceEnvironmentsGetPrivateLinkResourcesParameters): StreamableMethod; } // @public @@ -1623,11 +1564,11 @@ export interface AppServiceEnvironmentsGetPrivateLinkResources200Response extend } // @public -export interface AppServiceEnvironmentsGetPrivateLinkResourcesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1635,7 +1576,7 @@ export type AppServiceEnvironmentsGetPrivateLinkResourcesParameters = RequestPar // @public (undocumented) export interface AppServiceEnvironmentsGetVipInfo { - get(options?: AppServiceEnvironmentsGetVipInfoParameters): Promise; + get(options?: AppServiceEnvironmentsGetVipInfoParameters): StreamableMethod; } // @public @@ -1647,11 +1588,11 @@ export interface AppServiceEnvironmentsGetVipInfo200Response extends HttpRespons } // @public -export interface AppServiceEnvironmentsGetVipInfodefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetVipInfoDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1659,9 +1600,9 @@ export type AppServiceEnvironmentsGetVipInfoParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsGetWorkerPool { - get(options?: AppServiceEnvironmentsGetWorkerPoolParameters): Promise; - patch(options: AppServiceEnvironmentsUpdateWorkerPoolParameters): Promise; - put(options: AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters): Promise; + get(options?: AppServiceEnvironmentsGetWorkerPoolParameters): StreamableMethod; + patch(options: AppServiceEnvironmentsUpdateWorkerPoolParameters): StreamableMethod; + put(options: AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters): StreamableMethod; } // @public @@ -1673,11 +1614,11 @@ export interface AppServiceEnvironmentsGetWorkerPool200Response extends HttpResp } // @public -export interface AppServiceEnvironmentsGetWorkerPooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetWorkerPoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1685,7 +1626,7 @@ export type AppServiceEnvironmentsGetWorkerPoolParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsList { - get(options?: AppServiceEnvironmentsListParameters): Promise; + get(options?: AppServiceEnvironmentsListParameters): StreamableMethod; } // @public @@ -1698,7 +1639,7 @@ export interface AppServiceEnvironmentsList200Response extends HttpResponse { // @public (undocumented) export interface AppServiceEnvironmentsListAppServicePlans { - get(options?: AppServiceEnvironmentsListAppServicePlansParameters): Promise; + get(options?: AppServiceEnvironmentsListAppServicePlansParameters): StreamableMethod; } // @public @@ -1710,11 +1651,11 @@ export interface AppServiceEnvironmentsListAppServicePlans200Response extends Ht } // @public -export interface AppServiceEnvironmentsListAppServicePlansdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListAppServicePlansDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1722,7 +1663,7 @@ export type AppServiceEnvironmentsListAppServicePlansParameters = RequestParamet // @public (undocumented) export interface AppServiceEnvironmentsListByResourceGroup { - get(options?: AppServiceEnvironmentsListByResourceGroupParameters): Promise; + get(options?: AppServiceEnvironmentsListByResourceGroupParameters): StreamableMethod; } // @public @@ -1734,11 +1675,11 @@ export interface AppServiceEnvironmentsListByResourceGroup200Response extends Ht } // @public -export interface AppServiceEnvironmentsListByResourceGroupdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1746,7 +1687,7 @@ export type AppServiceEnvironmentsListByResourceGroupParameters = RequestParamet // @public (undocumented) export interface AppServiceEnvironmentsListCapacities { - get(options?: AppServiceEnvironmentsListCapacitiesParameters): Promise; + get(options?: AppServiceEnvironmentsListCapacitiesParameters): StreamableMethod; } // @public @@ -1758,27 +1699,27 @@ export interface AppServiceEnvironmentsListCapacities200Response extends HttpRes } // @public -export interface AppServiceEnvironmentsListCapacitiesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListCapacitiesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceEnvironmentsListCapacitiesParameters = RequestParameters; // @public -export interface AppServiceEnvironmentsListdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsListDiagnostics { - get(options?: AppServiceEnvironmentsListDiagnosticsParameters): Promise; + get(options?: AppServiceEnvironmentsListDiagnosticsParameters): StreamableMethod; } // @public @@ -1790,11 +1731,11 @@ export interface AppServiceEnvironmentsListDiagnostics200Response extends HttpRe } // @public -export interface AppServiceEnvironmentsListDiagnosticsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListDiagnosticsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1802,7 +1743,7 @@ export type AppServiceEnvironmentsListDiagnosticsParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsListMultiRoleMetricDefinitions { - get(options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters): StreamableMethod; } // @public @@ -1814,11 +1755,11 @@ export interface AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response } // @public -export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1826,7 +1767,7 @@ export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters = Req // @public (undocumented) export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions { - get(options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsParameters): StreamableMethod; } // @public @@ -1838,11 +1779,11 @@ export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinition } // @public -export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1850,7 +1791,7 @@ export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsPara // @public (undocumented) export interface AppServiceEnvironmentsListMultiRolePools { - get(options?: AppServiceEnvironmentsListMultiRolePoolsParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRolePoolsParameters): StreamableMethod; } // @public @@ -1862,16 +1803,16 @@ export interface AppServiceEnvironmentsListMultiRolePools200Response extends Htt } // @public -export interface AppServiceEnvironmentsListMultiRolePoolsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRolePoolsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsListMultiRolePoolSkus { - get(options?: AppServiceEnvironmentsListMultiRolePoolSkusParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRolePoolSkusParameters): StreamableMethod; } // @public @@ -1883,11 +1824,11 @@ export interface AppServiceEnvironmentsListMultiRolePoolSkus200Response extends } // @public -export interface AppServiceEnvironmentsListMultiRolePoolSkusdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1898,7 +1839,7 @@ export type AppServiceEnvironmentsListMultiRolePoolsParameters = RequestParamete // @public (undocumented) export interface AppServiceEnvironmentsListMultiRoleUsages { - get(options?: AppServiceEnvironmentsListMultiRoleUsagesParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRoleUsagesParameters): StreamableMethod; } // @public @@ -1910,11 +1851,11 @@ export interface AppServiceEnvironmentsListMultiRoleUsages200Response extends Ht } // @public -export interface AppServiceEnvironmentsListMultiRoleUsagesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1922,7 +1863,7 @@ export type AppServiceEnvironmentsListMultiRoleUsagesParameters = RequestParamet // @public (undocumented) export interface AppServiceEnvironmentsListOperations { - get(options?: AppServiceEnvironmentsListOperationsParameters): Promise; + get(options?: AppServiceEnvironmentsListOperationsParameters): StreamableMethod; } // @public @@ -1934,11 +1875,11 @@ export interface AppServiceEnvironmentsListOperations200Response extends HttpRes } // @public -export interface AppServiceEnvironmentsListOperationsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListOperationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1949,7 +1890,7 @@ export type AppServiceEnvironmentsListParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsListUsages { - get(options?: AppServiceEnvironmentsListUsagesParameters): Promise; + get(options?: AppServiceEnvironmentsListUsagesParameters): StreamableMethod; } // @public @@ -1961,11 +1902,11 @@ export interface AppServiceEnvironmentsListUsages200Response extends HttpRespons } // @public -export interface AppServiceEnvironmentsListUsagesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1984,7 +1925,7 @@ export interface AppServiceEnvironmentsListUsagesQueryParamProperties { // @public (undocumented) export interface AppServiceEnvironmentsListWebApps { - get(options?: AppServiceEnvironmentsListWebAppsParameters): Promise; + get(options?: AppServiceEnvironmentsListWebAppsParameters): StreamableMethod; } // @public @@ -1996,11 +1937,11 @@ export interface AppServiceEnvironmentsListWebApps200Response extends HttpRespon } // @public -export interface AppServiceEnvironmentsListWebAppsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWebAppsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2019,7 +1960,7 @@ export interface AppServiceEnvironmentsListWebAppsQueryParamProperties { // @public (undocumented) export interface AppServiceEnvironmentsListWebWorkerMetricDefinitions { - get(options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters): Promise; + get(options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters): StreamableMethod; } // @public @@ -2031,11 +1972,11 @@ export interface AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response } // @public -export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2043,7 +1984,7 @@ export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters = Req // @public (undocumented) export interface AppServiceEnvironmentsListWebWorkerUsages { - get(options?: AppServiceEnvironmentsListWebWorkerUsagesParameters): Promise; + get(options?: AppServiceEnvironmentsListWebWorkerUsagesParameters): StreamableMethod; } // @public @@ -2055,11 +1996,11 @@ export interface AppServiceEnvironmentsListWebWorkerUsages200Response extends Ht } // @public -export interface AppServiceEnvironmentsListWebWorkerUsagesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2067,7 +2008,7 @@ export type AppServiceEnvironmentsListWebWorkerUsagesParameters = RequestParamet // @public (undocumented) export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions { - get(options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParameters): Promise; + get(options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParameters): StreamableMethod; } // @public @@ -2079,11 +2020,11 @@ export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions20 } // @public -export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2091,7 +2032,7 @@ export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParamet // @public (undocumented) export interface AppServiceEnvironmentsListWorkerPools { - get(options?: AppServiceEnvironmentsListWorkerPoolsParameters): Promise; + get(options?: AppServiceEnvironmentsListWorkerPoolsParameters): StreamableMethod; } // @public @@ -2103,16 +2044,16 @@ export interface AppServiceEnvironmentsListWorkerPools200Response extends HttpRe } // @public -export interface AppServiceEnvironmentsListWorkerPoolsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWorkerPoolsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsListWorkerPoolSkus { - get(options?: AppServiceEnvironmentsListWorkerPoolSkusParameters): Promise; + get(options?: AppServiceEnvironmentsListWorkerPoolSkusParameters): StreamableMethod; } // @public @@ -2124,11 +2065,11 @@ export interface AppServiceEnvironmentsListWorkerPoolSkus200Response extends Htt } // @public -export interface AppServiceEnvironmentsListWorkerPoolSkusdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2139,23 +2080,21 @@ export type AppServiceEnvironmentsListWorkerPoolsParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsReboot { - post(options?: AppServiceEnvironmentsRebootParameters): Promise; + post(options?: AppServiceEnvironmentsRebootParameters): StreamableMethod; } // @public export interface AppServiceEnvironmentsReboot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public -export interface AppServiceEnvironmentsRebootdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsRebootDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2163,7 +2102,7 @@ export type AppServiceEnvironmentsRebootParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsResume { - post(options?: AppServiceEnvironmentsResumeParameters): Promise; + post(options?: AppServiceEnvironmentsResumeParameters): StreamableMethod; } // @public @@ -2183,11 +2122,11 @@ export interface AppServiceEnvironmentsResume202Response extends HttpResponse { } // @public -export interface AppServiceEnvironmentsResumedefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsResumeDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2195,7 +2134,7 @@ export type AppServiceEnvironmentsResumeParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsSuspend { - post(options?: AppServiceEnvironmentsSuspendParameters): Promise; + post(options?: AppServiceEnvironmentsSuspendParameters): StreamableMethod; } // @public @@ -2215,11 +2154,11 @@ export interface AppServiceEnvironmentsSuspend202Response extends HttpResponse { } // @public -export interface AppServiceEnvironmentsSuspenddefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsSuspendDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2264,11 +2203,11 @@ export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationBodyParam } // @public -export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2285,11 +2224,11 @@ export interface AppServiceEnvironmentsUpdateBodyParam { } // @public -export interface AppServiceEnvironmentsUpdatedefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2319,11 +2258,11 @@ export interface AppServiceEnvironmentsUpdateMultiRolePoolBodyParam { } // @public -export interface AppServiceEnvironmentsUpdateMultiRolePooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2359,11 +2298,11 @@ export interface AppServiceEnvironmentsUpdateWorkerPoolBodyParam { } // @public -export interface AppServiceEnvironmentsUpdateWorkerPooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2374,134 +2313,120 @@ export interface AppServiceEnvironmentsUpdateWorkerPoolMediaTypesParam { // @public (undocumented) export type AppServiceEnvironmentsUpdateWorkerPoolParameters = AppServiceEnvironmentsUpdateWorkerPoolMediaTypesParam & AppServiceEnvironmentsUpdateWorkerPoolBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface AppServicePlan extends Resource { extendedLocation?: ExtendedLocation; properties?: AppServicePlanProperties; sku?: SkuDescription; } -// @public (undocumented) +// @public export interface AppServicePlanCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface AppServicePlanOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; properties?: AppServicePlanPropertiesOutput; sku?: SkuDescriptionOutput; } -// @public (undocumented) +// @public export interface AppServicePlanPatchResource extends ProxyOnlyResource { properties?: AppServicePlanPatchResourceProperties; } -// @public (undocumented) +// @public export interface AppServicePlanPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: AppServicePlanPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface AppServicePlanPatchResourceProperties { elasticScaleEnabled?: boolean; freeOfferExpirationTime?: Date | string; - geoRegion?: string; hostingEnvironmentProfile?: HostingEnvironmentProfile; hyperV?: boolean; isSpot?: boolean; isXenon?: boolean; kubeEnvironmentProfile?: KubeEnvironmentProfile; maximumElasticWorkerCount?: number; - maximumNumberOfWorkers?: number; - numberOfSites?: number; perSiteScaling?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; reserved?: boolean; - resourceGroup?: string; spotExpirationTime?: Date | string; - status?: "Ready" | "Pending" | "Creating"; - subscription?: string; targetWorkerCount?: number; targetWorkerSizeId?: number; workerTierName?: string; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServicePlanPatchResourcePropertiesOutput { elasticScaleEnabled?: boolean; freeOfferExpirationTime?: string; - geoRegion?: string; + readonly geoRegion?: string; hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; hyperV?: boolean; isSpot?: boolean; isXenon?: boolean; kubeEnvironmentProfile?: KubeEnvironmentProfileOutput; maximumElasticWorkerCount?: number; - maximumNumberOfWorkers?: number; - numberOfSites?: number; + readonly maximumNumberOfWorkers?: number; + readonly numberOfSites?: number; perSiteScaling?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; reserved?: boolean; - resourceGroup?: string; + readonly resourceGroup?: string; spotExpirationTime?: string; - status?: "Ready" | "Pending" | "Creating"; - subscription?: string; + readonly status?: "Ready" | "Pending" | "Creating"; + readonly subscription?: string; targetWorkerCount?: number; targetWorkerSizeId?: number; workerTierName?: string; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServicePlanProperties { elasticScaleEnabled?: boolean; freeOfferExpirationTime?: Date | string; - geoRegion?: string; hostingEnvironmentProfile?: HostingEnvironmentProfile; hyperV?: boolean; isSpot?: boolean; isXenon?: boolean; kubeEnvironmentProfile?: KubeEnvironmentProfile; maximumElasticWorkerCount?: number; - maximumNumberOfWorkers?: number; - numberOfSites?: number; perSiteScaling?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; reserved?: boolean; - resourceGroup?: string; spotExpirationTime?: Date | string; - status?: "Ready" | "Pending" | "Creating"; - subscription?: string; targetWorkerCount?: number; targetWorkerSizeId?: number; workerTierName?: string; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServicePlanPropertiesOutput { elasticScaleEnabled?: boolean; freeOfferExpirationTime?: string; - geoRegion?: string; + readonly geoRegion?: string; hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; hyperV?: boolean; isSpot?: boolean; isXenon?: boolean; kubeEnvironmentProfile?: KubeEnvironmentProfileOutput; maximumElasticWorkerCount?: number; - maximumNumberOfWorkers?: number; - numberOfSites?: number; + readonly maximumNumberOfWorkers?: number; + readonly numberOfSites?: number; perSiteScaling?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; reserved?: boolean; - resourceGroup?: string; + readonly resourceGroup?: string; spotExpirationTime?: string; - status?: "Ready" | "Pending" | "Creating"; - subscription?: string; + readonly status?: "Ready" | "Pending" | "Creating"; + readonly subscription?: string; targetWorkerCount?: number; targetWorkerSizeId?: number; workerTierName?: string; @@ -2530,11 +2455,11 @@ export interface AppServicePlansCreateOrUpdateBodyParam { } // @public -export interface AppServicePlansCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AppServicePlansCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2555,16 +2480,12 @@ export interface AppServicePlansCreateOrUpdateVnetRoute200Response extends HttpR // @public export interface AppServicePlansCreateOrUpdateVnetRoute400Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "400"; } // @public export interface AppServicePlansCreateOrUpdateVnetRoute404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } @@ -2575,11 +2496,11 @@ export interface AppServicePlansCreateOrUpdateVnetRouteBodyParam { } // @public -export interface AppServicePlansCreateOrUpdateVnetRoutedefaultResponse extends HttpResponse { +export interface AppServicePlansCreateOrUpdateVnetRouteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2592,50 +2513,42 @@ export type AppServicePlansCreateOrUpdateVnetRouteParameters = AppServicePlansCr // @public export interface AppServicePlansDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServicePlansDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServicePlansDeletedefaultResponse extends HttpResponse { +export interface AppServicePlansDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public export interface AppServicePlansDeleteHybridConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServicePlansDeleteHybridConnection204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServicePlansDeleteHybridConnectiondefaultResponse extends HttpResponse { +export interface AppServicePlansDeleteHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2646,26 +2559,22 @@ export type AppServicePlansDeleteParameters = RequestParameters; // @public export interface AppServicePlansDeleteVnetRoute200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServicePlansDeleteVnetRoute404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface AppServicePlansDeleteVnetRoutedefaultResponse extends HttpResponse { +export interface AppServicePlansDeleteVnetRouteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2673,10 +2582,10 @@ export type AppServicePlansDeleteVnetRouteParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGet { - delete(options?: AppServicePlansDeleteParameters): Promise; - get(options?: AppServicePlansGetParameters): Promise; - patch(options: AppServicePlansUpdateParameters): Promise; - put(options: AppServicePlansCreateOrUpdateParameters): Promise; + delete(options?: AppServicePlansDeleteParameters): StreamableMethod; + get(options?: AppServicePlansGetParameters): StreamableMethod; + patch(options: AppServicePlansUpdateParameters): StreamableMethod; + put(options: AppServicePlansCreateOrUpdateParameters): StreamableMethod; } // @public @@ -2689,24 +2598,22 @@ export interface AppServicePlansGet200Response extends HttpResponse { // @public export interface AppServicePlansGet404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface AppServicePlansGetdefaultResponse extends HttpResponse { +export interface AppServicePlansGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServicePlansGetHybridConnection { - delete(options?: AppServicePlansDeleteHybridConnectionParameters): Promise; - get(options?: AppServicePlansGetHybridConnectionParameters): Promise; + delete(options?: AppServicePlansDeleteHybridConnectionParameters): StreamableMethod; + get(options?: AppServicePlansGetHybridConnectionParameters): StreamableMethod; } // @public @@ -2718,11 +2625,11 @@ export interface AppServicePlansGetHybridConnection200Response extends HttpRespo } // @public -export interface AppServicePlansGetHybridConnectiondefaultResponse extends HttpResponse { +export interface AppServicePlansGetHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2730,7 +2637,7 @@ export type AppServicePlansGetHybridConnectionParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetHybridConnectionPlanLimit { - get(options?: AppServicePlansGetHybridConnectionPlanLimitParameters): Promise; + get(options?: AppServicePlansGetHybridConnectionPlanLimitParameters): StreamableMethod; } // @public @@ -2742,11 +2649,11 @@ export interface AppServicePlansGetHybridConnectionPlanLimit200Response extends } // @public -export interface AppServicePlansGetHybridConnectionPlanLimitdefaultResponse extends HttpResponse { +export interface AppServicePlansGetHybridConnectionPlanLimitDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2757,10 +2664,10 @@ export type AppServicePlansGetParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetRouteForVnet { - delete(options?: AppServicePlansDeleteVnetRouteParameters): Promise; - get(options?: AppServicePlansGetRouteForVnetParameters): Promise; - patch(options: AppServicePlansUpdateVnetRouteParameters): Promise; - put(options: AppServicePlansCreateOrUpdateVnetRouteParameters): Promise; + delete(options?: AppServicePlansDeleteVnetRouteParameters): StreamableMethod; + get(options?: AppServicePlansGetRouteForVnetParameters): StreamableMethod; + patch(options: AppServicePlansUpdateVnetRouteParameters): StreamableMethod; + put(options: AppServicePlansCreateOrUpdateVnetRouteParameters): StreamableMethod; } // @public @@ -2773,18 +2680,16 @@ export interface AppServicePlansGetRouteForVnet200Response extends HttpResponse // @public export interface AppServicePlansGetRouteForVnet404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface AppServicePlansGetRouteForVnetdefaultResponse extends HttpResponse { +export interface AppServicePlansGetRouteForVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2792,7 +2697,7 @@ export type AppServicePlansGetRouteForVnetParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetServerFarmSkus { - get(options?: AppServicePlansGetServerFarmSkusParameters): Promise; + get(options?: AppServicePlansGetServerFarmSkusParameters): StreamableMethod; } // @public @@ -2804,11 +2709,11 @@ export interface AppServicePlansGetServerFarmSkus200Response extends HttpRespons } // @public -export interface AppServicePlansGetServerFarmSkusdefaultResponse extends HttpResponse { +export interface AppServicePlansGetServerFarmSkusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2816,7 +2721,7 @@ export type AppServicePlansGetServerFarmSkusParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetVnetFromServerFarm { - get(options?: AppServicePlansGetVnetFromServerFarmParameters): Promise; + get(options?: AppServicePlansGetVnetFromServerFarmParameters): StreamableMethod; } // @public @@ -2829,18 +2734,16 @@ export interface AppServicePlansGetVnetFromServerFarm200Response extends HttpRes // @public export interface AppServicePlansGetVnetFromServerFarm404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface AppServicePlansGetVnetFromServerFarmdefaultResponse extends HttpResponse { +export interface AppServicePlansGetVnetFromServerFarmDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2848,8 +2751,8 @@ export type AppServicePlansGetVnetFromServerFarmParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetVnetGateway { - get(options?: AppServicePlansGetVnetGatewayParameters): Promise; - put(options: AppServicePlansUpdateVnetGatewayParameters): Promise; + get(options?: AppServicePlansGetVnetGatewayParameters): StreamableMethod; + put(options: AppServicePlansUpdateVnetGatewayParameters): StreamableMethod; } // @public @@ -2861,11 +2764,11 @@ export interface AppServicePlansGetVnetGateway200Response extends HttpResponse { } // @public -export interface AppServicePlansGetVnetGatewaydefaultResponse extends HttpResponse { +export interface AppServicePlansGetVnetGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2873,7 +2776,7 @@ export type AppServicePlansGetVnetGatewayParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansList { - get(options?: AppServicePlansListParameters): Promise; + get(options?: AppServicePlansListParameters): StreamableMethod; } // @public @@ -2886,7 +2789,7 @@ export interface AppServicePlansList200Response extends HttpResponse { // @public (undocumented) export interface AppServicePlansListByResourceGroup { - get(options?: AppServicePlansListByResourceGroupParameters): Promise; + get(options?: AppServicePlansListByResourceGroupParameters): StreamableMethod; } // @public @@ -2898,11 +2801,11 @@ export interface AppServicePlansListByResourceGroup200Response extends HttpRespo } // @public -export interface AppServicePlansListByResourceGroupdefaultResponse extends HttpResponse { +export interface AppServicePlansListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2910,7 +2813,7 @@ export type AppServicePlansListByResourceGroupParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansListCapabilities { - get(options?: AppServicePlansListCapabilitiesParameters): Promise; + get(options?: AppServicePlansListCapabilitiesParameters): StreamableMethod; } // @public @@ -2922,27 +2825,27 @@ export interface AppServicePlansListCapabilities200Response extends HttpResponse } // @public -export interface AppServicePlansListCapabilitiesdefaultResponse extends HttpResponse { +export interface AppServicePlansListCapabilitiesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServicePlansListCapabilitiesParameters = RequestParameters; // @public -export interface AppServicePlansListdefaultResponse extends HttpResponse { +export interface AppServicePlansListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServicePlansListHybridConnectionKeys { - post(options?: AppServicePlansListHybridConnectionKeysParameters): Promise; + post(options?: AppServicePlansListHybridConnectionKeysParameters): StreamableMethod; } // @public @@ -2954,11 +2857,11 @@ export interface AppServicePlansListHybridConnectionKeys200Response extends Http } // @public -export interface AppServicePlansListHybridConnectionKeysdefaultResponse extends HttpResponse { +export interface AppServicePlansListHybridConnectionKeysDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2966,7 +2869,7 @@ export type AppServicePlansListHybridConnectionKeysParameters = RequestParameter // @public (undocumented) export interface AppServicePlansListHybridConnections { - get(options?: AppServicePlansListHybridConnectionsParameters): Promise; + get(options?: AppServicePlansListHybridConnectionsParameters): StreamableMethod; } // @public @@ -2978,11 +2881,11 @@ export interface AppServicePlansListHybridConnections200Response extends HttpRes } // @public -export interface AppServicePlansListHybridConnectionsdefaultResponse extends HttpResponse { +export interface AppServicePlansListHybridConnectionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3004,7 +2907,7 @@ export interface AppServicePlansListQueryParamProperties { // @public (undocumented) export interface AppServicePlansListRoutesForVnet { - get(options?: AppServicePlansListRoutesForVnetParameters): Promise; + get(options?: AppServicePlansListRoutesForVnetParameters): StreamableMethod; } // @public @@ -3016,11 +2919,11 @@ export interface AppServicePlansListRoutesForVnet200Response extends HttpRespons } // @public -export interface AppServicePlansListRoutesForVnetdefaultResponse extends HttpResponse { +export interface AppServicePlansListRoutesForVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3028,7 +2931,7 @@ export type AppServicePlansListRoutesForVnetParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansListUsages { - get(options?: AppServicePlansListUsagesParameters): Promise; + get(options?: AppServicePlansListUsagesParameters): StreamableMethod; } // @public @@ -3040,11 +2943,11 @@ export interface AppServicePlansListUsages200Response extends HttpResponse { } // @public -export interface AppServicePlansListUsagesdefaultResponse extends HttpResponse { +export interface AppServicePlansListUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3063,7 +2966,7 @@ export interface AppServicePlansListUsagesQueryParamProperties { // @public (undocumented) export interface AppServicePlansListVnets { - get(options?: AppServicePlansListVnetsParameters): Promise; + get(options?: AppServicePlansListVnetsParameters): StreamableMethod; } // @public @@ -3075,11 +2978,11 @@ export interface AppServicePlansListVnets200Response extends HttpResponse { } // @public -export interface AppServicePlansListVnetsdefaultResponse extends HttpResponse { +export interface AppServicePlansListVnetsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3087,7 +2990,7 @@ export type AppServicePlansListVnetsParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansListWebApps { - get(options?: AppServicePlansListWebAppsParameters): Promise; + get(options?: AppServicePlansListWebAppsParameters): StreamableMethod; } // @public @@ -3100,7 +3003,7 @@ export interface AppServicePlansListWebApps200Response extends HttpResponse { // @public (undocumented) export interface AppServicePlansListWebAppsByHybridConnection { - get(options?: AppServicePlansListWebAppsByHybridConnectionParameters): Promise; + get(options?: AppServicePlansListWebAppsByHybridConnectionParameters): StreamableMethod; } // @public @@ -3112,22 +3015,22 @@ export interface AppServicePlansListWebAppsByHybridConnection200Response extends } // @public -export interface AppServicePlansListWebAppsByHybridConnectiondefaultResponse extends HttpResponse { +export interface AppServicePlansListWebAppsByHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServicePlansListWebAppsByHybridConnectionParameters = RequestParameters; // @public -export interface AppServicePlansListWebAppsdefaultResponse extends HttpResponse { +export interface AppServicePlansListWebAppsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3148,23 +3051,21 @@ export interface AppServicePlansListWebAppsQueryParamProperties { // @public (undocumented) export interface AppServicePlansRebootWorker { - post(options?: AppServicePlansRebootWorkerParameters): Promise; + post(options?: AppServicePlansRebootWorkerParameters): StreamableMethod; } // @public export interface AppServicePlansRebootWorker204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServicePlansRebootWorkerdefaultResponse extends HttpResponse { +export interface AppServicePlansRebootWorkerDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3172,23 +3073,21 @@ export type AppServicePlansRebootWorkerParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansRestartWebApps { - post(options?: AppServicePlansRestartWebAppsParameters): Promise; + post(options?: AppServicePlansRestartWebAppsParameters): StreamableMethod; } // @public export interface AppServicePlansRestartWebApps204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServicePlansRestartWebAppsdefaultResponse extends HttpResponse { +export interface AppServicePlansRestartWebAppsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3227,11 +3126,11 @@ export interface AppServicePlansUpdateBodyParam { } // @public -export interface AppServicePlansUpdatedefaultResponse extends HttpResponse { +export interface AppServicePlansUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3256,11 +3155,11 @@ export interface AppServicePlansUpdateVnetGatewayBodyParam { } // @public -export interface AppServicePlansUpdateVnetGatewaydefaultResponse extends HttpResponse { +export interface AppServicePlansUpdateVnetGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3281,16 +3180,12 @@ export interface AppServicePlansUpdateVnetRoute200Response extends HttpResponse // @public export interface AppServicePlansUpdateVnetRoute400Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "400"; } // @public export interface AppServicePlansUpdateVnetRoute404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } @@ -3301,11 +3196,11 @@ export interface AppServicePlansUpdateVnetRouteBodyParam { } // @public -export interface AppServicePlansUpdateVnetRoutedefaultResponse extends HttpResponse { +export interface AppServicePlansUpdateVnetRouteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3352,19 +3247,17 @@ export interface ArcConfigurationOutput { kubeConfig?: string; } -// @public (undocumented) +// @public export interface ArmIdWrapper { - // (undocumented) - id?: string; } -// @public (undocumented) +// @public export interface ArmIdWrapperOutput { // (undocumented) - id?: string; + readonly id?: string; } -// @public (undocumented) +// @public export interface ArmPlan { name?: string; product?: string; @@ -3373,7 +3266,7 @@ export interface ArmPlan { version?: string; } -// @public (undocumented) +// @public export interface ArmPlanOutput { name?: string; product?: string; @@ -3382,95 +3275,87 @@ export interface ArmPlanOutput { version?: string; } -// @public (undocumented) +// @public export interface AseV3NetworkingConfiguration extends ProxyOnlyResource { properties?: AseV3NetworkingConfigurationProperties; } -// @public (undocumented) +// @public export interface AseV3NetworkingConfigurationOutput extends ProxyOnlyResourceOutput { properties?: AseV3NetworkingConfigurationPropertiesOutput; } -// @public (undocumented) +// @public export interface AseV3NetworkingConfigurationProperties { allowNewPrivateEndpointConnections?: boolean; - // (undocumented) - externalInboundIpAddresses?: Array; - // (undocumented) - internalInboundIpAddresses?: Array; - // (undocumented) - linuxOutboundIpAddresses?: Array; - // (undocumented) - windowsOutboundIpAddresses?: Array; } -// @public (undocumented) +// @public export interface AseV3NetworkingConfigurationPropertiesOutput { allowNewPrivateEndpointConnections?: boolean; // (undocumented) - externalInboundIpAddresses?: Array; + readonly externalInboundIpAddresses?: Array; // (undocumented) - internalInboundIpAddresses?: Array; + readonly internalInboundIpAddresses?: Array; // (undocumented) - linuxOutboundIpAddresses?: Array; + readonly linuxOutboundIpAddresses?: Array; // (undocumented) - windowsOutboundIpAddresses?: Array; + readonly windowsOutboundIpAddresses?: Array; } -// @public (undocumented) +// @public export interface AuthPlatform { configFilePath?: string; enabled?: boolean; runtimeVersion?: string; } -// @public (undocumented) +// @public export interface AuthPlatformOutput { configFilePath?: string; enabled?: boolean; runtimeVersion?: string; } -// @public (undocumented) +// @public export interface AutoHealActions { actionType?: "Recycle" | "LogEvent" | "CustomAction"; customAction?: AutoHealCustomAction; minProcessExecutionTime?: string; } -// @public (undocumented) +// @public export interface AutoHealActionsOutput { actionType?: "Recycle" | "LogEvent" | "CustomAction"; customAction?: AutoHealCustomActionOutput; minProcessExecutionTime?: string; } -// @public (undocumented) +// @public export interface AutoHealCustomAction { exe?: string; parameters?: string; } -// @public (undocumented) +// @public export interface AutoHealCustomActionOutput { exe?: string; parameters?: string; } -// @public (undocumented) +// @public export interface AutoHealRules { actions?: AutoHealActions; triggers?: AutoHealTriggers; } -// @public (undocumented) +// @public export interface AutoHealRulesOutput { actions?: AutoHealActionsOutput; triggers?: AutoHealTriggersOutput; } -// @public (undocumented) +// @public export interface AutoHealTriggers { privateBytesInKB?: number; requests?: RequestsBasedTrigger; @@ -3480,7 +3365,7 @@ export interface AutoHealTriggers { statusCodesRange?: Array; } -// @public (undocumented) +// @public export interface AutoHealTriggersOutput { privateBytesInKB?: number; requests?: RequestsBasedTriggerOutput; @@ -3490,7 +3375,7 @@ export interface AutoHealTriggersOutput { statusCodesRange?: Array; } -// @public (undocumented) +// @public export interface AzureActiveDirectory { enabled?: boolean; isAutoProvisioned?: boolean; @@ -3499,19 +3384,19 @@ export interface AzureActiveDirectory { validation?: AzureActiveDirectoryValidation; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryLogin { disableWWWAuthenticate?: boolean; loginParameters?: Array; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryLoginOutput { disableWWWAuthenticate?: boolean; loginParameters?: Array; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryOutput { enabled?: boolean; isAutoProvisioned?: boolean; @@ -3520,7 +3405,7 @@ export interface AzureActiveDirectoryOutput { validation?: AzureActiveDirectoryValidationOutput; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryRegistration { clientId?: string; clientSecretCertificateIssuer?: string; @@ -3530,7 +3415,7 @@ export interface AzureActiveDirectoryRegistration { openIdIssuer?: string; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryRegistrationOutput { clientId?: string; clientSecretCertificateIssuer?: string; @@ -3540,175 +3425,160 @@ export interface AzureActiveDirectoryRegistrationOutput { openIdIssuer?: string; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryValidation { allowedAudiences?: Array; defaultAuthorizationPolicy?: DefaultAuthorizationPolicy; jwtClaimChecks?: JwtClaimChecks; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryValidationOutput { allowedAudiences?: Array; defaultAuthorizationPolicy?: DefaultAuthorizationPolicyOutput; jwtClaimChecks?: JwtClaimChecksOutput; } -// @public (undocumented) +// @public export interface AzureBlobStorageApplicationLogsConfig { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; retentionInDays?: number; sasUrl?: string; } -// @public (undocumented) +// @public export interface AzureBlobStorageApplicationLogsConfigOutput { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; retentionInDays?: number; sasUrl?: string; } -// @public (undocumented) +// @public export interface AzureBlobStorageHttpLogsConfig { enabled?: boolean; retentionInDays?: number; sasUrl?: string; } -// @public (undocumented) +// @public export interface AzureBlobStorageHttpLogsConfigOutput { enabled?: boolean; retentionInDays?: number; sasUrl?: string; } -// @public (undocumented) +// @public export interface AzureStaticWebApps { enabled?: boolean; registration?: AzureStaticWebAppsRegistration; } -// @public (undocumented) +// @public export interface AzureStaticWebAppsOutput { enabled?: boolean; registration?: AzureStaticWebAppsRegistrationOutput; } -// @public (undocumented) +// @public export interface AzureStaticWebAppsRegistration { clientId?: string; } -// @public (undocumented) +// @public export interface AzureStaticWebAppsRegistrationOutput { clientId?: string; } -// @public (undocumented) +// @public export interface AzureStorageInfoValue { accessKey?: string; accountName?: string; mountPath?: string; shareName?: string; - state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; type?: "AzureFiles" | "AzureBlob"; } -// @public (undocumented) +// @public export interface AzureStorageInfoValueOutput { accessKey?: string; accountName?: string; mountPath?: string; shareName?: string; - state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; + readonly state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; type?: "AzureFiles" | "AzureBlob"; } -// @public (undocumented) +// @public export interface AzureStoragePropertyDictionaryResource extends ProxyOnlyResource { properties?: Record; } -// @public (undocumented) +// @public export interface AzureStoragePropertyDictionaryResourceOutput extends ProxyOnlyResourceOutput { properties?: Record; } -// @public (undocumented) +// @public export interface AzureTableStorageApplicationLogsConfig { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; sasUrl: string; } -// @public (undocumented) +// @public export interface AzureTableStorageApplicationLogsConfigOutput { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; sasUrl: string; } -// @public (undocumented) +// @public export interface BackupItem extends ProxyOnlyResource { properties?: BackupItemProperties; } -// @public (undocumented) +// @public export interface BackupItemCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface BackupItemOutput extends ProxyOnlyResourceOutput { properties?: BackupItemPropertiesOutput; } -// @public (undocumented) +// @public export interface BackupItemProperties { - blobName?: string; - correlationId?: string; - created?: Date | string; - databases?: Array; - finishedTimeStamp?: Date | string; - id?: number; - lastRestoreTimeStamp?: Date | string; - log?: string; - name?: string; - scheduled?: boolean; - sizeInBytes?: number; - status?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created" | "Skipped" | "PartiallySucceeded" | "DeleteInProgress" | "DeleteFailed" | "Deleted"; - storageAccountUrl?: string; - websiteSizeInBytes?: number; } -// @public (undocumented) +// @public export interface BackupItemPropertiesOutput { - blobName?: string; - correlationId?: string; - created?: string; - databases?: Array; - finishedTimeStamp?: string; - id?: number; - lastRestoreTimeStamp?: string; - log?: string; - name?: string; - scheduled?: boolean; - sizeInBytes?: number; - status?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created" | "Skipped" | "PartiallySucceeded" | "DeleteInProgress" | "DeleteFailed" | "Deleted"; - storageAccountUrl?: string; - websiteSizeInBytes?: number; + readonly blobName?: string; + readonly correlationId?: string; + readonly created?: string; + readonly databases?: Array; + readonly finishedTimeStamp?: string; + readonly id?: number; + readonly lastRestoreTimeStamp?: string; + readonly log?: string; + readonly name?: string; + readonly scheduled?: boolean; + readonly sizeInBytes?: number; + readonly status?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created" | "Skipped" | "PartiallySucceeded" | "DeleteInProgress" | "DeleteFailed" | "Deleted"; + readonly storageAccountUrl?: string; + readonly websiteSizeInBytes?: number; } -// @public (undocumented) +// @public export interface BackupRequest extends ProxyOnlyResource { properties?: BackupRequestProperties; } -// @public (undocumented) +// @public export interface BackupRequestOutput extends ProxyOnlyResourceOutput { properties?: BackupRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface BackupRequestProperties { backupName?: string; backupSchedule?: BackupSchedule; @@ -3717,7 +3587,7 @@ export interface BackupRequestProperties { storageAccountUrl: string; } -// @public (undocumented) +// @public export interface BackupRequestPropertiesOutput { backupName?: string; backupSchedule?: BackupScheduleOutput; @@ -3726,43 +3596,42 @@ export interface BackupRequestPropertiesOutput { storageAccountUrl: string; } -// @public (undocumented) +// @public export interface BackupSchedule { frequencyInterval: number; frequencyUnit: "Day" | "Hour"; keepAtLeastOneBackup: boolean; - lastExecutionTime?: Date | string; retentionPeriodInDays: number; startTime?: Date | string; } -// @public (undocumented) +// @public export interface BackupScheduleOutput { frequencyInterval: number; frequencyUnit: "Day" | "Hour"; keepAtLeastOneBackup: boolean; - lastExecutionTime?: string; + readonly lastExecutionTime?: string; retentionPeriodInDays: number; startTime?: string; } -// @public (undocumented) +// @public export interface BillingMeter extends ProxyOnlyResource { properties?: BillingMeterProperties; } -// @public (undocumented) +// @public export interface BillingMeterCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface BillingMeterOutput extends ProxyOnlyResourceOutput { properties?: BillingMeterPropertiesOutput; } -// @public (undocumented) +// @public export interface BillingMeterProperties { billingLocation?: string; friendlyName?: string; @@ -3773,7 +3642,7 @@ export interface BillingMeterProperties { shortName?: string; } -// @public (undocumented) +// @public export interface BillingMeterPropertiesOutput { billingLocation?: string; friendlyName?: string; @@ -3784,109 +3653,98 @@ export interface BillingMeterPropertiesOutput { shortName?: string; } -// @public (undocumented) +// @public export interface BlobStorageTokenStore { sasUrlSettingName?: string; } -// @public (undocumented) +// @public export interface BlobStorageTokenStoreOutput { sasUrlSettingName?: string; } -// @public (undocumented) +// @public export interface Capability { name?: string; reason?: string; value?: string; } -// @public (undocumented) +// @public export interface CapabilityOutput { name?: string; reason?: string; value?: string; } -// @public (undocumented) +// @public export interface Certificate extends Resource { properties?: CertificateProperties; } -// @public (undocumented) +// @public export interface CertificateCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface CertificateDetails { - issuer?: string; - notAfter?: Date | string; - notBefore?: Date | string; - rawData?: string; - serialNumber?: string; - signatureAlgorithm?: string; - subject?: string; - thumbprint?: string; - version?: number; } -// @public (undocumented) +// @public export interface CertificateDetailsOutput { - issuer?: string; - notAfter?: string; - notBefore?: string; - rawData?: string; - serialNumber?: string; - signatureAlgorithm?: string; - subject?: string; - thumbprint?: string; - version?: number; + readonly issuer?: string; + readonly notAfter?: string; + readonly notBefore?: string; + readonly rawData?: string; + readonly serialNumber?: string; + readonly signatureAlgorithm?: string; + readonly subject?: string; + readonly thumbprint?: string; + readonly version?: number; } -// @public (undocumented) +// @public export interface CertificateEmail extends ProxyOnlyResource { properties?: CertificateEmailProperties; } -// @public (undocumented) +// @public export interface CertificateEmailOutput extends ProxyOnlyResourceOutput { properties?: CertificateEmailPropertiesOutput; } -// @public (undocumented) +// @public export interface CertificateEmailProperties { emailId?: string; timeStamp?: Date | string; } -// @public (undocumented) +// @public export interface CertificateEmailPropertiesOutput { emailId?: string; timeStamp?: string; } -// @public (undocumented) +// @public export interface CertificateOrderAction extends ProxyOnlyResource { properties?: CertificateOrderActionProperties; } -// @public (undocumented) +// @public export interface CertificateOrderActionOutput extends ProxyOnlyResourceOutput { properties?: CertificateOrderActionPropertiesOutput; } -// @public (undocumented) +// @public export interface CertificateOrderActionProperties { - actionType?: "CertificateIssued" | "CertificateOrderCanceled" | "CertificateOrderCreated" | "CertificateRevoked" | "DomainValidationComplete" | "FraudDetected" | "OrgNameChange" | "OrgValidationComplete" | "SanDrop" | "FraudCleared" | "CertificateExpired" | "CertificateExpirationWarning" | "FraudDocumentationRequired" | "Unknown"; - createdAt?: Date | string; } -// @public (undocumented) +// @public export interface CertificateOrderActionPropertiesOutput { - actionType?: "CertificateIssued" | "CertificateOrderCanceled" | "CertificateOrderCreated" | "CertificateRevoked" | "DomainValidationComplete" | "FraudDetected" | "OrgNameChange" | "OrgValidationComplete" | "SanDrop" | "FraudCleared" | "CertificateExpired" | "CertificateExpirationWarning" | "FraudDocumentationRequired" | "Unknown"; - createdAt?: string; + readonly actionType?: "CertificateIssued" | "CertificateOrderCanceled" | "CertificateOrderCreated" | "CertificateRevoked" | "DomainValidationComplete" | "FraudDetected" | "OrgNameChange" | "OrgValidationComplete" | "SanDrop" | "FraudCleared" | "CertificateExpired" | "CertificateExpirationWarning" | "FraudDocumentationRequired" | "Unknown"; + readonly createdAt?: string; } // @public (undocumented) @@ -3915,7 +3773,7 @@ export interface CertificateOrderContactOutput { // @public (undocumented) export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse { - get(options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseParameters): Promise; + get(options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseParameters): StreamableMethod; } // @public @@ -3927,11 +3785,11 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect } // @public -export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponsedefaultResponse extends HttpResponse { +export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3952,7 +3810,7 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect // @public (undocumented) export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse { - get(options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters): Promise; + get(options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters): StreamableMethod; } // @public @@ -3964,134 +3822,108 @@ export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetec } // @public -export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponsedefaultResponse extends HttpResponse { +export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters = RequestParameters; -// @public (undocumented) +// @public export interface CertificateOutput extends ResourceOutput { properties?: CertificatePropertiesOutput; } -// @public (undocumented) +// @public export interface CertificatePatchResource extends ProxyOnlyResource { properties?: CertificatePatchResourceProperties; } -// @public (undocumented) +// @public export interface CertificatePatchResourceOutput extends ProxyOnlyResourceOutput { properties?: CertificatePatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface CertificatePatchResourceProperties { canonicalName?: string; - cerBlob?: string; domainValidationMethod?: string; - expirationDate?: Date | string; - friendlyName?: string; - hostingEnvironmentProfile?: HostingEnvironmentProfile; hostNames?: Array; - issueDate?: Date | string; - issuer?: string; keyVaultId?: string; keyVaultSecretName?: string; - keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; password?: string; pfxBlob?: string; - publicKeyHash?: string; - selfLink?: string; serverFarmId?: string; - siteName?: string; - subjectName?: string; - thumbprint?: string; - valid?: boolean; } -// @public (undocumented) +// @public export interface CertificatePatchResourcePropertiesOutput { canonicalName?: string; - cerBlob?: string; + readonly cerBlob?: string; domainValidationMethod?: string; - expirationDate?: string; - friendlyName?: string; - hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; + readonly expirationDate?: string; + readonly friendlyName?: string; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; hostNames?: Array; - issueDate?: string; - issuer?: string; + readonly issueDate?: string; + readonly issuer?: string; keyVaultId?: string; keyVaultSecretName?: string; - keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; + readonly keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; password?: string; pfxBlob?: string; - publicKeyHash?: string; - selfLink?: string; + readonly publicKeyHash?: string; + readonly selfLink?: string; serverFarmId?: string; - siteName?: string; - subjectName?: string; - thumbprint?: string; - valid?: boolean; + readonly siteName?: string; + readonly subjectName?: string; + readonly thumbprint?: string; + readonly valid?: boolean; } -// @public (undocumented) +// @public export interface CertificateProperties { canonicalName?: string; - cerBlob?: string; domainValidationMethod?: string; - expirationDate?: Date | string; - friendlyName?: string; - hostingEnvironmentProfile?: HostingEnvironmentProfile; hostNames?: Array; - issueDate?: Date | string; - issuer?: string; keyVaultId?: string; keyVaultSecretName?: string; - keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; password?: string; pfxBlob?: string; - publicKeyHash?: string; - selfLink?: string; serverFarmId?: string; - siteName?: string; - subjectName?: string; - thumbprint?: string; - valid?: boolean; } -// @public (undocumented) +// @public export interface CertificatePropertiesOutput { canonicalName?: string; - cerBlob?: string; + readonly cerBlob?: string; domainValidationMethod?: string; - expirationDate?: string; - friendlyName?: string; - hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; + readonly expirationDate?: string; + readonly friendlyName?: string; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; hostNames?: Array; - issueDate?: string; - issuer?: string; + readonly issueDate?: string; + readonly issuer?: string; keyVaultId?: string; keyVaultSecretName?: string; - keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; + readonly keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; password?: string; pfxBlob?: string; - publicKeyHash?: string; - selfLink?: string; + readonly publicKeyHash?: string; + readonly selfLink?: string; serverFarmId?: string; - siteName?: string; - subjectName?: string; - thumbprint?: string; - valid?: boolean; + readonly siteName?: string; + readonly subjectName?: string; + readonly thumbprint?: string; + readonly valid?: boolean; } // @public (undocumented) export interface CertificateRegistrationProviderListOperations { - get(options?: CertificateRegistrationProviderListOperationsParameters): Promise; + get(options?: CertificateRegistrationProviderListOperationsParameters): StreamableMethod; } // @public @@ -4103,11 +3935,11 @@ export interface CertificateRegistrationProviderListOperations200Response extend } // @public -export interface CertificateRegistrationProviderListOperationsdefaultResponse extends HttpResponse { +export interface CertificateRegistrationProviderListOperationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4127,11 +3959,11 @@ export interface CertificatesCreateOrUpdateBodyParam { } // @public -export interface CertificatesCreateOrUpdatedefaultResponse extends HttpResponse { +export interface CertificatesCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4144,26 +3976,22 @@ export type CertificatesCreateOrUpdateParameters = CertificatesCreateOrUpdateMed // @public export interface CertificatesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CertificatesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface CertificatesDeletedefaultResponse extends HttpResponse { +export interface CertificatesDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4171,10 +3999,10 @@ export type CertificatesDeleteParameters = RequestParameters; // @public (undocumented) export interface CertificatesGet { - delete(options?: CertificatesDeleteParameters): Promise; - get(options?: CertificatesGetParameters): Promise; - patch(options: CertificatesUpdateParameters): Promise; - put(options: CertificatesCreateOrUpdateParameters): Promise; + delete(options?: CertificatesDeleteParameters): StreamableMethod; + get(options?: CertificatesGetParameters): StreamableMethod; + patch(options: CertificatesUpdateParameters): StreamableMethod; + put(options: CertificatesCreateOrUpdateParameters): StreamableMethod; } // @public @@ -4186,11 +4014,11 @@ export interface CertificatesGet200Response extends HttpResponse { } // @public -export interface CertificatesGetdefaultResponse extends HttpResponse { +export interface CertificatesGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4198,7 +4026,7 @@ export type CertificatesGetParameters = RequestParameters; // @public (undocumented) export interface CertificatesList { - get(options?: CertificatesListParameters): Promise; + get(options?: CertificatesListParameters): StreamableMethod; } // @public @@ -4211,7 +4039,7 @@ export interface CertificatesList200Response extends HttpResponse { // @public (undocumented) export interface CertificatesListByResourceGroup { - get(options?: CertificatesListByResourceGroupParameters): Promise; + get(options?: CertificatesListByResourceGroupParameters): StreamableMethod; } // @public @@ -4223,22 +4051,22 @@ export interface CertificatesListByResourceGroup200Response extends HttpResponse } // @public -export interface CertificatesListByResourceGroupdefaultResponse extends HttpResponse { +export interface CertificatesListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type CertificatesListByResourceGroupParameters = RequestParameters; // @public -export interface CertificatesListdefaultResponse extends HttpResponse { +export interface CertificatesListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4269,11 +4097,11 @@ export interface CertificatesUpdateBodyParam { } // @public -export interface CertificatesUpdatedefaultResponse extends HttpResponse { +export interface CertificatesUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4286,7 +4114,7 @@ export type CertificatesUpdateParameters = CertificatesUpdateMediaTypesParam & C // @public (undocumented) export interface CheckNameAvailability { - post(options: CheckNameAvailabilityParameters): Promise; + post(options: CheckNameAvailabilityParameters): StreamableMethod; } // @public @@ -4303,11 +4131,11 @@ export interface CheckNameAvailabilityBodyParam { } // @public -export interface CheckNameAvailabilitydefaultResponse extends HttpResponse { +export interface CheckNameAvailabilityDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4318,19 +4146,19 @@ export interface CheckNameAvailabilityMediaTypesParam { // @public (undocumented) export type CheckNameAvailabilityParameters = CheckNameAvailabilityMediaTypesParam & CheckNameAvailabilityBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ClientRegistration { clientId?: string; clientSecretSettingName?: string; } -// @public (undocumented) +// @public export interface ClientRegistrationOutput { clientId?: string; clientSecretSettingName?: string; } -// @public (undocumented) +// @public export interface CloningInfo { appSettingsOverrides?: Record; cloneCustomHostNames?: boolean; @@ -4345,7 +4173,7 @@ export interface CloningInfo { trafficManagerProfileName?: string; } -// @public (undocumented) +// @public export interface CloningInfoOutput { appSettingsOverrides?: Record; cloneCustomHostNames?: boolean; @@ -4360,7 +4188,7 @@ export interface CloningInfoOutput { trafficManagerProfileName?: string; } -// @public (undocumented) +// @public export interface Configuration { activeRevisionsMode?: "multiple" | "single"; ingress?: Ingress; @@ -4368,7 +4196,7 @@ export interface Configuration { secrets?: Array; } -// @public (undocumented) +// @public export interface ConfigurationOutput { activeRevisionsMode?: "multiple" | "single"; ingress?: IngressOutput; @@ -4376,43 +4204,43 @@ export interface ConfigurationOutput { secrets?: Array; } -// @public (undocumented) +// @public export interface ConnectionStringDictionary extends ProxyOnlyResource { properties?: Record; } -// @public (undocumented) +// @public export interface ConnectionStringDictionaryOutput extends ProxyOnlyResourceOutput { properties?: Record; } -// @public (undocumented) +// @public export interface ConnStringInfo { connectionString?: string; name?: string; type?: "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; } -// @public (undocumented) +// @public export interface ConnStringInfoOutput { connectionString?: string; name?: string; type?: "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; } -// @public (undocumented) +// @public export interface ConnStringValueTypePair { type: "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; value: string; } -// @public (undocumented) +// @public export interface ConnStringValueTypePairOutput { type: "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; value: string; } -// @public (undocumented) +// @public export interface Contact { addressMailing?: Address; email: string; @@ -4425,7 +4253,7 @@ export interface Contact { phone: string; } -// @public (undocumented) +// @public export interface ContactOutput { addressMailing?: AddressOutput; email: string; @@ -4438,7 +4266,7 @@ export interface ContactOutput { phone: string; } -// @public (undocumented) +// @public export interface Container { args?: Array; command?: Array; @@ -4448,39 +4276,36 @@ export interface Container { resources?: ContainerResources; } -// @public (undocumented) +// @public export interface ContainerApp extends Resource { properties?: ContainerAppProperties; } -// @public (undocumented) +// @public export interface ContainerAppCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ContainerAppOutput extends ResourceOutput { properties?: ContainerAppPropertiesOutput; } -// @public (undocumented) +// @public export interface ContainerAppProperties { configuration?: Configuration; kubeEnvironmentId?: string; - latestRevisionFqdn?: string; - latestRevisionName?: string; - provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; template?: Template; } -// @public (undocumented) +// @public export interface ContainerAppPropertiesOutput { configuration?: ConfigurationOutput; kubeEnvironmentId?: string; - latestRevisionFqdn?: string; - latestRevisionName?: string; - provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; + readonly latestRevisionFqdn?: string; + readonly latestRevisionName?: string; + readonly provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; template?: TemplateOutput; } @@ -4527,11 +4352,11 @@ export interface ContainerAppsCreateOrUpdateBodyParam { } // @public -export interface ContainerAppsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ContainerAppsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4544,50 +4369,44 @@ export type ContainerAppsCreateOrUpdateParameters = ContainerAppsCreateOrUpdateM // @public export interface ContainerAppsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ContainerAppsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ContainerAppsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ContainerAppsDeletedefaultResponse extends HttpResponse { +export interface ContainerAppsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ContainerAppsDeleteParameters = RequestParameters; -// @public (undocumented) +// @public export interface ContainerAppSecretOutput { - name?: string; - value?: string; + readonly name?: string; + readonly value?: string; } // @public (undocumented) export interface ContainerAppsGet { - delete(options?: ContainerAppsDeleteParameters): Promise; - get(options?: ContainerAppsGetParameters): Promise; - put(options: ContainerAppsCreateOrUpdateParameters): Promise; + delete(options?: ContainerAppsDeleteParameters): StreamableMethod; + get(options?: ContainerAppsGetParameters): StreamableMethod; + put(options: ContainerAppsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -4600,18 +4419,16 @@ export interface ContainerAppsGet200Response extends HttpResponse { // @public export interface ContainerAppsGet404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface ContainerAppsGetdefaultResponse extends HttpResponse { +export interface ContainerAppsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4619,7 +4436,7 @@ export type ContainerAppsGetParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsListByResourceGroup { - get(options?: ContainerAppsListByResourceGroupParameters): Promise; + get(options?: ContainerAppsListByResourceGroupParameters): StreamableMethod; } // @public @@ -4631,11 +4448,11 @@ export interface ContainerAppsListByResourceGroup200Response extends HttpRespons } // @public -export interface ContainerAppsListByResourceGroupdefaultResponse extends HttpResponse { +export interface ContainerAppsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4643,7 +4460,7 @@ export type ContainerAppsListByResourceGroupParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsListBySubscription { - get(options?: ContainerAppsListBySubscriptionParameters): Promise; + get(options?: ContainerAppsListBySubscriptionParameters): StreamableMethod; } // @public @@ -4655,11 +4472,11 @@ export interface ContainerAppsListBySubscription200Response extends HttpResponse } // @public -export interface ContainerAppsListBySubscriptiondefaultResponse extends HttpResponse { +export interface ContainerAppsListBySubscriptionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4667,7 +4484,7 @@ export type ContainerAppsListBySubscriptionParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsListSecrets { - post(options?: ContainerAppsListSecretsParameters): Promise; + post(options?: ContainerAppsListSecretsParameters): StreamableMethod; } // @public @@ -4679,11 +4496,11 @@ export interface ContainerAppsListSecrets200Response extends HttpResponse { } // @public -export interface ContainerAppsListSecretsdefaultResponse extends HttpResponse { +export interface ContainerAppsListSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4691,23 +4508,21 @@ export type ContainerAppsListSecretsParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsRevisionsActivateRevision { - post(options?: ContainerAppsRevisionsActivateRevisionParameters): Promise; + post(options?: ContainerAppsRevisionsActivateRevisionParameters): StreamableMethod; } // @public export interface ContainerAppsRevisionsActivateRevision200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface ContainerAppsRevisionsActivateRevisiondefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsActivateRevisionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4715,23 +4530,21 @@ export type ContainerAppsRevisionsActivateRevisionParameters = RequestParameters // @public (undocumented) export interface ContainerAppsRevisionsDeactivateRevision { - post(options?: ContainerAppsRevisionsDeactivateRevisionParameters): Promise; + post(options?: ContainerAppsRevisionsDeactivateRevisionParameters): StreamableMethod; } // @public export interface ContainerAppsRevisionsDeactivateRevision200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface ContainerAppsRevisionsDeactivateRevisiondefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsDeactivateRevisionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4739,7 +4552,7 @@ export type ContainerAppsRevisionsDeactivateRevisionParameters = RequestParamete // @public (undocumented) export interface ContainerAppsRevisionsGetRevision { - get(options?: ContainerAppsRevisionsGetRevisionParameters): Promise; + get(options?: ContainerAppsRevisionsGetRevisionParameters): StreamableMethod; } // @public @@ -4751,11 +4564,11 @@ export interface ContainerAppsRevisionsGetRevision200Response extends HttpRespon } // @public -export interface ContainerAppsRevisionsGetRevisiondefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsGetRevisionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4763,7 +4576,7 @@ export type ContainerAppsRevisionsGetRevisionParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsRevisionsListRevisions { - get(options?: ContainerAppsRevisionsListRevisionsParameters): Promise; + get(options?: ContainerAppsRevisionsListRevisionsParameters): StreamableMethod; } // @public @@ -4775,11 +4588,11 @@ export interface ContainerAppsRevisionsListRevisions200Response extends HttpResp } // @public -export interface ContainerAppsRevisionsListRevisionsdefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsListRevisionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4787,23 +4600,21 @@ export type ContainerAppsRevisionsListRevisionsParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsRevisionsRestartRevision { - post(options?: ContainerAppsRevisionsRestartRevisionParameters): Promise; + post(options?: ContainerAppsRevisionsRestartRevisionParameters): StreamableMethod; } // @public export interface ContainerAppsRevisionsRestartRevision200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface ContainerAppsRevisionsRestartRevisiondefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsRestartRevisionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4957,7 +4768,7 @@ export interface ContainerNetworkInterfaceStatisticsOutput { txPackets?: number; } -// @public (undocumented) +// @public export interface ContainerOutput { args?: Array; command?: Array; @@ -4967,13 +4778,13 @@ export interface ContainerOutput { resources?: ContainerResourcesOutput; } -// @public (undocumented) +// @public export interface ContainerResources { cpu?: number; memory?: string; } -// @public (undocumented) +// @public export interface ContainerResourcesOutput { cpu?: number; memory?: string; @@ -4999,23 +4810,23 @@ export interface ContainerThrottlingDataOutput { throttledTime?: number; } -// @public (undocumented) +// @public export interface ContinuousWebJob extends ProxyOnlyResource { properties?: ContinuousWebJobProperties; } -// @public (undocumented) +// @public export interface ContinuousWebJobCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ContinuousWebJobOutput extends ProxyOnlyResourceOutput { properties?: ContinuousWebJobPropertiesOutput; } -// @public (undocumented) +// @public export interface ContinuousWebJobProperties { detailed_status?: string; error?: string; @@ -5029,7 +4840,7 @@ export interface ContinuousWebJobProperties { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface ContinuousWebJobPropertiesOutput { detailed_status?: string; error?: string; @@ -5043,35 +4854,35 @@ export interface ContinuousWebJobPropertiesOutput { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface CookieExpiration { convention?: "FixedTime" | "IdentityProviderDerived"; timeToExpiration?: string; } -// @public (undocumented) +// @public export interface CookieExpirationOutput { convention?: "FixedTime" | "IdentityProviderDerived"; timeToExpiration?: string; } -// @public (undocumented) +// @public export interface CorsSettings { allowedOrigins?: Array; supportCredentials?: boolean; } -// @public (undocumented) +// @public export interface CorsSettingsOutput { allowedOrigins?: Array; supportCredentials?: boolean; } -// @public (undocumented) -function createClient(credentials: TokenCredential, options?: ClientOptions): WebSiteManagementClient; +// @public +function createClient(credentials: TokenCredential, { apiVersion, ...options }?: WebSiteManagementClientOptions): WebSiteManagementClient; export default createClient; -// @public (undocumented) +// @public export interface CsmMoveResourceEnvelope { // (undocumented) resources?: Array; @@ -5079,13 +4890,13 @@ export interface CsmMoveResourceEnvelope { targetResourceGroup?: string; } -// @public (undocumented) +// @public export interface CsmOperationCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface CsmOperationDescriptionOutput { display?: CsmOperationDisplayOutput; // (undocumented) @@ -5097,12 +4908,12 @@ export interface CsmOperationDescriptionOutput { properties?: CsmOperationDescriptionPropertiesOutput; } -// @public (undocumented) +// @public export interface CsmOperationDescriptionPropertiesOutput { serviceSpecification?: ServiceSpecificationOutput; } -// @public (undocumented) +// @public export interface CsmOperationDisplayOutput { // (undocumented) description?: string; @@ -5114,45 +4925,45 @@ export interface CsmOperationDisplayOutput { resource?: string; } -// @public (undocumented) +// @public export interface CsmPublishingCredentialsPoliciesEntity extends ProxyOnlyResource { properties?: CsmPublishingCredentialsPoliciesEntityProperties; } -// @public (undocumented) +// @public export interface CsmPublishingCredentialsPoliciesEntityOutput extends ProxyOnlyResourceOutput { properties?: CsmPublishingCredentialsPoliciesEntityPropertiesOutput; } -// @public (undocumented) +// @public export interface CsmPublishingCredentialsPoliciesEntityProperties { allow: boolean; } -// @public (undocumented) +// @public export interface CsmPublishingCredentialsPoliciesEntityPropertiesOutput { allow: boolean; } -// @public (undocumented) +// @public export interface CsmPublishingProfileOptions { format?: "FileZilla3" | "WebDeploy" | "Ftp"; includeDisasterRecoveryEndpoints?: boolean; } -// @public (undocumented) +// @public export interface CsmSlotEntity { preserveVnet: boolean; targetSlot: string; } -// @public (undocumented) +// @public export interface CsmUsageQuotaCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface CsmUsageQuotaOutput { currentValue?: number; limit?: number; @@ -5161,63 +4972,57 @@ export interface CsmUsageQuotaOutput { unit?: string; } -// @public (undocumented) +// @public export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { properties?: CustomHostnameAnalysisResultProperties; } -// @public (undocumented) +// @public export interface CustomHostnameAnalysisResultOutput extends ProxyOnlyResourceOutput { properties?: CustomHostnameAnalysisResultPropertiesOutput; } -// @public (undocumented) +// @public export interface CustomHostnameAnalysisResultProperties { alternateCNameRecords?: Array; alternateTxtRecords?: Array; aRecords?: Array; cNameRecords?: Array; - conflictingAppResourceId?: string; - customDomainVerificationFailureInfo?: ErrorEntity; - customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; - hasConflictAcrossSubscription?: boolean; - hasConflictOnScaleUnit?: boolean; - isHostnameAlreadyVerified?: boolean; txtRecords?: Array; } -// @public (undocumented) +// @public export interface CustomHostnameAnalysisResultPropertiesOutput { alternateCNameRecords?: Array; alternateTxtRecords?: Array; aRecords?: Array; cNameRecords?: Array; - conflictingAppResourceId?: string; - customDomainVerificationFailureInfo?: ErrorEntityOutput; - customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; - hasConflictAcrossSubscription?: boolean; - hasConflictOnScaleUnit?: boolean; - isHostnameAlreadyVerified?: boolean; + readonly conflictingAppResourceId?: string; + readonly customDomainVerificationFailureInfo?: ErrorEntityOutput; + readonly customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; + readonly hasConflictAcrossSubscription?: boolean; + readonly hasConflictOnScaleUnit?: boolean; + readonly isHostnameAlreadyVerified?: boolean; txtRecords?: Array; } -// @public (undocumented) +// @public export interface CustomHostnameSites extends ProxyOnlyResource { properties?: CustomHostnameSitesProperties; } -// @public (undocumented) +// @public export interface CustomHostnameSitesCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface CustomHostnameSitesOutput extends ProxyOnlyResourceOutput { properties?: CustomHostnameSitesPropertiesOutput; } -// @public (undocumented) +// @public export interface CustomHostnameSitesProperties { // (undocumented) customHostname?: string; @@ -5227,7 +5032,7 @@ export interface CustomHostnameSitesProperties { siteResourceIds?: Array; } -// @public (undocumented) +// @public export interface CustomHostnameSitesPropertiesOutput { // (undocumented) customHostname?: string; @@ -5237,35 +5042,35 @@ export interface CustomHostnameSitesPropertiesOutput { siteResourceIds?: Array; } -// @public (undocumented) +// @public export interface CustomOpenIdConnectProvider { enabled?: boolean; login?: OpenIdConnectLogin; registration?: OpenIdConnectRegistration; } -// @public (undocumented) +// @public export interface CustomOpenIdConnectProviderOutput { enabled?: boolean; login?: OpenIdConnectLoginOutput; registration?: OpenIdConnectRegistrationOutput; } -// @public (undocumented) +// @public export interface CustomScaleRule { auth?: Array; metadata?: Record; type?: string; } -// @public (undocumented) +// @public export interface CustomScaleRuleOutput { auth?: Array; metadata?: Record; type?: string; } -// @public (undocumented) +// @public export interface Dapr { appId?: string; appPort?: number; @@ -5273,7 +5078,7 @@ export interface Dapr { enabled?: boolean; } -// @public (undocumented) +// @public export interface DaprComponent { metadata?: Array; name?: string; @@ -5281,7 +5086,7 @@ export interface DaprComponent { version?: string; } -// @public (undocumented) +// @public export interface DaprComponentOutput { metadata?: Array; name?: string; @@ -5289,21 +5094,21 @@ export interface DaprComponentOutput { version?: string; } -// @public (undocumented) +// @public export interface DaprMetadata { name?: string; secretRef?: string; value?: string; } -// @public (undocumented) +// @public export interface DaprMetadataOutput { name?: string; secretRef?: string; value?: string; } -// @public (undocumented) +// @public export interface DaprOutput { appId?: string; appPort?: number; @@ -5311,7 +5116,7 @@ export interface DaprOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface DatabaseBackupSetting { connectionString?: string; connectionStringName?: string; @@ -5320,7 +5125,7 @@ export interface DatabaseBackupSetting { name?: string; } -// @public (undocumented) +// @public export interface DatabaseBackupSettingOutput { connectionString?: string; connectionStringName?: string; @@ -5329,105 +5134,104 @@ export interface DatabaseBackupSettingOutput { name?: string; } -// @public (undocumented) +// @public export interface DataProviderMetadata { - propertyBag?: Array; // (undocumented) providerName?: string; } -// @public (undocumented) +// @public export interface DataProviderMetadataOutput { - propertyBag?: Array; + readonly propertyBag?: Array; // (undocumented) providerName?: string; } -// @public (undocumented) +// @public export interface DataSource { dataSourceUri?: Array; instructions?: Array; } -// @public (undocumented) +// @public export interface DataSourceOutput { dataSourceUri?: Array; instructions?: Array; } -// @public (undocumented) +// @public export interface DataTableResponseColumn { columnName?: string; columnType?: string; dataType?: string; } -// @public (undocumented) +// @public export interface DataTableResponseColumnOutput { columnName?: string; columnType?: string; dataType?: string; } -// @public (undocumented) +// @public export interface DataTableResponseObject { columns?: Array; rows?: Array>; tableName?: string; } -// @public (undocumented) +// @public export interface DataTableResponseObjectOutput { columns?: Array; rows?: Array>; tableName?: string; } -// @public (undocumented) +// @public export interface DefaultAuthorizationPolicy { allowedApplications?: Array; allowedPrincipals?: AllowedPrincipals; } -// @public (undocumented) +// @public export interface DefaultAuthorizationPolicyOutput { allowedApplications?: Array; allowedPrincipals?: AllowedPrincipalsOutput; } -// @public (undocumented) +// @public export interface DefaultErrorResponseErrorDetailsItemOutput { - code?: string; - message?: string; - target?: string; + readonly code?: string; + readonly message?: string; + readonly target?: string; } -// @public (undocumented) +// @public export interface DefaultErrorResponseErrorOutput { - code?: string; + readonly code?: string; // (undocumented) details?: Array; - innererror?: string; - message?: string; - target?: string; + readonly innererror?: string; + readonly message?: string; + readonly target?: string; } -// @public (undocumented) +// @public export interface DefaultErrorResponseOutput { - error?: DefaultErrorResponseErrorOutput; + readonly error?: DefaultErrorResponseErrorOutput; } -// @public (undocumented) +// @public export interface DeletedAppRestoreRequest extends ProxyOnlyResource { properties?: DeletedAppRestoreRequestProperties; } -// @public (undocumented) +// @public export interface DeletedAppRestoreRequestOutput extends ProxyOnlyResourceOutput { properties?: DeletedAppRestoreRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface DeletedAppRestoreRequestProperties { deletedSiteId?: string; recoverConfiguration?: boolean; @@ -5435,7 +5239,7 @@ export interface DeletedAppRestoreRequestProperties { useDRSecondary?: boolean; } -// @public (undocumented) +// @public export interface DeletedAppRestoreRequestPropertiesOutput { deletedSiteId?: string; recoverConfiguration?: boolean; @@ -5443,49 +5247,41 @@ export interface DeletedAppRestoreRequestPropertiesOutput { useDRSecondary?: boolean; } -// @public (undocumented) +// @public export interface DeletedSite extends ProxyOnlyResource { properties?: DeletedSiteProperties; } -// @public (undocumented) +// @public export interface DeletedSiteOutput extends ProxyOnlyResourceOutput { properties?: DeletedSitePropertiesOutput; } -// @public (undocumented) +// @public export interface DeletedSiteProperties { - deletedSiteId?: number; - deletedSiteName?: string; - deletedTimestamp?: string; - geoRegionName?: string; - kind?: string; - resourceGroup?: string; - slot?: string; - subscription?: string; } -// @public (undocumented) +// @public export interface DeletedSitePropertiesOutput { - deletedSiteId?: number; - deletedSiteName?: string; - deletedTimestamp?: string; - geoRegionName?: string; - kind?: string; - resourceGroup?: string; - slot?: string; - subscription?: string; + readonly deletedSiteId?: number; + readonly deletedSiteName?: string; + readonly deletedTimestamp?: string; + readonly geoRegionName?: string; + readonly kind?: string; + readonly resourceGroup?: string; + readonly slot?: string; + readonly subscription?: string; } -// @public (undocumented) +// @public export interface DeletedWebAppCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } // @public (undocumented) export interface DeletedWebAppsGetDeletedWebAppByLocation { - get(options?: DeletedWebAppsGetDeletedWebAppByLocationParameters): Promise; + get(options?: DeletedWebAppsGetDeletedWebAppByLocationParameters): StreamableMethod; } // @public @@ -5497,11 +5293,11 @@ export interface DeletedWebAppsGetDeletedWebAppByLocation200Response extends Htt } // @public -export interface DeletedWebAppsGetDeletedWebAppByLocationdefaultResponse extends HttpResponse { +export interface DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -5509,7 +5305,7 @@ export type DeletedWebAppsGetDeletedWebAppByLocationParameters = RequestParamete // @public (undocumented) export interface DeletedWebAppsList { - get(options?: DeletedWebAppsListParameters): Promise; + get(options?: DeletedWebAppsListParameters): StreamableMethod; } // @public @@ -5522,7 +5318,7 @@ export interface DeletedWebAppsList200Response extends HttpResponse { // @public (undocumented) export interface DeletedWebAppsListByLocation { - get(options?: DeletedWebAppsListByLocationParameters): Promise; + get(options?: DeletedWebAppsListByLocationParameters): StreamableMethod; } // @public @@ -5534,51 +5330,51 @@ export interface DeletedWebAppsListByLocation200Response extends HttpResponse { } // @public -export interface DeletedWebAppsListByLocationdefaultResponse extends HttpResponse { +export interface DeletedWebAppsListByLocationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DeletedWebAppsListByLocationParameters = RequestParameters; // @public -export interface DeletedWebAppsListdefaultResponse extends HttpResponse { +export interface DeletedWebAppsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DeletedWebAppsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface Deployment extends ProxyOnlyResource { properties?: DeploymentProperties; } -// @public (undocumented) +// @public export interface DeploymentCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DeploymentLocationsOutput { hostingEnvironmentDeploymentInfos?: Array; hostingEnvironments?: Array; locations?: Array; } -// @public (undocumented) +// @public export interface DeploymentOutput extends ProxyOnlyResourceOutput { properties?: DeploymentPropertiesOutput; } -// @public (undocumented) +// @public export interface DeploymentProperties { active?: boolean; author?: string; @@ -5591,7 +5387,7 @@ export interface DeploymentProperties { status?: number; } -// @public (undocumented) +// @public export interface DeploymentPropertiesOutput { active?: boolean; author?: string; @@ -5604,7 +5400,7 @@ export interface DeploymentPropertiesOutput { status?: number; } -// @public (undocumented) +// @public export interface DetectorAbnormalTimePeriod { endTime?: Date | string; message?: string; @@ -5616,7 +5412,7 @@ export interface DetectorAbnormalTimePeriod { type?: "ServiceIncident" | "AppDeployment" | "AppCrash" | "RuntimeIssueDetected" | "AseDeployment" | "UserIssue" | "PlatformIssue" | "Other"; } -// @public (undocumented) +// @public export interface DetectorAbnormalTimePeriodOutput { endTime?: string; message?: string; @@ -5628,75 +5424,62 @@ export interface DetectorAbnormalTimePeriodOutput { type?: "ServiceIncident" | "AppDeployment" | "AppCrash" | "RuntimeIssueDetected" | "AseDeployment" | "UserIssue" | "PlatformIssue" | "Other"; } -// @public (undocumented) +// @public export interface DetectorDefinition { - description?: string; - displayName?: string; - isEnabled?: boolean; - rank?: number; } -// @public (undocumented) +// @public export interface DetectorDefinitionOutput { - description?: string; - displayName?: string; - isEnabled?: boolean; - rank?: number; + readonly description?: string; + readonly displayName?: string; + readonly isEnabled?: boolean; + readonly rank?: number; } -// @public (undocumented) +// @public export interface DetectorDefinitionResource extends ProxyOnlyResource { properties?: DetectorDefinition; } -// @public (undocumented) +// @public export interface DetectorDefinitionResourceOutput extends ProxyOnlyResourceOutput { properties?: DetectorDefinitionOutput; } -// @public (undocumented) +// @public export interface DetectorInfo { - analysisType?: Array; - author?: string; - category?: string; - description?: string; - id?: string; - name?: string; - score?: number; - supportTopicList?: Array; - type?: "Detector" | "Analysis" | "CategoryOverview"; } -// @public (undocumented) +// @public export interface DetectorInfoOutput { - analysisType?: Array; - author?: string; - category?: string; - description?: string; - id?: string; - name?: string; - score?: number; - supportTopicList?: Array; - type?: "Detector" | "Analysis" | "CategoryOverview"; + readonly analysisType?: Array; + readonly author?: string; + readonly category?: string; + readonly description?: string; + readonly id?: string; + readonly name?: string; + readonly score?: number; + readonly supportTopicList?: Array; + readonly type?: "Detector" | "Analysis" | "CategoryOverview"; } -// @public (undocumented) +// @public export interface DetectorResponse extends ProxyOnlyResource { properties?: DetectorResponseProperties; } -// @public (undocumented) +// @public export interface DetectorResponseCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DetectorResponseOutput extends ProxyOnlyResourceOutput { properties?: DetectorResponsePropertiesOutput; } -// @public (undocumented) +// @public export interface DetectorResponseProperties { dataProvidersMetadata?: Array; dataset?: Array; @@ -5705,7 +5488,7 @@ export interface DetectorResponseProperties { suggestedUtterances?: QueryUtterancesResults; } -// @public (undocumented) +// @public export interface DetectorResponsePropertiesOutput { dataProvidersMetadata?: Array; dataset?: Array; @@ -5714,23 +5497,23 @@ export interface DetectorResponsePropertiesOutput { suggestedUtterances?: QueryUtterancesResultsOutput; } -// @public (undocumented) +// @public export interface DiagnosticAnalysis extends ProxyOnlyResource { properties?: DiagnosticAnalysisProperties; } -// @public (undocumented) +// @public export interface DiagnosticAnalysisCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DiagnosticAnalysisOutput extends ProxyOnlyResourceOutput { properties?: DiagnosticAnalysisPropertiesOutput; } -// @public (undocumented) +// @public export interface DiagnosticAnalysisProperties { abnormalTimePeriods?: Array; endTime?: Date | string; @@ -5739,7 +5522,7 @@ export interface DiagnosticAnalysisProperties { startTime?: Date | string; } -// @public (undocumented) +// @public export interface DiagnosticAnalysisPropertiesOutput { abnormalTimePeriods?: Array; endTime?: string; @@ -5748,62 +5531,61 @@ export interface DiagnosticAnalysisPropertiesOutput { startTime?: string; } -// @public (undocumented) +// @public export interface DiagnosticCategory extends ProxyOnlyResource { properties?: DiagnosticCategoryProperties; } -// @public (undocumented) +// @public export interface DiagnosticCategoryCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DiagnosticCategoryOutput extends ProxyOnlyResourceOutput { properties?: DiagnosticCategoryPropertiesOutput; } -// @public (undocumented) +// @public export interface DiagnosticCategoryProperties { - description?: string; } -// @public (undocumented) +// @public export interface DiagnosticCategoryPropertiesOutput { - description?: string; + readonly description?: string; } -// @public (undocumented) +// @public interface DiagnosticData_2 { renderingProperties?: Rendering; table?: DataTableResponseObject; } export { DiagnosticData_2 as DiagnosticData } -// @public (undocumented) +// @public export interface DiagnosticDataOutput { renderingProperties?: RenderingOutput; table?: DataTableResponseObjectOutput; } -// @public (undocumented) +// @public export interface DiagnosticDetectorCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DiagnosticDetectorResponse extends ProxyOnlyResource { properties?: DiagnosticDetectorResponseProperties; } -// @public (undocumented) +// @public export interface DiagnosticDetectorResponseOutput extends ProxyOnlyResourceOutput { properties?: DiagnosticDetectorResponsePropertiesOutput; } -// @public (undocumented) +// @public export interface DiagnosticDetectorResponseProperties { abnormalTimePeriods?: Array; data?: Array>; @@ -5815,7 +5597,7 @@ export interface DiagnosticDetectorResponseProperties { startTime?: Date | string; } -// @public (undocumented) +// @public export interface DiagnosticDetectorResponsePropertiesOutput { abnormalTimePeriods?: Array; data?: Array>; @@ -5827,7 +5609,7 @@ export interface DiagnosticDetectorResponsePropertiesOutput { startTime?: string; } -// @public (undocumented) +// @public export interface DiagnosticMetricSample { isAggregated?: boolean; maximum?: number; @@ -5837,7 +5619,7 @@ export interface DiagnosticMetricSample { total?: number; } -// @public (undocumented) +// @public export interface DiagnosticMetricSampleOutput { isAggregated?: boolean; maximum?: number; @@ -5847,7 +5629,7 @@ export interface DiagnosticMetricSampleOutput { total?: number; } -// @public (undocumented) +// @public export interface DiagnosticMetricSet { endTime?: Date | string; name?: string; @@ -5857,7 +5639,7 @@ export interface DiagnosticMetricSet { values?: Array; } -// @public (undocumented) +// @public export interface DiagnosticMetricSetOutput { endTime?: string; name?: string; @@ -5869,7 +5651,7 @@ export interface DiagnosticMetricSetOutput { // @public (undocumented) export interface DiagnosticsExecuteSiteAnalysis { - post(options?: DiagnosticsExecuteSiteAnalysisParameters): Promise; + post(options?: DiagnosticsExecuteSiteAnalysisParameters): StreamableMethod; } // @public @@ -5881,11 +5663,11 @@ export interface DiagnosticsExecuteSiteAnalysis200Response extends HttpResponse } // @public -export interface DiagnosticsExecuteSiteAnalysisdefaultResponse extends HttpResponse { +export interface DiagnosticsExecuteSiteAnalysisDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -5906,7 +5688,7 @@ export interface DiagnosticsExecuteSiteAnalysisQueryParamProperties { // @public (undocumented) export interface DiagnosticsExecuteSiteAnalysisSlot { - post(options?: DiagnosticsExecuteSiteAnalysisSlotParameters): Promise; + post(options?: DiagnosticsExecuteSiteAnalysisSlotParameters): StreamableMethod; } // @public @@ -5918,11 +5700,11 @@ export interface DiagnosticsExecuteSiteAnalysisSlot200Response extends HttpRespo } // @public -export interface DiagnosticsExecuteSiteAnalysisSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsExecuteSiteAnalysisSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -5943,7 +5725,7 @@ export interface DiagnosticsExecuteSiteAnalysisSlotQueryParamProperties { // @public (undocumented) export interface DiagnosticsExecuteSiteDetector { - post(options?: DiagnosticsExecuteSiteDetectorParameters): Promise; + post(options?: DiagnosticsExecuteSiteDetectorParameters): StreamableMethod; } // @public @@ -5955,11 +5737,11 @@ export interface DiagnosticsExecuteSiteDetector200Response extends HttpResponse } // @public -export interface DiagnosticsExecuteSiteDetectordefaultResponse extends HttpResponse { +export interface DiagnosticsExecuteSiteDetectorDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -5980,7 +5762,7 @@ export interface DiagnosticsExecuteSiteDetectorQueryParamProperties { // @public (undocumented) export interface DiagnosticsExecuteSiteDetectorSlot { - post(options?: DiagnosticsExecuteSiteDetectorSlotParameters): Promise; + post(options?: DiagnosticsExecuteSiteDetectorSlotParameters): StreamableMethod; } // @public @@ -5992,11 +5774,11 @@ export interface DiagnosticsExecuteSiteDetectorSlot200Response extends HttpRespo } // @public -export interface DiagnosticsExecuteSiteDetectorSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsExecuteSiteDetectorSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6017,7 +5799,7 @@ export interface DiagnosticsExecuteSiteDetectorSlotQueryParamProperties { // @public (undocumented) export interface DiagnosticsGetHostingEnvironmentDetectorResponse { - get(options?: DiagnosticsGetHostingEnvironmentDetectorResponseParameters): Promise; + get(options?: DiagnosticsGetHostingEnvironmentDetectorResponseParameters): StreamableMethod; } // @public @@ -6029,11 +5811,11 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponse200Response ext } // @public -export interface DiagnosticsGetHostingEnvironmentDetectorResponsedefaultResponse extends HttpResponse { +export interface DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6054,7 +5836,7 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponseQueryParamPrope // @public (undocumented) export interface DiagnosticsGetSiteAnalysis { - get(options?: DiagnosticsGetSiteAnalysisParameters): Promise; + get(options?: DiagnosticsGetSiteAnalysisParameters): StreamableMethod; } // @public @@ -6066,11 +5848,11 @@ export interface DiagnosticsGetSiteAnalysis200Response extends HttpResponse { } // @public -export interface DiagnosticsGetSiteAnalysisdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteAnalysisDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6078,7 +5860,7 @@ export type DiagnosticsGetSiteAnalysisParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteAnalysisSlot { - get(options?: DiagnosticsGetSiteAnalysisSlotParameters): Promise; + get(options?: DiagnosticsGetSiteAnalysisSlotParameters): StreamableMethod; } // @public @@ -6090,11 +5872,11 @@ export interface DiagnosticsGetSiteAnalysisSlot200Response extends HttpResponse } // @public -export interface DiagnosticsGetSiteAnalysisSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteAnalysisSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6102,7 +5884,7 @@ export type DiagnosticsGetSiteAnalysisSlotParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteDetector { - get(options?: DiagnosticsGetSiteDetectorParameters): Promise; + get(options?: DiagnosticsGetSiteDetectorParameters): StreamableMethod; } // @public @@ -6114,11 +5896,11 @@ export interface DiagnosticsGetSiteDetector200Response extends HttpResponse { } // @public -export interface DiagnosticsGetSiteDetectordefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDetectorDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6126,7 +5908,7 @@ export type DiagnosticsGetSiteDetectorParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteDetectorResponse { - get(options?: DiagnosticsGetSiteDetectorResponseParameters): Promise; + get(options?: DiagnosticsGetSiteDetectorResponseParameters): StreamableMethod; } // @public @@ -6138,11 +5920,11 @@ export interface DiagnosticsGetSiteDetectorResponse200Response extends HttpRespo } // @public -export interface DiagnosticsGetSiteDetectorResponsedefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDetectorResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6163,7 +5945,7 @@ export interface DiagnosticsGetSiteDetectorResponseQueryParamProperties { // @public (undocumented) export interface DiagnosticsGetSiteDetectorResponseSlot { - get(options?: DiagnosticsGetSiteDetectorResponseSlotParameters): Promise; + get(options?: DiagnosticsGetSiteDetectorResponseSlotParameters): StreamableMethod; } // @public @@ -6175,11 +5957,11 @@ export interface DiagnosticsGetSiteDetectorResponseSlot200Response extends HttpR } // @public -export interface DiagnosticsGetSiteDetectorResponseSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDetectorResponseSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6200,7 +5982,7 @@ export interface DiagnosticsGetSiteDetectorResponseSlotQueryParamProperties { // @public (undocumented) export interface DiagnosticsGetSiteDetectorSlot { - get(options?: DiagnosticsGetSiteDetectorSlotParameters): Promise; + get(options?: DiagnosticsGetSiteDetectorSlotParameters): StreamableMethod; } // @public @@ -6212,11 +5994,11 @@ export interface DiagnosticsGetSiteDetectorSlot200Response extends HttpResponse } // @public -export interface DiagnosticsGetSiteDetectorSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDetectorSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6224,7 +6006,7 @@ export type DiagnosticsGetSiteDetectorSlotParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteDiagnosticCategory { - get(options?: DiagnosticsGetSiteDiagnosticCategoryParameters): Promise; + get(options?: DiagnosticsGetSiteDiagnosticCategoryParameters): StreamableMethod; } // @public @@ -6236,11 +6018,11 @@ export interface DiagnosticsGetSiteDiagnosticCategory200Response extends HttpRes } // @public -export interface DiagnosticsGetSiteDiagnosticCategorydefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDiagnosticCategoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6248,7 +6030,7 @@ export type DiagnosticsGetSiteDiagnosticCategoryParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteDiagnosticCategorySlot { - get(options?: DiagnosticsGetSiteDiagnosticCategorySlotParameters): Promise; + get(options?: DiagnosticsGetSiteDiagnosticCategorySlotParameters): StreamableMethod; } // @public @@ -6260,11 +6042,11 @@ export interface DiagnosticsGetSiteDiagnosticCategorySlot200Response extends Htt } // @public -export interface DiagnosticsGetSiteDiagnosticCategorySlotdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6272,7 +6054,7 @@ export type DiagnosticsGetSiteDiagnosticCategorySlotParameters = RequestParamete // @public (undocumented) export interface DiagnosticsListHostingEnvironmentDetectorResponses { - get(options?: DiagnosticsListHostingEnvironmentDetectorResponsesParameters): Promise; + get(options?: DiagnosticsListHostingEnvironmentDetectorResponsesParameters): StreamableMethod; } // @public @@ -6284,11 +6066,11 @@ export interface DiagnosticsListHostingEnvironmentDetectorResponses200Response e } // @public -export interface DiagnosticsListHostingEnvironmentDetectorResponsesdefaultResponse extends HttpResponse { +export interface DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6296,7 +6078,7 @@ export type DiagnosticsListHostingEnvironmentDetectorResponsesParameters = Reque // @public (undocumented) export interface DiagnosticsListSiteAnalyses { - get(options?: DiagnosticsListSiteAnalysesParameters): Promise; + get(options?: DiagnosticsListSiteAnalysesParameters): StreamableMethod; } // @public @@ -6308,11 +6090,11 @@ export interface DiagnosticsListSiteAnalyses200Response extends HttpResponse { } // @public -export interface DiagnosticsListSiteAnalysesdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteAnalysesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6320,7 +6102,7 @@ export type DiagnosticsListSiteAnalysesParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteAnalysesSlot { - get(options?: DiagnosticsListSiteAnalysesSlotParameters): Promise; + get(options?: DiagnosticsListSiteAnalysesSlotParameters): StreamableMethod; } // @public @@ -6332,11 +6114,11 @@ export interface DiagnosticsListSiteAnalysesSlot200Response extends HttpResponse } // @public -export interface DiagnosticsListSiteAnalysesSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteAnalysesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6344,7 +6126,7 @@ export type DiagnosticsListSiteAnalysesSlotParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteDetectorResponses { - get(options?: DiagnosticsListSiteDetectorResponsesParameters): Promise; + get(options?: DiagnosticsListSiteDetectorResponsesParameters): StreamableMethod; } // @public @@ -6356,11 +6138,11 @@ export interface DiagnosticsListSiteDetectorResponses200Response extends HttpRes } // @public -export interface DiagnosticsListSiteDetectorResponsesdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDetectorResponsesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6368,7 +6150,7 @@ export type DiagnosticsListSiteDetectorResponsesParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteDetectorResponsesSlot { - get(options?: DiagnosticsListSiteDetectorResponsesSlotParameters): Promise; + get(options?: DiagnosticsListSiteDetectorResponsesSlotParameters): StreamableMethod; } // @public @@ -6380,11 +6162,11 @@ export interface DiagnosticsListSiteDetectorResponsesSlot200Response extends Htt } // @public -export interface DiagnosticsListSiteDetectorResponsesSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDetectorResponsesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6392,7 +6174,7 @@ export type DiagnosticsListSiteDetectorResponsesSlotParameters = RequestParamete // @public (undocumented) export interface DiagnosticsListSiteDetectors { - get(options?: DiagnosticsListSiteDetectorsParameters): Promise; + get(options?: DiagnosticsListSiteDetectorsParameters): StreamableMethod; } // @public @@ -6404,11 +6186,11 @@ export interface DiagnosticsListSiteDetectors200Response extends HttpResponse { } // @public -export interface DiagnosticsListSiteDetectorsdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDetectorsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6416,7 +6198,7 @@ export type DiagnosticsListSiteDetectorsParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteDetectorsSlot { - get(options?: DiagnosticsListSiteDetectorsSlotParameters): Promise; + get(options?: DiagnosticsListSiteDetectorsSlotParameters): StreamableMethod; } // @public @@ -6428,11 +6210,11 @@ export interface DiagnosticsListSiteDetectorsSlot200Response extends HttpRespons } // @public -export interface DiagnosticsListSiteDetectorsSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDetectorsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6440,7 +6222,7 @@ export type DiagnosticsListSiteDetectorsSlotParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteDiagnosticCategories { - get(options?: DiagnosticsListSiteDiagnosticCategoriesParameters): Promise; + get(options?: DiagnosticsListSiteDiagnosticCategoriesParameters): StreamableMethod; } // @public @@ -6452,11 +6234,11 @@ export interface DiagnosticsListSiteDiagnosticCategories200Response extends Http } // @public -export interface DiagnosticsListSiteDiagnosticCategoriesdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDiagnosticCategoriesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6464,7 +6246,7 @@ export type DiagnosticsListSiteDiagnosticCategoriesParameters = RequestParameter // @public (undocumented) export interface DiagnosticsListSiteDiagnosticCategoriesSlot { - get(options?: DiagnosticsListSiteDiagnosticCategoriesSlotParameters): Promise; + get(options?: DiagnosticsListSiteDiagnosticCategoriesSlotParameters): StreamableMethod; } // @public @@ -6476,17 +6258,17 @@ export interface DiagnosticsListSiteDiagnosticCategoriesSlot200Response extends } // @public -export interface DiagnosticsListSiteDiagnosticCategoriesSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DiagnosticsListSiteDiagnosticCategoriesSlotParameters = RequestParameters; -// @public (undocumented) +// @public export interface DimensionOutput { // (undocumented) displayName?: string; @@ -6498,73 +6280,73 @@ export interface DimensionOutput { toBeExportedForShoebox?: boolean; } -// @public (undocumented) +// @public export interface Domain extends Resource { properties?: DomainProperties; } -// @public (undocumented) +// @public export interface DomainAvailabilityCheckResultOutput { available?: boolean; domainType?: "Regular" | "SoftDeleted"; name?: string; } -// @public (undocumented) +// @public export interface DomainCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DomainControlCenterSsoRequestOutput { - postParameterKey?: string; - postParameterValue?: string; - url?: string; + readonly postParameterKey?: string; + readonly postParameterValue?: string; + readonly url?: string; } -// @public (undocumented) +// @public export interface DomainOutput extends ResourceOutput { properties?: DomainPropertiesOutput; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifier extends ProxyOnlyResource { properties?: DomainOwnershipIdentifierProperties; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifierCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifierOutput extends ProxyOnlyResourceOutput { properties?: DomainOwnershipIdentifierPropertiesOutput; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifierProperties { ownershipId?: string; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifierPropertiesOutput { ownershipId?: string; } -// @public (undocumented) +// @public export interface DomainPatchResource extends ProxyOnlyResource { properties?: DomainPatchResourceProperties; } -// @public (undocumented) +// @public export interface DomainPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: DomainPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface DomainPatchResourceProperties { // (undocumented) authCode?: string; @@ -6574,22 +6356,13 @@ export interface DomainPatchResourceProperties { contactBilling: Contact; contactRegistrant: Contact; contactTech: Contact; - createdTime?: Date | string; dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; dnsZoneId?: string; - domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; - expirationTime?: Date | string; - lastRenewedTime?: Date | string; - managedHostNames?: Array; - nameServers?: Array; privacy?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - readyForDnsRecordManagement?: boolean; - registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; targetDnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; } -// @public (undocumented) +// @public export interface DomainPatchResourcePropertiesOutput { // (undocumented) authCode?: string; @@ -6599,22 +6372,22 @@ export interface DomainPatchResourcePropertiesOutput { contactBilling: ContactOutput; contactRegistrant: ContactOutput; contactTech: ContactOutput; - createdTime?: string; + readonly createdTime?: string; dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; dnsZoneId?: string; - domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; - expirationTime?: string; - lastRenewedTime?: string; - managedHostNames?: Array; - nameServers?: Array; + readonly domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; + readonly expirationTime?: string; + readonly lastRenewedTime?: string; + readonly managedHostNames?: Array; + readonly nameServers?: Array; privacy?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - readyForDnsRecordManagement?: boolean; - registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly readyForDnsRecordManagement?: boolean; + readonly registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; targetDnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; } -// @public (undocumented) +// @public export interface DomainProperties { // (undocumented) authCode?: string; @@ -6624,22 +6397,13 @@ export interface DomainProperties { contactBilling: Contact; contactRegistrant: Contact; contactTech: Contact; - createdTime?: Date | string; dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; dnsZoneId?: string; - domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; - expirationTime?: Date | string; - lastRenewedTime?: Date | string; - managedHostNames?: Array; - nameServers?: Array; privacy?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - readyForDnsRecordManagement?: boolean; - registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; targetDnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; } -// @public (undocumented) +// @public export interface DomainPropertiesOutput { // (undocumented) authCode?: string; @@ -6649,36 +6413,36 @@ export interface DomainPropertiesOutput { contactBilling: ContactOutput; contactRegistrant: ContactOutput; contactTech: ContactOutput; - createdTime?: string; + readonly createdTime?: string; dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; dnsZoneId?: string; - domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; - expirationTime?: string; - lastRenewedTime?: string; - managedHostNames?: Array; - nameServers?: Array; + readonly domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; + readonly expirationTime?: string; + readonly lastRenewedTime?: string; + readonly managedHostNames?: Array; + readonly nameServers?: Array; privacy?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - readyForDnsRecordManagement?: boolean; - registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly readyForDnsRecordManagement?: boolean; + readonly registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; targetDnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; } -// @public (undocumented) +// @public export interface DomainPurchaseConsent { agreedAt?: Date | string; agreedBy?: string; agreementKeys?: Array; } -// @public (undocumented) +// @public export interface DomainPurchaseConsentOutput { agreedAt?: string; agreedBy?: string; agreementKeys?: Array; } -// @public (undocumented) +// @public export interface DomainRecommendationSearchParameters { keywords?: string; maxDomainRecommendations?: number; @@ -6686,7 +6450,7 @@ export interface DomainRecommendationSearchParameters { // @public (undocumented) export interface DomainRegistrationProviderListOperations { - get(options?: DomainRegistrationProviderListOperationsParameters): Promise; + get(options?: DomainRegistrationProviderListOperationsParameters): StreamableMethod; } // @public @@ -6698,11 +6462,11 @@ export interface DomainRegistrationProviderListOperations200Response extends Htt } // @public -export interface DomainRegistrationProviderListOperationsdefaultResponse extends HttpResponse { +export interface DomainRegistrationProviderListOperationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6710,7 +6474,7 @@ export type DomainRegistrationProviderListOperationsParameters = RequestParamete // @public (undocumented) export interface DomainsCheckAvailability { - post(options: DomainsCheckAvailabilityParameters): Promise; + post(options: DomainsCheckAvailabilityParameters): StreamableMethod; } // @public @@ -6727,11 +6491,11 @@ export interface DomainsCheckAvailabilityBodyParam { } // @public -export interface DomainsCheckAvailabilitydefaultResponse extends HttpResponse { +export interface DomainsCheckAvailabilityDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6764,11 +6528,11 @@ export interface DomainsCreateOrUpdateBodyParam { } // @public -export interface DomainsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface DomainsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6790,11 +6554,11 @@ export interface DomainsCreateOrUpdateOwnershipIdentifierBodyParam { } // @public -export interface DomainsCreateOrUpdateOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6810,50 +6574,42 @@ export type DomainsCreateOrUpdateParameters = DomainsCreateOrUpdateMediaTypesPar // @public export interface DomainsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DomainsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface DomainsDeletedefaultResponse extends HttpResponse { +export interface DomainsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public export interface DomainsDeleteOwnershipIdentifier200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DomainsDeleteOwnershipIdentifier204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface DomainsDeleteOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface DomainsDeleteOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6875,10 +6631,10 @@ export interface DomainsDeleteQueryParamProperties { // @public (undocumented) export interface DomainsGet { - delete(options?: DomainsDeleteParameters): Promise; - get(options?: DomainsGetParameters): Promise; - patch(options: DomainsUpdateParameters): Promise; - put(options: DomainsCreateOrUpdateParameters): Promise; + delete(options?: DomainsDeleteParameters): StreamableMethod; + get(options?: DomainsGetParameters): StreamableMethod; + patch(options: DomainsUpdateParameters): StreamableMethod; + put(options: DomainsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -6891,7 +6647,7 @@ export interface DomainsGet200Response extends HttpResponse { // @public (undocumented) export interface DomainsGetControlCenterSsoRequest { - post(options?: DomainsGetControlCenterSsoRequestParameters): Promise; + post(options?: DomainsGetControlCenterSsoRequestParameters): StreamableMethod; } // @public @@ -6903,30 +6659,30 @@ export interface DomainsGetControlCenterSsoRequest200Response extends HttpRespon } // @public -export interface DomainsGetControlCenterSsoRequestdefaultResponse extends HttpResponse { +export interface DomainsGetControlCenterSsoRequestDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DomainsGetControlCenterSsoRequestParameters = RequestParameters; // @public -export interface DomainsGetdefaultResponse extends HttpResponse { +export interface DomainsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface DomainsGetOwnershipIdentifier { - delete(options?: DomainsDeleteOwnershipIdentifierParameters): Promise; - get(options?: DomainsGetOwnershipIdentifierParameters): Promise; - patch(options: DomainsUpdateOwnershipIdentifierParameters): Promise; - put(options: DomainsCreateOrUpdateOwnershipIdentifierParameters): Promise; + delete(options?: DomainsDeleteOwnershipIdentifierParameters): StreamableMethod; + get(options?: DomainsGetOwnershipIdentifierParameters): StreamableMethod; + patch(options: DomainsUpdateOwnershipIdentifierParameters): StreamableMethod; + put(options: DomainsCreateOrUpdateOwnershipIdentifierParameters): StreamableMethod; } // @public @@ -6938,11 +6694,11 @@ export interface DomainsGetOwnershipIdentifier200Response extends HttpResponse { } // @public -export interface DomainsGetOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface DomainsGetOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6953,7 +6709,7 @@ export type DomainsGetParameters = RequestParameters; // @public (undocumented) export interface DomainsList { - get(options?: DomainsListParameters): Promise; + get(options?: DomainsListParameters): StreamableMethod; } // @public @@ -6966,7 +6722,7 @@ export interface DomainsList200Response extends HttpResponse { // @public (undocumented) export interface DomainsListByResourceGroup { - get(options?: DomainsListByResourceGroupParameters): Promise; + get(options?: DomainsListByResourceGroupParameters): StreamableMethod; } // @public @@ -6978,27 +6734,27 @@ export interface DomainsListByResourceGroup200Response extends HttpResponse { } // @public -export interface DomainsListByResourceGroupdefaultResponse extends HttpResponse { +export interface DomainsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DomainsListByResourceGroupParameters = RequestParameters; // @public -export interface DomainsListdefaultResponse extends HttpResponse { +export interface DomainsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface DomainsListOwnershipIdentifiers { - get(options?: DomainsListOwnershipIdentifiersParameters): Promise; + get(options?: DomainsListOwnershipIdentifiersParameters): StreamableMethod; } // @public @@ -7010,11 +6766,11 @@ export interface DomainsListOwnershipIdentifiers200Response extends HttpResponse } // @public -export interface DomainsListOwnershipIdentifiersdefaultResponse extends HttpResponse { +export interface DomainsListOwnershipIdentifiersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7025,7 +6781,7 @@ export type DomainsListParameters = RequestParameters; // @public (undocumented) export interface DomainsListRecommendations { - post(options: DomainsListRecommendationsParameters): Promise; + post(options: DomainsListRecommendationsParameters): StreamableMethod; } // @public @@ -7042,11 +6798,11 @@ export interface DomainsListRecommendationsBodyParam { } // @public -export interface DomainsListRecommendationsdefaultResponse extends HttpResponse { +export interface DomainsListRecommendationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7059,39 +6815,33 @@ export type DomainsListRecommendationsParameters = DomainsListRecommendationsMed // @public (undocumented) export interface DomainsRenew { - post(options?: DomainsRenewParameters): Promise; + post(options?: DomainsRenewParameters): StreamableMethod; } // @public export interface DomainsRenew200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DomainsRenew202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DomainsRenew204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface DomainsRenewdefaultResponse extends HttpResponse { +export interface DomainsRenewDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7099,7 +6849,7 @@ export type DomainsRenewParameters = RequestParameters; // @public (undocumented) export interface DomainsTransferOut { - put(options?: DomainsTransferOutParameters): Promise; + put(options?: DomainsTransferOutParameters): StreamableMethod; } // @public @@ -7112,18 +6862,16 @@ export interface DomainsTransferOut200Response extends HttpResponse { // @public export interface DomainsTransferOut400Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "400"; } // @public -export interface DomainsTransferOutdefaultResponse extends HttpResponse { +export interface DomainsTransferOutDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7151,11 +6899,11 @@ export interface DomainsUpdateBodyParam { } // @public -export interface DomainsUpdatedefaultResponse extends HttpResponse { +export interface DomainsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7177,11 +6925,11 @@ export interface DomainsUpdateOwnershipIdentifierBodyParam { } // @public -export interface DomainsUpdateOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface DomainsUpdateOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7195,23 +6943,23 @@ export type DomainsUpdateOwnershipIdentifierParameters = DomainsUpdateOwnershipI // @public (undocumented) export type DomainsUpdateParameters = DomainsUpdateMediaTypesParam & DomainsUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface EnabledConfig { enabled?: boolean; } -// @public (undocumented) +// @public export interface EnabledConfigOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface EndpointDependencyOutput { domainName?: string; endpointDetails?: Array; } -// @public (undocumented) +// @public export interface EndpointDetailOutput { ipAddress?: string; isAccessible?: boolean; @@ -7219,21 +6967,21 @@ export interface EndpointDetailOutput { port?: number; } -// @public (undocumented) +// @public export interface EnvironmentVar { name?: string; secretRef?: string; value?: string; } -// @public (undocumented) +// @public export interface EnvironmentVarOutput { name?: string; secretRef?: string; value?: string; } -// @public (undocumented) +// @public export interface ErrorEntity { code?: string; details?: Array; @@ -7245,7 +6993,7 @@ export interface ErrorEntity { target?: string; } -// @public (undocumented) +// @public export interface ErrorEntityOutput { code?: string; details?: Array; @@ -7257,29 +7005,28 @@ export interface ErrorEntityOutput { target?: string; } -// @public (undocumented) +// @public export interface Experiments { rampUpRules?: Array; } -// @public (undocumented) +// @public export interface ExperimentsOutput { rampUpRules?: Array; } -// @public (undocumented) +// @public export interface ExtendedLocation { name?: string; - type?: string; } -// @public (undocumented) +// @public export interface ExtendedLocationOutput { name?: string; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface Facebook { enabled?: boolean; graphApiVersion?: string; @@ -7287,7 +7034,7 @@ export interface Facebook { registration?: AppRegistration; } -// @public (undocumented) +// @public export interface FacebookOutput { enabled?: boolean; graphApiVersion?: string; @@ -7295,48 +7042,48 @@ export interface FacebookOutput { registration?: AppRegistrationOutput; } -// @public (undocumented) +// @public export interface FileSystemApplicationLogsConfig { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; } -// @public (undocumented) +// @public export interface FileSystemApplicationLogsConfigOutput { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; } -// @public (undocumented) +// @public export interface FileSystemHttpLogsConfig { enabled?: boolean; retentionInDays?: number; retentionInMb?: number; } -// @public (undocumented) +// @public export interface FileSystemHttpLogsConfigOutput { enabled?: boolean; retentionInDays?: number; retentionInMb?: number; } -// @public (undocumented) +// @public export interface FileSystemTokenStore { directory?: string; } -// @public (undocumented) +// @public export interface FileSystemTokenStoreOutput { directory?: string; } -// @public (undocumented) +// @public export interface ForwardProxy { convention?: "NoProxy" | "Standard" | "Custom"; customHostHeaderName?: string; customProtoHeaderName?: string; } -// @public (undocumented) +// @public export interface ForwardProxyOutput { convention?: "NoProxy" | "Standard" | "Custom"; customHostHeaderName?: string; @@ -7355,133 +7102,106 @@ export interface FrontEndConfigurationOutput { kind?: "NodePort" | "LoadBalancer"; } -// @public (undocumented) +// @public export interface FunctionAppMajorVersion { - displayText?: string; - minorVersions?: Array; - value?: string; } -// @public (undocumented) +// @public export interface FunctionAppMajorVersionOutput { - displayText?: string; - minorVersions?: Array; - value?: string; + readonly displayText?: string; + readonly minorVersions?: Array; + readonly value?: string; } -// @public (undocumented) +// @public export interface FunctionAppMinorVersion { - displayText?: string; - stackSettings?: FunctionAppRuntimes; - value?: string; } -// @public (undocumented) +// @public export interface FunctionAppMinorVersionOutput { - displayText?: string; - stackSettings?: FunctionAppRuntimesOutput; - value?: string; + readonly displayText?: string; + readonly stackSettings?: FunctionAppRuntimesOutput; + readonly value?: string; } -// @public (undocumented) +// @public export interface FunctionAppRuntimes { - linuxRuntimeSettings?: FunctionAppRuntimeSettings; - windowsRuntimeSettings?: FunctionAppRuntimeSettings; } -// @public (undocumented) +// @public export interface FunctionAppRuntimeSettings { - appInsightsSettings?: AppInsightsWebAppStackSettings; - appSettingsDictionary?: Record; - endOfLifeDate?: Date | string; - gitHubActionSettings?: GitHubActionWebAppStackSettings; - isAutoUpdate?: boolean; - isDefault?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - remoteDebuggingSupported?: boolean; - runtimeVersion?: string; - siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; - supportedFunctionsExtensionVersions?: Array; } -// @public (undocumented) +// @public export interface FunctionAppRuntimeSettingsOutput { - appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; - appSettingsDictionary?: Record; - endOfLifeDate?: string; - gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; - isAutoUpdate?: boolean; - isDefault?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - remoteDebuggingSupported?: boolean; - runtimeVersion?: string; - siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionaryOutput; - supportedFunctionsExtensionVersions?: Array; + readonly appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; + readonly appSettingsDictionary?: Record; + readonly endOfLifeDate?: string; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; + readonly isAutoUpdate?: boolean; + readonly isDefault?: boolean; + readonly isDeprecated?: boolean; + readonly isEarlyAccess?: boolean; + readonly isHidden?: boolean; + readonly isPreview?: boolean; + readonly remoteDebuggingSupported?: boolean; + readonly runtimeVersion?: string; + readonly siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionaryOutput; + readonly supportedFunctionsExtensionVersions?: Array; } -// @public (undocumented) +// @public export interface FunctionAppRuntimesOutput { - linuxRuntimeSettings?: FunctionAppRuntimeSettingsOutput; - windowsRuntimeSettings?: FunctionAppRuntimeSettingsOutput; + readonly linuxRuntimeSettings?: FunctionAppRuntimeSettingsOutput; + readonly windowsRuntimeSettings?: FunctionAppRuntimeSettingsOutput; } -// @public (undocumented) +// @public export interface FunctionAppStack extends ProxyOnlyResource { - location?: string; properties?: FunctionAppStackProperties; } -// @public (undocumented) +// @public export interface FunctionAppStackCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface FunctionAppStackOutput extends ProxyOnlyResourceOutput { - location?: string; + readonly location?: string; properties?: FunctionAppStackPropertiesOutput; } -// @public (undocumented) +// @public export interface FunctionAppStackProperties { - displayText?: string; - majorVersions?: Array; - preferredOs?: "Windows" | "Linux"; - value?: string; } -// @public (undocumented) +// @public export interface FunctionAppStackPropertiesOutput { - displayText?: string; - majorVersions?: Array; - preferredOs?: "Windows" | "Linux"; - value?: string; + readonly displayText?: string; + readonly majorVersions?: Array; + readonly preferredOs?: "Windows" | "Linux"; + readonly value?: string; } -// @public (undocumented) +// @public export interface FunctionEnvelope extends ProxyOnlyResource { properties?: FunctionEnvelopeProperties; } -// @public (undocumented) +// @public export interface FunctionEnvelopeCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface FunctionEnvelopeOutput extends ProxyOnlyResourceOutput { properties?: FunctionEnvelopePropertiesOutput; } -// @public (undocumented) +// @public export interface FunctionEnvelopeProperties { config?: Record; config_href?: string; @@ -7498,7 +7218,7 @@ export interface FunctionEnvelopeProperties { test_data_href?: string; } -// @public (undocumented) +// @public export interface FunctionEnvelopePropertiesOutput { config?: Record; config_href?: string; @@ -7515,58 +7235,55 @@ export interface FunctionEnvelopePropertiesOutput { test_data_href?: string; } -// @public (undocumented) +// @public export interface FunctionSecretsOutput { key?: string; trigger_url?: string; } -// @public (undocumented) +// @public export interface GeoRegion extends ProxyOnlyResource { properties?: GeoRegionProperties; } -// @public (undocumented) +// @public export interface GeoRegionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface GeoRegionOutput extends ProxyOnlyResourceOutput { properties?: GeoRegionPropertiesOutput; } -// @public (undocumented) +// @public export interface GeoRegionProperties { - description?: string; - displayName?: string; - orgDomain?: string; } -// @public (undocumented) +// @public export interface GeoRegionPropertiesOutput { - description?: string; - displayName?: string; - orgDomain?: string; + readonly description?: string; + readonly displayName?: string; + readonly orgDomain?: string; } // @public export type GetArrayType = T extends Array ? TData : never; // @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; +export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public -export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; // @public (undocumented) export interface GetPublishingUser { - get(options?: GetPublishingUserParameters): Promise; - put(options: UpdatePublishingUserParameters): Promise; + get(options?: GetPublishingUserParameters): StreamableMethod; + put(options: UpdatePublishingUserParameters): StreamableMethod; } // @public @@ -7578,11 +7295,11 @@ export interface GetPublishingUser200Response extends HttpResponse { } // @public -export interface GetPublishingUserdefaultResponse extends HttpResponse { +export interface GetPublishingUserDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7590,8 +7307,8 @@ export type GetPublishingUserParameters = RequestParameters; // @public (undocumented) export interface GetSourceControl { - get(options?: GetSourceControlParameters): Promise; - put(options: UpdateSourceControlParameters): Promise; + get(options?: GetSourceControlParameters): StreamableMethod; + put(options: UpdateSourceControlParameters): StreamableMethod; } // @public @@ -7603,11 +7320,11 @@ export interface GetSourceControl200Response extends HttpResponse { } // @public -export interface GetSourceControldefaultResponse extends HttpResponse { +export interface GetSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7615,7 +7332,7 @@ export type GetSourceControlParameters = RequestParameters; // @public (undocumented) export interface GetSubscriptionDeploymentLocations { - get(options?: GetSubscriptionDeploymentLocationsParameters): Promise; + get(options?: GetSubscriptionDeploymentLocationsParameters): StreamableMethod; } // @public @@ -7627,36 +7344,36 @@ export interface GetSubscriptionDeploymentLocations200Response extends HttpRespo } // @public -export interface GetSubscriptionDeploymentLocationsdefaultResponse extends HttpResponse { +export interface GetSubscriptionDeploymentLocationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type GetSubscriptionDeploymentLocationsParameters = RequestParameters; -// @public (undocumented) +// @public export interface GitHub { enabled?: boolean; login?: LoginScopes; registration?: ClientRegistration; } -// @public (undocumented) +// @public export interface GitHubActionCodeConfiguration { runtimeStack?: string; runtimeVersion?: string; } -// @public (undocumented) +// @public export interface GitHubActionCodeConfigurationOutput { runtimeStack?: string; runtimeVersion?: string; } -// @public (undocumented) +// @public export interface GitHubActionConfiguration { codeConfiguration?: GitHubActionCodeConfiguration; containerConfiguration?: GitHubActionContainerConfiguration; @@ -7664,7 +7381,7 @@ export interface GitHubActionConfiguration { isLinux?: boolean; } -// @public (undocumented) +// @public export interface GitHubActionConfigurationOutput { codeConfiguration?: GitHubActionCodeConfigurationOutput; containerConfiguration?: GitHubActionContainerConfigurationOutput; @@ -7672,7 +7389,7 @@ export interface GitHubActionConfigurationOutput { isLinux?: boolean; } -// @public (undocumented) +// @public export interface GitHubActionContainerConfiguration { imageName?: string; password?: string; @@ -7680,7 +7397,7 @@ export interface GitHubActionContainerConfiguration { username?: string; } -// @public (undocumented) +// @public export interface GitHubActionContainerConfigurationOutput { imageName?: string; password?: string; @@ -7688,26 +7405,24 @@ export interface GitHubActionContainerConfigurationOutput { username?: string; } -// @public (undocumented) +// @public export interface GitHubActionWebAppStackSettings { - isSupported?: boolean; - supportedVersion?: string; } -// @public (undocumented) +// @public export interface GitHubActionWebAppStackSettingsOutput { - isSupported?: boolean; - supportedVersion?: string; + readonly isSupported?: boolean; + readonly supportedVersion?: string; } -// @public (undocumented) +// @public export interface GitHubOutput { enabled?: boolean; login?: LoginScopesOutput; registration?: ClientRegistrationOutput; } -// @public (undocumented) +// @public export interface GlobalCsmSkuDescriptionOutput { capabilities?: Array; capacity?: SkuCapacityOutput; @@ -7720,7 +7435,7 @@ export interface GlobalCsmSkuDescriptionOutput { // @public (undocumented) export interface GlobalGetDeletedWebApp { - get(options?: GlobalGetDeletedWebAppParameters): Promise; + get(options?: GlobalGetDeletedWebAppParameters): StreamableMethod; } // @public @@ -7732,11 +7447,11 @@ export interface GlobalGetDeletedWebApp200Response extends HttpResponse { } // @public -export interface GlobalGetDeletedWebAppdefaultResponse extends HttpResponse { +export interface GlobalGetDeletedWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7744,7 +7459,7 @@ export type GlobalGetDeletedWebAppParameters = RequestParameters; // @public (undocumented) export interface GlobalGetDeletedWebAppSnapshots { - get(options?: GlobalGetDeletedWebAppSnapshotsParameters): Promise; + get(options?: GlobalGetDeletedWebAppSnapshotsParameters): StreamableMethod; } // @public @@ -7756,11 +7471,11 @@ export interface GlobalGetDeletedWebAppSnapshots200Response extends HttpResponse } // @public -export interface GlobalGetDeletedWebAppSnapshotsdefaultResponse extends HttpResponse { +export interface GlobalGetDeletedWebAppSnapshotsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7768,29 +7483,27 @@ export type GlobalGetDeletedWebAppSnapshotsParameters = RequestParameters; // @public (undocumented) export interface GlobalGetSubscriptionOperationWithAsyncResponse { - get(options?: GlobalGetSubscriptionOperationWithAsyncResponseParameters): Promise; + get(options?: GlobalGetSubscriptionOperationWithAsyncResponseParameters): StreamableMethod; } // @public export interface GlobalGetSubscriptionOperationWithAsyncResponse204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface GlobalGetSubscriptionOperationWithAsyncResponsedefaultResponse extends HttpResponse { +export interface GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type GlobalGetSubscriptionOperationWithAsyncResponseParameters = RequestParameters; -// @public (undocumented) +// @public export interface GlobalValidation { excludedPaths?: Array; redirectToProvider?: string; @@ -7798,7 +7511,7 @@ export interface GlobalValidation { unauthenticatedClientAction?: "RedirectToLoginPage" | "AllowAnonymous" | "Return401" | "Return403"; } -// @public (undocumented) +// @public export interface GlobalValidationOutput { excludedPaths?: Array; redirectToProvider?: string; @@ -7806,7 +7519,7 @@ export interface GlobalValidationOutput { unauthenticatedClientAction?: "RedirectToLoginPage" | "AllowAnonymous" | "Return401" | "Return403"; } -// @public (undocumented) +// @public export interface Google { enabled?: boolean; login?: LoginScopes; @@ -7814,7 +7527,7 @@ export interface Google { validation?: AllowedAudiencesValidation; } -// @public (undocumented) +// @public export interface GoogleOutput { enabled?: boolean; login?: LoginScopesOutput; @@ -7822,54 +7535,52 @@ export interface GoogleOutput { validation?: AllowedAudiencesValidationOutput; } -// @public (undocumented) +// @public export interface HandlerMapping { arguments?: string; extension?: string; scriptProcessor?: string; } -// @public (undocumented) +// @public export interface HandlerMappingOutput { arguments?: string; extension?: string; scriptProcessor?: string; } -// @public (undocumented) +// @public export interface HostingEnvironmentDeploymentInfoOutput { location?: string; name?: string; } -// @public (undocumented) +// @public export interface HostingEnvironmentDiagnosticsOutput { diagnosticsOutput?: string; name?: string; } -// @public (undocumented) +// @public export interface HostingEnvironmentProfile { id?: string; - name?: string; - type?: string; } -// @public (undocumented) +// @public export interface HostingEnvironmentProfileOutput { id?: string; - name?: string; - type?: string; + readonly name?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface HostKeysOutput { functionKeys?: Record; masterKey?: string; systemKeys?: Record; } -// @public (undocumented) +// @public export interface HostName { azureResourceName?: string; azureResourceType?: "Website" | "TrafficManager"; @@ -7879,23 +7590,23 @@ export interface HostName { siteNames?: Array; } -// @public (undocumented) +// @public export interface HostNameBinding extends ProxyOnlyResource { properties?: HostNameBindingProperties; } -// @public (undocumented) +// @public export interface HostNameBindingCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface HostNameBindingOutput extends ProxyOnlyResourceOutput { properties?: HostNameBindingPropertiesOutput; } -// @public (undocumented) +// @public export interface HostNameBindingProperties { azureResourceName?: string; azureResourceType?: "Website" | "TrafficManager"; @@ -7905,10 +7616,9 @@ export interface HostNameBindingProperties { siteName?: string; sslState?: "Disabled" | "SniEnabled" | "IpBasedEnabled"; thumbprint?: string; - virtualIP?: string; } -// @public (undocumented) +// @public export interface HostNameBindingPropertiesOutput { azureResourceName?: string; azureResourceType?: "Website" | "TrafficManager"; @@ -7918,10 +7628,10 @@ export interface HostNameBindingPropertiesOutput { siteName?: string; sslState?: "Disabled" | "SniEnabled" | "IpBasedEnabled"; thumbprint?: string; - virtualIP?: string; + readonly virtualIP?: string; } -// @public (undocumented) +// @public export interface HostNameOutput { azureResourceName?: string; azureResourceType?: "Website" | "TrafficManager"; @@ -7931,7 +7641,7 @@ export interface HostNameOutput { siteNames?: Array; } -// @public (undocumented) +// @public export interface HostNameSslState { hostType?: "Standard" | "Repository"; name?: string; @@ -7941,7 +7651,7 @@ export interface HostNameSslState { virtualIP?: string; } -// @public (undocumented) +// @public export interface HostNameSslStateOutput { hostType?: "Standard" | "Repository"; name?: string; @@ -7951,115 +7661,111 @@ export interface HostNameSslStateOutput { virtualIP?: string; } -// @public (undocumented) +// @public export interface HttpLogsConfig { azureBlobStorage?: AzureBlobStorageHttpLogsConfig; fileSystem?: FileSystemHttpLogsConfig; } -// @public (undocumented) +// @public export interface HttpLogsConfigOutput { azureBlobStorage?: AzureBlobStorageHttpLogsConfigOutput; fileSystem?: FileSystemHttpLogsConfigOutput; } -// @public (undocumented) +// @public export interface HttpScaleRule { auth?: Array; metadata?: Record; } -// @public (undocumented) +// @public export interface HttpScaleRuleOutput { auth?: Array; metadata?: Record; } -// @public (undocumented) +// @public export interface HttpSettings { forwardProxy?: ForwardProxy; requireHttps?: boolean; routes?: HttpSettingsRoutes; } -// @public (undocumented) +// @public export interface HttpSettingsOutput { forwardProxy?: ForwardProxyOutput; requireHttps?: boolean; routes?: HttpSettingsRoutesOutput; } -// @public (undocumented) +// @public export interface HttpSettingsRoutes { apiPrefix?: string; } -// @public (undocumented) +// @public export interface HttpSettingsRoutesOutput { apiPrefix?: string; } -// @public (undocumented) +// @public export interface HybridConnection extends ProxyOnlyResource { properties?: HybridConnectionProperties; } -// @public (undocumented) +// @public export interface HybridConnectionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface HybridConnectionKey extends ProxyOnlyResource { properties?: HybridConnectionKeyProperties; } -// @public (undocumented) +// @public export interface HybridConnectionKeyOutput extends ProxyOnlyResourceOutput { properties?: HybridConnectionKeyPropertiesOutput; } -// @public (undocumented) +// @public export interface HybridConnectionKeyProperties { - sendKeyName?: string; - sendKeyValue?: string; } -// @public (undocumented) +// @public export interface HybridConnectionKeyPropertiesOutput { - sendKeyName?: string; - sendKeyValue?: string; + readonly sendKeyName?: string; + readonly sendKeyValue?: string; } -// @public (undocumented) +// @public export interface HybridConnectionLimits extends ProxyOnlyResource { properties?: HybridConnectionLimitsProperties; } -// @public (undocumented) +// @public export interface HybridConnectionLimitsOutput extends ProxyOnlyResourceOutput { properties?: HybridConnectionLimitsPropertiesOutput; } -// @public (undocumented) +// @public export interface HybridConnectionLimitsProperties { - current?: number; - maximum?: number; } -// @public (undocumented) +// @public export interface HybridConnectionLimitsPropertiesOutput { - current?: number; - maximum?: number; + readonly current?: number; + readonly maximum?: number; } -// @public (undocumented) +// @public export interface HybridConnectionOutput extends ProxyOnlyResourceOutput { properties?: HybridConnectionPropertiesOutput; } -// @public (undocumented) +// @public export interface HybridConnectionProperties { hostname?: string; port?: number; @@ -8071,7 +7777,7 @@ export interface HybridConnectionProperties { serviceBusSuffix?: string; } -// @public (undocumented) +// @public export interface HybridConnectionPropertiesOutput { hostname?: string; port?: number; @@ -8083,142 +7789,2097 @@ export interface HybridConnectionPropertiesOutput { serviceBusSuffix?: string; } -// @public (undocumented) +// @public export interface Identifier extends ProxyOnlyResource { properties?: IdentifierProperties; } -// @public (undocumented) +// @public export interface IdentifierCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface IdentifierOutput extends ProxyOnlyResourceOutput { properties?: IdentifierPropertiesOutput; } -// @public (undocumented) +// @public export interface IdentifierProperties { id?: string; } -// @public (undocumented) +// @public export interface IdentifierPropertiesOutput { id?: string; } +// @public +export interface IdentityProviders { + apple?: Apple; + azureActiveDirectory?: AzureActiveDirectory; + azureStaticWebApps?: AzureStaticWebApps; + customOpenIdConnectProviders?: Record; + facebook?: Facebook; + gitHub?: GitHub; + google?: Google; + legacyMicrosoftAccount?: LegacyMicrosoftAccount; + twitter?: Twitter; +} + +// @public +export interface IdentityProvidersOutput { + apple?: AppleOutput; + azureActiveDirectory?: AzureActiveDirectoryOutput; + azureStaticWebApps?: AzureStaticWebAppsOutput; + customOpenIdConnectProviders?: Record; + facebook?: FacebookOutput; + gitHub?: GitHubOutput; + google?: GoogleOutput; + legacyMicrosoftAccount?: LegacyMicrosoftAccountOutput; + twitter?: TwitterOutput; +} + +// @public +export interface InboundEnvironmentEndpointCollectionOutput { + readonly nextLink?: string; + value: Array; +} + +// @public +export interface InboundEnvironmentEndpointOutput { + description?: string; + endpoints?: Array; + ports?: Array; +} + +// @public +export interface Ingress { + allowInsecure?: boolean; + external?: boolean; + targetPort?: number; + // (undocumented) + traffic?: Array; + transport?: "auto" | "http" | "http2"; +} + +// @public +export interface IngressOutput { + allowInsecure?: boolean; + external?: boolean; + readonly fqdn?: string; + targetPort?: number; + // (undocumented) + traffic?: Array; + transport?: "auto" | "http" | "http2"; +} + +// @public +export interface IpSecurityRestriction { + action?: string; + description?: string; + headers?: Record>; + ipAddress?: string; + name?: string; + priority?: number; + subnetMask?: string; + subnetTrafficTag?: number; + tag?: "Default" | "XffProxy" | "ServiceTag"; + vnetSubnetResourceId?: string; + vnetTrafficTag?: number; +} + +// @public +export interface IpSecurityRestrictionOutput { + action?: string; + description?: string; + headers?: Record>; + ipAddress?: string; + name?: string; + priority?: number; + subnetMask?: string; + subnetTrafficTag?: number; + tag?: "Default" | "XffProxy" | "ServiceTag"; + vnetSubnetResourceId?: string; + vnetTrafficTag?: number; +} + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersList200Response | AppServiceCertificateOrdersListDefaultResponse): response is AppServiceCertificateOrdersListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersValidatePurchaseInformation204Response | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse): response is AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersListByResourceGroup200Response | AppServiceCertificateOrdersListByResourceGroupDefaultResponse): response is AppServiceCertificateOrdersListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersGet200Response | AppServiceCertificateOrdersGetDefaultResponse): response is AppServiceCertificateOrdersGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersCreateOrUpdate200Response | AppServiceCertificateOrdersCreateOrUpdate201Response | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse): response is AppServiceCertificateOrdersCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersDelete200Response | AppServiceCertificateOrdersDelete204Response | AppServiceCertificateOrdersDeleteDefaultResponse): response is AppServiceCertificateOrdersDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersUpdate200Response | AppServiceCertificateOrdersUpdateDefaultResponse): response is AppServiceCertificateOrdersUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersListCertificates200Response | AppServiceCertificateOrdersListCertificatesDefaultResponse): response is AppServiceCertificateOrdersListCertificatesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersGetCertificate200Response | AppServiceCertificateOrdersGetCertificateDefaultResponse): response is AppServiceCertificateOrdersGetCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersCreateOrUpdateCertificate200Response | AppServiceCertificateOrdersCreateOrUpdateCertificate201Response | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse): response is AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersDeleteCertificate200Response | AppServiceCertificateOrdersDeleteCertificate204Response | AppServiceCertificateOrdersDeleteCertificateDefaultResponse): response is AppServiceCertificateOrdersDeleteCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersUpdateCertificate200Response | AppServiceCertificateOrdersUpdateCertificateDefaultResponse): response is AppServiceCertificateOrdersUpdateCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersReissue204Response | AppServiceCertificateOrdersReissueDefaultResponse): response is AppServiceCertificateOrdersReissueDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersRenew204Response | AppServiceCertificateOrdersRenewDefaultResponse): response is AppServiceCertificateOrdersRenewDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersResendEmail204Response | AppServiceCertificateOrdersResendEmailDefaultResponse): response is AppServiceCertificateOrdersResendEmailDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersResendRequestEmails204Response | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse): response is AppServiceCertificateOrdersResendRequestEmailsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersRetrieveSiteSeal200Response | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse): response is AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersVerifyDomainOwnership204Response | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse): response is AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersRetrieveCertificateActions200Response | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse): response is AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse): response is AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse): response is CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse): response is CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificateRegistrationProviderListOperations200Response | CertificateRegistrationProviderListOperationsDefaultResponse): response is CertificateRegistrationProviderListOperationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsCheckAvailability200Response | DomainsCheckAvailabilityDefaultResponse): response is DomainsCheckAvailabilityDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsList200Response | DomainsListDefaultResponse): response is DomainsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsGetControlCenterSsoRequest200Response | DomainsGetControlCenterSsoRequestDefaultResponse): response is DomainsGetControlCenterSsoRequestDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsListRecommendations200Response | DomainsListRecommendationsDefaultResponse): response is DomainsListRecommendationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsListByResourceGroup200Response | DomainsListByResourceGroupDefaultResponse): response is DomainsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsGet200Response | DomainsGetDefaultResponse): response is DomainsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsCreateOrUpdate200Response | DomainsCreateOrUpdate202Response | DomainsCreateOrUpdateDefaultResponse): response is DomainsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsDelete200Response | DomainsDelete204Response | DomainsDeleteDefaultResponse): response is DomainsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsUpdate200Response | DomainsUpdate202Response | DomainsUpdateDefaultResponse): response is DomainsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsListOwnershipIdentifiers200Response | DomainsListOwnershipIdentifiersDefaultResponse): response is DomainsListOwnershipIdentifiersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsGetOwnershipIdentifier200Response | DomainsGetOwnershipIdentifierDefaultResponse): response is DomainsGetOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsCreateOrUpdateOwnershipIdentifier200Response | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse): response is DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsDeleteOwnershipIdentifier200Response | DomainsDeleteOwnershipIdentifier204Response | DomainsDeleteOwnershipIdentifierDefaultResponse): response is DomainsDeleteOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsUpdateOwnershipIdentifier200Response | DomainsUpdateOwnershipIdentifierDefaultResponse): response is DomainsUpdateOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsRenew200Response | DomainsRenew202Response | DomainsRenew204Response | DomainsRenewDefaultResponse): response is DomainsRenewDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsTransferOut200Response | DomainsTransferOut400Response | DomainsTransferOutDefaultResponse): response is DomainsTransferOut400Response; + +// @public (undocumented) +export function isUnexpected(response: TopLevelDomainsList200Response | TopLevelDomainsListDefaultResponse): response is TopLevelDomainsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TopLevelDomainsGet200Response | TopLevelDomainsGetDefaultResponse): response is TopLevelDomainsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TopLevelDomainsListAgreements200Response | TopLevelDomainsListAgreementsDefaultResponse): response is TopLevelDomainsListAgreementsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainRegistrationProviderListOperations200Response | DomainRegistrationProviderListOperationsDefaultResponse): response is DomainRegistrationProviderListOperationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsList200Response | AppServiceEnvironmentsListDefaultResponse): response is AppServiceEnvironmentsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListByResourceGroup200Response | AppServiceEnvironmentsListByResourceGroupDefaultResponse): response is AppServiceEnvironmentsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGet200Response | AppServiceEnvironmentsGetDefaultResponse): response is AppServiceEnvironmentsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsCreateOrUpdate200Response | AppServiceEnvironmentsCreateOrUpdate201Response | AppServiceEnvironmentsCreateOrUpdate202Response | AppServiceEnvironmentsCreateOrUpdateDefaultResponse): response is AppServiceEnvironmentsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsDelete202Response | AppServiceEnvironmentsDelete204Response | AppServiceEnvironmentsDeleteDefaultResponse): response is AppServiceEnvironmentsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsUpdate200Response | AppServiceEnvironmentsUpdate201Response | AppServiceEnvironmentsUpdate202Response | AppServiceEnvironmentsUpdateDefaultResponse): response is AppServiceEnvironmentsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListCapacities200Response | AppServiceEnvironmentsListCapacitiesDefaultResponse): response is AppServiceEnvironmentsListCapacitiesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetVipInfo200Response | AppServiceEnvironmentsGetVipInfoDefaultResponse): response is AppServiceEnvironmentsGetVipInfoDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsChangeVnet200Response | AppServiceEnvironmentsChangeVnet202Response | AppServiceEnvironmentsChangeVnetDefaultResponse): response is AppServiceEnvironmentsChangeVnetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse): response is AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse): response is AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListDiagnostics200Response | AppServiceEnvironmentsListDiagnosticsDefaultResponse): response is AppServiceEnvironmentsListDiagnosticsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetDiagnosticsItem200Response | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse): response is AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse): response is AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRolePools200Response | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse): response is AppServiceEnvironmentsListMultiRolePoolsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetMultiRolePool200Response | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse): response is AppServiceEnvironmentsGetMultiRolePoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response | AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse): response is AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsUpdateMultiRolePool200Response | AppServiceEnvironmentsUpdateMultiRolePool202Response | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse): response is AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse): response is AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse): response is AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRolePoolSkus200Response | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse): response is AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRoleUsages200Response | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse): response is AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListOperations200Response | AppServiceEnvironmentsListOperationsDefaultResponse): response is AppServiceEnvironmentsListOperationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse): response is AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse): response is AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetPrivateEndpointConnection200Response | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse): response is AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse): response is AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsDeletePrivateEndpointConnection200Response | AppServiceEnvironmentsDeletePrivateEndpointConnection202Response | AppServiceEnvironmentsDeletePrivateEndpointConnection204Response | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse): response is AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetPrivateLinkResources200Response | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse): response is AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsReboot202Response | AppServiceEnvironmentsRebootDefaultResponse): response is AppServiceEnvironmentsRebootDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsResume200Response | AppServiceEnvironmentsResume202Response | AppServiceEnvironmentsResumeDefaultResponse): response is AppServiceEnvironmentsResumeDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListAppServicePlans200Response | AppServiceEnvironmentsListAppServicePlansDefaultResponse): response is AppServiceEnvironmentsListAppServicePlansDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWebApps200Response | AppServiceEnvironmentsListWebAppsDefaultResponse): response is AppServiceEnvironmentsListWebAppsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsSuspend200Response | AppServiceEnvironmentsSuspend202Response | AppServiceEnvironmentsSuspendDefaultResponse): response is AppServiceEnvironmentsSuspendDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListUsages200Response | AppServiceEnvironmentsListUsagesDefaultResponse): response is AppServiceEnvironmentsListUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWorkerPools200Response | AppServiceEnvironmentsListWorkerPoolsDefaultResponse): response is AppServiceEnvironmentsListWorkerPoolsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetWorkerPool200Response | AppServiceEnvironmentsGetWorkerPoolDefaultResponse): response is AppServiceEnvironmentsGetWorkerPoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response | AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse): response is AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsUpdateWorkerPool200Response | AppServiceEnvironmentsUpdateWorkerPool202Response | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse): response is AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse): response is AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse): response is AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWorkerPoolSkus200Response | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse): response is AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWebWorkerUsages200Response | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse): response is AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansList200Response | AppServicePlansListDefaultResponse): response is AppServicePlansListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListByResourceGroup200Response | AppServicePlansListByResourceGroupDefaultResponse): response is AppServicePlansListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGet200Response | AppServicePlansGet404Response | AppServicePlansGetDefaultResponse): response is AppServicePlansGet404Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansCreateOrUpdate200Response | AppServicePlansCreateOrUpdate202Response | AppServicePlansCreateOrUpdateDefaultResponse): response is AppServicePlansCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansDelete200Response | AppServicePlansDelete204Response | AppServicePlansDeleteDefaultResponse): response is AppServicePlansDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansUpdate200Response | AppServicePlansUpdate202Response | AppServicePlansUpdateDefaultResponse): response is AppServicePlansUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListCapabilities200Response | AppServicePlansListCapabilitiesDefaultResponse): response is AppServicePlansListCapabilitiesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetHybridConnection200Response | AppServicePlansGetHybridConnectionDefaultResponse): response is AppServicePlansGetHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansDeleteHybridConnection200Response | AppServicePlansDeleteHybridConnection204Response | AppServicePlansDeleteHybridConnectionDefaultResponse): response is AppServicePlansDeleteHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListHybridConnectionKeys200Response | AppServicePlansListHybridConnectionKeysDefaultResponse): response is AppServicePlansListHybridConnectionKeysDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListWebAppsByHybridConnection200Response | AppServicePlansListWebAppsByHybridConnectionDefaultResponse): response is AppServicePlansListWebAppsByHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetHybridConnectionPlanLimit200Response | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse): response is AppServicePlansGetHybridConnectionPlanLimitDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListHybridConnections200Response | AppServicePlansListHybridConnectionsDefaultResponse): response is AppServicePlansListHybridConnectionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansRestartWebApps204Response | AppServicePlansRestartWebAppsDefaultResponse): response is AppServicePlansRestartWebAppsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListWebApps200Response | AppServicePlansListWebAppsDefaultResponse): response is AppServicePlansListWebAppsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetServerFarmSkus200Response | AppServicePlansGetServerFarmSkusDefaultResponse): response is AppServicePlansGetServerFarmSkusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListUsages200Response | AppServicePlansListUsagesDefaultResponse): response is AppServicePlansListUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListVnets200Response | AppServicePlansListVnetsDefaultResponse): response is AppServicePlansListVnetsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetVnetFromServerFarm200Response | AppServicePlansGetVnetFromServerFarm404Response | AppServicePlansGetVnetFromServerFarmDefaultResponse): response is AppServicePlansGetVnetFromServerFarm404Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetVnetGateway200Response | AppServicePlansGetVnetGatewayDefaultResponse): response is AppServicePlansGetVnetGatewayDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansUpdateVnetGateway200Response | AppServicePlansUpdateVnetGatewayDefaultResponse): response is AppServicePlansUpdateVnetGatewayDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListRoutesForVnet200Response | AppServicePlansListRoutesForVnetDefaultResponse): response is AppServicePlansListRoutesForVnetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetRouteForVnet200Response | AppServicePlansGetRouteForVnet404Response | AppServicePlansGetRouteForVnetDefaultResponse): response is AppServicePlansGetRouteForVnet404Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansCreateOrUpdateVnetRoute200Response | AppServicePlansCreateOrUpdateVnetRoute400Response | AppServicePlansCreateOrUpdateVnetRoute404Response | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse): response is AppServicePlansCreateOrUpdateVnetRoute400Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansDeleteVnetRoute200Response | AppServicePlansDeleteVnetRoute404Response | AppServicePlansDeleteVnetRouteDefaultResponse): response is AppServicePlansDeleteVnetRoute404Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansUpdateVnetRoute200Response | AppServicePlansUpdateVnetRoute400Response | AppServicePlansUpdateVnetRoute404Response | AppServicePlansUpdateVnetRouteDefaultResponse): response is AppServicePlansUpdateVnetRoute400Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansRebootWorker204Response | AppServicePlansRebootWorkerDefaultResponse): response is AppServicePlansRebootWorkerDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesList200Response | CertificatesListDefaultResponse): response is CertificatesListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesListByResourceGroup200Response | CertificatesListByResourceGroupDefaultResponse): response is CertificatesListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesGet200Response | CertificatesGetDefaultResponse): response is CertificatesGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesCreateOrUpdate200Response | CertificatesCreateOrUpdateDefaultResponse): response is CertificatesCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesDelete200Response | CertificatesDelete204Response | CertificatesDeleteDefaultResponse): response is CertificatesDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesUpdate200Response | CertificatesUpdateDefaultResponse): response is CertificatesUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsListBySubscription200Response | ContainerAppsListBySubscriptionDefaultResponse): response is ContainerAppsListBySubscriptionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsListByResourceGroup200Response | ContainerAppsListByResourceGroupDefaultResponse): response is ContainerAppsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsGet200Response | ContainerAppsGet404Response | ContainerAppsGetDefaultResponse): response is ContainerAppsGet404Response; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsCreateOrUpdate200Response | ContainerAppsCreateOrUpdate201Response | ContainerAppsCreateOrUpdateDefaultResponse): response is ContainerAppsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsDelete200Response | ContainerAppsDelete202Response | ContainerAppsDelete204Response | ContainerAppsDeleteDefaultResponse): response is ContainerAppsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsListSecrets200Response | ContainerAppsListSecretsDefaultResponse): response is ContainerAppsListSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsListRevisions200Response | ContainerAppsRevisionsListRevisionsDefaultResponse): response is ContainerAppsRevisionsListRevisionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsGetRevision200Response | ContainerAppsRevisionsGetRevisionDefaultResponse): response is ContainerAppsRevisionsGetRevisionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsActivateRevision200Response | ContainerAppsRevisionsActivateRevisionDefaultResponse): response is ContainerAppsRevisionsActivateRevisionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsDeactivateRevision200Response | ContainerAppsRevisionsDeactivateRevisionDefaultResponse): response is ContainerAppsRevisionsDeactivateRevisionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsRestartRevision200Response | ContainerAppsRevisionsRestartRevisionDefaultResponse): response is ContainerAppsRevisionsRestartRevisionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DeletedWebAppsList200Response | DeletedWebAppsListDefaultResponse): response is DeletedWebAppsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DeletedWebAppsListByLocation200Response | DeletedWebAppsListByLocationDefaultResponse): response is DeletedWebAppsListByLocationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DeletedWebAppsGetDeletedWebAppByLocation200Response | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse): response is DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListHostingEnvironmentDetectorResponses200Response | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse): response is DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetHostingEnvironmentDetectorResponse200Response | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse): response is DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDetectorResponses200Response | DiagnosticsListSiteDetectorResponsesDefaultResponse): response is DiagnosticsListSiteDetectorResponsesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDetectorResponse200Response | DiagnosticsGetSiteDetectorResponseDefaultResponse): response is DiagnosticsGetSiteDetectorResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDiagnosticCategories200Response | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse): response is DiagnosticsListSiteDiagnosticCategoriesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDiagnosticCategory200Response | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse): response is DiagnosticsGetSiteDiagnosticCategoryDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteAnalyses200Response | DiagnosticsListSiteAnalysesDefaultResponse): response is DiagnosticsListSiteAnalysesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteAnalysis200Response | DiagnosticsGetSiteAnalysisDefaultResponse): response is DiagnosticsGetSiteAnalysisDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsExecuteSiteAnalysis200Response | DiagnosticsExecuteSiteAnalysisDefaultResponse): response is DiagnosticsExecuteSiteAnalysisDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDetectors200Response | DiagnosticsListSiteDetectorsDefaultResponse): response is DiagnosticsListSiteDetectorsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDetector200Response | DiagnosticsGetSiteDetectorDefaultResponse): response is DiagnosticsGetSiteDetectorDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsExecuteSiteDetector200Response | DiagnosticsExecuteSiteDetectorDefaultResponse): response is DiagnosticsExecuteSiteDetectorDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDetectorResponsesSlot200Response | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse): response is DiagnosticsListSiteDetectorResponsesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDetectorResponseSlot200Response | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse): response is DiagnosticsGetSiteDetectorResponseSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDiagnosticCategoriesSlot200Response | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse): response is DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDiagnosticCategorySlot200Response | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse): response is DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteAnalysesSlot200Response | DiagnosticsListSiteAnalysesSlotDefaultResponse): response is DiagnosticsListSiteAnalysesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteAnalysisSlot200Response | DiagnosticsGetSiteAnalysisSlotDefaultResponse): response is DiagnosticsGetSiteAnalysisSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsExecuteSiteAnalysisSlot200Response | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse): response is DiagnosticsExecuteSiteAnalysisSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDetectorsSlot200Response | DiagnosticsListSiteDetectorsSlotDefaultResponse): response is DiagnosticsListSiteDetectorsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDetectorSlot200Response | DiagnosticsGetSiteDetectorSlotDefaultResponse): response is DiagnosticsGetSiteDetectorSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsExecuteSiteDetectorSlot200Response | DiagnosticsExecuteSiteDetectorSlotDefaultResponse): response is DiagnosticsExecuteSiteDetectorSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GlobalGetDeletedWebApp200Response | GlobalGetDeletedWebAppDefaultResponse): response is GlobalGetDeletedWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GlobalGetDeletedWebAppSnapshots200Response | GlobalGetDeletedWebAppSnapshotsDefaultResponse): response is GlobalGetDeletedWebAppSnapshotsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GlobalGetSubscriptionOperationWithAsyncResponse204Response | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse): response is GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsListBySubscription200Response | KubeEnvironmentsListBySubscriptionDefaultResponse): response is KubeEnvironmentsListBySubscriptionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsListByResourceGroup200Response | KubeEnvironmentsListByResourceGroupDefaultResponse): response is KubeEnvironmentsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsGet200Response | KubeEnvironmentsGetDefaultResponse): response is KubeEnvironmentsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsCreateOrUpdate200Response | KubeEnvironmentsCreateOrUpdate201Response | KubeEnvironmentsCreateOrUpdateDefaultResponse): response is KubeEnvironmentsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsDelete200Response | KubeEnvironmentsDelete202Response | KubeEnvironmentsDelete204Response | KubeEnvironmentsDeleteDefaultResponse): response is KubeEnvironmentsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsUpdate200Response | KubeEnvironmentsUpdate201Response | KubeEnvironmentsUpdateDefaultResponse): response is KubeEnvironmentsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetAvailableStacks200Response | ProviderGetAvailableStacksDefaultResponse): response is ProviderGetAvailableStacksDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetFunctionAppStacks200Response | ProviderGetFunctionAppStacksDefaultResponse): response is ProviderGetFunctionAppStacksDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetFunctionAppStacksForLocation200Response | ProviderGetFunctionAppStacksForLocationDefaultResponse): response is ProviderGetFunctionAppStacksForLocationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetWebAppStacksForLocation200Response | ProviderGetWebAppStacksForLocationDefaultResponse): response is ProviderGetWebAppStacksForLocationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderListOperations200Response | ProviderListOperationsDefaultResponse): response is ProviderListOperationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetWebAppStacks200Response | ProviderGetWebAppStacksDefaultResponse): response is ProviderGetWebAppStacksDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetAvailableStacksOnPrem200Response | ProviderGetAvailableStacksOnPremDefaultResponse): response is ProviderGetAvailableStacksOnPremDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsList200Response | RecommendationsListDefaultResponse): response is RecommendationsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsResetAllFilters204Response | RecommendationsResetAllFiltersDefaultResponse): response is RecommendationsResetAllFiltersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableRecommendationForSubscription200Response | RecommendationsDisableRecommendationForSubscriptionDefaultResponse): response is RecommendationsDisableRecommendationForSubscriptionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsListHistoryForHostingEnvironment200Response | RecommendationsListHistoryForHostingEnvironmentDefaultResponse): response is RecommendationsListHistoryForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsListRecommendedRulesForHostingEnvironment200Response | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse): response is RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableAllForHostingEnvironment204Response | RecommendationsDisableAllForHostingEnvironmentDefaultResponse): response is RecommendationsDisableAllForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsResetAllFiltersForHostingEnvironment204Response | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse): response is RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsGetRuleDetailsByHostingEnvironment200Response | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse): response is RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableRecommendationForHostingEnvironment200Response | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse): response is RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsListHistoryForWebApp200Response | RecommendationsListHistoryForWebAppDefaultResponse): response is RecommendationsListHistoryForWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsListRecommendedRulesForWebApp200Response | RecommendationsListRecommendedRulesForWebAppDefaultResponse): response is RecommendationsListRecommendedRulesForWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableAllForWebApp204Response | RecommendationsDisableAllForWebAppDefaultResponse): response is RecommendationsDisableAllForWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsResetAllFiltersForWebApp204Response | RecommendationsResetAllFiltersForWebAppDefaultResponse): response is RecommendationsResetAllFiltersForWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsGetRuleDetailsByWebApp200Response | RecommendationsGetRuleDetailsByWebAppDefaultResponse): response is RecommendationsGetRuleDetailsByWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableRecommendationForSite200Response | RecommendationsDisableRecommendationForSiteDefaultResponse): response is RecommendationsDisableRecommendationForSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataList200Response | ResourceHealthMetadataListDefaultResponse): response is ResourceHealthMetadataListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataListByResourceGroup200Response | ResourceHealthMetadataListByResourceGroupDefaultResponse): response is ResourceHealthMetadataListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataListBySite200Response | ResourceHealthMetadataListBySiteDefaultResponse): response is ResourceHealthMetadataListBySiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataGetBySite200Response | ResourceHealthMetadataGetBySiteDefaultResponse): response is ResourceHealthMetadataGetBySiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataListBySiteSlot200Response | ResourceHealthMetadataListBySiteSlotDefaultResponse): response is ResourceHealthMetadataListBySiteSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataGetBySiteSlot200Response | ResourceHealthMetadataGetBySiteSlotDefaultResponse): response is ResourceHealthMetadataGetBySiteSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GetPublishingUser200Response | GetPublishingUserDefaultResponse): response is GetPublishingUserDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: UpdatePublishingUser200Response | UpdatePublishingUserDefaultResponse): response is UpdatePublishingUserDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListSourceControls200Response | ListSourceControlsDefaultResponse): response is ListSourceControlsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GetSourceControl200Response | GetSourceControlDefaultResponse): response is GetSourceControlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: UpdateSourceControl200Response | UpdateSourceControlDefaultResponse): response is UpdateSourceControlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListBillingMeters200Response | ListBillingMetersDefaultResponse): response is ListBillingMetersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CheckNameAvailability200Response | CheckNameAvailabilityDefaultResponse): response is CheckNameAvailabilityDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListCustomHostNameSites200Response | ListCustomHostNameSitesDefaultResponse): response is ListCustomHostNameSitesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GetSubscriptionDeploymentLocations200Response | GetSubscriptionDeploymentLocationsDefaultResponse): response is GetSubscriptionDeploymentLocationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListGeoRegions200Response | ListGeoRegionsDefaultResponse): response is ListGeoRegionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListSiteIdentifiersAssignedToHostName200Response | ListSiteIdentifiersAssignedToHostNameDefaultResponse): response is ListSiteIdentifiersAssignedToHostNameDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListPremierAddOnOffers200Response | ListPremierAddOnOffersDefaultResponse): response is ListPremierAddOnOffersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListSkus200Response | ListSkusDefaultResponse): response is ListSkusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: VerifyHostingEnvironmentVnet200Response | VerifyHostingEnvironmentVnetDefaultResponse): response is VerifyHostingEnvironmentVnetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: Move204Response | MoveDefaultResponse): response is MoveDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: Validate200Response | ValidateDefaultResponse): response is ValidateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ValidateMove204Response | ValidateMoveDefaultResponse): response is ValidateMoveDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesPreviewWorkflow200Response | StaticSitesPreviewWorkflowDefaultResponse): response is StaticSitesPreviewWorkflowDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesList200Response | StaticSitesListDefaultResponse): response is StaticSitesListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSitesByResourceGroup200Response | StaticSitesGetStaticSitesByResourceGroupDefaultResponse): response is StaticSitesGetStaticSitesByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSite200Response | StaticSitesGetStaticSiteDefaultResponse): response is StaticSitesGetStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSite200Response | StaticSitesCreateOrUpdateStaticSite202Response | StaticSitesCreateOrUpdateStaticSiteDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeleteStaticSite200Response | StaticSitesDeleteStaticSite202Response | StaticSitesDeleteStaticSiteDefaultResponse): response is StaticSitesDeleteStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesUpdateStaticSite200Response | StaticSitesUpdateStaticSite202Response | StaticSitesUpdateStaticSiteDefaultResponse): response is StaticSitesUpdateStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteUsers200Response | StaticSitesListStaticSiteUsersDefaultResponse): response is StaticSitesListStaticSiteUsersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeleteStaticSiteUser200Response | StaticSitesDeleteStaticSiteUserDefaultResponse): response is StaticSitesDeleteStaticSiteUserDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesUpdateStaticSiteUser200Response | StaticSitesUpdateStaticSiteUserDefaultResponse): response is StaticSitesUpdateStaticSiteUserDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSiteBuilds200Response | StaticSitesGetStaticSiteBuildsDefaultResponse): response is StaticSitesGetStaticSiteBuildsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSiteBuild200Response | StaticSitesGetStaticSiteBuildDefaultResponse): response is StaticSitesGetStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeleteStaticSiteBuild200Response | StaticSitesDeleteStaticSiteBuild202Response | StaticSitesDeleteStaticSiteBuild204Response | StaticSitesDeleteStaticSiteBuildDefaultResponse): response is StaticSitesDeleteStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteBuildFunctions200Response | StaticSitesListStaticSiteBuildFunctionsDefaultResponse): response is StaticSitesListStaticSiteBuildFunctionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteBuildAppSettings200Response | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse): response is StaticSitesListStaticSiteBuildAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteBuildFunctionAppSettings200Response | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse): response is StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse): response is StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse): response is StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse): response is StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse): response is StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateZipDeploymentForStaticSiteBuild200Response | StaticSitesCreateZipDeploymentForStaticSiteBuild202Response | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse): response is StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteAppSettings200Response | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateUserRolesInvitationLink200Response | StaticSitesCreateUserRolesInvitationLinkDefaultResponse): response is StaticSitesCreateUserRolesInvitationLinkDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteCustomDomains200Response | StaticSitesListStaticSiteCustomDomainsDefaultResponse): response is StaticSitesListStaticSiteCustomDomainsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSiteCustomDomain200Response | StaticSitesGetStaticSiteCustomDomainDefaultResponse): response is StaticSitesGetStaticSiteCustomDomainDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response | StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeleteStaticSiteCustomDomain200Response | StaticSitesDeleteStaticSiteCustomDomain202Response | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse): response is StaticSitesDeleteStaticSiteCustomDomainDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response | StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse): response is StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDetachStaticSite200Response | StaticSitesDetachStaticSite202Response | StaticSitesDetachStaticSiteDefaultResponse): response is StaticSitesDetachStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteFunctions200Response | StaticSitesListStaticSiteFunctionsDefaultResponse): response is StaticSitesListStaticSiteFunctionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteAppSettings200Response | StaticSitesListStaticSiteAppSettingsDefaultResponse): response is StaticSitesListStaticSiteAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteConfiguredRoles200Response | StaticSitesListStaticSiteConfiguredRolesDefaultResponse): response is StaticSitesListStaticSiteConfiguredRolesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteFunctionAppSettings200Response | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse): response is StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteSecrets200Response | StaticSitesListStaticSiteSecretsDefaultResponse): response is StaticSitesListStaticSiteSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetPrivateEndpointConnectionList200Response | StaticSitesGetPrivateEndpointConnectionListDefaultResponse): response is StaticSitesGetPrivateEndpointConnectionListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetPrivateEndpointConnection200Response | StaticSitesGetPrivateEndpointConnectionDefaultResponse): response is StaticSitesGetPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesApproveOrRejectPrivateEndpointConnection200Response | StaticSitesApproveOrRejectPrivateEndpointConnection202Response | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse): response is StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeletePrivateEndpointConnection200Response | StaticSitesDeletePrivateEndpointConnection202Response | StaticSitesDeletePrivateEndpointConnection204Response | StaticSitesDeletePrivateEndpointConnectionDefaultResponse): response is StaticSitesDeletePrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetPrivateLinkResources200Response | StaticSitesGetPrivateLinkResourcesDefaultResponse): response is StaticSitesGetPrivateLinkResourcesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesResetStaticSiteApiKey200Response | StaticSitesResetStaticSiteApiKeyDefaultResponse): response is StaticSitesResetStaticSiteApiKeyDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse): response is StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetUserProvidedFunctionAppForStaticSite200Response | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse): response is StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse): response is StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse): response is StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateZipDeploymentForStaticSite200Response | StaticSitesCreateZipDeploymentForStaticSite202Response | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse): response is StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsList200Response | WebAppsListDefaultResponse): response is WebAppsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListByResourceGroup200Response | WebAppsListByResourceGroupDefaultResponse): response is WebAppsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGet200Response | WebAppsGet404Response | WebAppsGetDefaultResponse): response is WebAppsGet404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdate200Response | WebAppsCreateOrUpdate202Response | WebAppsCreateOrUpdateDefaultResponse): response is WebAppsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDelete200Response | WebAppsDelete204Response | WebAppsDelete404Response | WebAppsDeleteDefaultResponse): response is WebAppsDelete404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdate200Response | WebAppsUpdate202Response | WebAppsUpdateDefaultResponse): response is WebAppsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsAnalyzeCustomHostname200Response | WebAppsAnalyzeCustomHostnameDefaultResponse): response is WebAppsAnalyzeCustomHostnameDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsApplySlotConfigToProduction200Response | WebAppsApplySlotConfigToProductionDefaultResponse): response is WebAppsApplySlotConfigToProductionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsBackup200Response | WebAppsBackupDefaultResponse): response is WebAppsBackupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBackups200Response | WebAppsListBackupsDefaultResponse): response is WebAppsListBackupsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetBackupStatus200Response | WebAppsGetBackupStatusDefaultResponse): response is WebAppsGetBackupStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteBackup200Response | WebAppsDeleteBackup404Response | WebAppsDeleteBackupDefaultResponse): response is WebAppsDeleteBackup404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBackupStatusSecrets200Response | WebAppsListBackupStatusSecretsDefaultResponse): response is WebAppsListBackupStatusSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestore200Response | WebAppsRestore202Response | WebAppsRestoreDefaultResponse): response is WebAppsRestoreDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBasicPublishingCredentialsPolicies200Response | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse): response is WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFtpAllowed200Response | WebAppsGetFtpAllowedDefaultResponse): response is WebAppsGetFtpAllowedDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateFtpAllowed200Response | WebAppsUpdateFtpAllowedDefaultResponse): response is WebAppsUpdateFtpAllowedDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetScmAllowed200Response | WebAppsGetScmAllowedDefaultResponse): response is WebAppsGetScmAllowedDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateScmAllowed200Response | WebAppsUpdateScmAllowedDefaultResponse): response is WebAppsUpdateScmAllowedDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConfigurations200Response | WebAppsListConfigurationsDefaultResponse): response is WebAppsListConfigurationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateApplicationSettings200Response | WebAppsUpdateApplicationSettingsDefaultResponse): response is WebAppsUpdateApplicationSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListApplicationSettings200Response | WebAppsListApplicationSettingsDefaultResponse): response is WebAppsListApplicationSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAuthSettings200Response | WebAppsUpdateAuthSettingsDefaultResponse): response is WebAppsUpdateAuthSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettings200Response | WebAppsGetAuthSettingsDefaultResponse): response is WebAppsGetAuthSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsV2WithoutSecrets200Response | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse): response is WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAuthSettingsV2200Response | WebAppsUpdateAuthSettingsV2DefaultResponse): response is WebAppsUpdateAuthSettingsV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsV2200Response | WebAppsGetAuthSettingsV2DefaultResponse): response is WebAppsGetAuthSettingsV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAzureStorageAccounts200Response | WebAppsUpdateAzureStorageAccountsDefaultResponse): response is WebAppsUpdateAzureStorageAccountsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListAzureStorageAccounts200Response | WebAppsListAzureStorageAccountsDefaultResponse): response is WebAppsListAzureStorageAccountsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateBackupConfiguration200Response | WebAppsUpdateBackupConfigurationDefaultResponse): response is WebAppsUpdateBackupConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteBackupConfiguration200Response | WebAppsDeleteBackupConfigurationDefaultResponse): response is WebAppsDeleteBackupConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetBackupConfiguration200Response | WebAppsGetBackupConfigurationDefaultResponse): response is WebAppsGetBackupConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAppSettingsKeyVaultReferences200Response | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse): response is WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAppSettingKeyVaultReference200Response | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse): response is WebAppsGetAppSettingKeyVaultReferenceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteConnectionStringKeyVaultReferences200Response | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse): response is WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteConnectionStringKeyVaultReference200Response | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse): response is WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateConnectionStrings200Response | WebAppsUpdateConnectionStringsDefaultResponse): response is WebAppsUpdateConnectionStringsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConnectionStrings200Response | WebAppsListConnectionStringsDefaultResponse): response is WebAppsListConnectionStringsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDiagnosticLogsConfiguration200Response | WebAppsGetDiagnosticLogsConfigurationDefaultResponse): response is WebAppsGetDiagnosticLogsConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateDiagnosticLogsConfig200Response | WebAppsUpdateDiagnosticLogsConfigDefaultResponse): response is WebAppsUpdateDiagnosticLogsConfigDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateMetadata200Response | WebAppsUpdateMetadataDefaultResponse): response is WebAppsUpdateMetadataDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListMetadata200Response | WebAppsListMetadataDefaultResponse): response is WebAppsListMetadataDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublishingCredentials200Response | WebAppsListPublishingCredentialsDefaultResponse): response is WebAppsListPublishingCredentialsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSitePushSettings200Response | WebAppsUpdateSitePushSettingsDefaultResponse): response is WebAppsUpdateSitePushSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSitePushSettings200Response | WebAppsListSitePushSettingsDefaultResponse): response is WebAppsListSitePushSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSlotConfigurationNames200Response | WebAppsListSlotConfigurationNamesDefaultResponse): response is WebAppsListSlotConfigurationNamesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSlotConfigurationNames200Response | WebAppsUpdateSlotConfigurationNamesDefaultResponse): response is WebAppsUpdateSlotConfigurationNamesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetConfiguration200Response | WebAppsGetConfigurationDefaultResponse): response is WebAppsGetConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateConfiguration200Response | WebAppsCreateOrUpdateConfigurationDefaultResponse): response is WebAppsCreateOrUpdateConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateConfiguration200Response | WebAppsUpdateConfigurationDefaultResponse): response is WebAppsUpdateConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConfigurationSnapshotInfo200Response | WebAppsListConfigurationSnapshotInfoDefaultResponse): response is WebAppsListConfigurationSnapshotInfoDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetConfigurationSnapshot200Response | WebAppsGetConfigurationSnapshotDefaultResponse): response is WebAppsGetConfigurationSnapshotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRecoverSiteConfigurationSnapshot204Response | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse): response is WebAppsRecoverSiteConfigurationSnapshotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetWebSiteContainerLogs200Response | WebAppsGetWebSiteContainerLogs204Response | WebAppsGetWebSiteContainerLogsDefaultResponse): response is WebAppsGetWebSiteContainerLogsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetContainerLogsZip200Response | WebAppsGetContainerLogsZip204Response | WebAppsGetContainerLogsZipDefaultResponse): response is WebAppsGetContainerLogsZipDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListContinuousWebJobs200Response | WebAppsListContinuousWebJobsDefaultResponse): response is WebAppsListContinuousWebJobsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetContinuousWebJob200Response | WebAppsGetContinuousWebJob404Response | WebAppsGetContinuousWebJobDefaultResponse): response is WebAppsGetContinuousWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteContinuousWebJob200Response | WebAppsDeleteContinuousWebJob204Response | WebAppsDeleteContinuousWebJobDefaultResponse): response is WebAppsDeleteContinuousWebJobDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartContinuousWebJob200Response | WebAppsStartContinuousWebJob404Response | WebAppsStartContinuousWebJobDefaultResponse): response is WebAppsStartContinuousWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopContinuousWebJob200Response | WebAppsStopContinuousWebJob404Response | WebAppsStopContinuousWebJobDefaultResponse): response is WebAppsStopContinuousWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDeployments200Response | WebAppsListDeploymentsDefaultResponse): response is WebAppsListDeploymentsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDeployment200Response | WebAppsGetDeploymentDefaultResponse): response is WebAppsGetDeploymentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateDeployment200Response | WebAppsCreateDeploymentDefaultResponse): response is WebAppsCreateDeploymentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteDeployment200Response | WebAppsDeleteDeployment204Response | WebAppsDeleteDeploymentDefaultResponse): response is WebAppsDeleteDeploymentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDeploymentLog200Response | WebAppsListDeploymentLogDefaultResponse): response is WebAppsListDeploymentLogDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDiscoverBackup200Response | WebAppsDiscoverBackupDefaultResponse): response is WebAppsDiscoverBackupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDomainOwnershipIdentifiers200Response | WebAppsListDomainOwnershipIdentifiersDefaultResponse): response is WebAppsListDomainOwnershipIdentifiersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDomainOwnershipIdentifier200Response | WebAppsGetDomainOwnershipIdentifierDefaultResponse): response is WebAppsGetDomainOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse): response is WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteDomainOwnershipIdentifier200Response | WebAppsDeleteDomainOwnershipIdentifier204Response | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse): response is WebAppsDeleteDomainOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateDomainOwnershipIdentifier200Response | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse): response is WebAppsUpdateDomainOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMSDeployStatus200Response | WebAppsGetMSDeployStatusDefaultResponse): response is WebAppsGetMSDeployStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateMSDeployOperation201Response | WebAppsCreateMSDeployOperation409Response | WebAppsCreateMSDeployOperationDefaultResponse): response is WebAppsCreateMSDeployOperation409Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMSDeployLog200Response | WebAppsGetMSDeployLog404Response | WebAppsGetMSDeployLogDefaultResponse): response is WebAppsGetMSDeployLog404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetOneDeployStatus200Response | WebAppsGetOneDeployStatusDefaultResponse): response is WebAppsGetOneDeployStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOneDeployOperation200Response | WebAppsCreateOneDeployOperationDefaultResponse): response is WebAppsCreateOneDeployOperationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctions200Response | WebAppsListFunctions404Response | WebAppsListFunctionsDefaultResponse): response is WebAppsListFunctions404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFunctionsAdminToken200Response | WebAppsGetFunctionsAdminTokenDefaultResponse): response is WebAppsGetFunctionsAdminTokenDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFunction200Response | WebAppsGetFunction404Response | WebAppsGetFunctionDefaultResponse): response is WebAppsGetFunction404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateFunction201Response | WebAppsCreateFunctionDefaultResponse): response is WebAppsCreateFunctionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteFunction204Response | WebAppsDeleteFunction404Response | WebAppsDeleteFunctionDefaultResponse): response is WebAppsDeleteFunction404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateFunctionSecret200Response | WebAppsCreateOrUpdateFunctionSecret201Response | WebAppsCreateOrUpdateFunctionSecretDefaultResponse): response is WebAppsCreateOrUpdateFunctionSecretDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteFunctionSecret204Response | WebAppsDeleteFunctionSecret404Response | WebAppsDeleteFunctionSecretDefaultResponse): response is WebAppsDeleteFunctionSecret404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctionKeys200Response | WebAppsListFunctionKeysDefaultResponse): response is WebAppsListFunctionKeysDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctionSecrets200Response | WebAppsListFunctionSecretsDefaultResponse): response is WebAppsListFunctionSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHostKeys200Response | WebAppsListHostKeysDefaultResponse): response is WebAppsListHostKeysDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSyncStatus204Response | WebAppsListSyncStatusDefaultResponse): response is WebAppsListSyncStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncFunctions204Response | WebAppsSyncFunctionsDefaultResponse): response is WebAppsSyncFunctionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHostSecret200Response | WebAppsCreateOrUpdateHostSecret201Response | WebAppsCreateOrUpdateHostSecretDefaultResponse): response is WebAppsCreateOrUpdateHostSecretDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHostSecret204Response | WebAppsDeleteHostSecret404Response | WebAppsDeleteHostSecretDefaultResponse): response is WebAppsDeleteHostSecret404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHostNameBindings200Response | WebAppsListHostNameBindingsDefaultResponse): response is WebAppsListHostNameBindingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetHostNameBinding200Response | WebAppsGetHostNameBindingDefaultResponse): response is WebAppsGetHostNameBindingDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHostNameBinding200Response | WebAppsCreateOrUpdateHostNameBindingDefaultResponse): response is WebAppsCreateOrUpdateHostNameBindingDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHostNameBinding200Response | WebAppsDeleteHostNameBinding204Response | WebAppsDeleteHostNameBindingDefaultResponse): response is WebAppsDeleteHostNameBindingDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetHybridConnection200Response | WebAppsGetHybridConnectionDefaultResponse): response is WebAppsGetHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHybridConnection200Response | WebAppsCreateOrUpdateHybridConnectionDefaultResponse): response is WebAppsCreateOrUpdateHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHybridConnection200Response | WebAppsDeleteHybridConnection404Response | WebAppsDeleteHybridConnectionDefaultResponse): response is WebAppsDeleteHybridConnection404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateHybridConnection200Response | WebAppsUpdateHybridConnectionDefaultResponse): response is WebAppsUpdateHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHybridConnections200Response | WebAppsListHybridConnectionsDefaultResponse): response is WebAppsListHybridConnectionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListRelayServiceConnections200Response | WebAppsListRelayServiceConnectionsDefaultResponse): response is WebAppsListRelayServiceConnectionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetRelayServiceConnection200Response | WebAppsGetRelayServiceConnectionDefaultResponse): response is WebAppsGetRelayServiceConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateRelayServiceConnection200Response | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse): response is WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteRelayServiceConnection200Response | WebAppsDeleteRelayServiceConnection404Response | WebAppsDeleteRelayServiceConnectionDefaultResponse): response is WebAppsDeleteRelayServiceConnection404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateRelayServiceConnection200Response | WebAppsUpdateRelayServiceConnectionDefaultResponse): response is WebAppsUpdateRelayServiceConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceIdentifiers200Response | WebAppsListInstanceIdentifiersDefaultResponse): response is WebAppsListInstanceIdentifiersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceInfo200Response | WebAppsGetInstanceInfoDefaultResponse): response is WebAppsGetInstanceInfoDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceMsDeployStatus200Response | WebAppsGetInstanceMsDeployStatusDefaultResponse): response is WebAppsGetInstanceMsDeployStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateInstanceMSDeployOperation201Response | WebAppsCreateInstanceMSDeployOperation409Response | WebAppsCreateInstanceMSDeployOperationDefaultResponse): response is WebAppsCreateInstanceMSDeployOperation409Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceMSDeployLog200Response | WebAppsGetInstanceMSDeployLog404Response | WebAppsGetInstanceMSDeployLogDefaultResponse): response is WebAppsGetInstanceMSDeployLog404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcesses200Response | WebAppsListInstanceProcesses404Response | WebAppsListInstanceProcessesDefaultResponse): response is WebAppsListInstanceProcesses404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcess200Response | WebAppsGetInstanceProcess404Response | WebAppsGetInstanceProcessDefaultResponse): response is WebAppsGetInstanceProcess404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteInstanceProcess204Response | WebAppsDeleteInstanceProcess404Response | WebAppsDeleteInstanceProcessDefaultResponse): response is WebAppsDeleteInstanceProcess404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessDump200Response | WebAppsGetInstanceProcessDump404Response | WebAppsGetInstanceProcessDumpDefaultResponse): response is WebAppsGetInstanceProcessDump404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessModules200Response | WebAppsListInstanceProcessModules404Response | WebAppsListInstanceProcessModulesDefaultResponse): response is WebAppsListInstanceProcessModules404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessModule200Response | WebAppsGetInstanceProcessModule404Response | WebAppsGetInstanceProcessModuleDefaultResponse): response is WebAppsGetInstanceProcessModule404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessThreads200Response | WebAppsListInstanceProcessThreads404Response | WebAppsListInstanceProcessThreadsDefaultResponse): response is WebAppsListInstanceProcessThreads404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsIsCloneable200Response | WebAppsIsCloneableDefaultResponse): response is WebAppsIsCloneableDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSiteBackups200Response | WebAppsListSiteBackupsDefaultResponse): response is WebAppsListSiteBackupsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSyncFunctionTriggers200Response | WebAppsListSyncFunctionTriggersDefaultResponse): response is WebAppsListSyncFunctionTriggersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsMigrateStorage200Response | WebAppsMigrateStorageDefaultResponse): response is WebAppsMigrateStorageDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsMigrateMySql200Response | WebAppsMigrateMySqlDefaultResponse): response is WebAppsMigrateMySqlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMigrateMySqlStatus200Response | WebAppsGetMigrateMySqlStatusDefaultResponse): response is WebAppsGetMigrateMySqlStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSwiftVirtualNetworkConnection200Response | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse): response is WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse): response is WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSwiftVirtualNetwork200Response | WebAppsDeleteSwiftVirtualNetwork404Response | WebAppsDeleteSwiftVirtualNetworkDefaultResponse): response is WebAppsDeleteSwiftVirtualNetwork404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse): response is WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListNetworkFeatures200Response | WebAppsListNetworkFeatures404Response | WebAppsListNetworkFeaturesDefaultResponse): response is WebAppsListNetworkFeatures404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraceOperation200Response | WebAppsGetNetworkTraceOperation202Response | WebAppsGetNetworkTraceOperationDefaultResponse): response is WebAppsGetNetworkTraceOperationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartWebSiteNetworkTrace200Response | WebAppsStartWebSiteNetworkTraceDefaultResponse): response is WebAppsStartWebSiteNetworkTraceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartWebSiteNetworkTraceOperation200Response | WebAppsStartWebSiteNetworkTraceOperation202Response | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse): response is WebAppsStartWebSiteNetworkTraceOperationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopWebSiteNetworkTrace200Response | WebAppsStopWebSiteNetworkTrace204Response | WebAppsStopWebSiteNetworkTraceDefaultResponse): response is WebAppsStopWebSiteNetworkTraceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraces200Response | WebAppsGetNetworkTracesDefaultResponse): response is WebAppsGetNetworkTracesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraceOperationV2200Response | WebAppsGetNetworkTraceOperationV2202Response | WebAppsGetNetworkTraceOperationV2DefaultResponse): response is WebAppsGetNetworkTraceOperationV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTracesV2200Response | WebAppsGetNetworkTracesV2DefaultResponse): response is WebAppsGetNetworkTracesV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGenerateNewSitePublishingPassword200Response | WebAppsGenerateNewSitePublishingPassword204Response | WebAppsGenerateNewSitePublishingPasswordDefaultResponse): response is WebAppsGenerateNewSitePublishingPasswordDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPerfMonCounters200Response | WebAppsListPerfMonCountersDefaultResponse): response is WebAppsListPerfMonCountersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSitePhpErrorLogFlag200Response | WebAppsGetSitePhpErrorLogFlagDefaultResponse): response is WebAppsGetSitePhpErrorLogFlagDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPremierAddOns200Response | WebAppsListPremierAddOnsDefaultResponse): response is WebAppsListPremierAddOnsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPremierAddOn200Response | WebAppsGetPremierAddOnDefaultResponse): response is WebAppsGetPremierAddOnDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsAddPremierAddOn200Response | WebAppsAddPremierAddOnDefaultResponse): response is WebAppsAddPremierAddOnDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePremierAddOn200Response | WebAppsDeletePremierAddOnDefaultResponse): response is WebAppsDeletePremierAddOnDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdatePremierAddOn200Response | WebAppsUpdatePremierAddOnDefaultResponse): response is WebAppsUpdatePremierAddOnDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateAccess200Response | WebAppsGetPrivateAccessDefaultResponse): response is WebAppsGetPrivateAccessDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsPutPrivateAccessVnet200Response | WebAppsPutPrivateAccessVnetDefaultResponse): response is WebAppsPutPrivateAccessVnetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateEndpointConnectionList200Response | WebAppsGetPrivateEndpointConnectionListDefaultResponse): response is WebAppsGetPrivateEndpointConnectionListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateEndpointConnection200Response | WebAppsGetPrivateEndpointConnectionDefaultResponse): response is WebAppsGetPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsApproveOrRejectPrivateEndpointConnection200Response | WebAppsApproveOrRejectPrivateEndpointConnection202Response | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse): response is WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePrivateEndpointConnection200Response | WebAppsDeletePrivateEndpointConnection202Response | WebAppsDeletePrivateEndpointConnection204Response | WebAppsDeletePrivateEndpointConnectionDefaultResponse): response is WebAppsDeletePrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateLinkResources200Response | WebAppsGetPrivateLinkResourcesDefaultResponse): response is WebAppsGetPrivateLinkResourcesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcesses200Response | WebAppsListProcesses404Response | WebAppsListProcessesDefaultResponse): response is WebAppsListProcesses404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcess200Response | WebAppsGetProcess404Response | WebAppsGetProcessDefaultResponse): response is WebAppsGetProcess404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteProcess204Response | WebAppsDeleteProcess404Response | WebAppsDeleteProcessDefaultResponse): response is WebAppsDeleteProcess404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessDump200Response | WebAppsGetProcessDump404Response | WebAppsGetProcessDumpDefaultResponse): response is WebAppsGetProcessDump404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessModules200Response | WebAppsListProcessModules404Response | WebAppsListProcessModulesDefaultResponse): response is WebAppsListProcessModules404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessModule200Response | WebAppsGetProcessModule404Response | WebAppsGetProcessModuleDefaultResponse): response is WebAppsGetProcessModule404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessThreads200Response | WebAppsListProcessThreads404Response | WebAppsListProcessThreadsDefaultResponse): response is WebAppsListProcessThreads404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublicCertificates200Response | WebAppsListPublicCertificatesDefaultResponse): response is WebAppsListPublicCertificatesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPublicCertificate200Response | WebAppsGetPublicCertificateDefaultResponse): response is WebAppsGetPublicCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdatePublicCertificate200Response | WebAppsCreateOrUpdatePublicCertificateDefaultResponse): response is WebAppsCreateOrUpdatePublicCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePublicCertificate200Response | WebAppsDeletePublicCertificate204Response | WebAppsDeletePublicCertificateDefaultResponse): response is WebAppsDeletePublicCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublishingProfileXmlWithSecrets200Response | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse): response is WebAppsListPublishingProfileXmlWithSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsResetProductionSlotConfig200Response | WebAppsResetProductionSlotConfigDefaultResponse): response is WebAppsResetProductionSlotConfigDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestart200Response | WebAppsRestartDefaultResponse): response is WebAppsRestartDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreFromBackupBlob200Response | WebAppsRestoreFromBackupBlob202Response | WebAppsRestoreFromBackupBlobDefaultResponse): response is WebAppsRestoreFromBackupBlobDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreFromDeletedApp200Response | WebAppsRestoreFromDeletedApp202Response | WebAppsRestoreFromDeletedAppDefaultResponse): response is WebAppsRestoreFromDeletedAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreSnapshot200Response | WebAppsRestoreSnapshot202Response | WebAppsRestoreSnapshotDefaultResponse): response is WebAppsRestoreSnapshotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSiteExtensions200Response | WebAppsListSiteExtensions404Response | WebAppsListSiteExtensionsDefaultResponse): response is WebAppsListSiteExtensions404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteExtension200Response | WebAppsGetSiteExtension404Response | WebAppsGetSiteExtensionDefaultResponse): response is WebAppsGetSiteExtension404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsInstallSiteExtension200Response | WebAppsInstallSiteExtension201Response | WebAppsInstallSiteExtension429Response | WebAppsInstallSiteExtensionDefaultResponse): response is WebAppsInstallSiteExtension429Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSiteExtension204Response | WebAppsDeleteSiteExtension404Response | WebAppsDeleteSiteExtensionDefaultResponse): response is WebAppsDeleteSiteExtension404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSlots200Response | WebAppsListSlotsDefaultResponse): response is WebAppsListSlotsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSlot200Response | WebAppsGetSlot404Response | WebAppsGetSlotDefaultResponse): response is WebAppsGetSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateSlot200Response | WebAppsCreateOrUpdateSlot202Response | WebAppsCreateOrUpdateSlotDefaultResponse): response is WebAppsCreateOrUpdateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSlot200Response | WebAppsDeleteSlot204Response | WebAppsDeleteSlot404Response | WebAppsDeleteSlotDefaultResponse): response is WebAppsDeleteSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSlot200Response | WebAppsUpdateSlot202Response | WebAppsUpdateSlotDefaultResponse): response is WebAppsUpdateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsAnalyzeCustomHostnameSlot200Response | WebAppsAnalyzeCustomHostnameSlotDefaultResponse): response is WebAppsAnalyzeCustomHostnameSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsApplySlotConfigurationSlot200Response | WebAppsApplySlotConfigurationSlotDefaultResponse): response is WebAppsApplySlotConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsBackupSlot200Response | WebAppsBackupSlotDefaultResponse): response is WebAppsBackupSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBackupsSlot200Response | WebAppsListBackupsSlotDefaultResponse): response is WebAppsListBackupsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetBackupStatusSlot200Response | WebAppsGetBackupStatusSlotDefaultResponse): response is WebAppsGetBackupStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteBackupSlot200Response | WebAppsDeleteBackupSlot404Response | WebAppsDeleteBackupSlotDefaultResponse): response is WebAppsDeleteBackupSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBackupStatusSecretsSlot200Response | WebAppsListBackupStatusSecretsSlotDefaultResponse): response is WebAppsListBackupStatusSecretsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreSlot200Response | WebAppsRestoreSlot202Response | WebAppsRestoreSlotDefaultResponse): response is WebAppsRestoreSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBasicPublishingCredentialsPoliciesSlot200Response | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse): response is WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFtpAllowedSlot200Response | WebAppsGetFtpAllowedSlotDefaultResponse): response is WebAppsGetFtpAllowedSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateFtpAllowedSlot200Response | WebAppsUpdateFtpAllowedSlotDefaultResponse): response is WebAppsUpdateFtpAllowedSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetScmAllowedSlot200Response | WebAppsGetScmAllowedSlotDefaultResponse): response is WebAppsGetScmAllowedSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateScmAllowedSlot200Response | WebAppsUpdateScmAllowedSlotDefaultResponse): response is WebAppsUpdateScmAllowedSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConfigurationsSlot200Response | WebAppsListConfigurationsSlotDefaultResponse): response is WebAppsListConfigurationsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateApplicationSettingsSlot200Response | WebAppsUpdateApplicationSettingsSlotDefaultResponse): response is WebAppsUpdateApplicationSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListApplicationSettingsSlot200Response | WebAppsListApplicationSettingsSlotDefaultResponse): response is WebAppsListApplicationSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAuthSettingsSlot200Response | WebAppsUpdateAuthSettingsSlotDefaultResponse): response is WebAppsUpdateAuthSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsSlot200Response | WebAppsGetAuthSettingsSlotDefaultResponse): response is WebAppsGetAuthSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse): response is WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAuthSettingsV2Slot200Response | WebAppsUpdateAuthSettingsV2SlotDefaultResponse): response is WebAppsUpdateAuthSettingsV2SlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsV2Slot200Response | WebAppsGetAuthSettingsV2SlotDefaultResponse): response is WebAppsGetAuthSettingsV2SlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAzureStorageAccountsSlot200Response | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse): response is WebAppsUpdateAzureStorageAccountsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListAzureStorageAccountsSlot200Response | WebAppsListAzureStorageAccountsSlotDefaultResponse): response is WebAppsListAzureStorageAccountsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateBackupConfigurationSlot200Response | WebAppsUpdateBackupConfigurationSlotDefaultResponse): response is WebAppsUpdateBackupConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteBackupConfigurationSlot200Response | WebAppsDeleteBackupConfigurationSlotDefaultResponse): response is WebAppsDeleteBackupConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetBackupConfigurationSlot200Response | WebAppsGetBackupConfigurationSlotDefaultResponse): response is WebAppsGetBackupConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAppSettingsKeyVaultReferencesSlot200Response | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse): response is WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAppSettingKeyVaultReferenceSlot200Response | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse): response is WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse): response is WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse): response is WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateConnectionStringsSlot200Response | WebAppsUpdateConnectionStringsSlotDefaultResponse): response is WebAppsUpdateConnectionStringsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConnectionStringsSlot200Response | WebAppsListConnectionStringsSlotDefaultResponse): response is WebAppsListConnectionStringsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDiagnosticLogsConfigurationSlot200Response | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse): response is WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateDiagnosticLogsConfigSlot200Response | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse): response is WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateMetadataSlot200Response | WebAppsUpdateMetadataSlotDefaultResponse): response is WebAppsUpdateMetadataSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListMetadataSlot200Response | WebAppsListMetadataSlotDefaultResponse): response is WebAppsListMetadataSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublishingCredentialsSlot200Response | WebAppsListPublishingCredentialsSlotDefaultResponse): response is WebAppsListPublishingCredentialsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSitePushSettingsSlot200Response | WebAppsUpdateSitePushSettingsSlotDefaultResponse): response is WebAppsUpdateSitePushSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSitePushSettingsSlot200Response | WebAppsListSitePushSettingsSlotDefaultResponse): response is WebAppsListSitePushSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetConfigurationSlot200Response | WebAppsGetConfigurationSlotDefaultResponse): response is WebAppsGetConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateConfigurationSlot200Response | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse): response is WebAppsCreateOrUpdateConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateConfigurationSlot200Response | WebAppsUpdateConfigurationSlotDefaultResponse): response is WebAppsUpdateConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConfigurationSnapshotInfoSlot200Response | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse): response is WebAppsListConfigurationSnapshotInfoSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetConfigurationSnapshotSlot200Response | WebAppsGetConfigurationSnapshotSlotDefaultResponse): response is WebAppsGetConfigurationSnapshotSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRecoverSiteConfigurationSnapshotSlot204Response | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse): response is WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetWebSiteContainerLogsSlot200Response | WebAppsGetWebSiteContainerLogsSlot204Response | WebAppsGetWebSiteContainerLogsSlotDefaultResponse): response is WebAppsGetWebSiteContainerLogsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetContainerLogsZipSlot200Response | WebAppsGetContainerLogsZipSlot204Response | WebAppsGetContainerLogsZipSlotDefaultResponse): response is WebAppsGetContainerLogsZipSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListContinuousWebJobsSlot200Response | WebAppsListContinuousWebJobsSlotDefaultResponse): response is WebAppsListContinuousWebJobsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetContinuousWebJobSlot200Response | WebAppsGetContinuousWebJobSlot404Response | WebAppsGetContinuousWebJobSlotDefaultResponse): response is WebAppsGetContinuousWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteContinuousWebJobSlot200Response | WebAppsDeleteContinuousWebJobSlot204Response | WebAppsDeleteContinuousWebJobSlotDefaultResponse): response is WebAppsDeleteContinuousWebJobSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartContinuousWebJobSlot200Response | WebAppsStartContinuousWebJobSlot404Response | WebAppsStartContinuousWebJobSlotDefaultResponse): response is WebAppsStartContinuousWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopContinuousWebJobSlot200Response | WebAppsStopContinuousWebJobSlot404Response | WebAppsStopContinuousWebJobSlotDefaultResponse): response is WebAppsStopContinuousWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDeploymentsSlot200Response | WebAppsListDeploymentsSlotDefaultResponse): response is WebAppsListDeploymentsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDeploymentSlot200Response | WebAppsGetDeploymentSlotDefaultResponse): response is WebAppsGetDeploymentSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateDeploymentSlot200Response | WebAppsCreateDeploymentSlotDefaultResponse): response is WebAppsCreateDeploymentSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteDeploymentSlot200Response | WebAppsDeleteDeploymentSlot204Response | WebAppsDeleteDeploymentSlotDefaultResponse): response is WebAppsDeleteDeploymentSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDeploymentLogSlot200Response | WebAppsListDeploymentLogSlotDefaultResponse): response is WebAppsListDeploymentLogSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDiscoverBackupSlot200Response | WebAppsDiscoverBackupSlotDefaultResponse): response is WebAppsDiscoverBackupSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDomainOwnershipIdentifiersSlot200Response | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse): response is WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDomainOwnershipIdentifierSlot200Response | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse): response is WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse): response is WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteDomainOwnershipIdentifierSlot200Response | WebAppsDeleteDomainOwnershipIdentifierSlot204Response | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse): response is WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateDomainOwnershipIdentifierSlot200Response | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse): response is WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMSDeployStatusSlot200Response | WebAppsGetMSDeployStatusSlotDefaultResponse): response is WebAppsGetMSDeployStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateMSDeployOperationSlot201Response | WebAppsCreateMSDeployOperationSlot409Response | WebAppsCreateMSDeployOperationSlotDefaultResponse): response is WebAppsCreateMSDeployOperationSlot409Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMSDeployLogSlot200Response | WebAppsGetMSDeployLogSlot404Response | WebAppsGetMSDeployLogSlotDefaultResponse): response is WebAppsGetMSDeployLogSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceFunctionsSlot200Response | WebAppsListInstanceFunctionsSlot404Response | WebAppsListInstanceFunctionsSlotDefaultResponse): response is WebAppsListInstanceFunctionsSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFunctionsAdminTokenSlot200Response | WebAppsGetFunctionsAdminTokenSlotDefaultResponse): response is WebAppsGetFunctionsAdminTokenSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceFunctionSlot200Response | WebAppsGetInstanceFunctionSlot404Response | WebAppsGetInstanceFunctionSlotDefaultResponse): response is WebAppsGetInstanceFunctionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateInstanceFunctionSlot201Response | WebAppsCreateInstanceFunctionSlotDefaultResponse): response is WebAppsCreateInstanceFunctionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteInstanceFunctionSlot204Response | WebAppsDeleteInstanceFunctionSlot404Response | WebAppsDeleteInstanceFunctionSlotDefaultResponse): response is WebAppsDeleteInstanceFunctionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateFunctionSecretSlot200Response | WebAppsCreateOrUpdateFunctionSecretSlot201Response | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse): response is WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteFunctionSecretSlot204Response | WebAppsDeleteFunctionSecretSlot404Response | WebAppsDeleteFunctionSecretSlotDefaultResponse): response is WebAppsDeleteFunctionSecretSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctionKeysSlot200Response | WebAppsListFunctionKeysSlotDefaultResponse): response is WebAppsListFunctionKeysSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctionSecretsSlot200Response | WebAppsListFunctionSecretsSlotDefaultResponse): response is WebAppsListFunctionSecretsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHostKeysSlot200Response | WebAppsListHostKeysSlotDefaultResponse): response is WebAppsListHostKeysSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSyncStatusSlot204Response | WebAppsListSyncStatusSlotDefaultResponse): response is WebAppsListSyncStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncFunctionsSlot204Response | WebAppsSyncFunctionsSlotDefaultResponse): response is WebAppsSyncFunctionsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHostSecretSlot200Response | WebAppsCreateOrUpdateHostSecretSlot201Response | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse): response is WebAppsCreateOrUpdateHostSecretSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHostSecretSlot204Response | WebAppsDeleteHostSecretSlot404Response | WebAppsDeleteHostSecretSlotDefaultResponse): response is WebAppsDeleteHostSecretSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHostNameBindingsSlot200Response | WebAppsListHostNameBindingsSlotDefaultResponse): response is WebAppsListHostNameBindingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetHostNameBindingSlot200Response | WebAppsGetHostNameBindingSlotDefaultResponse): response is WebAppsGetHostNameBindingSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHostNameBindingSlot200Response | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse): response is WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHostNameBindingSlot200Response | WebAppsDeleteHostNameBindingSlot204Response | WebAppsDeleteHostNameBindingSlotDefaultResponse): response is WebAppsDeleteHostNameBindingSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetHybridConnectionSlot200Response | WebAppsGetHybridConnectionSlotDefaultResponse): response is WebAppsGetHybridConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHybridConnectionSlot200Response | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse): response is WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHybridConnectionSlot200Response | WebAppsDeleteHybridConnectionSlot404Response | WebAppsDeleteHybridConnectionSlotDefaultResponse): response is WebAppsDeleteHybridConnectionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateHybridConnectionSlot200Response | WebAppsUpdateHybridConnectionSlotDefaultResponse): response is WebAppsUpdateHybridConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHybridConnectionsSlot200Response | WebAppsListHybridConnectionsSlotDefaultResponse): response is WebAppsListHybridConnectionsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListRelayServiceConnectionsSlot200Response | WebAppsListRelayServiceConnectionsSlotDefaultResponse): response is WebAppsListRelayServiceConnectionsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetRelayServiceConnectionSlot200Response | WebAppsGetRelayServiceConnectionSlotDefaultResponse): response is WebAppsGetRelayServiceConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse): response is WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteRelayServiceConnectionSlot200Response | WebAppsDeleteRelayServiceConnectionSlot404Response | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse): response is WebAppsDeleteRelayServiceConnectionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateRelayServiceConnectionSlot200Response | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse): response is WebAppsUpdateRelayServiceConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceIdentifiersSlot200Response | WebAppsListInstanceIdentifiersSlotDefaultResponse): response is WebAppsListInstanceIdentifiersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceInfoSlot200Response | WebAppsGetInstanceInfoSlotDefaultResponse): response is WebAppsGetInstanceInfoSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceMsDeployStatusSlot200Response | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse): response is WebAppsGetInstanceMsDeployStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateInstanceMSDeployOperationSlot201Response | WebAppsCreateInstanceMSDeployOperationSlot409Response | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse): response is WebAppsCreateInstanceMSDeployOperationSlot409Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceMSDeployLogSlot200Response | WebAppsGetInstanceMSDeployLogSlot404Response | WebAppsGetInstanceMSDeployLogSlotDefaultResponse): response is WebAppsGetInstanceMSDeployLogSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessesSlot200Response | WebAppsListInstanceProcessesSlot404Response | WebAppsListInstanceProcessesSlotDefaultResponse): response is WebAppsListInstanceProcessesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessSlot200Response | WebAppsGetInstanceProcessSlot404Response | WebAppsGetInstanceProcessSlotDefaultResponse): response is WebAppsGetInstanceProcessSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteInstanceProcessSlot204Response | WebAppsDeleteInstanceProcessSlot404Response | WebAppsDeleteInstanceProcessSlotDefaultResponse): response is WebAppsDeleteInstanceProcessSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessDumpSlot200Response | WebAppsGetInstanceProcessDumpSlot404Response | WebAppsGetInstanceProcessDumpSlotDefaultResponse): response is WebAppsGetInstanceProcessDumpSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessModulesSlot200Response | WebAppsListInstanceProcessModulesSlot404Response | WebAppsListInstanceProcessModulesSlotDefaultResponse): response is WebAppsListInstanceProcessModulesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessModuleSlot200Response | WebAppsGetInstanceProcessModuleSlot404Response | WebAppsGetInstanceProcessModuleSlotDefaultResponse): response is WebAppsGetInstanceProcessModuleSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessThreadsSlot200Response | WebAppsListInstanceProcessThreadsSlot404Response | WebAppsListInstanceProcessThreadsSlotDefaultResponse): response is WebAppsListInstanceProcessThreadsSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsIsCloneableSlot200Response | WebAppsIsCloneableSlotDefaultResponse): response is WebAppsIsCloneableSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSiteBackupsSlot200Response | WebAppsListSiteBackupsSlotDefaultResponse): response is WebAppsListSiteBackupsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSyncFunctionTriggersSlot200Response | WebAppsListSyncFunctionTriggersSlotDefaultResponse): response is WebAppsListSyncFunctionTriggersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMigrateMySqlStatusSlot200Response | WebAppsGetMigrateMySqlStatusSlotDefaultResponse): response is WebAppsGetMigrateMySqlStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSwiftVirtualNetworkConnectionSlot200Response | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse): response is WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse): response is WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSwiftVirtualNetworkSlot200Response | WebAppsDeleteSwiftVirtualNetworkSlot404Response | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse): response is WebAppsDeleteSwiftVirtualNetworkSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse): response is WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListNetworkFeaturesSlot200Response | WebAppsListNetworkFeaturesSlot404Response | WebAppsListNetworkFeaturesSlotDefaultResponse): response is WebAppsListNetworkFeaturesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraceOperationSlot200Response | WebAppsGetNetworkTraceOperationSlot202Response | WebAppsGetNetworkTraceOperationSlotDefaultResponse): response is WebAppsGetNetworkTraceOperationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartWebSiteNetworkTraceSlot200Response | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse): response is WebAppsStartWebSiteNetworkTraceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartWebSiteNetworkTraceOperationSlot200Response | WebAppsStartWebSiteNetworkTraceOperationSlot202Response | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse): response is WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopWebSiteNetworkTraceSlot200Response | WebAppsStopWebSiteNetworkTraceSlot204Response | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse): response is WebAppsStopWebSiteNetworkTraceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTracesSlot200Response | WebAppsGetNetworkTracesSlotDefaultResponse): response is WebAppsGetNetworkTracesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraceOperationSlotV2200Response | WebAppsGetNetworkTraceOperationSlotV2202Response | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse): response is WebAppsGetNetworkTraceOperationSlotV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTracesSlotV2200Response | WebAppsGetNetworkTracesSlotV2DefaultResponse): response is WebAppsGetNetworkTracesSlotV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGenerateNewSitePublishingPasswordSlot200Response | WebAppsGenerateNewSitePublishingPasswordSlot204Response | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse): response is WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPerfMonCountersSlot200Response | WebAppsListPerfMonCountersSlotDefaultResponse): response is WebAppsListPerfMonCountersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSitePhpErrorLogFlagSlot200Response | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse): response is WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPremierAddOnsSlot200Response | WebAppsListPremierAddOnsSlotDefaultResponse): response is WebAppsListPremierAddOnsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPremierAddOnSlot200Response | WebAppsGetPremierAddOnSlotDefaultResponse): response is WebAppsGetPremierAddOnSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsAddPremierAddOnSlot200Response | WebAppsAddPremierAddOnSlotDefaultResponse): response is WebAppsAddPremierAddOnSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePremierAddOnSlot200Response | WebAppsDeletePremierAddOnSlotDefaultResponse): response is WebAppsDeletePremierAddOnSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdatePremierAddOnSlot200Response | WebAppsUpdatePremierAddOnSlotDefaultResponse): response is WebAppsUpdatePremierAddOnSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateAccessSlot200Response | WebAppsGetPrivateAccessSlotDefaultResponse): response is WebAppsGetPrivateAccessSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsPutPrivateAccessVnetSlot200Response | WebAppsPutPrivateAccessVnetSlotDefaultResponse): response is WebAppsPutPrivateAccessVnetSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateEndpointConnectionListSlot200Response | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse): response is WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateEndpointConnectionSlot200Response | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse): response is WebAppsGetPrivateEndpointConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response | WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse): response is WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePrivateEndpointConnectionSlot200Response | WebAppsDeletePrivateEndpointConnectionSlot202Response | WebAppsDeletePrivateEndpointConnectionSlot204Response | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse): response is WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateLinkResourcesSlot200Response | WebAppsGetPrivateLinkResourcesSlotDefaultResponse): response is WebAppsGetPrivateLinkResourcesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessesSlot200Response | WebAppsListProcessesSlot404Response | WebAppsListProcessesSlotDefaultResponse): response is WebAppsListProcessesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessSlot200Response | WebAppsGetProcessSlot404Response | WebAppsGetProcessSlotDefaultResponse): response is WebAppsGetProcessSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteProcessSlot204Response | WebAppsDeleteProcessSlot404Response | WebAppsDeleteProcessSlotDefaultResponse): response is WebAppsDeleteProcessSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessDumpSlot200Response | WebAppsGetProcessDumpSlot404Response | WebAppsGetProcessDumpSlotDefaultResponse): response is WebAppsGetProcessDumpSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessModulesSlot200Response | WebAppsListProcessModulesSlot404Response | WebAppsListProcessModulesSlotDefaultResponse): response is WebAppsListProcessModulesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessModuleSlot200Response | WebAppsGetProcessModuleSlot404Response | WebAppsGetProcessModuleSlotDefaultResponse): response is WebAppsGetProcessModuleSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessThreadsSlot200Response | WebAppsListProcessThreadsSlot404Response | WebAppsListProcessThreadsSlotDefaultResponse): response is WebAppsListProcessThreadsSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublicCertificatesSlot200Response | WebAppsListPublicCertificatesSlotDefaultResponse): response is WebAppsListPublicCertificatesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPublicCertificateSlot200Response | WebAppsGetPublicCertificateSlotDefaultResponse): response is WebAppsGetPublicCertificateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdatePublicCertificateSlot200Response | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse): response is WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePublicCertificateSlot200Response | WebAppsDeletePublicCertificateSlot204Response | WebAppsDeletePublicCertificateSlotDefaultResponse): response is WebAppsDeletePublicCertificateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublishingProfileXmlWithSecretsSlot200Response | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse): response is WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsResetSlotConfigurationSlot200Response | WebAppsResetSlotConfigurationSlotDefaultResponse): response is WebAppsResetSlotConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestartSlot200Response | WebAppsRestartSlotDefaultResponse): response is WebAppsRestartSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreFromBackupBlobSlot200Response | WebAppsRestoreFromBackupBlobSlot202Response | WebAppsRestoreFromBackupBlobSlotDefaultResponse): response is WebAppsRestoreFromBackupBlobSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreFromDeletedAppSlot200Response | WebAppsRestoreFromDeletedAppSlot202Response | WebAppsRestoreFromDeletedAppSlotDefaultResponse): response is WebAppsRestoreFromDeletedAppSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreSnapshotSlot200Response | WebAppsRestoreSnapshotSlot202Response | WebAppsRestoreSnapshotSlotDefaultResponse): response is WebAppsRestoreSnapshotSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSiteExtensionsSlot200Response | WebAppsListSiteExtensionsSlot404Response | WebAppsListSiteExtensionsSlotDefaultResponse): response is WebAppsListSiteExtensionsSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteExtensionSlot200Response | WebAppsGetSiteExtensionSlot404Response | WebAppsGetSiteExtensionSlotDefaultResponse): response is WebAppsGetSiteExtensionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsInstallSiteExtensionSlot200Response | WebAppsInstallSiteExtensionSlot201Response | WebAppsInstallSiteExtensionSlot429Response | WebAppsInstallSiteExtensionSlotDefaultResponse): response is WebAppsInstallSiteExtensionSlot429Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSiteExtensionSlot204Response | WebAppsDeleteSiteExtensionSlot404Response | WebAppsDeleteSiteExtensionSlotDefaultResponse): response is WebAppsDeleteSiteExtensionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSlotDifferencesSlot200Response | WebAppsListSlotDifferencesSlotDefaultResponse): response is WebAppsListSlotDifferencesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSwapSlot200Response | WebAppsSwapSlot202Response | WebAppsSwapSlotDefaultResponse): response is WebAppsSwapSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSnapshotsSlot200Response | WebAppsListSnapshotsSlotDefaultResponse): response is WebAppsListSnapshotsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSnapshotsFromDRSecondarySlot200Response | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse): response is WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSourceControlSlot200Response | WebAppsGetSourceControlSlot201Response | WebAppsGetSourceControlSlot202Response | WebAppsGetSourceControlSlotDefaultResponse): response is WebAppsGetSourceControlSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateSourceControlSlot200Response | WebAppsCreateOrUpdateSourceControlSlot201Response | WebAppsCreateOrUpdateSourceControlSlot202Response | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse): response is WebAppsCreateOrUpdateSourceControlSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSourceControlSlot200Response | WebAppsDeleteSourceControlSlot202Response | WebAppsDeleteSourceControlSlot404Response | WebAppsDeleteSourceControlSlotDefaultResponse): response is WebAppsDeleteSourceControlSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSourceControlSlot200Response | WebAppsUpdateSourceControlSlot201Response | WebAppsUpdateSourceControlSlot202Response | WebAppsUpdateSourceControlSlotDefaultResponse): response is WebAppsUpdateSourceControlSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartSlot200Response | WebAppsStartSlotDefaultResponse): response is WebAppsStartSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartNetworkTraceSlot200Response | WebAppsStartNetworkTraceSlot202Response | WebAppsStartNetworkTraceSlotDefaultResponse): response is WebAppsStartNetworkTraceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopSlot200Response | WebAppsStopSlotDefaultResponse): response is WebAppsStopSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopNetworkTraceSlot200Response | WebAppsStopNetworkTraceSlot204Response | WebAppsStopNetworkTraceSlotDefaultResponse): response is WebAppsStopNetworkTraceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncRepositorySlot200Response | WebAppsSyncRepositorySlotDefaultResponse): response is WebAppsSyncRepositorySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncFunctionTriggersSlot204Response | WebAppsSyncFunctionTriggersSlotDefaultResponse): response is WebAppsSyncFunctionTriggersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListTriggeredWebJobsSlot200Response | WebAppsListTriggeredWebJobsSlotDefaultResponse): response is WebAppsListTriggeredWebJobsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetTriggeredWebJobSlot200Response | WebAppsGetTriggeredWebJobSlot404Response | WebAppsGetTriggeredWebJobSlotDefaultResponse): response is WebAppsGetTriggeredWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteTriggeredWebJobSlot200Response | WebAppsDeleteTriggeredWebJobSlot204Response | WebAppsDeleteTriggeredWebJobSlotDefaultResponse): response is WebAppsDeleteTriggeredWebJobSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListTriggeredWebJobHistorySlot200Response | WebAppsListTriggeredWebJobHistorySlot404Response | WebAppsListTriggeredWebJobHistorySlotDefaultResponse): response is WebAppsListTriggeredWebJobHistorySlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetTriggeredWebJobHistorySlot200Response | WebAppsGetTriggeredWebJobHistorySlot404Response | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse): response is WebAppsGetTriggeredWebJobHistorySlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRunTriggeredWebJobSlot200Response | WebAppsRunTriggeredWebJobSlot404Response | WebAppsRunTriggeredWebJobSlotDefaultResponse): response is WebAppsRunTriggeredWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListUsagesSlot200Response | WebAppsListUsagesSlotDefaultResponse): response is WebAppsListUsagesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListVnetConnectionsSlot200Response | WebAppsListVnetConnectionsSlotDefaultResponse): response is WebAppsListVnetConnectionsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetVnetConnectionSlot200Response | WebAppsGetVnetConnectionSlotDefaultResponse): response is WebAppsGetVnetConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateVnetConnectionSlot200Response | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse): response is WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteVnetConnectionSlot200Response | WebAppsDeleteVnetConnectionSlot404Response | WebAppsDeleteVnetConnectionSlotDefaultResponse): response is WebAppsDeleteVnetConnectionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateVnetConnectionSlot200Response | WebAppsUpdateVnetConnectionSlotDefaultResponse): response is WebAppsUpdateVnetConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetVnetConnectionGatewaySlot200Response | WebAppsGetVnetConnectionGatewaySlot404Response | WebAppsGetVnetConnectionGatewaySlotDefaultResponse): response is WebAppsGetVnetConnectionGatewaySlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse): response is WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateVnetConnectionGatewaySlot200Response | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse): response is WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListWebJobsSlot200Response | WebAppsListWebJobsSlotDefaultResponse): response is WebAppsListWebJobsSlotDefaultResponse; + // @public (undocumented) -export interface IdentityProviders { - apple?: Apple; - azureActiveDirectory?: AzureActiveDirectory; - azureStaticWebApps?: AzureStaticWebApps; - customOpenIdConnectProviders?: Record; - facebook?: Facebook; - gitHub?: GitHub; - google?: Google; - legacyMicrosoftAccount?: LegacyMicrosoftAccount; - twitter?: Twitter; -} +export function isUnexpected(response: WebAppsGetWebJobSlot200Response | WebAppsGetWebJobSlotDefaultResponse): response is WebAppsGetWebJobSlotDefaultResponse; // @public (undocumented) -export interface IdentityProvidersOutput { - apple?: AppleOutput; - azureActiveDirectory?: AzureActiveDirectoryOutput; - azureStaticWebApps?: AzureStaticWebAppsOutput; - customOpenIdConnectProviders?: Record; - facebook?: FacebookOutput; - gitHub?: GitHubOutput; - google?: GoogleOutput; - legacyMicrosoftAccount?: LegacyMicrosoftAccountOutput; - twitter?: TwitterOutput; -} +export function isUnexpected(response: WebAppsListSlotDifferencesFromProduction200Response | WebAppsListSlotDifferencesFromProductionDefaultResponse): response is WebAppsListSlotDifferencesFromProductionDefaultResponse; // @public (undocumented) -export interface InboundEnvironmentEndpointCollectionOutput { - nextLink?: string; - value: Array; -} +export function isUnexpected(response: WebAppsSwapSlotWithProduction200Response | WebAppsSwapSlotWithProduction202Response | WebAppsSwapSlotWithProductionDefaultResponse): response is WebAppsSwapSlotWithProductionDefaultResponse; // @public (undocumented) -export interface InboundEnvironmentEndpointOutput { - description?: string; - endpoints?: Array; - ports?: Array; -} +export function isUnexpected(response: WebAppsListSnapshots200Response | WebAppsListSnapshotsDefaultResponse): response is WebAppsListSnapshotsDefaultResponse; // @public (undocumented) -export interface Ingress { - allowInsecure?: boolean; - external?: boolean; - fqdn?: string; - targetPort?: number; - // (undocumented) - traffic?: Array; - transport?: "auto" | "http" | "http2"; -} +export function isUnexpected(response: WebAppsListSnapshotsFromDRSecondary200Response | WebAppsListSnapshotsFromDRSecondaryDefaultResponse): response is WebAppsListSnapshotsFromDRSecondaryDefaultResponse; // @public (undocumented) -export interface IngressOutput { - allowInsecure?: boolean; - external?: boolean; - fqdn?: string; - targetPort?: number; - // (undocumented) - traffic?: Array; - transport?: "auto" | "http" | "http2"; -} +export function isUnexpected(response: WebAppsGetSourceControl200Response | WebAppsGetSourceControl201Response | WebAppsGetSourceControl202Response | WebAppsGetSourceControlDefaultResponse): response is WebAppsGetSourceControlDefaultResponse; // @public (undocumented) -export interface IpSecurityRestriction { - action?: string; - description?: string; - headers?: Record>; - ipAddress?: string; - name?: string; - priority?: number; - subnetMask?: string; - subnetTrafficTag?: number; - tag?: "Default" | "XffProxy" | "ServiceTag"; - vnetSubnetResourceId?: string; - vnetTrafficTag?: number; -} +export function isUnexpected(response: WebAppsCreateOrUpdateSourceControl200Response | WebAppsCreateOrUpdateSourceControl201Response | WebAppsCreateOrUpdateSourceControl202Response | WebAppsCreateOrUpdateSourceControlDefaultResponse): response is WebAppsCreateOrUpdateSourceControlDefaultResponse; // @public (undocumented) -export interface IpSecurityRestrictionOutput { - action?: string; - description?: string; - headers?: Record>; - ipAddress?: string; - name?: string; - priority?: number; - subnetMask?: string; - subnetTrafficTag?: number; - tag?: "Default" | "XffProxy" | "ServiceTag"; - vnetSubnetResourceId?: string; - vnetTrafficTag?: number; -} +export function isUnexpected(response: WebAppsDeleteSourceControl200Response | WebAppsDeleteSourceControl202Response | WebAppsDeleteSourceControl404Response | WebAppsDeleteSourceControlDefaultResponse): response is WebAppsDeleteSourceControl404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSourceControl200Response | WebAppsUpdateSourceControl201Response | WebAppsUpdateSourceControl202Response | WebAppsUpdateSourceControlDefaultResponse): response is WebAppsUpdateSourceControlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStart200Response | WebAppsStartDefaultResponse): response is WebAppsStartDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartNetworkTrace200Response | WebAppsStartNetworkTrace202Response | WebAppsStartNetworkTraceDefaultResponse): response is WebAppsStartNetworkTraceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStop200Response | WebAppsStopDefaultResponse): response is WebAppsStopDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopNetworkTrace200Response | WebAppsStopNetworkTrace204Response | WebAppsStopNetworkTraceDefaultResponse): response is WebAppsStopNetworkTraceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncRepository200Response | WebAppsSyncRepositoryDefaultResponse): response is WebAppsSyncRepositoryDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncFunctionTriggers204Response | WebAppsSyncFunctionTriggersDefaultResponse): response is WebAppsSyncFunctionTriggersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListTriggeredWebJobs200Response | WebAppsListTriggeredWebJobsDefaultResponse): response is WebAppsListTriggeredWebJobsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetTriggeredWebJob200Response | WebAppsGetTriggeredWebJob404Response | WebAppsGetTriggeredWebJobDefaultResponse): response is WebAppsGetTriggeredWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteTriggeredWebJob200Response | WebAppsDeleteTriggeredWebJob204Response | WebAppsDeleteTriggeredWebJobDefaultResponse): response is WebAppsDeleteTriggeredWebJobDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListTriggeredWebJobHistory200Response | WebAppsListTriggeredWebJobHistory404Response | WebAppsListTriggeredWebJobHistoryDefaultResponse): response is WebAppsListTriggeredWebJobHistory404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetTriggeredWebJobHistory200Response | WebAppsGetTriggeredWebJobHistory404Response | WebAppsGetTriggeredWebJobHistoryDefaultResponse): response is WebAppsGetTriggeredWebJobHistory404Response; // @public (undocumented) +export function isUnexpected(response: WebAppsRunTriggeredWebJob200Response | WebAppsRunTriggeredWebJob404Response | WebAppsRunTriggeredWebJobDefaultResponse): response is WebAppsRunTriggeredWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListUsages200Response | WebAppsListUsagesDefaultResponse): response is WebAppsListUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListVnetConnections200Response | WebAppsListVnetConnectionsDefaultResponse): response is WebAppsListVnetConnectionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetVnetConnection200Response | WebAppsGetVnetConnectionDefaultResponse): response is WebAppsGetVnetConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateVnetConnection200Response | WebAppsCreateOrUpdateVnetConnectionDefaultResponse): response is WebAppsCreateOrUpdateVnetConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteVnetConnection200Response | WebAppsDeleteVnetConnection404Response | WebAppsDeleteVnetConnectionDefaultResponse): response is WebAppsDeleteVnetConnection404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateVnetConnection200Response | WebAppsUpdateVnetConnectionDefaultResponse): response is WebAppsUpdateVnetConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetVnetConnectionGateway200Response | WebAppsGetVnetConnectionGateway404Response | WebAppsGetVnetConnectionGatewayDefaultResponse): response is WebAppsGetVnetConnectionGateway404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateVnetConnectionGateway200Response | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse): response is WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateVnetConnectionGateway200Response | WebAppsUpdateVnetConnectionGatewayDefaultResponse): response is WebAppsUpdateVnetConnectionGatewayDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListWebJobs200Response | WebAppsListWebJobsDefaultResponse): response is WebAppsListWebJobsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetWebJob200Response | WebAppsGetWebJobDefaultResponse): response is WebAppsGetWebJobDefaultResponse; + +// @public export interface JwtClaimChecks { allowedClientApplications?: Array; allowedGroups?: Array; } -// @public (undocumented) +// @public export interface JwtClaimChecksOutput { allowedClientApplications?: Array; allowedGroups?: Array; } -// @public (undocumented) +// @public export interface KeyInfo { name?: string; value?: string; } -// @public (undocumented) +// @public export interface KeyInfoOutput { name?: string; value?: string; @@ -8226,115 +9887,104 @@ export interface KeyInfoOutput { // @public (undocumented) export interface KeyValuePairStringObject { - // (undocumented) - key?: string; - value?: Record; } // @public (undocumented) export interface KeyValuePairStringObjectOutput { // (undocumented) - key?: string; - value?: Record; + readonly key?: string; + readonly value?: Record; } -// @public (undocumented) +// @public export interface KubeEnvironment extends Resource { extendedLocation?: ExtendedLocation; properties?: KubeEnvironmentProperties; } -// @public (undocumented) +// @public export interface KubeEnvironmentCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface KubeEnvironmentOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; properties?: KubeEnvironmentPropertiesOutput; } -// @public (undocumented) +// @public export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { properties?: KubeEnvironmentPatchResourceProperties; } -// @public (undocumented) +// @public export interface KubeEnvironmentPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: KubeEnvironmentPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface KubeEnvironmentPatchResourceProperties { // (undocumented) aksResourceID?: string; appLogsConfiguration?: AppLogsConfiguration; arcConfiguration?: ArcConfiguration; containerAppsConfiguration?: ContainerAppsConfiguration; - defaultDomain?: string; - deploymentErrors?: string; internalLoadBalancerEnabled?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; staticIp?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentPatchResourcePropertiesOutput { // (undocumented) aksResourceID?: string; appLogsConfiguration?: AppLogsConfigurationOutput; arcConfiguration?: ArcConfigurationOutput; containerAppsConfiguration?: ContainerAppsConfigurationOutput; - defaultDomain?: string; - deploymentErrors?: string; + readonly defaultDomain?: string; + readonly deploymentErrors?: string; internalLoadBalancerEnabled?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; staticIp?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentProfile { id?: string; - name?: string; - type?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentProfileOutput { id?: string; - name?: string; - type?: string; + readonly name?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentProperties { // (undocumented) aksResourceID?: string; appLogsConfiguration?: AppLogsConfiguration; arcConfiguration?: ArcConfiguration; containerAppsConfiguration?: ContainerAppsConfiguration; - defaultDomain?: string; - deploymentErrors?: string; environmentType?: string; internalLoadBalancerEnabled?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; staticIp?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentPropertiesOutput { // (undocumented) aksResourceID?: string; appLogsConfiguration?: AppLogsConfigurationOutput; arcConfiguration?: ArcConfigurationOutput; containerAppsConfiguration?: ContainerAppsConfigurationOutput; - defaultDomain?: string; - deploymentErrors?: string; + readonly defaultDomain?: string; + readonly deploymentErrors?: string; environmentType?: string; internalLoadBalancerEnabled?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; staticIp?: string; } @@ -8360,11 +10010,11 @@ export interface KubeEnvironmentsCreateOrUpdateBodyParam { } // @public -export interface KubeEnvironmentsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface KubeEnvironmentsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8377,34 +10027,28 @@ export type KubeEnvironmentsCreateOrUpdateParameters = KubeEnvironmentsCreateOrU // @public export interface KubeEnvironmentsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface KubeEnvironmentsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface KubeEnvironmentsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface KubeEnvironmentsDeletedefaultResponse extends HttpResponse { +export interface KubeEnvironmentsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8412,10 +10056,10 @@ export type KubeEnvironmentsDeleteParameters = RequestParameters; // @public (undocumented) export interface KubeEnvironmentsGet { - delete(options?: KubeEnvironmentsDeleteParameters): Promise; - get(options?: KubeEnvironmentsGetParameters): Promise; - patch(options: KubeEnvironmentsUpdateParameters): Promise; - put(options: KubeEnvironmentsCreateOrUpdateParameters): Promise; + delete(options?: KubeEnvironmentsDeleteParameters): StreamableMethod; + get(options?: KubeEnvironmentsGetParameters): StreamableMethod; + patch(options: KubeEnvironmentsUpdateParameters): StreamableMethod; + put(options: KubeEnvironmentsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -8427,11 +10071,11 @@ export interface KubeEnvironmentsGet200Response extends HttpResponse { } // @public -export interface KubeEnvironmentsGetdefaultResponse extends HttpResponse { +export interface KubeEnvironmentsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8439,7 +10083,7 @@ export type KubeEnvironmentsGetParameters = RequestParameters; // @public (undocumented) export interface KubeEnvironmentsListByResourceGroup { - get(options?: KubeEnvironmentsListByResourceGroupParameters): Promise; + get(options?: KubeEnvironmentsListByResourceGroupParameters): StreamableMethod; } // @public @@ -8451,11 +10095,11 @@ export interface KubeEnvironmentsListByResourceGroup200Response extends HttpResp } // @public -export interface KubeEnvironmentsListByResourceGroupdefaultResponse extends HttpResponse { +export interface KubeEnvironmentsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8463,7 +10107,7 @@ export type KubeEnvironmentsListByResourceGroupParameters = RequestParameters; // @public (undocumented) export interface KubeEnvironmentsListBySubscription { - get(options?: KubeEnvironmentsListBySubscriptionParameters): Promise; + get(options?: KubeEnvironmentsListBySubscriptionParameters): StreamableMethod; } // @public @@ -8475,11 +10119,11 @@ export interface KubeEnvironmentsListBySubscription200Response extends HttpRespo } // @public -export interface KubeEnvironmentsListBySubscriptiondefaultResponse extends HttpResponse { +export interface KubeEnvironmentsListBySubscriptionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8507,11 +10151,11 @@ export interface KubeEnvironmentsUpdateBodyParam { } // @public -export interface KubeEnvironmentsUpdatedefaultResponse extends HttpResponse { +export interface KubeEnvironmentsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8522,7 +10166,7 @@ export interface KubeEnvironmentsUpdateMediaTypesParam { // @public (undocumented) export type KubeEnvironmentsUpdateParameters = KubeEnvironmentsUpdateMediaTypesParam & KubeEnvironmentsUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface LegacyMicrosoftAccount { enabled?: boolean; login?: LoginScopes; @@ -8530,7 +10174,7 @@ export interface LegacyMicrosoftAccount { validation?: AllowedAudiencesValidation; } -// @public (undocumented) +// @public export interface LegacyMicrosoftAccountOutput { enabled?: boolean; login?: LoginScopesOutput; @@ -8538,33 +10182,25 @@ export interface LegacyMicrosoftAccountOutput { validation?: AllowedAudiencesValidationOutput; } -// @public (undocumented) +// @public export interface LinuxJavaContainerSettings { - endOfLifeDate?: Date | string; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - java11Runtime?: string; - java8Runtime?: string; } -// @public (undocumented) +// @public export interface LinuxJavaContainerSettingsOutput { - endOfLifeDate?: string; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - java11Runtime?: string; - java8Runtime?: string; + readonly endOfLifeDate?: string; + readonly isAutoUpdate?: boolean; + readonly isDeprecated?: boolean; + readonly isEarlyAccess?: boolean; + readonly isHidden?: boolean; + readonly isPreview?: boolean; + readonly java11Runtime?: string; + readonly java8Runtime?: string; } // @public (undocumented) export interface ListBillingMeters { - get(options?: ListBillingMetersParameters): Promise; + get(options?: ListBillingMetersParameters): StreamableMethod; } // @public @@ -8576,11 +10212,11 @@ export interface ListBillingMeters200Response extends HttpResponse { } // @public -export interface ListBillingMetersdefaultResponse extends HttpResponse { +export interface ListBillingMetersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8600,7 +10236,7 @@ export interface ListBillingMetersQueryParamProperties { // @public (undocumented) export interface ListCustomHostNameSites { - get(options?: ListCustomHostNameSitesParameters): Promise; + get(options?: ListCustomHostNameSitesParameters): StreamableMethod; } // @public @@ -8612,11 +10248,11 @@ export interface ListCustomHostNameSites200Response extends HttpResponse { } // @public -export interface ListCustomHostNameSitesdefaultResponse extends HttpResponse { +export interface ListCustomHostNameSitesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8624,7 +10260,7 @@ export type ListCustomHostNameSitesParameters = RequestParameters; // @public (undocumented) export interface ListGeoRegions { - get(options?: ListGeoRegionsParameters): Promise; + get(options?: ListGeoRegionsParameters): StreamableMethod; } // @public @@ -8636,11 +10272,11 @@ export interface ListGeoRegions200Response extends HttpResponse { } // @public -export interface ListGeoRegionsdefaultResponse extends HttpResponse { +export interface ListGeoRegionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8662,7 +10298,7 @@ export interface ListGeoRegionsQueryParamProperties { // @public (undocumented) export interface ListPremierAddOnOffers { - get(options?: ListPremierAddOnOffersParameters): Promise; + get(options?: ListPremierAddOnOffersParameters): StreamableMethod; } // @public @@ -8674,11 +10310,11 @@ export interface ListPremierAddOnOffers200Response extends HttpResponse { } // @public -export interface ListPremierAddOnOffersdefaultResponse extends HttpResponse { +export interface ListPremierAddOnOffersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8686,7 +10322,7 @@ export type ListPremierAddOnOffersParameters = RequestParameters; // @public (undocumented) export interface ListSiteIdentifiersAssignedToHostName { - post(options: ListSiteIdentifiersAssignedToHostNameParameters): Promise; + post(options: ListSiteIdentifiersAssignedToHostNameParameters): StreamableMethod; } // @public @@ -8703,11 +10339,11 @@ export interface ListSiteIdentifiersAssignedToHostNameBodyParam { } // @public -export interface ListSiteIdentifiersAssignedToHostNamedefaultResponse extends HttpResponse { +export interface ListSiteIdentifiersAssignedToHostNameDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8720,7 +10356,7 @@ export type ListSiteIdentifiersAssignedToHostNameParameters = ListSiteIdentifier // @public (undocumented) export interface ListSkus { - get(options?: ListSkusParameters): Promise; + get(options?: ListSkusParameters): StreamableMethod; } // @public @@ -8732,11 +10368,11 @@ export interface ListSkus200Response extends HttpResponse { } // @public -export interface ListSkusdefaultResponse extends HttpResponse { +export interface ListSkusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8744,7 +10380,7 @@ export type ListSkusParameters = RequestParameters; // @public (undocumented) export interface ListSourceControls { - get(options?: ListSourceControlsParameters): Promise; + get(options?: ListSourceControlsParameters): StreamableMethod; } // @public @@ -8756,17 +10392,17 @@ export interface ListSourceControls200Response extends HttpResponse { } // @public -export interface ListSourceControlsdefaultResponse extends HttpResponse { +export interface ListSourceControlsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ListSourceControlsParameters = RequestParameters; -// @public (undocumented) +// @public export interface LocalizableStringOutput { localizedValue?: string; value?: string; @@ -8788,7 +10424,7 @@ export interface LogAnalyticsConfigurationOutput { sharedKey?: string; } -// @public (undocumented) +// @public export interface Login { allowedExternalRedirectUrls?: Array; cookieExpiration?: CookieExpiration; @@ -8798,7 +10434,7 @@ export interface Login { tokenStore?: TokenStore; } -// @public (undocumented) +// @public export interface LoginOutput { allowedExternalRedirectUrls?: Array; cookieExpiration?: CookieExpirationOutput; @@ -8808,27 +10444,27 @@ export interface LoginOutput { tokenStore?: TokenStoreOutput; } -// @public (undocumented) +// @public export interface LoginRoutes { logoutEndpoint?: string; } -// @public (undocumented) +// @public export interface LoginRoutesOutput { logoutEndpoint?: string; } -// @public (undocumented) +// @public export interface LoginScopes { scopes?: Array; } -// @public (undocumented) +// @public export interface LoginScopesOutput { scopes?: Array; } -// @public (undocumented) +// @public export interface LogSpecificationOutput { // (undocumented) blobDuration?: string; @@ -8840,23 +10476,21 @@ export interface LogSpecificationOutput { name?: string; } -// @public (undocumented) +// @public export interface ManagedServiceIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface ManagedServiceIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface MetricAvailabilityOutput { // (undocumented) blobDuration?: string; @@ -8864,7 +10498,7 @@ export interface MetricAvailabilityOutput { timeGrain?: string; } -// @public (undocumented) +// @public export interface MetricSpecificationOutput { // (undocumented) aggregationType?: string; @@ -8902,61 +10536,56 @@ export interface MetricSpecificationOutput { unit?: string; } -// @public (undocumented) +// @public export interface MigrateMySqlRequest extends ProxyOnlyResource { properties?: MigrateMySqlRequestProperties; } -// @public (undocumented) +// @public export interface MigrateMySqlRequestOutput extends ProxyOnlyResourceOutput { properties?: MigrateMySqlRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface MigrateMySqlRequestProperties { connectionString: string; migrationType: "LocalToRemote" | "RemoteToLocal"; } -// @public (undocumented) +// @public export interface MigrateMySqlRequestPropertiesOutput { connectionString: string; migrationType: "LocalToRemote" | "RemoteToLocal"; } -// @public (undocumented) +// @public export interface MigrateMySqlStatus extends ProxyOnlyResource { properties?: MigrateMySqlStatusProperties; } -// @public (undocumented) +// @public export interface MigrateMySqlStatusOutput extends ProxyOnlyResourceOutput { properties?: MigrateMySqlStatusPropertiesOutput; } -// @public (undocumented) +// @public export interface MigrateMySqlStatusProperties { - localMySqlEnabled?: boolean; - migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; - operationId?: string; } -// @public (undocumented) +// @public export interface MigrateMySqlStatusPropertiesOutput { - localMySqlEnabled?: boolean; - migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; - operationId?: string; + readonly localMySqlEnabled?: boolean; + readonly migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; + readonly operationId?: string; } // @public (undocumented) export interface Move { - post(options: MoveParameters): Promise; + post(options: MoveParameters): StreamableMethod; } // @public export interface Move204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -8967,11 +10596,11 @@ export interface MoveBodyParam { } // @public -export interface MovedefaultResponse extends HttpResponse { +export interface MoveDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8982,12 +10611,12 @@ export interface MoveMediaTypesParam { // @public (undocumented) export type MoveParameters = MoveMediaTypesParam & MoveBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface MSDeploy extends ProxyOnlyResource { properties?: MSDeployCore; } -// @public (undocumented) +// @public export interface MSDeployCore { appOffline?: boolean; connectionString?: string; @@ -8998,7 +10627,7 @@ export interface MSDeployCore { skipAppData?: boolean; } -// @public (undocumented) +// @public export interface MSDeployCoreOutput { appOffline?: boolean; connectionString?: string; @@ -9009,159 +10638,146 @@ export interface MSDeployCoreOutput { skipAppData?: boolean; } -// @public (undocumented) +// @public export interface MSDeployLog extends ProxyOnlyResource { properties?: MSDeployLogProperties; } -// @public (undocumented) +// @public export interface MSDeployLogEntry { - message?: string; - time?: Date | string; - type?: "Message" | "Warning" | "Error"; } -// @public (undocumented) +// @public export interface MSDeployLogEntryOutput { - message?: string; - time?: string; - type?: "Message" | "Warning" | "Error"; + readonly message?: string; + readonly time?: string; + readonly type?: "Message" | "Warning" | "Error"; } -// @public (undocumented) +// @public export interface MSDeployLogOutput extends ProxyOnlyResourceOutput { properties?: MSDeployLogPropertiesOutput; } -// @public (undocumented) +// @public export interface MSDeployLogProperties { - entries?: Array; } -// @public (undocumented) +// @public export interface MSDeployLogPropertiesOutput { - entries?: Array; + readonly entries?: Array; } -// @public (undocumented) +// @public export interface MSDeployOutput extends ProxyOnlyResourceOutput { properties?: MSDeployCoreOutput; } -// @public (undocumented) +// @public export interface MSDeployStatus extends ProxyOnlyResource { properties?: MSDeployStatusProperties; } -// @public (undocumented) +// @public export interface MSDeployStatusOutput extends ProxyOnlyResourceOutput { properties?: MSDeployStatusPropertiesOutput; } -// @public (undocumented) +// @public export interface MSDeployStatusProperties { - complete?: boolean; - deployer?: string; - endTime?: Date | string; - provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; - startTime?: Date | string; } -// @public (undocumented) -export interface MSDeployStatusPropertiesOutput { - complete?: boolean; - deployer?: string; - endTime?: string; - provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; - startTime?: string; +// @public +export interface MSDeployStatusPropertiesOutput { + readonly complete?: boolean; + readonly deployer?: string; + readonly endTime?: string; + readonly provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; + readonly startTime?: string; } -// @public (undocumented) +// @public export interface NameIdentifier { name?: string; } -// @public (undocumented) +// @public export interface NameIdentifierCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface NameIdentifierOutput { name?: string; } -// @public (undocumented) +// @public export interface NameValuePair { name?: string; value?: string; } -// @public (undocumented) +// @public export interface NameValuePairOutput { name?: string; value?: string; } -// @public (undocumented) +// @public export interface NetworkFeatures extends ProxyOnlyResource { properties?: NetworkFeaturesProperties; } -// @public (undocumented) +// @public export interface NetworkFeaturesOutput extends ProxyOnlyResourceOutput { properties?: NetworkFeaturesPropertiesOutput; } -// @public (undocumented) +// @public export interface NetworkFeaturesProperties { - hybridConnections?: Array; - hybridConnectionsV2?: Array; - virtualNetworkConnection?: VnetInfo; - virtualNetworkName?: string; } -// @public (undocumented) +// @public export interface NetworkFeaturesPropertiesOutput { - hybridConnections?: Array; - hybridConnectionsV2?: Array; - virtualNetworkConnection?: VnetInfoOutput; - virtualNetworkName?: string; + readonly hybridConnections?: Array; + readonly hybridConnectionsV2?: Array; + readonly virtualNetworkConnection?: VnetInfoOutput; + readonly virtualNetworkName?: string; } -// @public (undocumented) +// @public export interface NetworkTraceOutput { message?: string; path?: string; status?: string; } -// @public (undocumented) +// @public export interface Nonce { nonceExpirationInterval?: string; validateNonce?: boolean; } -// @public (undocumented) +// @public export interface NonceOutput { nonceExpirationInterval?: string; validateNonce?: boolean; } -// @public (undocumented) +// @public export interface OpenIdConnectClientCredential { clientSecretSettingName?: string; method?: "ClientSecretPost"; } -// @public (undocumented) +// @public export interface OpenIdConnectClientCredentialOutput { clientSecretSettingName?: string; method?: "ClientSecretPost"; } -// @public (undocumented) +// @public export interface OpenIdConnectConfig { authorizationEndpoint?: string; certificationUri?: string; @@ -9170,7 +10786,7 @@ export interface OpenIdConnectConfig { wellKnownOpenIdConfiguration?: string; } -// @public (undocumented) +// @public export interface OpenIdConnectConfigOutput { authorizationEndpoint?: string; certificationUri?: string; @@ -9179,33 +10795,33 @@ export interface OpenIdConnectConfigOutput { wellKnownOpenIdConfiguration?: string; } -// @public (undocumented) +// @public export interface OpenIdConnectLogin { nameClaimType?: string; scopes?: Array; } -// @public (undocumented) +// @public export interface OpenIdConnectLoginOutput { nameClaimType?: string; scopes?: Array; } -// @public (undocumented) +// @public export interface OpenIdConnectRegistration { clientCredential?: OpenIdConnectClientCredential; clientId?: string; openIdConnectConfiguration?: OpenIdConnectConfig; } -// @public (undocumented) +// @public export interface OpenIdConnectRegistrationOutput { clientCredential?: OpenIdConnectClientCredentialOutput; clientId?: string; openIdConnectConfiguration?: OpenIdConnectConfigOutput; } -// @public (undocumented) +// @public export interface OperationOutput { createdTime?: string; errors?: Array; @@ -9217,18 +10833,30 @@ export interface OperationOutput { status?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; } -// @public (undocumented) +// @public export interface OutboundEnvironmentEndpointCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface OutboundEnvironmentEndpointOutput { category?: string; endpoints?: Array; } +// @public +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator; + next(): Promise>; +} + +// @public +export interface PageSettings { + continuationToken?: string; +} + // @public export function paginate(client: Client, initialResponse: TResponse, options?: PagingOptions): PagedAsyncIterableIterator>; @@ -9244,27 +10872,27 @@ export interface PagingOptions { customGetPage?: GetPage[]>; } -// @public (undocumented) +// @public export interface PerfMonCounterCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PerfMonResponseOutput { code?: string; data?: PerfMonSetOutput; message?: string; } -// @public (undocumented) +// @public export interface PerfMonSampleOutput { instanceName?: string; time?: string; value?: number; } -// @public (undocumented) +// @public export interface PerfMonSetOutput { endTime?: string; name?: string; @@ -9273,28 +10901,28 @@ export interface PerfMonSetOutput { values?: Array; } -// @public (undocumented) +// @public export interface PremierAddOn extends Resource { properties?: PremierAddOnProperties; } -// @public (undocumented) +// @public export interface PremierAddOnOffer extends ProxyOnlyResource { properties?: PremierAddOnOfferProperties; } -// @public (undocumented) +// @public export interface PremierAddOnOfferCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PremierAddOnOfferOutput extends ProxyOnlyResourceOutput { properties?: PremierAddOnOfferPropertiesOutput; } -// @public (undocumented) +// @public export interface PremierAddOnOfferProperties { legalTermsUrl?: string; marketplaceOffer?: string; @@ -9308,7 +10936,7 @@ export interface PremierAddOnOfferProperties { webHostingPlanRestrictions?: "None" | "Free" | "Shared" | "Basic" | "Standard" | "Premium"; } -// @public (undocumented) +// @public export interface PremierAddOnOfferPropertiesOutput { legalTermsUrl?: string; marketplaceOffer?: string; @@ -9322,22 +10950,22 @@ export interface PremierAddOnOfferPropertiesOutput { webHostingPlanRestrictions?: "None" | "Free" | "Shared" | "Basic" | "Standard" | "Premium"; } -// @public (undocumented) +// @public export interface PremierAddOnOutput extends ResourceOutput { properties?: PremierAddOnPropertiesOutput; } -// @public (undocumented) +// @public export interface PremierAddOnPatchResource extends ProxyOnlyResource { properties?: PremierAddOnPatchResourceProperties; } -// @public (undocumented) +// @public export interface PremierAddOnPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: PremierAddOnPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface PremierAddOnPatchResourceProperties { marketplaceOffer?: string; marketplacePublisher?: string; @@ -9346,7 +10974,7 @@ export interface PremierAddOnPatchResourceProperties { vendor?: string; } -// @public (undocumented) +// @public export interface PremierAddOnPatchResourcePropertiesOutput { marketplaceOffer?: string; marketplacePublisher?: string; @@ -9355,7 +10983,7 @@ export interface PremierAddOnPatchResourcePropertiesOutput { vendor?: string; } -// @public (undocumented) +// @public export interface PremierAddOnProperties { marketplaceOffer?: string; marketplacePublisher?: string; @@ -9364,7 +10992,7 @@ export interface PremierAddOnProperties { vendor?: string; } -// @public (undocumented) +// @public export interface PremierAddOnPropertiesOutput { marketplaceOffer?: string; marketplacePublisher?: string; @@ -9373,41 +11001,41 @@ export interface PremierAddOnPropertiesOutput { vendor?: string; } -// @public (undocumented) +// @public export interface PrivateAccess extends ProxyOnlyResource { properties?: PrivateAccessProperties; } -// @public (undocumented) +// @public export interface PrivateAccessOutput extends ProxyOnlyResourceOutput { properties?: PrivateAccessPropertiesOutput; } -// @public (undocumented) +// @public export interface PrivateAccessProperties { enabled?: boolean; virtualNetworks?: Array; } -// @public (undocumented) +// @public export interface PrivateAccessPropertiesOutput { enabled?: boolean; virtualNetworks?: Array; } -// @public (undocumented) +// @public export interface PrivateAccessSubnet { key?: number; name?: string; } -// @public (undocumented) +// @public export interface PrivateAccessSubnetOutput { key?: number; name?: string; } -// @public (undocumented) +// @public export interface PrivateAccessVirtualNetwork { key?: number; name?: string; @@ -9415,7 +11043,7 @@ export interface PrivateAccessVirtualNetwork { subnets?: Array; } -// @public (undocumented) +// @public export interface PrivateAccessVirtualNetworkOutput { key?: number; name?: string; @@ -9425,45 +11053,45 @@ export interface PrivateAccessVirtualNetworkOutput { // @public (undocumented) export interface PrivateEndpointConnectionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionApprovalRequest { privateLinkServiceConnectionState?: PrivateLinkConnectionState; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionApprovalRequestOutput { privateLinkServiceConnectionState?: PrivateLinkConnectionStateOutput; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionApprovalRequestResource extends ProxyOnlyResource { properties?: PrivateLinkConnectionApprovalRequest; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionApprovalRequestResourceOutput extends ProxyOnlyResourceOutput { properties?: PrivateLinkConnectionApprovalRequestOutput; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionState { actionsRequired?: string; description?: string; status?: string; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionStateOutput { actionsRequired?: string; description?: string; status?: string; } -// @public (undocumented) +// @public export interface PrivateLinkResourceOutput { // (undocumented) id: string; @@ -9473,36 +11101,36 @@ export interface PrivateLinkResourceOutput { type: string; } -// @public (undocumented) +// @public export interface PrivateLinkResourcePropertiesOutput { - groupId?: string; - requiredMembers?: Array; - requiredZoneNames?: Array; + readonly groupId?: string; + readonly requiredMembers?: Array; + readonly requiredZoneNames?: Array; } -// @public (undocumented) +// @public export interface PrivateLinkResourcesWrapperOutput { // (undocumented) value: Array; } -// @public (undocumented) +// @public export interface ProcessInfo extends ProxyOnlyResource { properties?: ProcessInfoProperties; } -// @public (undocumented) +// @public export interface ProcessInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ProcessInfoOutput extends ProxyOnlyResourceOutput { properties?: ProcessInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface ProcessInfoProperties { children?: Array; command_line?: string; @@ -9512,7 +11140,6 @@ export interface ProcessInfoProperties { file_name?: string; handle_count?: number; href?: string; - identifier?: number; iis_profile_timeout_in_seconds?: number; is_iis_profile_running?: boolean; is_profile_running?: boolean; @@ -9542,7 +11169,7 @@ export interface ProcessInfoProperties { working_set?: number; } -// @public (undocumented) +// @public export interface ProcessInfoPropertiesOutput { children?: Array; command_line?: string; @@ -9552,7 +11179,7 @@ export interface ProcessInfoPropertiesOutput { file_name?: string; handle_count?: number; href?: string; - identifier?: number; + readonly identifier?: number; iis_profile_timeout_in_seconds?: number; is_iis_profile_running?: boolean; is_profile_running?: boolean; @@ -9582,23 +11209,23 @@ export interface ProcessInfoPropertiesOutput { working_set?: number; } -// @public (undocumented) +// @public export interface ProcessModuleInfo extends ProxyOnlyResource { properties?: ProcessModuleInfoProperties; } -// @public (undocumented) +// @public export interface ProcessModuleInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ProcessModuleInfoOutput extends ProxyOnlyResourceOutput { properties?: ProcessModuleInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface ProcessModuleInfoProperties { base_address?: string; file_description?: string; @@ -9613,7 +11240,7 @@ export interface ProcessModuleInfoProperties { product_version?: string; } -// @public (undocumented) +// @public export interface ProcessModuleInfoPropertiesOutput { base_address?: string; file_description?: string; @@ -9628,28 +11255,27 @@ export interface ProcessModuleInfoPropertiesOutput { product_version?: string; } -// @public (undocumented) +// @public export interface ProcessThreadInfo extends ProxyOnlyResource { properties?: ProcessThreadInfoProperties; } -// @public (undocumented) +// @public export interface ProcessThreadInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ProcessThreadInfoOutput extends ProxyOnlyResourceOutput { properties?: ProcessThreadInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface ProcessThreadInfoProperties { base_priority?: number; current_priority?: number; href?: string; - identifier?: number; priority_level?: string; process?: string; start_address?: string; @@ -9660,12 +11286,12 @@ export interface ProcessThreadInfoProperties { wait_reason?: string; } -// @public (undocumented) +// @public export interface ProcessThreadInfoPropertiesOutput { base_priority?: number; current_priority?: number; href?: string; - identifier?: number; + readonly identifier?: number; priority_level?: string; process?: string; start_address?: string; @@ -9678,7 +11304,7 @@ export interface ProcessThreadInfoPropertiesOutput { // @public (undocumented) export interface ProviderGetAvailableStacks { - get(options?: ProviderGetAvailableStacksParameters): Promise; + get(options?: ProviderGetAvailableStacksParameters): StreamableMethod; } // @public @@ -9690,16 +11316,16 @@ export interface ProviderGetAvailableStacks200Response extends HttpResponse { } // @public -export interface ProviderGetAvailableStacksdefaultResponse extends HttpResponse { +export interface ProviderGetAvailableStacksDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface ProviderGetAvailableStacksOnPrem { - get(options?: ProviderGetAvailableStacksOnPremParameters): Promise; + get(options?: ProviderGetAvailableStacksOnPremParameters): StreamableMethod; } // @public @@ -9711,11 +11337,11 @@ export interface ProviderGetAvailableStacksOnPrem200Response extends HttpRespons } // @public -export interface ProviderGetAvailableStacksOnPremdefaultResponse extends HttpResponse { +export interface ProviderGetAvailableStacksOnPremDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -9750,7 +11376,7 @@ export interface ProviderGetAvailableStacksQueryParamProperties { // @public (undocumented) export interface ProviderGetFunctionAppStacks { - get(options?: ProviderGetFunctionAppStacksParameters): Promise; + get(options?: ProviderGetFunctionAppStacksParameters): StreamableMethod; } // @public @@ -9762,16 +11388,16 @@ export interface ProviderGetFunctionAppStacks200Response extends HttpResponse { } // @public -export interface ProviderGetFunctionAppStacksdefaultResponse extends HttpResponse { +export interface ProviderGetFunctionAppStacksDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface ProviderGetFunctionAppStacksForLocation { - get(options?: ProviderGetFunctionAppStacksForLocationParameters): Promise; + get(options?: ProviderGetFunctionAppStacksForLocationParameters): StreamableMethod; } // @public @@ -9783,11 +11409,11 @@ export interface ProviderGetFunctionAppStacksForLocation200Response extends Http } // @public -export interface ProviderGetFunctionAppStacksForLocationdefaultResponse extends HttpResponse { +export interface ProviderGetFunctionAppStacksForLocationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -9820,7 +11446,7 @@ export interface ProviderGetFunctionAppStacksQueryParamProperties { // @public (undocumented) export interface ProviderGetWebAppStacks { - get(options?: ProviderGetWebAppStacksParameters): Promise; + get(options?: ProviderGetWebAppStacksParameters): StreamableMethod; } // @public @@ -9832,16 +11458,16 @@ export interface ProviderGetWebAppStacks200Response extends HttpResponse { } // @public -export interface ProviderGetWebAppStacksdefaultResponse extends HttpResponse { +export interface ProviderGetWebAppStacksDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface ProviderGetWebAppStacksForLocation { - get(options?: ProviderGetWebAppStacksForLocationParameters): Promise; + get(options?: ProviderGetWebAppStacksForLocationParameters): StreamableMethod; } // @public @@ -9853,11 +11479,11 @@ export interface ProviderGetWebAppStacksForLocation200Response extends HttpRespo } // @public -export interface ProviderGetWebAppStacksForLocationdefaultResponse extends HttpResponse { +export interface ProviderGetWebAppStacksForLocationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -9890,7 +11516,7 @@ export interface ProviderGetWebAppStacksQueryParamProperties { // @public (undocumented) export interface ProviderListOperations { - get(options?: ProviderListOperationsParameters): Promise; + get(options?: ProviderListOperationsParameters): StreamableMethod; } // @public @@ -9902,79 +11528,75 @@ export interface ProviderListOperations200Response extends HttpResponse { } // @public -export interface ProviderListOperationsdefaultResponse extends HttpResponse { +export interface ProviderListOperationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ProviderListOperationsParameters = RequestParameters; -// @public (undocumented) +// @public export interface ProxyOnlyResource { - id?: string; kind?: string; - name?: string; - type?: string; } -// @public (undocumented) +// @public export interface ProxyOnlyResourceOutput { - id?: string; + readonly id?: string; kind?: string; - name?: string; - type?: string; + readonly name?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface PublicCertificate extends ProxyOnlyResource { properties?: PublicCertificateProperties; } -// @public (undocumented) +// @public export interface PublicCertificateCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PublicCertificateOutput extends ProxyOnlyResourceOutput { properties?: PublicCertificatePropertiesOutput; } -// @public (undocumented) +// @public export interface PublicCertificateProperties { blob?: string; publicCertificateLocation?: "CurrentUserMy" | "LocalMachineMy" | "Unknown"; - thumbprint?: string; } -// @public (undocumented) +// @public export interface PublicCertificatePropertiesOutput { blob?: string; publicCertificateLocation?: "CurrentUserMy" | "LocalMachineMy" | "Unknown"; - thumbprint?: string; + readonly thumbprint?: string; } -// @public (undocumented) +// @public export interface PublishingCredentialsPoliciesCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PushSettings extends ProxyOnlyResource { properties?: PushSettingsProperties; } -// @public (undocumented) +// @public export interface PushSettingsOutput extends ProxyOnlyResourceOutput { properties?: PushSettingsPropertiesOutput; } -// @public (undocumented) +// @public export interface PushSettingsProperties { dynamicTagsJson?: string; isPushEnabled: boolean; @@ -9982,7 +11604,7 @@ export interface PushSettingsProperties { tagWhitelistJson?: string; } -// @public (undocumented) +// @public export interface PushSettingsPropertiesOutput { dynamicTagsJson?: string; isPushEnabled: boolean; @@ -9990,45 +11612,45 @@ export interface PushSettingsPropertiesOutput { tagWhitelistJson?: string; } -// @public (undocumented) +// @public export interface QueryUtterancesResult { sampleUtterance?: SampleUtterance; score?: number; } -// @public (undocumented) +// @public export interface QueryUtterancesResultOutput { sampleUtterance?: SampleUtteranceOutput; score?: number; } -// @public (undocumented) +// @public export interface QueryUtterancesResults { query?: string; results?: Array; } -// @public (undocumented) +// @public export interface QueryUtterancesResultsOutput { query?: string; results?: Array; } -// @public (undocumented) +// @public export interface QueueScaleRule { auth?: Array; queueLength?: number; queueName?: string; } -// @public (undocumented) +// @public export interface QueueScaleRuleOutput { auth?: Array; queueLength?: number; queueName?: string; } -// @public (undocumented) +// @public export interface RampUpRule { actionHostName?: string; changeDecisionCallbackUrl?: string; @@ -10040,7 +11662,7 @@ export interface RampUpRule { reroutePercentage?: number; } -// @public (undocumented) +// @public export interface RampUpRuleOutput { actionHostName?: string; changeDecisionCallbackUrl?: string; @@ -10052,27 +11674,26 @@ export interface RampUpRuleOutput { reroutePercentage?: number; } -// @public (undocumented) +// @public export interface Recommendation extends ProxyOnlyResource { properties?: RecommendationProperties; } -// @public (undocumented) +// @public export interface RecommendationCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface RecommendationOutput extends ProxyOnlyResourceOutput { properties?: RecommendationPropertiesOutput; } -// @public (undocumented) +// @public export interface RecommendationProperties { actionName?: string; bladeName?: string; - categoryTags?: Array; channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; creationTime?: Date | string; displayName?: string; @@ -10095,11 +11716,11 @@ export interface RecommendationProperties { states?: Array; } -// @public (undocumented) +// @public export interface RecommendationPropertiesOutput { actionName?: string; bladeName?: string; - categoryTags?: Array; + readonly categoryTags?: Array; channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; creationTime?: string; displayName?: string; @@ -10122,21 +11743,20 @@ export interface RecommendationPropertiesOutput { states?: Array; } -// @public (undocumented) +// @public export interface RecommendationRule extends ProxyOnlyResource { properties?: RecommendationRuleProperties; } -// @public (undocumented) +// @public export interface RecommendationRuleOutput extends ProxyOnlyResourceOutput { properties?: RecommendationRulePropertiesOutput; } -// @public (undocumented) +// @public export interface RecommendationRuleProperties { actionName?: string; bladeName?: string; - categoryTags?: Array; channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; description?: string; displayName?: string; @@ -10149,11 +11769,11 @@ export interface RecommendationRuleProperties { recommendationName?: string; } -// @public (undocumented) +// @public export interface RecommendationRulePropertiesOutput { actionName?: string; bladeName?: string; - categoryTags?: Array; + readonly categoryTags?: Array; channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; description?: string; displayName?: string; @@ -10168,23 +11788,21 @@ export interface RecommendationRulePropertiesOutput { // @public (undocumented) export interface RecommendationsDisableAllForHostingEnvironment { - post(options: RecommendationsDisableAllForHostingEnvironmentParameters): Promise; + post(options: RecommendationsDisableAllForHostingEnvironmentParameters): StreamableMethod; } // @public export interface RecommendationsDisableAllForHostingEnvironment204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsDisableAllForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsDisableAllForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10203,23 +11821,21 @@ export interface RecommendationsDisableAllForHostingEnvironmentQueryParamPropert // @public (undocumented) export interface RecommendationsDisableAllForWebApp { - post(options?: RecommendationsDisableAllForWebAppParameters): Promise; + post(options?: RecommendationsDisableAllForWebAppParameters): StreamableMethod; } // @public export interface RecommendationsDisableAllForWebApp204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsDisableAllForWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsDisableAllForWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10227,23 +11843,21 @@ export type RecommendationsDisableAllForWebAppParameters = RequestParameters; // @public (undocumented) export interface RecommendationsDisableRecommendationForHostingEnvironment { - post(options: RecommendationsDisableRecommendationForHostingEnvironmentParameters): Promise; + post(options: RecommendationsDisableRecommendationForHostingEnvironmentParameters): StreamableMethod; } // @public export interface RecommendationsDisableRecommendationForHostingEnvironment200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface RecommendationsDisableRecommendationForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10262,23 +11876,21 @@ export interface RecommendationsDisableRecommendationForHostingEnvironmentQueryP // @public (undocumented) export interface RecommendationsDisableRecommendationForSite { - post(options?: RecommendationsDisableRecommendationForSiteParameters): Promise; + post(options?: RecommendationsDisableRecommendationForSiteParameters): StreamableMethod; } // @public export interface RecommendationsDisableRecommendationForSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface RecommendationsDisableRecommendationForSitedefaultResponse extends HttpResponse { +export interface RecommendationsDisableRecommendationForSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10286,23 +11898,21 @@ export type RecommendationsDisableRecommendationForSiteParameters = RequestParam // @public (undocumented) export interface RecommendationsDisableRecommendationForSubscription { - post(options?: RecommendationsDisableRecommendationForSubscriptionParameters): Promise; + post(options?: RecommendationsDisableRecommendationForSubscriptionParameters): StreamableMethod; } // @public export interface RecommendationsDisableRecommendationForSubscription200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface RecommendationsDisableRecommendationForSubscriptiondefaultResponse extends HttpResponse { +export interface RecommendationsDisableRecommendationForSubscriptionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10310,7 +11920,7 @@ export type RecommendationsDisableRecommendationForSubscriptionParameters = Requ // @public (undocumented) export interface RecommendationsGetRuleDetailsByHostingEnvironment { - get(options?: RecommendationsGetRuleDetailsByHostingEnvironmentParameters): Promise; + get(options?: RecommendationsGetRuleDetailsByHostingEnvironmentParameters): StreamableMethod; } // @public @@ -10322,11 +11932,11 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironment200Response ex } // @public -export interface RecommendationsGetRuleDetailsByHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10346,7 +11956,7 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironmentQueryParamProp // @public (undocumented) export interface RecommendationsGetRuleDetailsByWebApp { - get(options?: RecommendationsGetRuleDetailsByWebAppParameters): Promise; + get(options?: RecommendationsGetRuleDetailsByWebAppParameters): StreamableMethod; } // @public @@ -10358,11 +11968,11 @@ export interface RecommendationsGetRuleDetailsByWebApp200Response extends HttpRe } // @public -export interface RecommendationsGetRuleDetailsByWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsGetRuleDetailsByWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10382,7 +11992,7 @@ export interface RecommendationsGetRuleDetailsByWebAppQueryParamProperties { // @public (undocumented) export interface RecommendationsList { - get(options?: RecommendationsListParameters): Promise; + get(options?: RecommendationsListParameters): StreamableMethod; } // @public @@ -10394,16 +12004,16 @@ export interface RecommendationsList200Response extends HttpResponse { } // @public -export interface RecommendationsListdefaultResponse extends HttpResponse { +export interface RecommendationsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface RecommendationsListHistoryForHostingEnvironment { - get(options?: RecommendationsListHistoryForHostingEnvironmentParameters): Promise; + get(options?: RecommendationsListHistoryForHostingEnvironmentParameters): StreamableMethod; } // @public @@ -10415,11 +12025,11 @@ export interface RecommendationsListHistoryForHostingEnvironment200Response exte } // @public -export interface RecommendationsListHistoryForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsListHistoryForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10439,7 +12049,7 @@ export interface RecommendationsListHistoryForHostingEnvironmentQueryParamProper // @public (undocumented) export interface RecommendationsListHistoryForWebApp { - get(options?: RecommendationsListHistoryForWebAppParameters): Promise; + get(options?: RecommendationsListHistoryForWebAppParameters): StreamableMethod; } // @public @@ -10451,11 +12061,11 @@ export interface RecommendationsListHistoryForWebApp200Response extends HttpResp } // @public -export interface RecommendationsListHistoryForWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsListHistoryForWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10490,7 +12100,7 @@ export interface RecommendationsListQueryParamProperties { // @public (undocumented) export interface RecommendationsListRecommendedRulesForHostingEnvironment { - get(options?: RecommendationsListRecommendedRulesForHostingEnvironmentParameters): Promise; + get(options?: RecommendationsListRecommendedRulesForHostingEnvironmentParameters): StreamableMethod; } // @public @@ -10502,11 +12112,11 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironment200Resp } // @public -export interface RecommendationsListRecommendedRulesForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10526,7 +12136,7 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironmentQueryPa // @public (undocumented) export interface RecommendationsListRecommendedRulesForWebApp { - get(options?: RecommendationsListRecommendedRulesForWebAppParameters): Promise; + get(options?: RecommendationsListRecommendedRulesForWebAppParameters): StreamableMethod; } // @public @@ -10538,11 +12148,11 @@ export interface RecommendationsListRecommendedRulesForWebApp200Response extends } // @public -export interface RecommendationsListRecommendedRulesForWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsListRecommendedRulesForWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10562,44 +12172,40 @@ export interface RecommendationsListRecommendedRulesForWebAppQueryParamPropertie // @public (undocumented) export interface RecommendationsResetAllFilters { - post(options?: RecommendationsResetAllFiltersParameters): Promise; + post(options?: RecommendationsResetAllFiltersParameters): StreamableMethod; } // @public export interface RecommendationsResetAllFilters204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsResetAllFiltersdefaultResponse extends HttpResponse { +export interface RecommendationsResetAllFiltersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface RecommendationsResetAllFiltersForHostingEnvironment { - post(options: RecommendationsResetAllFiltersForHostingEnvironmentParameters): Promise; + post(options: RecommendationsResetAllFiltersForHostingEnvironmentParameters): StreamableMethod; } // @public export interface RecommendationsResetAllFiltersForHostingEnvironment204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsResetAllFiltersForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10618,23 +12224,21 @@ export interface RecommendationsResetAllFiltersForHostingEnvironmentQueryParamPr // @public (undocumented) export interface RecommendationsResetAllFiltersForWebApp { - post(options?: RecommendationsResetAllFiltersForWebAppParameters): Promise; + post(options?: RecommendationsResetAllFiltersForWebAppParameters): StreamableMethod; } // @public export interface RecommendationsResetAllFiltersForWebApp204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsResetAllFiltersForWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsResetAllFiltersForWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10643,31 +12247,31 @@ export type RecommendationsResetAllFiltersForWebAppParameters = RequestParameter // @public (undocumented) export type RecommendationsResetAllFiltersParameters = RequestParameters; -// @public (undocumented) +// @public export interface RegistryCredentials { passwordSecretRef?: string; server?: string; username?: string; } -// @public (undocumented) +// @public export interface RegistryCredentialsOutput { passwordSecretRef?: string; server?: string; username?: string; } -// @public (undocumented) +// @public export interface ReissueCertificateOrderRequest extends ProxyOnlyResource { properties?: ReissueCertificateOrderRequestProperties; } -// @public (undocumented) +// @public export interface ReissueCertificateOrderRequestOutput extends ProxyOnlyResourceOutput { properties?: ReissueCertificateOrderRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface ReissueCertificateOrderRequestProperties { csr?: string; delayExistingRevokeInHours?: number; @@ -10675,7 +12279,7 @@ export interface ReissueCertificateOrderRequestProperties { keySize?: number; } -// @public (undocumented) +// @public export interface ReissueCertificateOrderRequestPropertiesOutput { csr?: string; delayExistingRevokeInHours?: number; @@ -10683,17 +12287,17 @@ export interface ReissueCertificateOrderRequestPropertiesOutput { keySize?: number; } -// @public (undocumented) +// @public export interface RelayServiceConnectionEntity extends ProxyOnlyResource { properties?: RelayServiceConnectionEntityProperties; } -// @public (undocumented) +// @public export interface RelayServiceConnectionEntityOutput extends ProxyOnlyResourceOutput { properties?: RelayServiceConnectionEntityPropertiesOutput; } -// @public (undocumented) +// @public export interface RelayServiceConnectionEntityProperties { // (undocumented) biztalkUri?: string; @@ -10711,7 +12315,7 @@ export interface RelayServiceConnectionEntityProperties { resourceType?: string; } -// @public (undocumented) +// @public export interface RelayServiceConnectionEntityPropertiesOutput { // (undocumented) biztalkUri?: string; @@ -10729,142 +12333,135 @@ export interface RelayServiceConnectionEntityPropertiesOutput { resourceType?: string; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnection extends ProxyOnlyResource { properties?: RemotePrivateEndpointConnectionProperties; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionARMResource extends ProxyOnlyResource { properties?: RemotePrivateEndpointConnectionARMResourceProperties; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionARMResourceOutput extends ProxyOnlyResourceOutput { properties?: RemotePrivateEndpointConnectionARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionARMResourceProperties { ipAddresses?: Array; privateEndpoint?: ArmIdWrapper; privateLinkServiceConnectionState?: PrivateLinkConnectionState; - // (undocumented) - provisioningState?: string; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionARMResourcePropertiesOutput { ipAddresses?: Array; privateEndpoint?: ArmIdWrapperOutput; privateLinkServiceConnectionState?: PrivateLinkConnectionStateOutput; // (undocumented) - provisioningState?: string; + readonly provisioningState?: string; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionOutput extends ProxyOnlyResourceOutput { properties?: RemotePrivateEndpointConnectionPropertiesOutput; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionProperties { ipAddresses?: Array; privateEndpoint?: ArmIdWrapper; privateLinkServiceConnectionState?: PrivateLinkConnectionState; - // (undocumented) - provisioningState?: string; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionPropertiesOutput { ipAddresses?: Array; privateEndpoint?: ArmIdWrapperOutput; privateLinkServiceConnectionState?: PrivateLinkConnectionStateOutput; // (undocumented) - provisioningState?: string; + readonly provisioningState?: string; } -// @public (undocumented) +// @public export interface Rendering { description?: string; title?: string; type?: "NoGraph" | "Table" | "TimeSeries" | "TimeSeriesPerInstance" | "PieChart" | "DataSummary" | "Email" | "Insights" | "DynamicInsight" | "Markdown" | "Detector" | "DropDown" | "Card" | "Solution" | "Guage" | "Form" | "ChangeSets" | "ChangeAnalysisOnboarding" | "ChangesView" | "AppInsight" | "DependencyGraph" | "DownTime" | "SummaryCard" | "SearchComponent" | "AppInsightEnablement"; } -// @public (undocumented) +// @public export interface RenderingOutput { description?: string; title?: string; type?: "NoGraph" | "Table" | "TimeSeries" | "TimeSeriesPerInstance" | "PieChart" | "DataSummary" | "Email" | "Insights" | "DynamicInsight" | "Markdown" | "Detector" | "DropDown" | "Card" | "Solution" | "Guage" | "Form" | "ChangeSets" | "ChangeAnalysisOnboarding" | "ChangesView" | "AppInsight" | "DependencyGraph" | "DownTime" | "SummaryCard" | "SearchComponent" | "AppInsightEnablement"; } -// @public (undocumented) +// @public export interface RenewCertificateOrderRequest extends ProxyOnlyResource { properties?: RenewCertificateOrderRequestProperties; } -// @public (undocumented) +// @public export interface RenewCertificateOrderRequestOutput extends ProxyOnlyResourceOutput { properties?: RenewCertificateOrderRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface RenewCertificateOrderRequestProperties { csr?: string; isPrivateKeyExternal?: boolean; keySize?: number; } -// @public (undocumented) +// @public export interface RenewCertificateOrderRequestPropertiesOutput { csr?: string; isPrivateKeyExternal?: boolean; keySize?: number; } -// @public (undocumented) +// @public export interface RequestsBasedTrigger { count?: number; timeInterval?: string; } -// @public (undocumented) +// @public export interface RequestsBasedTriggerOutput { count?: number; timeInterval?: string; } -// @public (undocumented) +// @public export interface Resource { - id?: string; kind?: string; location: string; - name?: string; tags?: Record; - type?: string; } -// @public (undocumented) +// @public export interface ResourceCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ResourceHealthMetadata extends ProxyOnlyResource { properties?: ResourceHealthMetadataProperties; } -// @public (undocumented) +// @public export interface ResourceHealthMetadataCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } // @public (undocumented) export interface ResourceHealthMetadataGetBySite { - get(options?: ResourceHealthMetadataGetBySiteParameters): Promise; + get(options?: ResourceHealthMetadataGetBySiteParameters): StreamableMethod; } // @public @@ -10876,11 +12473,11 @@ export interface ResourceHealthMetadataGetBySite200Response extends HttpResponse } // @public -export interface ResourceHealthMetadataGetBySitedefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataGetBySiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10888,7 +12485,7 @@ export type ResourceHealthMetadataGetBySiteParameters = RequestParameters; // @public (undocumented) export interface ResourceHealthMetadataGetBySiteSlot { - get(options?: ResourceHealthMetadataGetBySiteSlotParameters): Promise; + get(options?: ResourceHealthMetadataGetBySiteSlotParameters): StreamableMethod; } // @public @@ -10900,11 +12497,11 @@ export interface ResourceHealthMetadataGetBySiteSlot200Response extends HttpResp } // @public -export interface ResourceHealthMetadataGetBySiteSlotdefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataGetBySiteSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10912,7 +12509,7 @@ export type ResourceHealthMetadataGetBySiteSlotParameters = RequestParameters; // @public (undocumented) export interface ResourceHealthMetadataList { - get(options?: ResourceHealthMetadataListParameters): Promise; + get(options?: ResourceHealthMetadataListParameters): StreamableMethod; } // @public @@ -10925,7 +12522,7 @@ export interface ResourceHealthMetadataList200Response extends HttpResponse { // @public (undocumented) export interface ResourceHealthMetadataListByResourceGroup { - get(options?: ResourceHealthMetadataListByResourceGroupParameters): Promise; + get(options?: ResourceHealthMetadataListByResourceGroupParameters): StreamableMethod; } // @public @@ -10937,11 +12534,11 @@ export interface ResourceHealthMetadataListByResourceGroup200Response extends Ht } // @public -export interface ResourceHealthMetadataListByResourceGroupdefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10949,7 +12546,7 @@ export type ResourceHealthMetadataListByResourceGroupParameters = RequestParamet // @public (undocumented) export interface ResourceHealthMetadataListBySite { - get(options?: ResourceHealthMetadataListBySiteParameters): Promise; + get(options?: ResourceHealthMetadataListBySiteParameters): StreamableMethod; } // @public @@ -10961,11 +12558,11 @@ export interface ResourceHealthMetadataListBySite200Response extends HttpRespons } // @public -export interface ResourceHealthMetadataListBySitedefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataListBySiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10973,7 +12570,7 @@ export type ResourceHealthMetadataListBySiteParameters = RequestParameters; // @public (undocumented) export interface ResourceHealthMetadataListBySiteSlot { - get(options?: ResourceHealthMetadataListBySiteSlotParameters): Promise; + get(options?: ResourceHealthMetadataListBySiteSlotParameters): StreamableMethod; } // @public @@ -10985,115 +12582,108 @@ export interface ResourceHealthMetadataListBySiteSlot200Response extends HttpRes } // @public -export interface ResourceHealthMetadataListBySiteSlotdefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataListBySiteSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ResourceHealthMetadataListBySiteSlotParameters = RequestParameters; // @public -export interface ResourceHealthMetadataListdefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ResourceHealthMetadataListParameters = RequestParameters; -// @public (undocumented) +// @public export interface ResourceHealthMetadataOutput extends ProxyOnlyResourceOutput { properties?: ResourceHealthMetadataPropertiesOutput; } -// @public (undocumented) +// @public export interface ResourceHealthMetadataProperties { category?: string; signalAvailability?: boolean; } -// @public (undocumented) +// @public export interface ResourceHealthMetadataPropertiesOutput { category?: string; signalAvailability?: boolean; } -// @public (undocumented) +// @public export interface ResourceMetricAvailability { - retention?: string; - timeGrain?: string; } -// @public (undocumented) +// @public export interface ResourceMetricAvailabilityOutput { - retention?: string; - timeGrain?: string; + readonly retention?: string; + readonly timeGrain?: string; } -// @public (undocumented) +// @public export interface ResourceMetricDefinition extends ProxyOnlyResource { properties?: ResourceMetricDefinitionProperties; } -// @public (undocumented) +// @public export interface ResourceMetricDefinitionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ResourceMetricDefinitionOutput extends ProxyOnlyResourceOutput { properties?: ResourceMetricDefinitionPropertiesOutput; } -// @public (undocumented) +// @public export interface ResourceMetricDefinitionProperties { - metricAvailabilities?: Array; - primaryAggregationType?: string; - properties?: Record; - resourceUri?: string; - unit?: string; } -// @public (undocumented) +// @public export interface ResourceMetricDefinitionPropertiesOutput { - metricAvailabilities?: Array; - primaryAggregationType?: string; - properties?: Record; - resourceUri?: string; - unit?: string; + readonly metricAvailabilities?: Array; + readonly primaryAggregationType?: string; + readonly properties?: Record; + readonly resourceUri?: string; + readonly unit?: string; } -// @public (undocumented) +// @public export interface ResourceNameAvailabilityOutput { message?: string; nameAvailable?: boolean; reason?: "Invalid" | "AlreadyExists"; } -// @public (undocumented) +// @public export interface ResourceNameAvailabilityRequest { isFqdn?: boolean; name: string; type: "Site" | "Slot" | "HostingEnvironment" | "PublishingUser" | "Microsoft.Web/sites" | "Microsoft.Web/sites/slots" | "Microsoft.Web/hostingEnvironments" | "Microsoft.Web/publishingUsers"; } -// @public (undocumented) +// @public export interface ResourceOutput { - id?: string; + readonly id?: string; kind?: string; location: string; - name?: string; + readonly name?: string; tags?: Record; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { error?: ErrorEntity; id?: string; @@ -11109,7 +12699,7 @@ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { zones?: Array; } -// @public (undocumented) +// @public export interface ResponseMessageEnvelopeRemotePrivateEndpointConnectionOutput { error?: ErrorEntityOutput; id?: string; @@ -11135,17 +12725,17 @@ export interface ResponseMetaDataOutput { dataSource?: DataSourceOutput; } -// @public (undocumented) +// @public export interface RestoreRequest extends ProxyOnlyResource { properties?: RestoreRequestProperties; } -// @public (undocumented) +// @public export interface RestoreRequestOutput extends ProxyOnlyResourceOutput { properties?: RestoreRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface RestoreRequestProperties { adjustConnectionStrings?: boolean; appServicePlan?: string; @@ -11160,7 +12750,7 @@ export interface RestoreRequestProperties { storageAccountUrl: string; } -// @public (undocumented) +// @public export interface RestoreRequestPropertiesOutput { adjustConnectionStrings?: boolean; appServicePlan?: string; @@ -11175,46 +12765,37 @@ export interface RestoreRequestPropertiesOutput { storageAccountUrl: string; } -// @public (undocumented) +// @public export interface Revision extends Resource { properties?: RevisionProperties; } -// @public (undocumented) +// @public export interface RevisionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface RevisionOutput extends ResourceOutput { properties?: RevisionPropertiesOutput; } -// @public (undocumented) +// @public export interface RevisionProperties { - active?: boolean; - createdTime?: Date | string; - fqdn?: string; - healthState?: "Healthy" | "Unhealthy" | "None"; - provisioningError?: string; - provisioningState?: "Provisioning" | "Provisioned" | "Failed" | "Deprovisioning" | "Deprovisioned"; - replicas?: number; - template?: Template; - trafficWeight?: number; } -// @public (undocumented) +// @public export interface RevisionPropertiesOutput { - active?: boolean; - createdTime?: string; - fqdn?: string; - healthState?: "Healthy" | "Unhealthy" | "None"; - provisioningError?: string; - provisioningState?: "Provisioning" | "Provisioned" | "Failed" | "Deprovisioning" | "Deprovisioned"; - replicas?: number; - template?: TemplateOutput; - trafficWeight?: number; + readonly active?: boolean; + readonly createdTime?: string; + readonly fqdn?: string; + readonly healthState?: "Healthy" | "Unhealthy" | "None"; + readonly provisioningError?: string; + readonly provisioningState?: "Provisioning" | "Provisioned" | "Failed" | "Deprovisioning" | "Deprovisioned"; + readonly replicas?: number; + readonly template?: TemplateOutput; + readonly trafficWeight?: number; } // @public (undocumented) @@ -11708,35 +13289,35 @@ export interface Routes { (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}", subscriptionId: string, resourceGroupName: string, name: string, webJobName: string): WebAppsGetWebJob; } -// @public (undocumented) +// @public export interface SampleUtterance { links?: Array; qid?: string; text?: string; } -// @public (undocumented) +// @public export interface SampleUtteranceOutput { links?: Array; qid?: string; text?: string; } -// @public (undocumented) +// @public export interface Scale { maxReplicas?: number; minReplicas?: number; rules?: Array; } -// @public (undocumented) +// @public export interface ScaleOutput { maxReplicas?: number; minReplicas?: number; rules?: Array; } -// @public (undocumented) +// @public export interface ScaleRule { azureQueue?: QueueScaleRule; custom?: CustomScaleRule; @@ -11744,19 +13325,19 @@ export interface ScaleRule { name?: string; } -// @public (undocumented) +// @public export interface ScaleRuleAuth { secretRef?: string; triggerParameter?: string; } -// @public (undocumented) +// @public export interface ScaleRuleAuthOutput { secretRef?: string; triggerParameter?: string; } -// @public (undocumented) +// @public export interface ScaleRuleOutput { azureQueue?: QueueScaleRuleOutput; custom?: CustomScaleRuleOutput; @@ -11764,24 +13345,24 @@ export interface ScaleRuleOutput { name?: string; } -// @public (undocumented) +// @public export interface Secret { name?: string; value?: string; } -// @public (undocumented) +// @public export interface SecretOutput { name?: string; value?: string; } -// @public (undocumented) +// @public export interface SecretsCollectionOutput { value: Array; } -// @public (undocumented) +// @public export interface ServiceSpecificationOutput { // (undocumented) logSpecifications?: Array; @@ -11789,24 +13370,46 @@ export interface ServiceSpecificationOutput { metricSpecifications?: Array; } -// @public (undocumented) +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + +// @public export interface Site extends Resource { extendedLocation?: ExtendedLocation; identity?: ManagedServiceIdentity; properties?: SiteProperties; } -// @public (undocumented) +// @public export interface SiteAuthSettings extends ProxyOnlyResource { properties?: SiteAuthSettingsProperties; } -// @public (undocumented) +// @public export interface SiteAuthSettingsOutput extends ProxyOnlyResourceOutput { properties?: SiteAuthSettingsPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteAuthSettingsProperties { aadClaimsAuthorization?: string; additionalLoginParams?: Array; @@ -11848,7 +13451,7 @@ export interface SiteAuthSettingsProperties { validateIssuer?: boolean; } -// @public (undocumented) +// @public export interface SiteAuthSettingsPropertiesOutput { aadClaimsAuthorization?: string; additionalLoginParams?: Array; @@ -11890,17 +13493,17 @@ export interface SiteAuthSettingsPropertiesOutput { validateIssuer?: boolean; } -// @public (undocumented) +// @public export interface SiteAuthSettingsV2 extends ProxyOnlyResource { properties?: SiteAuthSettingsV2Properties; } -// @public (undocumented) +// @public export interface SiteAuthSettingsV2Output extends ProxyOnlyResourceOutput { properties?: SiteAuthSettingsV2PropertiesOutput; } -// @public (undocumented) +// @public export interface SiteAuthSettingsV2Properties { globalValidation?: GlobalValidation; httpSettings?: HttpSettings; @@ -11909,7 +13512,7 @@ export interface SiteAuthSettingsV2Properties { platform?: AuthPlatform; } -// @public (undocumented) +// @public export interface SiteAuthSettingsV2PropertiesOutput { globalValidation?: GlobalValidationOutput; httpSettings?: HttpSettingsOutput; @@ -11918,13 +13521,13 @@ export interface SiteAuthSettingsV2PropertiesOutput { platform?: AuthPlatformOutput; } -// @public (undocumented) +// @public export interface SiteCloneabilityCriterionOutput { description?: string; name?: string; } -// @public (undocumented) +// @public export interface SiteCloneabilityOutput { blockingCharacteristics?: Array; blockingFeatures?: Array; @@ -11932,7 +13535,7 @@ export interface SiteCloneabilityOutput { unsupportedFeatures?: Array; } -// @public (undocumented) +// @public export interface SiteConfig { acrUseManagedIdentityCreds?: boolean; acrUserManagedIdentityID?: string; @@ -11968,7 +13571,6 @@ export interface SiteConfig { loadBalancing?: "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin"; localMySqlEnabled?: boolean; logsDirectorySizeLimit?: number; - machineKey?: SiteMachineKey; managedPipelineMode?: "Integrated" | "Classic"; managedServiceIdentityId?: number; minimumElasticInstanceCount?: number; @@ -12003,7 +13605,7 @@ export interface SiteConfig { xManagedServiceIdentityId?: number; } -// @public (undocumented) +// @public export interface SiteConfigOutput { acrUseManagedIdentityCreds?: boolean; acrUserManagedIdentityID?: string; @@ -12039,7 +13641,7 @@ export interface SiteConfigOutput { loadBalancing?: "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin"; localMySqlEnabled?: boolean; logsDirectorySizeLimit?: number; - machineKey?: SiteMachineKeyOutput; + readonly machineKey?: SiteMachineKeyOutput; managedPipelineMode?: "Integrated" | "Classic"; managedServiceIdentityId?: number; minimumElasticInstanceCount?: number; @@ -12074,83 +13676,77 @@ export interface SiteConfigOutput { xManagedServiceIdentityId?: number; } -// @public (undocumented) +// @public export interface SiteConfigPropertiesDictionary { - javaVersion?: string; - linuxFxVersion?: string; - powerShellVersion?: string; - use32BitWorkerProcess?: boolean; } -// @public (undocumented) +// @public export interface SiteConfigPropertiesDictionaryOutput { - javaVersion?: string; - linuxFxVersion?: string; - powerShellVersion?: string; - use32BitWorkerProcess?: boolean; + readonly javaVersion?: string; + readonly linuxFxVersion?: string; + readonly powerShellVersion?: string; + readonly use32BitWorkerProcess?: boolean; } -// @public (undocumented) +// @public export interface SiteConfigResource extends ProxyOnlyResource { properties?: SiteConfig; } -// @public (undocumented) +// @public export interface SiteConfigResourceCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SiteConfigResourceOutput extends ProxyOnlyResourceOutput { properties?: SiteConfigOutput; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { properties?: SiteConfigurationSnapshotInfoProperties; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfoOutput extends ProxyOnlyResourceOutput { properties?: SiteConfigurationSnapshotInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfoProperties { - snapshotId?: number; - time?: Date | string; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfoPropertiesOutput { - snapshotId?: number; - time?: string; + readonly snapshotId?: number; + readonly time?: string; } -// @public (undocumented) +// @public export interface SiteExtensionInfo extends ProxyOnlyResource { properties?: SiteExtensionInfoProperties; } -// @public (undocumented) +// @public export interface SiteExtensionInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SiteExtensionInfoOutput extends ProxyOnlyResourceOutput { properties?: SiteExtensionInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteExtensionInfoProperties { authors?: Array; comment?: string; @@ -12175,7 +13771,7 @@ export interface SiteExtensionInfoProperties { version?: string; } -// @public (undocumented) +// @public export interface SiteExtensionInfoPropertiesOutput { authors?: Array; comment?: string; @@ -12200,31 +13796,31 @@ export interface SiteExtensionInfoPropertiesOutput { version?: string; } -// @public (undocumented) +// @public export interface SiteLimits { maxDiskSizeInMb?: number; maxMemoryInMb?: number; maxPercentageCpu?: number; } -// @public (undocumented) +// @public export interface SiteLimitsOutput { maxDiskSizeInMb?: number; maxMemoryInMb?: number; maxPercentageCpu?: number; } -// @public (undocumented) +// @public export interface SiteLogsConfig extends ProxyOnlyResource { properties?: SiteLogsConfigProperties; } -// @public (undocumented) +// @public export interface SiteLogsConfigOutput extends ProxyOnlyResourceOutput { properties?: SiteLogsConfigPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteLogsConfigProperties { applicationLogs?: ApplicationLogsConfig; detailedErrorMessages?: EnabledConfig; @@ -12232,7 +13828,7 @@ export interface SiteLogsConfigProperties { httpLogs?: HttpLogsConfig; } -// @public (undocumented) +// @public export interface SiteLogsConfigPropertiesOutput { applicationLogs?: ApplicationLogsConfigOutput; detailedErrorMessages?: EnabledConfigOutput; @@ -12240,7 +13836,7 @@ export interface SiteLogsConfigPropertiesOutput { httpLogs?: HttpLogsConfigOutput; } -// @public (undocumented) +// @public export interface SiteMachineKey { decryption?: string; decryptionKey?: string; @@ -12248,7 +13844,7 @@ export interface SiteMachineKey { validationKey?: string; } -// @public (undocumented) +// @public export interface SiteMachineKeyOutput { decryption?: string; decryptionKey?: string; @@ -12256,28 +13852,27 @@ export interface SiteMachineKeyOutput { validationKey?: string; } -// @public (undocumented) +// @public export interface SiteOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; identity?: ManagedServiceIdentityOutput; properties?: SitePropertiesOutput; } -// @public (undocumented) +// @public export interface SitePatchResource extends ProxyOnlyResource { identity?: ManagedServiceIdentity; properties?: SitePatchResourceProperties; } -// @public (undocumented) +// @public export interface SitePatchResourceOutput extends ProxyOnlyResourceOutput { identity?: ManagedServiceIdentityOutput; properties?: SitePatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface SitePatchResourceProperties { - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; clientCertExclusionPaths?: string; @@ -12286,43 +13881,26 @@ export interface SitePatchResourceProperties { containerSize?: number; customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; - defaultHostName?: string; enabled?: boolean; - enabledHostNames?: Array; hostingEnvironmentProfile?: HostingEnvironmentProfile; - hostNames?: Array; hostNamesDisabled?: boolean; hostNameSslStates?: Array; httpsOnly?: boolean; hyperV?: boolean; - inProgressOperationId?: string; - isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; - lastModifiedTimeUtc?: Date | string; - maxNumberOfWorkers?: number; - outboundIpAddresses?: string; - possibleOutboundIpAddresses?: string; redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - repositorySiteName?: string; reserved?: boolean; - resourceGroup?: string; scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfig; - slotSwapStatus?: SlotSwapStatus; - state?: string; storageAccountRequired?: boolean; - suspendedTill?: Date | string; - targetSwapSlot?: string; - trafficManagerHostNames?: Array; - usageState?: "Normal" | "Exceeded"; virtualNetworkSubnetId?: string; } -// @public (undocumented) +// @public export interface SitePatchResourcePropertiesOutput { - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; + readonly availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; clientCertExclusionPaths?: string; @@ -12331,51 +13909,51 @@ export interface SitePatchResourcePropertiesOutput { containerSize?: number; customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; - defaultHostName?: string; + readonly defaultHostName?: string; enabled?: boolean; - enabledHostNames?: Array; + readonly enabledHostNames?: Array; hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; - hostNames?: Array; + readonly hostNames?: Array; hostNamesDisabled?: boolean; hostNameSslStates?: Array; httpsOnly?: boolean; hyperV?: boolean; - inProgressOperationId?: string; - isDefaultContainer?: boolean; + readonly inProgressOperationId?: string; + readonly isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; - lastModifiedTimeUtc?: string; - maxNumberOfWorkers?: number; - outboundIpAddresses?: string; - possibleOutboundIpAddresses?: string; + readonly lastModifiedTimeUtc?: string; + readonly maxNumberOfWorkers?: number; + readonly outboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - repositorySiteName?: string; + readonly repositorySiteName?: string; reserved?: boolean; - resourceGroup?: string; + readonly resourceGroup?: string; scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfigOutput; - slotSwapStatus?: SlotSwapStatusOutput; - state?: string; + readonly slotSwapStatus?: SlotSwapStatusOutput; + readonly state?: string; storageAccountRequired?: boolean; - suspendedTill?: string; - targetSwapSlot?: string; - trafficManagerHostNames?: Array; - usageState?: "Normal" | "Exceeded"; + readonly suspendedTill?: string; + readonly targetSwapSlot?: string; + readonly trafficManagerHostNames?: Array; + readonly usageState?: "Normal" | "Exceeded"; virtualNetworkSubnetId?: string; } -// @public (undocumented) +// @public export interface SitePhpErrorLogFlag extends ProxyOnlyResource { properties?: SitePhpErrorLogFlagProperties; } -// @public (undocumented) +// @public export interface SitePhpErrorLogFlagOutput extends ProxyOnlyResourceOutput { properties?: SitePhpErrorLogFlagPropertiesOutput; } -// @public (undocumented) +// @public export interface SitePhpErrorLogFlagProperties { localLogErrors?: string; localLogErrorsMaxLength?: string; @@ -12383,7 +13961,7 @@ export interface SitePhpErrorLogFlagProperties { masterLogErrorsMaxLength?: string; } -// @public (undocumented) +// @public export interface SitePhpErrorLogFlagPropertiesOutput { localLogErrors?: string; localLogErrorsMaxLength?: string; @@ -12391,9 +13969,8 @@ export interface SitePhpErrorLogFlagPropertiesOutput { masterLogErrorsMaxLength?: string; } -// @public (undocumented) +// @public export interface SiteProperties { - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; clientCertExclusionPaths?: string; @@ -12402,43 +13979,26 @@ export interface SiteProperties { containerSize?: number; customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; - defaultHostName?: string; enabled?: boolean; - enabledHostNames?: Array; hostingEnvironmentProfile?: HostingEnvironmentProfile; - hostNames?: Array; hostNamesDisabled?: boolean; hostNameSslStates?: Array; httpsOnly?: boolean; hyperV?: boolean; - inProgressOperationId?: string; - isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; - lastModifiedTimeUtc?: Date | string; - maxNumberOfWorkers?: number; - outboundIpAddresses?: string; - possibleOutboundIpAddresses?: string; redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - repositorySiteName?: string; reserved?: boolean; - resourceGroup?: string; scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfig; - slotSwapStatus?: SlotSwapStatus; - state?: string; storageAccountRequired?: boolean; - suspendedTill?: Date | string; - targetSwapSlot?: string; - trafficManagerHostNames?: Array; - usageState?: "Normal" | "Exceeded"; virtualNetworkSubnetId?: string; } -// @public (undocumented) +// @public export interface SitePropertiesOutput { - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; + readonly availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; clientCertExclusionPaths?: string; @@ -12447,62 +14007,62 @@ export interface SitePropertiesOutput { containerSize?: number; customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; - defaultHostName?: string; + readonly defaultHostName?: string; enabled?: boolean; - enabledHostNames?: Array; + readonly enabledHostNames?: Array; hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; - hostNames?: Array; + readonly hostNames?: Array; hostNamesDisabled?: boolean; hostNameSslStates?: Array; httpsOnly?: boolean; hyperV?: boolean; - inProgressOperationId?: string; - isDefaultContainer?: boolean; + readonly inProgressOperationId?: string; + readonly isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; - lastModifiedTimeUtc?: string; - maxNumberOfWorkers?: number; - outboundIpAddresses?: string; - possibleOutboundIpAddresses?: string; + readonly lastModifiedTimeUtc?: string; + readonly maxNumberOfWorkers?: number; + readonly outboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - repositorySiteName?: string; + readonly repositorySiteName?: string; reserved?: boolean; - resourceGroup?: string; + readonly resourceGroup?: string; scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfigOutput; - slotSwapStatus?: SlotSwapStatusOutput; - state?: string; + readonly slotSwapStatus?: SlotSwapStatusOutput; + readonly state?: string; storageAccountRequired?: boolean; - suspendedTill?: string; - targetSwapSlot?: string; - trafficManagerHostNames?: Array; - usageState?: "Normal" | "Exceeded"; + readonly suspendedTill?: string; + readonly targetSwapSlot?: string; + readonly trafficManagerHostNames?: Array; + readonly usageState?: "Normal" | "Exceeded"; virtualNetworkSubnetId?: string; } -// @public (undocumented) +// @public export interface SiteSealOutput { html: string; } -// @public (undocumented) +// @public export interface SiteSealRequest { lightTheme?: boolean; locale?: string; } -// @public (undocumented) +// @public export interface SiteSourceControl extends ProxyOnlyResource { properties?: SiteSourceControlProperties; } -// @public (undocumented) +// @public export interface SiteSourceControlOutput extends ProxyOnlyResourceOutput { properties?: SiteSourceControlPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteSourceControlProperties { branch?: string; deploymentRollbackEnabled?: boolean; @@ -12513,7 +14073,7 @@ export interface SiteSourceControlProperties { repoUrl?: string; } -// @public (undocumented) +// @public export interface SiteSourceControlPropertiesOutput { branch?: string; deploymentRollbackEnabled?: boolean; @@ -12524,7 +14084,7 @@ export interface SiteSourceControlPropertiesOutput { repoUrl?: string; } -// @public (undocumented) +// @public export interface SkuCapacity { default?: number; elasticMaximum?: number; @@ -12533,7 +14093,7 @@ export interface SkuCapacity { scaleType?: string; } -// @public (undocumented) +// @public export interface SkuCapacityOutput { default?: number; elasticMaximum?: number; @@ -12542,7 +14102,7 @@ export interface SkuCapacityOutput { scaleType?: string; } -// @public (undocumented) +// @public export interface SkuDescription { capabilities?: Array; capacity?: number; @@ -12554,7 +14114,7 @@ export interface SkuDescription { tier?: string; } -// @public (undocumented) +// @public export interface SkuDescriptionOutput { capabilities?: Array; capacity?: number; @@ -12566,102 +14126,92 @@ export interface SkuDescriptionOutput { tier?: string; } -// @public (undocumented) +// @public export interface SkuInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SkuInfoOutput { capacity?: SkuCapacityOutput; resourceType?: string; sku?: SkuDescriptionOutput; } -// @public (undocumented) +// @public export interface SkuInfosOutput { resourceType?: string; skus?: Array; } -// @public (undocumented) +// @public export interface SlotConfigNames { appSettingNames?: Array; azureStorageConfigNames?: Array; connectionStringNames?: Array; } -// @public (undocumented) +// @public export interface SlotConfigNamesOutput { appSettingNames?: Array; azureStorageConfigNames?: Array; connectionStringNames?: Array; } -// @public (undocumented) +// @public export interface SlotConfigNamesResource extends ProxyOnlyResource { properties?: SlotConfigNames; } -// @public (undocumented) +// @public export interface SlotConfigNamesResourceOutput extends ProxyOnlyResourceOutput { properties?: SlotConfigNamesOutput; } -// @public (undocumented) +// @public export interface SlotDifference extends ProxyOnlyResource { properties?: SlotDifferenceProperties; } -// @public (undocumented) +// @public export interface SlotDifferenceCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SlotDifferenceOutput extends ProxyOnlyResourceOutput { properties?: SlotDifferencePropertiesOutput; } -// @public (undocumented) +// @public export interface SlotDifferenceProperties { - description?: string; - diffRule?: string; - level?: string; - settingName?: string; - settingType?: string; - valueInCurrentSlot?: string; - valueInTargetSlot?: string; } -// @public (undocumented) +// @public export interface SlotDifferencePropertiesOutput { - description?: string; - diffRule?: string; - level?: string; - settingName?: string; - settingType?: string; - valueInCurrentSlot?: string; - valueInTargetSlot?: string; + readonly description?: string; + readonly diffRule?: string; + readonly level?: string; + readonly settingName?: string; + readonly settingType?: string; + readonly valueInCurrentSlot?: string; + readonly valueInTargetSlot?: string; } -// @public (undocumented) +// @public export interface SlotSwapStatus { - destinationSlotName?: string; - sourceSlotName?: string; - timestampUtc?: Date | string; } -// @public (undocumented) +// @public export interface SlotSwapStatusOutput { - destinationSlotName?: string; - sourceSlotName?: string; - timestampUtc?: string; + readonly destinationSlotName?: string; + readonly sourceSlotName?: string; + readonly timestampUtc?: string; } -// @public (undocumented) +// @public export interface SlowRequestsBasedTrigger { count?: number; path?: string; @@ -12669,7 +14219,7 @@ export interface SlowRequestsBasedTrigger { timeTaken?: string; } -// @public (undocumented) +// @public export interface SlowRequestsBasedTriggerOutput { count?: number; path?: string; @@ -12677,55 +14227,54 @@ export interface SlowRequestsBasedTriggerOutput { timeTaken?: string; } -// @public (undocumented) +// @public export interface Snapshot extends ProxyOnlyResource { properties?: SnapshotProperties; } -// @public (undocumented) +// @public export interface SnapshotCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SnapshotOutput extends ProxyOnlyResourceOutput { properties?: SnapshotPropertiesOutput; } -// @public (undocumented) +// @public export interface SnapshotProperties { - time?: string; } -// @public (undocumented) +// @public export interface SnapshotPropertiesOutput { - time?: string; + readonly time?: string; } -// @public (undocumented) +// @public export interface SnapshotRecoverySource { id?: string; location?: string; } -// @public (undocumented) +// @public export interface SnapshotRecoverySourceOutput { id?: string; location?: string; } -// @public (undocumented) +// @public export interface SnapshotRestoreRequest extends ProxyOnlyResource { properties?: SnapshotRestoreRequestProperties; } -// @public (undocumented) +// @public export interface SnapshotRestoreRequestOutput extends ProxyOnlyResourceOutput { properties?: SnapshotRestoreRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface SnapshotRestoreRequestProperties { ignoreConflictingHostNames?: boolean; overwrite: boolean; @@ -12735,7 +14284,7 @@ export interface SnapshotRestoreRequestProperties { useDRSecondary?: boolean; } -// @public (undocumented) +// @public export interface SnapshotRestoreRequestPropertiesOutput { ignoreConflictingHostNames?: boolean; overwrite: boolean; @@ -12745,7 +14294,7 @@ export interface SnapshotRestoreRequestPropertiesOutput { useDRSecondary?: boolean; } -// @public (undocumented) +// @public export interface Solution { data?: Array>; description?: string; @@ -12756,7 +14305,7 @@ export interface Solution { type?: "QuickSolution" | "DeepInvestigation" | "BestPractices"; } -// @public (undocumented) +// @public export interface SolutionOutput { data?: Array>; description?: string; @@ -12767,23 +14316,23 @@ export interface SolutionOutput { type?: "QuickSolution" | "DeepInvestigation" | "BestPractices"; } -// @public (undocumented) +// @public export interface SourceControl extends ProxyOnlyResource { properties?: SourceControlProperties; } -// @public (undocumented) +// @public export interface SourceControlCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SourceControlOutput extends ProxyOnlyResourceOutput { properties?: SourceControlPropertiesOutput; } -// @public (undocumented) +// @public export interface SourceControlProperties { expirationTime?: Date | string; refreshToken?: string; @@ -12791,7 +14340,7 @@ export interface SourceControlProperties { tokenSecret?: string; } -// @public (undocumented) +// @public export interface SourceControlPropertiesOutput { expirationTime?: string; refreshToken?: string; @@ -12799,7 +14348,7 @@ export interface SourceControlPropertiesOutput { tokenSecret?: string; } -// @public (undocumented) +// @public export interface StackMajorVersion { applicationInsights?: boolean; appSettingsDictionary?: Record>; @@ -12813,7 +14362,7 @@ export interface StackMajorVersion { siteConfigPropertiesDictionary?: Record>; } -// @public (undocumented) +// @public export interface StackMajorVersionOutput { applicationInsights?: boolean; appSettingsDictionary?: Record>; @@ -12827,7 +14376,7 @@ export interface StackMajorVersionOutput { siteConfigPropertiesDictionary?: Record>; } -// @public (undocumented) +// @public export interface StackMinorVersion { displayVersion?: string; isDefault?: boolean; @@ -12835,7 +14384,7 @@ export interface StackMinorVersion { runtimeVersion?: string; } -// @public (undocumented) +// @public export interface StackMinorVersionOutput { displayVersion?: string; isDefault?: boolean; @@ -12843,13 +14392,13 @@ export interface StackMinorVersionOutput { runtimeVersion?: string; } -// @public (undocumented) +// @public export interface StampCapacityCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StampCapacityOutput { availableCapacity?: number; computeMode?: "Shared" | "Dedicated" | "Dynamic"; @@ -12864,80 +14413,66 @@ export interface StampCapacityOutput { workerSizeId?: number; } -// @public (undocumented) +// @public export interface StaticSite { allowConfigFileUpdates?: boolean; branch?: string; buildProperties?: StaticSiteBuildProperties; - contentDistributionEndpoint?: string; - customDomains?: Array; - defaultHostname?: string; enterpriseGradeCdnStatus?: "Enabled" | "Enabling" | "Disabled" | "Disabling"; - keyVaultReferenceIdentity?: string; - privateEndpointConnections?: Array; provider?: string; repositoryToken?: string; repositoryUrl?: string; stagingEnvironmentPolicy?: "Enabled" | "Disabled"; templateProperties?: StaticSiteTemplateOptions; - userProvidedFunctionApps?: Array; } -// @public (undocumented) +// @public export interface StaticSiteARMResource extends Resource { identity?: ManagedServiceIdentity; properties?: StaticSite; sku?: SkuDescription; } -// @public (undocumented) +// @public export interface StaticSiteARMResourceOutput extends ResourceOutput { identity?: ManagedServiceIdentityOutput; properties?: StaticSiteOutput; sku?: SkuDescriptionOutput; } -// @public (undocumented) +// @public export interface StaticSiteBuildARMResource extends ProxyOnlyResource { properties?: StaticSiteBuildARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteBuildARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteBuildARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteBuildARMResourceProperties { - buildId?: string; - createdTimeUtc?: Date | string; - hostname?: string; - lastUpdatedOn?: Date | string; - pullRequestTitle?: string; - sourceBranch?: string; - status?: "WaitingForDeployment" | "Uploading" | "Deploying" | "Ready" | "Failed" | "Deleting" | "Detached"; - userProvidedFunctionApps?: Array; } -// @public (undocumented) +// @public export interface StaticSiteBuildARMResourcePropertiesOutput { - buildId?: string; - createdTimeUtc?: string; - hostname?: string; - lastUpdatedOn?: string; - pullRequestTitle?: string; - sourceBranch?: string; - status?: "WaitingForDeployment" | "Uploading" | "Deploying" | "Ready" | "Failed" | "Deleting" | "Detached"; - userProvidedFunctionApps?: Array; + readonly buildId?: string; + readonly createdTimeUtc?: string; + readonly hostname?: string; + readonly lastUpdatedOn?: string; + readonly pullRequestTitle?: string; + readonly sourceBranch?: string; + readonly status?: "WaitingForDeployment" | "Uploading" | "Deploying" | "Ready" | "Failed" | "Deleting" | "Detached"; + readonly userProvidedFunctionApps?: Array; } -// @public (undocumented) +// @public export interface StaticSiteBuildCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteBuildProperties { apiBuildCommand?: string; apiLocation?: string; @@ -12949,7 +14484,7 @@ export interface StaticSiteBuildProperties { skipGithubActionWorkflowGeneration?: boolean; } -// @public (undocumented) +// @public export interface StaticSiteBuildPropertiesOutput { apiBuildCommand?: string; apiLocation?: string; @@ -12961,142 +14496,134 @@ export interface StaticSiteBuildPropertiesOutput { skipGithubActionWorkflowGeneration?: boolean; } -// @public (undocumented) +// @public export interface StaticSiteCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewARMResource extends ProxyOnlyResource { properties?: StaticSiteCustomDomainOverviewARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteCustomDomainOverviewARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewARMResourceProperties { - createdOn?: Date | string; - domainName?: string; - // (undocumented) - errorMessage?: string; - status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; - validationToken?: string; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewARMResourcePropertiesOutput { - createdOn?: string; - domainName?: string; + readonly createdOn?: string; + readonly domainName?: string; // (undocumented) - errorMessage?: string; - status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; - validationToken?: string; + readonly errorMessage?: string; + readonly status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; + readonly validationToken?: string; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainRequestPropertiesARMResource extends ProxyOnlyResource { properties?: StaticSiteCustomDomainRequestPropertiesARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainRequestPropertiesARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteCustomDomainRequestPropertiesARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainRequestPropertiesARMResourceProperties { validationMethod?: string; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainRequestPropertiesARMResourcePropertiesOutput { validationMethod?: string; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewARMResource extends ProxyOnlyResource { properties?: StaticSiteFunctionOverviewARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteFunctionOverviewARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewARMResourceProperties { - functionName?: string; - triggerType?: "HttpTrigger" | "Unknown"; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewARMResourcePropertiesOutput { - functionName?: string; - triggerType?: "HttpTrigger" | "Unknown"; + readonly functionName?: string; + readonly triggerType?: "HttpTrigger" | "Unknown"; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteOutput { allowConfigFileUpdates?: boolean; branch?: string; buildProperties?: StaticSiteBuildPropertiesOutput; - contentDistributionEndpoint?: string; - customDomains?: Array; - defaultHostname?: string; + readonly contentDistributionEndpoint?: string; + readonly customDomains?: Array; + readonly defaultHostname?: string; enterpriseGradeCdnStatus?: "Enabled" | "Enabling" | "Disabled" | "Disabling"; - keyVaultReferenceIdentity?: string; - privateEndpointConnections?: Array; + readonly keyVaultReferenceIdentity?: string; + readonly privateEndpointConnections?: Array; provider?: string; repositoryToken?: string; repositoryUrl?: string; stagingEnvironmentPolicy?: "Enabled" | "Disabled"; templateProperties?: StaticSiteTemplateOptionsOutput; - userProvidedFunctionApps?: Array; + readonly userProvidedFunctionApps?: Array; } -// @public (undocumented) +// @public export interface StaticSitePatchResource extends ProxyOnlyResource { properties?: StaticSite; } -// @public (undocumented) +// @public export interface StaticSitePatchResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteOutput; } -// @public (undocumented) +// @public export interface StaticSiteResetPropertiesARMResource extends ProxyOnlyResource { properties?: StaticSiteResetPropertiesARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteResetPropertiesARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteResetPropertiesARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteResetPropertiesARMResourceProperties { repositoryToken?: string; shouldUpdateRepository?: boolean; } -// @public (undocumented) +// @public export interface StaticSiteResetPropertiesARMResourcePropertiesOutput { repositoryToken?: string; shouldUpdateRepository?: boolean; @@ -13124,11 +14651,11 @@ export interface StaticSitesApproveOrRejectPrivateEndpointConnectionBodyParam { } // @public -export interface StaticSitesApproveOrRejectPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13157,7 +14684,7 @@ export interface StaticSitesCreateOrUpdateStaticSite202Response extends HttpResp // @public (undocumented) export interface StaticSitesCreateOrUpdateStaticSiteAppSettings { - put(options: StaticSitesCreateOrUpdateStaticSiteAppSettingsParameters): Promise; + put(options: StaticSitesCreateOrUpdateStaticSiteAppSettingsParameters): StreamableMethod; } // @public @@ -13174,11 +14701,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsBodyParam { } // @public -export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13196,7 +14723,7 @@ export interface StaticSitesCreateOrUpdateStaticSiteBodyParam { // @public (undocumented) export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettings { - put(options: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters): Promise; + put(options: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters): StreamableMethod; } // @public @@ -13213,11 +14740,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsBodyParam { } // @public -export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13230,7 +14757,7 @@ export type StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters = Stat // @public (undocumented) export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings { - put(options: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsParameters): Promise; + put(options: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsParameters): StreamableMethod; } // @public @@ -13247,11 +14774,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsBody } // @public -export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13284,11 +14811,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainBodyParam { } // @public -export interface StaticSitesCreateOrUpdateStaticSiteCustomDomaindefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13300,16 +14827,16 @@ export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainMediaTypesParam export type StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters = StaticSitesCreateOrUpdateStaticSiteCustomDomainMediaTypesParam & StaticSitesCreateOrUpdateStaticSiteCustomDomainBodyParam & RequestParameters; // @public -export interface StaticSitesCreateOrUpdateStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings { - put(options: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsParameters): Promise; + put(options: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsParameters): StreamableMethod; } // @public @@ -13326,11 +14853,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsBodyParam } // @public -export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13351,7 +14878,7 @@ export type StaticSitesCreateOrUpdateStaticSiteParameters = StaticSitesCreateOrU // @public (undocumented) export interface StaticSitesCreateUserRolesInvitationLink { - post(options: StaticSitesCreateUserRolesInvitationLinkParameters): Promise; + post(options: StaticSitesCreateUserRolesInvitationLinkParameters): StreamableMethod; } // @public @@ -13369,11 +14896,11 @@ export interface StaticSitesCreateUserRolesInvitationLinkBodyParam { } // @public -export interface StaticSitesCreateUserRolesInvitationLinkdefaultResponse extends HttpResponse { +export interface StaticSitesCreateUserRolesInvitationLinkDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13386,21 +14913,17 @@ export type StaticSitesCreateUserRolesInvitationLinkParameters = StaticSitesCrea // @public (undocumented) export interface StaticSitesCreateZipDeploymentForStaticSite { - post(options: StaticSitesCreateZipDeploymentForStaticSiteParameters): Promise; + post(options: StaticSitesCreateZipDeploymentForStaticSiteParameters): StreamableMethod; } // @public export interface StaticSitesCreateZipDeploymentForStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesCreateZipDeploymentForStaticSite202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -13412,21 +14935,17 @@ export interface StaticSitesCreateZipDeploymentForStaticSiteBodyParam { // @public (undocumented) export interface StaticSitesCreateZipDeploymentForStaticSiteBuild { - post(options: StaticSitesCreateZipDeploymentForStaticSiteBuildParameters): Promise; + post(options: StaticSitesCreateZipDeploymentForStaticSiteBuildParameters): StreamableMethod; } // @public export interface StaticSitesCreateZipDeploymentForStaticSiteBuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesCreateZipDeploymentForStaticSiteBuild202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -13437,11 +14956,11 @@ export interface StaticSitesCreateZipDeploymentForStaticSiteBuildBodyParam { } // @public -export interface StaticSitesCreateZipDeploymentForStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13453,11 +14972,11 @@ export interface StaticSitesCreateZipDeploymentForStaticSiteBuildMediaTypesParam export type StaticSitesCreateZipDeploymentForStaticSiteBuildParameters = StaticSitesCreateZipDeploymentForStaticSiteBuildMediaTypesParam & StaticSitesCreateZipDeploymentForStaticSiteBuildBodyParam & RequestParameters; // @public -export interface StaticSitesCreateZipDeploymentForStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13493,11 +15012,11 @@ export interface StaticSitesDeletePrivateEndpointConnection204Response extends H } // @public -export interface StaticSitesDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface StaticSitesDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13505,50 +15024,40 @@ export type StaticSitesDeletePrivateEndpointConnectionParameters = RequestParame // @public export interface StaticSitesDeleteStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDeleteStaticSite202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface StaticSitesDeleteStaticSiteBuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDeleteStaticSiteBuild202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface StaticSitesDeleteStaticSiteBuild204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface StaticSitesDeleteStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesDeleteStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13556,37 +15065,33 @@ export type StaticSitesDeleteStaticSiteBuildParameters = RequestParameters; // @public export interface StaticSitesDeleteStaticSiteCustomDomain200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDeleteStaticSiteCustomDomain202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public -export interface StaticSitesDeleteStaticSiteCustomDomaindefaultResponse extends HttpResponse { +export interface StaticSitesDeleteStaticSiteCustomDomainDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesDeleteStaticSiteCustomDomainParameters = RequestParameters; // @public -export interface StaticSitesDeleteStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesDeleteStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13594,24 +15099,22 @@ export type StaticSitesDeleteStaticSiteParameters = RequestParameters; // @public (undocumented) export interface StaticSitesDeleteStaticSiteUser { - delete(options?: StaticSitesDeleteStaticSiteUserParameters): Promise; - patch(options: StaticSitesUpdateStaticSiteUserParameters): Promise; + delete(options?: StaticSitesDeleteStaticSiteUserParameters): StreamableMethod; + patch(options: StaticSitesUpdateStaticSiteUserParameters): StreamableMethod; } // @public export interface StaticSitesDeleteStaticSiteUser200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface StaticSitesDeleteStaticSiteUserdefaultResponse extends HttpResponse { +export interface StaticSitesDeleteStaticSiteUserDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13619,31 +15122,27 @@ export type StaticSitesDeleteStaticSiteUserParameters = RequestParameters; // @public (undocumented) export interface StaticSitesDetachStaticSite { - post(options?: StaticSitesDetachStaticSiteParameters): Promise; + post(options?: StaticSitesDetachStaticSiteParameters): StreamableMethod; } // @public export interface StaticSitesDetachStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDetachStaticSite202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public -export interface StaticSitesDetachStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesDetachStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13651,53 +15150,45 @@ export type StaticSitesDetachStaticSiteParameters = RequestParameters; // @public export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters = RequestParameters; // @public -export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13705,9 +15196,9 @@ export type StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters = R // @public (undocumented) export interface StaticSitesGetPrivateEndpointConnection { - delete(options?: StaticSitesDeletePrivateEndpointConnectionParameters): Promise; - get(options?: StaticSitesGetPrivateEndpointConnectionParameters): Promise; - put(options: StaticSitesApproveOrRejectPrivateEndpointConnectionParameters): Promise; + delete(options?: StaticSitesDeletePrivateEndpointConnectionParameters): StreamableMethod; + get(options?: StaticSitesGetPrivateEndpointConnectionParameters): StreamableMethod; + put(options: StaticSitesApproveOrRejectPrivateEndpointConnectionParameters): StreamableMethod; } // @public @@ -13719,16 +15210,16 @@ export interface StaticSitesGetPrivateEndpointConnection200Response extends Http } // @public -export interface StaticSitesGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface StaticSitesGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface StaticSitesGetPrivateEndpointConnectionList { - get(options?: StaticSitesGetPrivateEndpointConnectionListParameters): Promise; + get(options?: StaticSitesGetPrivateEndpointConnectionListParameters): StreamableMethod; } // @public @@ -13740,11 +15231,11 @@ export interface StaticSitesGetPrivateEndpointConnectionList200Response extends } // @public -export interface StaticSitesGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { +export interface StaticSitesGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13755,7 +15246,7 @@ export type StaticSitesGetPrivateEndpointConnectionParameters = RequestParameter // @public (undocumented) export interface StaticSitesGetPrivateLinkResources { - get(options?: StaticSitesGetPrivateLinkResourcesParameters): Promise; + get(options?: StaticSitesGetPrivateLinkResourcesParameters): StreamableMethod; } // @public @@ -13767,11 +15258,11 @@ export interface StaticSitesGetPrivateLinkResources200Response extends HttpRespo } // @public -export interface StaticSitesGetPrivateLinkResourcesdefaultResponse extends HttpResponse { +export interface StaticSitesGetPrivateLinkResourcesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13779,10 +15270,10 @@ export type StaticSitesGetPrivateLinkResourcesParameters = RequestParameters; // @public (undocumented) export interface StaticSitesGetStaticSite { - delete(options?: StaticSitesDeleteStaticSiteParameters): Promise; - get(options?: StaticSitesGetStaticSiteParameters): Promise; - patch(options: StaticSitesUpdateStaticSiteParameters): Promise; - put(options: StaticSitesCreateOrUpdateStaticSiteParameters): Promise; + delete(options?: StaticSitesDeleteStaticSiteParameters): StreamableMethod; + get(options?: StaticSitesGetStaticSiteParameters): StreamableMethod; + patch(options: StaticSitesUpdateStaticSiteParameters): StreamableMethod; + put(options: StaticSitesCreateOrUpdateStaticSiteParameters): StreamableMethod; } // @public @@ -13795,8 +15286,8 @@ export interface StaticSitesGetStaticSite200Response extends HttpResponse { // @public (undocumented) export interface StaticSitesGetStaticSiteBuild { - delete(options?: StaticSitesDeleteStaticSiteBuildParameters): Promise; - get(options?: StaticSitesGetStaticSiteBuildParameters): Promise; + delete(options?: StaticSitesDeleteStaticSiteBuildParameters): StreamableMethod; + get(options?: StaticSitesGetStaticSiteBuildParameters): StreamableMethod; } // @public @@ -13808,11 +15299,11 @@ export interface StaticSitesGetStaticSiteBuild200Response extends HttpResponse { } // @public -export interface StaticSitesGetStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13820,7 +15311,7 @@ export type StaticSitesGetStaticSiteBuildParameters = RequestParameters; // @public (undocumented) export interface StaticSitesGetStaticSiteBuilds { - get(options?: StaticSitesGetStaticSiteBuildsParameters): Promise; + get(options?: StaticSitesGetStaticSiteBuildsParameters): StreamableMethod; } // @public @@ -13832,11 +15323,11 @@ export interface StaticSitesGetStaticSiteBuilds200Response extends HttpResponse } // @public -export interface StaticSitesGetStaticSiteBuildsdefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSiteBuildsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13844,9 +15335,9 @@ export type StaticSitesGetStaticSiteBuildsParameters = RequestParameters; // @public (undocumented) export interface StaticSitesGetStaticSiteCustomDomain { - delete(options?: StaticSitesDeleteStaticSiteCustomDomainParameters): Promise; - get(options?: StaticSitesGetStaticSiteCustomDomainParameters): Promise; - put(options: StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters): Promise; + delete(options?: StaticSitesDeleteStaticSiteCustomDomainParameters): StreamableMethod; + get(options?: StaticSitesGetStaticSiteCustomDomainParameters): StreamableMethod; + put(options: StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters): StreamableMethod; } // @public @@ -13858,22 +15349,22 @@ export interface StaticSitesGetStaticSiteCustomDomain200Response extends HttpRes } // @public -export interface StaticSitesGetStaticSiteCustomDomaindefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSiteCustomDomainDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesGetStaticSiteCustomDomainParameters = RequestParameters; // @public -export interface StaticSitesGetStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13881,7 +15372,7 @@ export type StaticSitesGetStaticSiteParameters = RequestParameters; // @public (undocumented) export interface StaticSitesGetStaticSitesByResourceGroup { - get(options?: StaticSitesGetStaticSitesByResourceGroupParameters): Promise; + get(options?: StaticSitesGetStaticSitesByResourceGroupParameters): StreamableMethod; } // @public @@ -13893,11 +15384,11 @@ export interface StaticSitesGetStaticSitesByResourceGroup200Response extends Htt } // @public -export interface StaticSitesGetStaticSitesByResourceGroupdefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSitesByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13905,9 +15396,9 @@ export type StaticSitesGetStaticSitesByResourceGroupParameters = RequestParamete // @public (undocumented) export interface StaticSitesGetUserProvidedFunctionAppForStaticSite { - delete(options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters): Promise; - get(options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters): Promise; - put(options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteParameters): Promise; + delete(options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters): StreamableMethod; + get(options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters): StreamableMethod; + put(options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteParameters): StreamableMethod; } // @public @@ -13920,9 +15411,9 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSite200Response e // @public (undocumented) export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild { - delete(options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters): Promise; - get(options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters): Promise; - put(options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildParameters): Promise; + delete(options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters): StreamableMethod; + get(options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters): StreamableMethod; + put(options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildParameters): StreamableMethod; } // @public @@ -13934,22 +15425,22 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Respo } // @public -export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters = RequestParameters; // @public -export interface StaticSitesGetUserProvidedFunctionAppForStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13957,7 +15448,7 @@ export type StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters = Reque // @public (undocumented) export interface StaticSitesGetUserProvidedFunctionAppsForStaticSite { - get(options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters): Promise; + get(options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters): StreamableMethod; } // @public @@ -13970,7 +15461,7 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response // @public (undocumented) export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild { - get(options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters): Promise; + get(options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters): StreamableMethod; } // @public @@ -13982,22 +15473,22 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Resp } // @public -export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters = RequestParameters; // @public -export interface StaticSitesGetUserProvidedFunctionAppsForStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14005,7 +15496,7 @@ export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters = Requ // @public (undocumented) export interface StaticSitesList { - get(options?: StaticSitesListParameters): Promise; + get(options?: StaticSitesListParameters): StreamableMethod; } // @public @@ -14017,11 +15508,11 @@ export interface StaticSitesList200Response extends HttpResponse { } // @public -export interface StaticSitesListdefaultResponse extends HttpResponse { +export interface StaticSitesListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14029,7 +15520,7 @@ export type StaticSitesListParameters = RequestParameters; // @public (undocumented) export interface StaticSitesListStaticSiteAppSettings { - post(options?: StaticSitesListStaticSiteAppSettingsParameters): Promise; + post(options?: StaticSitesListStaticSiteAppSettingsParameters): StreamableMethod; } // @public @@ -14041,11 +15532,11 @@ export interface StaticSitesListStaticSiteAppSettings200Response extends HttpRes } // @public -export interface StaticSitesListStaticSiteAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14053,7 +15544,7 @@ export type StaticSitesListStaticSiteAppSettingsParameters = RequestParameters; // @public (undocumented) export interface StaticSitesListStaticSiteBuildAppSettings { - post(options?: StaticSitesListStaticSiteBuildAppSettingsParameters): Promise; + post(options?: StaticSitesListStaticSiteBuildAppSettingsParameters): StreamableMethod; } // @public @@ -14065,11 +15556,11 @@ export interface StaticSitesListStaticSiteBuildAppSettings200Response extends Ht } // @public -export interface StaticSitesListStaticSiteBuildAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteBuildAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14077,7 +15568,7 @@ export type StaticSitesListStaticSiteBuildAppSettingsParameters = RequestParamet // @public (undocumented) export interface StaticSitesListStaticSiteBuildFunctionAppSettings { - post(options?: StaticSitesListStaticSiteBuildFunctionAppSettingsParameters): Promise; + post(options?: StaticSitesListStaticSiteBuildFunctionAppSettingsParameters): StreamableMethod; } // @public @@ -14089,11 +15580,11 @@ export interface StaticSitesListStaticSiteBuildFunctionAppSettings200Response ex } // @public -export interface StaticSitesListStaticSiteBuildFunctionAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14101,7 +15592,7 @@ export type StaticSitesListStaticSiteBuildFunctionAppSettingsParameters = Reques // @public (undocumented) export interface StaticSitesListStaticSiteBuildFunctions { - get(options?: StaticSitesListStaticSiteBuildFunctionsParameters): Promise; + get(options?: StaticSitesListStaticSiteBuildFunctionsParameters): StreamableMethod; } // @public @@ -14113,11 +15604,11 @@ export interface StaticSitesListStaticSiteBuildFunctions200Response extends Http } // @public -export interface StaticSitesListStaticSiteBuildFunctionsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteBuildFunctionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14125,7 +15616,7 @@ export type StaticSitesListStaticSiteBuildFunctionsParameters = RequestParameter // @public (undocumented) export interface StaticSitesListStaticSiteConfiguredRoles { - post(options?: StaticSitesListStaticSiteConfiguredRolesParameters): Promise; + post(options?: StaticSitesListStaticSiteConfiguredRolesParameters): StreamableMethod; } // @public @@ -14137,11 +15628,11 @@ export interface StaticSitesListStaticSiteConfiguredRoles200Response extends Htt } // @public -export interface StaticSitesListStaticSiteConfiguredRolesdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteConfiguredRolesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14149,7 +15640,7 @@ export type StaticSitesListStaticSiteConfiguredRolesParameters = RequestParamete // @public (undocumented) export interface StaticSitesListStaticSiteCustomDomains { - get(options?: StaticSitesListStaticSiteCustomDomainsParameters): Promise; + get(options?: StaticSitesListStaticSiteCustomDomainsParameters): StreamableMethod; } // @public @@ -14161,11 +15652,11 @@ export interface StaticSitesListStaticSiteCustomDomains200Response extends HttpR } // @public -export interface StaticSitesListStaticSiteCustomDomainsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteCustomDomainsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14173,7 +15664,7 @@ export type StaticSitesListStaticSiteCustomDomainsParameters = RequestParameters // @public (undocumented) export interface StaticSitesListStaticSiteFunctionAppSettings { - post(options?: StaticSitesListStaticSiteFunctionAppSettingsParameters): Promise; + post(options?: StaticSitesListStaticSiteFunctionAppSettingsParameters): StreamableMethod; } // @public @@ -14185,11 +15676,11 @@ export interface StaticSitesListStaticSiteFunctionAppSettings200Response extends } // @public -export interface StaticSitesListStaticSiteFunctionAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14197,7 +15688,7 @@ export type StaticSitesListStaticSiteFunctionAppSettingsParameters = RequestPara // @public (undocumented) export interface StaticSitesListStaticSiteFunctions { - get(options?: StaticSitesListStaticSiteFunctionsParameters): Promise; + get(options?: StaticSitesListStaticSiteFunctionsParameters): StreamableMethod; } // @public @@ -14209,11 +15700,11 @@ export interface StaticSitesListStaticSiteFunctions200Response extends HttpRespo } // @public -export interface StaticSitesListStaticSiteFunctionsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteFunctionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14221,7 +15712,7 @@ export type StaticSitesListStaticSiteFunctionsParameters = RequestParameters; // @public (undocumented) export interface StaticSitesListStaticSiteSecrets { - post(options?: StaticSitesListStaticSiteSecretsParameters): Promise; + post(options?: StaticSitesListStaticSiteSecretsParameters): StreamableMethod; } // @public @@ -14233,11 +15724,11 @@ export interface StaticSitesListStaticSiteSecrets200Response extends HttpRespons } // @public -export interface StaticSitesListStaticSiteSecretsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14245,7 +15736,7 @@ export type StaticSitesListStaticSiteSecretsParameters = RequestParameters; // @public (undocumented) export interface StaticSitesListStaticSiteUsers { - post(options?: StaticSitesListStaticSiteUsersParameters): Promise; + post(options?: StaticSitesListStaticSiteUsersParameters): StreamableMethod; } // @public @@ -14257,11 +15748,11 @@ export interface StaticSitesListStaticSiteUsers200Response extends HttpResponse } // @public -export interface StaticSitesListStaticSiteUsersdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteUsersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14269,7 +15760,7 @@ export type StaticSitesListStaticSiteUsersParameters = RequestParameters; // @public (undocumented) export interface StaticSitesPreviewWorkflow { - post(options: StaticSitesPreviewWorkflowParameters): Promise; + post(options: StaticSitesPreviewWorkflowParameters): StreamableMethod; } // @public @@ -14286,11 +15777,11 @@ export interface StaticSitesPreviewWorkflowBodyParam { } // @public -export interface StaticSitesPreviewWorkflowdefaultResponse extends HttpResponse { +export interface StaticSitesPreviewWorkflowDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14344,11 +15835,11 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildBo } // @public -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14371,11 +15862,11 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildQu } // @public -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14399,13 +15890,11 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteQueryPa // @public (undocumented) export interface StaticSitesResetStaticSiteApiKey { - post(options: StaticSitesResetStaticSiteApiKeyParameters): Promise; + post(options: StaticSitesResetStaticSiteApiKeyParameters): StreamableMethod; } // @public export interface StaticSitesResetStaticSiteApiKey200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -14417,11 +15906,11 @@ export interface StaticSitesResetStaticSiteApiKeyBodyParam { } // @public -export interface StaticSitesResetStaticSiteApiKeydefaultResponse extends HttpResponse { +export interface StaticSitesResetStaticSiteApiKeyDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14454,11 +15943,11 @@ export interface StaticSitesUpdateStaticSiteBodyParam { } // @public -export interface StaticSitesUpdateStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesUpdateStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14483,11 +15972,11 @@ export interface StaticSitesUpdateStaticSiteUserBodyParam { } // @public -export interface StaticSitesUpdateStaticSiteUserdefaultResponse extends HttpResponse { +export interface StaticSitesUpdateStaticSiteUserDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14500,21 +15989,17 @@ export type StaticSitesUpdateStaticSiteUserParameters = StaticSitesUpdateStaticS // @public (undocumented) export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite { - post(options: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters): Promise; + post(options: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters): StreamableMethod; } // @public export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14525,11 +16010,11 @@ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteBodyParam } // @public -export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14540,53 +16025,51 @@ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteMediaTypes // @public (undocumented) export type StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters = StaticSitesValidateCustomDomainCanBeAddedToStaticSiteMediaTypesParam & StaticSitesValidateCustomDomainCanBeAddedToStaticSiteBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { properties?: StaticSitesWorkflowPreviewProperties; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewOutput extends ProxyOnlyResourceOutput { properties?: StaticSitesWorkflowPreviewPropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewProperties { - contents?: string; - path?: string; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewPropertiesOutput { - contents?: string; - path?: string; + readonly contents?: string; + readonly path?: string; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { properties?: StaticSitesWorkflowPreviewRequestProperties; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewRequestOutput extends ProxyOnlyResourceOutput { properties?: StaticSitesWorkflowPreviewRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewRequestProperties { branch?: string; buildProperties?: StaticSiteBuildProperties; repositoryUrl?: string; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewRequestPropertiesOutput { branch?: string; buildProperties?: StaticSiteBuildPropertiesOutput; repositoryUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteTemplateOptions { description?: string; isPrivate?: boolean; @@ -14595,7 +16078,7 @@ export interface StaticSiteTemplateOptions { templateRepositoryUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteTemplateOptionsOutput { description?: string; isPrivate?: boolean; @@ -14604,49 +16087,46 @@ export interface StaticSiteTemplateOptionsOutput { templateRepositoryUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserARMResource extends ProxyOnlyResource { properties?: StaticSiteUserARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserARMResourceProperties { - displayName?: string; - provider?: string; roles?: string; - userId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserARMResourcePropertiesOutput { - displayName?: string; - provider?: string; + readonly displayName?: string; + readonly provider?: string; roles?: string; - userId?: string; + readonly userId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationRequestResource extends ProxyOnlyResource { properties?: StaticSiteUserInvitationRequestResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationRequestResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserInvitationRequestResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationRequestResourceProperties { domain?: string; numHoursToExpiration?: number; @@ -14655,7 +16135,7 @@ export interface StaticSiteUserInvitationRequestResourceProperties { userDetails?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationRequestResourcePropertiesOutput { domain?: string; numHoursToExpiration?: number; @@ -14664,83 +16144,79 @@ export interface StaticSiteUserInvitationRequestResourcePropertiesOutput { userDetails?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationResponseResource extends ProxyOnlyResource { properties?: StaticSiteUserInvitationResponseResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationResponseResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserInvitationResponseResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationResponseResourceProperties { - expiresOn?: Date | string; - invitationUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationResponseResourcePropertiesOutput { - expiresOn?: string; - invitationUrl?: string; + readonly expiresOn?: string; + readonly invitationUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { properties?: StaticSiteUserProvidedFunctionAppProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppARMResource extends ProxyOnlyResource { properties?: StaticSiteUserProvidedFunctionAppARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserProvidedFunctionAppARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppARMResourceProperties { - createdOn?: Date | string; functionAppRegion?: string; functionAppResourceId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppARMResourcePropertiesOutput { - createdOn?: string; + readonly createdOn?: string; functionAppRegion?: string; functionAppResourceId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserProvidedFunctionAppPropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppProperties { - createdOn?: Date | string; functionAppRegion?: string; functionAppResourceId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppPropertiesOutput { - createdOn?: string; + readonly createdOn?: string; functionAppRegion?: string; functionAppResourceId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppsCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteZipDeployment { apiZipUrl?: string; appZipUrl?: string; @@ -14749,17 +16225,17 @@ export interface StaticSiteZipDeployment { provider?: string; } -// @public (undocumented) +// @public export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { properties?: StaticSiteZipDeployment; } -// @public (undocumented) +// @public export interface StaticSiteZipDeploymentARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteZipDeploymentOutput; } -// @public (undocumented) +// @public export interface StaticSiteZipDeploymentOutput { apiZipUrl?: string; appZipUrl?: string; @@ -14768,13 +16244,13 @@ export interface StaticSiteZipDeploymentOutput { provider?: string; } -// @public (undocumented) +// @public export interface Status { message?: string; statusId?: "Critical" | "Warning" | "Info" | "Success" | "None"; } -// @public (undocumented) +// @public export interface StatusCodesBasedTrigger { count?: number; path?: string; @@ -14784,7 +16260,7 @@ export interface StatusCodesBasedTrigger { win32Status?: number; } -// @public (undocumented) +// @public export interface StatusCodesBasedTriggerOutput { count?: number; path?: string; @@ -14794,7 +16270,7 @@ export interface StatusCodesBasedTriggerOutput { win32Status?: number; } -// @public (undocumented) +// @public export interface StatusCodesRangeBasedTrigger { count?: number; // (undocumented) @@ -14803,7 +16279,7 @@ export interface StatusCodesRangeBasedTrigger { timeInterval?: string; } -// @public (undocumented) +// @public export interface StatusCodesRangeBasedTriggerOutput { count?: number; // (undocumented) @@ -14812,23 +16288,23 @@ export interface StatusCodesRangeBasedTriggerOutput { timeInterval?: string; } -// @public (undocumented) +// @public export interface StatusOutput { message?: string; statusId?: "Critical" | "Warning" | "Info" | "Success" | "None"; } -// @public (undocumented) +// @public export interface StorageMigrationOptions extends ProxyOnlyResource { properties?: StorageMigrationOptionsProperties; } -// @public (undocumented) +// @public export interface StorageMigrationOptionsOutput extends ProxyOnlyResourceOutput { properties?: StorageMigrationOptionsPropertiesOutput; } -// @public (undocumented) +// @public export interface StorageMigrationOptionsProperties { azurefilesConnectionString: string; azurefilesShare: string; @@ -14836,7 +16312,7 @@ export interface StorageMigrationOptionsProperties { switchSiteAfterMigration?: boolean; } -// @public (undocumented) +// @public export interface StorageMigrationOptionsPropertiesOutput { azurefilesConnectionString: string; azurefilesShare: string; @@ -14844,81 +16320,78 @@ export interface StorageMigrationOptionsPropertiesOutput { switchSiteAfterMigration?: boolean; } -// @public (undocumented) +// @public export interface StorageMigrationResponse extends ProxyOnlyResource { properties?: StorageMigrationResponseProperties; } -// @public (undocumented) +// @public export interface StorageMigrationResponseOutput extends ProxyOnlyResourceOutput { properties?: StorageMigrationResponsePropertiesOutput; } -// @public (undocumented) +// @public export interface StorageMigrationResponseProperties { - operationId?: string; } -// @public (undocumented) +// @public export interface StorageMigrationResponsePropertiesOutput { - operationId?: string; + readonly operationId?: string; } -// @public (undocumented) +// @public export interface StringDictionary extends ProxyOnlyResource { properties?: Record; } -// @public (undocumented) +// @public export interface StringDictionaryOutput extends ProxyOnlyResourceOutput { properties?: Record; } -// @public (undocumented) +// @public export interface StringList extends ProxyOnlyResource { properties?: Array; } -// @public (undocumented) +// @public export interface StringListOutput extends ProxyOnlyResourceOutput { properties?: Array; } -// @public (undocumented) +// @public export interface SupportTopic { - id?: string; - pesId?: string; } -// @public (undocumented) +// @public export interface SupportTopicOutput { - id?: string; - pesId?: string; + readonly id?: string; + readonly pesId?: string; } -// @public (undocumented) +// @public export interface SwiftVirtualNetwork extends ProxyOnlyResource { properties?: SwiftVirtualNetworkProperties; } -// @public (undocumented) +// @public export interface SwiftVirtualNetworkOutput extends ProxyOnlyResourceOutput { properties?: SwiftVirtualNetworkPropertiesOutput; } -// @public (undocumented) +// @public export interface SwiftVirtualNetworkProperties { subnetResourceId?: string; swiftSupported?: boolean; } -// @public (undocumented) +// @public export interface SwiftVirtualNetworkPropertiesOutput { subnetResourceId?: string; swiftSupported?: boolean; } -// @public (undocumented) +// @public export interface Template { containers?: Array; dapr?: Dapr; @@ -14926,7 +16399,7 @@ export interface Template { scale?: Scale; } -// @public (undocumented) +// @public export interface TemplateOutput { containers?: Array; dapr?: DaprOutput; @@ -14934,13 +16407,13 @@ export interface TemplateOutput { scale?: ScaleOutput; } -// @public (undocumented) +// @public export interface TldLegalAgreementCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface TldLegalAgreementOutput { agreementKey: string; content: string; @@ -14948,7 +16421,7 @@ export interface TldLegalAgreementOutput { url?: string; } -// @public (undocumented) +// @public export interface TokenStore { azureBlobStorage?: BlobStorageTokenStore; enabled?: boolean; @@ -14956,7 +16429,7 @@ export interface TokenStore { tokenRefreshExtensionHours?: number; } -// @public (undocumented) +// @public export interface TokenStoreOutput { azureBlobStorage?: BlobStorageTokenStoreOutput; enabled?: boolean; @@ -14964,41 +16437,41 @@ export interface TokenStoreOutput { tokenRefreshExtensionHours?: number; } -// @public (undocumented) +// @public export interface TopLevelDomain extends ProxyOnlyResource { properties?: TopLevelDomainProperties; } -// @public (undocumented) +// @public export interface TopLevelDomainAgreementOption { forTransfer?: boolean; includePrivacy?: boolean; } -// @public (undocumented) +// @public export interface TopLevelDomainCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface TopLevelDomainOutput extends ProxyOnlyResourceOutput { properties?: TopLevelDomainPropertiesOutput; } -// @public (undocumented) +// @public export interface TopLevelDomainProperties { privacy?: boolean; } -// @public (undocumented) +// @public export interface TopLevelDomainPropertiesOutput { privacy?: boolean; } // @public (undocumented) export interface TopLevelDomainsGet { - get(options?: TopLevelDomainsGetParameters): Promise; + get(options?: TopLevelDomainsGetParameters): StreamableMethod; } // @public @@ -15010,11 +16483,11 @@ export interface TopLevelDomainsGet200Response extends HttpResponse { } // @public -export interface TopLevelDomainsGetdefaultResponse extends HttpResponse { +export interface TopLevelDomainsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15022,7 +16495,7 @@ export type TopLevelDomainsGetParameters = RequestParameters; // @public (undocumented) export interface TopLevelDomainsList { - get(options?: TopLevelDomainsListParameters): Promise; + get(options?: TopLevelDomainsListParameters): StreamableMethod; } // @public @@ -15035,7 +16508,7 @@ export interface TopLevelDomainsList200Response extends HttpResponse { // @public (undocumented) export interface TopLevelDomainsListAgreements { - post(options: TopLevelDomainsListAgreementsParameters): Promise; + post(options: TopLevelDomainsListAgreementsParameters): StreamableMethod; } // @public @@ -15052,11 +16525,11 @@ export interface TopLevelDomainsListAgreementsBodyParam { } // @public -export interface TopLevelDomainsListAgreementsdefaultResponse extends HttpResponse { +export interface TopLevelDomainsListAgreementsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15068,57 +16541,57 @@ export interface TopLevelDomainsListAgreementsMediaTypesParam { export type TopLevelDomainsListAgreementsParameters = TopLevelDomainsListAgreementsMediaTypesParam & TopLevelDomainsListAgreementsBodyParam & RequestParameters; // @public -export interface TopLevelDomainsListdefaultResponse extends HttpResponse { +export interface TopLevelDomainsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type TopLevelDomainsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface TrafficWeight { latestRevision?: boolean; revisionName?: string; weight?: number; } -// @public (undocumented) +// @public export interface TrafficWeightOutput { latestRevision?: boolean; revisionName?: string; weight?: number; } -// @public (undocumented) +// @public export interface TriggeredJobHistory extends ProxyOnlyResource { properties?: TriggeredJobHistoryProperties; } -// @public (undocumented) +// @public export interface TriggeredJobHistoryCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface TriggeredJobHistoryOutput extends ProxyOnlyResourceOutput { properties?: TriggeredJobHistoryPropertiesOutput; } -// @public (undocumented) +// @public export interface TriggeredJobHistoryProperties { runs?: Array; } -// @public (undocumented) +// @public export interface TriggeredJobHistoryPropertiesOutput { runs?: Array; } -// @public (undocumented) +// @public export interface TriggeredJobRun { duration?: string; end_time?: Date | string; @@ -15133,7 +16606,7 @@ export interface TriggeredJobRun { web_job_name?: string; } -// @public (undocumented) +// @public export interface TriggeredJobRunOutput { duration?: string; end_time?: string; @@ -15148,23 +16621,23 @@ export interface TriggeredJobRunOutput { web_job_name?: string; } -// @public (undocumented) +// @public export interface TriggeredWebJob extends ProxyOnlyResource { properties?: TriggeredWebJobProperties; } -// @public (undocumented) +// @public export interface TriggeredWebJobCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface TriggeredWebJobOutput extends ProxyOnlyResourceOutput { properties?: TriggeredWebJobPropertiesOutput; } -// @public (undocumented) +// @public export interface TriggeredWebJobProperties { error?: string; extra_info_url?: string; @@ -15178,7 +16651,7 @@ export interface TriggeredWebJobProperties { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface TriggeredWebJobPropertiesOutput { error?: string; extra_info_url?: string; @@ -15192,25 +16665,25 @@ export interface TriggeredWebJobPropertiesOutput { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface Twitter { enabled?: boolean; registration?: TwitterRegistration; } -// @public (undocumented) +// @public export interface TwitterOutput { enabled?: boolean; registration?: TwitterRegistrationOutput; } -// @public (undocumented) +// @public export interface TwitterRegistration { consumerKey?: string; consumerSecretSettingName?: string; } -// @public (undocumented) +// @public export interface TwitterRegistrationOutput { consumerKey?: string; consumerSecretSettingName?: string; @@ -15230,11 +16703,11 @@ export interface UpdatePublishingUserBodyParam { } // @public -export interface UpdatePublishingUserdefaultResponse extends HttpResponse { +export interface UpdatePublishingUserDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15259,11 +16732,11 @@ export interface UpdateSourceControlBodyParam { } // @public -export interface UpdateSourceControldefaultResponse extends HttpResponse { +export interface UpdateSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15274,69 +16747,59 @@ export interface UpdateSourceControlMediaTypesParam { // @public (undocumented) export type UpdateSourceControlParameters = UpdateSourceControlMediaTypesParam & UpdateSourceControlBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface Usage extends ProxyOnlyResource { properties?: UsageProperties; } -// @public (undocumented) +// @public export interface UsageCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface UsageOutput extends ProxyOnlyResourceOutput { properties?: UsagePropertiesOutput; } -// @public (undocumented) +// @public export interface UsageProperties { - computeMode?: "Shared" | "Dedicated" | "Dynamic"; - currentValue?: number; - displayName?: string; - limit?: number; - nextResetTime?: Date | string; - resourceName?: string; - siteMode?: string; - unit?: string; } -// @public (undocumented) +// @public export interface UsagePropertiesOutput { - computeMode?: "Shared" | "Dedicated" | "Dynamic"; - currentValue?: number; - displayName?: string; - limit?: number; - nextResetTime?: string; - resourceName?: string; - siteMode?: string; - unit?: string; + readonly computeMode?: "Shared" | "Dedicated" | "Dynamic"; + readonly currentValue?: number; + readonly displayName?: string; + readonly limit?: number; + readonly nextResetTime?: string; + readonly resourceName?: string; + readonly siteMode?: string; + readonly unit?: string; } -// @public (undocumented) +// @public export interface User extends ProxyOnlyResource { properties?: UserProperties; } -// @public (undocumented) +// @public export interface UserAssignedIdentity { - clientId?: string; - principalId?: string; } -// @public (undocumented) +// @public export interface UserAssignedIdentityOutput { - clientId?: string; - principalId?: string; + readonly clientId?: string; + readonly principalId?: string; } -// @public (undocumented) +// @public export interface UserOutput extends ProxyOnlyResourceOutput { properties?: UserPropertiesOutput; } -// @public (undocumented) +// @public export interface UserProperties { publishingPassword?: string; publishingPasswordHash?: string; @@ -15345,7 +16808,7 @@ export interface UserProperties { scmUri?: string; } -// @public (undocumented) +// @public export interface UserPropertiesOutput { publishingPassword?: string; publishingPasswordHash?: string; @@ -15356,7 +16819,7 @@ export interface UserPropertiesOutput { // @public (undocumented) export interface Validate { - post(options: ValidateParameters): Promise; + post(options: ValidateParameters): StreamableMethod; } // @public @@ -15373,11 +16836,11 @@ export interface ValidateBodyParam { } // @public -export interface ValidatedefaultResponse extends HttpResponse { +export interface ValidateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15387,13 +16850,11 @@ export interface ValidateMediaTypesParam { // @public (undocumented) export interface ValidateMove { - post(options: ValidateMoveParameters): Promise; + post(options: ValidateMoveParameters): StreamableMethod; } // @public export interface ValidateMove204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -15404,11 +16865,11 @@ export interface ValidateMoveBodyParam { } // @public -export interface ValidateMovedefaultResponse extends HttpResponse { +export interface ValidateMoveDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15422,7 +16883,7 @@ export type ValidateMoveParameters = ValidateMoveMediaTypesParam & ValidateMoveB // @public (undocumented) export type ValidateParameters = ValidateMediaTypesParam & ValidateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ValidateProperties { appServiceEnvironment?: AppServiceEnvironment; capacity?: number; @@ -15440,7 +16901,7 @@ export interface ValidateProperties { skuName?: string; } -// @public (undocumented) +// @public export interface ValidateRequest { location: string; name: string; @@ -15448,13 +16909,13 @@ export interface ValidateRequest { type: "ServerFarm" | "Site" | "Microsoft.Web/hostingEnvironments"; } -// @public (undocumented) +// @public export interface ValidateResponseErrorOutput { code?: string; message?: string; } -// @public (undocumented) +// @public export interface ValidateResponseOutput { error?: ValidateResponseErrorOutput; status?: string; @@ -15462,7 +16923,7 @@ export interface ValidateResponseOutput { // @public (undocumented) export interface VerifyHostingEnvironmentVnet { - post(options: VerifyHostingEnvironmentVnetParameters): Promise; + post(options: VerifyHostingEnvironmentVnetParameters): StreamableMethod; } // @public @@ -15479,11 +16940,11 @@ export interface VerifyHostingEnvironmentVnetBodyParam { } // @public -export interface VerifyHostingEnvironmentVnetdefaultResponse extends HttpResponse { +export interface VerifyHostingEnvironmentVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15494,7 +16955,7 @@ export interface VerifyHostingEnvironmentVnetMediaTypesParam { // @public (undocumented) export type VerifyHostingEnvironmentVnetParameters = VerifyHostingEnvironmentVnetMediaTypesParam & VerifyHostingEnvironmentVnetBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface VirtualApplication { physicalPath?: string; preloadEnabled?: boolean; @@ -15502,7 +16963,7 @@ export interface VirtualApplication { virtualPath?: string; } -// @public (undocumented) +// @public export interface VirtualApplicationOutput { physicalPath?: string; preloadEnabled?: boolean; @@ -15510,19 +16971,19 @@ export interface VirtualApplicationOutput { virtualPath?: string; } -// @public (undocumented) +// @public export interface VirtualDirectory { physicalPath?: string; virtualPath?: string; } -// @public (undocumented) +// @public export interface VirtualDirectoryOutput { physicalPath?: string; virtualPath?: string; } -// @public (undocumented) +// @public export interface VirtualIPMapping { internalHttpPort?: number; internalHttpsPort?: number; @@ -15531,7 +16992,7 @@ export interface VirtualIPMapping { virtualIP?: string; } -// @public (undocumented) +// @public export interface VirtualIPMappingOutput { internalHttpPort?: number; internalHttpsPort?: number; @@ -15540,87 +17001,82 @@ export interface VirtualIPMappingOutput { virtualIP?: string; } -// @public (undocumented) +// @public export interface VirtualNetworkProfile { id: string; - name?: string; subnet?: string; - type?: string; } -// @public (undocumented) +// @public export interface VirtualNetworkProfileOutput { id: string; - name?: string; + readonly name?: string; subnet?: string; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface VnetGateway extends ProxyOnlyResource { properties?: VnetGatewayProperties; } -// @public (undocumented) +// @public export interface VnetGatewayOutput extends ProxyOnlyResourceOutput { properties?: VnetGatewayPropertiesOutput; } -// @public (undocumented) +// @public export interface VnetGatewayProperties { vnetName?: string; vpnPackageUri: string; } -// @public (undocumented) +// @public export interface VnetGatewayPropertiesOutput { vnetName?: string; vpnPackageUri: string; } -// @public (undocumented) +// @public export interface VnetInfo { certBlob?: string; - certThumbprint?: string; dnsServers?: string; isSwift?: boolean; - resyncRequired?: boolean; - routes?: Array; vnetResourceId?: string; } -// @public (undocumented) +// @public export interface VnetInfoOutput { certBlob?: string; - certThumbprint?: string; + readonly certThumbprint?: string; dnsServers?: string; isSwift?: boolean; - resyncRequired?: boolean; - routes?: Array; + readonly resyncRequired?: boolean; + readonly routes?: Array; vnetResourceId?: string; } -// @public (undocumented) +// @public export interface VnetInfoResource extends ProxyOnlyResource { properties?: VnetInfo; } -// @public (undocumented) +// @public export interface VnetInfoResourceOutput extends ProxyOnlyResourceOutput { properties?: VnetInfoOutput; } -// @public (undocumented) +// @public export interface VnetParameters extends ProxyOnlyResource { properties?: VnetParametersProperties; } -// @public (undocumented) +// @public export interface VnetParametersOutput extends ProxyOnlyResourceOutput { properties?: VnetParametersPropertiesOutput; } -// @public (undocumented) +// @public export interface VnetParametersProperties { subnetResourceId?: string; vnetName?: string; @@ -15628,7 +17084,7 @@ export interface VnetParametersProperties { vnetSubnetName?: string; } -// @public (undocumented) +// @public export interface VnetParametersPropertiesOutput { subnetResourceId?: string; vnetName?: string; @@ -15636,41 +17092,41 @@ export interface VnetParametersPropertiesOutput { vnetSubnetName?: string; } -// @public (undocumented) +// @public export interface VnetRoute extends ProxyOnlyResource { properties?: VnetRouteProperties; } -// @public (undocumented) +// @public export interface VnetRouteOutput extends ProxyOnlyResourceOutput { properties?: VnetRoutePropertiesOutput; } -// @public (undocumented) +// @public export interface VnetRouteProperties { endAddress?: string; routeType?: "DEFAULT" | "INHERITED" | "STATIC"; startAddress?: string; } -// @public (undocumented) +// @public export interface VnetRoutePropertiesOutput { endAddress?: string; routeType?: "DEFAULT" | "INHERITED" | "STATIC"; startAddress?: string; } -// @public (undocumented) +// @public export interface VnetValidationFailureDetails extends ProxyOnlyResource { properties?: VnetValidationFailureDetailsProperties; } -// @public (undocumented) +// @public export interface VnetValidationFailureDetailsOutput extends ProxyOnlyResourceOutput { properties?: VnetValidationFailureDetailsPropertiesOutput; } -// @public (undocumented) +// @public export interface VnetValidationFailureDetailsProperties { failed?: boolean; failedTests?: Array; @@ -15678,7 +17134,7 @@ export interface VnetValidationFailureDetailsProperties { warnings?: Array; } -// @public (undocumented) +// @public export interface VnetValidationFailureDetailsPropertiesOutput { failed?: boolean; failedTests?: Array; @@ -15686,110 +17142,90 @@ export interface VnetValidationFailureDetailsPropertiesOutput { warnings?: Array; } -// @public (undocumented) +// @public export interface VnetValidationTestFailure extends ProxyOnlyResource { properties?: VnetValidationTestFailureProperties; } -// @public (undocumented) +// @public export interface VnetValidationTestFailureOutput extends ProxyOnlyResourceOutput { properties?: VnetValidationTestFailurePropertiesOutput; } -// @public (undocumented) +// @public export interface VnetValidationTestFailureProperties { details?: string; testName?: string; } -// @public (undocumented) +// @public export interface VnetValidationTestFailurePropertiesOutput { details?: string; testName?: string; } -// @public (undocumented) +// @public export interface WebAppCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WebAppInstanceStatusCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WebAppMajorVersion { - displayText?: string; - minorVersions?: Array; - value?: string; } -// @public (undocumented) +// @public export interface WebAppMajorVersionOutput { - displayText?: string; - minorVersions?: Array; - value?: string; + readonly displayText?: string; + readonly minorVersions?: Array; + readonly value?: string; } -// @public (undocumented) +// @public export interface WebAppMinorVersion { - displayText?: string; - stackSettings?: WebAppRuntimes; - value?: string; } -// @public (undocumented) +// @public export interface WebAppMinorVersionOutput { - displayText?: string; - stackSettings?: WebAppRuntimesOutput; - value?: string; + readonly displayText?: string; + readonly stackSettings?: WebAppRuntimesOutput; + readonly value?: string; } -// @public (undocumented) +// @public export interface WebAppRuntimes { - linuxContainerSettings?: LinuxJavaContainerSettings; - linuxRuntimeSettings?: WebAppRuntimeSettings; - windowsContainerSettings?: WindowsJavaContainerSettings; - windowsRuntimeSettings?: WebAppRuntimeSettings; } -// @public (undocumented) +// @public export interface WebAppRuntimeSettings { - appInsightsSettings?: AppInsightsWebAppStackSettings; - endOfLifeDate?: Date | string; - gitHubActionSettings?: GitHubActionWebAppStackSettings; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - remoteDebuggingSupported?: boolean; - runtimeVersion?: string; } -// @public (undocumented) +// @public export interface WebAppRuntimeSettingsOutput { - appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; - endOfLifeDate?: string; - gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - remoteDebuggingSupported?: boolean; - runtimeVersion?: string; + readonly appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; + readonly endOfLifeDate?: string; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; + readonly isAutoUpdate?: boolean; + readonly isDeprecated?: boolean; + readonly isEarlyAccess?: boolean; + readonly isHidden?: boolean; + readonly isPreview?: boolean; + readonly remoteDebuggingSupported?: boolean; + readonly runtimeVersion?: string; } -// @public (undocumented) +// @public export interface WebAppRuntimesOutput { - linuxContainerSettings?: LinuxJavaContainerSettingsOutput; - linuxRuntimeSettings?: WebAppRuntimeSettingsOutput; - windowsContainerSettings?: WindowsJavaContainerSettingsOutput; - windowsRuntimeSettings?: WebAppRuntimeSettingsOutput; + readonly linuxContainerSettings?: LinuxJavaContainerSettingsOutput; + readonly linuxRuntimeSettings?: WebAppRuntimeSettingsOutput; + readonly windowsContainerSettings?: WindowsJavaContainerSettingsOutput; + readonly windowsRuntimeSettings?: WebAppRuntimeSettingsOutput; } // @public @@ -15806,11 +17242,11 @@ export interface WebAppsAddPremierAddOnBodyParam { } // @public -export interface WebAppsAddPremierAddOndefaultResponse extends HttpResponse { +export interface WebAppsAddPremierAddOnDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15835,11 +17271,11 @@ export interface WebAppsAddPremierAddOnSlotBodyParam { } // @public -export interface WebAppsAddPremierAddOnSlotdefaultResponse extends HttpResponse { +export interface WebAppsAddPremierAddOnSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15852,7 +17288,7 @@ export type WebAppsAddPremierAddOnSlotParameters = WebAppsAddPremierAddOnSlotMed // @public (undocumented) export interface WebAppsAnalyzeCustomHostname { - get(options?: WebAppsAnalyzeCustomHostnameParameters): Promise; + get(options?: WebAppsAnalyzeCustomHostnameParameters): StreamableMethod; } // @public @@ -15864,11 +17300,11 @@ export interface WebAppsAnalyzeCustomHostname200Response extends HttpResponse { } // @public -export interface WebAppsAnalyzeCustomHostnamedefaultResponse extends HttpResponse { +export interface WebAppsAnalyzeCustomHostnameDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15887,7 +17323,7 @@ export interface WebAppsAnalyzeCustomHostnameQueryParamProperties { // @public (undocumented) export interface WebAppsAnalyzeCustomHostnameSlot { - get(options?: WebAppsAnalyzeCustomHostnameSlotParameters): Promise; + get(options?: WebAppsAnalyzeCustomHostnameSlotParameters): StreamableMethod; } // @public @@ -15899,11 +17335,11 @@ export interface WebAppsAnalyzeCustomHostnameSlot200Response extends HttpRespons } // @public -export interface WebAppsAnalyzeCustomHostnameSlotdefaultResponse extends HttpResponse { +export interface WebAppsAnalyzeCustomHostnameSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15922,13 +17358,11 @@ export interface WebAppsAnalyzeCustomHostnameSlotQueryParamProperties { // @public (undocumented) export interface WebAppsApplySlotConfigToProduction { - post(options: WebAppsApplySlotConfigToProductionParameters): Promise; + post(options: WebAppsApplySlotConfigToProductionParameters): StreamableMethod; } // @public export interface WebAppsApplySlotConfigToProduction200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -15939,11 +17373,11 @@ export interface WebAppsApplySlotConfigToProductionBodyParam { } // @public -export interface WebAppsApplySlotConfigToProductiondefaultResponse extends HttpResponse { +export interface WebAppsApplySlotConfigToProductionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15956,13 +17390,11 @@ export type WebAppsApplySlotConfigToProductionParameters = WebAppsApplySlotConfi // @public (undocumented) export interface WebAppsApplySlotConfigurationSlot { - post(options: WebAppsApplySlotConfigurationSlotParameters): Promise; + post(options: WebAppsApplySlotConfigurationSlotParameters): StreamableMethod; } // @public export interface WebAppsApplySlotConfigurationSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -15973,11 +17405,11 @@ export interface WebAppsApplySlotConfigurationSlotBodyParam { } // @public -export interface WebAppsApplySlotConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsApplySlotConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16011,11 +17443,11 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnectionBodyParam { } // @public -export interface WebAppsApproveOrRejectPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16049,11 +17481,11 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotBodyParam { } // @public -export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16066,7 +17498,7 @@ export type WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters = WebA // @public (undocumented) export interface WebAppsBackup { - post(options: WebAppsBackupParameters): Promise; + post(options: WebAppsBackupParameters): StreamableMethod; } // @public @@ -16083,11 +17515,11 @@ export interface WebAppsBackupBodyParam { } // @public -export interface WebAppsBackupdefaultResponse extends HttpResponse { +export interface WebAppsBackupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16100,7 +17532,7 @@ export type WebAppsBackupParameters = WebAppsBackupMediaTypesParam & WebAppsBack // @public (undocumented) export interface WebAppsBackupSlot { - post(options: WebAppsBackupSlotParameters): Promise; + post(options: WebAppsBackupSlotParameters): StreamableMethod; } // @public @@ -16117,11 +17549,11 @@ export interface WebAppsBackupSlotBodyParam { } // @public -export interface WebAppsBackupSlotdefaultResponse extends HttpResponse { +export interface WebAppsBackupSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16146,11 +17578,11 @@ export interface WebAppsCreateDeploymentBodyParam { } // @public -export interface WebAppsCreateDeploymentdefaultResponse extends HttpResponse { +export interface WebAppsCreateDeploymentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16175,11 +17607,11 @@ export interface WebAppsCreateDeploymentSlotBodyParam { } // @public -export interface WebAppsCreateDeploymentSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateDeploymentSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16204,11 +17636,11 @@ export interface WebAppsCreateFunctionBodyParam { } // @public -export interface WebAppsCreateFunctiondefaultResponse extends HttpResponse { +export interface WebAppsCreateFunctionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16233,11 +17665,11 @@ export interface WebAppsCreateInstanceFunctionSlotBodyParam { } // @public -export interface WebAppsCreateInstanceFunctionSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateInstanceFunctionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16258,8 +17690,6 @@ export interface WebAppsCreateInstanceMSDeployOperation201Response extends HttpR // @public export interface WebAppsCreateInstanceMSDeployOperation409Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "409"; } @@ -16270,11 +17700,11 @@ export interface WebAppsCreateInstanceMSDeployOperationBodyParam { } // @public -export interface WebAppsCreateInstanceMSDeployOperationdefaultResponse extends HttpResponse { +export interface WebAppsCreateInstanceMSDeployOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16295,8 +17725,6 @@ export interface WebAppsCreateInstanceMSDeployOperationSlot201Response extends H // @public export interface WebAppsCreateInstanceMSDeployOperationSlot409Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "409"; } @@ -16307,11 +17735,11 @@ export interface WebAppsCreateInstanceMSDeployOperationSlotBodyParam { } // @public -export interface WebAppsCreateInstanceMSDeployOperationSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16332,8 +17760,6 @@ export interface WebAppsCreateMSDeployOperation201Response extends HttpResponse // @public export interface WebAppsCreateMSDeployOperation409Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "409"; } @@ -16344,11 +17770,11 @@ export interface WebAppsCreateMSDeployOperationBodyParam { } // @public -export interface WebAppsCreateMSDeployOperationdefaultResponse extends HttpResponse { +export interface WebAppsCreateMSDeployOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16369,8 +17795,6 @@ export interface WebAppsCreateMSDeployOperationSlot201Response extends HttpRespo // @public export interface WebAppsCreateMSDeployOperationSlot409Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "409"; } @@ -16381,11 +17805,11 @@ export interface WebAppsCreateMSDeployOperationSlotBodyParam { } // @public -export interface WebAppsCreateMSDeployOperationSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateMSDeployOperationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16405,11 +17829,11 @@ export interface WebAppsCreateOneDeployOperation200Response extends HttpResponse } // @public -export interface WebAppsCreateOneDeployOperationdefaultResponse extends HttpResponse { +export interface WebAppsCreateOneDeployOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16450,11 +17874,11 @@ export interface WebAppsCreateOrUpdateConfigurationBodyParam { } // @public -export interface WebAppsCreateOrUpdateConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16479,11 +17903,11 @@ export interface WebAppsCreateOrUpdateConfigurationSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16495,11 +17919,11 @@ export interface WebAppsCreateOrUpdateConfigurationSlotMediaTypesParam { export type WebAppsCreateOrUpdateConfigurationSlotParameters = WebAppsCreateOrUpdateConfigurationSlotMediaTypesParam & WebAppsCreateOrUpdateConfigurationSlotBodyParam & RequestParameters; // @public -export interface WebAppsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public @@ -16516,11 +17940,11 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierBodyParam { } // @public -export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16545,11 +17969,11 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16562,8 +17986,8 @@ export type WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters = WebAp // @public (undocumented) export interface WebAppsCreateOrUpdateFunctionSecret { - delete(options?: WebAppsDeleteFunctionSecretParameters): Promise; - put(options: WebAppsCreateOrUpdateFunctionSecretParameters): Promise; + delete(options?: WebAppsDeleteFunctionSecretParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateFunctionSecretParameters): StreamableMethod; } // @public @@ -16588,11 +18012,11 @@ export interface WebAppsCreateOrUpdateFunctionSecretBodyParam { } // @public -export interface WebAppsCreateOrUpdateFunctionSecretdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateFunctionSecretDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16605,8 +18029,8 @@ export type WebAppsCreateOrUpdateFunctionSecretParameters = WebAppsCreateOrUpdat // @public (undocumented) export interface WebAppsCreateOrUpdateFunctionSecretSlot { - delete(options?: WebAppsDeleteFunctionSecretSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateFunctionSecretSlotParameters): Promise; + delete(options?: WebAppsDeleteFunctionSecretSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateFunctionSecretSlotParameters): StreamableMethod; } // @public @@ -16631,11 +18055,11 @@ export interface WebAppsCreateOrUpdateFunctionSecretSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateFunctionSecretSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16660,11 +18084,11 @@ export interface WebAppsCreateOrUpdateHostNameBindingBodyParam { } // @public -export interface WebAppsCreateOrUpdateHostNameBindingdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHostNameBindingDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16689,11 +18113,11 @@ export interface WebAppsCreateOrUpdateHostNameBindingSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateHostNameBindingSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16706,8 +18130,8 @@ export type WebAppsCreateOrUpdateHostNameBindingSlotParameters = WebAppsCreateOr // @public (undocumented) export interface WebAppsCreateOrUpdateHostSecret { - delete(options?: WebAppsDeleteHostSecretParameters): Promise; - put(options: WebAppsCreateOrUpdateHostSecretParameters): Promise; + delete(options?: WebAppsDeleteHostSecretParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHostSecretParameters): StreamableMethod; } // @public @@ -16732,11 +18156,11 @@ export interface WebAppsCreateOrUpdateHostSecretBodyParam { } // @public -export interface WebAppsCreateOrUpdateHostSecretdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHostSecretDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16749,8 +18173,8 @@ export type WebAppsCreateOrUpdateHostSecretParameters = WebAppsCreateOrUpdateHos // @public (undocumented) export interface WebAppsCreateOrUpdateHostSecretSlot { - delete(options?: WebAppsDeleteHostSecretSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateHostSecretSlotParameters): Promise; + delete(options?: WebAppsDeleteHostSecretSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHostSecretSlotParameters): StreamableMethod; } // @public @@ -16775,11 +18199,11 @@ export interface WebAppsCreateOrUpdateHostSecretSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateHostSecretSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHostSecretSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16804,11 +18228,11 @@ export interface WebAppsCreateOrUpdateHybridConnectionBodyParam { } // @public -export interface WebAppsCreateOrUpdateHybridConnectiondefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16833,11 +18257,11 @@ export interface WebAppsCreateOrUpdateHybridConnectionSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateHybridConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16870,11 +18294,11 @@ export interface WebAppsCreateOrUpdatePublicCertificateBodyParam { } // @public -export interface WebAppsCreateOrUpdatePublicCertificatedefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdatePublicCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16899,11 +18323,11 @@ export interface WebAppsCreateOrUpdatePublicCertificateSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdatePublicCertificateSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16928,11 +18352,11 @@ export interface WebAppsCreateOrUpdateRelayServiceConnectionBodyParam { } // @public -export interface WebAppsCreateOrUpdateRelayServiceConnectiondefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16957,11 +18381,11 @@ export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16994,11 +18418,11 @@ export interface WebAppsCreateOrUpdateSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17039,11 +18463,11 @@ export interface WebAppsCreateOrUpdateSourceControlBodyParam { } // @public -export interface WebAppsCreateOrUpdateSourceControldefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17084,11 +18508,11 @@ export interface WebAppsCreateOrUpdateSourceControlSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateSourceControlSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSourceControlSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17113,11 +18537,11 @@ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckBody } // @public -export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17142,11 +18566,11 @@ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot } // @public -export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17171,11 +18595,11 @@ export interface WebAppsCreateOrUpdateVnetConnectionBodyParam { } // @public -export interface WebAppsCreateOrUpdateVnetConnectiondefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateVnetConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public @@ -17192,11 +18616,11 @@ export interface WebAppsCreateOrUpdateVnetConnectionGatewayBodyParam { } // @public -export interface WebAppsCreateOrUpdateVnetConnectionGatewaydefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17221,11 +18645,11 @@ export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17258,11 +18682,11 @@ export interface WebAppsCreateOrUpdateVnetConnectionSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateVnetConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17275,58 +18699,46 @@ export type WebAppsCreateOrUpdateVnetConnectionSlotParameters = WebAppsCreateOrU // @public export interface WebAppsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDelete404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public export interface WebAppsDeleteBackup200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteBackup404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public export interface WebAppsDeleteBackupConfiguration200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsDeleteBackupConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsDeleteBackupConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17334,29 +18746,27 @@ export type WebAppsDeleteBackupConfigurationParameters = RequestParameters; // @public export interface WebAppsDeleteBackupConfigurationSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsDeleteBackupConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteBackupConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsDeleteBackupConfigurationSlotParameters = RequestParameters; // @public -export interface WebAppsDeleteBackupdefaultResponse extends HttpResponse { +export interface WebAppsDeleteBackupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17364,26 +18774,22 @@ export type WebAppsDeleteBackupParameters = RequestParameters; // @public export interface WebAppsDeleteBackupSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteBackupSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteBackupSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteBackupSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17391,26 +18797,22 @@ export type WebAppsDeleteBackupSlotParameters = RequestParameters; // @public export interface WebAppsDeleteContinuousWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteContinuousWebJob204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteContinuousWebJobdefaultResponse extends HttpResponse { +export interface WebAppsDeleteContinuousWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17418,61 +18820,53 @@ export type WebAppsDeleteContinuousWebJobParameters = RequestParameters; // @public export interface WebAppsDeleteContinuousWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteContinuousWebJobSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteContinuousWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteContinuousWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsDeleteContinuousWebJobSlotParameters = RequestParameters; // @public -export interface WebAppsDeletedefaultResponse extends HttpResponse { +export interface WebAppsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public export interface WebAppsDeleteDeployment200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteDeployment204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteDeploymentdefaultResponse extends HttpResponse { +export interface WebAppsDeleteDeploymentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17480,26 +18874,22 @@ export type WebAppsDeleteDeploymentParameters = RequestParameters; // @public export interface WebAppsDeleteDeploymentSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteDeploymentSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteDeploymentSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteDeploymentSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17507,26 +18897,22 @@ export type WebAppsDeleteDeploymentSlotParameters = RequestParameters; // @public export interface WebAppsDeleteDomainOwnershipIdentifier200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteDomainOwnershipIdentifier204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteDomainOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface WebAppsDeleteDomainOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17534,26 +18920,22 @@ export type WebAppsDeleteDomainOwnershipIdentifierParameters = RequestParameters // @public export interface WebAppsDeleteDomainOwnershipIdentifierSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteDomainOwnershipIdentifierSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17561,26 +18943,22 @@ export type WebAppsDeleteDomainOwnershipIdentifierSlotParameters = RequestParame // @public export interface WebAppsDeleteFunction204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteFunction404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteFunctiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteFunctionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17588,26 +18966,22 @@ export type WebAppsDeleteFunctionParameters = RequestParameters; // @public export interface WebAppsDeleteFunctionSecret204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteFunctionSecret404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteFunctionSecretdefaultResponse extends HttpResponse { +export interface WebAppsDeleteFunctionSecretDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17615,26 +18989,22 @@ export type WebAppsDeleteFunctionSecretParameters = RequestParameters; // @public export interface WebAppsDeleteFunctionSecretSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteFunctionSecretSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteFunctionSecretSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteFunctionSecretSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17642,26 +19012,22 @@ export type WebAppsDeleteFunctionSecretSlotParameters = RequestParameters; // @public export interface WebAppsDeleteHostNameBinding200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteHostNameBinding204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteHostNameBindingdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHostNameBindingDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17669,26 +19035,22 @@ export type WebAppsDeleteHostNameBindingParameters = RequestParameters; // @public export interface WebAppsDeleteHostNameBindingSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteHostNameBindingSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteHostNameBindingSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHostNameBindingSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17696,26 +19058,22 @@ export type WebAppsDeleteHostNameBindingSlotParameters = RequestParameters; // @public export interface WebAppsDeleteHostSecret204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteHostSecret404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteHostSecretdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHostSecretDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17723,26 +19081,22 @@ export type WebAppsDeleteHostSecretParameters = RequestParameters; // @public export interface WebAppsDeleteHostSecretSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteHostSecretSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteHostSecretSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHostSecretSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17750,26 +19104,22 @@ export type WebAppsDeleteHostSecretSlotParameters = RequestParameters; // @public export interface WebAppsDeleteHybridConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteHybridConnection404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteHybridConnectiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17777,26 +19127,22 @@ export type WebAppsDeleteHybridConnectionParameters = RequestParameters; // @public export interface WebAppsDeleteHybridConnectionSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteHybridConnectionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteHybridConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHybridConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17804,26 +19150,22 @@ export type WebAppsDeleteHybridConnectionSlotParameters = RequestParameters; // @public export interface WebAppsDeleteInstanceFunctionSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteInstanceFunctionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteInstanceFunctionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteInstanceFunctionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17831,26 +19173,22 @@ export type WebAppsDeleteInstanceFunctionSlotParameters = RequestParameters; // @public export interface WebAppsDeleteInstanceProcess204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteInstanceProcess404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteInstanceProcessdefaultResponse extends HttpResponse { +export interface WebAppsDeleteInstanceProcessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17858,26 +19196,22 @@ export type WebAppsDeleteInstanceProcessParameters = RequestParameters; // @public export interface WebAppsDeleteInstanceProcessSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteInstanceProcessSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteInstanceProcessSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteInstanceProcessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17888,18 +19222,16 @@ export type WebAppsDeleteParameters = WebAppsDeleteQueryParam & RequestParameter // @public export interface WebAppsDeletePremierAddOn200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsDeletePremierAddOndefaultResponse extends HttpResponse { +export interface WebAppsDeletePremierAddOnDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17907,18 +19239,16 @@ export type WebAppsDeletePremierAddOnParameters = RequestParameters; // @public export interface WebAppsDeletePremierAddOnSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsDeletePremierAddOnSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeletePremierAddOnSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17949,11 +19279,11 @@ export interface WebAppsDeletePrivateEndpointConnection204Response extends HttpR } // @public -export interface WebAppsDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface WebAppsDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17984,11 +19314,11 @@ export interface WebAppsDeletePrivateEndpointConnectionSlot204Response extends H } // @public -export interface WebAppsDeletePrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17996,26 +19326,22 @@ export type WebAppsDeletePrivateEndpointConnectionSlotParameters = RequestParame // @public export interface WebAppsDeleteProcess204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteProcess404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteProcessdefaultResponse extends HttpResponse { +export interface WebAppsDeleteProcessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18023,26 +19349,22 @@ export type WebAppsDeleteProcessParameters = RequestParameters; // @public export interface WebAppsDeleteProcessSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteProcessSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteProcessSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteProcessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18050,26 +19372,22 @@ export type WebAppsDeleteProcessSlotParameters = RequestParameters; // @public export interface WebAppsDeletePublicCertificate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeletePublicCertificate204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeletePublicCertificatedefaultResponse extends HttpResponse { +export interface WebAppsDeletePublicCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18077,26 +19395,22 @@ export type WebAppsDeletePublicCertificateParameters = RequestParameters; // @public export interface WebAppsDeletePublicCertificateSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeletePublicCertificateSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeletePublicCertificateSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeletePublicCertificateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18116,26 +19430,22 @@ export interface WebAppsDeleteQueryParamProperties { // @public export interface WebAppsDeleteRelayServiceConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteRelayServiceConnection404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteRelayServiceConnectiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteRelayServiceConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18143,26 +19453,22 @@ export type WebAppsDeleteRelayServiceConnectionParameters = RequestParameters; // @public export interface WebAppsDeleteRelayServiceConnectionSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteRelayServiceConnectionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteRelayServiceConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteRelayServiceConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18170,26 +19476,22 @@ export type WebAppsDeleteRelayServiceConnectionSlotParameters = RequestParameter // @public export interface WebAppsDeleteSiteExtension204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteSiteExtension404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSiteExtensiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteSiteExtensionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18197,26 +19499,22 @@ export type WebAppsDeleteSiteExtensionParameters = RequestParameters; // @public export interface WebAppsDeleteSiteExtensionSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteSiteExtensionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSiteExtensionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSiteExtensionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18224,34 +19522,28 @@ export type WebAppsDeleteSiteExtensionSlotParameters = RequestParameters; // @public export interface WebAppsDeleteSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18271,34 +19563,28 @@ export interface WebAppsDeleteSlotQueryParamProperties { // @public export interface WebAppsDeleteSourceControl200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSourceControl202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface WebAppsDeleteSourceControl404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSourceControldefaultResponse extends HttpResponse { +export interface WebAppsDeleteSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18318,34 +19604,28 @@ export interface WebAppsDeleteSourceControlQueryParamProperties { // @public export interface WebAppsDeleteSourceControlSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSourceControlSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface WebAppsDeleteSourceControlSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSourceControlSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSourceControlSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18365,26 +19645,22 @@ export interface WebAppsDeleteSourceControlSlotQueryParamProperties { // @public export interface WebAppsDeleteSwiftVirtualNetwork200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSwiftVirtualNetwork404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSwiftVirtualNetworkdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSwiftVirtualNetworkDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18392,26 +19668,22 @@ export type WebAppsDeleteSwiftVirtualNetworkParameters = RequestParameters; // @public export interface WebAppsDeleteSwiftVirtualNetworkSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSwiftVirtualNetworkSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSwiftVirtualNetworkSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18419,26 +19691,22 @@ export type WebAppsDeleteSwiftVirtualNetworkSlotParameters = RequestParameters; // @public export interface WebAppsDeleteTriggeredWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteTriggeredWebJob204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteTriggeredWebJobdefaultResponse extends HttpResponse { +export interface WebAppsDeleteTriggeredWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18446,26 +19714,22 @@ export type WebAppsDeleteTriggeredWebJobParameters = RequestParameters; // @public export interface WebAppsDeleteTriggeredWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteTriggeredWebJobSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteTriggeredWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteTriggeredWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18473,26 +19737,22 @@ export type WebAppsDeleteTriggeredWebJobSlotParameters = RequestParameters; // @public export interface WebAppsDeleteVnetConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteVnetConnection404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteVnetConnectiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteVnetConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18500,26 +19760,22 @@ export type WebAppsDeleteVnetConnectionParameters = RequestParameters; // @public export interface WebAppsDeleteVnetConnectionSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteVnetConnectionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteVnetConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteVnetConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18527,7 +19783,7 @@ export type WebAppsDeleteVnetConnectionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsDiscoverBackup { - post(options: WebAppsDiscoverBackupParameters): Promise; + post(options: WebAppsDiscoverBackupParameters): StreamableMethod; } // @public @@ -18544,11 +19800,11 @@ export interface WebAppsDiscoverBackupBodyParam { } // @public -export interface WebAppsDiscoverBackupdefaultResponse extends HttpResponse { +export interface WebAppsDiscoverBackupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18561,7 +19817,7 @@ export type WebAppsDiscoverBackupParameters = WebAppsDiscoverBackupMediaTypesPar // @public (undocumented) export interface WebAppsDiscoverBackupSlot { - post(options: WebAppsDiscoverBackupSlotParameters): Promise; + post(options: WebAppsDiscoverBackupSlotParameters): StreamableMethod; } // @public @@ -18578,11 +19834,11 @@ export interface WebAppsDiscoverBackupSlotBodyParam { } // @public -export interface WebAppsDiscoverBackupSlotdefaultResponse extends HttpResponse { +export interface WebAppsDiscoverBackupSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18595,31 +19851,27 @@ export type WebAppsDiscoverBackupSlotParameters = WebAppsDiscoverBackupSlotMedia // @public (undocumented) export interface WebAppsGenerateNewSitePublishingPassword { - post(options?: WebAppsGenerateNewSitePublishingPasswordParameters): Promise; + post(options?: WebAppsGenerateNewSitePublishingPasswordParameters): StreamableMethod; } // @public export interface WebAppsGenerateNewSitePublishingPassword200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsGenerateNewSitePublishingPassword204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGenerateNewSitePublishingPassworddefaultResponse extends HttpResponse { +export interface WebAppsGenerateNewSitePublishingPasswordDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18627,31 +19879,27 @@ export type WebAppsGenerateNewSitePublishingPasswordParameters = RequestParamete // @public (undocumented) export interface WebAppsGenerateNewSitePublishingPasswordSlot { - post(options?: WebAppsGenerateNewSitePublishingPasswordSlotParameters): Promise; + post(options?: WebAppsGenerateNewSitePublishingPasswordSlotParameters): StreamableMethod; } // @public export interface WebAppsGenerateNewSitePublishingPasswordSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsGenerateNewSitePublishingPasswordSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGenerateNewSitePublishingPasswordSlotdefaultResponse extends HttpResponse { +export interface WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18659,10 +19907,10 @@ export type WebAppsGenerateNewSitePublishingPasswordSlotParameters = RequestPara // @public (undocumented) export interface WebAppsGet { - delete(options?: WebAppsDeleteParameters): Promise; - get(options?: WebAppsGetParameters): Promise; - patch(options: WebAppsUpdateParameters): Promise; - put(options: WebAppsCreateOrUpdateParameters): Promise; + delete(options?: WebAppsDeleteParameters): StreamableMethod; + get(options?: WebAppsGetParameters): StreamableMethod; + patch(options: WebAppsUpdateParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -18675,15 +19923,13 @@ export interface WebAppsGet200Response extends HttpResponse { // @public export interface WebAppsGet404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public (undocumented) export interface WebAppsGetAppSettingKeyVaultReference { - get(options?: WebAppsGetAppSettingKeyVaultReferenceParameters): Promise; + get(options?: WebAppsGetAppSettingKeyVaultReferenceParameters): StreamableMethod; } // @public @@ -18695,11 +19941,11 @@ export interface WebAppsGetAppSettingKeyVaultReference200Response extends HttpRe } // @public -export interface WebAppsGetAppSettingKeyVaultReferencedefaultResponse extends HttpResponse { +export interface WebAppsGetAppSettingKeyVaultReferenceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18707,7 +19953,7 @@ export type WebAppsGetAppSettingKeyVaultReferenceParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAppSettingKeyVaultReferenceSlot { - get(options?: WebAppsGetAppSettingKeyVaultReferenceSlotParameters): Promise; + get(options?: WebAppsGetAppSettingKeyVaultReferenceSlotParameters): StreamableMethod; } // @public @@ -18719,11 +19965,11 @@ export interface WebAppsGetAppSettingKeyVaultReferenceSlot200Response extends Ht } // @public -export interface WebAppsGetAppSettingKeyVaultReferenceSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18731,7 +19977,7 @@ export type WebAppsGetAppSettingKeyVaultReferenceSlotParameters = RequestParamet // @public (undocumented) export interface WebAppsGetAppSettingsKeyVaultReferences { - get(options?: WebAppsGetAppSettingsKeyVaultReferencesParameters): Promise; + get(options?: WebAppsGetAppSettingsKeyVaultReferencesParameters): StreamableMethod; } // @public @@ -18743,11 +19989,11 @@ export interface WebAppsGetAppSettingsKeyVaultReferences200Response extends Http } // @public -export interface WebAppsGetAppSettingsKeyVaultReferencesdefaultResponse extends HttpResponse { +export interface WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18755,7 +20001,7 @@ export type WebAppsGetAppSettingsKeyVaultReferencesParameters = RequestParameter // @public (undocumented) export interface WebAppsGetAppSettingsKeyVaultReferencesSlot { - get(options?: WebAppsGetAppSettingsKeyVaultReferencesSlotParameters): Promise; + get(options?: WebAppsGetAppSettingsKeyVaultReferencesSlotParameters): StreamableMethod; } // @public @@ -18767,11 +20013,11 @@ export interface WebAppsGetAppSettingsKeyVaultReferencesSlot200Response extends } // @public -export interface WebAppsGetAppSettingsKeyVaultReferencesSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18779,7 +20025,7 @@ export type WebAppsGetAppSettingsKeyVaultReferencesSlotParameters = RequestParam // @public (undocumented) export interface WebAppsGetAuthSettings { - post(options?: WebAppsGetAuthSettingsParameters): Promise; + post(options?: WebAppsGetAuthSettingsParameters): StreamableMethod; } // @public @@ -18791,11 +20037,11 @@ export interface WebAppsGetAuthSettings200Response extends HttpResponse { } // @public -export interface WebAppsGetAuthSettingsdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18803,7 +20049,7 @@ export type WebAppsGetAuthSettingsParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAuthSettingsSlot { - post(options?: WebAppsGetAuthSettingsSlotParameters): Promise; + post(options?: WebAppsGetAuthSettingsSlotParameters): StreamableMethod; } // @public @@ -18815,11 +20061,11 @@ export interface WebAppsGetAuthSettingsSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetAuthSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18827,7 +20073,7 @@ export type WebAppsGetAuthSettingsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAuthSettingsV2 { - get(options?: WebAppsGetAuthSettingsV2Parameters): Promise; + get(options?: WebAppsGetAuthSettingsV2Parameters): StreamableMethod; } // @public @@ -18839,11 +20085,11 @@ export interface WebAppsGetAuthSettingsV2200Response extends HttpResponse { } // @public -export interface WebAppsGetAuthSettingsV2defaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18851,7 +20097,7 @@ export type WebAppsGetAuthSettingsV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAuthSettingsV2Slot { - get(options?: WebAppsGetAuthSettingsV2SlotParameters): Promise; + get(options?: WebAppsGetAuthSettingsV2SlotParameters): StreamableMethod; } // @public @@ -18863,11 +20109,11 @@ export interface WebAppsGetAuthSettingsV2Slot200Response extends HttpResponse { } // @public -export interface WebAppsGetAuthSettingsV2SlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsV2SlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18875,8 +20121,8 @@ export type WebAppsGetAuthSettingsV2SlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAuthSettingsV2WithoutSecrets { - get(options?: WebAppsGetAuthSettingsV2WithoutSecretsParameters): Promise; - put(options: WebAppsUpdateAuthSettingsV2Parameters): Promise; + get(options?: WebAppsGetAuthSettingsV2WithoutSecretsParameters): StreamableMethod; + put(options: WebAppsUpdateAuthSettingsV2Parameters): StreamableMethod; } // @public @@ -18888,11 +20134,11 @@ export interface WebAppsGetAuthSettingsV2WithoutSecrets200Response extends HttpR } // @public -export interface WebAppsGetAuthSettingsV2WithoutSecretsdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18900,8 +20146,8 @@ export type WebAppsGetAuthSettingsV2WithoutSecretsParameters = RequestParameters // @public (undocumented) export interface WebAppsGetAuthSettingsV2WithoutSecretsSlot { - get(options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters): Promise; - put(options: WebAppsUpdateAuthSettingsV2SlotParameters): Promise; + get(options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters): StreamableMethod; + put(options: WebAppsUpdateAuthSettingsV2SlotParameters): StreamableMethod; } // @public @@ -18913,11 +20159,11 @@ export interface WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response extends H } // @public -export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18925,7 +20171,7 @@ export type WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters = RequestParame // @public (undocumented) export interface WebAppsGetBackupConfiguration { - post(options?: WebAppsGetBackupConfigurationParameters): Promise; + post(options?: WebAppsGetBackupConfigurationParameters): StreamableMethod; } // @public @@ -18937,11 +20183,11 @@ export interface WebAppsGetBackupConfiguration200Response extends HttpResponse { } // @public -export interface WebAppsGetBackupConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsGetBackupConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18949,7 +20195,7 @@ export type WebAppsGetBackupConfigurationParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetBackupConfigurationSlot { - post(options?: WebAppsGetBackupConfigurationSlotParameters): Promise; + post(options?: WebAppsGetBackupConfigurationSlotParameters): StreamableMethod; } // @public @@ -18961,11 +20207,11 @@ export interface WebAppsGetBackupConfigurationSlot200Response extends HttpRespon } // @public -export interface WebAppsGetBackupConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetBackupConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18973,8 +20219,8 @@ export type WebAppsGetBackupConfigurationSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetBackupStatus { - delete(options?: WebAppsDeleteBackupParameters): Promise; - get(options?: WebAppsGetBackupStatusParameters): Promise; + delete(options?: WebAppsDeleteBackupParameters): StreamableMethod; + get(options?: WebAppsGetBackupStatusParameters): StreamableMethod; } // @public @@ -18986,11 +20232,11 @@ export interface WebAppsGetBackupStatus200Response extends HttpResponse { } // @public -export interface WebAppsGetBackupStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetBackupStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18998,8 +20244,8 @@ export type WebAppsGetBackupStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetBackupStatusSlot { - delete(options?: WebAppsDeleteBackupSlotParameters): Promise; - get(options?: WebAppsGetBackupStatusSlotParameters): Promise; + delete(options?: WebAppsDeleteBackupSlotParameters): StreamableMethod; + get(options?: WebAppsGetBackupStatusSlotParameters): StreamableMethod; } // @public @@ -19011,11 +20257,11 @@ export interface WebAppsGetBackupStatusSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetBackupStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetBackupStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19023,9 +20269,9 @@ export type WebAppsGetBackupStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetConfiguration { - get(options?: WebAppsGetConfigurationParameters): Promise; - patch(options: WebAppsUpdateConfigurationParameters): Promise; - put(options: WebAppsCreateOrUpdateConfigurationParameters): Promise; + get(options?: WebAppsGetConfigurationParameters): StreamableMethod; + patch(options: WebAppsUpdateConfigurationParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateConfigurationParameters): StreamableMethod; } // @public @@ -19037,11 +20283,11 @@ export interface WebAppsGetConfiguration200Response extends HttpResponse { } // @public -export interface WebAppsGetConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsGetConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19049,9 +20295,9 @@ export type WebAppsGetConfigurationParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetConfigurationSlot { - get(options?: WebAppsGetConfigurationSlotParameters): Promise; - patch(options: WebAppsUpdateConfigurationSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateConfigurationSlotParameters): Promise; + get(options?: WebAppsGetConfigurationSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateConfigurationSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateConfigurationSlotParameters): StreamableMethod; } // @public @@ -19063,11 +20309,11 @@ export interface WebAppsGetConfigurationSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19075,7 +20321,7 @@ export type WebAppsGetConfigurationSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetConfigurationSnapshot { - get(options?: WebAppsGetConfigurationSnapshotParameters): Promise; + get(options?: WebAppsGetConfigurationSnapshotParameters): StreamableMethod; } // @public @@ -19087,11 +20333,11 @@ export interface WebAppsGetConfigurationSnapshot200Response extends HttpResponse } // @public -export interface WebAppsGetConfigurationSnapshotdefaultResponse extends HttpResponse { +export interface WebAppsGetConfigurationSnapshotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19099,7 +20345,7 @@ export type WebAppsGetConfigurationSnapshotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetConfigurationSnapshotSlot { - get(options?: WebAppsGetConfigurationSnapshotSlotParameters): Promise; + get(options?: WebAppsGetConfigurationSnapshotSlotParameters): StreamableMethod; } // @public @@ -19111,11 +20357,11 @@ export interface WebAppsGetConfigurationSnapshotSlot200Response extends HttpResp } // @public -export interface WebAppsGetConfigurationSnapshotSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetConfigurationSnapshotSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19123,7 +20369,7 @@ export type WebAppsGetConfigurationSnapshotSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetContainerLogsZip { - post(options?: WebAppsGetContainerLogsZipParameters): Promise; + post(options?: WebAppsGetContainerLogsZipParameters): StreamableMethod; } // @public @@ -19135,18 +20381,14 @@ export interface WebAppsGetContainerLogsZip200Response extends HttpResponse { // @public export interface WebAppsGetContainerLogsZip204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGetContainerLogsZipdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetContainerLogsZipDefaultResponse extends HttpResponse { // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19154,7 +20396,7 @@ export type WebAppsGetContainerLogsZipParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetContainerLogsZipSlot { - post(options?: WebAppsGetContainerLogsZipSlotParameters): Promise; + post(options?: WebAppsGetContainerLogsZipSlotParameters): StreamableMethod; } // @public @@ -19166,18 +20408,14 @@ export interface WebAppsGetContainerLogsZipSlot200Response extends HttpResponse // @public export interface WebAppsGetContainerLogsZipSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGetContainerLogsZipSlotdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetContainerLogsZipSlotDefaultResponse extends HttpResponse { // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19185,8 +20423,8 @@ export type WebAppsGetContainerLogsZipSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetContinuousWebJob { - delete(options?: WebAppsDeleteContinuousWebJobParameters): Promise; - get(options?: WebAppsGetContinuousWebJobParameters): Promise; + delete(options?: WebAppsDeleteContinuousWebJobParameters): StreamableMethod; + get(options?: WebAppsGetContinuousWebJobParameters): StreamableMethod; } // @public @@ -19199,18 +20437,16 @@ export interface WebAppsGetContinuousWebJob200Response extends HttpResponse { // @public export interface WebAppsGetContinuousWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetContinuousWebJobdefaultResponse extends HttpResponse { +export interface WebAppsGetContinuousWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19218,8 +20454,8 @@ export type WebAppsGetContinuousWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetContinuousWebJobSlot { - delete(options?: WebAppsDeleteContinuousWebJobSlotParameters): Promise; - get(options?: WebAppsGetContinuousWebJobSlotParameters): Promise; + delete(options?: WebAppsDeleteContinuousWebJobSlotParameters): StreamableMethod; + get(options?: WebAppsGetContinuousWebJobSlotParameters): StreamableMethod; } // @public @@ -19232,36 +20468,34 @@ export interface WebAppsGetContinuousWebJobSlot200Response extends HttpResponse // @public export interface WebAppsGetContinuousWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetContinuousWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetContinuousWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsGetContinuousWebJobSlotParameters = RequestParameters; // @public -export interface WebAppsGetdefaultResponse extends HttpResponse { +export interface WebAppsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetDeployment { - delete(options?: WebAppsDeleteDeploymentParameters): Promise; - get(options?: WebAppsGetDeploymentParameters): Promise; - put(options: WebAppsCreateDeploymentParameters): Promise; + delete(options?: WebAppsDeleteDeploymentParameters): StreamableMethod; + get(options?: WebAppsGetDeploymentParameters): StreamableMethod; + put(options: WebAppsCreateDeploymentParameters): StreamableMethod; } // @public @@ -19273,11 +20507,11 @@ export interface WebAppsGetDeployment200Response extends HttpResponse { } // @public -export interface WebAppsGetDeploymentdefaultResponse extends HttpResponse { +export interface WebAppsGetDeploymentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19285,9 +20519,9 @@ export type WebAppsGetDeploymentParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetDeploymentSlot { - delete(options?: WebAppsDeleteDeploymentSlotParameters): Promise; - get(options?: WebAppsGetDeploymentSlotParameters): Promise; - put(options: WebAppsCreateDeploymentSlotParameters): Promise; + delete(options?: WebAppsDeleteDeploymentSlotParameters): StreamableMethod; + get(options?: WebAppsGetDeploymentSlotParameters): StreamableMethod; + put(options: WebAppsCreateDeploymentSlotParameters): StreamableMethod; } // @public @@ -19299,11 +20533,11 @@ export interface WebAppsGetDeploymentSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetDeploymentSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetDeploymentSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19311,8 +20545,8 @@ export type WebAppsGetDeploymentSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetDiagnosticLogsConfiguration { - get(options?: WebAppsGetDiagnosticLogsConfigurationParameters): Promise; - put(options: WebAppsUpdateDiagnosticLogsConfigParameters): Promise; + get(options?: WebAppsGetDiagnosticLogsConfigurationParameters): StreamableMethod; + put(options: WebAppsUpdateDiagnosticLogsConfigParameters): StreamableMethod; } // @public @@ -19324,11 +20558,11 @@ export interface WebAppsGetDiagnosticLogsConfiguration200Response extends HttpRe } // @public -export interface WebAppsGetDiagnosticLogsConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsGetDiagnosticLogsConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19336,8 +20570,8 @@ export type WebAppsGetDiagnosticLogsConfigurationParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetDiagnosticLogsConfigurationSlot { - get(options?: WebAppsGetDiagnosticLogsConfigurationSlotParameters): Promise; - put(options: WebAppsUpdateDiagnosticLogsConfigSlotParameters): Promise; + get(options?: WebAppsGetDiagnosticLogsConfigurationSlotParameters): StreamableMethod; + put(options: WebAppsUpdateDiagnosticLogsConfigSlotParameters): StreamableMethod; } // @public @@ -19349,11 +20583,11 @@ export interface WebAppsGetDiagnosticLogsConfigurationSlot200Response extends Ht } // @public -export interface WebAppsGetDiagnosticLogsConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19361,10 +20595,10 @@ export type WebAppsGetDiagnosticLogsConfigurationSlotParameters = RequestParamet // @public (undocumented) export interface WebAppsGetDomainOwnershipIdentifier { - delete(options?: WebAppsDeleteDomainOwnershipIdentifierParameters): Promise; - get(options?: WebAppsGetDomainOwnershipIdentifierParameters): Promise; - patch(options: WebAppsUpdateDomainOwnershipIdentifierParameters): Promise; - put(options: WebAppsCreateOrUpdateDomainOwnershipIdentifierParameters): Promise; + delete(options?: WebAppsDeleteDomainOwnershipIdentifierParameters): StreamableMethod; + get(options?: WebAppsGetDomainOwnershipIdentifierParameters): StreamableMethod; + patch(options: WebAppsUpdateDomainOwnershipIdentifierParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateDomainOwnershipIdentifierParameters): StreamableMethod; } // @public @@ -19376,11 +20610,11 @@ export interface WebAppsGetDomainOwnershipIdentifier200Response extends HttpResp } // @public -export interface WebAppsGetDomainOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface WebAppsGetDomainOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19388,10 +20622,10 @@ export type WebAppsGetDomainOwnershipIdentifierParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetDomainOwnershipIdentifierSlot { - delete(options?: WebAppsDeleteDomainOwnershipIdentifierSlotParameters): Promise; - get(options?: WebAppsGetDomainOwnershipIdentifierSlotParameters): Promise; - patch(options: WebAppsUpdateDomainOwnershipIdentifierSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters): Promise; + delete(options?: WebAppsDeleteDomainOwnershipIdentifierSlotParameters): StreamableMethod; + get(options?: WebAppsGetDomainOwnershipIdentifierSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateDomainOwnershipIdentifierSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters): StreamableMethod; } // @public @@ -19403,11 +20637,11 @@ export interface WebAppsGetDomainOwnershipIdentifierSlot200Response extends Http } // @public -export interface WebAppsGetDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19415,8 +20649,8 @@ export type WebAppsGetDomainOwnershipIdentifierSlotParameters = RequestParameter // @public (undocumented) export interface WebAppsGetFtpAllowed { - get(options?: WebAppsGetFtpAllowedParameters): Promise; - put(options: WebAppsUpdateFtpAllowedParameters): Promise; + get(options?: WebAppsGetFtpAllowedParameters): StreamableMethod; + put(options: WebAppsUpdateFtpAllowedParameters): StreamableMethod; } // @public @@ -19428,11 +20662,11 @@ export interface WebAppsGetFtpAllowed200Response extends HttpResponse { } // @public -export interface WebAppsGetFtpAlloweddefaultResponse extends HttpResponse { +export interface WebAppsGetFtpAllowedDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19440,8 +20674,8 @@ export type WebAppsGetFtpAllowedParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetFtpAllowedSlot { - get(options?: WebAppsGetFtpAllowedSlotParameters): Promise; - put(options: WebAppsUpdateFtpAllowedSlotParameters): Promise; + get(options?: WebAppsGetFtpAllowedSlotParameters): StreamableMethod; + put(options: WebAppsUpdateFtpAllowedSlotParameters): StreamableMethod; } // @public @@ -19453,11 +20687,11 @@ export interface WebAppsGetFtpAllowedSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetFtpAllowedSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetFtpAllowedSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19465,9 +20699,9 @@ export type WebAppsGetFtpAllowedSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetFunction { - delete(options?: WebAppsDeleteFunctionParameters): Promise; - get(options?: WebAppsGetFunctionParameters): Promise; - put(options: WebAppsCreateFunctionParameters): Promise; + delete(options?: WebAppsDeleteFunctionParameters): StreamableMethod; + get(options?: WebAppsGetFunctionParameters): StreamableMethod; + put(options: WebAppsCreateFunctionParameters): StreamableMethod; } // @public @@ -19480,18 +20714,16 @@ export interface WebAppsGetFunction200Response extends HttpResponse { // @public export interface WebAppsGetFunction404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetFunctiondefaultResponse extends HttpResponse { +export interface WebAppsGetFunctionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19499,7 +20731,7 @@ export type WebAppsGetFunctionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetFunctionsAdminToken { - get(options?: WebAppsGetFunctionsAdminTokenParameters): Promise; + get(options?: WebAppsGetFunctionsAdminTokenParameters): StreamableMethod; } // @public @@ -19511,11 +20743,11 @@ export interface WebAppsGetFunctionsAdminToken200Response extends HttpResponse { } // @public -export interface WebAppsGetFunctionsAdminTokendefaultResponse extends HttpResponse { +export interface WebAppsGetFunctionsAdminTokenDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19523,7 +20755,7 @@ export type WebAppsGetFunctionsAdminTokenParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetFunctionsAdminTokenSlot { - get(options?: WebAppsGetFunctionsAdminTokenSlotParameters): Promise; + get(options?: WebAppsGetFunctionsAdminTokenSlotParameters): StreamableMethod; } // @public @@ -19535,11 +20767,11 @@ export interface WebAppsGetFunctionsAdminTokenSlot200Response extends HttpRespon } // @public -export interface WebAppsGetFunctionsAdminTokenSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetFunctionsAdminTokenSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19547,9 +20779,9 @@ export type WebAppsGetFunctionsAdminTokenSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetHostNameBinding { - delete(options?: WebAppsDeleteHostNameBindingParameters): Promise; - get(options?: WebAppsGetHostNameBindingParameters): Promise; - put(options: WebAppsCreateOrUpdateHostNameBindingParameters): Promise; + delete(options?: WebAppsDeleteHostNameBindingParameters): StreamableMethod; + get(options?: WebAppsGetHostNameBindingParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHostNameBindingParameters): StreamableMethod; } // @public @@ -19561,11 +20793,11 @@ export interface WebAppsGetHostNameBinding200Response extends HttpResponse { } // @public -export interface WebAppsGetHostNameBindingdefaultResponse extends HttpResponse { +export interface WebAppsGetHostNameBindingDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19573,9 +20805,9 @@ export type WebAppsGetHostNameBindingParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetHostNameBindingSlot { - delete(options?: WebAppsDeleteHostNameBindingSlotParameters): Promise; - get(options?: WebAppsGetHostNameBindingSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateHostNameBindingSlotParameters): Promise; + delete(options?: WebAppsDeleteHostNameBindingSlotParameters): StreamableMethod; + get(options?: WebAppsGetHostNameBindingSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHostNameBindingSlotParameters): StreamableMethod; } // @public @@ -19587,11 +20819,11 @@ export interface WebAppsGetHostNameBindingSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetHostNameBindingSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetHostNameBindingSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19599,10 +20831,10 @@ export type WebAppsGetHostNameBindingSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetHybridConnection { - delete(options?: WebAppsDeleteHybridConnectionParameters): Promise; - get(options?: WebAppsGetHybridConnectionParameters): Promise; - patch(options: WebAppsUpdateHybridConnectionParameters): Promise; - put(options: WebAppsCreateOrUpdateHybridConnectionParameters): Promise; + delete(options?: WebAppsDeleteHybridConnectionParameters): StreamableMethod; + get(options?: WebAppsGetHybridConnectionParameters): StreamableMethod; + patch(options: WebAppsUpdateHybridConnectionParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHybridConnectionParameters): StreamableMethod; } // @public @@ -19614,11 +20846,11 @@ export interface WebAppsGetHybridConnection200Response extends HttpResponse { } // @public -export interface WebAppsGetHybridConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19626,10 +20858,10 @@ export type WebAppsGetHybridConnectionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetHybridConnectionSlot { - delete(options?: WebAppsDeleteHybridConnectionSlotParameters): Promise; - get(options?: WebAppsGetHybridConnectionSlotParameters): Promise; - patch(options: WebAppsUpdateHybridConnectionSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateHybridConnectionSlotParameters): Promise; + delete(options?: WebAppsDeleteHybridConnectionSlotParameters): StreamableMethod; + get(options?: WebAppsGetHybridConnectionSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateHybridConnectionSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHybridConnectionSlotParameters): StreamableMethod; } // @public @@ -19641,11 +20873,11 @@ export interface WebAppsGetHybridConnectionSlot200Response extends HttpResponse } // @public -export interface WebAppsGetHybridConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetHybridConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19653,9 +20885,9 @@ export type WebAppsGetHybridConnectionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceFunctionSlot { - delete(options?: WebAppsDeleteInstanceFunctionSlotParameters): Promise; - get(options?: WebAppsGetInstanceFunctionSlotParameters): Promise; - put(options: WebAppsCreateInstanceFunctionSlotParameters): Promise; + delete(options?: WebAppsDeleteInstanceFunctionSlotParameters): StreamableMethod; + get(options?: WebAppsGetInstanceFunctionSlotParameters): StreamableMethod; + put(options: WebAppsCreateInstanceFunctionSlotParameters): StreamableMethod; } // @public @@ -19668,18 +20900,16 @@ export interface WebAppsGetInstanceFunctionSlot200Response extends HttpResponse // @public export interface WebAppsGetInstanceFunctionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceFunctionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceFunctionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19687,7 +20917,7 @@ export type WebAppsGetInstanceFunctionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceInfo { - get(options?: WebAppsGetInstanceInfoParameters): Promise; + get(options?: WebAppsGetInstanceInfoParameters): StreamableMethod; } // @public @@ -19699,11 +20929,11 @@ export interface WebAppsGetInstanceInfo200Response extends HttpResponse { } // @public -export interface WebAppsGetInstanceInfodefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceInfoDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19711,7 +20941,7 @@ export type WebAppsGetInstanceInfoParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceInfoSlot { - get(options?: WebAppsGetInstanceInfoSlotParameters): Promise; + get(options?: WebAppsGetInstanceInfoSlotParameters): StreamableMethod; } // @public @@ -19723,11 +20953,11 @@ export interface WebAppsGetInstanceInfoSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetInstanceInfoSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceInfoSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19735,7 +20965,7 @@ export type WebAppsGetInstanceInfoSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceMSDeployLog { - get(options?: WebAppsGetInstanceMSDeployLogParameters): Promise; + get(options?: WebAppsGetInstanceMSDeployLogParameters): StreamableMethod; } // @public @@ -19748,18 +20978,16 @@ export interface WebAppsGetInstanceMSDeployLog200Response extends HttpResponse { // @public export interface WebAppsGetInstanceMSDeployLog404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceMSDeployLogdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceMSDeployLogDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19767,7 +20995,7 @@ export type WebAppsGetInstanceMSDeployLogParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceMSDeployLogSlot { - get(options?: WebAppsGetInstanceMSDeployLogSlotParameters): Promise; + get(options?: WebAppsGetInstanceMSDeployLogSlotParameters): StreamableMethod; } // @public @@ -19780,18 +21008,16 @@ export interface WebAppsGetInstanceMSDeployLogSlot200Response extends HttpRespon // @public export interface WebAppsGetInstanceMSDeployLogSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceMSDeployLogSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceMSDeployLogSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19799,8 +21025,8 @@ export type WebAppsGetInstanceMSDeployLogSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceMsDeployStatus { - get(options?: WebAppsGetInstanceMsDeployStatusParameters): Promise; - put(options: WebAppsCreateInstanceMSDeployOperationParameters): Promise; + get(options?: WebAppsGetInstanceMsDeployStatusParameters): StreamableMethod; + put(options: WebAppsCreateInstanceMSDeployOperationParameters): StreamableMethod; } // @public @@ -19812,11 +21038,11 @@ export interface WebAppsGetInstanceMsDeployStatus200Response extends HttpRespons } // @public -export interface WebAppsGetInstanceMsDeployStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceMsDeployStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19824,8 +21050,8 @@ export type WebAppsGetInstanceMsDeployStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceMsDeployStatusSlot { - get(options?: WebAppsGetInstanceMsDeployStatusSlotParameters): Promise; - put(options: WebAppsCreateInstanceMSDeployOperationSlotParameters): Promise; + get(options?: WebAppsGetInstanceMsDeployStatusSlotParameters): StreamableMethod; + put(options: WebAppsCreateInstanceMSDeployOperationSlotParameters): StreamableMethod; } // @public @@ -19837,11 +21063,11 @@ export interface WebAppsGetInstanceMsDeployStatusSlot200Response extends HttpRes } // @public -export interface WebAppsGetInstanceMsDeployStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceMsDeployStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19849,8 +21075,8 @@ export type WebAppsGetInstanceMsDeployStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcess { - delete(options?: WebAppsDeleteInstanceProcessParameters): Promise; - get(options?: WebAppsGetInstanceProcessParameters): Promise; + delete(options?: WebAppsDeleteInstanceProcessParameters): StreamableMethod; + get(options?: WebAppsGetInstanceProcessParameters): StreamableMethod; } // @public @@ -19863,23 +21089,21 @@ export interface WebAppsGetInstanceProcess200Response extends HttpResponse { // @public export interface WebAppsGetInstanceProcess404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetInstanceProcessDump { - get(options?: WebAppsGetInstanceProcessDumpParameters): Promise; + get(options?: WebAppsGetInstanceProcessDumpParameters): StreamableMethod; } // @public @@ -19891,18 +21115,16 @@ export interface WebAppsGetInstanceProcessDump200Response extends HttpResponse { // @public export interface WebAppsGetInstanceProcessDump404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessDumpdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessDumpDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19910,7 +21132,7 @@ export type WebAppsGetInstanceProcessDumpParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcessDumpSlot { - get(options?: WebAppsGetInstanceProcessDumpSlotParameters): Promise; + get(options?: WebAppsGetInstanceProcessDumpSlotParameters): StreamableMethod; } // @public @@ -19922,18 +21144,16 @@ export interface WebAppsGetInstanceProcessDumpSlot200Response extends HttpRespon // @public export interface WebAppsGetInstanceProcessDumpSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessDumpSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessDumpSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19941,7 +21161,7 @@ export type WebAppsGetInstanceProcessDumpSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcessModule { - get(options?: WebAppsGetInstanceProcessModuleParameters): Promise; + get(options?: WebAppsGetInstanceProcessModuleParameters): StreamableMethod; } // @public @@ -19954,18 +21174,16 @@ export interface WebAppsGetInstanceProcessModule200Response extends HttpResponse // @public export interface WebAppsGetInstanceProcessModule404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessModuledefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessModuleDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19973,7 +21191,7 @@ export type WebAppsGetInstanceProcessModuleParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcessModuleSlot { - get(options?: WebAppsGetInstanceProcessModuleSlotParameters): Promise; + get(options?: WebAppsGetInstanceProcessModuleSlotParameters): StreamableMethod; } // @public @@ -19986,18 +21204,16 @@ export interface WebAppsGetInstanceProcessModuleSlot200Response extends HttpResp // @public export interface WebAppsGetInstanceProcessModuleSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessModuleSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessModuleSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20008,8 +21224,8 @@ export type WebAppsGetInstanceProcessParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcessSlot { - delete(options?: WebAppsDeleteInstanceProcessSlotParameters): Promise; - get(options?: WebAppsGetInstanceProcessSlotParameters): Promise; + delete(options?: WebAppsDeleteInstanceProcessSlotParameters): StreamableMethod; + get(options?: WebAppsGetInstanceProcessSlotParameters): StreamableMethod; } // @public @@ -20022,18 +21238,16 @@ export interface WebAppsGetInstanceProcessSlot200Response extends HttpResponse { // @public export interface WebAppsGetInstanceProcessSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20041,7 +21255,7 @@ export type WebAppsGetInstanceProcessSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMigrateMySqlStatus { - get(options?: WebAppsGetMigrateMySqlStatusParameters): Promise; + get(options?: WebAppsGetMigrateMySqlStatusParameters): StreamableMethod; } // @public @@ -20053,11 +21267,11 @@ export interface WebAppsGetMigrateMySqlStatus200Response extends HttpResponse { } // @public -export interface WebAppsGetMigrateMySqlStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetMigrateMySqlStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20065,7 +21279,7 @@ export type WebAppsGetMigrateMySqlStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMigrateMySqlStatusSlot { - get(options?: WebAppsGetMigrateMySqlStatusSlotParameters): Promise; + get(options?: WebAppsGetMigrateMySqlStatusSlotParameters): StreamableMethod; } // @public @@ -20077,11 +21291,11 @@ export interface WebAppsGetMigrateMySqlStatusSlot200Response extends HttpRespons } // @public -export interface WebAppsGetMigrateMySqlStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetMigrateMySqlStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20089,7 +21303,7 @@ export type WebAppsGetMigrateMySqlStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMSDeployLog { - get(options?: WebAppsGetMSDeployLogParameters): Promise; + get(options?: WebAppsGetMSDeployLogParameters): StreamableMethod; } // @public @@ -20101,19 +21315,17 @@ export interface WebAppsGetMSDeployLog200Response extends HttpResponse { } // @public -export interface WebAppsGetMSDeployLog404Response extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetMSDeployLog404Response extends HttpResponse { // (undocumented) status: "404"; } // @public -export interface WebAppsGetMSDeployLogdefaultResponse extends HttpResponse { +export interface WebAppsGetMSDeployLogDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20121,7 +21333,7 @@ export type WebAppsGetMSDeployLogParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMSDeployLogSlot { - get(options?: WebAppsGetMSDeployLogSlotParameters): Promise; + get(options?: WebAppsGetMSDeployLogSlotParameters): StreamableMethod; } // @public @@ -20134,18 +21346,16 @@ export interface WebAppsGetMSDeployLogSlot200Response extends HttpResponse { // @public export interface WebAppsGetMSDeployLogSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetMSDeployLogSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetMSDeployLogSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20153,8 +21363,8 @@ export type WebAppsGetMSDeployLogSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMSDeployStatus { - get(options?: WebAppsGetMSDeployStatusParameters): Promise; - put(options: WebAppsCreateMSDeployOperationParameters): Promise; + get(options?: WebAppsGetMSDeployStatusParameters): StreamableMethod; + put(options: WebAppsCreateMSDeployOperationParameters): StreamableMethod; } // @public @@ -20166,11 +21376,11 @@ export interface WebAppsGetMSDeployStatus200Response extends HttpResponse { } // @public -export interface WebAppsGetMSDeployStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetMSDeployStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20178,8 +21388,8 @@ export type WebAppsGetMSDeployStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMSDeployStatusSlot { - get(options?: WebAppsGetMSDeployStatusSlotParameters): Promise; - put(options: WebAppsCreateMSDeployOperationSlotParameters): Promise; + get(options?: WebAppsGetMSDeployStatusSlotParameters): StreamableMethod; + put(options: WebAppsCreateMSDeployOperationSlotParameters): StreamableMethod; } // @public @@ -20191,11 +21401,11 @@ export interface WebAppsGetMSDeployStatusSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetMSDeployStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetMSDeployStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20203,7 +21413,7 @@ export type WebAppsGetMSDeployStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraceOperation { - get(options?: WebAppsGetNetworkTraceOperationParameters): Promise; + get(options?: WebAppsGetNetworkTraceOperationParameters): StreamableMethod; } // @public @@ -20223,11 +21433,11 @@ export interface WebAppsGetNetworkTraceOperation202Response extends HttpResponse } // @public -export interface WebAppsGetNetworkTraceOperationdefaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTraceOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20235,7 +21445,7 @@ export type WebAppsGetNetworkTraceOperationParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraceOperationSlot { - get(options?: WebAppsGetNetworkTraceOperationSlotParameters): Promise; + get(options?: WebAppsGetNetworkTraceOperationSlotParameters): StreamableMethod; } // @public @@ -20255,11 +21465,11 @@ export interface WebAppsGetNetworkTraceOperationSlot202Response extends HttpResp } // @public -export interface WebAppsGetNetworkTraceOperationSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTraceOperationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20267,7 +21477,7 @@ export type WebAppsGetNetworkTraceOperationSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraceOperationSlotV2 { - get(options?: WebAppsGetNetworkTraceOperationSlotV2Parameters): Promise; + get(options?: WebAppsGetNetworkTraceOperationSlotV2Parameters): StreamableMethod; } // @public @@ -20287,11 +21497,11 @@ export interface WebAppsGetNetworkTraceOperationSlotV2202Response extends HttpRe } // @public -export interface WebAppsGetNetworkTraceOperationSlotV2defaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTraceOperationSlotV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20299,7 +21509,7 @@ export type WebAppsGetNetworkTraceOperationSlotV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraceOperationV2 { - get(options?: WebAppsGetNetworkTraceOperationV2Parameters): Promise; + get(options?: WebAppsGetNetworkTraceOperationV2Parameters): StreamableMethod; } // @public @@ -20319,11 +21529,11 @@ export interface WebAppsGetNetworkTraceOperationV2202Response extends HttpRespon } // @public -export interface WebAppsGetNetworkTraceOperationV2defaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTraceOperationV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20331,7 +21541,7 @@ export type WebAppsGetNetworkTraceOperationV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraces { - get(options?: WebAppsGetNetworkTracesParameters): Promise; + get(options?: WebAppsGetNetworkTracesParameters): StreamableMethod; } // @public @@ -20343,11 +21553,11 @@ export interface WebAppsGetNetworkTraces200Response extends HttpResponse { } // @public -export interface WebAppsGetNetworkTracesdefaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTracesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20355,7 +21565,7 @@ export type WebAppsGetNetworkTracesParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTracesSlot { - get(options?: WebAppsGetNetworkTracesSlotParameters): Promise; + get(options?: WebAppsGetNetworkTracesSlotParameters): StreamableMethod; } // @public @@ -20367,11 +21577,11 @@ export interface WebAppsGetNetworkTracesSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetNetworkTracesSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTracesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20379,7 +21589,7 @@ export type WebAppsGetNetworkTracesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTracesSlotV2 { - get(options?: WebAppsGetNetworkTracesSlotV2Parameters): Promise; + get(options?: WebAppsGetNetworkTracesSlotV2Parameters): StreamableMethod; } // @public @@ -20391,11 +21601,11 @@ export interface WebAppsGetNetworkTracesSlotV2200Response extends HttpResponse { } // @public -export interface WebAppsGetNetworkTracesSlotV2defaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTracesSlotV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20403,7 +21613,7 @@ export type WebAppsGetNetworkTracesSlotV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTracesV2 { - get(options?: WebAppsGetNetworkTracesV2Parameters): Promise; + get(options?: WebAppsGetNetworkTracesV2Parameters): StreamableMethod; } // @public @@ -20415,11 +21625,11 @@ export interface WebAppsGetNetworkTracesV2200Response extends HttpResponse { } // @public -export interface WebAppsGetNetworkTracesV2defaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTracesV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20427,8 +21637,8 @@ export type WebAppsGetNetworkTracesV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetOneDeployStatus { - get(options?: WebAppsGetOneDeployStatusParameters): Promise; - put(options?: WebAppsCreateOneDeployOperationParameters): Promise; + get(options?: WebAppsGetOneDeployStatusParameters): StreamableMethod; + put(options?: WebAppsCreateOneDeployOperationParameters): StreamableMethod; } // @public @@ -20440,11 +21650,11 @@ export interface WebAppsGetOneDeployStatus200Response extends HttpResponse { } // @public -export interface WebAppsGetOneDeployStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetOneDeployStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20455,10 +21665,10 @@ export type WebAppsGetParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPremierAddOn { - delete(options?: WebAppsDeletePremierAddOnParameters): Promise; - get(options?: WebAppsGetPremierAddOnParameters): Promise; - patch(options: WebAppsUpdatePremierAddOnParameters): Promise; - put(options: WebAppsAddPremierAddOnParameters): Promise; + delete(options?: WebAppsDeletePremierAddOnParameters): StreamableMethod; + get(options?: WebAppsGetPremierAddOnParameters): StreamableMethod; + patch(options: WebAppsUpdatePremierAddOnParameters): StreamableMethod; + put(options: WebAppsAddPremierAddOnParameters): StreamableMethod; } // @public @@ -20470,11 +21680,11 @@ export interface WebAppsGetPremierAddOn200Response extends HttpResponse { } // @public -export interface WebAppsGetPremierAddOndefaultResponse extends HttpResponse { +export interface WebAppsGetPremierAddOnDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20482,10 +21692,10 @@ export type WebAppsGetPremierAddOnParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPremierAddOnSlot { - delete(options?: WebAppsDeletePremierAddOnSlotParameters): Promise; - get(options?: WebAppsGetPremierAddOnSlotParameters): Promise; - patch(options: WebAppsUpdatePremierAddOnSlotParameters): Promise; - put(options: WebAppsAddPremierAddOnSlotParameters): Promise; + delete(options?: WebAppsDeletePremierAddOnSlotParameters): StreamableMethod; + get(options?: WebAppsGetPremierAddOnSlotParameters): StreamableMethod; + patch(options: WebAppsUpdatePremierAddOnSlotParameters): StreamableMethod; + put(options: WebAppsAddPremierAddOnSlotParameters): StreamableMethod; } // @public @@ -20497,11 +21707,11 @@ export interface WebAppsGetPremierAddOnSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetPremierAddOnSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPremierAddOnSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20509,8 +21719,8 @@ export type WebAppsGetPremierAddOnSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateAccess { - get(options?: WebAppsGetPrivateAccessParameters): Promise; - put(options: WebAppsPutPrivateAccessVnetParameters): Promise; + get(options?: WebAppsGetPrivateAccessParameters): StreamableMethod; + put(options: WebAppsPutPrivateAccessVnetParameters): StreamableMethod; } // @public @@ -20522,11 +21732,11 @@ export interface WebAppsGetPrivateAccess200Response extends HttpResponse { } // @public -export interface WebAppsGetPrivateAccessdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateAccessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20534,8 +21744,8 @@ export type WebAppsGetPrivateAccessParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateAccessSlot { - get(options?: WebAppsGetPrivateAccessSlotParameters): Promise; - put(options: WebAppsPutPrivateAccessVnetSlotParameters): Promise; + get(options?: WebAppsGetPrivateAccessSlotParameters): StreamableMethod; + put(options: WebAppsPutPrivateAccessVnetSlotParameters): StreamableMethod; } // @public @@ -20547,11 +21757,11 @@ export interface WebAppsGetPrivateAccessSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetPrivateAccessSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateAccessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20559,9 +21769,9 @@ export type WebAppsGetPrivateAccessSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateEndpointConnection { - delete(options?: WebAppsDeletePrivateEndpointConnectionParameters): Promise; - get(options?: WebAppsGetPrivateEndpointConnectionParameters): Promise; - put(options: WebAppsApproveOrRejectPrivateEndpointConnectionParameters): Promise; + delete(options?: WebAppsDeletePrivateEndpointConnectionParameters): StreamableMethod; + get(options?: WebAppsGetPrivateEndpointConnectionParameters): StreamableMethod; + put(options: WebAppsApproveOrRejectPrivateEndpointConnectionParameters): StreamableMethod; } // @public @@ -20573,16 +21783,16 @@ export interface WebAppsGetPrivateEndpointConnection200Response extends HttpResp } // @public -export interface WebAppsGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetPrivateEndpointConnectionList { - get(options?: WebAppsGetPrivateEndpointConnectionListParameters): Promise; + get(options?: WebAppsGetPrivateEndpointConnectionListParameters): StreamableMethod; } // @public @@ -20594,11 +21804,11 @@ export interface WebAppsGetPrivateEndpointConnectionList200Response extends Http } // @public -export interface WebAppsGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20606,7 +21816,7 @@ export type WebAppsGetPrivateEndpointConnectionListParameters = RequestParameter // @public (undocumented) export interface WebAppsGetPrivateEndpointConnectionListSlot { - get(options?: WebAppsGetPrivateEndpointConnectionListSlotParameters): Promise; + get(options?: WebAppsGetPrivateEndpointConnectionListSlotParameters): StreamableMethod; } // @public @@ -20618,11 +21828,11 @@ export interface WebAppsGetPrivateEndpointConnectionListSlot200Response extends } // @public -export interface WebAppsGetPrivateEndpointConnectionListSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20633,9 +21843,9 @@ export type WebAppsGetPrivateEndpointConnectionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateEndpointConnectionSlot { - delete(options?: WebAppsDeletePrivateEndpointConnectionSlotParameters): Promise; - get(options?: WebAppsGetPrivateEndpointConnectionSlotParameters): Promise; - put(options: WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters): Promise; + delete(options?: WebAppsDeletePrivateEndpointConnectionSlotParameters): StreamableMethod; + get(options?: WebAppsGetPrivateEndpointConnectionSlotParameters): StreamableMethod; + put(options: WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters): StreamableMethod; } // @public @@ -20647,11 +21857,11 @@ export interface WebAppsGetPrivateEndpointConnectionSlot200Response extends Http } // @public -export interface WebAppsGetPrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20659,7 +21869,7 @@ export type WebAppsGetPrivateEndpointConnectionSlotParameters = RequestParameter // @public (undocumented) export interface WebAppsGetPrivateLinkResources { - get(options?: WebAppsGetPrivateLinkResourcesParameters): Promise; + get(options?: WebAppsGetPrivateLinkResourcesParameters): StreamableMethod; } // @public @@ -20671,11 +21881,11 @@ export interface WebAppsGetPrivateLinkResources200Response extends HttpResponse } // @public -export interface WebAppsGetPrivateLinkResourcesdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateLinkResourcesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20683,7 +21893,7 @@ export type WebAppsGetPrivateLinkResourcesParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateLinkResourcesSlot { - get(options?: WebAppsGetPrivateLinkResourcesSlotParameters): Promise; + get(options?: WebAppsGetPrivateLinkResourcesSlotParameters): StreamableMethod; } // @public @@ -20695,11 +21905,11 @@ export interface WebAppsGetPrivateLinkResourcesSlot200Response extends HttpRespo } // @public -export interface WebAppsGetPrivateLinkResourcesSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateLinkResourcesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20707,8 +21917,8 @@ export type WebAppsGetPrivateLinkResourcesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcess { - delete(options?: WebAppsDeleteProcessParameters): Promise; - get(options?: WebAppsGetProcessParameters): Promise; + delete(options?: WebAppsDeleteProcessParameters): StreamableMethod; + get(options?: WebAppsGetProcessParameters): StreamableMethod; } // @public @@ -20721,23 +21931,21 @@ export interface WebAppsGetProcess200Response extends HttpResponse { // @public export interface WebAppsGetProcess404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetProcessDump { - get(options?: WebAppsGetProcessDumpParameters): Promise; + get(options?: WebAppsGetProcessDumpParameters): StreamableMethod; } // @public @@ -20749,18 +21957,16 @@ export interface WebAppsGetProcessDump200Response extends HttpResponse { // @public export interface WebAppsGetProcessDump404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessDumpdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessDumpDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20768,7 +21974,7 @@ export type WebAppsGetProcessDumpParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcessDumpSlot { - get(options?: WebAppsGetProcessDumpSlotParameters): Promise; + get(options?: WebAppsGetProcessDumpSlotParameters): StreamableMethod; } // @public @@ -20780,18 +21986,16 @@ export interface WebAppsGetProcessDumpSlot200Response extends HttpResponse { // @public export interface WebAppsGetProcessDumpSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessDumpSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessDumpSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20799,7 +22003,7 @@ export type WebAppsGetProcessDumpSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcessModule { - get(options?: WebAppsGetProcessModuleParameters): Promise; + get(options?: WebAppsGetProcessModuleParameters): StreamableMethod; } // @public @@ -20812,18 +22016,16 @@ export interface WebAppsGetProcessModule200Response extends HttpResponse { // @public export interface WebAppsGetProcessModule404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessModuledefaultResponse extends HttpResponse { +export interface WebAppsGetProcessModuleDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20831,7 +22033,7 @@ export type WebAppsGetProcessModuleParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcessModuleSlot { - get(options?: WebAppsGetProcessModuleSlotParameters): Promise; + get(options?: WebAppsGetProcessModuleSlotParameters): StreamableMethod; } // @public @@ -20844,18 +22046,16 @@ export interface WebAppsGetProcessModuleSlot200Response extends HttpResponse { // @public export interface WebAppsGetProcessModuleSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessModuleSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessModuleSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20866,8 +22066,8 @@ export type WebAppsGetProcessParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcessSlot { - delete(options?: WebAppsDeleteProcessSlotParameters): Promise; - get(options?: WebAppsGetProcessSlotParameters): Promise; + delete(options?: WebAppsDeleteProcessSlotParameters): StreamableMethod; + get(options?: WebAppsGetProcessSlotParameters): StreamableMethod; } // @public @@ -20880,18 +22080,16 @@ export interface WebAppsGetProcessSlot200Response extends HttpResponse { // @public export interface WebAppsGetProcessSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20899,9 +22097,9 @@ export type WebAppsGetProcessSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPublicCertificate { - delete(options?: WebAppsDeletePublicCertificateParameters): Promise; - get(options?: WebAppsGetPublicCertificateParameters): Promise; - put(options: WebAppsCreateOrUpdatePublicCertificateParameters): Promise; + delete(options?: WebAppsDeletePublicCertificateParameters): StreamableMethod; + get(options?: WebAppsGetPublicCertificateParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdatePublicCertificateParameters): StreamableMethod; } // @public @@ -20913,11 +22111,11 @@ export interface WebAppsGetPublicCertificate200Response extends HttpResponse { } // @public -export interface WebAppsGetPublicCertificatedefaultResponse extends HttpResponse { +export interface WebAppsGetPublicCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20925,9 +22123,9 @@ export type WebAppsGetPublicCertificateParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPublicCertificateSlot { - delete(options?: WebAppsDeletePublicCertificateSlotParameters): Promise; - get(options?: WebAppsGetPublicCertificateSlotParameters): Promise; - put(options: WebAppsCreateOrUpdatePublicCertificateSlotParameters): Promise; + delete(options?: WebAppsDeletePublicCertificateSlotParameters): StreamableMethod; + get(options?: WebAppsGetPublicCertificateSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdatePublicCertificateSlotParameters): StreamableMethod; } // @public @@ -20939,11 +22137,11 @@ export interface WebAppsGetPublicCertificateSlot200Response extends HttpResponse } // @public -export interface WebAppsGetPublicCertificateSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPublicCertificateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20951,10 +22149,10 @@ export type WebAppsGetPublicCertificateSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetRelayServiceConnection { - delete(options?: WebAppsDeleteRelayServiceConnectionParameters): Promise; - get(options?: WebAppsGetRelayServiceConnectionParameters): Promise; - patch(options: WebAppsUpdateRelayServiceConnectionParameters): Promise; - put(options: WebAppsCreateOrUpdateRelayServiceConnectionParameters): Promise; + delete(options?: WebAppsDeleteRelayServiceConnectionParameters): StreamableMethod; + get(options?: WebAppsGetRelayServiceConnectionParameters): StreamableMethod; + patch(options: WebAppsUpdateRelayServiceConnectionParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateRelayServiceConnectionParameters): StreamableMethod; } // @public @@ -20966,11 +22164,11 @@ export interface WebAppsGetRelayServiceConnection200Response extends HttpRespons } // @public -export interface WebAppsGetRelayServiceConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetRelayServiceConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20978,10 +22176,10 @@ export type WebAppsGetRelayServiceConnectionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetRelayServiceConnectionSlot { - delete(options?: WebAppsDeleteRelayServiceConnectionSlotParameters): Promise; - get(options?: WebAppsGetRelayServiceConnectionSlotParameters): Promise; - patch(options: WebAppsUpdateRelayServiceConnectionSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateRelayServiceConnectionSlotParameters): Promise; + delete(options?: WebAppsDeleteRelayServiceConnectionSlotParameters): StreamableMethod; + get(options?: WebAppsGetRelayServiceConnectionSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateRelayServiceConnectionSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateRelayServiceConnectionSlotParameters): StreamableMethod; } // @public @@ -20993,11 +22191,11 @@ export interface WebAppsGetRelayServiceConnectionSlot200Response extends HttpRes } // @public -export interface WebAppsGetRelayServiceConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetRelayServiceConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21005,8 +22203,8 @@ export type WebAppsGetRelayServiceConnectionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetScmAllowed { - get(options?: WebAppsGetScmAllowedParameters): Promise; - put(options: WebAppsUpdateScmAllowedParameters): Promise; + get(options?: WebAppsGetScmAllowedParameters): StreamableMethod; + put(options: WebAppsUpdateScmAllowedParameters): StreamableMethod; } // @public @@ -21018,11 +22216,11 @@ export interface WebAppsGetScmAllowed200Response extends HttpResponse { } // @public -export interface WebAppsGetScmAlloweddefaultResponse extends HttpResponse { +export interface WebAppsGetScmAllowedDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21030,8 +22228,8 @@ export type WebAppsGetScmAllowedParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetScmAllowedSlot { - get(options?: WebAppsGetScmAllowedSlotParameters): Promise; - put(options: WebAppsUpdateScmAllowedSlotParameters): Promise; + get(options?: WebAppsGetScmAllowedSlotParameters): StreamableMethod; + put(options: WebAppsUpdateScmAllowedSlotParameters): StreamableMethod; } // @public @@ -21043,11 +22241,11 @@ export interface WebAppsGetScmAllowedSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetScmAllowedSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetScmAllowedSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21055,7 +22253,7 @@ export type WebAppsGetScmAllowedSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSiteConnectionStringKeyVaultReference { - get(options?: WebAppsGetSiteConnectionStringKeyVaultReferenceParameters): Promise; + get(options?: WebAppsGetSiteConnectionStringKeyVaultReferenceParameters): StreamableMethod; } // @public @@ -21067,11 +22265,11 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReference200Response exte } // @public -export interface WebAppsGetSiteConnectionStringKeyVaultReferencedefaultResponse extends HttpResponse { +export interface WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21079,7 +22277,7 @@ export type WebAppsGetSiteConnectionStringKeyVaultReferenceParameters = RequestP // @public (undocumented) export interface WebAppsGetSiteConnectionStringKeyVaultReferences { - get(options?: WebAppsGetSiteConnectionStringKeyVaultReferencesParameters): Promise; + get(options?: WebAppsGetSiteConnectionStringKeyVaultReferencesParameters): StreamableMethod; } // @public @@ -21091,16 +22289,16 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferences200Response ext } // @public -export interface WebAppsGetSiteConnectionStringKeyVaultReferencesdefaultResponse extends HttpResponse { +export interface WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlot { - get(options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotParameters): Promise; + get(options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotParameters): StreamableMethod; } // @public @@ -21112,11 +22310,11 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response } // @public -export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21127,7 +22325,7 @@ export type WebAppsGetSiteConnectionStringKeyVaultReferencesParameters = Request // @public (undocumented) export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlot { - get(options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters): Promise; + get(options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters): StreamableMethod; } // @public @@ -21139,11 +22337,11 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response } // @public -export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21151,9 +22349,9 @@ export type WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters = Req // @public (undocumented) export interface WebAppsGetSiteExtension { - delete(options?: WebAppsDeleteSiteExtensionParameters): Promise; - get(options?: WebAppsGetSiteExtensionParameters): Promise; - put(options?: WebAppsInstallSiteExtensionParameters): Promise; + delete(options?: WebAppsDeleteSiteExtensionParameters): StreamableMethod; + get(options?: WebAppsGetSiteExtensionParameters): StreamableMethod; + put(options?: WebAppsInstallSiteExtensionParameters): StreamableMethod; } // @public @@ -21166,18 +22364,16 @@ export interface WebAppsGetSiteExtension200Response extends HttpResponse { // @public export interface WebAppsGetSiteExtension404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetSiteExtensiondefaultResponse extends HttpResponse { +export interface WebAppsGetSiteExtensionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21185,9 +22381,9 @@ export type WebAppsGetSiteExtensionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSiteExtensionSlot { - delete(options?: WebAppsDeleteSiteExtensionSlotParameters): Promise; - get(options?: WebAppsGetSiteExtensionSlotParameters): Promise; - put(options?: WebAppsInstallSiteExtensionSlotParameters): Promise; + delete(options?: WebAppsDeleteSiteExtensionSlotParameters): StreamableMethod; + get(options?: WebAppsGetSiteExtensionSlotParameters): StreamableMethod; + put(options?: WebAppsInstallSiteExtensionSlotParameters): StreamableMethod; } // @public @@ -21200,18 +22396,16 @@ export interface WebAppsGetSiteExtensionSlot200Response extends HttpResponse { // @public export interface WebAppsGetSiteExtensionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetSiteExtensionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSiteExtensionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21219,7 +22413,7 @@ export type WebAppsGetSiteExtensionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSitePhpErrorLogFlag { - get(options?: WebAppsGetSitePhpErrorLogFlagParameters): Promise; + get(options?: WebAppsGetSitePhpErrorLogFlagParameters): StreamableMethod; } // @public @@ -21231,11 +22425,11 @@ export interface WebAppsGetSitePhpErrorLogFlag200Response extends HttpResponse { } // @public -export interface WebAppsGetSitePhpErrorLogFlagdefaultResponse extends HttpResponse { +export interface WebAppsGetSitePhpErrorLogFlagDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21243,7 +22437,7 @@ export type WebAppsGetSitePhpErrorLogFlagParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSitePhpErrorLogFlagSlot { - get(options?: WebAppsGetSitePhpErrorLogFlagSlotParameters): Promise; + get(options?: WebAppsGetSitePhpErrorLogFlagSlotParameters): StreamableMethod; } // @public @@ -21255,11 +22449,11 @@ export interface WebAppsGetSitePhpErrorLogFlagSlot200Response extends HttpRespon } // @public -export interface WebAppsGetSitePhpErrorLogFlagSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21267,10 +22461,10 @@ export type WebAppsGetSitePhpErrorLogFlagSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSlot { - delete(options?: WebAppsDeleteSlotParameters): Promise; - get(options?: WebAppsGetSlotParameters): Promise; - patch(options: WebAppsUpdateSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateSlotParameters): Promise; + delete(options?: WebAppsDeleteSlotParameters): StreamableMethod; + get(options?: WebAppsGetSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSlotParameters): StreamableMethod; } // @public @@ -21283,18 +22477,16 @@ export interface WebAppsGetSlot200Response extends HttpResponse { // @public export interface WebAppsGetSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21302,10 +22494,10 @@ export type WebAppsGetSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSourceControl { - delete(options?: WebAppsDeleteSourceControlParameters): Promise; - get(options?: WebAppsGetSourceControlParameters): Promise; - patch(options: WebAppsUpdateSourceControlParameters): Promise; - put(options: WebAppsCreateOrUpdateSourceControlParameters): Promise; + delete(options?: WebAppsDeleteSourceControlParameters): StreamableMethod; + get(options?: WebAppsGetSourceControlParameters): StreamableMethod; + patch(options: WebAppsUpdateSourceControlParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSourceControlParameters): StreamableMethod; } // @public @@ -21333,11 +22525,11 @@ export interface WebAppsGetSourceControl202Response extends HttpResponse { } // @public -export interface WebAppsGetSourceControldefaultResponse extends HttpResponse { +export interface WebAppsGetSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21345,10 +22537,10 @@ export type WebAppsGetSourceControlParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSourceControlSlot { - delete(options?: WebAppsDeleteSourceControlSlotParameters): Promise; - get(options?: WebAppsGetSourceControlSlotParameters): Promise; - patch(options: WebAppsUpdateSourceControlSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateSourceControlSlotParameters): Promise; + delete(options?: WebAppsDeleteSourceControlSlotParameters): StreamableMethod; + get(options?: WebAppsGetSourceControlSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateSourceControlSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSourceControlSlotParameters): StreamableMethod; } // @public @@ -21376,11 +22568,11 @@ export interface WebAppsGetSourceControlSlot202Response extends HttpResponse { } // @public -export interface WebAppsGetSourceControlSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSourceControlSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21388,10 +22580,10 @@ export type WebAppsGetSourceControlSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSwiftVirtualNetworkConnection { - delete(options?: WebAppsDeleteSwiftVirtualNetworkParameters): Promise; - get(options?: WebAppsGetSwiftVirtualNetworkConnectionParameters): Promise; - patch(options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckParameters): Promise; - put(options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckParameters): Promise; + delete(options?: WebAppsDeleteSwiftVirtualNetworkParameters): StreamableMethod; + get(options?: WebAppsGetSwiftVirtualNetworkConnectionParameters): StreamableMethod; + patch(options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckParameters): StreamableMethod; } // @public @@ -21403,11 +22595,11 @@ export interface WebAppsGetSwiftVirtualNetworkConnection200Response extends Http } // @public -export interface WebAppsGetSwiftVirtualNetworkConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21415,10 +22607,10 @@ export type WebAppsGetSwiftVirtualNetworkConnectionParameters = RequestParameter // @public (undocumented) export interface WebAppsGetSwiftVirtualNetworkConnectionSlot { - delete(options?: WebAppsDeleteSwiftVirtualNetworkSlotParameters): Promise; - get(options?: WebAppsGetSwiftVirtualNetworkConnectionSlotParameters): Promise; - patch(options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters): Promise; + delete(options?: WebAppsDeleteSwiftVirtualNetworkSlotParameters): StreamableMethod; + get(options?: WebAppsGetSwiftVirtualNetworkConnectionSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters): StreamableMethod; } // @public @@ -21430,11 +22622,11 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot200Response extends } // @public -export interface WebAppsGetSwiftVirtualNetworkConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21442,8 +22634,8 @@ export type WebAppsGetSwiftVirtualNetworkConnectionSlotParameters = RequestParam // @public (undocumented) export interface WebAppsGetTriggeredWebJob { - delete(options?: WebAppsDeleteTriggeredWebJobParameters): Promise; - get(options?: WebAppsGetTriggeredWebJobParameters): Promise; + delete(options?: WebAppsDeleteTriggeredWebJobParameters): StreamableMethod; + get(options?: WebAppsGetTriggeredWebJobParameters): StreamableMethod; } // @public @@ -21456,23 +22648,21 @@ export interface WebAppsGetTriggeredWebJob200Response extends HttpResponse { // @public export interface WebAppsGetTriggeredWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetTriggeredWebJobdefaultResponse extends HttpResponse { +export interface WebAppsGetTriggeredWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetTriggeredWebJobHistory { - get(options?: WebAppsGetTriggeredWebJobHistoryParameters): Promise; + get(options?: WebAppsGetTriggeredWebJobHistoryParameters): StreamableMethod; } // @public @@ -21485,18 +22675,16 @@ export interface WebAppsGetTriggeredWebJobHistory200Response extends HttpRespons // @public export interface WebAppsGetTriggeredWebJobHistory404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetTriggeredWebJobHistorydefaultResponse extends HttpResponse { +export interface WebAppsGetTriggeredWebJobHistoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21504,7 +22692,7 @@ export type WebAppsGetTriggeredWebJobHistoryParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetTriggeredWebJobHistorySlot { - get(options?: WebAppsGetTriggeredWebJobHistorySlotParameters): Promise; + get(options?: WebAppsGetTriggeredWebJobHistorySlotParameters): StreamableMethod; } // @public @@ -21517,18 +22705,16 @@ export interface WebAppsGetTriggeredWebJobHistorySlot200Response extends HttpRes // @public export interface WebAppsGetTriggeredWebJobHistorySlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetTriggeredWebJobHistorySlotdefaultResponse extends HttpResponse { +export interface WebAppsGetTriggeredWebJobHistorySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21539,8 +22725,8 @@ export type WebAppsGetTriggeredWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetTriggeredWebJobSlot { - delete(options?: WebAppsDeleteTriggeredWebJobSlotParameters): Promise; - get(options?: WebAppsGetTriggeredWebJobSlotParameters): Promise; + delete(options?: WebAppsDeleteTriggeredWebJobSlotParameters): StreamableMethod; + get(options?: WebAppsGetTriggeredWebJobSlotParameters): StreamableMethod; } // @public @@ -21553,18 +22739,16 @@ export interface WebAppsGetTriggeredWebJobSlot200Response extends HttpResponse { // @public export interface WebAppsGetTriggeredWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetTriggeredWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetTriggeredWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21572,10 +22756,10 @@ export type WebAppsGetTriggeredWebJobSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetVnetConnection { - delete(options?: WebAppsDeleteVnetConnectionParameters): Promise; - get(options?: WebAppsGetVnetConnectionParameters): Promise; - patch(options: WebAppsUpdateVnetConnectionParameters): Promise; - put(options: WebAppsCreateOrUpdateVnetConnectionParameters): Promise; + delete(options?: WebAppsDeleteVnetConnectionParameters): StreamableMethod; + get(options?: WebAppsGetVnetConnectionParameters): StreamableMethod; + patch(options: WebAppsUpdateVnetConnectionParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateVnetConnectionParameters): StreamableMethod; } // @public @@ -21587,18 +22771,18 @@ export interface WebAppsGetVnetConnection200Response extends HttpResponse { } // @public -export interface WebAppsGetVnetConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetVnetConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetVnetConnectionGateway { - get(options?: WebAppsGetVnetConnectionGatewayParameters): Promise; - patch(options: WebAppsUpdateVnetConnectionGatewayParameters): Promise; - put(options: WebAppsCreateOrUpdateVnetConnectionGatewayParameters): Promise; + get(options?: WebAppsGetVnetConnectionGatewayParameters): StreamableMethod; + patch(options: WebAppsUpdateVnetConnectionGatewayParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateVnetConnectionGatewayParameters): StreamableMethod; } // @public @@ -21611,18 +22795,16 @@ export interface WebAppsGetVnetConnectionGateway200Response extends HttpResponse // @public export interface WebAppsGetVnetConnectionGateway404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetVnetConnectionGatewaydefaultResponse extends HttpResponse { +export interface WebAppsGetVnetConnectionGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21630,9 +22812,9 @@ export type WebAppsGetVnetConnectionGatewayParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetVnetConnectionGatewaySlot { - get(options?: WebAppsGetVnetConnectionGatewaySlotParameters): Promise; - patch(options: WebAppsUpdateVnetConnectionGatewaySlotParameters): Promise; - put(options: WebAppsCreateOrUpdateVnetConnectionGatewaySlotParameters): Promise; + get(options?: WebAppsGetVnetConnectionGatewaySlotParameters): StreamableMethod; + patch(options: WebAppsUpdateVnetConnectionGatewaySlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateVnetConnectionGatewaySlotParameters): StreamableMethod; } // @public @@ -21645,18 +22827,16 @@ export interface WebAppsGetVnetConnectionGatewaySlot200Response extends HttpResp // @public export interface WebAppsGetVnetConnectionGatewaySlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { +export interface WebAppsGetVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21667,10 +22847,10 @@ export type WebAppsGetVnetConnectionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetVnetConnectionSlot { - delete(options?: WebAppsDeleteVnetConnectionSlotParameters): Promise; - get(options?: WebAppsGetVnetConnectionSlotParameters): Promise; - patch(options: WebAppsUpdateVnetConnectionSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateVnetConnectionSlotParameters): Promise; + delete(options?: WebAppsDeleteVnetConnectionSlotParameters): StreamableMethod; + get(options?: WebAppsGetVnetConnectionSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateVnetConnectionSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateVnetConnectionSlotParameters): StreamableMethod; } // @public @@ -21682,11 +22862,11 @@ export interface WebAppsGetVnetConnectionSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetVnetConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetVnetConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21694,7 +22874,7 @@ export type WebAppsGetVnetConnectionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetWebJob { - get(options?: WebAppsGetWebJobParameters): Promise; + get(options?: WebAppsGetWebJobParameters): StreamableMethod; } // @public @@ -21706,11 +22886,11 @@ export interface WebAppsGetWebJob200Response extends HttpResponse { } // @public -export interface WebAppsGetWebJobdefaultResponse extends HttpResponse { +export interface WebAppsGetWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21718,7 +22898,7 @@ export type WebAppsGetWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetWebJobSlot { - get(options?: WebAppsGetWebJobSlotParameters): Promise; + get(options?: WebAppsGetWebJobSlotParameters): StreamableMethod; } // @public @@ -21730,11 +22910,11 @@ export interface WebAppsGetWebJobSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21742,7 +22922,7 @@ export type WebAppsGetWebJobSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetWebSiteContainerLogs { - post(options?: WebAppsGetWebSiteContainerLogsParameters): Promise; + post(options?: WebAppsGetWebSiteContainerLogsParameters): StreamableMethod; } // @public @@ -21754,18 +22934,14 @@ export interface WebAppsGetWebSiteContainerLogs200Response extends HttpResponse // @public export interface WebAppsGetWebSiteContainerLogs204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGetWebSiteContainerLogsdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetWebSiteContainerLogsDefaultResponse extends HttpResponse { // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21773,7 +22949,7 @@ export type WebAppsGetWebSiteContainerLogsParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetWebSiteContainerLogsSlot { - post(options?: WebAppsGetWebSiteContainerLogsSlotParameters): Promise; + post(options?: WebAppsGetWebSiteContainerLogsSlotParameters): StreamableMethod; } // @public @@ -21785,18 +22961,14 @@ export interface WebAppsGetWebSiteContainerLogsSlot200Response extends HttpRespo // @public export interface WebAppsGetWebSiteContainerLogsSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGetWebSiteContainerLogsSlotdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetWebSiteContainerLogsSlotDefaultResponse extends HttpResponse { // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21820,18 +22992,16 @@ export interface WebAppsInstallSiteExtension201Response extends HttpResponse { // @public export interface WebAppsInstallSiteExtension429Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "429"; } // @public -export interface WebAppsInstallSiteExtensiondefaultResponse extends HttpResponse { +export interface WebAppsInstallSiteExtensionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21855,18 +23025,16 @@ export interface WebAppsInstallSiteExtensionSlot201Response extends HttpResponse // @public export interface WebAppsInstallSiteExtensionSlot429Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "429"; } // @public -export interface WebAppsInstallSiteExtensionSlotdefaultResponse extends HttpResponse { +export interface WebAppsInstallSiteExtensionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21874,7 +23042,7 @@ export type WebAppsInstallSiteExtensionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsIsCloneable { - post(options?: WebAppsIsCloneableParameters): Promise; + post(options?: WebAppsIsCloneableParameters): StreamableMethod; } // @public @@ -21886,11 +23054,11 @@ export interface WebAppsIsCloneable200Response extends HttpResponse { } // @public -export interface WebAppsIsCloneabledefaultResponse extends HttpResponse { +export interface WebAppsIsCloneableDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21898,7 +23066,7 @@ export type WebAppsIsCloneableParameters = RequestParameters; // @public (undocumented) export interface WebAppsIsCloneableSlot { - post(options?: WebAppsIsCloneableSlotParameters): Promise; + post(options?: WebAppsIsCloneableSlotParameters): StreamableMethod; } // @public @@ -21910,11 +23078,11 @@ export interface WebAppsIsCloneableSlot200Response extends HttpResponse { } // @public -export interface WebAppsIsCloneableSlotdefaultResponse extends HttpResponse { +export interface WebAppsIsCloneableSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21922,7 +23090,7 @@ export type WebAppsIsCloneableSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsList { - get(options?: WebAppsListParameters): Promise; + get(options?: WebAppsListParameters): StreamableMethod; } // @public @@ -21935,7 +23103,7 @@ export interface WebAppsList200Response extends HttpResponse { // @public (undocumented) export interface WebAppsListApplicationSettings { - post(options?: WebAppsListApplicationSettingsParameters): Promise; + post(options?: WebAppsListApplicationSettingsParameters): StreamableMethod; } // @public @@ -21947,11 +23115,11 @@ export interface WebAppsListApplicationSettings200Response extends HttpResponse } // @public -export interface WebAppsListApplicationSettingsdefaultResponse extends HttpResponse { +export interface WebAppsListApplicationSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21959,7 +23127,7 @@ export type WebAppsListApplicationSettingsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListApplicationSettingsSlot { - post(options?: WebAppsListApplicationSettingsSlotParameters): Promise; + post(options?: WebAppsListApplicationSettingsSlotParameters): StreamableMethod; } // @public @@ -21971,11 +23139,11 @@ export interface WebAppsListApplicationSettingsSlot200Response extends HttpRespo } // @public -export interface WebAppsListApplicationSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListApplicationSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21983,7 +23151,7 @@ export type WebAppsListApplicationSettingsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListAzureStorageAccounts { - post(options?: WebAppsListAzureStorageAccountsParameters): Promise; + post(options?: WebAppsListAzureStorageAccountsParameters): StreamableMethod; } // @public @@ -21995,11 +23163,11 @@ export interface WebAppsListAzureStorageAccounts200Response extends HttpResponse } // @public -export interface WebAppsListAzureStorageAccountsdefaultResponse extends HttpResponse { +export interface WebAppsListAzureStorageAccountsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22007,7 +23175,7 @@ export type WebAppsListAzureStorageAccountsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListAzureStorageAccountsSlot { - post(options?: WebAppsListAzureStorageAccountsSlotParameters): Promise; + post(options?: WebAppsListAzureStorageAccountsSlotParameters): StreamableMethod; } // @public @@ -22019,11 +23187,11 @@ export interface WebAppsListAzureStorageAccountsSlot200Response extends HttpResp } // @public -export interface WebAppsListAzureStorageAccountsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListAzureStorageAccountsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22031,7 +23199,7 @@ export type WebAppsListAzureStorageAccountsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListBackups { - get(options?: WebAppsListBackupsParameters): Promise; + get(options?: WebAppsListBackupsParameters): StreamableMethod; } // @public @@ -22043,11 +23211,11 @@ export interface WebAppsListBackups200Response extends HttpResponse { } // @public -export interface WebAppsListBackupsdefaultResponse extends HttpResponse { +export interface WebAppsListBackupsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22055,7 +23223,7 @@ export type WebAppsListBackupsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListBackupsSlot { - get(options?: WebAppsListBackupsSlotParameters): Promise; + get(options?: WebAppsListBackupsSlotParameters): StreamableMethod; } // @public @@ -22067,11 +23235,11 @@ export interface WebAppsListBackupsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListBackupsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListBackupsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22079,7 +23247,7 @@ export type WebAppsListBackupsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListBackupStatusSecrets { - post(options: WebAppsListBackupStatusSecretsParameters): Promise; + post(options: WebAppsListBackupStatusSecretsParameters): StreamableMethod; } // @public @@ -22096,11 +23264,11 @@ export interface WebAppsListBackupStatusSecretsBodyParam { } // @public -export interface WebAppsListBackupStatusSecretsdefaultResponse extends HttpResponse { +export interface WebAppsListBackupStatusSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22113,7 +23281,7 @@ export type WebAppsListBackupStatusSecretsParameters = WebAppsListBackupStatusSe // @public (undocumented) export interface WebAppsListBackupStatusSecretsSlot { - post(options: WebAppsListBackupStatusSecretsSlotParameters): Promise; + post(options: WebAppsListBackupStatusSecretsSlotParameters): StreamableMethod; } // @public @@ -22130,11 +23298,11 @@ export interface WebAppsListBackupStatusSecretsSlotBodyParam { } // @public -export interface WebAppsListBackupStatusSecretsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListBackupStatusSecretsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22147,7 +23315,7 @@ export type WebAppsListBackupStatusSecretsSlotParameters = WebAppsListBackupStat // @public (undocumented) export interface WebAppsListBasicPublishingCredentialsPolicies { - get(options?: WebAppsListBasicPublishingCredentialsPoliciesParameters): Promise; + get(options?: WebAppsListBasicPublishingCredentialsPoliciesParameters): StreamableMethod; } // @public @@ -22159,11 +23327,11 @@ export interface WebAppsListBasicPublishingCredentialsPolicies200Response extend } // @public -export interface WebAppsListBasicPublishingCredentialsPoliciesdefaultResponse extends HttpResponse { +export interface WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22171,7 +23339,7 @@ export type WebAppsListBasicPublishingCredentialsPoliciesParameters = RequestPar // @public (undocumented) export interface WebAppsListBasicPublishingCredentialsPoliciesSlot { - get(options?: WebAppsListBasicPublishingCredentialsPoliciesSlotParameters): Promise; + get(options?: WebAppsListBasicPublishingCredentialsPoliciesSlotParameters): StreamableMethod; } // @public @@ -22183,11 +23351,11 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesSlot200Response ex } // @public -export interface WebAppsListBasicPublishingCredentialsPoliciesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22195,7 +23363,7 @@ export type WebAppsListBasicPublishingCredentialsPoliciesSlotParameters = Reques // @public (undocumented) export interface WebAppsListByResourceGroup { - get(options?: WebAppsListByResourceGroupParameters): Promise; + get(options?: WebAppsListByResourceGroupParameters): StreamableMethod; } // @public @@ -22207,11 +23375,11 @@ export interface WebAppsListByResourceGroup200Response extends HttpResponse { } // @public -export interface WebAppsListByResourceGroupdefaultResponse extends HttpResponse { +export interface WebAppsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22230,7 +23398,7 @@ export interface WebAppsListByResourceGroupQueryParamProperties { // @public (undocumented) export interface WebAppsListConfigurations { - get(options?: WebAppsListConfigurationsParameters): Promise; + get(options?: WebAppsListConfigurationsParameters): StreamableMethod; } // @public @@ -22242,16 +23410,16 @@ export interface WebAppsListConfigurations200Response extends HttpResponse { } // @public -export interface WebAppsListConfigurationsdefaultResponse extends HttpResponse { +export interface WebAppsListConfigurationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsListConfigurationSnapshotInfo { - get(options?: WebAppsListConfigurationSnapshotInfoParameters): Promise; + get(options?: WebAppsListConfigurationSnapshotInfoParameters): StreamableMethod; } // @public @@ -22263,11 +23431,11 @@ export interface WebAppsListConfigurationSnapshotInfo200Response extends HttpRes } // @public -export interface WebAppsListConfigurationSnapshotInfodefaultResponse extends HttpResponse { +export interface WebAppsListConfigurationSnapshotInfoDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22275,7 +23443,7 @@ export type WebAppsListConfigurationSnapshotInfoParameters = RequestParameters; // @public (undocumented) export interface WebAppsListConfigurationSnapshotInfoSlot { - get(options?: WebAppsListConfigurationSnapshotInfoSlotParameters): Promise; + get(options?: WebAppsListConfigurationSnapshotInfoSlotParameters): StreamableMethod; } // @public @@ -22287,11 +23455,11 @@ export interface WebAppsListConfigurationSnapshotInfoSlot200Response extends Htt } // @public -export interface WebAppsListConfigurationSnapshotInfoSlotdefaultResponse extends HttpResponse { +export interface WebAppsListConfigurationSnapshotInfoSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22302,7 +23470,7 @@ export type WebAppsListConfigurationsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListConfigurationsSlot { - get(options?: WebAppsListConfigurationsSlotParameters): Promise; + get(options?: WebAppsListConfigurationsSlotParameters): StreamableMethod; } // @public @@ -22314,11 +23482,11 @@ export interface WebAppsListConfigurationsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListConfigurationsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListConfigurationsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22326,7 +23494,7 @@ export type WebAppsListConfigurationsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListConnectionStrings { - post(options?: WebAppsListConnectionStringsParameters): Promise; + post(options?: WebAppsListConnectionStringsParameters): StreamableMethod; } // @public @@ -22338,11 +23506,11 @@ export interface WebAppsListConnectionStrings200Response extends HttpResponse { } // @public -export interface WebAppsListConnectionStringsdefaultResponse extends HttpResponse { +export interface WebAppsListConnectionStringsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22350,7 +23518,7 @@ export type WebAppsListConnectionStringsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListConnectionStringsSlot { - post(options?: WebAppsListConnectionStringsSlotParameters): Promise; + post(options?: WebAppsListConnectionStringsSlotParameters): StreamableMethod; } // @public @@ -22362,11 +23530,11 @@ export interface WebAppsListConnectionStringsSlot200Response extends HttpRespons } // @public -export interface WebAppsListConnectionStringsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListConnectionStringsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22374,7 +23542,7 @@ export type WebAppsListConnectionStringsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListContinuousWebJobs { - get(options?: WebAppsListContinuousWebJobsParameters): Promise; + get(options?: WebAppsListContinuousWebJobsParameters): StreamableMethod; } // @public @@ -22386,11 +23554,11 @@ export interface WebAppsListContinuousWebJobs200Response extends HttpResponse { } // @public -export interface WebAppsListContinuousWebJobsdefaultResponse extends HttpResponse { +export interface WebAppsListContinuousWebJobsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22398,7 +23566,7 @@ export type WebAppsListContinuousWebJobsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListContinuousWebJobsSlot { - get(options?: WebAppsListContinuousWebJobsSlotParameters): Promise; + get(options?: WebAppsListContinuousWebJobsSlotParameters): StreamableMethod; } // @public @@ -22410,27 +23578,27 @@ export interface WebAppsListContinuousWebJobsSlot200Response extends HttpRespons } // @public -export interface WebAppsListContinuousWebJobsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListContinuousWebJobsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsListContinuousWebJobsSlotParameters = RequestParameters; // @public -export interface WebAppsListdefaultResponse extends HttpResponse { +export interface WebAppsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsListDeploymentLog { - get(options?: WebAppsListDeploymentLogParameters): Promise; + get(options?: WebAppsListDeploymentLogParameters): StreamableMethod; } // @public @@ -22442,11 +23610,11 @@ export interface WebAppsListDeploymentLog200Response extends HttpResponse { } // @public -export interface WebAppsListDeploymentLogdefaultResponse extends HttpResponse { +export interface WebAppsListDeploymentLogDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22454,7 +23622,7 @@ export type WebAppsListDeploymentLogParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDeploymentLogSlot { - get(options?: WebAppsListDeploymentLogSlotParameters): Promise; + get(options?: WebAppsListDeploymentLogSlotParameters): StreamableMethod; } // @public @@ -22466,11 +23634,11 @@ export interface WebAppsListDeploymentLogSlot200Response extends HttpResponse { } // @public -export interface WebAppsListDeploymentLogSlotdefaultResponse extends HttpResponse { +export interface WebAppsListDeploymentLogSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22478,7 +23646,7 @@ export type WebAppsListDeploymentLogSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDeployments { - get(options?: WebAppsListDeploymentsParameters): Promise; + get(options?: WebAppsListDeploymentsParameters): StreamableMethod; } // @public @@ -22490,11 +23658,11 @@ export interface WebAppsListDeployments200Response extends HttpResponse { } // @public -export interface WebAppsListDeploymentsdefaultResponse extends HttpResponse { +export interface WebAppsListDeploymentsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22502,7 +23670,7 @@ export type WebAppsListDeploymentsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDeploymentsSlot { - get(options?: WebAppsListDeploymentsSlotParameters): Promise; + get(options?: WebAppsListDeploymentsSlotParameters): StreamableMethod; } // @public @@ -22514,11 +23682,11 @@ export interface WebAppsListDeploymentsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListDeploymentsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListDeploymentsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22526,7 +23694,7 @@ export type WebAppsListDeploymentsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDomainOwnershipIdentifiers { - get(options?: WebAppsListDomainOwnershipIdentifiersParameters): Promise; + get(options?: WebAppsListDomainOwnershipIdentifiersParameters): StreamableMethod; } // @public @@ -22538,11 +23706,11 @@ export interface WebAppsListDomainOwnershipIdentifiers200Response extends HttpRe } // @public -export interface WebAppsListDomainOwnershipIdentifiersdefaultResponse extends HttpResponse { +export interface WebAppsListDomainOwnershipIdentifiersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22550,7 +23718,7 @@ export type WebAppsListDomainOwnershipIdentifiersParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDomainOwnershipIdentifiersSlot { - get(options?: WebAppsListDomainOwnershipIdentifiersSlotParameters): Promise; + get(options?: WebAppsListDomainOwnershipIdentifiersSlotParameters): StreamableMethod; } // @public @@ -22562,11 +23730,11 @@ export interface WebAppsListDomainOwnershipIdentifiersSlot200Response extends Ht } // @public -export interface WebAppsListDomainOwnershipIdentifiersSlotdefaultResponse extends HttpResponse { +export interface WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22574,7 +23742,7 @@ export type WebAppsListDomainOwnershipIdentifiersSlotParameters = RequestParamet // @public (undocumented) export interface WebAppsListFunctionKeys { - post(options?: WebAppsListFunctionKeysParameters): Promise; + post(options?: WebAppsListFunctionKeysParameters): StreamableMethod; } // @public @@ -22586,11 +23754,11 @@ export interface WebAppsListFunctionKeys200Response extends HttpResponse { } // @public -export interface WebAppsListFunctionKeysdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionKeysDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22598,7 +23766,7 @@ export type WebAppsListFunctionKeysParameters = RequestParameters; // @public (undocumented) export interface WebAppsListFunctionKeysSlot { - post(options?: WebAppsListFunctionKeysSlotParameters): Promise; + post(options?: WebAppsListFunctionKeysSlotParameters): StreamableMethod; } // @public @@ -22610,11 +23778,11 @@ export interface WebAppsListFunctionKeysSlot200Response extends HttpResponse { } // @public -export interface WebAppsListFunctionKeysSlotdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionKeysSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22622,7 +23790,7 @@ export type WebAppsListFunctionKeysSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListFunctions { - get(options?: WebAppsListFunctionsParameters): Promise; + get(options?: WebAppsListFunctionsParameters): StreamableMethod; } // @public @@ -22635,23 +23803,21 @@ export interface WebAppsListFunctions200Response extends HttpResponse { // @public export interface WebAppsListFunctions404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListFunctionsdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsListFunctionSecrets { - post(options?: WebAppsListFunctionSecretsParameters): Promise; + post(options?: WebAppsListFunctionSecretsParameters): StreamableMethod; } // @public @@ -22663,11 +23829,11 @@ export interface WebAppsListFunctionSecrets200Response extends HttpResponse { } // @public -export interface WebAppsListFunctionSecretsdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22675,7 +23841,7 @@ export type WebAppsListFunctionSecretsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListFunctionSecretsSlot { - post(options?: WebAppsListFunctionSecretsSlotParameters): Promise; + post(options?: WebAppsListFunctionSecretsSlotParameters): StreamableMethod; } // @public @@ -22687,11 +23853,11 @@ export interface WebAppsListFunctionSecretsSlot200Response extends HttpResponse } // @public -export interface WebAppsListFunctionSecretsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionSecretsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22702,7 +23868,7 @@ export type WebAppsListFunctionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHostKeys { - post(options?: WebAppsListHostKeysParameters): Promise; + post(options?: WebAppsListHostKeysParameters): StreamableMethod; } // @public @@ -22714,11 +23880,11 @@ export interface WebAppsListHostKeys200Response extends HttpResponse { } // @public -export interface WebAppsListHostKeysdefaultResponse extends HttpResponse { +export interface WebAppsListHostKeysDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22726,7 +23892,7 @@ export type WebAppsListHostKeysParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHostKeysSlot { - post(options?: WebAppsListHostKeysSlotParameters): Promise; + post(options?: WebAppsListHostKeysSlotParameters): StreamableMethod; } // @public @@ -22738,11 +23904,11 @@ export interface WebAppsListHostKeysSlot200Response extends HttpResponse { } // @public -export interface WebAppsListHostKeysSlotdefaultResponse extends HttpResponse { +export interface WebAppsListHostKeysSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22750,7 +23916,7 @@ export type WebAppsListHostKeysSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHostNameBindings { - get(options?: WebAppsListHostNameBindingsParameters): Promise; + get(options?: WebAppsListHostNameBindingsParameters): StreamableMethod; } // @public @@ -22762,11 +23928,11 @@ export interface WebAppsListHostNameBindings200Response extends HttpResponse { } // @public -export interface WebAppsListHostNameBindingsdefaultResponse extends HttpResponse { +export interface WebAppsListHostNameBindingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22774,7 +23940,7 @@ export type WebAppsListHostNameBindingsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHostNameBindingsSlot { - get(options?: WebAppsListHostNameBindingsSlotParameters): Promise; + get(options?: WebAppsListHostNameBindingsSlotParameters): StreamableMethod; } // @public @@ -22786,11 +23952,11 @@ export interface WebAppsListHostNameBindingsSlot200Response extends HttpResponse } // @public -export interface WebAppsListHostNameBindingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListHostNameBindingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22798,7 +23964,7 @@ export type WebAppsListHostNameBindingsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHybridConnections { - get(options?: WebAppsListHybridConnectionsParameters): Promise; + get(options?: WebAppsListHybridConnectionsParameters): StreamableMethod; } // @public @@ -22810,11 +23976,11 @@ export interface WebAppsListHybridConnections200Response extends HttpResponse { } // @public -export interface WebAppsListHybridConnectionsdefaultResponse extends HttpResponse { +export interface WebAppsListHybridConnectionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22822,7 +23988,7 @@ export type WebAppsListHybridConnectionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHybridConnectionsSlot { - get(options?: WebAppsListHybridConnectionsSlotParameters): Promise; + get(options?: WebAppsListHybridConnectionsSlotParameters): StreamableMethod; } // @public @@ -22834,11 +24000,11 @@ export interface WebAppsListHybridConnectionsSlot200Response extends HttpRespons } // @public -export interface WebAppsListHybridConnectionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListHybridConnectionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22846,7 +24012,7 @@ export type WebAppsListHybridConnectionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceFunctionsSlot { - get(options?: WebAppsListInstanceFunctionsSlotParameters): Promise; + get(options?: WebAppsListInstanceFunctionsSlotParameters): StreamableMethod; } // @public @@ -22859,18 +24025,16 @@ export interface WebAppsListInstanceFunctionsSlot200Response extends HttpRespons // @public export interface WebAppsListInstanceFunctionsSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceFunctionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceFunctionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22878,7 +24042,7 @@ export type WebAppsListInstanceFunctionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceIdentifiers { - get(options?: WebAppsListInstanceIdentifiersParameters): Promise; + get(options?: WebAppsListInstanceIdentifiersParameters): StreamableMethod; } // @public @@ -22890,11 +24054,11 @@ export interface WebAppsListInstanceIdentifiers200Response extends HttpResponse } // @public -export interface WebAppsListInstanceIdentifiersdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceIdentifiersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22902,7 +24066,7 @@ export type WebAppsListInstanceIdentifiersParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceIdentifiersSlot { - get(options?: WebAppsListInstanceIdentifiersSlotParameters): Promise; + get(options?: WebAppsListInstanceIdentifiersSlotParameters): StreamableMethod; } // @public @@ -22914,11 +24078,11 @@ export interface WebAppsListInstanceIdentifiersSlot200Response extends HttpRespo } // @public -export interface WebAppsListInstanceIdentifiersSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceIdentifiersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22926,7 +24090,7 @@ export type WebAppsListInstanceIdentifiersSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcesses { - get(options?: WebAppsListInstanceProcessesParameters): Promise; + get(options?: WebAppsListInstanceProcessesParameters): StreamableMethod; } // @public @@ -22939,18 +24103,16 @@ export interface WebAppsListInstanceProcesses200Response extends HttpResponse { // @public export interface WebAppsListInstanceProcesses404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessesdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22958,7 +24120,7 @@ export type WebAppsListInstanceProcessesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessesSlot { - get(options?: WebAppsListInstanceProcessesSlotParameters): Promise; + get(options?: WebAppsListInstanceProcessesSlotParameters): StreamableMethod; } // @public @@ -22971,18 +24133,16 @@ export interface WebAppsListInstanceProcessesSlot200Response extends HttpRespons // @public export interface WebAppsListInstanceProcessesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22990,7 +24150,7 @@ export type WebAppsListInstanceProcessesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessModules { - get(options?: WebAppsListInstanceProcessModulesParameters): Promise; + get(options?: WebAppsListInstanceProcessModulesParameters): StreamableMethod; } // @public @@ -23003,18 +24163,16 @@ export interface WebAppsListInstanceProcessModules200Response extends HttpRespon // @public export interface WebAppsListInstanceProcessModules404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessModulesdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessModulesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23022,7 +24180,7 @@ export type WebAppsListInstanceProcessModulesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessModulesSlot { - get(options?: WebAppsListInstanceProcessModulesSlotParameters): Promise; + get(options?: WebAppsListInstanceProcessModulesSlotParameters): StreamableMethod; } // @public @@ -23035,18 +24193,16 @@ export interface WebAppsListInstanceProcessModulesSlot200Response extends HttpRe // @public export interface WebAppsListInstanceProcessModulesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessModulesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessModulesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23054,7 +24210,7 @@ export type WebAppsListInstanceProcessModulesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessThreads { - get(options?: WebAppsListInstanceProcessThreadsParameters): Promise; + get(options?: WebAppsListInstanceProcessThreadsParameters): StreamableMethod; } // @public @@ -23067,18 +24223,16 @@ export interface WebAppsListInstanceProcessThreads200Response extends HttpRespon // @public export interface WebAppsListInstanceProcessThreads404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessThreadsdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessThreadsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23086,7 +24240,7 @@ export type WebAppsListInstanceProcessThreadsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessThreadsSlot { - get(options?: WebAppsListInstanceProcessThreadsSlotParameters): Promise; + get(options?: WebAppsListInstanceProcessThreadsSlotParameters): StreamableMethod; } // @public @@ -23099,18 +24253,16 @@ export interface WebAppsListInstanceProcessThreadsSlot200Response extends HttpRe // @public export interface WebAppsListInstanceProcessThreadsSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessThreadsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessThreadsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23118,7 +24270,7 @@ export type WebAppsListInstanceProcessThreadsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListMetadata { - post(options?: WebAppsListMetadataParameters): Promise; + post(options?: WebAppsListMetadataParameters): StreamableMethod; } // @public @@ -23130,11 +24282,11 @@ export interface WebAppsListMetadata200Response extends HttpResponse { } // @public -export interface WebAppsListMetadatadefaultResponse extends HttpResponse { +export interface WebAppsListMetadataDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23142,7 +24294,7 @@ export type WebAppsListMetadataParameters = RequestParameters; // @public (undocumented) export interface WebAppsListMetadataSlot { - post(options?: WebAppsListMetadataSlotParameters): Promise; + post(options?: WebAppsListMetadataSlotParameters): StreamableMethod; } // @public @@ -23154,11 +24306,11 @@ export interface WebAppsListMetadataSlot200Response extends HttpResponse { } // @public -export interface WebAppsListMetadataSlotdefaultResponse extends HttpResponse { +export interface WebAppsListMetadataSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23166,7 +24318,7 @@ export type WebAppsListMetadataSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListNetworkFeatures { - get(options?: WebAppsListNetworkFeaturesParameters): Promise; + get(options?: WebAppsListNetworkFeaturesParameters): StreamableMethod; } // @public @@ -23179,18 +24331,16 @@ export interface WebAppsListNetworkFeatures200Response extends HttpResponse { // @public export interface WebAppsListNetworkFeatures404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListNetworkFeaturesdefaultResponse extends HttpResponse { +export interface WebAppsListNetworkFeaturesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23198,7 +24348,7 @@ export type WebAppsListNetworkFeaturesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListNetworkFeaturesSlot { - get(options?: WebAppsListNetworkFeaturesSlotParameters): Promise; + get(options?: WebAppsListNetworkFeaturesSlotParameters): StreamableMethod; } // @public @@ -23211,18 +24361,16 @@ export interface WebAppsListNetworkFeaturesSlot200Response extends HttpResponse // @public export interface WebAppsListNetworkFeaturesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListNetworkFeaturesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListNetworkFeaturesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23233,7 +24381,7 @@ export type WebAppsListParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPerfMonCounters { - get(options?: WebAppsListPerfMonCountersParameters): Promise; + get(options?: WebAppsListPerfMonCountersParameters): StreamableMethod; } // @public @@ -23245,11 +24393,11 @@ export interface WebAppsListPerfMonCounters200Response extends HttpResponse { } // @public -export interface WebAppsListPerfMonCountersdefaultResponse extends HttpResponse { +export interface WebAppsListPerfMonCountersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23268,7 +24416,7 @@ export interface WebAppsListPerfMonCountersQueryParamProperties { // @public (undocumented) export interface WebAppsListPerfMonCountersSlot { - get(options?: WebAppsListPerfMonCountersSlotParameters): Promise; + get(options?: WebAppsListPerfMonCountersSlotParameters): StreamableMethod; } // @public @@ -23280,11 +24428,11 @@ export interface WebAppsListPerfMonCountersSlot200Response extends HttpResponse } // @public -export interface WebAppsListPerfMonCountersSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPerfMonCountersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23303,7 +24451,7 @@ export interface WebAppsListPerfMonCountersSlotQueryParamProperties { // @public (undocumented) export interface WebAppsListPremierAddOns { - get(options?: WebAppsListPremierAddOnsParameters): Promise; + get(options?: WebAppsListPremierAddOnsParameters): StreamableMethod; } // @public @@ -23315,11 +24463,11 @@ export interface WebAppsListPremierAddOns200Response extends HttpResponse { } // @public -export interface WebAppsListPremierAddOnsdefaultResponse extends HttpResponse { +export interface WebAppsListPremierAddOnsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23327,7 +24475,7 @@ export type WebAppsListPremierAddOnsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPremierAddOnsSlot { - get(options?: WebAppsListPremierAddOnsSlotParameters): Promise; + get(options?: WebAppsListPremierAddOnsSlotParameters): StreamableMethod; } // @public @@ -23339,11 +24487,11 @@ export interface WebAppsListPremierAddOnsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListPremierAddOnsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPremierAddOnsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23351,7 +24499,7 @@ export type WebAppsListPremierAddOnsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcesses { - get(options?: WebAppsListProcessesParameters): Promise; + get(options?: WebAppsListProcessesParameters): StreamableMethod; } // @public @@ -23364,18 +24512,16 @@ export interface WebAppsListProcesses200Response extends HttpResponse { // @public export interface WebAppsListProcesses404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessesdefaultResponse extends HttpResponse { +export interface WebAppsListProcessesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23383,7 +24529,7 @@ export type WebAppsListProcessesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessesSlot { - get(options?: WebAppsListProcessesSlotParameters): Promise; + get(options?: WebAppsListProcessesSlotParameters): StreamableMethod; } // @public @@ -23396,18 +24542,16 @@ export interface WebAppsListProcessesSlot200Response extends HttpResponse { // @public export interface WebAppsListProcessesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListProcessesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23415,7 +24559,7 @@ export type WebAppsListProcessesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessModules { - get(options?: WebAppsListProcessModulesParameters): Promise; + get(options?: WebAppsListProcessModulesParameters): StreamableMethod; } // @public @@ -23428,18 +24572,16 @@ export interface WebAppsListProcessModules200Response extends HttpResponse { // @public export interface WebAppsListProcessModules404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessModulesdefaultResponse extends HttpResponse { +export interface WebAppsListProcessModulesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23447,7 +24589,7 @@ export type WebAppsListProcessModulesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessModulesSlot { - get(options?: WebAppsListProcessModulesSlotParameters): Promise; + get(options?: WebAppsListProcessModulesSlotParameters): StreamableMethod; } // @public @@ -23460,18 +24602,16 @@ export interface WebAppsListProcessModulesSlot200Response extends HttpResponse { // @public export interface WebAppsListProcessModulesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessModulesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListProcessModulesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23479,7 +24619,7 @@ export type WebAppsListProcessModulesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessThreads { - get(options?: WebAppsListProcessThreadsParameters): Promise; + get(options?: WebAppsListProcessThreadsParameters): StreamableMethod; } // @public @@ -23492,18 +24632,16 @@ export interface WebAppsListProcessThreads200Response extends HttpResponse { // @public export interface WebAppsListProcessThreads404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessThreadsdefaultResponse extends HttpResponse { +export interface WebAppsListProcessThreadsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23511,7 +24649,7 @@ export type WebAppsListProcessThreadsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessThreadsSlot { - get(options?: WebAppsListProcessThreadsSlotParameters): Promise; + get(options?: WebAppsListProcessThreadsSlotParameters): StreamableMethod; } // @public @@ -23524,18 +24662,16 @@ export interface WebAppsListProcessThreadsSlot200Response extends HttpResponse { // @public export interface WebAppsListProcessThreadsSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessThreadsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListProcessThreadsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23543,7 +24679,7 @@ export type WebAppsListProcessThreadsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublicCertificates { - get(options?: WebAppsListPublicCertificatesParameters): Promise; + get(options?: WebAppsListPublicCertificatesParameters): StreamableMethod; } // @public @@ -23555,11 +24691,11 @@ export interface WebAppsListPublicCertificates200Response extends HttpResponse { } // @public -export interface WebAppsListPublicCertificatesdefaultResponse extends HttpResponse { +export interface WebAppsListPublicCertificatesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23567,7 +24703,7 @@ export type WebAppsListPublicCertificatesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublicCertificatesSlot { - get(options?: WebAppsListPublicCertificatesSlotParameters): Promise; + get(options?: WebAppsListPublicCertificatesSlotParameters): StreamableMethod; } // @public @@ -23579,11 +24715,11 @@ export interface WebAppsListPublicCertificatesSlot200Response extends HttpRespon } // @public -export interface WebAppsListPublicCertificatesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPublicCertificatesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23591,7 +24727,7 @@ export type WebAppsListPublicCertificatesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublishingCredentials { - post(options?: WebAppsListPublishingCredentialsParameters): Promise; + post(options?: WebAppsListPublishingCredentialsParameters): StreamableMethod; } // @public @@ -23603,11 +24739,11 @@ export interface WebAppsListPublishingCredentials200Response extends HttpRespons } // @public -export interface WebAppsListPublishingCredentialsdefaultResponse extends HttpResponse { +export interface WebAppsListPublishingCredentialsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23615,7 +24751,7 @@ export type WebAppsListPublishingCredentialsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublishingCredentialsSlot { - post(options?: WebAppsListPublishingCredentialsSlotParameters): Promise; + post(options?: WebAppsListPublishingCredentialsSlotParameters): StreamableMethod; } // @public @@ -23627,11 +24763,11 @@ export interface WebAppsListPublishingCredentialsSlot200Response extends HttpRes } // @public -export interface WebAppsListPublishingCredentialsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPublishingCredentialsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23639,7 +24775,7 @@ export type WebAppsListPublishingCredentialsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublishingProfileXmlWithSecrets { - post(options: WebAppsListPublishingProfileXmlWithSecretsParameters): Promise; + post(options: WebAppsListPublishingProfileXmlWithSecretsParameters): StreamableMethod; } // @public @@ -23655,11 +24791,11 @@ export interface WebAppsListPublishingProfileXmlWithSecretsBodyParam { } // @public -export interface WebAppsListPublishingProfileXmlWithSecretsdefaultResponse extends HttpResponse { +export interface WebAppsListPublishingProfileXmlWithSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23672,7 +24808,7 @@ export type WebAppsListPublishingProfileXmlWithSecretsParameters = WebAppsListPu // @public (undocumented) export interface WebAppsListPublishingProfileXmlWithSecretsSlot { - post(options: WebAppsListPublishingProfileXmlWithSecretsSlotParameters): Promise; + post(options: WebAppsListPublishingProfileXmlWithSecretsSlotParameters): StreamableMethod; } // @public @@ -23688,11 +24824,11 @@ export interface WebAppsListPublishingProfileXmlWithSecretsSlotBodyParam { } // @public -export interface WebAppsListPublishingProfileXmlWithSecretsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23705,7 +24841,7 @@ export type WebAppsListPublishingProfileXmlWithSecretsSlotParameters = WebAppsLi // @public (undocumented) export interface WebAppsListRelayServiceConnections { - get(options?: WebAppsListRelayServiceConnectionsParameters): Promise; + get(options?: WebAppsListRelayServiceConnectionsParameters): StreamableMethod; } // @public @@ -23717,11 +24853,11 @@ export interface WebAppsListRelayServiceConnections200Response extends HttpRespo } // @public -export interface WebAppsListRelayServiceConnectionsdefaultResponse extends HttpResponse { +export interface WebAppsListRelayServiceConnectionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23729,7 +24865,7 @@ export type WebAppsListRelayServiceConnectionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListRelayServiceConnectionsSlot { - get(options?: WebAppsListRelayServiceConnectionsSlotParameters): Promise; + get(options?: WebAppsListRelayServiceConnectionsSlotParameters): StreamableMethod; } // @public @@ -23741,11 +24877,11 @@ export interface WebAppsListRelayServiceConnectionsSlot200Response extends HttpR } // @public -export interface WebAppsListRelayServiceConnectionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListRelayServiceConnectionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23753,7 +24889,7 @@ export type WebAppsListRelayServiceConnectionsSlotParameters = RequestParameters // @public (undocumented) export interface WebAppsListSiteBackups { - post(options?: WebAppsListSiteBackupsParameters): Promise; + post(options?: WebAppsListSiteBackupsParameters): StreamableMethod; } // @public @@ -23765,11 +24901,11 @@ export interface WebAppsListSiteBackups200Response extends HttpResponse { } // @public -export interface WebAppsListSiteBackupsdefaultResponse extends HttpResponse { +export interface WebAppsListSiteBackupsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23777,7 +24913,7 @@ export type WebAppsListSiteBackupsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSiteBackupsSlot { - post(options?: WebAppsListSiteBackupsSlotParameters): Promise; + post(options?: WebAppsListSiteBackupsSlotParameters): StreamableMethod; } // @public @@ -23789,11 +24925,11 @@ export interface WebAppsListSiteBackupsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListSiteBackupsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSiteBackupsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23801,7 +24937,7 @@ export type WebAppsListSiteBackupsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSiteExtensions { - get(options?: WebAppsListSiteExtensionsParameters): Promise; + get(options?: WebAppsListSiteExtensionsParameters): StreamableMethod; } // @public @@ -23814,18 +24950,16 @@ export interface WebAppsListSiteExtensions200Response extends HttpResponse { // @public export interface WebAppsListSiteExtensions404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListSiteExtensionsdefaultResponse extends HttpResponse { +export interface WebAppsListSiteExtensionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23833,7 +24967,7 @@ export type WebAppsListSiteExtensionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSiteExtensionsSlot { - get(options?: WebAppsListSiteExtensionsSlotParameters): Promise; + get(options?: WebAppsListSiteExtensionsSlotParameters): StreamableMethod; } // @public @@ -23846,18 +24980,16 @@ export interface WebAppsListSiteExtensionsSlot200Response extends HttpResponse { // @public export interface WebAppsListSiteExtensionsSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListSiteExtensionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSiteExtensionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23865,7 +24997,7 @@ export type WebAppsListSiteExtensionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSitePushSettings { - post(options?: WebAppsListSitePushSettingsParameters): Promise; + post(options?: WebAppsListSitePushSettingsParameters): StreamableMethod; } // @public @@ -23877,11 +25009,11 @@ export interface WebAppsListSitePushSettings200Response extends HttpResponse { } // @public -export interface WebAppsListSitePushSettingsdefaultResponse extends HttpResponse { +export interface WebAppsListSitePushSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23889,7 +25021,7 @@ export type WebAppsListSitePushSettingsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSitePushSettingsSlot { - post(options?: WebAppsListSitePushSettingsSlotParameters): Promise; + post(options?: WebAppsListSitePushSettingsSlotParameters): StreamableMethod; } // @public @@ -23901,11 +25033,11 @@ export interface WebAppsListSitePushSettingsSlot200Response extends HttpResponse } // @public -export interface WebAppsListSitePushSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSitePushSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23913,8 +25045,8 @@ export type WebAppsListSitePushSettingsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSlotConfigurationNames { - get(options?: WebAppsListSlotConfigurationNamesParameters): Promise; - put(options: WebAppsUpdateSlotConfigurationNamesParameters): Promise; + get(options?: WebAppsListSlotConfigurationNamesParameters): StreamableMethod; + put(options: WebAppsUpdateSlotConfigurationNamesParameters): StreamableMethod; } // @public @@ -23926,11 +25058,11 @@ export interface WebAppsListSlotConfigurationNames200Response extends HttpRespon } // @public -export interface WebAppsListSlotConfigurationNamesdefaultResponse extends HttpResponse { +export interface WebAppsListSlotConfigurationNamesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23938,7 +25070,7 @@ export type WebAppsListSlotConfigurationNamesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSlotDifferencesFromProduction { - post(options: WebAppsListSlotDifferencesFromProductionParameters): Promise; + post(options: WebAppsListSlotDifferencesFromProductionParameters): StreamableMethod; } // @public @@ -23955,11 +25087,11 @@ export interface WebAppsListSlotDifferencesFromProductionBodyParam { } // @public -export interface WebAppsListSlotDifferencesFromProductiondefaultResponse extends HttpResponse { +export interface WebAppsListSlotDifferencesFromProductionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23972,7 +25104,7 @@ export type WebAppsListSlotDifferencesFromProductionParameters = WebAppsListSlot // @public (undocumented) export interface WebAppsListSlotDifferencesSlot { - post(options: WebAppsListSlotDifferencesSlotParameters): Promise; + post(options: WebAppsListSlotDifferencesSlotParameters): StreamableMethod; } // @public @@ -23989,11 +25121,11 @@ export interface WebAppsListSlotDifferencesSlotBodyParam { } // @public -export interface WebAppsListSlotDifferencesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSlotDifferencesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24006,7 +25138,7 @@ export type WebAppsListSlotDifferencesSlotParameters = WebAppsListSlotDifference // @public (undocumented) export interface WebAppsListSlots { - get(options?: WebAppsListSlotsParameters): Promise; + get(options?: WebAppsListSlotsParameters): StreamableMethod; } // @public @@ -24018,11 +25150,11 @@ export interface WebAppsListSlots200Response extends HttpResponse { } // @public -export interface WebAppsListSlotsdefaultResponse extends HttpResponse { +export interface WebAppsListSlotsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24030,7 +25162,7 @@ export type WebAppsListSlotsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSnapshots { - get(options?: WebAppsListSnapshotsParameters): Promise; + get(options?: WebAppsListSnapshotsParameters): StreamableMethod; } // @public @@ -24042,16 +25174,16 @@ export interface WebAppsListSnapshots200Response extends HttpResponse { } // @public -export interface WebAppsListSnapshotsdefaultResponse extends HttpResponse { +export interface WebAppsListSnapshotsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsListSnapshotsFromDRSecondary { - get(options?: WebAppsListSnapshotsFromDRSecondaryParameters): Promise; + get(options?: WebAppsListSnapshotsFromDRSecondaryParameters): StreamableMethod; } // @public @@ -24063,11 +25195,11 @@ export interface WebAppsListSnapshotsFromDRSecondary200Response extends HttpResp } // @public -export interface WebAppsListSnapshotsFromDRSecondarydefaultResponse extends HttpResponse { +export interface WebAppsListSnapshotsFromDRSecondaryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24075,7 +25207,7 @@ export type WebAppsListSnapshotsFromDRSecondaryParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSnapshotsFromDRSecondarySlot { - get(options?: WebAppsListSnapshotsFromDRSecondarySlotParameters): Promise; + get(options?: WebAppsListSnapshotsFromDRSecondarySlotParameters): StreamableMethod; } // @public @@ -24087,11 +25219,11 @@ export interface WebAppsListSnapshotsFromDRSecondarySlot200Response extends Http } // @public -export interface WebAppsListSnapshotsFromDRSecondarySlotdefaultResponse extends HttpResponse { +export interface WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24102,7 +25234,7 @@ export type WebAppsListSnapshotsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSnapshotsSlot { - get(options?: WebAppsListSnapshotsSlotParameters): Promise; + get(options?: WebAppsListSnapshotsSlotParameters): StreamableMethod; } // @public @@ -24114,11 +25246,11 @@ export interface WebAppsListSnapshotsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListSnapshotsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSnapshotsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24126,7 +25258,7 @@ export type WebAppsListSnapshotsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSyncFunctionTriggers { - post(options?: WebAppsListSyncFunctionTriggersParameters): Promise; + post(options?: WebAppsListSyncFunctionTriggersParameters): StreamableMethod; } // @public @@ -24138,11 +25270,11 @@ export interface WebAppsListSyncFunctionTriggers200Response extends HttpResponse } // @public -export interface WebAppsListSyncFunctionTriggersdefaultResponse extends HttpResponse { +export interface WebAppsListSyncFunctionTriggersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24150,7 +25282,7 @@ export type WebAppsListSyncFunctionTriggersParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSyncFunctionTriggersSlot { - post(options?: WebAppsListSyncFunctionTriggersSlotParameters): Promise; + post(options?: WebAppsListSyncFunctionTriggersSlotParameters): StreamableMethod; } // @public @@ -24162,11 +25294,11 @@ export interface WebAppsListSyncFunctionTriggersSlot200Response extends HttpResp } // @public -export interface WebAppsListSyncFunctionTriggersSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSyncFunctionTriggersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24174,23 +25306,21 @@ export type WebAppsListSyncFunctionTriggersSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSyncStatus { - post(options?: WebAppsListSyncStatusParameters): Promise; + post(options?: WebAppsListSyncStatusParameters): StreamableMethod; } // @public export interface WebAppsListSyncStatus204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsListSyncStatusdefaultResponse extends HttpResponse { +export interface WebAppsListSyncStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24198,23 +25328,21 @@ export type WebAppsListSyncStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSyncStatusSlot { - post(options?: WebAppsListSyncStatusSlotParameters): Promise; + post(options?: WebAppsListSyncStatusSlotParameters): StreamableMethod; } // @public export interface WebAppsListSyncStatusSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsListSyncStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSyncStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24222,7 +25350,7 @@ export type WebAppsListSyncStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListTriggeredWebJobHistory { - get(options?: WebAppsListTriggeredWebJobHistoryParameters): Promise; + get(options?: WebAppsListTriggeredWebJobHistoryParameters): StreamableMethod; } // @public @@ -24235,18 +25363,16 @@ export interface WebAppsListTriggeredWebJobHistory200Response extends HttpRespon // @public export interface WebAppsListTriggeredWebJobHistory404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListTriggeredWebJobHistorydefaultResponse extends HttpResponse { +export interface WebAppsListTriggeredWebJobHistoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24254,7 +25380,7 @@ export type WebAppsListTriggeredWebJobHistoryParameters = RequestParameters; // @public (undocumented) export interface WebAppsListTriggeredWebJobHistorySlot { - get(options?: WebAppsListTriggeredWebJobHistorySlotParameters): Promise; + get(options?: WebAppsListTriggeredWebJobHistorySlotParameters): StreamableMethod; } // @public @@ -24267,18 +25393,16 @@ export interface WebAppsListTriggeredWebJobHistorySlot200Response extends HttpRe // @public export interface WebAppsListTriggeredWebJobHistorySlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListTriggeredWebJobHistorySlotdefaultResponse extends HttpResponse { +export interface WebAppsListTriggeredWebJobHistorySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24286,7 +25410,7 @@ export type WebAppsListTriggeredWebJobHistorySlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListTriggeredWebJobs { - get(options?: WebAppsListTriggeredWebJobsParameters): Promise; + get(options?: WebAppsListTriggeredWebJobsParameters): StreamableMethod; } // @public @@ -24298,11 +25422,11 @@ export interface WebAppsListTriggeredWebJobs200Response extends HttpResponse { } // @public -export interface WebAppsListTriggeredWebJobsdefaultResponse extends HttpResponse { +export interface WebAppsListTriggeredWebJobsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24310,7 +25434,7 @@ export type WebAppsListTriggeredWebJobsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListTriggeredWebJobsSlot { - get(options?: WebAppsListTriggeredWebJobsSlotParameters): Promise; + get(options?: WebAppsListTriggeredWebJobsSlotParameters): StreamableMethod; } // @public @@ -24322,11 +25446,11 @@ export interface WebAppsListTriggeredWebJobsSlot200Response extends HttpResponse } // @public -export interface WebAppsListTriggeredWebJobsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListTriggeredWebJobsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24334,7 +25458,7 @@ export type WebAppsListTriggeredWebJobsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListUsages { - get(options?: WebAppsListUsagesParameters): Promise; + get(options?: WebAppsListUsagesParameters): StreamableMethod; } // @public @@ -24346,11 +25470,11 @@ export interface WebAppsListUsages200Response extends HttpResponse { } // @public -export interface WebAppsListUsagesdefaultResponse extends HttpResponse { +export interface WebAppsListUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24369,7 +25493,7 @@ export interface WebAppsListUsagesQueryParamProperties { // @public (undocumented) export interface WebAppsListUsagesSlot { - get(options?: WebAppsListUsagesSlotParameters): Promise; + get(options?: WebAppsListUsagesSlotParameters): StreamableMethod; } // @public @@ -24381,11 +25505,11 @@ export interface WebAppsListUsagesSlot200Response extends HttpResponse { } // @public -export interface WebAppsListUsagesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListUsagesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24404,7 +25528,7 @@ export interface WebAppsListUsagesSlotQueryParamProperties { // @public (undocumented) export interface WebAppsListVnetConnections { - get(options?: WebAppsListVnetConnectionsParameters): Promise; + get(options?: WebAppsListVnetConnectionsParameters): StreamableMethod; } // @public @@ -24416,11 +25540,11 @@ export interface WebAppsListVnetConnections200Response extends HttpResponse { } // @public -export interface WebAppsListVnetConnectionsdefaultResponse extends HttpResponse { +export interface WebAppsListVnetConnectionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24428,7 +25552,7 @@ export type WebAppsListVnetConnectionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListVnetConnectionsSlot { - get(options?: WebAppsListVnetConnectionsSlotParameters): Promise; + get(options?: WebAppsListVnetConnectionsSlotParameters): StreamableMethod; } // @public @@ -24440,11 +25564,11 @@ export interface WebAppsListVnetConnectionsSlot200Response extends HttpResponse } // @public -export interface WebAppsListVnetConnectionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListVnetConnectionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24452,7 +25576,7 @@ export type WebAppsListVnetConnectionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListWebJobs { - get(options?: WebAppsListWebJobsParameters): Promise; + get(options?: WebAppsListWebJobsParameters): StreamableMethod; } // @public @@ -24464,11 +25588,11 @@ export interface WebAppsListWebJobs200Response extends HttpResponse { } // @public -export interface WebAppsListWebJobsdefaultResponse extends HttpResponse { +export interface WebAppsListWebJobsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24476,7 +25600,7 @@ export type WebAppsListWebJobsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListWebJobsSlot { - get(options?: WebAppsListWebJobsSlotParameters): Promise; + get(options?: WebAppsListWebJobsSlotParameters): StreamableMethod; } // @public @@ -24488,11 +25612,11 @@ export interface WebAppsListWebJobsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListWebJobsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListWebJobsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24500,7 +25624,7 @@ export type WebAppsListWebJobsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsMigrateMySql { - post(options: WebAppsMigrateMySqlParameters): Promise; + post(options: WebAppsMigrateMySqlParameters): StreamableMethod; } // @public @@ -24517,11 +25641,11 @@ export interface WebAppsMigrateMySqlBodyParam { } // @public -export interface WebAppsMigrateMySqldefaultResponse extends HttpResponse { +export interface WebAppsMigrateMySqlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24534,7 +25658,7 @@ export type WebAppsMigrateMySqlParameters = WebAppsMigrateMySqlMediaTypesParam & // @public (undocumented) export interface WebAppsMigrateStorage { - put(options: WebAppsMigrateStorageParameters): Promise; + put(options: WebAppsMigrateStorageParameters): StreamableMethod; } // @public @@ -24551,11 +25675,11 @@ export interface WebAppsMigrateStorageBodyParam { } // @public -export interface WebAppsMigrateStoragedefaultResponse extends HttpResponse { +export interface WebAppsMigrateStorageDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24591,11 +25715,11 @@ export interface WebAppsPutPrivateAccessVnetBodyParam { } // @public -export interface WebAppsPutPrivateAccessVnetdefaultResponse extends HttpResponse { +export interface WebAppsPutPrivateAccessVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24620,11 +25744,11 @@ export interface WebAppsPutPrivateAccessVnetSlotBodyParam { } // @public -export interface WebAppsPutPrivateAccessVnetSlotdefaultResponse extends HttpResponse { +export interface WebAppsPutPrivateAccessVnetSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24637,23 +25761,21 @@ export type WebAppsPutPrivateAccessVnetSlotParameters = WebAppsPutPrivateAccessV // @public (undocumented) export interface WebAppsRecoverSiteConfigurationSnapshot { - post(options?: WebAppsRecoverSiteConfigurationSnapshotParameters): Promise; + post(options?: WebAppsRecoverSiteConfigurationSnapshotParameters): StreamableMethod; } // @public export interface WebAppsRecoverSiteConfigurationSnapshot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsRecoverSiteConfigurationSnapshotdefaultResponse extends HttpResponse { +export interface WebAppsRecoverSiteConfigurationSnapshotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24661,23 +25783,21 @@ export type WebAppsRecoverSiteConfigurationSnapshotParameters = RequestParameter // @public (undocumented) export interface WebAppsRecoverSiteConfigurationSnapshotSlot { - post(options?: WebAppsRecoverSiteConfigurationSnapshotSlotParameters): Promise; + post(options?: WebAppsRecoverSiteConfigurationSnapshotSlotParameters): StreamableMethod; } // @public export interface WebAppsRecoverSiteConfigurationSnapshotSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsRecoverSiteConfigurationSnapshotSlotdefaultResponse extends HttpResponse { +export interface WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24685,23 +25805,21 @@ export type WebAppsRecoverSiteConfigurationSnapshotSlotParameters = RequestParam // @public (undocumented) export interface WebAppsResetProductionSlotConfig { - post(options?: WebAppsResetProductionSlotConfigParameters): Promise; + post(options?: WebAppsResetProductionSlotConfigParameters): StreamableMethod; } // @public export interface WebAppsResetProductionSlotConfig200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsResetProductionSlotConfigdefaultResponse extends HttpResponse { +export interface WebAppsResetProductionSlotConfigDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24709,23 +25827,21 @@ export type WebAppsResetProductionSlotConfigParameters = RequestParameters; // @public (undocumented) export interface WebAppsResetSlotConfigurationSlot { - post(options?: WebAppsResetSlotConfigurationSlotParameters): Promise; + post(options?: WebAppsResetSlotConfigurationSlotParameters): StreamableMethod; } // @public export interface WebAppsResetSlotConfigurationSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsResetSlotConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsResetSlotConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24733,23 +25849,21 @@ export type WebAppsResetSlotConfigurationSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsRestart { - post(options?: WebAppsRestartParameters): Promise; + post(options?: WebAppsRestartParameters): StreamableMethod; } // @public export interface WebAppsRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsRestartdefaultResponse extends HttpResponse { +export interface WebAppsRestartDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24769,23 +25883,21 @@ export interface WebAppsRestartQueryParamProperties { // @public (undocumented) export interface WebAppsRestartSlot { - post(options?: WebAppsRestartSlotParameters): Promise; + post(options?: WebAppsRestartSlotParameters): StreamableMethod; } // @public export interface WebAppsRestartSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsRestartSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestartSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24805,21 +25917,17 @@ export interface WebAppsRestartSlotQueryParamProperties { // @public (undocumented) export interface WebAppsRestore { - post(options: WebAppsRestoreParameters): Promise; + post(options: WebAppsRestoreParameters): StreamableMethod; } // @public export interface WebAppsRestore200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestore202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24830,30 +25938,26 @@ export interface WebAppsRestoreBodyParam { } // @public -export interface WebAppsRestoredefaultResponse extends HttpResponse { +export interface WebAppsRestoreDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsRestoreFromBackupBlob { - post(options: WebAppsRestoreFromBackupBlobParameters): Promise; + post(options: WebAppsRestoreFromBackupBlobParameters): StreamableMethod; } // @public export interface WebAppsRestoreFromBackupBlob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreFromBackupBlob202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24864,11 +25968,11 @@ export interface WebAppsRestoreFromBackupBlobBodyParam { } // @public -export interface WebAppsRestoreFromBackupBlobdefaultResponse extends HttpResponse { +export interface WebAppsRestoreFromBackupBlobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24881,21 +25985,17 @@ export type WebAppsRestoreFromBackupBlobParameters = WebAppsRestoreFromBackupBlo // @public (undocumented) export interface WebAppsRestoreFromBackupBlobSlot { - post(options: WebAppsRestoreFromBackupBlobSlotParameters): Promise; + post(options: WebAppsRestoreFromBackupBlobSlotParameters): StreamableMethod; } // @public export interface WebAppsRestoreFromBackupBlobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreFromBackupBlobSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24906,11 +26006,11 @@ export interface WebAppsRestoreFromBackupBlobSlotBodyParam { } // @public -export interface WebAppsRestoreFromBackupBlobSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreFromBackupBlobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24923,21 +26023,17 @@ export type WebAppsRestoreFromBackupBlobSlotParameters = WebAppsRestoreFromBacku // @public (undocumented) export interface WebAppsRestoreFromDeletedApp { - post(options: WebAppsRestoreFromDeletedAppParameters): Promise; + post(options: WebAppsRestoreFromDeletedAppParameters): StreamableMethod; } // @public export interface WebAppsRestoreFromDeletedApp200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreFromDeletedApp202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24948,11 +26044,11 @@ export interface WebAppsRestoreFromDeletedAppBodyParam { } // @public -export interface WebAppsRestoreFromDeletedAppdefaultResponse extends HttpResponse { +export interface WebAppsRestoreFromDeletedAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24965,21 +26061,17 @@ export type WebAppsRestoreFromDeletedAppParameters = WebAppsRestoreFromDeletedAp // @public (undocumented) export interface WebAppsRestoreFromDeletedAppSlot { - post(options: WebAppsRestoreFromDeletedAppSlotParameters): Promise; + post(options: WebAppsRestoreFromDeletedAppSlotParameters): StreamableMethod; } // @public export interface WebAppsRestoreFromDeletedAppSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreFromDeletedAppSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24990,11 +26082,11 @@ export interface WebAppsRestoreFromDeletedAppSlotBodyParam { } // @public -export interface WebAppsRestoreFromDeletedAppSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreFromDeletedAppSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25015,21 +26107,17 @@ export type WebAppsRestoreParameters = WebAppsRestoreMediaTypesParam & WebAppsRe // @public (undocumented) export interface WebAppsRestoreSlot { - post(options: WebAppsRestoreSlotParameters): Promise; + post(options: WebAppsRestoreSlotParameters): StreamableMethod; } // @public export interface WebAppsRestoreSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25040,11 +26128,11 @@ export interface WebAppsRestoreSlotBodyParam { } // @public -export interface WebAppsRestoreSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25057,21 +26145,17 @@ export type WebAppsRestoreSlotParameters = WebAppsRestoreSlotMediaTypesParam & W // @public (undocumented) export interface WebAppsRestoreSnapshot { - post(options: WebAppsRestoreSnapshotParameters): Promise; + post(options: WebAppsRestoreSnapshotParameters): StreamableMethod; } // @public export interface WebAppsRestoreSnapshot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreSnapshot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25082,11 +26166,11 @@ export interface WebAppsRestoreSnapshotBodyParam { } // @public -export interface WebAppsRestoreSnapshotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreSnapshotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25099,21 +26183,17 @@ export type WebAppsRestoreSnapshotParameters = WebAppsRestoreSnapshotMediaTypesP // @public (undocumented) export interface WebAppsRestoreSnapshotSlot { - post(options: WebAppsRestoreSnapshotSlotParameters): Promise; + post(options: WebAppsRestoreSnapshotSlotParameters): StreamableMethod; } // @public export interface WebAppsRestoreSnapshotSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreSnapshotSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25124,11 +26204,11 @@ export interface WebAppsRestoreSnapshotSlotBodyParam { } // @public -export interface WebAppsRestoreSnapshotSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreSnapshotSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25141,31 +26221,27 @@ export type WebAppsRestoreSnapshotSlotParameters = WebAppsRestoreSnapshotSlotMed // @public (undocumented) export interface WebAppsRunTriggeredWebJob { - post(options?: WebAppsRunTriggeredWebJobParameters): Promise; + post(options?: WebAppsRunTriggeredWebJobParameters): StreamableMethod; } // @public export interface WebAppsRunTriggeredWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRunTriggeredWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsRunTriggeredWebJobdefaultResponse extends HttpResponse { +export interface WebAppsRunTriggeredWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25173,31 +26249,27 @@ export type WebAppsRunTriggeredWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsRunTriggeredWebJobSlot { - post(options?: WebAppsRunTriggeredWebJobSlotParameters): Promise; + post(options?: WebAppsRunTriggeredWebJobSlotParameters): StreamableMethod; } // @public export interface WebAppsRunTriggeredWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRunTriggeredWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsRunTriggeredWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsRunTriggeredWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25205,44 +26277,38 @@ export type WebAppsRunTriggeredWebJobSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsStart { - post(options?: WebAppsStartParameters): Promise; + post(options?: WebAppsStartParameters): StreamableMethod; } // @public export interface WebAppsStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public (undocumented) export interface WebAppsStartContinuousWebJob { - post(options?: WebAppsStartContinuousWebJobParameters): Promise; + post(options?: WebAppsStartContinuousWebJobParameters): StreamableMethod; } // @public export interface WebAppsStartContinuousWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStartContinuousWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsStartContinuousWebJobdefaultResponse extends HttpResponse { +export interface WebAppsStartContinuousWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25250,47 +26316,43 @@ export type WebAppsStartContinuousWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsStartContinuousWebJobSlot { - post(options?: WebAppsStartContinuousWebJobSlotParameters): Promise; + post(options?: WebAppsStartContinuousWebJobSlotParameters): StreamableMethod; } // @public export interface WebAppsStartContinuousWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStartContinuousWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsStartContinuousWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartContinuousWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsStartContinuousWebJobSlotParameters = RequestParameters; // @public -export interface WebAppsStartdefaultResponse extends HttpResponse { +export interface WebAppsStartDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsStartNetworkTrace { - post(options?: WebAppsStartNetworkTraceParameters): Promise; + post(options?: WebAppsStartNetworkTraceParameters): StreamableMethod; } // @public @@ -25310,11 +26372,11 @@ export interface WebAppsStartNetworkTrace202Response extends HttpResponse { } // @public -export interface WebAppsStartNetworkTracedefaultResponse extends HttpResponse { +export interface WebAppsStartNetworkTraceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25335,7 +26397,7 @@ export interface WebAppsStartNetworkTraceQueryParamProperties { // @public (undocumented) export interface WebAppsStartNetworkTraceSlot { - post(options?: WebAppsStartNetworkTraceSlotParameters): Promise; + post(options?: WebAppsStartNetworkTraceSlotParameters): StreamableMethod; } // @public @@ -25355,11 +26417,11 @@ export interface WebAppsStartNetworkTraceSlot202Response extends HttpResponse { } // @public -export interface WebAppsStartNetworkTraceSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartNetworkTraceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25383,23 +26445,21 @@ export type WebAppsStartParameters = RequestParameters; // @public (undocumented) export interface WebAppsStartSlot { - post(options?: WebAppsStartSlotParameters): Promise; + post(options?: WebAppsStartSlotParameters): StreamableMethod; } // @public export interface WebAppsStartSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsStartSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25407,7 +26467,7 @@ export type WebAppsStartSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsStartWebSiteNetworkTrace { - post(options?: WebAppsStartWebSiteNetworkTraceParameters): Promise; + post(options?: WebAppsStartWebSiteNetworkTraceParameters): StreamableMethod; } // @public @@ -25419,16 +26479,16 @@ export interface WebAppsStartWebSiteNetworkTrace200Response extends HttpResponse } // @public -export interface WebAppsStartWebSiteNetworkTracedefaultResponse extends HttpResponse { +export interface WebAppsStartWebSiteNetworkTraceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsStartWebSiteNetworkTraceOperation { - post(options?: WebAppsStartWebSiteNetworkTraceOperationParameters): Promise; + post(options?: WebAppsStartWebSiteNetworkTraceOperationParameters): StreamableMethod; } // @public @@ -25448,11 +26508,11 @@ export interface WebAppsStartWebSiteNetworkTraceOperation202Response extends Htt } // @public -export interface WebAppsStartWebSiteNetworkTraceOperationdefaultResponse extends HttpResponse { +export interface WebAppsStartWebSiteNetworkTraceOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25473,7 +26533,7 @@ export interface WebAppsStartWebSiteNetworkTraceOperationQueryParamProperties { // @public (undocumented) export interface WebAppsStartWebSiteNetworkTraceOperationSlot { - post(options?: WebAppsStartWebSiteNetworkTraceOperationSlotParameters): Promise; + post(options?: WebAppsStartWebSiteNetworkTraceOperationSlotParameters): StreamableMethod; } // @public @@ -25493,11 +26553,11 @@ export interface WebAppsStartWebSiteNetworkTraceOperationSlot202Response extends } // @public -export interface WebAppsStartWebSiteNetworkTraceOperationSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25534,7 +26594,7 @@ export interface WebAppsStartWebSiteNetworkTraceQueryParamProperties { // @public (undocumented) export interface WebAppsStartWebSiteNetworkTraceSlot { - post(options?: WebAppsStartWebSiteNetworkTraceSlotParameters): Promise; + post(options?: WebAppsStartWebSiteNetworkTraceSlotParameters): StreamableMethod; } // @public @@ -25546,11 +26606,11 @@ export interface WebAppsStartWebSiteNetworkTraceSlot200Response extends HttpResp } // @public -export interface WebAppsStartWebSiteNetworkTraceSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartWebSiteNetworkTraceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25571,44 +26631,38 @@ export interface WebAppsStartWebSiteNetworkTraceSlotQueryParamProperties { // @public (undocumented) export interface WebAppsStop { - post(options?: WebAppsStopParameters): Promise; + post(options?: WebAppsStopParameters): StreamableMethod; } // @public export interface WebAppsStop200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public (undocumented) export interface WebAppsStopContinuousWebJob { - post(options?: WebAppsStopContinuousWebJobParameters): Promise; + post(options?: WebAppsStopContinuousWebJobParameters): StreamableMethod; } // @public export interface WebAppsStopContinuousWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopContinuousWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsStopContinuousWebJobdefaultResponse extends HttpResponse { +export interface WebAppsStopContinuousWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25616,71 +26670,63 @@ export type WebAppsStopContinuousWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopContinuousWebJobSlot { - post(options?: WebAppsStopContinuousWebJobSlotParameters): Promise; + post(options?: WebAppsStopContinuousWebJobSlotParameters): StreamableMethod; } // @public export interface WebAppsStopContinuousWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopContinuousWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsStopContinuousWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsStopContinuousWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsStopContinuousWebJobSlotParameters = RequestParameters; // @public -export interface WebAppsStopdefaultResponse extends HttpResponse { +export interface WebAppsStopDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsStopNetworkTrace { - post(options?: WebAppsStopNetworkTraceParameters): Promise; + post(options?: WebAppsStopNetworkTraceParameters): StreamableMethod; } // @public export interface WebAppsStopNetworkTrace200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopNetworkTrace204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsStopNetworkTracedefaultResponse extends HttpResponse { +export interface WebAppsStopNetworkTraceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25688,31 +26734,27 @@ export type WebAppsStopNetworkTraceParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopNetworkTraceSlot { - post(options?: WebAppsStopNetworkTraceSlotParameters): Promise; + post(options?: WebAppsStopNetworkTraceSlotParameters): StreamableMethod; } // @public export interface WebAppsStopNetworkTraceSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopNetworkTraceSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsStopNetworkTraceSlotdefaultResponse extends HttpResponse { +export interface WebAppsStopNetworkTraceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25723,23 +26765,21 @@ export type WebAppsStopParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopSlot { - post(options?: WebAppsStopSlotParameters): Promise; + post(options?: WebAppsStopSlotParameters): StreamableMethod; } // @public export interface WebAppsStopSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsStopSlotdefaultResponse extends HttpResponse { +export interface WebAppsStopSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25747,31 +26787,27 @@ export type WebAppsStopSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopWebSiteNetworkTrace { - post(options?: WebAppsStopWebSiteNetworkTraceParameters): Promise; + post(options?: WebAppsStopWebSiteNetworkTraceParameters): StreamableMethod; } // @public export interface WebAppsStopWebSiteNetworkTrace200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopWebSiteNetworkTrace204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsStopWebSiteNetworkTracedefaultResponse extends HttpResponse { +export interface WebAppsStopWebSiteNetworkTraceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25779,31 +26815,27 @@ export type WebAppsStopWebSiteNetworkTraceParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopWebSiteNetworkTraceSlot { - post(options?: WebAppsStopWebSiteNetworkTraceSlotParameters): Promise; + post(options?: WebAppsStopWebSiteNetworkTraceSlotParameters): StreamableMethod; } // @public export interface WebAppsStopWebSiteNetworkTraceSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopWebSiteNetworkTraceSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsStopWebSiteNetworkTraceSlotdefaultResponse extends HttpResponse { +export interface WebAppsStopWebSiteNetworkTraceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25811,21 +26843,17 @@ export type WebAppsStopWebSiteNetworkTraceSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsSwapSlot { - post(options: WebAppsSwapSlotParameters): Promise; + post(options: WebAppsSwapSlotParameters): StreamableMethod; } // @public export interface WebAppsSwapSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsSwapSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25836,11 +26864,11 @@ export interface WebAppsSwapSlotBodyParam { } // @public -export interface WebAppsSwapSlotdefaultResponse extends HttpResponse { +export interface WebAppsSwapSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25853,21 +26881,17 @@ export type WebAppsSwapSlotParameters = WebAppsSwapSlotMediaTypesParam & WebApps // @public (undocumented) export interface WebAppsSwapSlotWithProduction { - post(options: WebAppsSwapSlotWithProductionParameters): Promise; + post(options: WebAppsSwapSlotWithProductionParameters): StreamableMethod; } // @public export interface WebAppsSwapSlotWithProduction200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsSwapSlotWithProduction202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25878,11 +26902,11 @@ export interface WebAppsSwapSlotWithProductionBodyParam { } // @public -export interface WebAppsSwapSlotWithProductiondefaultResponse extends HttpResponse { +export interface WebAppsSwapSlotWithProductionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25895,23 +26919,21 @@ export type WebAppsSwapSlotWithProductionParameters = WebAppsSwapSlotWithProduct // @public (undocumented) export interface WebAppsSyncFunctions { - post(options?: WebAppsSyncFunctionsParameters): Promise; + post(options?: WebAppsSyncFunctionsParameters): StreamableMethod; } // @public export interface WebAppsSyncFunctions204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsSyncFunctionsdefaultResponse extends HttpResponse { +export interface WebAppsSyncFunctionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25919,23 +26941,21 @@ export type WebAppsSyncFunctionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncFunctionsSlot { - post(options?: WebAppsSyncFunctionsSlotParameters): Promise; + post(options?: WebAppsSyncFunctionsSlotParameters): StreamableMethod; } // @public export interface WebAppsSyncFunctionsSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsSyncFunctionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsSyncFunctionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25943,23 +26963,21 @@ export type WebAppsSyncFunctionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncFunctionTriggers { - post(options?: WebAppsSyncFunctionTriggersParameters): Promise; + post(options?: WebAppsSyncFunctionTriggersParameters): StreamableMethod; } // @public export interface WebAppsSyncFunctionTriggers204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsSyncFunctionTriggersdefaultResponse extends HttpResponse { +export interface WebAppsSyncFunctionTriggersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25967,23 +26985,21 @@ export type WebAppsSyncFunctionTriggersParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncFunctionTriggersSlot { - post(options?: WebAppsSyncFunctionTriggersSlotParameters): Promise; + post(options?: WebAppsSyncFunctionTriggersSlotParameters): StreamableMethod; } // @public export interface WebAppsSyncFunctionTriggersSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsSyncFunctionTriggersSlotdefaultResponse extends HttpResponse { +export interface WebAppsSyncFunctionTriggersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25991,23 +27007,21 @@ export type WebAppsSyncFunctionTriggersSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncRepository { - post(options?: WebAppsSyncRepositoryParameters): Promise; + post(options?: WebAppsSyncRepositoryParameters): StreamableMethod; } // @public export interface WebAppsSyncRepository200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsSyncRepositorydefaultResponse extends HttpResponse { +export interface WebAppsSyncRepositoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26015,60 +27029,53 @@ export type WebAppsSyncRepositoryParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncRepositorySlot { - post(options?: WebAppsSyncRepositorySlotParameters): Promise; + post(options?: WebAppsSyncRepositorySlotParameters): StreamableMethod; } // @public export interface WebAppsSyncRepositorySlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsSyncRepositorySlotdefaultResponse extends HttpResponse { +export interface WebAppsSyncRepositorySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsSyncRepositorySlotParameters = RequestParameters; -// @public (undocumented) +// @public export interface WebAppStack extends ProxyOnlyResource { - location?: string; properties?: WebAppStackProperties; } -// @public (undocumented) +// @public export interface WebAppStackCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WebAppStackOutput extends ProxyOnlyResourceOutput { - location?: string; + readonly location?: string; properties?: WebAppStackPropertiesOutput; } -// @public (undocumented) +// @public export interface WebAppStackProperties { - displayText?: string; - majorVersions?: Array; - preferredOs?: "Windows" | "Linux"; - value?: string; } -// @public (undocumented) +// @public export interface WebAppStackPropertiesOutput { - displayText?: string; - majorVersions?: Array; - preferredOs?: "Windows" | "Linux"; - value?: string; + readonly displayText?: string; + readonly majorVersions?: Array; + readonly preferredOs?: "Windows" | "Linux"; + readonly value?: string; } // @public @@ -26089,7 +27096,7 @@ export interface WebAppsUpdate202Response extends HttpResponse { // @public (undocumented) export interface WebAppsUpdateApplicationSettings { - put(options: WebAppsUpdateApplicationSettingsParameters): Promise; + put(options: WebAppsUpdateApplicationSettingsParameters): StreamableMethod; } // @public @@ -26106,11 +27113,11 @@ export interface WebAppsUpdateApplicationSettingsBodyParam { } // @public -export interface WebAppsUpdateApplicationSettingsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateApplicationSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26123,7 +27130,7 @@ export type WebAppsUpdateApplicationSettingsParameters = WebAppsUpdateApplicatio // @public (undocumented) export interface WebAppsUpdateApplicationSettingsSlot { - put(options: WebAppsUpdateApplicationSettingsSlotParameters): Promise; + put(options: WebAppsUpdateApplicationSettingsSlotParameters): StreamableMethod; } // @public @@ -26140,11 +27147,11 @@ export interface WebAppsUpdateApplicationSettingsSlotBodyParam { } // @public -export interface WebAppsUpdateApplicationSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateApplicationSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26157,7 +27164,7 @@ export type WebAppsUpdateApplicationSettingsSlotParameters = WebAppsUpdateApplic // @public (undocumented) export interface WebAppsUpdateAuthSettings { - put(options: WebAppsUpdateAuthSettingsParameters): Promise; + put(options: WebAppsUpdateAuthSettingsParameters): StreamableMethod; } // @public @@ -26174,11 +27181,11 @@ export interface WebAppsUpdateAuthSettingsBodyParam { } // @public -export interface WebAppsUpdateAuthSettingsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAuthSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26191,7 +27198,7 @@ export type WebAppsUpdateAuthSettingsParameters = WebAppsUpdateAuthSettingsMedia // @public (undocumented) export interface WebAppsUpdateAuthSettingsSlot { - put(options: WebAppsUpdateAuthSettingsSlotParameters): Promise; + put(options: WebAppsUpdateAuthSettingsSlotParameters): StreamableMethod; } // @public @@ -26208,11 +27215,11 @@ export interface WebAppsUpdateAuthSettingsSlotBodyParam { } // @public -export interface WebAppsUpdateAuthSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAuthSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26237,11 +27244,11 @@ export interface WebAppsUpdateAuthSettingsV2BodyParam { } // @public -export interface WebAppsUpdateAuthSettingsV2defaultResponse extends HttpResponse { +export interface WebAppsUpdateAuthSettingsV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26266,11 +27273,11 @@ export interface WebAppsUpdateAuthSettingsV2SlotBodyParam { } // @public -export interface WebAppsUpdateAuthSettingsV2SlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAuthSettingsV2SlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26283,7 +27290,7 @@ export type WebAppsUpdateAuthSettingsV2SlotParameters = WebAppsUpdateAuthSetting // @public (undocumented) export interface WebAppsUpdateAzureStorageAccounts { - put(options: WebAppsUpdateAzureStorageAccountsParameters): Promise; + put(options: WebAppsUpdateAzureStorageAccountsParameters): StreamableMethod; } // @public @@ -26300,11 +27307,11 @@ export interface WebAppsUpdateAzureStorageAccountsBodyParam { } // @public -export interface WebAppsUpdateAzureStorageAccountsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAzureStorageAccountsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26317,7 +27324,7 @@ export type WebAppsUpdateAzureStorageAccountsParameters = WebAppsUpdateAzureStor // @public (undocumented) export interface WebAppsUpdateAzureStorageAccountsSlot { - put(options: WebAppsUpdateAzureStorageAccountsSlotParameters): Promise; + put(options: WebAppsUpdateAzureStorageAccountsSlotParameters): StreamableMethod; } // @public @@ -26334,11 +27341,11 @@ export interface WebAppsUpdateAzureStorageAccountsSlotBodyParam { } // @public -export interface WebAppsUpdateAzureStorageAccountsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAzureStorageAccountsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26351,8 +27358,8 @@ export type WebAppsUpdateAzureStorageAccountsSlotParameters = WebAppsUpdateAzure // @public (undocumented) export interface WebAppsUpdateBackupConfiguration { - delete(options?: WebAppsDeleteBackupConfigurationParameters): Promise; - put(options: WebAppsUpdateBackupConfigurationParameters): Promise; + delete(options?: WebAppsDeleteBackupConfigurationParameters): StreamableMethod; + put(options: WebAppsUpdateBackupConfigurationParameters): StreamableMethod; } // @public @@ -26369,11 +27376,11 @@ export interface WebAppsUpdateBackupConfigurationBodyParam { } // @public -export interface WebAppsUpdateBackupConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsUpdateBackupConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26386,8 +27393,8 @@ export type WebAppsUpdateBackupConfigurationParameters = WebAppsUpdateBackupConf // @public (undocumented) export interface WebAppsUpdateBackupConfigurationSlot { - delete(options?: WebAppsDeleteBackupConfigurationSlotParameters): Promise; - put(options: WebAppsUpdateBackupConfigurationSlotParameters): Promise; + delete(options?: WebAppsDeleteBackupConfigurationSlotParameters): StreamableMethod; + put(options: WebAppsUpdateBackupConfigurationSlotParameters): StreamableMethod; } // @public @@ -26404,11 +27411,11 @@ export interface WebAppsUpdateBackupConfigurationSlotBodyParam { } // @public -export interface WebAppsUpdateBackupConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateBackupConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26438,11 +27445,11 @@ export interface WebAppsUpdateConfigurationBodyParam { } // @public -export interface WebAppsUpdateConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsUpdateConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26467,11 +27474,11 @@ export interface WebAppsUpdateConfigurationSlotBodyParam { } // @public -export interface WebAppsUpdateConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26484,7 +27491,7 @@ export type WebAppsUpdateConfigurationSlotParameters = WebAppsUpdateConfiguratio // @public (undocumented) export interface WebAppsUpdateConnectionStrings { - put(options: WebAppsUpdateConnectionStringsParameters): Promise; + put(options: WebAppsUpdateConnectionStringsParameters): StreamableMethod; } // @public @@ -26501,11 +27508,11 @@ export interface WebAppsUpdateConnectionStringsBodyParam { } // @public -export interface WebAppsUpdateConnectionStringsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateConnectionStringsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26518,7 +27525,7 @@ export type WebAppsUpdateConnectionStringsParameters = WebAppsUpdateConnectionSt // @public (undocumented) export interface WebAppsUpdateConnectionStringsSlot { - put(options: WebAppsUpdateConnectionStringsSlotParameters): Promise; + put(options: WebAppsUpdateConnectionStringsSlotParameters): StreamableMethod; } // @public @@ -26535,11 +27542,11 @@ export interface WebAppsUpdateConnectionStringsSlotBodyParam { } // @public -export interface WebAppsUpdateConnectionStringsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateConnectionStringsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26551,11 +27558,11 @@ export interface WebAppsUpdateConnectionStringsSlotMediaTypesParam { export type WebAppsUpdateConnectionStringsSlotParameters = WebAppsUpdateConnectionStringsSlotMediaTypesParam & WebAppsUpdateConnectionStringsSlotBodyParam & RequestParameters; // @public -export interface WebAppsUpdatedefaultResponse extends HttpResponse { +export interface WebAppsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public @@ -26572,11 +27579,11 @@ export interface WebAppsUpdateDiagnosticLogsConfigBodyParam { } // @public -export interface WebAppsUpdateDiagnosticLogsConfigdefaultResponse extends HttpResponse { +export interface WebAppsUpdateDiagnosticLogsConfigDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26601,11 +27608,11 @@ export interface WebAppsUpdateDiagnosticLogsConfigSlotBodyParam { } // @public -export interface WebAppsUpdateDiagnosticLogsConfigSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26630,11 +27637,11 @@ export interface WebAppsUpdateDomainOwnershipIdentifierBodyParam { } // @public -export interface WebAppsUpdateDomainOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface WebAppsUpdateDomainOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26659,11 +27666,11 @@ export interface WebAppsUpdateDomainOwnershipIdentifierSlotBodyParam { } // @public -export interface WebAppsUpdateDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26689,11 +27696,11 @@ export interface WebAppsUpdateFtpAllowedBodyParam { } // @public -export interface WebAppsUpdateFtpAlloweddefaultResponse extends HttpResponse { +export interface WebAppsUpdateFtpAllowedDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26719,11 +27726,11 @@ export interface WebAppsUpdateFtpAllowedSlotBodyParam { } // @public -export interface WebAppsUpdateFtpAllowedSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateFtpAllowedSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26748,11 +27755,11 @@ export interface WebAppsUpdateHybridConnectionBodyParam { } // @public -export interface WebAppsUpdateHybridConnectiondefaultResponse extends HttpResponse { +export interface WebAppsUpdateHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26777,11 +27784,11 @@ export interface WebAppsUpdateHybridConnectionSlotBodyParam { } // @public -export interface WebAppsUpdateHybridConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateHybridConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26799,7 +27806,7 @@ export interface WebAppsUpdateMediaTypesParam { // @public (undocumented) export interface WebAppsUpdateMetadata { - put(options: WebAppsUpdateMetadataParameters): Promise; + put(options: WebAppsUpdateMetadataParameters): StreamableMethod; } // @public @@ -26816,11 +27823,11 @@ export interface WebAppsUpdateMetadataBodyParam { } // @public -export interface WebAppsUpdateMetadatadefaultResponse extends HttpResponse { +export interface WebAppsUpdateMetadataDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26833,7 +27840,7 @@ export type WebAppsUpdateMetadataParameters = WebAppsUpdateMetadataMediaTypesPar // @public (undocumented) export interface WebAppsUpdateMetadataSlot { - put(options: WebAppsUpdateMetadataSlotParameters): Promise; + put(options: WebAppsUpdateMetadataSlotParameters): StreamableMethod; } // @public @@ -26850,11 +27857,11 @@ export interface WebAppsUpdateMetadataSlotBodyParam { } // @public -export interface WebAppsUpdateMetadataSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateMetadataSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26882,11 +27889,11 @@ export interface WebAppsUpdatePremierAddOnBodyParam { } // @public -export interface WebAppsUpdatePremierAddOndefaultResponse extends HttpResponse { +export interface WebAppsUpdatePremierAddOnDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26911,11 +27918,11 @@ export interface WebAppsUpdatePremierAddOnSlotBodyParam { } // @public -export interface WebAppsUpdatePremierAddOnSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdatePremierAddOnSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26940,11 +27947,11 @@ export interface WebAppsUpdateRelayServiceConnectionBodyParam { } // @public -export interface WebAppsUpdateRelayServiceConnectiondefaultResponse extends HttpResponse { +export interface WebAppsUpdateRelayServiceConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26969,11 +27976,11 @@ export interface WebAppsUpdateRelayServiceConnectionSlotBodyParam { } // @public -export interface WebAppsUpdateRelayServiceConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateRelayServiceConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26999,11 +28006,11 @@ export interface WebAppsUpdateScmAllowedBodyParam { } // @public -export interface WebAppsUpdateScmAlloweddefaultResponse extends HttpResponse { +export interface WebAppsUpdateScmAllowedDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27029,11 +28036,11 @@ export interface WebAppsUpdateScmAllowedSlotBodyParam { } // @public -export interface WebAppsUpdateScmAllowedSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateScmAllowedSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27046,7 +28053,7 @@ export type WebAppsUpdateScmAllowedSlotParameters = WebAppsUpdateScmAllowedSlotM // @public (undocumented) export interface WebAppsUpdateSitePushSettings { - put(options: WebAppsUpdateSitePushSettingsParameters): Promise; + put(options: WebAppsUpdateSitePushSettingsParameters): StreamableMethod; } // @public @@ -27063,11 +28070,11 @@ export interface WebAppsUpdateSitePushSettingsBodyParam { } // @public -export interface WebAppsUpdateSitePushSettingsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSitePushSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27080,7 +28087,7 @@ export type WebAppsUpdateSitePushSettingsParameters = WebAppsUpdateSitePushSetti // @public (undocumented) export interface WebAppsUpdateSitePushSettingsSlot { - put(options: WebAppsUpdateSitePushSettingsSlotParameters): Promise; + put(options: WebAppsUpdateSitePushSettingsSlotParameters): StreamableMethod; } // @public @@ -27097,11 +28104,11 @@ export interface WebAppsUpdateSitePushSettingsSlotBodyParam { } // @public -export interface WebAppsUpdateSitePushSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSitePushSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27147,11 +28154,11 @@ export interface WebAppsUpdateSlotConfigurationNamesBodyParam { } // @public -export interface WebAppsUpdateSlotConfigurationNamesdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSlotConfigurationNamesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27163,11 +28170,11 @@ export interface WebAppsUpdateSlotConfigurationNamesMediaTypesParam { export type WebAppsUpdateSlotConfigurationNamesParameters = WebAppsUpdateSlotConfigurationNamesMediaTypesParam & WebAppsUpdateSlotConfigurationNamesBodyParam & RequestParameters; // @public -export interface WebAppsUpdateSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27208,11 +28215,11 @@ export interface WebAppsUpdateSourceControlBodyParam { } // @public -export interface WebAppsUpdateSourceControldefaultResponse extends HttpResponse { +export interface WebAppsUpdateSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27253,11 +28260,11 @@ export interface WebAppsUpdateSourceControlSlotBodyParam { } // @public -export interface WebAppsUpdateSourceControlSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSourceControlSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27282,11 +28289,11 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckBodyParam { } // @public -export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27311,11 +28318,11 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotBodyPara } // @public -export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27340,11 +28347,11 @@ export interface WebAppsUpdateVnetConnectionBodyParam { } // @public -export interface WebAppsUpdateVnetConnectiondefaultResponse extends HttpResponse { +export interface WebAppsUpdateVnetConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public @@ -27361,11 +28368,11 @@ export interface WebAppsUpdateVnetConnectionGatewayBodyParam { } // @public -export interface WebAppsUpdateVnetConnectionGatewaydefaultResponse extends HttpResponse { +export interface WebAppsUpdateVnetConnectionGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27390,11 +28397,11 @@ export interface WebAppsUpdateVnetConnectionGatewaySlotBodyParam { } // @public -export interface WebAppsUpdateVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27427,11 +28434,11 @@ export interface WebAppsUpdateVnetConnectionSlotBodyParam { } // @public -export interface WebAppsUpdateVnetConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateVnetConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27442,23 +28449,23 @@ export interface WebAppsUpdateVnetConnectionSlotMediaTypesParam { // @public (undocumented) export type WebAppsUpdateVnetConnectionSlotParameters = WebAppsUpdateVnetConnectionSlotMediaTypesParam & WebAppsUpdateVnetConnectionSlotBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface WebJob extends ProxyOnlyResource { properties?: WebJobProperties; } -// @public (undocumented) +// @public export interface WebJobCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WebJobOutput extends ProxyOnlyResourceOutput { properties?: WebJobPropertiesOutput; } -// @public (undocumented) +// @public export interface WebJobProperties { error?: string; extra_info_url?: string; @@ -27469,7 +28476,7 @@ export interface WebJobProperties { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface WebJobPropertiesOutput { error?: string; extra_info_url?: string; @@ -27490,7 +28497,7 @@ export interface WebSiteInstanceStatusOutput extends ProxyOnlyResourceOutput { properties?: WebSiteInstanceStatusPropertiesOutput; } -// @public (undocumented) +// @public export interface WebSiteInstanceStatusProperties { consoleUrl?: string; containers?: Record; @@ -27501,7 +28508,7 @@ export interface WebSiteInstanceStatusProperties { statusUrl?: string; } -// @public (undocumented) +// @public export interface WebSiteInstanceStatusPropertiesOutput { consoleUrl?: string; containers?: Record; @@ -27517,61 +28524,57 @@ export type WebSiteManagementClient = Client & { path: Routes; }; -// @public (undocumented) +// @public +export interface WebSiteManagementClientOptions extends ClientOptions { + apiVersion?: string; +} + +// @public export interface WindowsJavaContainerSettings { - endOfLifeDate?: Date | string; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - javaContainer?: string; - javaContainerVersion?: string; } -// @public (undocumented) +// @public export interface WindowsJavaContainerSettingsOutput { - endOfLifeDate?: string; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - javaContainer?: string; - javaContainerVersion?: string; + readonly endOfLifeDate?: string; + readonly isAutoUpdate?: boolean; + readonly isDeprecated?: boolean; + readonly isEarlyAccess?: boolean; + readonly isHidden?: boolean; + readonly isPreview?: boolean; + readonly javaContainer?: string; + readonly javaContainerVersion?: string; } -// @public (undocumented) +// @public export interface WorkerPool { computeMode?: "Shared" | "Dedicated" | "Dynamic"; - instanceNames?: Array; workerCount?: number; workerSize?: string; workerSizeId?: number; } -// @public (undocumented) +// @public export interface WorkerPoolCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WorkerPoolOutput { computeMode?: "Shared" | "Dedicated" | "Dynamic"; - instanceNames?: Array; + readonly instanceNames?: Array; workerCount?: number; workerSize?: string; workerSizeId?: number; } -// @public (undocumented) +// @public export interface WorkerPoolResource extends ProxyOnlyResource { properties?: WorkerPool; sku?: SkuDescription; } -// @public (undocumented) +// @public export interface WorkerPoolResourceOutput extends ProxyOnlyResourceOutput { properties?: WorkerPoolOutput; sku?: SkuDescriptionOutput; diff --git a/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts b/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts index 9045655e247e..3ccca38f6fe9 100644 --- a/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts +++ b/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts @@ -657,1543 +657,1543 @@ import type { } from "./parameters"; import type { AppServiceCertificateOrdersList200Response, - AppServiceCertificateOrdersListdefaultResponse, + AppServiceCertificateOrdersListDefaultResponse, AppServiceCertificateOrdersValidatePurchaseInformation204Response, - AppServiceCertificateOrdersValidatePurchaseInformationdefaultResponse, + AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse, AppServiceCertificateOrdersListByResourceGroup200Response, - AppServiceCertificateOrdersListByResourceGroupdefaultResponse, + AppServiceCertificateOrdersListByResourceGroupDefaultResponse, AppServiceCertificateOrdersGet200Response, - AppServiceCertificateOrdersGetdefaultResponse, + AppServiceCertificateOrdersGetDefaultResponse, AppServiceCertificateOrdersCreateOrUpdate200Response, AppServiceCertificateOrdersCreateOrUpdate201Response, - AppServiceCertificateOrdersCreateOrUpdatedefaultResponse, + AppServiceCertificateOrdersCreateOrUpdateDefaultResponse, AppServiceCertificateOrdersDelete200Response, AppServiceCertificateOrdersDelete204Response, - AppServiceCertificateOrdersDeletedefaultResponse, + AppServiceCertificateOrdersDeleteDefaultResponse, AppServiceCertificateOrdersUpdate200Response, - AppServiceCertificateOrdersUpdatedefaultResponse, + AppServiceCertificateOrdersUpdateDefaultResponse, AppServiceCertificateOrdersListCertificates200Response, - AppServiceCertificateOrdersListCertificatesdefaultResponse, + AppServiceCertificateOrdersListCertificatesDefaultResponse, AppServiceCertificateOrdersGetCertificate200Response, - AppServiceCertificateOrdersGetCertificatedefaultResponse, + AppServiceCertificateOrdersGetCertificateDefaultResponse, AppServiceCertificateOrdersCreateOrUpdateCertificate200Response, AppServiceCertificateOrdersCreateOrUpdateCertificate201Response, - AppServiceCertificateOrdersCreateOrUpdateCertificatedefaultResponse, + AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse, AppServiceCertificateOrdersDeleteCertificate200Response, AppServiceCertificateOrdersDeleteCertificate204Response, - AppServiceCertificateOrdersDeleteCertificatedefaultResponse, + AppServiceCertificateOrdersDeleteCertificateDefaultResponse, AppServiceCertificateOrdersUpdateCertificate200Response, - AppServiceCertificateOrdersUpdateCertificatedefaultResponse, + AppServiceCertificateOrdersUpdateCertificateDefaultResponse, AppServiceCertificateOrdersReissue204Response, - AppServiceCertificateOrdersReissuedefaultResponse, + AppServiceCertificateOrdersReissueDefaultResponse, AppServiceCertificateOrdersRenew204Response, - AppServiceCertificateOrdersRenewdefaultResponse, + AppServiceCertificateOrdersRenewDefaultResponse, AppServiceCertificateOrdersResendEmail204Response, - AppServiceCertificateOrdersResendEmaildefaultResponse, + AppServiceCertificateOrdersResendEmailDefaultResponse, AppServiceCertificateOrdersResendRequestEmails204Response, - AppServiceCertificateOrdersResendRequestEmailsdefaultResponse, + AppServiceCertificateOrdersResendRequestEmailsDefaultResponse, AppServiceCertificateOrdersRetrieveSiteSeal200Response, - AppServiceCertificateOrdersRetrieveSiteSealdefaultResponse, + AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse, AppServiceCertificateOrdersVerifyDomainOwnership204Response, - AppServiceCertificateOrdersVerifyDomainOwnershipdefaultResponse, + AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse, AppServiceCertificateOrdersRetrieveCertificateActions200Response, - AppServiceCertificateOrdersRetrieveCertificateActionsdefaultResponse, + AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse, AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response, - AppServiceCertificateOrdersRetrieveCertificateEmailHistorydefaultResponse, + AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse, CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response, - CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponsedefaultResponse, + CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse, CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response, - CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponsedefaultResponse, + CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse, CertificateRegistrationProviderListOperations200Response, - CertificateRegistrationProviderListOperationsdefaultResponse, + CertificateRegistrationProviderListOperationsDefaultResponse, DomainsCheckAvailability200Response, - DomainsCheckAvailabilitydefaultResponse, + DomainsCheckAvailabilityDefaultResponse, DomainsList200Response, - DomainsListdefaultResponse, + DomainsListDefaultResponse, DomainsGetControlCenterSsoRequest200Response, - DomainsGetControlCenterSsoRequestdefaultResponse, + DomainsGetControlCenterSsoRequestDefaultResponse, DomainsListRecommendations200Response, - DomainsListRecommendationsdefaultResponse, + DomainsListRecommendationsDefaultResponse, DomainsListByResourceGroup200Response, - DomainsListByResourceGroupdefaultResponse, + DomainsListByResourceGroupDefaultResponse, DomainsGet200Response, - DomainsGetdefaultResponse, + DomainsGetDefaultResponse, DomainsCreateOrUpdate200Response, DomainsCreateOrUpdate202Response, - DomainsCreateOrUpdatedefaultResponse, + DomainsCreateOrUpdateDefaultResponse, DomainsDelete200Response, DomainsDelete204Response, - DomainsDeletedefaultResponse, + DomainsDeleteDefaultResponse, DomainsUpdate200Response, DomainsUpdate202Response, - DomainsUpdatedefaultResponse, + DomainsUpdateDefaultResponse, DomainsListOwnershipIdentifiers200Response, - DomainsListOwnershipIdentifiersdefaultResponse, + DomainsListOwnershipIdentifiersDefaultResponse, DomainsGetOwnershipIdentifier200Response, - DomainsGetOwnershipIdentifierdefaultResponse, + DomainsGetOwnershipIdentifierDefaultResponse, DomainsCreateOrUpdateOwnershipIdentifier200Response, - DomainsCreateOrUpdateOwnershipIdentifierdefaultResponse, + DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse, DomainsDeleteOwnershipIdentifier200Response, DomainsDeleteOwnershipIdentifier204Response, - DomainsDeleteOwnershipIdentifierdefaultResponse, + DomainsDeleteOwnershipIdentifierDefaultResponse, DomainsUpdateOwnershipIdentifier200Response, - DomainsUpdateOwnershipIdentifierdefaultResponse, + DomainsUpdateOwnershipIdentifierDefaultResponse, DomainsRenew200Response, DomainsRenew202Response, DomainsRenew204Response, - DomainsRenewdefaultResponse, + DomainsRenewDefaultResponse, DomainsTransferOut200Response, DomainsTransferOut400Response, - DomainsTransferOutdefaultResponse, + DomainsTransferOutDefaultResponse, TopLevelDomainsList200Response, - TopLevelDomainsListdefaultResponse, + TopLevelDomainsListDefaultResponse, TopLevelDomainsGet200Response, - TopLevelDomainsGetdefaultResponse, + TopLevelDomainsGetDefaultResponse, TopLevelDomainsListAgreements200Response, - TopLevelDomainsListAgreementsdefaultResponse, + TopLevelDomainsListAgreementsDefaultResponse, DomainRegistrationProviderListOperations200Response, - DomainRegistrationProviderListOperationsdefaultResponse, + DomainRegistrationProviderListOperationsDefaultResponse, AppServiceEnvironmentsList200Response, - AppServiceEnvironmentsListdefaultResponse, + AppServiceEnvironmentsListDefaultResponse, AppServiceEnvironmentsListByResourceGroup200Response, - AppServiceEnvironmentsListByResourceGroupdefaultResponse, + AppServiceEnvironmentsListByResourceGroupDefaultResponse, AppServiceEnvironmentsGet200Response, - AppServiceEnvironmentsGetdefaultResponse, + AppServiceEnvironmentsGetDefaultResponse, AppServiceEnvironmentsCreateOrUpdate200Response, AppServiceEnvironmentsCreateOrUpdate201Response, AppServiceEnvironmentsCreateOrUpdate202Response, - AppServiceEnvironmentsCreateOrUpdatedefaultResponse, + AppServiceEnvironmentsCreateOrUpdateDefaultResponse, AppServiceEnvironmentsDelete202Response, AppServiceEnvironmentsDelete204Response, - AppServiceEnvironmentsDeletedefaultResponse, + AppServiceEnvironmentsDeleteDefaultResponse, AppServiceEnvironmentsUpdate200Response, AppServiceEnvironmentsUpdate201Response, AppServiceEnvironmentsUpdate202Response, - AppServiceEnvironmentsUpdatedefaultResponse, + AppServiceEnvironmentsUpdateDefaultResponse, AppServiceEnvironmentsListCapacities200Response, - AppServiceEnvironmentsListCapacitiesdefaultResponse, + AppServiceEnvironmentsListCapacitiesDefaultResponse, AppServiceEnvironmentsGetVipInfo200Response, - AppServiceEnvironmentsGetVipInfodefaultResponse, + AppServiceEnvironmentsGetVipInfoDefaultResponse, AppServiceEnvironmentsChangeVnet200Response, AppServiceEnvironmentsChangeVnet202Response, - AppServiceEnvironmentsChangeVnetdefaultResponse, + AppServiceEnvironmentsChangeVnetDefaultResponse, AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response, - AppServiceEnvironmentsGetAseV3NetworkingConfigurationdefaultResponse, + AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse, AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response, - AppServiceEnvironmentsUpdateAseNetworkingConfigurationdefaultResponse, + AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse, AppServiceEnvironmentsListDiagnostics200Response, - AppServiceEnvironmentsListDiagnosticsdefaultResponse, + AppServiceEnvironmentsListDiagnosticsDefaultResponse, AppServiceEnvironmentsGetDiagnosticsItem200Response, - AppServiceEnvironmentsGetDiagnosticsItemdefaultResponse, + AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse, AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response, - AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsdefaultResponse, + AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse, AppServiceEnvironmentsListMultiRolePools200Response, - AppServiceEnvironmentsListMultiRolePoolsdefaultResponse, + AppServiceEnvironmentsListMultiRolePoolsDefaultResponse, AppServiceEnvironmentsGetMultiRolePool200Response, - AppServiceEnvironmentsGetMultiRolePooldefaultResponse, + AppServiceEnvironmentsGetMultiRolePoolDefaultResponse, AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response, AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response, - AppServiceEnvironmentsCreateOrUpdateMultiRolePooldefaultResponse, + AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse, AppServiceEnvironmentsUpdateMultiRolePool200Response, AppServiceEnvironmentsUpdateMultiRolePool202Response, - AppServiceEnvironmentsUpdateMultiRolePooldefaultResponse, + AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse, AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response, - AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsdefaultResponse, + AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse, AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response, - AppServiceEnvironmentsListMultiRoleMetricDefinitionsdefaultResponse, + AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse, AppServiceEnvironmentsListMultiRolePoolSkus200Response, - AppServiceEnvironmentsListMultiRolePoolSkusdefaultResponse, + AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse, AppServiceEnvironmentsListMultiRoleUsages200Response, - AppServiceEnvironmentsListMultiRoleUsagesdefaultResponse, + AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse, AppServiceEnvironmentsListOperations200Response, - AppServiceEnvironmentsListOperationsdefaultResponse, + AppServiceEnvironmentsListOperationsDefaultResponse, AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response, - AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsdefaultResponse, + AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse, AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response, - AppServiceEnvironmentsGetPrivateEndpointConnectionListdefaultResponse, + AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse, AppServiceEnvironmentsGetPrivateEndpointConnection200Response, - AppServiceEnvironmentsGetPrivateEndpointConnectiondefaultResponse, + AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response, - AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectiondefaultResponse, + AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse, AppServiceEnvironmentsDeletePrivateEndpointConnection200Response, AppServiceEnvironmentsDeletePrivateEndpointConnection202Response, AppServiceEnvironmentsDeletePrivateEndpointConnection204Response, - AppServiceEnvironmentsDeletePrivateEndpointConnectiondefaultResponse, + AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse, AppServiceEnvironmentsGetPrivateLinkResources200Response, - AppServiceEnvironmentsGetPrivateLinkResourcesdefaultResponse, + AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse, AppServiceEnvironmentsReboot202Response, - AppServiceEnvironmentsRebootdefaultResponse, + AppServiceEnvironmentsRebootDefaultResponse, AppServiceEnvironmentsResume200Response, AppServiceEnvironmentsResume202Response, - AppServiceEnvironmentsResumedefaultResponse, + AppServiceEnvironmentsResumeDefaultResponse, AppServiceEnvironmentsListAppServicePlans200Response, - AppServiceEnvironmentsListAppServicePlansdefaultResponse, + AppServiceEnvironmentsListAppServicePlansDefaultResponse, AppServiceEnvironmentsListWebApps200Response, - AppServiceEnvironmentsListWebAppsdefaultResponse, + AppServiceEnvironmentsListWebAppsDefaultResponse, AppServiceEnvironmentsSuspend200Response, AppServiceEnvironmentsSuspend202Response, - AppServiceEnvironmentsSuspenddefaultResponse, + AppServiceEnvironmentsSuspendDefaultResponse, AppServiceEnvironmentsListUsages200Response, - AppServiceEnvironmentsListUsagesdefaultResponse, + AppServiceEnvironmentsListUsagesDefaultResponse, AppServiceEnvironmentsListWorkerPools200Response, - AppServiceEnvironmentsListWorkerPoolsdefaultResponse, + AppServiceEnvironmentsListWorkerPoolsDefaultResponse, AppServiceEnvironmentsGetWorkerPool200Response, - AppServiceEnvironmentsGetWorkerPooldefaultResponse, + AppServiceEnvironmentsGetWorkerPoolDefaultResponse, AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response, AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response, - AppServiceEnvironmentsCreateOrUpdateWorkerPooldefaultResponse, + AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse, AppServiceEnvironmentsUpdateWorkerPool200Response, AppServiceEnvironmentsUpdateWorkerPool202Response, - AppServiceEnvironmentsUpdateWorkerPooldefaultResponse, + AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse, AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response, - AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsdefaultResponse, + AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse, AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response, - AppServiceEnvironmentsListWebWorkerMetricDefinitionsdefaultResponse, + AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse, AppServiceEnvironmentsListWorkerPoolSkus200Response, - AppServiceEnvironmentsListWorkerPoolSkusdefaultResponse, + AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse, AppServiceEnvironmentsListWebWorkerUsages200Response, - AppServiceEnvironmentsListWebWorkerUsagesdefaultResponse, + AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse, AppServicePlansList200Response, - AppServicePlansListdefaultResponse, + AppServicePlansListDefaultResponse, AppServicePlansListByResourceGroup200Response, - AppServicePlansListByResourceGroupdefaultResponse, + AppServicePlansListByResourceGroupDefaultResponse, AppServicePlansGet200Response, AppServicePlansGet404Response, - AppServicePlansGetdefaultResponse, + AppServicePlansGetDefaultResponse, AppServicePlansCreateOrUpdate200Response, AppServicePlansCreateOrUpdate202Response, - AppServicePlansCreateOrUpdatedefaultResponse, + AppServicePlansCreateOrUpdateDefaultResponse, AppServicePlansDelete200Response, AppServicePlansDelete204Response, - AppServicePlansDeletedefaultResponse, + AppServicePlansDeleteDefaultResponse, AppServicePlansUpdate200Response, AppServicePlansUpdate202Response, - AppServicePlansUpdatedefaultResponse, + AppServicePlansUpdateDefaultResponse, AppServicePlansListCapabilities200Response, - AppServicePlansListCapabilitiesdefaultResponse, + AppServicePlansListCapabilitiesDefaultResponse, AppServicePlansGetHybridConnection200Response, - AppServicePlansGetHybridConnectiondefaultResponse, + AppServicePlansGetHybridConnectionDefaultResponse, AppServicePlansDeleteHybridConnection200Response, AppServicePlansDeleteHybridConnection204Response, - AppServicePlansDeleteHybridConnectiondefaultResponse, + AppServicePlansDeleteHybridConnectionDefaultResponse, AppServicePlansListHybridConnectionKeys200Response, - AppServicePlansListHybridConnectionKeysdefaultResponse, + AppServicePlansListHybridConnectionKeysDefaultResponse, AppServicePlansListWebAppsByHybridConnection200Response, - AppServicePlansListWebAppsByHybridConnectiondefaultResponse, + AppServicePlansListWebAppsByHybridConnectionDefaultResponse, AppServicePlansGetHybridConnectionPlanLimit200Response, - AppServicePlansGetHybridConnectionPlanLimitdefaultResponse, + AppServicePlansGetHybridConnectionPlanLimitDefaultResponse, AppServicePlansListHybridConnections200Response, - AppServicePlansListHybridConnectionsdefaultResponse, + AppServicePlansListHybridConnectionsDefaultResponse, AppServicePlansRestartWebApps204Response, - AppServicePlansRestartWebAppsdefaultResponse, + AppServicePlansRestartWebAppsDefaultResponse, AppServicePlansListWebApps200Response, - AppServicePlansListWebAppsdefaultResponse, + AppServicePlansListWebAppsDefaultResponse, AppServicePlansGetServerFarmSkus200Response, - AppServicePlansGetServerFarmSkusdefaultResponse, + AppServicePlansGetServerFarmSkusDefaultResponse, AppServicePlansListUsages200Response, - AppServicePlansListUsagesdefaultResponse, + AppServicePlansListUsagesDefaultResponse, AppServicePlansListVnets200Response, - AppServicePlansListVnetsdefaultResponse, + AppServicePlansListVnetsDefaultResponse, AppServicePlansGetVnetFromServerFarm200Response, AppServicePlansGetVnetFromServerFarm404Response, - AppServicePlansGetVnetFromServerFarmdefaultResponse, + AppServicePlansGetVnetFromServerFarmDefaultResponse, AppServicePlansGetVnetGateway200Response, - AppServicePlansGetVnetGatewaydefaultResponse, + AppServicePlansGetVnetGatewayDefaultResponse, AppServicePlansUpdateVnetGateway200Response, - AppServicePlansUpdateVnetGatewaydefaultResponse, + AppServicePlansUpdateVnetGatewayDefaultResponse, AppServicePlansListRoutesForVnet200Response, - AppServicePlansListRoutesForVnetdefaultResponse, + AppServicePlansListRoutesForVnetDefaultResponse, AppServicePlansGetRouteForVnet200Response, AppServicePlansGetRouteForVnet404Response, - AppServicePlansGetRouteForVnetdefaultResponse, + AppServicePlansGetRouteForVnetDefaultResponse, AppServicePlansCreateOrUpdateVnetRoute200Response, AppServicePlansCreateOrUpdateVnetRoute400Response, AppServicePlansCreateOrUpdateVnetRoute404Response, - AppServicePlansCreateOrUpdateVnetRoutedefaultResponse, + AppServicePlansCreateOrUpdateVnetRouteDefaultResponse, AppServicePlansDeleteVnetRoute200Response, AppServicePlansDeleteVnetRoute404Response, - AppServicePlansDeleteVnetRoutedefaultResponse, + AppServicePlansDeleteVnetRouteDefaultResponse, AppServicePlansUpdateVnetRoute200Response, AppServicePlansUpdateVnetRoute400Response, AppServicePlansUpdateVnetRoute404Response, - AppServicePlansUpdateVnetRoutedefaultResponse, + AppServicePlansUpdateVnetRouteDefaultResponse, AppServicePlansRebootWorker204Response, - AppServicePlansRebootWorkerdefaultResponse, + AppServicePlansRebootWorkerDefaultResponse, CertificatesList200Response, - CertificatesListdefaultResponse, + CertificatesListDefaultResponse, CertificatesListByResourceGroup200Response, - CertificatesListByResourceGroupdefaultResponse, + CertificatesListByResourceGroupDefaultResponse, CertificatesGet200Response, - CertificatesGetdefaultResponse, + CertificatesGetDefaultResponse, CertificatesCreateOrUpdate200Response, - CertificatesCreateOrUpdatedefaultResponse, + CertificatesCreateOrUpdateDefaultResponse, CertificatesDelete200Response, CertificatesDelete204Response, - CertificatesDeletedefaultResponse, + CertificatesDeleteDefaultResponse, CertificatesUpdate200Response, - CertificatesUpdatedefaultResponse, + CertificatesUpdateDefaultResponse, ContainerAppsListBySubscription200Response, - ContainerAppsListBySubscriptiondefaultResponse, + ContainerAppsListBySubscriptionDefaultResponse, ContainerAppsListByResourceGroup200Response, - ContainerAppsListByResourceGroupdefaultResponse, + ContainerAppsListByResourceGroupDefaultResponse, ContainerAppsGet200Response, ContainerAppsGet404Response, - ContainerAppsGetdefaultResponse, + ContainerAppsGetDefaultResponse, ContainerAppsCreateOrUpdate200Response, ContainerAppsCreateOrUpdate201Response, - ContainerAppsCreateOrUpdatedefaultResponse, + ContainerAppsCreateOrUpdateDefaultResponse, ContainerAppsDelete200Response, ContainerAppsDelete202Response, ContainerAppsDelete204Response, - ContainerAppsDeletedefaultResponse, + ContainerAppsDeleteDefaultResponse, ContainerAppsListSecrets200Response, - ContainerAppsListSecretsdefaultResponse, + ContainerAppsListSecretsDefaultResponse, ContainerAppsRevisionsListRevisions200Response, - ContainerAppsRevisionsListRevisionsdefaultResponse, + ContainerAppsRevisionsListRevisionsDefaultResponse, ContainerAppsRevisionsGetRevision200Response, - ContainerAppsRevisionsGetRevisiondefaultResponse, + ContainerAppsRevisionsGetRevisionDefaultResponse, ContainerAppsRevisionsActivateRevision200Response, - ContainerAppsRevisionsActivateRevisiondefaultResponse, + ContainerAppsRevisionsActivateRevisionDefaultResponse, ContainerAppsRevisionsDeactivateRevision200Response, - ContainerAppsRevisionsDeactivateRevisiondefaultResponse, + ContainerAppsRevisionsDeactivateRevisionDefaultResponse, ContainerAppsRevisionsRestartRevision200Response, - ContainerAppsRevisionsRestartRevisiondefaultResponse, + ContainerAppsRevisionsRestartRevisionDefaultResponse, DeletedWebAppsList200Response, - DeletedWebAppsListdefaultResponse, + DeletedWebAppsListDefaultResponse, DeletedWebAppsListByLocation200Response, - DeletedWebAppsListByLocationdefaultResponse, + DeletedWebAppsListByLocationDefaultResponse, DeletedWebAppsGetDeletedWebAppByLocation200Response, - DeletedWebAppsGetDeletedWebAppByLocationdefaultResponse, + DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse, DiagnosticsListHostingEnvironmentDetectorResponses200Response, - DiagnosticsListHostingEnvironmentDetectorResponsesdefaultResponse, + DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse, DiagnosticsGetHostingEnvironmentDetectorResponse200Response, - DiagnosticsGetHostingEnvironmentDetectorResponsedefaultResponse, + DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse, DiagnosticsListSiteDetectorResponses200Response, - DiagnosticsListSiteDetectorResponsesdefaultResponse, + DiagnosticsListSiteDetectorResponsesDefaultResponse, DiagnosticsGetSiteDetectorResponse200Response, - DiagnosticsGetSiteDetectorResponsedefaultResponse, + DiagnosticsGetSiteDetectorResponseDefaultResponse, DiagnosticsListSiteDiagnosticCategories200Response, - DiagnosticsListSiteDiagnosticCategoriesdefaultResponse, + DiagnosticsListSiteDiagnosticCategoriesDefaultResponse, DiagnosticsGetSiteDiagnosticCategory200Response, - DiagnosticsGetSiteDiagnosticCategorydefaultResponse, + DiagnosticsGetSiteDiagnosticCategoryDefaultResponse, DiagnosticsListSiteAnalyses200Response, - DiagnosticsListSiteAnalysesdefaultResponse, + DiagnosticsListSiteAnalysesDefaultResponse, DiagnosticsGetSiteAnalysis200Response, - DiagnosticsGetSiteAnalysisdefaultResponse, + DiagnosticsGetSiteAnalysisDefaultResponse, DiagnosticsExecuteSiteAnalysis200Response, - DiagnosticsExecuteSiteAnalysisdefaultResponse, + DiagnosticsExecuteSiteAnalysisDefaultResponse, DiagnosticsListSiteDetectors200Response, - DiagnosticsListSiteDetectorsdefaultResponse, + DiagnosticsListSiteDetectorsDefaultResponse, DiagnosticsGetSiteDetector200Response, - DiagnosticsGetSiteDetectordefaultResponse, + DiagnosticsGetSiteDetectorDefaultResponse, DiagnosticsExecuteSiteDetector200Response, - DiagnosticsExecuteSiteDetectordefaultResponse, + DiagnosticsExecuteSiteDetectorDefaultResponse, DiagnosticsListSiteDetectorResponsesSlot200Response, - DiagnosticsListSiteDetectorResponsesSlotdefaultResponse, + DiagnosticsListSiteDetectorResponsesSlotDefaultResponse, DiagnosticsGetSiteDetectorResponseSlot200Response, - DiagnosticsGetSiteDetectorResponseSlotdefaultResponse, + DiagnosticsGetSiteDetectorResponseSlotDefaultResponse, DiagnosticsListSiteDiagnosticCategoriesSlot200Response, - DiagnosticsListSiteDiagnosticCategoriesSlotdefaultResponse, + DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse, DiagnosticsGetSiteDiagnosticCategorySlot200Response, - DiagnosticsGetSiteDiagnosticCategorySlotdefaultResponse, + DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse, DiagnosticsListSiteAnalysesSlot200Response, - DiagnosticsListSiteAnalysesSlotdefaultResponse, + DiagnosticsListSiteAnalysesSlotDefaultResponse, DiagnosticsGetSiteAnalysisSlot200Response, - DiagnosticsGetSiteAnalysisSlotdefaultResponse, + DiagnosticsGetSiteAnalysisSlotDefaultResponse, DiagnosticsExecuteSiteAnalysisSlot200Response, - DiagnosticsExecuteSiteAnalysisSlotdefaultResponse, + DiagnosticsExecuteSiteAnalysisSlotDefaultResponse, DiagnosticsListSiteDetectorsSlot200Response, - DiagnosticsListSiteDetectorsSlotdefaultResponse, + DiagnosticsListSiteDetectorsSlotDefaultResponse, DiagnosticsGetSiteDetectorSlot200Response, - DiagnosticsGetSiteDetectorSlotdefaultResponse, + DiagnosticsGetSiteDetectorSlotDefaultResponse, DiagnosticsExecuteSiteDetectorSlot200Response, - DiagnosticsExecuteSiteDetectorSlotdefaultResponse, + DiagnosticsExecuteSiteDetectorSlotDefaultResponse, GlobalGetDeletedWebApp200Response, - GlobalGetDeletedWebAppdefaultResponse, + GlobalGetDeletedWebAppDefaultResponse, GlobalGetDeletedWebAppSnapshots200Response, - GlobalGetDeletedWebAppSnapshotsdefaultResponse, + GlobalGetDeletedWebAppSnapshotsDefaultResponse, GlobalGetSubscriptionOperationWithAsyncResponse204Response, - GlobalGetSubscriptionOperationWithAsyncResponsedefaultResponse, + GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse, KubeEnvironmentsListBySubscription200Response, - KubeEnvironmentsListBySubscriptiondefaultResponse, + KubeEnvironmentsListBySubscriptionDefaultResponse, KubeEnvironmentsListByResourceGroup200Response, - KubeEnvironmentsListByResourceGroupdefaultResponse, + KubeEnvironmentsListByResourceGroupDefaultResponse, KubeEnvironmentsGet200Response, - KubeEnvironmentsGetdefaultResponse, + KubeEnvironmentsGetDefaultResponse, KubeEnvironmentsCreateOrUpdate200Response, KubeEnvironmentsCreateOrUpdate201Response, - KubeEnvironmentsCreateOrUpdatedefaultResponse, + KubeEnvironmentsCreateOrUpdateDefaultResponse, KubeEnvironmentsDelete200Response, KubeEnvironmentsDelete202Response, KubeEnvironmentsDelete204Response, - KubeEnvironmentsDeletedefaultResponse, + KubeEnvironmentsDeleteDefaultResponse, KubeEnvironmentsUpdate200Response, KubeEnvironmentsUpdate201Response, - KubeEnvironmentsUpdatedefaultResponse, + KubeEnvironmentsUpdateDefaultResponse, ProviderGetAvailableStacks200Response, - ProviderGetAvailableStacksdefaultResponse, + ProviderGetAvailableStacksDefaultResponse, ProviderGetFunctionAppStacks200Response, - ProviderGetFunctionAppStacksdefaultResponse, + ProviderGetFunctionAppStacksDefaultResponse, ProviderGetFunctionAppStacksForLocation200Response, - ProviderGetFunctionAppStacksForLocationdefaultResponse, + ProviderGetFunctionAppStacksForLocationDefaultResponse, ProviderGetWebAppStacksForLocation200Response, - ProviderGetWebAppStacksForLocationdefaultResponse, + ProviderGetWebAppStacksForLocationDefaultResponse, ProviderListOperations200Response, - ProviderListOperationsdefaultResponse, + ProviderListOperationsDefaultResponse, ProviderGetWebAppStacks200Response, - ProviderGetWebAppStacksdefaultResponse, + ProviderGetWebAppStacksDefaultResponse, ProviderGetAvailableStacksOnPrem200Response, - ProviderGetAvailableStacksOnPremdefaultResponse, + ProviderGetAvailableStacksOnPremDefaultResponse, RecommendationsList200Response, - RecommendationsListdefaultResponse, + RecommendationsListDefaultResponse, RecommendationsResetAllFilters204Response, - RecommendationsResetAllFiltersdefaultResponse, + RecommendationsResetAllFiltersDefaultResponse, RecommendationsDisableRecommendationForSubscription200Response, - RecommendationsDisableRecommendationForSubscriptiondefaultResponse, + RecommendationsDisableRecommendationForSubscriptionDefaultResponse, RecommendationsListHistoryForHostingEnvironment200Response, - RecommendationsListHistoryForHostingEnvironmentdefaultResponse, + RecommendationsListHistoryForHostingEnvironmentDefaultResponse, RecommendationsListRecommendedRulesForHostingEnvironment200Response, - RecommendationsListRecommendedRulesForHostingEnvironmentdefaultResponse, + RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse, RecommendationsDisableAllForHostingEnvironment204Response, - RecommendationsDisableAllForHostingEnvironmentdefaultResponse, + RecommendationsDisableAllForHostingEnvironmentDefaultResponse, RecommendationsResetAllFiltersForHostingEnvironment204Response, - RecommendationsResetAllFiltersForHostingEnvironmentdefaultResponse, + RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse, RecommendationsGetRuleDetailsByHostingEnvironment200Response, - RecommendationsGetRuleDetailsByHostingEnvironmentdefaultResponse, + RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse, RecommendationsDisableRecommendationForHostingEnvironment200Response, - RecommendationsDisableRecommendationForHostingEnvironmentdefaultResponse, + RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse, RecommendationsListHistoryForWebApp200Response, - RecommendationsListHistoryForWebAppdefaultResponse, + RecommendationsListHistoryForWebAppDefaultResponse, RecommendationsListRecommendedRulesForWebApp200Response, - RecommendationsListRecommendedRulesForWebAppdefaultResponse, + RecommendationsListRecommendedRulesForWebAppDefaultResponse, RecommendationsDisableAllForWebApp204Response, - RecommendationsDisableAllForWebAppdefaultResponse, + RecommendationsDisableAllForWebAppDefaultResponse, RecommendationsResetAllFiltersForWebApp204Response, - RecommendationsResetAllFiltersForWebAppdefaultResponse, + RecommendationsResetAllFiltersForWebAppDefaultResponse, RecommendationsGetRuleDetailsByWebApp200Response, - RecommendationsGetRuleDetailsByWebAppdefaultResponse, + RecommendationsGetRuleDetailsByWebAppDefaultResponse, RecommendationsDisableRecommendationForSite200Response, - RecommendationsDisableRecommendationForSitedefaultResponse, + RecommendationsDisableRecommendationForSiteDefaultResponse, ResourceHealthMetadataList200Response, - ResourceHealthMetadataListdefaultResponse, + ResourceHealthMetadataListDefaultResponse, ResourceHealthMetadataListByResourceGroup200Response, - ResourceHealthMetadataListByResourceGroupdefaultResponse, + ResourceHealthMetadataListByResourceGroupDefaultResponse, ResourceHealthMetadataListBySite200Response, - ResourceHealthMetadataListBySitedefaultResponse, + ResourceHealthMetadataListBySiteDefaultResponse, ResourceHealthMetadataGetBySite200Response, - ResourceHealthMetadataGetBySitedefaultResponse, + ResourceHealthMetadataGetBySiteDefaultResponse, ResourceHealthMetadataListBySiteSlot200Response, - ResourceHealthMetadataListBySiteSlotdefaultResponse, + ResourceHealthMetadataListBySiteSlotDefaultResponse, ResourceHealthMetadataGetBySiteSlot200Response, - ResourceHealthMetadataGetBySiteSlotdefaultResponse, + ResourceHealthMetadataGetBySiteSlotDefaultResponse, GetPublishingUser200Response, - GetPublishingUserdefaultResponse, + GetPublishingUserDefaultResponse, UpdatePublishingUser200Response, - UpdatePublishingUserdefaultResponse, + UpdatePublishingUserDefaultResponse, ListSourceControls200Response, - ListSourceControlsdefaultResponse, + ListSourceControlsDefaultResponse, GetSourceControl200Response, - GetSourceControldefaultResponse, + GetSourceControlDefaultResponse, UpdateSourceControl200Response, - UpdateSourceControldefaultResponse, + UpdateSourceControlDefaultResponse, ListBillingMeters200Response, - ListBillingMetersdefaultResponse, + ListBillingMetersDefaultResponse, CheckNameAvailability200Response, - CheckNameAvailabilitydefaultResponse, + CheckNameAvailabilityDefaultResponse, ListCustomHostNameSites200Response, - ListCustomHostNameSitesdefaultResponse, + ListCustomHostNameSitesDefaultResponse, GetSubscriptionDeploymentLocations200Response, - GetSubscriptionDeploymentLocationsdefaultResponse, + GetSubscriptionDeploymentLocationsDefaultResponse, ListGeoRegions200Response, - ListGeoRegionsdefaultResponse, + ListGeoRegionsDefaultResponse, ListSiteIdentifiersAssignedToHostName200Response, - ListSiteIdentifiersAssignedToHostNamedefaultResponse, + ListSiteIdentifiersAssignedToHostNameDefaultResponse, ListPremierAddOnOffers200Response, - ListPremierAddOnOffersdefaultResponse, + ListPremierAddOnOffersDefaultResponse, ListSkus200Response, - ListSkusdefaultResponse, + ListSkusDefaultResponse, VerifyHostingEnvironmentVnet200Response, - VerifyHostingEnvironmentVnetdefaultResponse, + VerifyHostingEnvironmentVnetDefaultResponse, Move204Response, - MovedefaultResponse, + MoveDefaultResponse, Validate200Response, - ValidatedefaultResponse, + ValidateDefaultResponse, ValidateMove204Response, - ValidateMovedefaultResponse, + ValidateMoveDefaultResponse, StaticSitesPreviewWorkflow200Response, - StaticSitesPreviewWorkflowdefaultResponse, + StaticSitesPreviewWorkflowDefaultResponse, StaticSitesList200Response, - StaticSitesListdefaultResponse, + StaticSitesListDefaultResponse, StaticSitesGetStaticSitesByResourceGroup200Response, - StaticSitesGetStaticSitesByResourceGroupdefaultResponse, + StaticSitesGetStaticSitesByResourceGroupDefaultResponse, StaticSitesGetStaticSite200Response, - StaticSitesGetStaticSitedefaultResponse, + StaticSitesGetStaticSiteDefaultResponse, StaticSitesCreateOrUpdateStaticSite200Response, StaticSitesCreateOrUpdateStaticSite202Response, - StaticSitesCreateOrUpdateStaticSitedefaultResponse, + StaticSitesCreateOrUpdateStaticSiteDefaultResponse, StaticSitesDeleteStaticSite200Response, StaticSitesDeleteStaticSite202Response, - StaticSitesDeleteStaticSitedefaultResponse, + StaticSitesDeleteStaticSiteDefaultResponse, StaticSitesUpdateStaticSite200Response, StaticSitesUpdateStaticSite202Response, - StaticSitesUpdateStaticSitedefaultResponse, + StaticSitesUpdateStaticSiteDefaultResponse, StaticSitesListStaticSiteUsers200Response, - StaticSitesListStaticSiteUsersdefaultResponse, + StaticSitesListStaticSiteUsersDefaultResponse, StaticSitesDeleteStaticSiteUser200Response, - StaticSitesDeleteStaticSiteUserdefaultResponse, + StaticSitesDeleteStaticSiteUserDefaultResponse, StaticSitesUpdateStaticSiteUser200Response, - StaticSitesUpdateStaticSiteUserdefaultResponse, + StaticSitesUpdateStaticSiteUserDefaultResponse, StaticSitesGetStaticSiteBuilds200Response, - StaticSitesGetStaticSiteBuildsdefaultResponse, + StaticSitesGetStaticSiteBuildsDefaultResponse, StaticSitesGetStaticSiteBuild200Response, - StaticSitesGetStaticSiteBuilddefaultResponse, + StaticSitesGetStaticSiteBuildDefaultResponse, StaticSitesDeleteStaticSiteBuild200Response, StaticSitesDeleteStaticSiteBuild202Response, StaticSitesDeleteStaticSiteBuild204Response, - StaticSitesDeleteStaticSiteBuilddefaultResponse, + StaticSitesDeleteStaticSiteBuildDefaultResponse, StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response, - StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsdefaultResponse, + StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse, StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response, - StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsdefaultResponse, + StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse, StaticSitesListStaticSiteBuildFunctions200Response, - StaticSitesListStaticSiteBuildFunctionsdefaultResponse, + StaticSitesListStaticSiteBuildFunctionsDefaultResponse, StaticSitesListStaticSiteBuildAppSettings200Response, - StaticSitesListStaticSiteBuildAppSettingsdefaultResponse, + StaticSitesListStaticSiteBuildAppSettingsDefaultResponse, StaticSitesListStaticSiteBuildFunctionAppSettings200Response, - StaticSitesListStaticSiteBuildFunctionAppSettingsdefaultResponse, + StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse, StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response, - StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuilddefaultResponse, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse, StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response, - StaticSitesGetUserProvidedFunctionAppForStaticSiteBuilddefaultResponse, + StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response, - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuilddefaultResponse, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response, - StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuilddefaultResponse, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse, StaticSitesCreateZipDeploymentForStaticSiteBuild200Response, StaticSitesCreateZipDeploymentForStaticSiteBuild202Response, - StaticSitesCreateZipDeploymentForStaticSiteBuilddefaultResponse, + StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse, StaticSitesCreateOrUpdateStaticSiteAppSettings200Response, - StaticSitesCreateOrUpdateStaticSiteAppSettingsdefaultResponse, + StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse, StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response, - StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsdefaultResponse, + StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse, StaticSitesCreateUserRolesInvitationLink200Response, - StaticSitesCreateUserRolesInvitationLinkdefaultResponse, + StaticSitesCreateUserRolesInvitationLinkDefaultResponse, StaticSitesListStaticSiteCustomDomains200Response, - StaticSitesListStaticSiteCustomDomainsdefaultResponse, + StaticSitesListStaticSiteCustomDomainsDefaultResponse, StaticSitesGetStaticSiteCustomDomain200Response, - StaticSitesGetStaticSiteCustomDomaindefaultResponse, + StaticSitesGetStaticSiteCustomDomainDefaultResponse, StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response, StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response, - StaticSitesCreateOrUpdateStaticSiteCustomDomaindefaultResponse, + StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse, StaticSitesDeleteStaticSiteCustomDomain200Response, StaticSitesDeleteStaticSiteCustomDomain202Response, - StaticSitesDeleteStaticSiteCustomDomaindefaultResponse, + StaticSitesDeleteStaticSiteCustomDomainDefaultResponse, StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response, StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response, - StaticSitesValidateCustomDomainCanBeAddedToStaticSitedefaultResponse, + StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse, StaticSitesDetachStaticSite200Response, StaticSitesDetachStaticSite202Response, - StaticSitesDetachStaticSitedefaultResponse, + StaticSitesDetachStaticSiteDefaultResponse, StaticSitesListStaticSiteFunctions200Response, - StaticSitesListStaticSiteFunctionsdefaultResponse, + StaticSitesListStaticSiteFunctionsDefaultResponse, StaticSitesListStaticSiteAppSettings200Response, - StaticSitesListStaticSiteAppSettingsdefaultResponse, + StaticSitesListStaticSiteAppSettingsDefaultResponse, StaticSitesListStaticSiteConfiguredRoles200Response, - StaticSitesListStaticSiteConfiguredRolesdefaultResponse, + StaticSitesListStaticSiteConfiguredRolesDefaultResponse, StaticSitesListStaticSiteFunctionAppSettings200Response, - StaticSitesListStaticSiteFunctionAppSettingsdefaultResponse, + StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse, StaticSitesListStaticSiteSecrets200Response, - StaticSitesListStaticSiteSecretsdefaultResponse, + StaticSitesListStaticSiteSecretsDefaultResponse, StaticSitesGetPrivateEndpointConnectionList200Response, - StaticSitesGetPrivateEndpointConnectionListdefaultResponse, + StaticSitesGetPrivateEndpointConnectionListDefaultResponse, StaticSitesGetPrivateEndpointConnection200Response, - StaticSitesGetPrivateEndpointConnectiondefaultResponse, + StaticSitesGetPrivateEndpointConnectionDefaultResponse, StaticSitesApproveOrRejectPrivateEndpointConnection200Response, StaticSitesApproveOrRejectPrivateEndpointConnection202Response, - StaticSitesApproveOrRejectPrivateEndpointConnectiondefaultResponse, + StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse, StaticSitesDeletePrivateEndpointConnection200Response, StaticSitesDeletePrivateEndpointConnection202Response, StaticSitesDeletePrivateEndpointConnection204Response, - StaticSitesDeletePrivateEndpointConnectiondefaultResponse, + StaticSitesDeletePrivateEndpointConnectionDefaultResponse, StaticSitesGetPrivateLinkResources200Response, - StaticSitesGetPrivateLinkResourcesdefaultResponse, + StaticSitesGetPrivateLinkResourcesDefaultResponse, StaticSitesResetStaticSiteApiKey200Response, - StaticSitesResetStaticSiteApiKeydefaultResponse, + StaticSitesResetStaticSiteApiKeyDefaultResponse, StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response, - StaticSitesGetUserProvidedFunctionAppsForStaticSitedefaultResponse, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse, StaticSitesGetUserProvidedFunctionAppForStaticSite200Response, - StaticSitesGetUserProvidedFunctionAppForStaticSitedefaultResponse, + StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse, StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response, StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response, - StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefaultResponse, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse, StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response, StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response, - StaticSitesDetachUserProvidedFunctionAppFromStaticSitedefaultResponse, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse, StaticSitesCreateZipDeploymentForStaticSite200Response, StaticSitesCreateZipDeploymentForStaticSite202Response, - StaticSitesCreateZipDeploymentForStaticSitedefaultResponse, + StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse, WebAppsList200Response, - WebAppsListdefaultResponse, + WebAppsListDefaultResponse, WebAppsListByResourceGroup200Response, - WebAppsListByResourceGroupdefaultResponse, + WebAppsListByResourceGroupDefaultResponse, WebAppsGet200Response, WebAppsGet404Response, - WebAppsGetdefaultResponse, + WebAppsGetDefaultResponse, WebAppsCreateOrUpdate200Response, WebAppsCreateOrUpdate202Response, - WebAppsCreateOrUpdatedefaultResponse, + WebAppsCreateOrUpdateDefaultResponse, WebAppsDelete200Response, WebAppsDelete204Response, WebAppsDelete404Response, - WebAppsDeletedefaultResponse, + WebAppsDeleteDefaultResponse, WebAppsUpdate200Response, WebAppsUpdate202Response, - WebAppsUpdatedefaultResponse, + WebAppsUpdateDefaultResponse, WebAppsAnalyzeCustomHostname200Response, - WebAppsAnalyzeCustomHostnamedefaultResponse, + WebAppsAnalyzeCustomHostnameDefaultResponse, WebAppsApplySlotConfigToProduction200Response, - WebAppsApplySlotConfigToProductiondefaultResponse, + WebAppsApplySlotConfigToProductionDefaultResponse, WebAppsBackup200Response, - WebAppsBackupdefaultResponse, + WebAppsBackupDefaultResponse, WebAppsListBackups200Response, - WebAppsListBackupsdefaultResponse, + WebAppsListBackupsDefaultResponse, WebAppsGetBackupStatus200Response, - WebAppsGetBackupStatusdefaultResponse, + WebAppsGetBackupStatusDefaultResponse, WebAppsDeleteBackup200Response, WebAppsDeleteBackup404Response, - WebAppsDeleteBackupdefaultResponse, + WebAppsDeleteBackupDefaultResponse, WebAppsListBackupStatusSecrets200Response, - WebAppsListBackupStatusSecretsdefaultResponse, + WebAppsListBackupStatusSecretsDefaultResponse, WebAppsRestore200Response, WebAppsRestore202Response, - WebAppsRestoredefaultResponse, + WebAppsRestoreDefaultResponse, WebAppsListBasicPublishingCredentialsPolicies200Response, - WebAppsListBasicPublishingCredentialsPoliciesdefaultResponse, + WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse, WebAppsGetFtpAllowed200Response, - WebAppsGetFtpAlloweddefaultResponse, + WebAppsGetFtpAllowedDefaultResponse, WebAppsUpdateFtpAllowed200Response, - WebAppsUpdateFtpAlloweddefaultResponse, + WebAppsUpdateFtpAllowedDefaultResponse, WebAppsGetScmAllowed200Response, - WebAppsGetScmAlloweddefaultResponse, + WebAppsGetScmAllowedDefaultResponse, WebAppsUpdateScmAllowed200Response, - WebAppsUpdateScmAlloweddefaultResponse, + WebAppsUpdateScmAllowedDefaultResponse, WebAppsListConfigurations200Response, - WebAppsListConfigurationsdefaultResponse, + WebAppsListConfigurationsDefaultResponse, WebAppsUpdateApplicationSettings200Response, - WebAppsUpdateApplicationSettingsdefaultResponse, + WebAppsUpdateApplicationSettingsDefaultResponse, WebAppsListApplicationSettings200Response, - WebAppsListApplicationSettingsdefaultResponse, + WebAppsListApplicationSettingsDefaultResponse, WebAppsUpdateAuthSettings200Response, - WebAppsUpdateAuthSettingsdefaultResponse, + WebAppsUpdateAuthSettingsDefaultResponse, WebAppsGetAuthSettings200Response, - WebAppsGetAuthSettingsdefaultResponse, + WebAppsGetAuthSettingsDefaultResponse, WebAppsGetAuthSettingsV2WithoutSecrets200Response, - WebAppsGetAuthSettingsV2WithoutSecretsdefaultResponse, + WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse, WebAppsUpdateAuthSettingsV2200Response, - WebAppsUpdateAuthSettingsV2defaultResponse, + WebAppsUpdateAuthSettingsV2DefaultResponse, WebAppsGetAuthSettingsV2200Response, - WebAppsGetAuthSettingsV2defaultResponse, + WebAppsGetAuthSettingsV2DefaultResponse, WebAppsUpdateAzureStorageAccounts200Response, - WebAppsUpdateAzureStorageAccountsdefaultResponse, + WebAppsUpdateAzureStorageAccountsDefaultResponse, WebAppsListAzureStorageAccounts200Response, - WebAppsListAzureStorageAccountsdefaultResponse, + WebAppsListAzureStorageAccountsDefaultResponse, WebAppsUpdateBackupConfiguration200Response, - WebAppsUpdateBackupConfigurationdefaultResponse, + WebAppsUpdateBackupConfigurationDefaultResponse, WebAppsDeleteBackupConfiguration200Response, - WebAppsDeleteBackupConfigurationdefaultResponse, + WebAppsDeleteBackupConfigurationDefaultResponse, WebAppsGetBackupConfiguration200Response, - WebAppsGetBackupConfigurationdefaultResponse, + WebAppsGetBackupConfigurationDefaultResponse, WebAppsGetAppSettingsKeyVaultReferences200Response, - WebAppsGetAppSettingsKeyVaultReferencesdefaultResponse, + WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse, WebAppsGetAppSettingKeyVaultReference200Response, - WebAppsGetAppSettingKeyVaultReferencedefaultResponse, + WebAppsGetAppSettingKeyVaultReferenceDefaultResponse, WebAppsGetSiteConnectionStringKeyVaultReferences200Response, - WebAppsGetSiteConnectionStringKeyVaultReferencesdefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse, WebAppsGetSiteConnectionStringKeyVaultReference200Response, - WebAppsGetSiteConnectionStringKeyVaultReferencedefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse, WebAppsUpdateConnectionStrings200Response, - WebAppsUpdateConnectionStringsdefaultResponse, + WebAppsUpdateConnectionStringsDefaultResponse, WebAppsListConnectionStrings200Response, - WebAppsListConnectionStringsdefaultResponse, + WebAppsListConnectionStringsDefaultResponse, WebAppsGetDiagnosticLogsConfiguration200Response, - WebAppsGetDiagnosticLogsConfigurationdefaultResponse, + WebAppsGetDiagnosticLogsConfigurationDefaultResponse, WebAppsUpdateDiagnosticLogsConfig200Response, - WebAppsUpdateDiagnosticLogsConfigdefaultResponse, + WebAppsUpdateDiagnosticLogsConfigDefaultResponse, WebAppsUpdateMetadata200Response, - WebAppsUpdateMetadatadefaultResponse, + WebAppsUpdateMetadataDefaultResponse, WebAppsListMetadata200Response, - WebAppsListMetadatadefaultResponse, + WebAppsListMetadataDefaultResponse, WebAppsListPublishingCredentials200Response, - WebAppsListPublishingCredentialsdefaultResponse, + WebAppsListPublishingCredentialsDefaultResponse, WebAppsUpdateSitePushSettings200Response, - WebAppsUpdateSitePushSettingsdefaultResponse, + WebAppsUpdateSitePushSettingsDefaultResponse, WebAppsListSitePushSettings200Response, - WebAppsListSitePushSettingsdefaultResponse, + WebAppsListSitePushSettingsDefaultResponse, WebAppsListSlotConfigurationNames200Response, - WebAppsListSlotConfigurationNamesdefaultResponse, + WebAppsListSlotConfigurationNamesDefaultResponse, WebAppsUpdateSlotConfigurationNames200Response, - WebAppsUpdateSlotConfigurationNamesdefaultResponse, + WebAppsUpdateSlotConfigurationNamesDefaultResponse, WebAppsGetConfiguration200Response, - WebAppsGetConfigurationdefaultResponse, + WebAppsGetConfigurationDefaultResponse, WebAppsCreateOrUpdateConfiguration200Response, - WebAppsCreateOrUpdateConfigurationdefaultResponse, + WebAppsCreateOrUpdateConfigurationDefaultResponse, WebAppsUpdateConfiguration200Response, - WebAppsUpdateConfigurationdefaultResponse, + WebAppsUpdateConfigurationDefaultResponse, WebAppsListConfigurationSnapshotInfo200Response, - WebAppsListConfigurationSnapshotInfodefaultResponse, + WebAppsListConfigurationSnapshotInfoDefaultResponse, WebAppsGetConfigurationSnapshot200Response, - WebAppsGetConfigurationSnapshotdefaultResponse, + WebAppsGetConfigurationSnapshotDefaultResponse, WebAppsRecoverSiteConfigurationSnapshot204Response, - WebAppsRecoverSiteConfigurationSnapshotdefaultResponse, + WebAppsRecoverSiteConfigurationSnapshotDefaultResponse, WebAppsGetWebSiteContainerLogs200Response, WebAppsGetWebSiteContainerLogs204Response, - WebAppsGetWebSiteContainerLogsdefaultResponse, + WebAppsGetWebSiteContainerLogsDefaultResponse, WebAppsGetContainerLogsZip200Response, WebAppsGetContainerLogsZip204Response, - WebAppsGetContainerLogsZipdefaultResponse, + WebAppsGetContainerLogsZipDefaultResponse, WebAppsListContinuousWebJobs200Response, - WebAppsListContinuousWebJobsdefaultResponse, + WebAppsListContinuousWebJobsDefaultResponse, WebAppsGetContinuousWebJob200Response, WebAppsGetContinuousWebJob404Response, - WebAppsGetContinuousWebJobdefaultResponse, + WebAppsGetContinuousWebJobDefaultResponse, WebAppsDeleteContinuousWebJob200Response, WebAppsDeleteContinuousWebJob204Response, - WebAppsDeleteContinuousWebJobdefaultResponse, + WebAppsDeleteContinuousWebJobDefaultResponse, WebAppsStartContinuousWebJob200Response, WebAppsStartContinuousWebJob404Response, - WebAppsStartContinuousWebJobdefaultResponse, + WebAppsStartContinuousWebJobDefaultResponse, WebAppsStopContinuousWebJob200Response, WebAppsStopContinuousWebJob404Response, - WebAppsStopContinuousWebJobdefaultResponse, + WebAppsStopContinuousWebJobDefaultResponse, WebAppsListDeployments200Response, - WebAppsListDeploymentsdefaultResponse, + WebAppsListDeploymentsDefaultResponse, WebAppsGetDeployment200Response, - WebAppsGetDeploymentdefaultResponse, + WebAppsGetDeploymentDefaultResponse, WebAppsCreateDeployment200Response, - WebAppsCreateDeploymentdefaultResponse, + WebAppsCreateDeploymentDefaultResponse, WebAppsDeleteDeployment200Response, WebAppsDeleteDeployment204Response, - WebAppsDeleteDeploymentdefaultResponse, + WebAppsDeleteDeploymentDefaultResponse, WebAppsListDeploymentLog200Response, - WebAppsListDeploymentLogdefaultResponse, + WebAppsListDeploymentLogDefaultResponse, WebAppsDiscoverBackup200Response, - WebAppsDiscoverBackupdefaultResponse, + WebAppsDiscoverBackupDefaultResponse, WebAppsListDomainOwnershipIdentifiers200Response, - WebAppsListDomainOwnershipIdentifiersdefaultResponse, + WebAppsListDomainOwnershipIdentifiersDefaultResponse, WebAppsGetDomainOwnershipIdentifier200Response, - WebAppsGetDomainOwnershipIdentifierdefaultResponse, + WebAppsGetDomainOwnershipIdentifierDefaultResponse, WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response, - WebAppsCreateOrUpdateDomainOwnershipIdentifierdefaultResponse, + WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse, WebAppsDeleteDomainOwnershipIdentifier200Response, WebAppsDeleteDomainOwnershipIdentifier204Response, - WebAppsDeleteDomainOwnershipIdentifierdefaultResponse, + WebAppsDeleteDomainOwnershipIdentifierDefaultResponse, WebAppsUpdateDomainOwnershipIdentifier200Response, - WebAppsUpdateDomainOwnershipIdentifierdefaultResponse, + WebAppsUpdateDomainOwnershipIdentifierDefaultResponse, WebAppsGetMSDeployStatus200Response, - WebAppsGetMSDeployStatusdefaultResponse, + WebAppsGetMSDeployStatusDefaultResponse, WebAppsCreateMSDeployOperation201Response, WebAppsCreateMSDeployOperation409Response, - WebAppsCreateMSDeployOperationdefaultResponse, + WebAppsCreateMSDeployOperationDefaultResponse, WebAppsGetMSDeployLog200Response, WebAppsGetMSDeployLog404Response, - WebAppsGetMSDeployLogdefaultResponse, + WebAppsGetMSDeployLogDefaultResponse, WebAppsGetOneDeployStatus200Response, - WebAppsGetOneDeployStatusdefaultResponse, + WebAppsGetOneDeployStatusDefaultResponse, WebAppsCreateOneDeployOperation200Response, - WebAppsCreateOneDeployOperationdefaultResponse, + WebAppsCreateOneDeployOperationDefaultResponse, WebAppsListFunctions200Response, WebAppsListFunctions404Response, - WebAppsListFunctionsdefaultResponse, + WebAppsListFunctionsDefaultResponse, WebAppsGetFunctionsAdminToken200Response, - WebAppsGetFunctionsAdminTokendefaultResponse, + WebAppsGetFunctionsAdminTokenDefaultResponse, WebAppsGetFunction200Response, WebAppsGetFunction404Response, - WebAppsGetFunctiondefaultResponse, + WebAppsGetFunctionDefaultResponse, WebAppsCreateFunction201Response, - WebAppsCreateFunctiondefaultResponse, + WebAppsCreateFunctionDefaultResponse, WebAppsDeleteFunction204Response, WebAppsDeleteFunction404Response, - WebAppsDeleteFunctiondefaultResponse, + WebAppsDeleteFunctionDefaultResponse, WebAppsCreateOrUpdateFunctionSecret200Response, WebAppsCreateOrUpdateFunctionSecret201Response, - WebAppsCreateOrUpdateFunctionSecretdefaultResponse, + WebAppsCreateOrUpdateFunctionSecretDefaultResponse, WebAppsDeleteFunctionSecret204Response, WebAppsDeleteFunctionSecret404Response, - WebAppsDeleteFunctionSecretdefaultResponse, + WebAppsDeleteFunctionSecretDefaultResponse, WebAppsListFunctionKeys200Response, - WebAppsListFunctionKeysdefaultResponse, + WebAppsListFunctionKeysDefaultResponse, WebAppsListFunctionSecrets200Response, - WebAppsListFunctionSecretsdefaultResponse, + WebAppsListFunctionSecretsDefaultResponse, WebAppsListHostKeys200Response, - WebAppsListHostKeysdefaultResponse, + WebAppsListHostKeysDefaultResponse, WebAppsListSyncStatus204Response, - WebAppsListSyncStatusdefaultResponse, + WebAppsListSyncStatusDefaultResponse, WebAppsSyncFunctions204Response, - WebAppsSyncFunctionsdefaultResponse, + WebAppsSyncFunctionsDefaultResponse, WebAppsCreateOrUpdateHostSecret200Response, WebAppsCreateOrUpdateHostSecret201Response, - WebAppsCreateOrUpdateHostSecretdefaultResponse, + WebAppsCreateOrUpdateHostSecretDefaultResponse, WebAppsDeleteHostSecret204Response, WebAppsDeleteHostSecret404Response, - WebAppsDeleteHostSecretdefaultResponse, + WebAppsDeleteHostSecretDefaultResponse, WebAppsListHostNameBindings200Response, - WebAppsListHostNameBindingsdefaultResponse, + WebAppsListHostNameBindingsDefaultResponse, WebAppsGetHostNameBinding200Response, - WebAppsGetHostNameBindingdefaultResponse, + WebAppsGetHostNameBindingDefaultResponse, WebAppsCreateOrUpdateHostNameBinding200Response, - WebAppsCreateOrUpdateHostNameBindingdefaultResponse, + WebAppsCreateOrUpdateHostNameBindingDefaultResponse, WebAppsDeleteHostNameBinding200Response, WebAppsDeleteHostNameBinding204Response, - WebAppsDeleteHostNameBindingdefaultResponse, + WebAppsDeleteHostNameBindingDefaultResponse, WebAppsGetHybridConnection200Response, - WebAppsGetHybridConnectiondefaultResponse, + WebAppsGetHybridConnectionDefaultResponse, WebAppsCreateOrUpdateHybridConnection200Response, - WebAppsCreateOrUpdateHybridConnectiondefaultResponse, + WebAppsCreateOrUpdateHybridConnectionDefaultResponse, WebAppsDeleteHybridConnection200Response, WebAppsDeleteHybridConnection404Response, - WebAppsDeleteHybridConnectiondefaultResponse, + WebAppsDeleteHybridConnectionDefaultResponse, WebAppsUpdateHybridConnection200Response, - WebAppsUpdateHybridConnectiondefaultResponse, + WebAppsUpdateHybridConnectionDefaultResponse, WebAppsListHybridConnections200Response, - WebAppsListHybridConnectionsdefaultResponse, + WebAppsListHybridConnectionsDefaultResponse, WebAppsListRelayServiceConnections200Response, - WebAppsListRelayServiceConnectionsdefaultResponse, + WebAppsListRelayServiceConnectionsDefaultResponse, WebAppsGetRelayServiceConnection200Response, - WebAppsGetRelayServiceConnectiondefaultResponse, + WebAppsGetRelayServiceConnectionDefaultResponse, WebAppsCreateOrUpdateRelayServiceConnection200Response, - WebAppsCreateOrUpdateRelayServiceConnectiondefaultResponse, + WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse, WebAppsDeleteRelayServiceConnection200Response, WebAppsDeleteRelayServiceConnection404Response, - WebAppsDeleteRelayServiceConnectiondefaultResponse, + WebAppsDeleteRelayServiceConnectionDefaultResponse, WebAppsUpdateRelayServiceConnection200Response, - WebAppsUpdateRelayServiceConnectiondefaultResponse, + WebAppsUpdateRelayServiceConnectionDefaultResponse, WebAppsListInstanceIdentifiers200Response, - WebAppsListInstanceIdentifiersdefaultResponse, + WebAppsListInstanceIdentifiersDefaultResponse, WebAppsGetInstanceInfo200Response, - WebAppsGetInstanceInfodefaultResponse, + WebAppsGetInstanceInfoDefaultResponse, WebAppsGetInstanceMsDeployStatus200Response, - WebAppsGetInstanceMsDeployStatusdefaultResponse, + WebAppsGetInstanceMsDeployStatusDefaultResponse, WebAppsCreateInstanceMSDeployOperation201Response, WebAppsCreateInstanceMSDeployOperation409Response, - WebAppsCreateInstanceMSDeployOperationdefaultResponse, + WebAppsCreateInstanceMSDeployOperationDefaultResponse, WebAppsGetInstanceMSDeployLog200Response, WebAppsGetInstanceMSDeployLog404Response, - WebAppsGetInstanceMSDeployLogdefaultResponse, + WebAppsGetInstanceMSDeployLogDefaultResponse, WebAppsListInstanceProcesses200Response, WebAppsListInstanceProcesses404Response, - WebAppsListInstanceProcessesdefaultResponse, + WebAppsListInstanceProcessesDefaultResponse, WebAppsGetInstanceProcess200Response, WebAppsGetInstanceProcess404Response, - WebAppsGetInstanceProcessdefaultResponse, + WebAppsGetInstanceProcessDefaultResponse, WebAppsDeleteInstanceProcess204Response, WebAppsDeleteInstanceProcess404Response, - WebAppsDeleteInstanceProcessdefaultResponse, + WebAppsDeleteInstanceProcessDefaultResponse, WebAppsGetInstanceProcessDump200Response, WebAppsGetInstanceProcessDump404Response, - WebAppsGetInstanceProcessDumpdefaultResponse, + WebAppsGetInstanceProcessDumpDefaultResponse, WebAppsListInstanceProcessModules200Response, WebAppsListInstanceProcessModules404Response, - WebAppsListInstanceProcessModulesdefaultResponse, + WebAppsListInstanceProcessModulesDefaultResponse, WebAppsGetInstanceProcessModule200Response, WebAppsGetInstanceProcessModule404Response, - WebAppsGetInstanceProcessModuledefaultResponse, + WebAppsGetInstanceProcessModuleDefaultResponse, WebAppsListInstanceProcessThreads200Response, WebAppsListInstanceProcessThreads404Response, - WebAppsListInstanceProcessThreadsdefaultResponse, + WebAppsListInstanceProcessThreadsDefaultResponse, WebAppsIsCloneable200Response, - WebAppsIsCloneabledefaultResponse, + WebAppsIsCloneableDefaultResponse, WebAppsListSiteBackups200Response, - WebAppsListSiteBackupsdefaultResponse, + WebAppsListSiteBackupsDefaultResponse, WebAppsListSyncFunctionTriggers200Response, - WebAppsListSyncFunctionTriggersdefaultResponse, + WebAppsListSyncFunctionTriggersDefaultResponse, WebAppsMigrateStorage200Response, - WebAppsMigrateStoragedefaultResponse, + WebAppsMigrateStorageDefaultResponse, WebAppsMigrateMySql200Response, - WebAppsMigrateMySqldefaultResponse, + WebAppsMigrateMySqlDefaultResponse, WebAppsGetMigrateMySqlStatus200Response, - WebAppsGetMigrateMySqlStatusdefaultResponse, + WebAppsGetMigrateMySqlStatusDefaultResponse, WebAppsGetSwiftVirtualNetworkConnection200Response, - WebAppsGetSwiftVirtualNetworkConnectiondefaultResponse, + WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response, - WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, WebAppsDeleteSwiftVirtualNetwork200Response, WebAppsDeleteSwiftVirtualNetwork404Response, - WebAppsDeleteSwiftVirtualNetworkdefaultResponse, + WebAppsDeleteSwiftVirtualNetworkDefaultResponse, WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response, - WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, WebAppsListNetworkFeatures200Response, WebAppsListNetworkFeatures404Response, - WebAppsListNetworkFeaturesdefaultResponse, + WebAppsListNetworkFeaturesDefaultResponse, WebAppsGetNetworkTraceOperation200Response, WebAppsGetNetworkTraceOperation202Response, - WebAppsGetNetworkTraceOperationdefaultResponse, + WebAppsGetNetworkTraceOperationDefaultResponse, WebAppsStartWebSiteNetworkTrace200Response, - WebAppsStartWebSiteNetworkTracedefaultResponse, + WebAppsStartWebSiteNetworkTraceDefaultResponse, WebAppsStartWebSiteNetworkTraceOperation200Response, WebAppsStartWebSiteNetworkTraceOperation202Response, - WebAppsStartWebSiteNetworkTraceOperationdefaultResponse, + WebAppsStartWebSiteNetworkTraceOperationDefaultResponse, WebAppsStopWebSiteNetworkTrace200Response, WebAppsStopWebSiteNetworkTrace204Response, - WebAppsStopWebSiteNetworkTracedefaultResponse, + WebAppsStopWebSiteNetworkTraceDefaultResponse, WebAppsGetNetworkTraces200Response, - WebAppsGetNetworkTracesdefaultResponse, + WebAppsGetNetworkTracesDefaultResponse, WebAppsGetNetworkTraceOperationV2200Response, WebAppsGetNetworkTraceOperationV2202Response, - WebAppsGetNetworkTraceOperationV2defaultResponse, + WebAppsGetNetworkTraceOperationV2DefaultResponse, WebAppsGetNetworkTracesV2200Response, - WebAppsGetNetworkTracesV2defaultResponse, + WebAppsGetNetworkTracesV2DefaultResponse, WebAppsGenerateNewSitePublishingPassword200Response, WebAppsGenerateNewSitePublishingPassword204Response, - WebAppsGenerateNewSitePublishingPassworddefaultResponse, + WebAppsGenerateNewSitePublishingPasswordDefaultResponse, WebAppsListPerfMonCounters200Response, - WebAppsListPerfMonCountersdefaultResponse, + WebAppsListPerfMonCountersDefaultResponse, WebAppsGetSitePhpErrorLogFlag200Response, - WebAppsGetSitePhpErrorLogFlagdefaultResponse, + WebAppsGetSitePhpErrorLogFlagDefaultResponse, WebAppsListPremierAddOns200Response, - WebAppsListPremierAddOnsdefaultResponse, + WebAppsListPremierAddOnsDefaultResponse, WebAppsGetPremierAddOn200Response, - WebAppsGetPremierAddOndefaultResponse, + WebAppsGetPremierAddOnDefaultResponse, WebAppsAddPremierAddOn200Response, - WebAppsAddPremierAddOndefaultResponse, + WebAppsAddPremierAddOnDefaultResponse, WebAppsDeletePremierAddOn200Response, - WebAppsDeletePremierAddOndefaultResponse, + WebAppsDeletePremierAddOnDefaultResponse, WebAppsUpdatePremierAddOn200Response, - WebAppsUpdatePremierAddOndefaultResponse, + WebAppsUpdatePremierAddOnDefaultResponse, WebAppsGetPrivateAccess200Response, - WebAppsGetPrivateAccessdefaultResponse, + WebAppsGetPrivateAccessDefaultResponse, WebAppsPutPrivateAccessVnet200Response, - WebAppsPutPrivateAccessVnetdefaultResponse, + WebAppsPutPrivateAccessVnetDefaultResponse, WebAppsGetPrivateEndpointConnectionList200Response, - WebAppsGetPrivateEndpointConnectionListdefaultResponse, + WebAppsGetPrivateEndpointConnectionListDefaultResponse, WebAppsGetPrivateEndpointConnection200Response, - WebAppsGetPrivateEndpointConnectiondefaultResponse, + WebAppsGetPrivateEndpointConnectionDefaultResponse, WebAppsApproveOrRejectPrivateEndpointConnection200Response, WebAppsApproveOrRejectPrivateEndpointConnection202Response, - WebAppsApproveOrRejectPrivateEndpointConnectiondefaultResponse, + WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse, WebAppsDeletePrivateEndpointConnection200Response, WebAppsDeletePrivateEndpointConnection202Response, WebAppsDeletePrivateEndpointConnection204Response, - WebAppsDeletePrivateEndpointConnectiondefaultResponse, + WebAppsDeletePrivateEndpointConnectionDefaultResponse, WebAppsGetPrivateLinkResources200Response, - WebAppsGetPrivateLinkResourcesdefaultResponse, + WebAppsGetPrivateLinkResourcesDefaultResponse, WebAppsListProcesses200Response, WebAppsListProcesses404Response, - WebAppsListProcessesdefaultResponse, + WebAppsListProcessesDefaultResponse, WebAppsGetProcess200Response, WebAppsGetProcess404Response, - WebAppsGetProcessdefaultResponse, + WebAppsGetProcessDefaultResponse, WebAppsDeleteProcess204Response, WebAppsDeleteProcess404Response, - WebAppsDeleteProcessdefaultResponse, + WebAppsDeleteProcessDefaultResponse, WebAppsGetProcessDump200Response, WebAppsGetProcessDump404Response, - WebAppsGetProcessDumpdefaultResponse, + WebAppsGetProcessDumpDefaultResponse, WebAppsListProcessModules200Response, WebAppsListProcessModules404Response, - WebAppsListProcessModulesdefaultResponse, + WebAppsListProcessModulesDefaultResponse, WebAppsGetProcessModule200Response, WebAppsGetProcessModule404Response, - WebAppsGetProcessModuledefaultResponse, + WebAppsGetProcessModuleDefaultResponse, WebAppsListProcessThreads200Response, WebAppsListProcessThreads404Response, - WebAppsListProcessThreadsdefaultResponse, + WebAppsListProcessThreadsDefaultResponse, WebAppsListPublicCertificates200Response, - WebAppsListPublicCertificatesdefaultResponse, + WebAppsListPublicCertificatesDefaultResponse, WebAppsGetPublicCertificate200Response, - WebAppsGetPublicCertificatedefaultResponse, + WebAppsGetPublicCertificateDefaultResponse, WebAppsCreateOrUpdatePublicCertificate200Response, - WebAppsCreateOrUpdatePublicCertificatedefaultResponse, + WebAppsCreateOrUpdatePublicCertificateDefaultResponse, WebAppsDeletePublicCertificate200Response, WebAppsDeletePublicCertificate204Response, - WebAppsDeletePublicCertificatedefaultResponse, + WebAppsDeletePublicCertificateDefaultResponse, WebAppsListPublishingProfileXmlWithSecrets200Response, - WebAppsListPublishingProfileXmlWithSecretsdefaultResponse, + WebAppsListPublishingProfileXmlWithSecretsDefaultResponse, WebAppsResetProductionSlotConfig200Response, - WebAppsResetProductionSlotConfigdefaultResponse, + WebAppsResetProductionSlotConfigDefaultResponse, WebAppsRestart200Response, - WebAppsRestartdefaultResponse, + WebAppsRestartDefaultResponse, WebAppsRestoreFromBackupBlob200Response, WebAppsRestoreFromBackupBlob202Response, - WebAppsRestoreFromBackupBlobdefaultResponse, + WebAppsRestoreFromBackupBlobDefaultResponse, WebAppsRestoreFromDeletedApp200Response, WebAppsRestoreFromDeletedApp202Response, - WebAppsRestoreFromDeletedAppdefaultResponse, + WebAppsRestoreFromDeletedAppDefaultResponse, WebAppsRestoreSnapshot200Response, WebAppsRestoreSnapshot202Response, - WebAppsRestoreSnapshotdefaultResponse, + WebAppsRestoreSnapshotDefaultResponse, WebAppsListSiteExtensions200Response, WebAppsListSiteExtensions404Response, - WebAppsListSiteExtensionsdefaultResponse, + WebAppsListSiteExtensionsDefaultResponse, WebAppsGetSiteExtension200Response, WebAppsGetSiteExtension404Response, - WebAppsGetSiteExtensiondefaultResponse, + WebAppsGetSiteExtensionDefaultResponse, WebAppsInstallSiteExtension200Response, WebAppsInstallSiteExtension201Response, WebAppsInstallSiteExtension429Response, - WebAppsInstallSiteExtensiondefaultResponse, + WebAppsInstallSiteExtensionDefaultResponse, WebAppsDeleteSiteExtension204Response, WebAppsDeleteSiteExtension404Response, - WebAppsDeleteSiteExtensiondefaultResponse, + WebAppsDeleteSiteExtensionDefaultResponse, WebAppsListSlots200Response, - WebAppsListSlotsdefaultResponse, + WebAppsListSlotsDefaultResponse, WebAppsGetSlot200Response, WebAppsGetSlot404Response, - WebAppsGetSlotdefaultResponse, + WebAppsGetSlotDefaultResponse, WebAppsCreateOrUpdateSlot200Response, WebAppsCreateOrUpdateSlot202Response, - WebAppsCreateOrUpdateSlotdefaultResponse, + WebAppsCreateOrUpdateSlotDefaultResponse, WebAppsDeleteSlot200Response, WebAppsDeleteSlot204Response, WebAppsDeleteSlot404Response, - WebAppsDeleteSlotdefaultResponse, + WebAppsDeleteSlotDefaultResponse, WebAppsUpdateSlot200Response, WebAppsUpdateSlot202Response, - WebAppsUpdateSlotdefaultResponse, + WebAppsUpdateSlotDefaultResponse, WebAppsAnalyzeCustomHostnameSlot200Response, - WebAppsAnalyzeCustomHostnameSlotdefaultResponse, + WebAppsAnalyzeCustomHostnameSlotDefaultResponse, WebAppsApplySlotConfigurationSlot200Response, - WebAppsApplySlotConfigurationSlotdefaultResponse, + WebAppsApplySlotConfigurationSlotDefaultResponse, WebAppsBackupSlot200Response, - WebAppsBackupSlotdefaultResponse, + WebAppsBackupSlotDefaultResponse, WebAppsListBackupsSlot200Response, - WebAppsListBackupsSlotdefaultResponse, + WebAppsListBackupsSlotDefaultResponse, WebAppsGetBackupStatusSlot200Response, - WebAppsGetBackupStatusSlotdefaultResponse, + WebAppsGetBackupStatusSlotDefaultResponse, WebAppsDeleteBackupSlot200Response, WebAppsDeleteBackupSlot404Response, - WebAppsDeleteBackupSlotdefaultResponse, + WebAppsDeleteBackupSlotDefaultResponse, WebAppsListBackupStatusSecretsSlot200Response, - WebAppsListBackupStatusSecretsSlotdefaultResponse, + WebAppsListBackupStatusSecretsSlotDefaultResponse, WebAppsRestoreSlot200Response, WebAppsRestoreSlot202Response, - WebAppsRestoreSlotdefaultResponse, + WebAppsRestoreSlotDefaultResponse, WebAppsListBasicPublishingCredentialsPoliciesSlot200Response, - WebAppsListBasicPublishingCredentialsPoliciesSlotdefaultResponse, + WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse, WebAppsGetFtpAllowedSlot200Response, - WebAppsGetFtpAllowedSlotdefaultResponse, + WebAppsGetFtpAllowedSlotDefaultResponse, WebAppsUpdateFtpAllowedSlot200Response, - WebAppsUpdateFtpAllowedSlotdefaultResponse, + WebAppsUpdateFtpAllowedSlotDefaultResponse, WebAppsGetScmAllowedSlot200Response, - WebAppsGetScmAllowedSlotdefaultResponse, + WebAppsGetScmAllowedSlotDefaultResponse, WebAppsUpdateScmAllowedSlot200Response, - WebAppsUpdateScmAllowedSlotdefaultResponse, + WebAppsUpdateScmAllowedSlotDefaultResponse, WebAppsListConfigurationsSlot200Response, - WebAppsListConfigurationsSlotdefaultResponse, + WebAppsListConfigurationsSlotDefaultResponse, WebAppsUpdateApplicationSettingsSlot200Response, - WebAppsUpdateApplicationSettingsSlotdefaultResponse, + WebAppsUpdateApplicationSettingsSlotDefaultResponse, WebAppsListApplicationSettingsSlot200Response, - WebAppsListApplicationSettingsSlotdefaultResponse, + WebAppsListApplicationSettingsSlotDefaultResponse, WebAppsUpdateAuthSettingsSlot200Response, - WebAppsUpdateAuthSettingsSlotdefaultResponse, + WebAppsUpdateAuthSettingsSlotDefaultResponse, WebAppsGetAuthSettingsSlot200Response, - WebAppsGetAuthSettingsSlotdefaultResponse, + WebAppsGetAuthSettingsSlotDefaultResponse, WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response, - WebAppsGetAuthSettingsV2WithoutSecretsSlotdefaultResponse, + WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse, WebAppsUpdateAuthSettingsV2Slot200Response, - WebAppsUpdateAuthSettingsV2SlotdefaultResponse, + WebAppsUpdateAuthSettingsV2SlotDefaultResponse, WebAppsGetAuthSettingsV2Slot200Response, - WebAppsGetAuthSettingsV2SlotdefaultResponse, + WebAppsGetAuthSettingsV2SlotDefaultResponse, WebAppsUpdateAzureStorageAccountsSlot200Response, - WebAppsUpdateAzureStorageAccountsSlotdefaultResponse, + WebAppsUpdateAzureStorageAccountsSlotDefaultResponse, WebAppsListAzureStorageAccountsSlot200Response, - WebAppsListAzureStorageAccountsSlotdefaultResponse, + WebAppsListAzureStorageAccountsSlotDefaultResponse, WebAppsUpdateBackupConfigurationSlot200Response, - WebAppsUpdateBackupConfigurationSlotdefaultResponse, + WebAppsUpdateBackupConfigurationSlotDefaultResponse, WebAppsDeleteBackupConfigurationSlot200Response, - WebAppsDeleteBackupConfigurationSlotdefaultResponse, + WebAppsDeleteBackupConfigurationSlotDefaultResponse, WebAppsGetBackupConfigurationSlot200Response, - WebAppsGetBackupConfigurationSlotdefaultResponse, + WebAppsGetBackupConfigurationSlotDefaultResponse, WebAppsGetAppSettingsKeyVaultReferencesSlot200Response, - WebAppsGetAppSettingsKeyVaultReferencesSlotdefaultResponse, + WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse, WebAppsGetAppSettingKeyVaultReferenceSlot200Response, - WebAppsGetAppSettingKeyVaultReferenceSlotdefaultResponse, + WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse, WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response, - WebAppsGetSiteConnectionStringKeyVaultReferencesSlotdefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse, WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response, - WebAppsGetSiteConnectionStringKeyVaultReferenceSlotdefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse, WebAppsUpdateConnectionStringsSlot200Response, - WebAppsUpdateConnectionStringsSlotdefaultResponse, + WebAppsUpdateConnectionStringsSlotDefaultResponse, WebAppsListConnectionStringsSlot200Response, - WebAppsListConnectionStringsSlotdefaultResponse, + WebAppsListConnectionStringsSlotDefaultResponse, WebAppsGetDiagnosticLogsConfigurationSlot200Response, - WebAppsGetDiagnosticLogsConfigurationSlotdefaultResponse, + WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse, WebAppsUpdateDiagnosticLogsConfigSlot200Response, - WebAppsUpdateDiagnosticLogsConfigSlotdefaultResponse, + WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse, WebAppsUpdateMetadataSlot200Response, - WebAppsUpdateMetadataSlotdefaultResponse, + WebAppsUpdateMetadataSlotDefaultResponse, WebAppsListMetadataSlot200Response, - WebAppsListMetadataSlotdefaultResponse, + WebAppsListMetadataSlotDefaultResponse, WebAppsListPublishingCredentialsSlot200Response, - WebAppsListPublishingCredentialsSlotdefaultResponse, + WebAppsListPublishingCredentialsSlotDefaultResponse, WebAppsUpdateSitePushSettingsSlot200Response, - WebAppsUpdateSitePushSettingsSlotdefaultResponse, + WebAppsUpdateSitePushSettingsSlotDefaultResponse, WebAppsListSitePushSettingsSlot200Response, - WebAppsListSitePushSettingsSlotdefaultResponse, + WebAppsListSitePushSettingsSlotDefaultResponse, WebAppsGetConfigurationSlot200Response, - WebAppsGetConfigurationSlotdefaultResponse, + WebAppsGetConfigurationSlotDefaultResponse, WebAppsCreateOrUpdateConfigurationSlot200Response, - WebAppsCreateOrUpdateConfigurationSlotdefaultResponse, + WebAppsCreateOrUpdateConfigurationSlotDefaultResponse, WebAppsUpdateConfigurationSlot200Response, - WebAppsUpdateConfigurationSlotdefaultResponse, + WebAppsUpdateConfigurationSlotDefaultResponse, WebAppsListConfigurationSnapshotInfoSlot200Response, - WebAppsListConfigurationSnapshotInfoSlotdefaultResponse, + WebAppsListConfigurationSnapshotInfoSlotDefaultResponse, WebAppsGetConfigurationSnapshotSlot200Response, - WebAppsGetConfigurationSnapshotSlotdefaultResponse, + WebAppsGetConfigurationSnapshotSlotDefaultResponse, WebAppsRecoverSiteConfigurationSnapshotSlot204Response, - WebAppsRecoverSiteConfigurationSnapshotSlotdefaultResponse, + WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse, WebAppsGetWebSiteContainerLogsSlot200Response, WebAppsGetWebSiteContainerLogsSlot204Response, - WebAppsGetWebSiteContainerLogsSlotdefaultResponse, + WebAppsGetWebSiteContainerLogsSlotDefaultResponse, WebAppsGetContainerLogsZipSlot200Response, WebAppsGetContainerLogsZipSlot204Response, - WebAppsGetContainerLogsZipSlotdefaultResponse, + WebAppsGetContainerLogsZipSlotDefaultResponse, WebAppsListContinuousWebJobsSlot200Response, - WebAppsListContinuousWebJobsSlotdefaultResponse, + WebAppsListContinuousWebJobsSlotDefaultResponse, WebAppsGetContinuousWebJobSlot200Response, WebAppsGetContinuousWebJobSlot404Response, - WebAppsGetContinuousWebJobSlotdefaultResponse, + WebAppsGetContinuousWebJobSlotDefaultResponse, WebAppsDeleteContinuousWebJobSlot200Response, WebAppsDeleteContinuousWebJobSlot204Response, - WebAppsDeleteContinuousWebJobSlotdefaultResponse, + WebAppsDeleteContinuousWebJobSlotDefaultResponse, WebAppsStartContinuousWebJobSlot200Response, WebAppsStartContinuousWebJobSlot404Response, - WebAppsStartContinuousWebJobSlotdefaultResponse, + WebAppsStartContinuousWebJobSlotDefaultResponse, WebAppsStopContinuousWebJobSlot200Response, WebAppsStopContinuousWebJobSlot404Response, - WebAppsStopContinuousWebJobSlotdefaultResponse, + WebAppsStopContinuousWebJobSlotDefaultResponse, WebAppsListDeploymentsSlot200Response, - WebAppsListDeploymentsSlotdefaultResponse, + WebAppsListDeploymentsSlotDefaultResponse, WebAppsGetDeploymentSlot200Response, - WebAppsGetDeploymentSlotdefaultResponse, + WebAppsGetDeploymentSlotDefaultResponse, WebAppsCreateDeploymentSlot200Response, - WebAppsCreateDeploymentSlotdefaultResponse, + WebAppsCreateDeploymentSlotDefaultResponse, WebAppsDeleteDeploymentSlot200Response, WebAppsDeleteDeploymentSlot204Response, - WebAppsDeleteDeploymentSlotdefaultResponse, + WebAppsDeleteDeploymentSlotDefaultResponse, WebAppsListDeploymentLogSlot200Response, - WebAppsListDeploymentLogSlotdefaultResponse, + WebAppsListDeploymentLogSlotDefaultResponse, WebAppsDiscoverBackupSlot200Response, - WebAppsDiscoverBackupSlotdefaultResponse, + WebAppsDiscoverBackupSlotDefaultResponse, WebAppsListDomainOwnershipIdentifiersSlot200Response, - WebAppsListDomainOwnershipIdentifiersSlotdefaultResponse, + WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse, WebAppsGetDomainOwnershipIdentifierSlot200Response, - WebAppsGetDomainOwnershipIdentifierSlotdefaultResponse, + WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse, WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response, - WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotdefaultResponse, + WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse, WebAppsDeleteDomainOwnershipIdentifierSlot200Response, WebAppsDeleteDomainOwnershipIdentifierSlot204Response, - WebAppsDeleteDomainOwnershipIdentifierSlotdefaultResponse, + WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse, WebAppsUpdateDomainOwnershipIdentifierSlot200Response, - WebAppsUpdateDomainOwnershipIdentifierSlotdefaultResponse, + WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse, WebAppsGetMSDeployStatusSlot200Response, - WebAppsGetMSDeployStatusSlotdefaultResponse, + WebAppsGetMSDeployStatusSlotDefaultResponse, WebAppsCreateMSDeployOperationSlot201Response, WebAppsCreateMSDeployOperationSlot409Response, - WebAppsCreateMSDeployOperationSlotdefaultResponse, + WebAppsCreateMSDeployOperationSlotDefaultResponse, WebAppsGetMSDeployLogSlot200Response, WebAppsGetMSDeployLogSlot404Response, - WebAppsGetMSDeployLogSlotdefaultResponse, + WebAppsGetMSDeployLogSlotDefaultResponse, WebAppsListInstanceFunctionsSlot200Response, WebAppsListInstanceFunctionsSlot404Response, - WebAppsListInstanceFunctionsSlotdefaultResponse, + WebAppsListInstanceFunctionsSlotDefaultResponse, WebAppsGetFunctionsAdminTokenSlot200Response, - WebAppsGetFunctionsAdminTokenSlotdefaultResponse, + WebAppsGetFunctionsAdminTokenSlotDefaultResponse, WebAppsGetInstanceFunctionSlot200Response, WebAppsGetInstanceFunctionSlot404Response, - WebAppsGetInstanceFunctionSlotdefaultResponse, + WebAppsGetInstanceFunctionSlotDefaultResponse, WebAppsCreateInstanceFunctionSlot201Response, - WebAppsCreateInstanceFunctionSlotdefaultResponse, + WebAppsCreateInstanceFunctionSlotDefaultResponse, WebAppsDeleteInstanceFunctionSlot204Response, WebAppsDeleteInstanceFunctionSlot404Response, - WebAppsDeleteInstanceFunctionSlotdefaultResponse, + WebAppsDeleteInstanceFunctionSlotDefaultResponse, WebAppsCreateOrUpdateFunctionSecretSlot200Response, WebAppsCreateOrUpdateFunctionSecretSlot201Response, - WebAppsCreateOrUpdateFunctionSecretSlotdefaultResponse, + WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse, WebAppsDeleteFunctionSecretSlot204Response, WebAppsDeleteFunctionSecretSlot404Response, - WebAppsDeleteFunctionSecretSlotdefaultResponse, + WebAppsDeleteFunctionSecretSlotDefaultResponse, WebAppsListFunctionKeysSlot200Response, - WebAppsListFunctionKeysSlotdefaultResponse, + WebAppsListFunctionKeysSlotDefaultResponse, WebAppsListFunctionSecretsSlot200Response, - WebAppsListFunctionSecretsSlotdefaultResponse, + WebAppsListFunctionSecretsSlotDefaultResponse, WebAppsListHostKeysSlot200Response, - WebAppsListHostKeysSlotdefaultResponse, + WebAppsListHostKeysSlotDefaultResponse, WebAppsListSyncStatusSlot204Response, - WebAppsListSyncStatusSlotdefaultResponse, + WebAppsListSyncStatusSlotDefaultResponse, WebAppsSyncFunctionsSlot204Response, - WebAppsSyncFunctionsSlotdefaultResponse, + WebAppsSyncFunctionsSlotDefaultResponse, WebAppsCreateOrUpdateHostSecretSlot200Response, WebAppsCreateOrUpdateHostSecretSlot201Response, - WebAppsCreateOrUpdateHostSecretSlotdefaultResponse, + WebAppsCreateOrUpdateHostSecretSlotDefaultResponse, WebAppsDeleteHostSecretSlot204Response, WebAppsDeleteHostSecretSlot404Response, - WebAppsDeleteHostSecretSlotdefaultResponse, + WebAppsDeleteHostSecretSlotDefaultResponse, WebAppsListHostNameBindingsSlot200Response, - WebAppsListHostNameBindingsSlotdefaultResponse, + WebAppsListHostNameBindingsSlotDefaultResponse, WebAppsGetHostNameBindingSlot200Response, - WebAppsGetHostNameBindingSlotdefaultResponse, + WebAppsGetHostNameBindingSlotDefaultResponse, WebAppsCreateOrUpdateHostNameBindingSlot200Response, - WebAppsCreateOrUpdateHostNameBindingSlotdefaultResponse, + WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse, WebAppsDeleteHostNameBindingSlot200Response, WebAppsDeleteHostNameBindingSlot204Response, - WebAppsDeleteHostNameBindingSlotdefaultResponse, + WebAppsDeleteHostNameBindingSlotDefaultResponse, WebAppsGetHybridConnectionSlot200Response, - WebAppsGetHybridConnectionSlotdefaultResponse, + WebAppsGetHybridConnectionSlotDefaultResponse, WebAppsCreateOrUpdateHybridConnectionSlot200Response, - WebAppsCreateOrUpdateHybridConnectionSlotdefaultResponse, + WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse, WebAppsDeleteHybridConnectionSlot200Response, WebAppsDeleteHybridConnectionSlot404Response, - WebAppsDeleteHybridConnectionSlotdefaultResponse, + WebAppsDeleteHybridConnectionSlotDefaultResponse, WebAppsUpdateHybridConnectionSlot200Response, - WebAppsUpdateHybridConnectionSlotdefaultResponse, + WebAppsUpdateHybridConnectionSlotDefaultResponse, WebAppsListHybridConnectionsSlot200Response, - WebAppsListHybridConnectionsSlotdefaultResponse, + WebAppsListHybridConnectionsSlotDefaultResponse, WebAppsListRelayServiceConnectionsSlot200Response, - WebAppsListRelayServiceConnectionsSlotdefaultResponse, + WebAppsListRelayServiceConnectionsSlotDefaultResponse, WebAppsGetRelayServiceConnectionSlot200Response, - WebAppsGetRelayServiceConnectionSlotdefaultResponse, + WebAppsGetRelayServiceConnectionSlotDefaultResponse, WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response, - WebAppsCreateOrUpdateRelayServiceConnectionSlotdefaultResponse, + WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse, WebAppsDeleteRelayServiceConnectionSlot200Response, WebAppsDeleteRelayServiceConnectionSlot404Response, - WebAppsDeleteRelayServiceConnectionSlotdefaultResponse, + WebAppsDeleteRelayServiceConnectionSlotDefaultResponse, WebAppsUpdateRelayServiceConnectionSlot200Response, - WebAppsUpdateRelayServiceConnectionSlotdefaultResponse, + WebAppsUpdateRelayServiceConnectionSlotDefaultResponse, WebAppsListInstanceIdentifiersSlot200Response, - WebAppsListInstanceIdentifiersSlotdefaultResponse, + WebAppsListInstanceIdentifiersSlotDefaultResponse, WebAppsGetInstanceInfoSlot200Response, - WebAppsGetInstanceInfoSlotdefaultResponse, + WebAppsGetInstanceInfoSlotDefaultResponse, WebAppsGetInstanceMsDeployStatusSlot200Response, - WebAppsGetInstanceMsDeployStatusSlotdefaultResponse, + WebAppsGetInstanceMsDeployStatusSlotDefaultResponse, WebAppsCreateInstanceMSDeployOperationSlot201Response, WebAppsCreateInstanceMSDeployOperationSlot409Response, - WebAppsCreateInstanceMSDeployOperationSlotdefaultResponse, + WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse, WebAppsGetInstanceMSDeployLogSlot200Response, WebAppsGetInstanceMSDeployLogSlot404Response, - WebAppsGetInstanceMSDeployLogSlotdefaultResponse, + WebAppsGetInstanceMSDeployLogSlotDefaultResponse, WebAppsListInstanceProcessesSlot200Response, WebAppsListInstanceProcessesSlot404Response, - WebAppsListInstanceProcessesSlotdefaultResponse, + WebAppsListInstanceProcessesSlotDefaultResponse, WebAppsGetInstanceProcessSlot200Response, WebAppsGetInstanceProcessSlot404Response, - WebAppsGetInstanceProcessSlotdefaultResponse, + WebAppsGetInstanceProcessSlotDefaultResponse, WebAppsDeleteInstanceProcessSlot204Response, WebAppsDeleteInstanceProcessSlot404Response, - WebAppsDeleteInstanceProcessSlotdefaultResponse, + WebAppsDeleteInstanceProcessSlotDefaultResponse, WebAppsGetInstanceProcessDumpSlot200Response, WebAppsGetInstanceProcessDumpSlot404Response, - WebAppsGetInstanceProcessDumpSlotdefaultResponse, + WebAppsGetInstanceProcessDumpSlotDefaultResponse, WebAppsListInstanceProcessModulesSlot200Response, WebAppsListInstanceProcessModulesSlot404Response, - WebAppsListInstanceProcessModulesSlotdefaultResponse, + WebAppsListInstanceProcessModulesSlotDefaultResponse, WebAppsGetInstanceProcessModuleSlot200Response, WebAppsGetInstanceProcessModuleSlot404Response, - WebAppsGetInstanceProcessModuleSlotdefaultResponse, + WebAppsGetInstanceProcessModuleSlotDefaultResponse, WebAppsListInstanceProcessThreadsSlot200Response, WebAppsListInstanceProcessThreadsSlot404Response, - WebAppsListInstanceProcessThreadsSlotdefaultResponse, + WebAppsListInstanceProcessThreadsSlotDefaultResponse, WebAppsIsCloneableSlot200Response, - WebAppsIsCloneableSlotdefaultResponse, + WebAppsIsCloneableSlotDefaultResponse, WebAppsListSiteBackupsSlot200Response, - WebAppsListSiteBackupsSlotdefaultResponse, + WebAppsListSiteBackupsSlotDefaultResponse, WebAppsListSyncFunctionTriggersSlot200Response, - WebAppsListSyncFunctionTriggersSlotdefaultResponse, + WebAppsListSyncFunctionTriggersSlotDefaultResponse, WebAppsGetMigrateMySqlStatusSlot200Response, - WebAppsGetMigrateMySqlStatusSlotdefaultResponse, + WebAppsGetMigrateMySqlStatusSlotDefaultResponse, WebAppsGetSwiftVirtualNetworkConnectionSlot200Response, - WebAppsGetSwiftVirtualNetworkConnectionSlotdefaultResponse, + WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response, - WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, WebAppsDeleteSwiftVirtualNetworkSlot200Response, WebAppsDeleteSwiftVirtualNetworkSlot404Response, - WebAppsDeleteSwiftVirtualNetworkSlotdefaultResponse, + WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse, WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response, - WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, WebAppsListNetworkFeaturesSlot200Response, WebAppsListNetworkFeaturesSlot404Response, - WebAppsListNetworkFeaturesSlotdefaultResponse, + WebAppsListNetworkFeaturesSlotDefaultResponse, WebAppsGetNetworkTraceOperationSlot200Response, WebAppsGetNetworkTraceOperationSlot202Response, - WebAppsGetNetworkTraceOperationSlotdefaultResponse, + WebAppsGetNetworkTraceOperationSlotDefaultResponse, WebAppsStartWebSiteNetworkTraceSlot200Response, - WebAppsStartWebSiteNetworkTraceSlotdefaultResponse, + WebAppsStartWebSiteNetworkTraceSlotDefaultResponse, WebAppsStartWebSiteNetworkTraceOperationSlot200Response, WebAppsStartWebSiteNetworkTraceOperationSlot202Response, - WebAppsStartWebSiteNetworkTraceOperationSlotdefaultResponse, + WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse, WebAppsStopWebSiteNetworkTraceSlot200Response, WebAppsStopWebSiteNetworkTraceSlot204Response, - WebAppsStopWebSiteNetworkTraceSlotdefaultResponse, + WebAppsStopWebSiteNetworkTraceSlotDefaultResponse, WebAppsGetNetworkTracesSlot200Response, - WebAppsGetNetworkTracesSlotdefaultResponse, + WebAppsGetNetworkTracesSlotDefaultResponse, WebAppsGetNetworkTraceOperationSlotV2200Response, WebAppsGetNetworkTraceOperationSlotV2202Response, - WebAppsGetNetworkTraceOperationSlotV2defaultResponse, + WebAppsGetNetworkTraceOperationSlotV2DefaultResponse, WebAppsGetNetworkTracesSlotV2200Response, - WebAppsGetNetworkTracesSlotV2defaultResponse, + WebAppsGetNetworkTracesSlotV2DefaultResponse, WebAppsGenerateNewSitePublishingPasswordSlot200Response, WebAppsGenerateNewSitePublishingPasswordSlot204Response, - WebAppsGenerateNewSitePublishingPasswordSlotdefaultResponse, + WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse, WebAppsListPerfMonCountersSlot200Response, - WebAppsListPerfMonCountersSlotdefaultResponse, + WebAppsListPerfMonCountersSlotDefaultResponse, WebAppsGetSitePhpErrorLogFlagSlot200Response, - WebAppsGetSitePhpErrorLogFlagSlotdefaultResponse, + WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse, WebAppsListPremierAddOnsSlot200Response, - WebAppsListPremierAddOnsSlotdefaultResponse, + WebAppsListPremierAddOnsSlotDefaultResponse, WebAppsGetPremierAddOnSlot200Response, - WebAppsGetPremierAddOnSlotdefaultResponse, + WebAppsGetPremierAddOnSlotDefaultResponse, WebAppsAddPremierAddOnSlot200Response, - WebAppsAddPremierAddOnSlotdefaultResponse, + WebAppsAddPremierAddOnSlotDefaultResponse, WebAppsDeletePremierAddOnSlot200Response, - WebAppsDeletePremierAddOnSlotdefaultResponse, + WebAppsDeletePremierAddOnSlotDefaultResponse, WebAppsUpdatePremierAddOnSlot200Response, - WebAppsUpdatePremierAddOnSlotdefaultResponse, + WebAppsUpdatePremierAddOnSlotDefaultResponse, WebAppsGetPrivateAccessSlot200Response, - WebAppsGetPrivateAccessSlotdefaultResponse, + WebAppsGetPrivateAccessSlotDefaultResponse, WebAppsPutPrivateAccessVnetSlot200Response, - WebAppsPutPrivateAccessVnetSlotdefaultResponse, + WebAppsPutPrivateAccessVnetSlotDefaultResponse, WebAppsGetPrivateEndpointConnectionListSlot200Response, - WebAppsGetPrivateEndpointConnectionListSlotdefaultResponse, + WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse, WebAppsGetPrivateEndpointConnectionSlot200Response, - WebAppsGetPrivateEndpointConnectionSlotdefaultResponse, + WebAppsGetPrivateEndpointConnectionSlotDefaultResponse, WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response, WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response, - WebAppsApproveOrRejectPrivateEndpointConnectionSlotdefaultResponse, + WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse, WebAppsDeletePrivateEndpointConnectionSlot200Response, WebAppsDeletePrivateEndpointConnectionSlot202Response, WebAppsDeletePrivateEndpointConnectionSlot204Response, - WebAppsDeletePrivateEndpointConnectionSlotdefaultResponse, + WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse, WebAppsGetPrivateLinkResourcesSlot200Response, - WebAppsGetPrivateLinkResourcesSlotdefaultResponse, + WebAppsGetPrivateLinkResourcesSlotDefaultResponse, WebAppsListProcessesSlot200Response, WebAppsListProcessesSlot404Response, - WebAppsListProcessesSlotdefaultResponse, + WebAppsListProcessesSlotDefaultResponse, WebAppsGetProcessSlot200Response, WebAppsGetProcessSlot404Response, - WebAppsGetProcessSlotdefaultResponse, + WebAppsGetProcessSlotDefaultResponse, WebAppsDeleteProcessSlot204Response, WebAppsDeleteProcessSlot404Response, - WebAppsDeleteProcessSlotdefaultResponse, + WebAppsDeleteProcessSlotDefaultResponse, WebAppsGetProcessDumpSlot200Response, WebAppsGetProcessDumpSlot404Response, - WebAppsGetProcessDumpSlotdefaultResponse, + WebAppsGetProcessDumpSlotDefaultResponse, WebAppsListProcessModulesSlot200Response, WebAppsListProcessModulesSlot404Response, - WebAppsListProcessModulesSlotdefaultResponse, + WebAppsListProcessModulesSlotDefaultResponse, WebAppsGetProcessModuleSlot200Response, WebAppsGetProcessModuleSlot404Response, - WebAppsGetProcessModuleSlotdefaultResponse, + WebAppsGetProcessModuleSlotDefaultResponse, WebAppsListProcessThreadsSlot200Response, WebAppsListProcessThreadsSlot404Response, - WebAppsListProcessThreadsSlotdefaultResponse, + WebAppsListProcessThreadsSlotDefaultResponse, WebAppsListPublicCertificatesSlot200Response, - WebAppsListPublicCertificatesSlotdefaultResponse, + WebAppsListPublicCertificatesSlotDefaultResponse, WebAppsGetPublicCertificateSlot200Response, - WebAppsGetPublicCertificateSlotdefaultResponse, + WebAppsGetPublicCertificateSlotDefaultResponse, WebAppsCreateOrUpdatePublicCertificateSlot200Response, - WebAppsCreateOrUpdatePublicCertificateSlotdefaultResponse, + WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse, WebAppsDeletePublicCertificateSlot200Response, WebAppsDeletePublicCertificateSlot204Response, - WebAppsDeletePublicCertificateSlotdefaultResponse, + WebAppsDeletePublicCertificateSlotDefaultResponse, WebAppsListPublishingProfileXmlWithSecretsSlot200Response, - WebAppsListPublishingProfileXmlWithSecretsSlotdefaultResponse, + WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse, WebAppsResetSlotConfigurationSlot200Response, - WebAppsResetSlotConfigurationSlotdefaultResponse, + WebAppsResetSlotConfigurationSlotDefaultResponse, WebAppsRestartSlot200Response, - WebAppsRestartSlotdefaultResponse, + WebAppsRestartSlotDefaultResponse, WebAppsRestoreFromBackupBlobSlot200Response, WebAppsRestoreFromBackupBlobSlot202Response, - WebAppsRestoreFromBackupBlobSlotdefaultResponse, + WebAppsRestoreFromBackupBlobSlotDefaultResponse, WebAppsRestoreFromDeletedAppSlot200Response, WebAppsRestoreFromDeletedAppSlot202Response, - WebAppsRestoreFromDeletedAppSlotdefaultResponse, + WebAppsRestoreFromDeletedAppSlotDefaultResponse, WebAppsRestoreSnapshotSlot200Response, WebAppsRestoreSnapshotSlot202Response, - WebAppsRestoreSnapshotSlotdefaultResponse, + WebAppsRestoreSnapshotSlotDefaultResponse, WebAppsListSiteExtensionsSlot200Response, WebAppsListSiteExtensionsSlot404Response, - WebAppsListSiteExtensionsSlotdefaultResponse, + WebAppsListSiteExtensionsSlotDefaultResponse, WebAppsGetSiteExtensionSlot200Response, WebAppsGetSiteExtensionSlot404Response, - WebAppsGetSiteExtensionSlotdefaultResponse, + WebAppsGetSiteExtensionSlotDefaultResponse, WebAppsInstallSiteExtensionSlot200Response, WebAppsInstallSiteExtensionSlot201Response, WebAppsInstallSiteExtensionSlot429Response, - WebAppsInstallSiteExtensionSlotdefaultResponse, + WebAppsInstallSiteExtensionSlotDefaultResponse, WebAppsDeleteSiteExtensionSlot204Response, WebAppsDeleteSiteExtensionSlot404Response, - WebAppsDeleteSiteExtensionSlotdefaultResponse, + WebAppsDeleteSiteExtensionSlotDefaultResponse, WebAppsListSlotDifferencesSlot200Response, - WebAppsListSlotDifferencesSlotdefaultResponse, + WebAppsListSlotDifferencesSlotDefaultResponse, WebAppsSwapSlot200Response, WebAppsSwapSlot202Response, - WebAppsSwapSlotdefaultResponse, + WebAppsSwapSlotDefaultResponse, WebAppsListSnapshotsSlot200Response, - WebAppsListSnapshotsSlotdefaultResponse, + WebAppsListSnapshotsSlotDefaultResponse, WebAppsListSnapshotsFromDRSecondarySlot200Response, - WebAppsListSnapshotsFromDRSecondarySlotdefaultResponse, + WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse, WebAppsGetSourceControlSlot200Response, WebAppsGetSourceControlSlot201Response, WebAppsGetSourceControlSlot202Response, - WebAppsGetSourceControlSlotdefaultResponse, + WebAppsGetSourceControlSlotDefaultResponse, WebAppsCreateOrUpdateSourceControlSlot200Response, WebAppsCreateOrUpdateSourceControlSlot201Response, WebAppsCreateOrUpdateSourceControlSlot202Response, - WebAppsCreateOrUpdateSourceControlSlotdefaultResponse, + WebAppsCreateOrUpdateSourceControlSlotDefaultResponse, WebAppsDeleteSourceControlSlot200Response, WebAppsDeleteSourceControlSlot202Response, WebAppsDeleteSourceControlSlot404Response, - WebAppsDeleteSourceControlSlotdefaultResponse, + WebAppsDeleteSourceControlSlotDefaultResponse, WebAppsUpdateSourceControlSlot200Response, WebAppsUpdateSourceControlSlot201Response, WebAppsUpdateSourceControlSlot202Response, - WebAppsUpdateSourceControlSlotdefaultResponse, + WebAppsUpdateSourceControlSlotDefaultResponse, WebAppsStartSlot200Response, - WebAppsStartSlotdefaultResponse, + WebAppsStartSlotDefaultResponse, WebAppsStartNetworkTraceSlot200Response, WebAppsStartNetworkTraceSlot202Response, - WebAppsStartNetworkTraceSlotdefaultResponse, + WebAppsStartNetworkTraceSlotDefaultResponse, WebAppsStopSlot200Response, - WebAppsStopSlotdefaultResponse, + WebAppsStopSlotDefaultResponse, WebAppsStopNetworkTraceSlot200Response, WebAppsStopNetworkTraceSlot204Response, - WebAppsStopNetworkTraceSlotdefaultResponse, + WebAppsStopNetworkTraceSlotDefaultResponse, WebAppsSyncRepositorySlot200Response, - WebAppsSyncRepositorySlotdefaultResponse, + WebAppsSyncRepositorySlotDefaultResponse, WebAppsSyncFunctionTriggersSlot204Response, - WebAppsSyncFunctionTriggersSlotdefaultResponse, + WebAppsSyncFunctionTriggersSlotDefaultResponse, WebAppsListTriggeredWebJobsSlot200Response, - WebAppsListTriggeredWebJobsSlotdefaultResponse, + WebAppsListTriggeredWebJobsSlotDefaultResponse, WebAppsGetTriggeredWebJobSlot200Response, WebAppsGetTriggeredWebJobSlot404Response, - WebAppsGetTriggeredWebJobSlotdefaultResponse, + WebAppsGetTriggeredWebJobSlotDefaultResponse, WebAppsDeleteTriggeredWebJobSlot200Response, WebAppsDeleteTriggeredWebJobSlot204Response, - WebAppsDeleteTriggeredWebJobSlotdefaultResponse, + WebAppsDeleteTriggeredWebJobSlotDefaultResponse, WebAppsListTriggeredWebJobHistorySlot200Response, WebAppsListTriggeredWebJobHistorySlot404Response, - WebAppsListTriggeredWebJobHistorySlotdefaultResponse, + WebAppsListTriggeredWebJobHistorySlotDefaultResponse, WebAppsGetTriggeredWebJobHistorySlot200Response, WebAppsGetTriggeredWebJobHistorySlot404Response, - WebAppsGetTriggeredWebJobHistorySlotdefaultResponse, + WebAppsGetTriggeredWebJobHistorySlotDefaultResponse, WebAppsRunTriggeredWebJobSlot200Response, WebAppsRunTriggeredWebJobSlot404Response, - WebAppsRunTriggeredWebJobSlotdefaultResponse, + WebAppsRunTriggeredWebJobSlotDefaultResponse, WebAppsListUsagesSlot200Response, - WebAppsListUsagesSlotdefaultResponse, + WebAppsListUsagesSlotDefaultResponse, WebAppsListVnetConnectionsSlot200Response, - WebAppsListVnetConnectionsSlotdefaultResponse, + WebAppsListVnetConnectionsSlotDefaultResponse, WebAppsGetVnetConnectionSlot200Response, - WebAppsGetVnetConnectionSlotdefaultResponse, + WebAppsGetVnetConnectionSlotDefaultResponse, WebAppsCreateOrUpdateVnetConnectionSlot200Response, - WebAppsCreateOrUpdateVnetConnectionSlotdefaultResponse, + WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse, WebAppsDeleteVnetConnectionSlot200Response, WebAppsDeleteVnetConnectionSlot404Response, - WebAppsDeleteVnetConnectionSlotdefaultResponse, + WebAppsDeleteVnetConnectionSlotDefaultResponse, WebAppsUpdateVnetConnectionSlot200Response, - WebAppsUpdateVnetConnectionSlotdefaultResponse, + WebAppsUpdateVnetConnectionSlotDefaultResponse, WebAppsGetVnetConnectionGatewaySlot200Response, WebAppsGetVnetConnectionGatewaySlot404Response, - WebAppsGetVnetConnectionGatewaySlotdefaultResponse, + WebAppsGetVnetConnectionGatewaySlotDefaultResponse, WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response, - WebAppsCreateOrUpdateVnetConnectionGatewaySlotdefaultResponse, + WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse, WebAppsUpdateVnetConnectionGatewaySlot200Response, - WebAppsUpdateVnetConnectionGatewaySlotdefaultResponse, + WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse, WebAppsListWebJobsSlot200Response, - WebAppsListWebJobsSlotdefaultResponse, + WebAppsListWebJobsSlotDefaultResponse, WebAppsGetWebJobSlot200Response, - WebAppsGetWebJobSlotdefaultResponse, + WebAppsGetWebJobSlotDefaultResponse, WebAppsListSlotDifferencesFromProduction200Response, - WebAppsListSlotDifferencesFromProductiondefaultResponse, + WebAppsListSlotDifferencesFromProductionDefaultResponse, WebAppsSwapSlotWithProduction200Response, WebAppsSwapSlotWithProduction202Response, - WebAppsSwapSlotWithProductiondefaultResponse, + WebAppsSwapSlotWithProductionDefaultResponse, WebAppsListSnapshots200Response, - WebAppsListSnapshotsdefaultResponse, + WebAppsListSnapshotsDefaultResponse, WebAppsListSnapshotsFromDRSecondary200Response, - WebAppsListSnapshotsFromDRSecondarydefaultResponse, + WebAppsListSnapshotsFromDRSecondaryDefaultResponse, WebAppsGetSourceControl200Response, WebAppsGetSourceControl201Response, WebAppsGetSourceControl202Response, - WebAppsGetSourceControldefaultResponse, + WebAppsGetSourceControlDefaultResponse, WebAppsCreateOrUpdateSourceControl200Response, WebAppsCreateOrUpdateSourceControl201Response, WebAppsCreateOrUpdateSourceControl202Response, - WebAppsCreateOrUpdateSourceControldefaultResponse, + WebAppsCreateOrUpdateSourceControlDefaultResponse, WebAppsDeleteSourceControl200Response, WebAppsDeleteSourceControl202Response, WebAppsDeleteSourceControl404Response, - WebAppsDeleteSourceControldefaultResponse, + WebAppsDeleteSourceControlDefaultResponse, WebAppsUpdateSourceControl200Response, WebAppsUpdateSourceControl201Response, WebAppsUpdateSourceControl202Response, - WebAppsUpdateSourceControldefaultResponse, + WebAppsUpdateSourceControlDefaultResponse, WebAppsStart200Response, - WebAppsStartdefaultResponse, + WebAppsStartDefaultResponse, WebAppsStartNetworkTrace200Response, WebAppsStartNetworkTrace202Response, - WebAppsStartNetworkTracedefaultResponse, + WebAppsStartNetworkTraceDefaultResponse, WebAppsStop200Response, - WebAppsStopdefaultResponse, + WebAppsStopDefaultResponse, WebAppsStopNetworkTrace200Response, WebAppsStopNetworkTrace204Response, - WebAppsStopNetworkTracedefaultResponse, + WebAppsStopNetworkTraceDefaultResponse, WebAppsSyncRepository200Response, - WebAppsSyncRepositorydefaultResponse, + WebAppsSyncRepositoryDefaultResponse, WebAppsSyncFunctionTriggers204Response, - WebAppsSyncFunctionTriggersdefaultResponse, + WebAppsSyncFunctionTriggersDefaultResponse, WebAppsListTriggeredWebJobs200Response, - WebAppsListTriggeredWebJobsdefaultResponse, + WebAppsListTriggeredWebJobsDefaultResponse, WebAppsGetTriggeredWebJob200Response, WebAppsGetTriggeredWebJob404Response, - WebAppsGetTriggeredWebJobdefaultResponse, + WebAppsGetTriggeredWebJobDefaultResponse, WebAppsDeleteTriggeredWebJob200Response, WebAppsDeleteTriggeredWebJob204Response, - WebAppsDeleteTriggeredWebJobdefaultResponse, + WebAppsDeleteTriggeredWebJobDefaultResponse, WebAppsListTriggeredWebJobHistory200Response, WebAppsListTriggeredWebJobHistory404Response, - WebAppsListTriggeredWebJobHistorydefaultResponse, + WebAppsListTriggeredWebJobHistoryDefaultResponse, WebAppsGetTriggeredWebJobHistory200Response, WebAppsGetTriggeredWebJobHistory404Response, - WebAppsGetTriggeredWebJobHistorydefaultResponse, + WebAppsGetTriggeredWebJobHistoryDefaultResponse, WebAppsRunTriggeredWebJob200Response, WebAppsRunTriggeredWebJob404Response, - WebAppsRunTriggeredWebJobdefaultResponse, + WebAppsRunTriggeredWebJobDefaultResponse, WebAppsListUsages200Response, - WebAppsListUsagesdefaultResponse, + WebAppsListUsagesDefaultResponse, WebAppsListVnetConnections200Response, - WebAppsListVnetConnectionsdefaultResponse, + WebAppsListVnetConnectionsDefaultResponse, WebAppsGetVnetConnection200Response, - WebAppsGetVnetConnectiondefaultResponse, + WebAppsGetVnetConnectionDefaultResponse, WebAppsCreateOrUpdateVnetConnection200Response, - WebAppsCreateOrUpdateVnetConnectiondefaultResponse, + WebAppsCreateOrUpdateVnetConnectionDefaultResponse, WebAppsDeleteVnetConnection200Response, WebAppsDeleteVnetConnection404Response, - WebAppsDeleteVnetConnectiondefaultResponse, + WebAppsDeleteVnetConnectionDefaultResponse, WebAppsUpdateVnetConnection200Response, - WebAppsUpdateVnetConnectiondefaultResponse, + WebAppsUpdateVnetConnectionDefaultResponse, WebAppsGetVnetConnectionGateway200Response, WebAppsGetVnetConnectionGateway404Response, - WebAppsGetVnetConnectionGatewaydefaultResponse, + WebAppsGetVnetConnectionGatewayDefaultResponse, WebAppsCreateOrUpdateVnetConnectionGateway200Response, - WebAppsCreateOrUpdateVnetConnectionGatewaydefaultResponse, + WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse, WebAppsUpdateVnetConnectionGateway200Response, - WebAppsUpdateVnetConnectionGatewaydefaultResponse, + WebAppsUpdateVnetConnectionGatewayDefaultResponse, WebAppsListWebJobs200Response, - WebAppsListWebJobsdefaultResponse, + WebAppsListWebJobsDefaultResponse, WebAppsGetWebJob200Response, - WebAppsGetWebJobdefaultResponse, + WebAppsGetWebJobDefaultResponse, } from "./responses"; -import type { Client } from "@azure-rest/core-client"; +import type { Client, StreamableMethod } from "@azure-rest/core-client"; export interface AppServiceCertificateOrdersList { /** List all certificate orders in a subscription. */ get( options?: AppServiceCertificateOrdersListParameters, - ): Promise< - AppServiceCertificateOrdersList200Response | AppServiceCertificateOrdersListdefaultResponse + ): StreamableMethod< + AppServiceCertificateOrdersList200Response | AppServiceCertificateOrdersListDefaultResponse >; } @@ -2201,9 +2201,9 @@ export interface AppServiceCertificateOrdersValidatePurchaseInformation { /** Validate information for a certificate order. */ post( options: AppServiceCertificateOrdersValidatePurchaseInformationParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersValidatePurchaseInformation204Response - | AppServiceCertificateOrdersValidatePurchaseInformationdefaultResponse + | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse >; } @@ -2211,9 +2211,9 @@ export interface AppServiceCertificateOrdersListByResourceGroup { /** Get certificate orders in a resource group. */ get( options?: AppServiceCertificateOrdersListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersListByResourceGroup200Response - | AppServiceCertificateOrdersListByResourceGroupdefaultResponse + | AppServiceCertificateOrdersListByResourceGroupDefaultResponse >; } @@ -2221,30 +2221,30 @@ export interface AppServiceCertificateOrdersGet { /** Get a certificate order. */ get( options?: AppServiceCertificateOrdersGetParameters, - ): Promise< - AppServiceCertificateOrdersGet200Response | AppServiceCertificateOrdersGetdefaultResponse + ): StreamableMethod< + AppServiceCertificateOrdersGet200Response | AppServiceCertificateOrdersGetDefaultResponse >; /** Create or update a certificate purchase order. */ put( options: AppServiceCertificateOrdersCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersCreateOrUpdate200Response | AppServiceCertificateOrdersCreateOrUpdate201Response - | AppServiceCertificateOrdersCreateOrUpdatedefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse >; /** Delete an existing certificate order. */ delete( options?: AppServiceCertificateOrdersDeleteParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersDelete200Response | AppServiceCertificateOrdersDelete204Response - | AppServiceCertificateOrdersDeletedefaultResponse + | AppServiceCertificateOrdersDeleteDefaultResponse >; /** Create or update a certificate purchase order. */ patch( options: AppServiceCertificateOrdersUpdateParameters, - ): Promise< - AppServiceCertificateOrdersUpdate200Response | AppServiceCertificateOrdersUpdatedefaultResponse + ): StreamableMethod< + AppServiceCertificateOrdersUpdate200Response | AppServiceCertificateOrdersUpdateDefaultResponse >; } @@ -2252,9 +2252,9 @@ export interface AppServiceCertificateOrdersListCertificates { /** List all certificates associated with a certificate order. */ get( options?: AppServiceCertificateOrdersListCertificatesParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersListCertificates200Response - | AppServiceCertificateOrdersListCertificatesdefaultResponse + | AppServiceCertificateOrdersListCertificatesDefaultResponse >; } @@ -2262,32 +2262,32 @@ export interface AppServiceCertificateOrdersGetCertificate { /** Get the certificate associated with a certificate order. */ get( options?: AppServiceCertificateOrdersGetCertificateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersGetCertificate200Response - | AppServiceCertificateOrdersGetCertificatedefaultResponse + | AppServiceCertificateOrdersGetCertificateDefaultResponse >; /** Creates or updates a certificate and associates with key vault secret. */ put( options: AppServiceCertificateOrdersCreateOrUpdateCertificateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersCreateOrUpdateCertificate200Response | AppServiceCertificateOrdersCreateOrUpdateCertificate201Response - | AppServiceCertificateOrdersCreateOrUpdateCertificatedefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse >; /** Delete the certificate associated with a certificate order. */ delete( options?: AppServiceCertificateOrdersDeleteCertificateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersDeleteCertificate200Response | AppServiceCertificateOrdersDeleteCertificate204Response - | AppServiceCertificateOrdersDeleteCertificatedefaultResponse + | AppServiceCertificateOrdersDeleteCertificateDefaultResponse >; /** Creates or updates a certificate and associates with key vault secret. */ patch( options: AppServiceCertificateOrdersUpdateCertificateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersUpdateCertificate200Response - | AppServiceCertificateOrdersUpdateCertificatedefaultResponse + | AppServiceCertificateOrdersUpdateCertificateDefaultResponse >; } @@ -2295,9 +2295,9 @@ export interface AppServiceCertificateOrdersReissue { /** Reissue an existing certificate order. */ post( options: AppServiceCertificateOrdersReissueParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersReissue204Response - | AppServiceCertificateOrdersReissuedefaultResponse + | AppServiceCertificateOrdersReissueDefaultResponse >; } @@ -2305,8 +2305,8 @@ export interface AppServiceCertificateOrdersRenew { /** Renew an existing certificate order. */ post( options: AppServiceCertificateOrdersRenewParameters, - ): Promise< - AppServiceCertificateOrdersRenew204Response | AppServiceCertificateOrdersRenewdefaultResponse + ): StreamableMethod< + AppServiceCertificateOrdersRenew204Response | AppServiceCertificateOrdersRenewDefaultResponse >; } @@ -2314,9 +2314,9 @@ export interface AppServiceCertificateOrdersResendEmail { /** Resend certificate email. */ post( options?: AppServiceCertificateOrdersResendEmailParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersResendEmail204Response - | AppServiceCertificateOrdersResendEmaildefaultResponse + | AppServiceCertificateOrdersResendEmailDefaultResponse >; } @@ -2324,9 +2324,9 @@ export interface AppServiceCertificateOrdersResendRequestEmails { /** Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order */ post( options: AppServiceCertificateOrdersResendRequestEmailsParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersResendRequestEmails204Response - | AppServiceCertificateOrdersResendRequestEmailsdefaultResponse + | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse >; } @@ -2334,9 +2334,9 @@ export interface AppServiceCertificateOrdersRetrieveSiteSeal { /** This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that the certificate purchaser can embed on their web site to show their visitors information about their SSL certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal images are expected to be static images and hosted by the reseller, to minimize delays for customer page load times. */ post( options: AppServiceCertificateOrdersRetrieveSiteSealParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersRetrieveSiteSeal200Response - | AppServiceCertificateOrdersRetrieveSiteSealdefaultResponse + | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse >; } @@ -2344,9 +2344,9 @@ export interface AppServiceCertificateOrdersVerifyDomainOwnership { /** Verify domain ownership for this certificate order. */ post( options?: AppServiceCertificateOrdersVerifyDomainOwnershipParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersVerifyDomainOwnership204Response - | AppServiceCertificateOrdersVerifyDomainOwnershipdefaultResponse + | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse >; } @@ -2354,9 +2354,9 @@ export interface AppServiceCertificateOrdersRetrieveCertificateActions { /** Retrieve the list of certificate actions. */ post( options?: AppServiceCertificateOrdersRetrieveCertificateActionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersRetrieveCertificateActions200Response - | AppServiceCertificateOrdersRetrieveCertificateActionsdefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse >; } @@ -2364,9 +2364,9 @@ export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistory { /** Retrieve email history. */ post( options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response - | AppServiceCertificateOrdersRetrieveCertificateEmailHistorydefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse >; } @@ -2374,9 +2374,9 @@ export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetec /** Microsoft.CertificateRegistration to get the list of detectors for this RP. */ get( options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters, - ): Promise< + ): StreamableMethod< | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response - | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponsedefaultResponse + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse >; } @@ -2384,9 +2384,9 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect /** Microsoft.CertificateRegistration call to get a detector response from App Lens. */ get( options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseParameters, - ): Promise< + ): StreamableMethod< | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response - | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponsedefaultResponse + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse >; } @@ -2394,9 +2394,9 @@ export interface CertificateRegistrationProviderListOperations { /** Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider */ get( options?: CertificateRegistrationProviderListOperationsParameters, - ): Promise< + ): StreamableMethod< | CertificateRegistrationProviderListOperations200Response - | CertificateRegistrationProviderListOperationsdefaultResponse + | CertificateRegistrationProviderListOperationsDefaultResponse >; } @@ -2404,22 +2404,24 @@ export interface DomainsCheckAvailability { /** Check if a domain is available for registration. */ post( options: DomainsCheckAvailabilityParameters, - ): Promise; + ): StreamableMethod< + DomainsCheckAvailability200Response | DomainsCheckAvailabilityDefaultResponse + >; } export interface DomainsList { /** Get all domains in a subscription. */ get( options?: DomainsListParameters, - ): Promise; + ): StreamableMethod; } export interface DomainsGetControlCenterSsoRequest { /** Generate a single sign-on request for the domain management portal. */ post( options?: DomainsGetControlCenterSsoRequestParameters, - ): Promise< - DomainsGetControlCenterSsoRequest200Response | DomainsGetControlCenterSsoRequestdefaultResponse + ): StreamableMethod< + DomainsGetControlCenterSsoRequest200Response | DomainsGetControlCenterSsoRequestDefaultResponse >; } @@ -2427,43 +2429,53 @@ export interface DomainsListRecommendations { /** Get domain name recommendations based on keywords. */ post( options: DomainsListRecommendationsParameters, - ): Promise; + ): StreamableMethod< + DomainsListRecommendations200Response | DomainsListRecommendationsDefaultResponse + >; } export interface DomainsListByResourceGroup { /** Get all domains in a resource group. */ get( options?: DomainsListByResourceGroupParameters, - ): Promise; + ): StreamableMethod< + DomainsListByResourceGroup200Response | DomainsListByResourceGroupDefaultResponse + >; } export interface DomainsGet { /** Get a domain. */ - get(options?: DomainsGetParameters): Promise; + get( + options?: DomainsGetParameters, + ): StreamableMethod; /** Creates or updates a domain. */ put( options: DomainsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | DomainsCreateOrUpdate200Response | DomainsCreateOrUpdate202Response - | DomainsCreateOrUpdatedefaultResponse + | DomainsCreateOrUpdateDefaultResponse >; /** Delete a domain. */ delete( options?: DomainsDeleteParameters, - ): Promise; + ): StreamableMethod< + DomainsDelete200Response | DomainsDelete204Response | DomainsDeleteDefaultResponse + >; /** Creates or updates a domain. */ patch( options: DomainsUpdateParameters, - ): Promise; + ): StreamableMethod< + DomainsUpdate200Response | DomainsUpdate202Response | DomainsUpdateDefaultResponse + >; } export interface DomainsListOwnershipIdentifiers { /** Lists domain ownership identifiers. */ get( options?: DomainsListOwnershipIdentifiersParameters, - ): Promise< - DomainsListOwnershipIdentifiers200Response | DomainsListOwnershipIdentifiersdefaultResponse + ): StreamableMethod< + DomainsListOwnershipIdentifiers200Response | DomainsListOwnershipIdentifiersDefaultResponse >; } @@ -2471,29 +2483,29 @@ export interface DomainsGetOwnershipIdentifier { /** Get ownership identifier for domain */ get( options?: DomainsGetOwnershipIdentifierParameters, - ): Promise< - DomainsGetOwnershipIdentifier200Response | DomainsGetOwnershipIdentifierdefaultResponse + ): StreamableMethod< + DomainsGetOwnershipIdentifier200Response | DomainsGetOwnershipIdentifierDefaultResponse >; /** Creates an ownership identifier for a domain or updates identifier details for an existing identifier */ put( options: DomainsCreateOrUpdateOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | DomainsCreateOrUpdateOwnershipIdentifier200Response - | DomainsCreateOrUpdateOwnershipIdentifierdefaultResponse + | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse >; /** Delete ownership identifier for domain */ delete( options?: DomainsDeleteOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | DomainsDeleteOwnershipIdentifier200Response | DomainsDeleteOwnershipIdentifier204Response - | DomainsDeleteOwnershipIdentifierdefaultResponse + | DomainsDeleteOwnershipIdentifierDefaultResponse >; /** Creates an ownership identifier for a domain or updates identifier details for an existing identifier */ patch( options: DomainsUpdateOwnershipIdentifierParameters, - ): Promise< - DomainsUpdateOwnershipIdentifier200Response | DomainsUpdateOwnershipIdentifierdefaultResponse + ): StreamableMethod< + DomainsUpdateOwnershipIdentifier200Response | DomainsUpdateOwnershipIdentifierDefaultResponse >; } @@ -2501,11 +2513,11 @@ export interface DomainsRenew { /** Renew a domain. */ post( options?: DomainsRenewParameters, - ): Promise< + ): StreamableMethod< | DomainsRenew200Response | DomainsRenew202Response | DomainsRenew204Response - | DomainsRenewdefaultResponse + | DomainsRenewDefaultResponse >; } @@ -2513,10 +2525,10 @@ export interface DomainsTransferOut { /** Transfer out domain to another registrar */ put( options?: DomainsTransferOutParameters, - ): Promise< + ): StreamableMethod< | DomainsTransferOut200Response | DomainsTransferOut400Response - | DomainsTransferOutdefaultResponse + | DomainsTransferOutDefaultResponse >; } @@ -2524,22 +2536,22 @@ export interface TopLevelDomainsList { /** Get all top-level domains supported for registration. */ get( options?: TopLevelDomainsListParameters, - ): Promise; + ): StreamableMethod; } export interface TopLevelDomainsGet { /** Get details of a top-level domain. */ get( options?: TopLevelDomainsGetParameters, - ): Promise; + ): StreamableMethod; } export interface TopLevelDomainsListAgreements { /** Gets all legal agreements that user needs to accept before purchasing a domain. */ post( options: TopLevelDomainsListAgreementsParameters, - ): Promise< - TopLevelDomainsListAgreements200Response | TopLevelDomainsListAgreementsdefaultResponse + ): StreamableMethod< + TopLevelDomainsListAgreements200Response | TopLevelDomainsListAgreementsDefaultResponse >; } @@ -2547,9 +2559,9 @@ export interface DomainRegistrationProviderListOperations { /** Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider */ get( options?: DomainRegistrationProviderListOperationsParameters, - ): Promise< + ): StreamableMethod< | DomainRegistrationProviderListOperations200Response - | DomainRegistrationProviderListOperationsdefaultResponse + | DomainRegistrationProviderListOperationsDefaultResponse >; } @@ -2557,16 +2569,18 @@ export interface AppServiceEnvironmentsList { /** Get all App Service Environments for a subscription. */ get( options?: AppServiceEnvironmentsListParameters, - ): Promise; + ): StreamableMethod< + AppServiceEnvironmentsList200Response | AppServiceEnvironmentsListDefaultResponse + >; } export interface AppServiceEnvironmentsListByResourceGroup { /** Get all App Service Environments in a resource group. */ get( options?: AppServiceEnvironmentsListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListByResourceGroup200Response - | AppServiceEnvironmentsListByResourceGroupdefaultResponse + | AppServiceEnvironmentsListByResourceGroupDefaultResponse >; } @@ -2574,32 +2588,34 @@ export interface AppServiceEnvironmentsGet { /** Get the properties of an App Service Environment. */ get( options?: AppServiceEnvironmentsGetParameters, - ): Promise; + ): StreamableMethod< + AppServiceEnvironmentsGet200Response | AppServiceEnvironmentsGetDefaultResponse + >; /** Create or update an App Service Environment. */ put( options: AppServiceEnvironmentsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsCreateOrUpdate200Response | AppServiceEnvironmentsCreateOrUpdate201Response | AppServiceEnvironmentsCreateOrUpdate202Response - | AppServiceEnvironmentsCreateOrUpdatedefaultResponse + | AppServiceEnvironmentsCreateOrUpdateDefaultResponse >; /** Delete an App Service Environment. */ delete( options?: AppServiceEnvironmentsDeleteParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsDelete202Response | AppServiceEnvironmentsDelete204Response - | AppServiceEnvironmentsDeletedefaultResponse + | AppServiceEnvironmentsDeleteDefaultResponse >; /** Create or update an App Service Environment. */ patch( options: AppServiceEnvironmentsUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsUpdate200Response | AppServiceEnvironmentsUpdate201Response | AppServiceEnvironmentsUpdate202Response - | AppServiceEnvironmentsUpdatedefaultResponse + | AppServiceEnvironmentsUpdateDefaultResponse >; } @@ -2607,9 +2623,9 @@ export interface AppServiceEnvironmentsListCapacities { /** Get the used, available, and total worker capacity an App Service Environment. */ get( options?: AppServiceEnvironmentsListCapacitiesParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListCapacities200Response - | AppServiceEnvironmentsListCapacitiesdefaultResponse + | AppServiceEnvironmentsListCapacitiesDefaultResponse >; } @@ -2617,8 +2633,8 @@ export interface AppServiceEnvironmentsGetVipInfo { /** Get IP addresses assigned to an App Service Environment. */ get( options?: AppServiceEnvironmentsGetVipInfoParameters, - ): Promise< - AppServiceEnvironmentsGetVipInfo200Response | AppServiceEnvironmentsGetVipInfodefaultResponse + ): StreamableMethod< + AppServiceEnvironmentsGetVipInfo200Response | AppServiceEnvironmentsGetVipInfoDefaultResponse >; } @@ -2626,10 +2642,10 @@ export interface AppServiceEnvironmentsChangeVnet { /** Move an App Service Environment to a different VNET. */ post( options: AppServiceEnvironmentsChangeVnetParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsChangeVnet200Response | AppServiceEnvironmentsChangeVnet202Response - | AppServiceEnvironmentsChangeVnetdefaultResponse + | AppServiceEnvironmentsChangeVnetDefaultResponse >; } @@ -2637,16 +2653,16 @@ export interface AppServiceEnvironmentsGetAseV3NetworkingConfiguration { /** Get networking configuration of an App Service Environment */ get( options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response - | AppServiceEnvironmentsGetAseV3NetworkingConfigurationdefaultResponse + | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse >; /** Update networking configuration of an App Service Environment */ put( options: AppServiceEnvironmentsUpdateAseNetworkingConfigurationParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response - | AppServiceEnvironmentsUpdateAseNetworkingConfigurationdefaultResponse + | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse >; } @@ -2654,9 +2670,9 @@ export interface AppServiceEnvironmentsListDiagnostics { /** Get diagnostic information for an App Service Environment. */ get( options?: AppServiceEnvironmentsListDiagnosticsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListDiagnostics200Response - | AppServiceEnvironmentsListDiagnosticsdefaultResponse + | AppServiceEnvironmentsListDiagnosticsDefaultResponse >; } @@ -2664,9 +2680,9 @@ export interface AppServiceEnvironmentsGetDiagnosticsItem { /** Get a diagnostics item for an App Service Environment. */ get( options?: AppServiceEnvironmentsGetDiagnosticsItemParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetDiagnosticsItem200Response - | AppServiceEnvironmentsGetDiagnosticsItemdefaultResponse + | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse >; } @@ -2674,9 +2690,9 @@ export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints { /** Get the network endpoints of all inbound dependencies of an App Service Environment. */ get( options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response - | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsdefaultResponse + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse >; } @@ -2684,9 +2700,9 @@ export interface AppServiceEnvironmentsListMultiRolePools { /** Get all multi-role pools. */ get( options?: AppServiceEnvironmentsListMultiRolePoolsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRolePools200Response - | AppServiceEnvironmentsListMultiRolePoolsdefaultResponse + | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse >; } @@ -2694,25 +2710,25 @@ export interface AppServiceEnvironmentsGetMultiRolePool { /** Get properties of a multi-role pool. */ get( options?: AppServiceEnvironmentsGetMultiRolePoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetMultiRolePool200Response - | AppServiceEnvironmentsGetMultiRolePooldefaultResponse + | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse >; /** Create or update a multi-role pool. */ put( options: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response | AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response - | AppServiceEnvironmentsCreateOrUpdateMultiRolePooldefaultResponse + | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse >; /** Create or update a multi-role pool. */ patch( options: AppServiceEnvironmentsUpdateMultiRolePoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsUpdateMultiRolePool200Response | AppServiceEnvironmentsUpdateMultiRolePool202Response - | AppServiceEnvironmentsUpdateMultiRolePooldefaultResponse + | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse >; } @@ -2720,9 +2736,9 @@ export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinition /** Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response - | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsdefaultResponse + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse >; } @@ -2730,9 +2746,9 @@ export interface AppServiceEnvironmentsListMultiRoleMetricDefinitions { /** Get metric definitions for a multi-role pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response - | AppServiceEnvironmentsListMultiRoleMetricDefinitionsdefaultResponse + | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse >; } @@ -2740,9 +2756,9 @@ export interface AppServiceEnvironmentsListMultiRolePoolSkus { /** Get available SKUs for scaling a multi-role pool. */ get( options?: AppServiceEnvironmentsListMultiRolePoolSkusParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRolePoolSkus200Response - | AppServiceEnvironmentsListMultiRolePoolSkusdefaultResponse + | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse >; } @@ -2750,9 +2766,9 @@ export interface AppServiceEnvironmentsListMultiRoleUsages { /** Get usage metrics for a multi-role pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListMultiRoleUsagesParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRoleUsages200Response - | AppServiceEnvironmentsListMultiRoleUsagesdefaultResponse + | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse >; } @@ -2760,9 +2776,9 @@ export interface AppServiceEnvironmentsListOperations { /** List all currently running operations on the App Service Environment. */ get( options?: AppServiceEnvironmentsListOperationsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListOperations200Response - | AppServiceEnvironmentsListOperationsdefaultResponse + | AppServiceEnvironmentsListOperationsDefaultResponse >; } @@ -2770,9 +2786,9 @@ export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints { /** Get the network endpoints of all outbound dependencies of an App Service Environment. */ get( options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response - | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsdefaultResponse + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse >; } @@ -2780,9 +2796,9 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionList { /** Gets the list of private endpoints associated with a hosting environment */ get( options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response - | AppServiceEnvironmentsGetPrivateEndpointConnectionListdefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse >; } @@ -2790,26 +2806,26 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnection { /** Gets a private endpoint connection */ get( options?: AppServiceEnvironmentsGetPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetPrivateEndpointConnection200Response - | AppServiceEnvironmentsGetPrivateEndpointConnectiondefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse >; /** Approves or rejects a private endpoint connection */ put( options: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response - | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectiondefaultResponse + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse >; /** Deletes a private endpoint connection */ delete( options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsDeletePrivateEndpointConnection200Response | AppServiceEnvironmentsDeletePrivateEndpointConnection202Response | AppServiceEnvironmentsDeletePrivateEndpointConnection204Response - | AppServiceEnvironmentsDeletePrivateEndpointConnectiondefaultResponse + | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse >; } @@ -2817,9 +2833,9 @@ export interface AppServiceEnvironmentsGetPrivateLinkResources { /** Gets the private link resources */ get( options?: AppServiceEnvironmentsGetPrivateLinkResourcesParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetPrivateLinkResources200Response - | AppServiceEnvironmentsGetPrivateLinkResourcesdefaultResponse + | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse >; } @@ -2827,17 +2843,19 @@ export interface AppServiceEnvironmentsReboot { /** Reboot all machines in an App Service Environment. */ post( options?: AppServiceEnvironmentsRebootParameters, - ): Promise; + ): StreamableMethod< + AppServiceEnvironmentsReboot202Response | AppServiceEnvironmentsRebootDefaultResponse + >; } export interface AppServiceEnvironmentsResume { /** Resume an App Service Environment. */ post( options?: AppServiceEnvironmentsResumeParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsResume200Response | AppServiceEnvironmentsResume202Response - | AppServiceEnvironmentsResumedefaultResponse + | AppServiceEnvironmentsResumeDefaultResponse >; } @@ -2845,9 +2863,9 @@ export interface AppServiceEnvironmentsListAppServicePlans { /** Get all App Service plans in an App Service Environment. */ get( options?: AppServiceEnvironmentsListAppServicePlansParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListAppServicePlans200Response - | AppServiceEnvironmentsListAppServicePlansdefaultResponse + | AppServiceEnvironmentsListAppServicePlansDefaultResponse >; } @@ -2855,8 +2873,8 @@ export interface AppServiceEnvironmentsListWebApps { /** Get all apps in an App Service Environment. */ get( options?: AppServiceEnvironmentsListWebAppsParameters, - ): Promise< - AppServiceEnvironmentsListWebApps200Response | AppServiceEnvironmentsListWebAppsdefaultResponse + ): StreamableMethod< + AppServiceEnvironmentsListWebApps200Response | AppServiceEnvironmentsListWebAppsDefaultResponse >; } @@ -2864,10 +2882,10 @@ export interface AppServiceEnvironmentsSuspend { /** Suspend an App Service Environment. */ post( options?: AppServiceEnvironmentsSuspendParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsSuspend200Response | AppServiceEnvironmentsSuspend202Response - | AppServiceEnvironmentsSuspenddefaultResponse + | AppServiceEnvironmentsSuspendDefaultResponse >; } @@ -2875,8 +2893,8 @@ export interface AppServiceEnvironmentsListUsages { /** Get global usage metrics of an App Service Environment. */ get( options?: AppServiceEnvironmentsListUsagesParameters, - ): Promise< - AppServiceEnvironmentsListUsages200Response | AppServiceEnvironmentsListUsagesdefaultResponse + ): StreamableMethod< + AppServiceEnvironmentsListUsages200Response | AppServiceEnvironmentsListUsagesDefaultResponse >; } @@ -2884,9 +2902,9 @@ export interface AppServiceEnvironmentsListWorkerPools { /** Get all worker pools of an App Service Environment. */ get( options?: AppServiceEnvironmentsListWorkerPoolsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWorkerPools200Response - | AppServiceEnvironmentsListWorkerPoolsdefaultResponse + | AppServiceEnvironmentsListWorkerPoolsDefaultResponse >; } @@ -2894,25 +2912,25 @@ export interface AppServiceEnvironmentsGetWorkerPool { /** Get properties of a worker pool. */ get( options?: AppServiceEnvironmentsGetWorkerPoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetWorkerPool200Response - | AppServiceEnvironmentsGetWorkerPooldefaultResponse + | AppServiceEnvironmentsGetWorkerPoolDefaultResponse >; /** Create or update a worker pool. */ put( options: AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response | AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response - | AppServiceEnvironmentsCreateOrUpdateWorkerPooldefaultResponse + | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse >; /** Create or update a worker pool. */ patch( options: AppServiceEnvironmentsUpdateWorkerPoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsUpdateWorkerPool200Response | AppServiceEnvironmentsUpdateWorkerPool202Response - | AppServiceEnvironmentsUpdateWorkerPooldefaultResponse + | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse >; } @@ -2920,9 +2938,9 @@ export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions { /** Get metric definitions for a specific instance of a worker pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response - | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsdefaultResponse + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse >; } @@ -2930,9 +2948,9 @@ export interface AppServiceEnvironmentsListWebWorkerMetricDefinitions { /** Get metric definitions for a worker pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response - | AppServiceEnvironmentsListWebWorkerMetricDefinitionsdefaultResponse + | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse >; } @@ -2940,9 +2958,9 @@ export interface AppServiceEnvironmentsListWorkerPoolSkus { /** Get available SKUs for scaling a worker pool. */ get( options?: AppServiceEnvironmentsListWorkerPoolSkusParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWorkerPoolSkus200Response - | AppServiceEnvironmentsListWorkerPoolSkusdefaultResponse + | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse >; } @@ -2950,9 +2968,9 @@ export interface AppServiceEnvironmentsListWebWorkerUsages { /** Get usage metrics for a worker pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListWebWorkerUsagesParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWebWorkerUsages200Response - | AppServiceEnvironmentsListWebWorkerUsagesdefaultResponse + | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse >; } @@ -2960,16 +2978,16 @@ export interface AppServicePlansList { /** Get all App Service plans for a subscription. */ get( options?: AppServicePlansListParameters, - ): Promise; + ): StreamableMethod; } export interface AppServicePlansListByResourceGroup { /** Get all App Service plans in a resource group. */ get( options?: AppServicePlansListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansListByResourceGroup200Response - | AppServicePlansListByResourceGroupdefaultResponse + | AppServicePlansListByResourceGroupDefaultResponse >; } @@ -2977,34 +2995,34 @@ export interface AppServicePlansGet { /** Get an App Service plan. */ get( options?: AppServicePlansGetParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGet200Response | AppServicePlansGet404Response - | AppServicePlansGetdefaultResponse + | AppServicePlansGetDefaultResponse >; /** Creates or updates an App Service Plan. */ put( options: AppServicePlansCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansCreateOrUpdate200Response | AppServicePlansCreateOrUpdate202Response - | AppServicePlansCreateOrUpdatedefaultResponse + | AppServicePlansCreateOrUpdateDefaultResponse >; /** Delete an App Service plan. */ delete( options?: AppServicePlansDeleteParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansDelete200Response | AppServicePlansDelete204Response - | AppServicePlansDeletedefaultResponse + | AppServicePlansDeleteDefaultResponse >; /** Creates or updates an App Service Plan. */ patch( options: AppServicePlansUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansUpdate200Response | AppServicePlansUpdate202Response - | AppServicePlansUpdatedefaultResponse + | AppServicePlansUpdateDefaultResponse >; } @@ -3012,8 +3030,8 @@ export interface AppServicePlansListCapabilities { /** List all capabilities of an App Service plan. */ get( options?: AppServicePlansListCapabilitiesParameters, - ): Promise< - AppServicePlansListCapabilities200Response | AppServicePlansListCapabilitiesdefaultResponse + ): StreamableMethod< + AppServicePlansListCapabilities200Response | AppServicePlansListCapabilitiesDefaultResponse >; } @@ -3021,17 +3039,17 @@ export interface AppServicePlansGetHybridConnection { /** Retrieve a Hybrid Connection in use in an App Service plan. */ get( options?: AppServicePlansGetHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGetHybridConnection200Response - | AppServicePlansGetHybridConnectiondefaultResponse + | AppServicePlansGetHybridConnectionDefaultResponse >; /** Delete a Hybrid Connection in use in an App Service plan. */ delete( options?: AppServicePlansDeleteHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansDeleteHybridConnection200Response | AppServicePlansDeleteHybridConnection204Response - | AppServicePlansDeleteHybridConnectiondefaultResponse + | AppServicePlansDeleteHybridConnectionDefaultResponse >; } @@ -3039,9 +3057,9 @@ export interface AppServicePlansListHybridConnectionKeys { /** Get the send key name and value of a Hybrid Connection. */ post( options?: AppServicePlansListHybridConnectionKeysParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansListHybridConnectionKeys200Response - | AppServicePlansListHybridConnectionKeysdefaultResponse + | AppServicePlansListHybridConnectionKeysDefaultResponse >; } @@ -3049,9 +3067,9 @@ export interface AppServicePlansListWebAppsByHybridConnection { /** Get all apps that use a Hybrid Connection in an App Service Plan. */ get( options?: AppServicePlansListWebAppsByHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansListWebAppsByHybridConnection200Response - | AppServicePlansListWebAppsByHybridConnectiondefaultResponse + | AppServicePlansListWebAppsByHybridConnectionDefaultResponse >; } @@ -3059,9 +3077,9 @@ export interface AppServicePlansGetHybridConnectionPlanLimit { /** Get the maximum number of Hybrid Connections allowed in an App Service plan. */ get( options?: AppServicePlansGetHybridConnectionPlanLimitParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGetHybridConnectionPlanLimit200Response - | AppServicePlansGetHybridConnectionPlanLimitdefaultResponse + | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse >; } @@ -3069,9 +3087,9 @@ export interface AppServicePlansListHybridConnections { /** Retrieve all Hybrid Connections in use in an App Service plan. */ get( options?: AppServicePlansListHybridConnectionsParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansListHybridConnections200Response - | AppServicePlansListHybridConnectionsdefaultResponse + | AppServicePlansListHybridConnectionsDefaultResponse >; } @@ -3079,8 +3097,8 @@ export interface AppServicePlansRestartWebApps { /** Restart all apps in an App Service plan. */ post( options?: AppServicePlansRestartWebAppsParameters, - ): Promise< - AppServicePlansRestartWebApps204Response | AppServicePlansRestartWebAppsdefaultResponse + ): StreamableMethod< + AppServicePlansRestartWebApps204Response | AppServicePlansRestartWebAppsDefaultResponse >; } @@ -3088,15 +3106,17 @@ export interface AppServicePlansListWebApps { /** Get all apps associated with an App Service plan. */ get( options?: AppServicePlansListWebAppsParameters, - ): Promise; + ): StreamableMethod< + AppServicePlansListWebApps200Response | AppServicePlansListWebAppsDefaultResponse + >; } export interface AppServicePlansGetServerFarmSkus { /** Gets all selectable SKUs for a given App Service Plan */ get( options?: AppServicePlansGetServerFarmSkusParameters, - ): Promise< - AppServicePlansGetServerFarmSkus200Response | AppServicePlansGetServerFarmSkusdefaultResponse + ): StreamableMethod< + AppServicePlansGetServerFarmSkus200Response | AppServicePlansGetServerFarmSkusDefaultResponse >; } @@ -3104,24 +3124,28 @@ export interface AppServicePlansListUsages { /** Gets server farm usage information */ get( options?: AppServicePlansListUsagesParameters, - ): Promise; + ): StreamableMethod< + AppServicePlansListUsages200Response | AppServicePlansListUsagesDefaultResponse + >; } export interface AppServicePlansListVnets { /** Get all Virtual Networks associated with an App Service plan. */ get( options?: AppServicePlansListVnetsParameters, - ): Promise; + ): StreamableMethod< + AppServicePlansListVnets200Response | AppServicePlansListVnetsDefaultResponse + >; } export interface AppServicePlansGetVnetFromServerFarm { /** Get a Virtual Network associated with an App Service plan. */ get( options?: AppServicePlansGetVnetFromServerFarmParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGetVnetFromServerFarm200Response | AppServicePlansGetVnetFromServerFarm404Response - | AppServicePlansGetVnetFromServerFarmdefaultResponse + | AppServicePlansGetVnetFromServerFarmDefaultResponse >; } @@ -3129,14 +3153,14 @@ export interface AppServicePlansGetVnetGateway { /** Get a Virtual Network gateway. */ get( options?: AppServicePlansGetVnetGatewayParameters, - ): Promise< - AppServicePlansGetVnetGateway200Response | AppServicePlansGetVnetGatewaydefaultResponse + ): StreamableMethod< + AppServicePlansGetVnetGateway200Response | AppServicePlansGetVnetGatewayDefaultResponse >; /** Update a Virtual Network gateway. */ put( options: AppServicePlansUpdateVnetGatewayParameters, - ): Promise< - AppServicePlansUpdateVnetGateway200Response | AppServicePlansUpdateVnetGatewaydefaultResponse + ): StreamableMethod< + AppServicePlansUpdateVnetGateway200Response | AppServicePlansUpdateVnetGatewayDefaultResponse >; } @@ -3144,8 +3168,8 @@ export interface AppServicePlansListRoutesForVnet { /** Get all routes that are associated with a Virtual Network in an App Service plan. */ get( options?: AppServicePlansListRoutesForVnetParameters, - ): Promise< - AppServicePlansListRoutesForVnet200Response | AppServicePlansListRoutesForVnetdefaultResponse + ): StreamableMethod< + AppServicePlansListRoutesForVnet200Response | AppServicePlansListRoutesForVnetDefaultResponse >; } @@ -3153,36 +3177,36 @@ export interface AppServicePlansGetRouteForVnet { /** Get a Virtual Network route in an App Service plan. */ get( options?: AppServicePlansGetRouteForVnetParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGetRouteForVnet200Response | AppServicePlansGetRouteForVnet404Response - | AppServicePlansGetRouteForVnetdefaultResponse + | AppServicePlansGetRouteForVnetDefaultResponse >; /** Create or update a Virtual Network route in an App Service plan. */ put( options: AppServicePlansCreateOrUpdateVnetRouteParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansCreateOrUpdateVnetRoute200Response | AppServicePlansCreateOrUpdateVnetRoute400Response | AppServicePlansCreateOrUpdateVnetRoute404Response - | AppServicePlansCreateOrUpdateVnetRoutedefaultResponse + | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse >; /** Delete a Virtual Network route in an App Service plan. */ delete( options?: AppServicePlansDeleteVnetRouteParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansDeleteVnetRoute200Response | AppServicePlansDeleteVnetRoute404Response - | AppServicePlansDeleteVnetRoutedefaultResponse + | AppServicePlansDeleteVnetRouteDefaultResponse >; /** Create or update a Virtual Network route in an App Service plan. */ patch( options: AppServicePlansUpdateVnetRouteParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansUpdateVnetRoute200Response | AppServicePlansUpdateVnetRoute400Response | AppServicePlansUpdateVnetRoute404Response - | AppServicePlansUpdateVnetRoutedefaultResponse + | AppServicePlansUpdateVnetRouteDefaultResponse >; } @@ -3190,22 +3214,24 @@ export interface AppServicePlansRebootWorker { /** Reboot a worker machine in an App Service plan. */ post( options?: AppServicePlansRebootWorkerParameters, - ): Promise; + ): StreamableMethod< + AppServicePlansRebootWorker204Response | AppServicePlansRebootWorkerDefaultResponse + >; } export interface CertificatesList { /** Get all certificates for a subscription. */ get( options?: CertificatesListParameters, - ): Promise; + ): StreamableMethod; } export interface CertificatesListByResourceGroup { /** Get all certificates in a resource group. */ get( options?: CertificatesListByResourceGroupParameters, - ): Promise< - CertificatesListByResourceGroup200Response | CertificatesListByResourceGroupdefaultResponse + ): StreamableMethod< + CertificatesListByResourceGroup200Response | CertificatesListByResourceGroupDefaultResponse >; } @@ -3213,31 +3239,33 @@ export interface CertificatesGet { /** Get a certificate. */ get( options?: CertificatesGetParameters, - ): Promise; + ): StreamableMethod; /** Create or update a certificate. */ put( options: CertificatesCreateOrUpdateParameters, - ): Promise; + ): StreamableMethod< + CertificatesCreateOrUpdate200Response | CertificatesCreateOrUpdateDefaultResponse + >; /** Delete a certificate. */ delete( options?: CertificatesDeleteParameters, - ): Promise< + ): StreamableMethod< | CertificatesDelete200Response | CertificatesDelete204Response - | CertificatesDeletedefaultResponse + | CertificatesDeleteDefaultResponse >; /** Create or update a certificate. */ patch( options: CertificatesUpdateParameters, - ): Promise; + ): StreamableMethod; } export interface ContainerAppsListBySubscription { /** Get the Container Apps in a given subscription. */ get( options?: ContainerAppsListBySubscriptionParameters, - ): Promise< - ContainerAppsListBySubscription200Response | ContainerAppsListBySubscriptiondefaultResponse + ): StreamableMethod< + ContainerAppsListBySubscription200Response | ContainerAppsListBySubscriptionDefaultResponse >; } @@ -3245,8 +3273,8 @@ export interface ContainerAppsListByResourceGroup { /** Get the Container Apps in a given resource group. */ get( options?: ContainerAppsListByResourceGroupParameters, - ): Promise< - ContainerAppsListByResourceGroup200Response | ContainerAppsListByResourceGroupdefaultResponse + ): StreamableMethod< + ContainerAppsListByResourceGroup200Response | ContainerAppsListByResourceGroupDefaultResponse >; } @@ -3254,25 +3282,25 @@ export interface ContainerAppsGet { /** Get the properties of a Container App. */ get( options?: ContainerAppsGetParameters, - ): Promise< - ContainerAppsGet200Response | ContainerAppsGet404Response | ContainerAppsGetdefaultResponse + ): StreamableMethod< + ContainerAppsGet200Response | ContainerAppsGet404Response | ContainerAppsGetDefaultResponse >; /** Create or update a Container App. */ put( options: ContainerAppsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsCreateOrUpdate200Response | ContainerAppsCreateOrUpdate201Response - | ContainerAppsCreateOrUpdatedefaultResponse + | ContainerAppsCreateOrUpdateDefaultResponse >; /** Delete a Container App. */ delete( options?: ContainerAppsDeleteParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsDelete200Response | ContainerAppsDelete202Response | ContainerAppsDelete204Response - | ContainerAppsDeletedefaultResponse + | ContainerAppsDeleteDefaultResponse >; } @@ -3280,16 +3308,18 @@ export interface ContainerAppsListSecrets { /** List secrets for a container app */ post( options?: ContainerAppsListSecretsParameters, - ): Promise; + ): StreamableMethod< + ContainerAppsListSecrets200Response | ContainerAppsListSecretsDefaultResponse + >; } export interface ContainerAppsRevisionsListRevisions { /** Get the Revisions for a given Container App. */ get( options?: ContainerAppsRevisionsListRevisionsParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsRevisionsListRevisions200Response - | ContainerAppsRevisionsListRevisionsdefaultResponse + | ContainerAppsRevisionsListRevisionsDefaultResponse >; } @@ -3297,8 +3327,8 @@ export interface ContainerAppsRevisionsGetRevision { /** Get a revision of a Container App. */ get( options?: ContainerAppsRevisionsGetRevisionParameters, - ): Promise< - ContainerAppsRevisionsGetRevision200Response | ContainerAppsRevisionsGetRevisiondefaultResponse + ): StreamableMethod< + ContainerAppsRevisionsGetRevision200Response | ContainerAppsRevisionsGetRevisionDefaultResponse >; } @@ -3306,9 +3336,9 @@ export interface ContainerAppsRevisionsActivateRevision { /** Activates a revision for a Container App */ post( options?: ContainerAppsRevisionsActivateRevisionParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsRevisionsActivateRevision200Response - | ContainerAppsRevisionsActivateRevisiondefaultResponse + | ContainerAppsRevisionsActivateRevisionDefaultResponse >; } @@ -3316,9 +3346,9 @@ export interface ContainerAppsRevisionsDeactivateRevision { /** Deactivates a revision for a Container App */ post( options?: ContainerAppsRevisionsDeactivateRevisionParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsRevisionsDeactivateRevision200Response - | ContainerAppsRevisionsDeactivateRevisiondefaultResponse + | ContainerAppsRevisionsDeactivateRevisionDefaultResponse >; } @@ -3326,9 +3356,9 @@ export interface ContainerAppsRevisionsRestartRevision { /** Restarts a revision for a Container App */ post( options?: ContainerAppsRevisionsRestartRevisionParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsRevisionsRestartRevision200Response - | ContainerAppsRevisionsRestartRevisiondefaultResponse + | ContainerAppsRevisionsRestartRevisionDefaultResponse >; } @@ -3336,23 +3366,25 @@ export interface DeletedWebAppsList { /** Get all deleted apps for a subscription. */ get( options?: DeletedWebAppsListParameters, - ): Promise; + ): StreamableMethod; } export interface DeletedWebAppsListByLocation { /** Get all deleted apps for a subscription at location */ get( options?: DeletedWebAppsListByLocationParameters, - ): Promise; + ): StreamableMethod< + DeletedWebAppsListByLocation200Response | DeletedWebAppsListByLocationDefaultResponse + >; } export interface DeletedWebAppsGetDeletedWebAppByLocation { /** Get deleted app for a subscription at location. */ get( options?: DeletedWebAppsGetDeletedWebAppByLocationParameters, - ): Promise< + ): StreamableMethod< | DeletedWebAppsGetDeletedWebAppByLocation200Response - | DeletedWebAppsGetDeletedWebAppByLocationdefaultResponse + | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse >; } @@ -3360,9 +3392,9 @@ export interface DiagnosticsListHostingEnvironmentDetectorResponses { /** List Hosting Environment Detector Responses */ get( options?: DiagnosticsListHostingEnvironmentDetectorResponsesParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListHostingEnvironmentDetectorResponses200Response - | DiagnosticsListHostingEnvironmentDetectorResponsesdefaultResponse + | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse >; } @@ -3370,9 +3402,9 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponse { /** Get Hosting Environment Detector Response */ get( options?: DiagnosticsGetHostingEnvironmentDetectorResponseParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetHostingEnvironmentDetectorResponse200Response - | DiagnosticsGetHostingEnvironmentDetectorResponsedefaultResponse + | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse >; } @@ -3380,9 +3412,9 @@ export interface DiagnosticsListSiteDetectorResponses { /** List Site Detector Responses */ get( options?: DiagnosticsListSiteDetectorResponsesParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListSiteDetectorResponses200Response - | DiagnosticsListSiteDetectorResponsesdefaultResponse + | DiagnosticsListSiteDetectorResponsesDefaultResponse >; } @@ -3390,9 +3422,9 @@ export interface DiagnosticsGetSiteDetectorResponse { /** Get site detector response */ get( options?: DiagnosticsGetSiteDetectorResponseParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetSiteDetectorResponse200Response - | DiagnosticsGetSiteDetectorResponsedefaultResponse + | DiagnosticsGetSiteDetectorResponseDefaultResponse >; } @@ -3400,9 +3432,9 @@ export interface DiagnosticsListSiteDiagnosticCategories { /** Get Diagnostics Categories */ get( options?: DiagnosticsListSiteDiagnosticCategoriesParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListSiteDiagnosticCategories200Response - | DiagnosticsListSiteDiagnosticCategoriesdefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse >; } @@ -3410,9 +3442,9 @@ export interface DiagnosticsGetSiteDiagnosticCategory { /** Get Diagnostics Category */ get( options?: DiagnosticsGetSiteDiagnosticCategoryParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetSiteDiagnosticCategory200Response - | DiagnosticsGetSiteDiagnosticCategorydefaultResponse + | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse >; } @@ -3420,22 +3452,26 @@ export interface DiagnosticsListSiteAnalyses { /** Get Site Analyses */ get( options?: DiagnosticsListSiteAnalysesParameters, - ): Promise; + ): StreamableMethod< + DiagnosticsListSiteAnalyses200Response | DiagnosticsListSiteAnalysesDefaultResponse + >; } export interface DiagnosticsGetSiteAnalysis { /** Get Site Analysis */ get( options?: DiagnosticsGetSiteAnalysisParameters, - ): Promise; + ): StreamableMethod< + DiagnosticsGetSiteAnalysis200Response | DiagnosticsGetSiteAnalysisDefaultResponse + >; } export interface DiagnosticsExecuteSiteAnalysis { /** Execute Analysis */ post( options?: DiagnosticsExecuteSiteAnalysisParameters, - ): Promise< - DiagnosticsExecuteSiteAnalysis200Response | DiagnosticsExecuteSiteAnalysisdefaultResponse + ): StreamableMethod< + DiagnosticsExecuteSiteAnalysis200Response | DiagnosticsExecuteSiteAnalysisDefaultResponse >; } @@ -3443,22 +3479,26 @@ export interface DiagnosticsListSiteDetectors { /** Get Detectors */ get( options?: DiagnosticsListSiteDetectorsParameters, - ): Promise; + ): StreamableMethod< + DiagnosticsListSiteDetectors200Response | DiagnosticsListSiteDetectorsDefaultResponse + >; } export interface DiagnosticsGetSiteDetector { /** Get Detector */ get( options?: DiagnosticsGetSiteDetectorParameters, - ): Promise; + ): StreamableMethod< + DiagnosticsGetSiteDetector200Response | DiagnosticsGetSiteDetectorDefaultResponse + >; } export interface DiagnosticsExecuteSiteDetector { /** Execute Detector */ post( options?: DiagnosticsExecuteSiteDetectorParameters, - ): Promise< - DiagnosticsExecuteSiteDetector200Response | DiagnosticsExecuteSiteDetectordefaultResponse + ): StreamableMethod< + DiagnosticsExecuteSiteDetector200Response | DiagnosticsExecuteSiteDetectorDefaultResponse >; } @@ -3466,9 +3506,9 @@ export interface DiagnosticsListSiteDetectorResponsesSlot { /** List Site Detector Responses */ get( options?: DiagnosticsListSiteDetectorResponsesSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListSiteDetectorResponsesSlot200Response - | DiagnosticsListSiteDetectorResponsesSlotdefaultResponse + | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse >; } @@ -3476,9 +3516,9 @@ export interface DiagnosticsGetSiteDetectorResponseSlot { /** Get site detector response */ get( options?: DiagnosticsGetSiteDetectorResponseSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetSiteDetectorResponseSlot200Response - | DiagnosticsGetSiteDetectorResponseSlotdefaultResponse + | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse >; } @@ -3486,9 +3526,9 @@ export interface DiagnosticsListSiteDiagnosticCategoriesSlot { /** Get Diagnostics Categories */ get( options?: DiagnosticsListSiteDiagnosticCategoriesSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListSiteDiagnosticCategoriesSlot200Response - | DiagnosticsListSiteDiagnosticCategoriesSlotdefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse >; } @@ -3496,9 +3536,9 @@ export interface DiagnosticsGetSiteDiagnosticCategorySlot { /** Get Diagnostics Category */ get( options?: DiagnosticsGetSiteDiagnosticCategorySlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetSiteDiagnosticCategorySlot200Response - | DiagnosticsGetSiteDiagnosticCategorySlotdefaultResponse + | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse >; } @@ -3506,8 +3546,8 @@ export interface DiagnosticsListSiteAnalysesSlot { /** Get Site Analyses */ get( options?: DiagnosticsListSiteAnalysesSlotParameters, - ): Promise< - DiagnosticsListSiteAnalysesSlot200Response | DiagnosticsListSiteAnalysesSlotdefaultResponse + ): StreamableMethod< + DiagnosticsListSiteAnalysesSlot200Response | DiagnosticsListSiteAnalysesSlotDefaultResponse >; } @@ -3515,8 +3555,8 @@ export interface DiagnosticsGetSiteAnalysisSlot { /** Get Site Analysis */ get( options?: DiagnosticsGetSiteAnalysisSlotParameters, - ): Promise< - DiagnosticsGetSiteAnalysisSlot200Response | DiagnosticsGetSiteAnalysisSlotdefaultResponse + ): StreamableMethod< + DiagnosticsGetSiteAnalysisSlot200Response | DiagnosticsGetSiteAnalysisSlotDefaultResponse >; } @@ -3524,9 +3564,9 @@ export interface DiagnosticsExecuteSiteAnalysisSlot { /** Execute Analysis */ post( options?: DiagnosticsExecuteSiteAnalysisSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsExecuteSiteAnalysisSlot200Response - | DiagnosticsExecuteSiteAnalysisSlotdefaultResponse + | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse >; } @@ -3534,8 +3574,8 @@ export interface DiagnosticsListSiteDetectorsSlot { /** Get Detectors */ get( options?: DiagnosticsListSiteDetectorsSlotParameters, - ): Promise< - DiagnosticsListSiteDetectorsSlot200Response | DiagnosticsListSiteDetectorsSlotdefaultResponse + ): StreamableMethod< + DiagnosticsListSiteDetectorsSlot200Response | DiagnosticsListSiteDetectorsSlotDefaultResponse >; } @@ -3543,8 +3583,8 @@ export interface DiagnosticsGetSiteDetectorSlot { /** Get Detector */ get( options?: DiagnosticsGetSiteDetectorSlotParameters, - ): Promise< - DiagnosticsGetSiteDetectorSlot200Response | DiagnosticsGetSiteDetectorSlotdefaultResponse + ): StreamableMethod< + DiagnosticsGetSiteDetectorSlot200Response | DiagnosticsGetSiteDetectorSlotDefaultResponse >; } @@ -3552,9 +3592,9 @@ export interface DiagnosticsExecuteSiteDetectorSlot { /** Execute Detector */ post( options?: DiagnosticsExecuteSiteDetectorSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsExecuteSiteDetectorSlot200Response - | DiagnosticsExecuteSiteDetectorSlotdefaultResponse + | DiagnosticsExecuteSiteDetectorSlotDefaultResponse >; } @@ -3562,15 +3602,15 @@ export interface GlobalGetDeletedWebApp { /** Get deleted app for a subscription. */ get( options?: GlobalGetDeletedWebAppParameters, - ): Promise; + ): StreamableMethod; } export interface GlobalGetDeletedWebAppSnapshots { /** Get all deleted apps for a subscription. */ get( options?: GlobalGetDeletedWebAppSnapshotsParameters, - ): Promise< - GlobalGetDeletedWebAppSnapshots200Response | GlobalGetDeletedWebAppSnapshotsdefaultResponse + ): StreamableMethod< + GlobalGetDeletedWebAppSnapshots200Response | GlobalGetDeletedWebAppSnapshotsDefaultResponse >; } @@ -3578,9 +3618,9 @@ export interface GlobalGetSubscriptionOperationWithAsyncResponse { /** Gets an operation in a subscription and given region */ get( options?: GlobalGetSubscriptionOperationWithAsyncResponseParameters, - ): Promise< + ): StreamableMethod< | GlobalGetSubscriptionOperationWithAsyncResponse204Response - | GlobalGetSubscriptionOperationWithAsyncResponsedefaultResponse + | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse >; } @@ -3588,9 +3628,9 @@ export interface KubeEnvironmentsListBySubscription { /** Get all Kubernetes Environments for a subscription. */ get( options?: KubeEnvironmentsListBySubscriptionParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsListBySubscription200Response - | KubeEnvironmentsListBySubscriptiondefaultResponse + | KubeEnvironmentsListBySubscriptionDefaultResponse >; } @@ -3598,9 +3638,9 @@ export interface KubeEnvironmentsListByResourceGroup { /** Get all the Kubernetes Environments in a resource group. */ get( options?: KubeEnvironmentsListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsListByResourceGroup200Response - | KubeEnvironmentsListByResourceGroupdefaultResponse + | KubeEnvironmentsListByResourceGroupDefaultResponse >; } @@ -3608,31 +3648,31 @@ export interface KubeEnvironmentsGet { /** Get the properties of a Kubernetes Environment. */ get( options?: KubeEnvironmentsGetParameters, - ): Promise; + ): StreamableMethod; /** Creates or updates a Kubernetes Environment. */ put( options: KubeEnvironmentsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsCreateOrUpdate200Response | KubeEnvironmentsCreateOrUpdate201Response - | KubeEnvironmentsCreateOrUpdatedefaultResponse + | KubeEnvironmentsCreateOrUpdateDefaultResponse >; /** Delete a Kubernetes Environment. */ delete( options?: KubeEnvironmentsDeleteParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsDelete200Response | KubeEnvironmentsDelete202Response | KubeEnvironmentsDelete204Response - | KubeEnvironmentsDeletedefaultResponse + | KubeEnvironmentsDeleteDefaultResponse >; /** Creates or updates a Kubernetes Environment. */ patch( options: KubeEnvironmentsUpdateParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsUpdate200Response | KubeEnvironmentsUpdate201Response - | KubeEnvironmentsUpdatedefaultResponse + | KubeEnvironmentsUpdateDefaultResponse >; } @@ -3640,23 +3680,27 @@ export interface ProviderGetAvailableStacks { /** Get available application frameworks and their versions */ get( options?: ProviderGetAvailableStacksParameters, - ): Promise; + ): StreamableMethod< + ProviderGetAvailableStacks200Response | ProviderGetAvailableStacksDefaultResponse + >; } export interface ProviderGetFunctionAppStacks { /** Get available Function app frameworks and their versions */ get( options?: ProviderGetFunctionAppStacksParameters, - ): Promise; + ): StreamableMethod< + ProviderGetFunctionAppStacks200Response | ProviderGetFunctionAppStacksDefaultResponse + >; } export interface ProviderGetFunctionAppStacksForLocation { /** Get available Function app frameworks and their versions for location */ get( options?: ProviderGetFunctionAppStacksForLocationParameters, - ): Promise< + ): StreamableMethod< | ProviderGetFunctionAppStacksForLocation200Response - | ProviderGetFunctionAppStacksForLocationdefaultResponse + | ProviderGetFunctionAppStacksForLocationDefaultResponse >; } @@ -3664,9 +3708,9 @@ export interface ProviderGetWebAppStacksForLocation { /** Get available Web app frameworks and their versions for location */ get( options?: ProviderGetWebAppStacksForLocationParameters, - ): Promise< + ): StreamableMethod< | ProviderGetWebAppStacksForLocation200Response - | ProviderGetWebAppStacksForLocationdefaultResponse + | ProviderGetWebAppStacksForLocationDefaultResponse >; } @@ -3674,22 +3718,22 @@ export interface ProviderListOperations { /** Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions */ get( options?: ProviderListOperationsParameters, - ): Promise; + ): StreamableMethod; } export interface ProviderGetWebAppStacks { /** Get available Web app frameworks and their versions */ get( options?: ProviderGetWebAppStacksParameters, - ): Promise; + ): StreamableMethod; } export interface ProviderGetAvailableStacksOnPrem { /** Get available application frameworks and their versions */ get( options?: ProviderGetAvailableStacksOnPremParameters, - ): Promise< - ProviderGetAvailableStacksOnPrem200Response | ProviderGetAvailableStacksOnPremdefaultResponse + ): StreamableMethod< + ProviderGetAvailableStacksOnPrem200Response | ProviderGetAvailableStacksOnPremDefaultResponse >; } @@ -3697,15 +3741,15 @@ export interface RecommendationsList { /** List all recommendations for a subscription. */ get( options?: RecommendationsListParameters, - ): Promise; + ): StreamableMethod; } export interface RecommendationsResetAllFilters { /** Reset all recommendation opt-out settings for a subscription. */ post( options?: RecommendationsResetAllFiltersParameters, - ): Promise< - RecommendationsResetAllFilters204Response | RecommendationsResetAllFiltersdefaultResponse + ): StreamableMethod< + RecommendationsResetAllFilters204Response | RecommendationsResetAllFiltersDefaultResponse >; } @@ -3713,9 +3757,9 @@ export interface RecommendationsDisableRecommendationForSubscription { /** Disables the specified rule so it will not apply to a subscription in the future. */ post( options?: RecommendationsDisableRecommendationForSubscriptionParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableRecommendationForSubscription200Response - | RecommendationsDisableRecommendationForSubscriptiondefaultResponse + | RecommendationsDisableRecommendationForSubscriptionDefaultResponse >; } @@ -3723,9 +3767,9 @@ export interface RecommendationsListHistoryForHostingEnvironment { /** Get past recommendations for an app, optionally specified by the time range. */ get( options?: RecommendationsListHistoryForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsListHistoryForHostingEnvironment200Response - | RecommendationsListHistoryForHostingEnvironmentdefaultResponse + | RecommendationsListHistoryForHostingEnvironmentDefaultResponse >; } @@ -3733,9 +3777,9 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironment { /** Get all recommendations for a hosting environment. */ get( options?: RecommendationsListRecommendedRulesForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsListRecommendedRulesForHostingEnvironment200Response - | RecommendationsListRecommendedRulesForHostingEnvironmentdefaultResponse + | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse >; } @@ -3743,9 +3787,9 @@ export interface RecommendationsDisableAllForHostingEnvironment { /** Disable all recommendations for an app. */ post( options: RecommendationsDisableAllForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableAllForHostingEnvironment204Response - | RecommendationsDisableAllForHostingEnvironmentdefaultResponse + | RecommendationsDisableAllForHostingEnvironmentDefaultResponse >; } @@ -3753,9 +3797,9 @@ export interface RecommendationsResetAllFiltersForHostingEnvironment { /** Reset all recommendation opt-out settings for an app. */ post( options: RecommendationsResetAllFiltersForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsResetAllFiltersForHostingEnvironment204Response - | RecommendationsResetAllFiltersForHostingEnvironmentdefaultResponse + | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse >; } @@ -3763,9 +3807,9 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironment { /** Get a recommendation rule for an app. */ get( options?: RecommendationsGetRuleDetailsByHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsGetRuleDetailsByHostingEnvironment200Response - | RecommendationsGetRuleDetailsByHostingEnvironmentdefaultResponse + | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse >; } @@ -3773,9 +3817,9 @@ export interface RecommendationsDisableRecommendationForHostingEnvironment { /** Disables the specific rule for a web site permanently. */ post( options: RecommendationsDisableRecommendationForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableRecommendationForHostingEnvironment200Response - | RecommendationsDisableRecommendationForHostingEnvironmentdefaultResponse + | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse >; } @@ -3783,9 +3827,9 @@ export interface RecommendationsListHistoryForWebApp { /** Get past recommendations for an app, optionally specified by the time range. */ get( options?: RecommendationsListHistoryForWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsListHistoryForWebApp200Response - | RecommendationsListHistoryForWebAppdefaultResponse + | RecommendationsListHistoryForWebAppDefaultResponse >; } @@ -3793,9 +3837,9 @@ export interface RecommendationsListRecommendedRulesForWebApp { /** Get all recommendations for an app. */ get( options?: RecommendationsListRecommendedRulesForWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsListRecommendedRulesForWebApp200Response - | RecommendationsListRecommendedRulesForWebAppdefaultResponse + | RecommendationsListRecommendedRulesForWebAppDefaultResponse >; } @@ -3803,9 +3847,9 @@ export interface RecommendationsDisableAllForWebApp { /** Disable all recommendations for an app. */ post( options?: RecommendationsDisableAllForWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableAllForWebApp204Response - | RecommendationsDisableAllForWebAppdefaultResponse + | RecommendationsDisableAllForWebAppDefaultResponse >; } @@ -3813,9 +3857,9 @@ export interface RecommendationsResetAllFiltersForWebApp { /** Reset all recommendation opt-out settings for an app. */ post( options?: RecommendationsResetAllFiltersForWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsResetAllFiltersForWebApp204Response - | RecommendationsResetAllFiltersForWebAppdefaultResponse + | RecommendationsResetAllFiltersForWebAppDefaultResponse >; } @@ -3823,9 +3867,9 @@ export interface RecommendationsGetRuleDetailsByWebApp { /** Get a recommendation rule for an app. */ get( options?: RecommendationsGetRuleDetailsByWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsGetRuleDetailsByWebApp200Response - | RecommendationsGetRuleDetailsByWebAppdefaultResponse + | RecommendationsGetRuleDetailsByWebAppDefaultResponse >; } @@ -3833,9 +3877,9 @@ export interface RecommendationsDisableRecommendationForSite { /** Disables the specific rule for a web site permanently. */ post( options?: RecommendationsDisableRecommendationForSiteParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableRecommendationForSite200Response - | RecommendationsDisableRecommendationForSitedefaultResponse + | RecommendationsDisableRecommendationForSiteDefaultResponse >; } @@ -3843,16 +3887,18 @@ export interface ResourceHealthMetadataList { /** List all ResourceHealthMetadata for all sites in the subscription. */ get( options?: ResourceHealthMetadataListParameters, - ): Promise; + ): StreamableMethod< + ResourceHealthMetadataList200Response | ResourceHealthMetadataListDefaultResponse + >; } export interface ResourceHealthMetadataListByResourceGroup { /** List all ResourceHealthMetadata for all sites in the resource group in the subscription. */ get( options?: ResourceHealthMetadataListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | ResourceHealthMetadataListByResourceGroup200Response - | ResourceHealthMetadataListByResourceGroupdefaultResponse + | ResourceHealthMetadataListByResourceGroupDefaultResponse >; } @@ -3860,8 +3906,8 @@ export interface ResourceHealthMetadataListBySite { /** Gets the category of ResourceHealthMetadata to use for the given site as a collection */ get( options?: ResourceHealthMetadataListBySiteParameters, - ): Promise< - ResourceHealthMetadataListBySite200Response | ResourceHealthMetadataListBySitedefaultResponse + ): StreamableMethod< + ResourceHealthMetadataListBySite200Response | ResourceHealthMetadataListBySiteDefaultResponse >; } @@ -3869,8 +3915,8 @@ export interface ResourceHealthMetadataGetBySite { /** Gets the category of ResourceHealthMetadata to use for the given site */ get( options?: ResourceHealthMetadataGetBySiteParameters, - ): Promise< - ResourceHealthMetadataGetBySite200Response | ResourceHealthMetadataGetBySitedefaultResponse + ): StreamableMethod< + ResourceHealthMetadataGetBySite200Response | ResourceHealthMetadataGetBySiteDefaultResponse >; } @@ -3878,9 +3924,9 @@ export interface ResourceHealthMetadataListBySiteSlot { /** Gets the category of ResourceHealthMetadata to use for the given site as a collection */ get( options?: ResourceHealthMetadataListBySiteSlotParameters, - ): Promise< + ): StreamableMethod< | ResourceHealthMetadataListBySiteSlot200Response - | ResourceHealthMetadataListBySiteSlotdefaultResponse + | ResourceHealthMetadataListBySiteSlotDefaultResponse >; } @@ -3888,9 +3934,9 @@ export interface ResourceHealthMetadataGetBySiteSlot { /** Gets the category of ResourceHealthMetadata to use for the given site */ get( options?: ResourceHealthMetadataGetBySiteSlotParameters, - ): Promise< + ): StreamableMethod< | ResourceHealthMetadataGetBySiteSlot200Response - | ResourceHealthMetadataGetBySiteSlotdefaultResponse + | ResourceHealthMetadataGetBySiteSlotDefaultResponse >; } @@ -3898,59 +3944,59 @@ export interface GetPublishingUser { /** Gets publishing user */ get( options?: GetPublishingUserParameters, - ): Promise; + ): StreamableMethod; /** Updates publishing user */ put( options: UpdatePublishingUserParameters, - ): Promise; + ): StreamableMethod; } export interface ListSourceControls { /** Gets the source controls available for Azure websites. */ get( options?: ListSourceControlsParameters, - ): Promise; + ): StreamableMethod; } export interface GetSourceControl { /** Gets source control token */ get( options?: GetSourceControlParameters, - ): Promise; + ): StreamableMethod; /** Updates source control token */ put( options: UpdateSourceControlParameters, - ): Promise; + ): StreamableMethod; } export interface ListBillingMeters { /** Gets a list of meters for a given location. */ get( options?: ListBillingMetersParameters, - ): Promise; + ): StreamableMethod; } export interface CheckNameAvailability { /** Check if a resource name is available. */ post( options: CheckNameAvailabilityParameters, - ): Promise; + ): StreamableMethod; } export interface ListCustomHostNameSites { /** Get custom hostnames under this subscription */ get( options?: ListCustomHostNameSitesParameters, - ): Promise; + ): StreamableMethod; } export interface GetSubscriptionDeploymentLocations { /** Gets list of available geo regions plus ministamps */ get( options?: GetSubscriptionDeploymentLocationsParameters, - ): Promise< + ): StreamableMethod< | GetSubscriptionDeploymentLocations200Response - | GetSubscriptionDeploymentLocationsdefaultResponse + | GetSubscriptionDeploymentLocationsDefaultResponse >; } @@ -3958,16 +4004,16 @@ export interface ListGeoRegions { /** Get a list of available geographical regions. */ get( options?: ListGeoRegionsParameters, - ): Promise; + ): StreamableMethod; } export interface ListSiteIdentifiersAssignedToHostName { /** List all apps that are assigned to a hostname. */ post( options: ListSiteIdentifiersAssignedToHostNameParameters, - ): Promise< + ): StreamableMethod< | ListSiteIdentifiersAssignedToHostName200Response - | ListSiteIdentifiersAssignedToHostNamedefaultResponse + | ListSiteIdentifiersAssignedToHostNameDefaultResponse >; } @@ -3975,59 +4021,67 @@ export interface ListPremierAddOnOffers { /** List all premier add-on offers. */ get( options?: ListPremierAddOnOffersParameters, - ): Promise; + ): StreamableMethod; } export interface ListSkus { /** List all SKUs. */ - get(options?: ListSkusParameters): Promise; + get( + options?: ListSkusParameters, + ): StreamableMethod; } export interface VerifyHostingEnvironmentVnet { /** Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. */ post( options: VerifyHostingEnvironmentVnetParameters, - ): Promise; + ): StreamableMethod< + VerifyHostingEnvironmentVnet200Response | VerifyHostingEnvironmentVnetDefaultResponse + >; } export interface Move { /** Move resources between resource groups. */ - post(options: MoveParameters): Promise; + post(options: MoveParameters): StreamableMethod; } export interface Validate { /** Validate if a resource can be created. */ - post(options: ValidateParameters): Promise; + post( + options: ValidateParameters, + ): StreamableMethod; } export interface ValidateMove { /** Validate whether a resource can be moved. */ post( options: ValidateMoveParameters, - ): Promise; + ): StreamableMethod; } export interface StaticSitesPreviewWorkflow { /** Generates a preview workflow file for the static site */ post( options: StaticSitesPreviewWorkflowParameters, - ): Promise; + ): StreamableMethod< + StaticSitesPreviewWorkflow200Response | StaticSitesPreviewWorkflowDefaultResponse + >; } export interface StaticSitesList { /** Get all Static Sites for a subscription. */ get( options?: StaticSitesListParameters, - ): Promise; + ): StreamableMethod; } export interface StaticSitesGetStaticSitesByResourceGroup { /** Gets all static sites in the specified resource group. */ get( options?: StaticSitesGetStaticSitesByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetStaticSitesByResourceGroup200Response - | StaticSitesGetStaticSitesByResourceGroupdefaultResponse + | StaticSitesGetStaticSitesByResourceGroupDefaultResponse >; } @@ -4035,30 +4089,32 @@ export interface StaticSitesGetStaticSite { /** Gets the details of a static site. */ get( options?: StaticSitesGetStaticSiteParameters, - ): Promise; + ): StreamableMethod< + StaticSitesGetStaticSite200Response | StaticSitesGetStaticSiteDefaultResponse + >; /** Creates a new static site in an existing resource group, or updates an existing static site. */ put( options: StaticSitesCreateOrUpdateStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSite200Response | StaticSitesCreateOrUpdateStaticSite202Response - | StaticSitesCreateOrUpdateStaticSitedefaultResponse + | StaticSitesCreateOrUpdateStaticSiteDefaultResponse >; /** Deletes a static site. */ delete( options?: StaticSitesDeleteStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDeleteStaticSite200Response | StaticSitesDeleteStaticSite202Response - | StaticSitesDeleteStaticSitedefaultResponse + | StaticSitesDeleteStaticSiteDefaultResponse >; /** Creates a new static site in an existing resource group, or updates an existing static site. */ patch( options: StaticSitesUpdateStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesUpdateStaticSite200Response | StaticSitesUpdateStaticSite202Response - | StaticSitesUpdateStaticSitedefaultResponse + | StaticSitesUpdateStaticSiteDefaultResponse >; } @@ -4066,8 +4122,8 @@ export interface StaticSitesListStaticSiteUsers { /** Gets the list of users of a static site. */ post( options?: StaticSitesListStaticSiteUsersParameters, - ): Promise< - StaticSitesListStaticSiteUsers200Response | StaticSitesListStaticSiteUsersdefaultResponse + ): StreamableMethod< + StaticSitesListStaticSiteUsers200Response | StaticSitesListStaticSiteUsersDefaultResponse >; } @@ -4075,14 +4131,14 @@ export interface StaticSitesDeleteStaticSiteUser { /** Deletes the user entry from the static site. */ delete( options?: StaticSitesDeleteStaticSiteUserParameters, - ): Promise< - StaticSitesDeleteStaticSiteUser200Response | StaticSitesDeleteStaticSiteUserdefaultResponse + ): StreamableMethod< + StaticSitesDeleteStaticSiteUser200Response | StaticSitesDeleteStaticSiteUserDefaultResponse >; /** Updates a user entry with the listed roles */ patch( options: StaticSitesUpdateStaticSiteUserParameters, - ): Promise< - StaticSitesUpdateStaticSiteUser200Response | StaticSitesUpdateStaticSiteUserdefaultResponse + ): StreamableMethod< + StaticSitesUpdateStaticSiteUser200Response | StaticSitesUpdateStaticSiteUserDefaultResponse >; } @@ -4090,8 +4146,8 @@ export interface StaticSitesGetStaticSiteBuilds { /** Gets all static site builds for a particular static site. */ get( options?: StaticSitesGetStaticSiteBuildsParameters, - ): Promise< - StaticSitesGetStaticSiteBuilds200Response | StaticSitesGetStaticSiteBuildsdefaultResponse + ): StreamableMethod< + StaticSitesGetStaticSiteBuilds200Response | StaticSitesGetStaticSiteBuildsDefaultResponse >; } @@ -4099,17 +4155,17 @@ export interface StaticSitesGetStaticSiteBuild { /** Gets the details of a static site build. */ get( options?: StaticSitesGetStaticSiteBuildParameters, - ): Promise< - StaticSitesGetStaticSiteBuild200Response | StaticSitesGetStaticSiteBuilddefaultResponse + ): StreamableMethod< + StaticSitesGetStaticSiteBuild200Response | StaticSitesGetStaticSiteBuildDefaultResponse >; /** Deletes a static site build. */ delete( options?: StaticSitesDeleteStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDeleteStaticSiteBuild200Response | StaticSitesDeleteStaticSiteBuild202Response | StaticSitesDeleteStaticSiteBuild204Response - | StaticSitesDeleteStaticSiteBuilddefaultResponse + | StaticSitesDeleteStaticSiteBuildDefaultResponse >; } @@ -4117,9 +4173,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettings { /** Creates or updates the app settings of a static site build. */ put( options: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response - | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsdefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse >; } @@ -4127,9 +4183,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings { /** Creates or updates the function app settings of a static site build. */ put( options: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response - | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsdefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse >; } @@ -4137,9 +4193,9 @@ export interface StaticSitesListStaticSiteBuildFunctions { /** Gets the functions of a particular static site build. */ get( options?: StaticSitesListStaticSiteBuildFunctionsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteBuildFunctions200Response - | StaticSitesListStaticSiteBuildFunctionsdefaultResponse + | StaticSitesListStaticSiteBuildFunctionsDefaultResponse >; } @@ -4147,9 +4203,9 @@ export interface StaticSitesListStaticSiteBuildAppSettings { /** Gets the application settings of a static site build. */ post( options?: StaticSitesListStaticSiteBuildAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteBuildAppSettings200Response - | StaticSitesListStaticSiteBuildAppSettingsdefaultResponse + | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse >; } @@ -4157,9 +4213,9 @@ export interface StaticSitesListStaticSiteBuildFunctionAppSettings { /** Gets the application settings of a static site build. */ post( options?: StaticSitesListStaticSiteBuildFunctionAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteBuildFunctionAppSettings200Response - | StaticSitesListStaticSiteBuildFunctionAppSettingsdefaultResponse + | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse >; } @@ -4167,9 +4223,9 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild { /** Gets the details of the user provided function apps registered with a static site build */ get( options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response - | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuilddefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse >; } @@ -4177,25 +4233,25 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild { /** Gets the details of the user provided function app registered with a static site build */ get( options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response - | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuilddefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse >; /** Register a user provided function app with a static site build */ put( options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response - | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuilddefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse >; /** Detach the user provided function app from the static site build */ delete( options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response - | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuilddefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse >; } @@ -4203,10 +4259,10 @@ export interface StaticSitesCreateZipDeploymentForStaticSiteBuild { /** Deploys zipped content to a specific environment of a static site. */ post( options: StaticSitesCreateZipDeploymentForStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateZipDeploymentForStaticSiteBuild200Response | StaticSitesCreateZipDeploymentForStaticSiteBuild202Response - | StaticSitesCreateZipDeploymentForStaticSiteBuilddefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse >; } @@ -4214,9 +4270,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteAppSettings { /** Creates or updates the app settings of a static site. */ put( options: StaticSitesCreateOrUpdateStaticSiteAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteAppSettings200Response - | StaticSitesCreateOrUpdateStaticSiteAppSettingsdefaultResponse + | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse >; } @@ -4224,9 +4280,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings { /** Creates or updates the function app settings of a static site. */ put( options: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response - | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsdefaultResponse + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse >; } @@ -4234,9 +4290,9 @@ export interface StaticSitesCreateUserRolesInvitationLink { /** Creates an invitation link for a user with the role */ post( options: StaticSitesCreateUserRolesInvitationLinkParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateUserRolesInvitationLink200Response - | StaticSitesCreateUserRolesInvitationLinkdefaultResponse + | StaticSitesCreateUserRolesInvitationLinkDefaultResponse >; } @@ -4244,9 +4300,9 @@ export interface StaticSitesListStaticSiteCustomDomains { /** Gets all static site custom domains for a particular static site. */ get( options?: StaticSitesListStaticSiteCustomDomainsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteCustomDomains200Response - | StaticSitesListStaticSiteCustomDomainsdefaultResponse + | StaticSitesListStaticSiteCustomDomainsDefaultResponse >; } @@ -4254,25 +4310,25 @@ export interface StaticSitesGetStaticSiteCustomDomain { /** Gets an existing custom domain for a particular static site. */ get( options?: StaticSitesGetStaticSiteCustomDomainParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetStaticSiteCustomDomain200Response - | StaticSitesGetStaticSiteCustomDomaindefaultResponse + | StaticSitesGetStaticSiteCustomDomainDefaultResponse >; /** Creates a new static site custom domain in an existing resource group and static site. */ put( options: StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response | StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response - | StaticSitesCreateOrUpdateStaticSiteCustomDomaindefaultResponse + | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse >; /** Deletes a custom domain. */ delete( options?: StaticSitesDeleteStaticSiteCustomDomainParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDeleteStaticSiteCustomDomain200Response | StaticSitesDeleteStaticSiteCustomDomain202Response - | StaticSitesDeleteStaticSiteCustomDomaindefaultResponse + | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse >; } @@ -4280,10 +4336,10 @@ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite { /** Validates a particular custom domain can be added to a static site. */ post( options: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response | StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response - | StaticSitesValidateCustomDomainCanBeAddedToStaticSitedefaultResponse + | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse >; } @@ -4291,10 +4347,10 @@ export interface StaticSitesDetachStaticSite { /** Detaches a static site. */ post( options?: StaticSitesDetachStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDetachStaticSite200Response | StaticSitesDetachStaticSite202Response - | StaticSitesDetachStaticSitedefaultResponse + | StaticSitesDetachStaticSiteDefaultResponse >; } @@ -4302,9 +4358,9 @@ export interface StaticSitesListStaticSiteFunctions { /** Gets the functions of a static site. */ get( options?: StaticSitesListStaticSiteFunctionsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteFunctions200Response - | StaticSitesListStaticSiteFunctionsdefaultResponse + | StaticSitesListStaticSiteFunctionsDefaultResponse >; } @@ -4312,9 +4368,9 @@ export interface StaticSitesListStaticSiteAppSettings { /** Gets the application settings of a static site. */ post( options?: StaticSitesListStaticSiteAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteAppSettings200Response - | StaticSitesListStaticSiteAppSettingsdefaultResponse + | StaticSitesListStaticSiteAppSettingsDefaultResponse >; } @@ -4322,9 +4378,9 @@ export interface StaticSitesListStaticSiteConfiguredRoles { /** Lists the roles configured for the static site. */ post( options?: StaticSitesListStaticSiteConfiguredRolesParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteConfiguredRoles200Response - | StaticSitesListStaticSiteConfiguredRolesdefaultResponse + | StaticSitesListStaticSiteConfiguredRolesDefaultResponse >; } @@ -4332,9 +4388,9 @@ export interface StaticSitesListStaticSiteFunctionAppSettings { /** Gets the application settings of a static site. */ post( options?: StaticSitesListStaticSiteFunctionAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteFunctionAppSettings200Response - | StaticSitesListStaticSiteFunctionAppSettingsdefaultResponse + | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse >; } @@ -4342,8 +4398,8 @@ export interface StaticSitesListStaticSiteSecrets { /** Lists the secrets for an existing static site. */ post( options?: StaticSitesListStaticSiteSecretsParameters, - ): Promise< - StaticSitesListStaticSiteSecrets200Response | StaticSitesListStaticSiteSecretsdefaultResponse + ): StreamableMethod< + StaticSitesListStaticSiteSecrets200Response | StaticSitesListStaticSiteSecretsDefaultResponse >; } @@ -4351,9 +4407,9 @@ export interface StaticSitesGetPrivateEndpointConnectionList { /** Gets the list of private endpoint connections associated with a static site */ get( options?: StaticSitesGetPrivateEndpointConnectionListParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetPrivateEndpointConnectionList200Response - | StaticSitesGetPrivateEndpointConnectionListdefaultResponse + | StaticSitesGetPrivateEndpointConnectionListDefaultResponse >; } @@ -4361,26 +4417,26 @@ export interface StaticSitesGetPrivateEndpointConnection { /** Gets a private endpoint connection */ get( options?: StaticSitesGetPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetPrivateEndpointConnection200Response - | StaticSitesGetPrivateEndpointConnectiondefaultResponse + | StaticSitesGetPrivateEndpointConnectionDefaultResponse >; /** Approves or rejects a private endpoint connection */ put( options: StaticSitesApproveOrRejectPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | StaticSitesApproveOrRejectPrivateEndpointConnection200Response | StaticSitesApproveOrRejectPrivateEndpointConnection202Response - | StaticSitesApproveOrRejectPrivateEndpointConnectiondefaultResponse + | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse >; /** Deletes a private endpoint connection */ delete( options?: StaticSitesDeletePrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDeletePrivateEndpointConnection200Response | StaticSitesDeletePrivateEndpointConnection202Response | StaticSitesDeletePrivateEndpointConnection204Response - | StaticSitesDeletePrivateEndpointConnectiondefaultResponse + | StaticSitesDeletePrivateEndpointConnectionDefaultResponse >; } @@ -4388,9 +4444,9 @@ export interface StaticSitesGetPrivateLinkResources { /** Gets the private link resources */ get( options?: StaticSitesGetPrivateLinkResourcesParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetPrivateLinkResources200Response - | StaticSitesGetPrivateLinkResourcesdefaultResponse + | StaticSitesGetPrivateLinkResourcesDefaultResponse >; } @@ -4398,8 +4454,8 @@ export interface StaticSitesResetStaticSiteApiKey { /** Resets the api key for an existing static site. */ post( options: StaticSitesResetStaticSiteApiKeyParameters, - ): Promise< - StaticSitesResetStaticSiteApiKey200Response | StaticSitesResetStaticSiteApiKeydefaultResponse + ): StreamableMethod< + StaticSitesResetStaticSiteApiKey200Response | StaticSitesResetStaticSiteApiKeyDefaultResponse >; } @@ -4407,9 +4463,9 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSite { /** Gets the details of the user provided function apps registered with a static site */ get( options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response - | StaticSitesGetUserProvidedFunctionAppsForStaticSitedefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse >; } @@ -4417,25 +4473,25 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSite { /** Gets the details of the user provided function app registered with a static site */ get( options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetUserProvidedFunctionAppForStaticSite200Response - | StaticSitesGetUserProvidedFunctionAppForStaticSitedefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse >; /** Register a user provided function app with a static site */ put( options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response - | StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse >; /** Detach the user provided function app from the static site */ delete( options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response - | StaticSitesDetachUserProvidedFunctionAppFromStaticSitedefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse >; } @@ -4443,10 +4499,10 @@ export interface StaticSitesCreateZipDeploymentForStaticSite { /** Deploys zipped content to a static site. */ post( options: StaticSitesCreateZipDeploymentForStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateZipDeploymentForStaticSite200Response | StaticSitesCreateZipDeploymentForStaticSite202Response - | StaticSitesCreateZipDeploymentForStaticSitedefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse >; } @@ -4454,58 +4510,64 @@ export interface WebAppsList { /** Get all apps for a subscription. */ get( options?: WebAppsListParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListByResourceGroup { /** Gets all web, mobile, and API apps in the specified resource group. */ get( options?: WebAppsListByResourceGroupParameters, - ): Promise; + ): StreamableMethod< + WebAppsListByResourceGroup200Response | WebAppsListByResourceGroupDefaultResponse + >; } export interface WebAppsGet { /** Gets the details of a web, mobile, or API app. */ get( options?: WebAppsGetParameters, - ): Promise; + ): StreamableMethod; /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ put( options: WebAppsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdate200Response | WebAppsCreateOrUpdate202Response - | WebAppsCreateOrUpdatedefaultResponse + | WebAppsCreateOrUpdateDefaultResponse >; /** Deletes a web, mobile, or API app, or one of the deployment slots. */ delete( options?: WebAppsDeleteParameters, - ): Promise< + ): StreamableMethod< | WebAppsDelete200Response | WebAppsDelete204Response | WebAppsDelete404Response - | WebAppsDeletedefaultResponse + | WebAppsDeleteDefaultResponse >; /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ patch( options: WebAppsUpdateParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdate200Response | WebAppsUpdate202Response | WebAppsUpdateDefaultResponse + >; } export interface WebAppsAnalyzeCustomHostname { /** Analyze a custom hostname. */ get( options?: WebAppsAnalyzeCustomHostnameParameters, - ): Promise; + ): StreamableMethod< + WebAppsAnalyzeCustomHostname200Response | WebAppsAnalyzeCustomHostnameDefaultResponse + >; } export interface WebAppsApplySlotConfigToProduction { /** Applies the configuration settings from the target slot onto the current slot. */ post( options: WebAppsApplySlotConfigToProductionParameters, - ): Promise< + ): StreamableMethod< | WebAppsApplySlotConfigToProduction200Response - | WebAppsApplySlotConfigToProductiondefaultResponse + | WebAppsApplySlotConfigToProductionDefaultResponse >; } @@ -4513,28 +4575,28 @@ export interface WebAppsBackup { /** Creates a backup of an app. */ post( options: WebAppsBackupParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListBackups { /** Gets existing backups of an app. */ get( options?: WebAppsListBackupsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetBackupStatus { /** Gets a backup of an app by its ID. */ get( options?: WebAppsGetBackupStatusParameters, - ): Promise; + ): StreamableMethod; /** Deletes a backup of an app by its ID. */ delete( options?: WebAppsDeleteBackupParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteBackup200Response | WebAppsDeleteBackup404Response - | WebAppsDeleteBackupdefaultResponse + | WebAppsDeleteBackupDefaultResponse >; } @@ -4542,8 +4604,8 @@ export interface WebAppsListBackupStatusSecrets { /** Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. */ post( options: WebAppsListBackupStatusSecretsParameters, - ): Promise< - WebAppsListBackupStatusSecrets200Response | WebAppsListBackupStatusSecretsdefaultResponse + ): StreamableMethod< + WebAppsListBackupStatusSecrets200Response | WebAppsListBackupStatusSecretsDefaultResponse >; } @@ -4551,16 +4613,18 @@ export interface WebAppsRestore { /** Restores a specific backup to another app (or deployment slot, if specified). */ post( options: WebAppsRestoreParameters, - ): Promise; + ): StreamableMethod< + WebAppsRestore200Response | WebAppsRestore202Response | WebAppsRestoreDefaultResponse + >; } export interface WebAppsListBasicPublishingCredentialsPolicies { /** Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. */ get( options?: WebAppsListBasicPublishingCredentialsPoliciesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListBasicPublishingCredentialsPolicies200Response - | WebAppsListBasicPublishingCredentialsPoliciesdefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse >; } @@ -4568,37 +4632,39 @@ export interface WebAppsGetFtpAllowed { /** Returns whether FTP is allowed on the site or not. */ get( options?: WebAppsGetFtpAllowedParameters, - ): Promise; + ): StreamableMethod; /** Updates whether FTP is allowed on the site or not. */ put( options: WebAppsUpdateFtpAllowedParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetScmAllowed { /** Returns whether Scm basic auth is allowed on the site or not. */ get( options?: WebAppsGetScmAllowedParameters, - ): Promise; + ): StreamableMethod; /** Updates whether user publishing credentials are allowed on the site or not. */ put( options: WebAppsUpdateScmAllowedParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListConfigurations { /** List the configurations of an app */ get( options?: WebAppsListConfigurationsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListConfigurations200Response | WebAppsListConfigurationsDefaultResponse + >; } export interface WebAppsUpdateApplicationSettings { /** Replaces the application settings of an app. */ put( options: WebAppsUpdateApplicationSettingsParameters, - ): Promise< - WebAppsUpdateApplicationSettings200Response | WebAppsUpdateApplicationSettingsdefaultResponse + ): StreamableMethod< + WebAppsUpdateApplicationSettings200Response | WebAppsUpdateApplicationSettingsDefaultResponse >; } @@ -4606,8 +4672,8 @@ export interface WebAppsListApplicationSettings { /** Gets the application settings of an app. */ post( options?: WebAppsListApplicationSettingsParameters, - ): Promise< - WebAppsListApplicationSettings200Response | WebAppsListApplicationSettingsdefaultResponse + ): StreamableMethod< + WebAppsListApplicationSettings200Response | WebAppsListApplicationSettingsDefaultResponse >; } @@ -4615,43 +4681,49 @@ export interface WebAppsUpdateAuthSettings { /** Updates the Authentication / Authorization settings associated with web app. */ put( options: WebAppsUpdateAuthSettingsParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateAuthSettings200Response | WebAppsUpdateAuthSettingsDefaultResponse + >; } export interface WebAppsGetAuthSettings { /** Gets the Authentication/Authorization settings of an app. */ post( options?: WebAppsGetAuthSettingsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetAuthSettingsV2WithoutSecrets { /** Gets site's Authentication / Authorization settings for apps via the V2 format */ get( options?: WebAppsGetAuthSettingsV2WithoutSecretsParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAuthSettingsV2WithoutSecrets200Response - | WebAppsGetAuthSettingsV2WithoutSecretsdefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse >; /** Updates site's Authentication / Authorization settings for apps via the V2 format */ put( options: WebAppsUpdateAuthSettingsV2Parameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateAuthSettingsV2200Response | WebAppsUpdateAuthSettingsV2DefaultResponse + >; } export interface WebAppsGetAuthSettingsV2 { /** Gets site's Authentication / Authorization settings for apps via the V2 format */ get( options?: WebAppsGetAuthSettingsV2Parameters, - ): Promise; + ): StreamableMethod< + WebAppsGetAuthSettingsV2200Response | WebAppsGetAuthSettingsV2DefaultResponse + >; } export interface WebAppsUpdateAzureStorageAccounts { /** Updates the Azure storage account configurations of an app. */ put( options: WebAppsUpdateAzureStorageAccountsParameters, - ): Promise< - WebAppsUpdateAzureStorageAccounts200Response | WebAppsUpdateAzureStorageAccountsdefaultResponse + ): StreamableMethod< + WebAppsUpdateAzureStorageAccounts200Response | WebAppsUpdateAzureStorageAccountsDefaultResponse >; } @@ -4659,8 +4731,8 @@ export interface WebAppsListAzureStorageAccounts { /** Gets the Azure storage account configurations of an app. */ post( options?: WebAppsListAzureStorageAccountsParameters, - ): Promise< - WebAppsListAzureStorageAccounts200Response | WebAppsListAzureStorageAccountsdefaultResponse + ): StreamableMethod< + WebAppsListAzureStorageAccounts200Response | WebAppsListAzureStorageAccountsDefaultResponse >; } @@ -4668,14 +4740,14 @@ export interface WebAppsUpdateBackupConfiguration { /** Updates the backup configuration of an app. */ put( options: WebAppsUpdateBackupConfigurationParameters, - ): Promise< - WebAppsUpdateBackupConfiguration200Response | WebAppsUpdateBackupConfigurationdefaultResponse + ): StreamableMethod< + WebAppsUpdateBackupConfiguration200Response | WebAppsUpdateBackupConfigurationDefaultResponse >; /** Deletes the backup configuration of an app. */ delete( options?: WebAppsDeleteBackupConfigurationParameters, - ): Promise< - WebAppsDeleteBackupConfiguration200Response | WebAppsDeleteBackupConfigurationdefaultResponse + ): StreamableMethod< + WebAppsDeleteBackupConfiguration200Response | WebAppsDeleteBackupConfigurationDefaultResponse >; } @@ -4683,8 +4755,8 @@ export interface WebAppsGetBackupConfiguration { /** Gets the backup configuration of an app. */ post( options?: WebAppsGetBackupConfigurationParameters, - ): Promise< - WebAppsGetBackupConfiguration200Response | WebAppsGetBackupConfigurationdefaultResponse + ): StreamableMethod< + WebAppsGetBackupConfiguration200Response | WebAppsGetBackupConfigurationDefaultResponse >; } @@ -4692,9 +4764,9 @@ export interface WebAppsGetAppSettingsKeyVaultReferences { /** Gets the config reference app settings and status of an app */ get( options?: WebAppsGetAppSettingsKeyVaultReferencesParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAppSettingsKeyVaultReferences200Response - | WebAppsGetAppSettingsKeyVaultReferencesdefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse >; } @@ -4702,9 +4774,9 @@ export interface WebAppsGetAppSettingKeyVaultReference { /** Gets the config reference and status of an app */ get( options?: WebAppsGetAppSettingKeyVaultReferenceParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAppSettingKeyVaultReference200Response - | WebAppsGetAppSettingKeyVaultReferencedefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse >; } @@ -4712,9 +4784,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferences { /** Gets the config reference app settings and status of an app */ get( options?: WebAppsGetSiteConnectionStringKeyVaultReferencesParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteConnectionStringKeyVaultReferences200Response - | WebAppsGetSiteConnectionStringKeyVaultReferencesdefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse >; } @@ -4722,9 +4794,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReference { /** Gets the config reference and status of an app */ get( options?: WebAppsGetSiteConnectionStringKeyVaultReferenceParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteConnectionStringKeyVaultReference200Response - | WebAppsGetSiteConnectionStringKeyVaultReferencedefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse >; } @@ -4732,8 +4804,8 @@ export interface WebAppsUpdateConnectionStrings { /** Replaces the connection strings of an app. */ put( options: WebAppsUpdateConnectionStringsParameters, - ): Promise< - WebAppsUpdateConnectionStrings200Response | WebAppsUpdateConnectionStringsdefaultResponse + ): StreamableMethod< + WebAppsUpdateConnectionStrings200Response | WebAppsUpdateConnectionStringsDefaultResponse >; } @@ -4741,22 +4813,24 @@ export interface WebAppsListConnectionStrings { /** Gets the connection strings of an app. */ post( options?: WebAppsListConnectionStringsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListConnectionStrings200Response | WebAppsListConnectionStringsDefaultResponse + >; } export interface WebAppsGetDiagnosticLogsConfiguration { /** Gets the logging configuration of an app. */ get( options?: WebAppsGetDiagnosticLogsConfigurationParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetDiagnosticLogsConfiguration200Response - | WebAppsGetDiagnosticLogsConfigurationdefaultResponse + | WebAppsGetDiagnosticLogsConfigurationDefaultResponse >; /** Updates the logging configuration of an app. */ put( options: WebAppsUpdateDiagnosticLogsConfigParameters, - ): Promise< - WebAppsUpdateDiagnosticLogsConfig200Response | WebAppsUpdateDiagnosticLogsConfigdefaultResponse + ): StreamableMethod< + WebAppsUpdateDiagnosticLogsConfig200Response | WebAppsUpdateDiagnosticLogsConfigDefaultResponse >; } @@ -4764,22 +4838,22 @@ export interface WebAppsUpdateMetadata { /** Replaces the metadata of an app. */ put( options: WebAppsUpdateMetadataParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListMetadata { /** Gets the metadata of an app. */ post( options?: WebAppsListMetadataParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListPublishingCredentials { /** Gets the Git/FTP publishing credentials of an app. */ post( options?: WebAppsListPublishingCredentialsParameters, - ): Promise< - WebAppsListPublishingCredentials200Response | WebAppsListPublishingCredentialsdefaultResponse + ): StreamableMethod< + WebAppsListPublishingCredentials200Response | WebAppsListPublishingCredentialsDefaultResponse >; } @@ -4787,8 +4861,8 @@ export interface WebAppsUpdateSitePushSettings { /** Updates the Push settings associated with web app. */ put( options: WebAppsUpdateSitePushSettingsParameters, - ): Promise< - WebAppsUpdateSitePushSettings200Response | WebAppsUpdateSitePushSettingsdefaultResponse + ): StreamableMethod< + WebAppsUpdateSitePushSettings200Response | WebAppsUpdateSitePushSettingsDefaultResponse >; } @@ -4796,22 +4870,24 @@ export interface WebAppsListSitePushSettings { /** Gets the Push settings associated with web app. */ post( options?: WebAppsListSitePushSettingsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListSitePushSettings200Response | WebAppsListSitePushSettingsDefaultResponse + >; } export interface WebAppsListSlotConfigurationNames { /** Gets the names of app settings and connection strings that stick to the slot (not swapped). */ get( options?: WebAppsListSlotConfigurationNamesParameters, - ): Promise< - WebAppsListSlotConfigurationNames200Response | WebAppsListSlotConfigurationNamesdefaultResponse + ): StreamableMethod< + WebAppsListSlotConfigurationNames200Response | WebAppsListSlotConfigurationNamesDefaultResponse >; /** Updates the names of application settings and connection string that remain with the slot during swap operation. */ put( options: WebAppsUpdateSlotConfigurationNamesParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSlotConfigurationNames200Response - | WebAppsUpdateSlotConfigurationNamesdefaultResponse + | WebAppsUpdateSlotConfigurationNamesDefaultResponse >; } @@ -4819,27 +4895,29 @@ export interface WebAppsGetConfiguration { /** Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. */ get( options?: WebAppsGetConfigurationParameters, - ): Promise; + ): StreamableMethod; /** Updates the configuration of an app. */ put( options: WebAppsCreateOrUpdateConfigurationParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateConfiguration200Response - | WebAppsCreateOrUpdateConfigurationdefaultResponse + | WebAppsCreateOrUpdateConfigurationDefaultResponse >; /** Updates the configuration of an app. */ patch( options: WebAppsUpdateConfigurationParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateConfiguration200Response | WebAppsUpdateConfigurationDefaultResponse + >; } export interface WebAppsListConfigurationSnapshotInfo { /** Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. */ get( options?: WebAppsListConfigurationSnapshotInfoParameters, - ): Promise< + ): StreamableMethod< | WebAppsListConfigurationSnapshotInfo200Response - | WebAppsListConfigurationSnapshotInfodefaultResponse + | WebAppsListConfigurationSnapshotInfoDefaultResponse >; } @@ -4847,8 +4925,8 @@ export interface WebAppsGetConfigurationSnapshot { /** Gets a snapshot of the configuration of an app at a previous point in time. */ get( options?: WebAppsGetConfigurationSnapshotParameters, - ): Promise< - WebAppsGetConfigurationSnapshot200Response | WebAppsGetConfigurationSnapshotdefaultResponse + ): StreamableMethod< + WebAppsGetConfigurationSnapshot200Response | WebAppsGetConfigurationSnapshotDefaultResponse >; } @@ -4856,9 +4934,9 @@ export interface WebAppsRecoverSiteConfigurationSnapshot { /** Reverts the configuration of an app to a previous snapshot. */ post( options?: WebAppsRecoverSiteConfigurationSnapshotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRecoverSiteConfigurationSnapshot204Response - | WebAppsRecoverSiteConfigurationSnapshotdefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse >; } @@ -4866,10 +4944,10 @@ export interface WebAppsGetWebSiteContainerLogs { /** Gets the last lines of docker logs for the given site */ post( options?: WebAppsGetWebSiteContainerLogsParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetWebSiteContainerLogs200Response | WebAppsGetWebSiteContainerLogs204Response - | WebAppsGetWebSiteContainerLogsdefaultResponse + | WebAppsGetWebSiteContainerLogsDefaultResponse >; } @@ -4877,10 +4955,10 @@ export interface WebAppsGetContainerLogsZip { /** Gets the ZIP archived docker log files for the given site */ post( options?: WebAppsGetContainerLogsZipParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetContainerLogsZip200Response | WebAppsGetContainerLogsZip204Response - | WebAppsGetContainerLogsZipdefaultResponse + | WebAppsGetContainerLogsZipDefaultResponse >; } @@ -4888,25 +4966,27 @@ export interface WebAppsListContinuousWebJobs { /** List continuous web jobs for an app, or a deployment slot. */ get( options?: WebAppsListContinuousWebJobsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListContinuousWebJobs200Response | WebAppsListContinuousWebJobsDefaultResponse + >; } export interface WebAppsGetContinuousWebJob { /** Gets a continuous web job by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetContinuousWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetContinuousWebJob200Response | WebAppsGetContinuousWebJob404Response - | WebAppsGetContinuousWebJobdefaultResponse + | WebAppsGetContinuousWebJobDefaultResponse >; /** Delete a continuous web job by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteContinuousWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteContinuousWebJob200Response | WebAppsDeleteContinuousWebJob204Response - | WebAppsDeleteContinuousWebJobdefaultResponse + | WebAppsDeleteContinuousWebJobDefaultResponse >; } @@ -4914,10 +4994,10 @@ export interface WebAppsStartContinuousWebJob { /** Start a continuous web job for an app, or a deployment slot. */ post( options?: WebAppsStartContinuousWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartContinuousWebJob200Response | WebAppsStartContinuousWebJob404Response - | WebAppsStartContinuousWebJobdefaultResponse + | WebAppsStartContinuousWebJobDefaultResponse >; } @@ -4925,10 +5005,10 @@ export interface WebAppsStopContinuousWebJob { /** Stop a continuous web job for an app, or a deployment slot. */ post( options?: WebAppsStopContinuousWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopContinuousWebJob200Response | WebAppsStopContinuousWebJob404Response - | WebAppsStopContinuousWebJobdefaultResponse + | WebAppsStopContinuousWebJobDefaultResponse >; } @@ -4936,25 +5016,25 @@ export interface WebAppsListDeployments { /** List deployments for an app, or a deployment slot. */ get( options?: WebAppsListDeploymentsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetDeployment { /** Get a deployment by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetDeploymentParameters, - ): Promise; + ): StreamableMethod; /** Create a deployment for an app, or a deployment slot. */ put( options: WebAppsCreateDeploymentParameters, - ): Promise; + ): StreamableMethod; /** Delete a deployment by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteDeploymentParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteDeployment200Response | WebAppsDeleteDeployment204Response - | WebAppsDeleteDeploymentdefaultResponse + | WebAppsDeleteDeploymentDefaultResponse >; } @@ -4962,23 +5042,25 @@ export interface WebAppsListDeploymentLog { /** List deployment log for specific deployment for an app, or a deployment slot. */ get( options?: WebAppsListDeploymentLogParameters, - ): Promise; + ): StreamableMethod< + WebAppsListDeploymentLog200Response | WebAppsListDeploymentLogDefaultResponse + >; } export interface WebAppsDiscoverBackup { /** Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. */ post( options: WebAppsDiscoverBackupParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListDomainOwnershipIdentifiers { /** Lists ownership identifiers for domain associated with web app. */ get( options?: WebAppsListDomainOwnershipIdentifiersParameters, - ): Promise< + ): StreamableMethod< | WebAppsListDomainOwnershipIdentifiers200Response - | WebAppsListDomainOwnershipIdentifiersdefaultResponse + | WebAppsListDomainOwnershipIdentifiersDefaultResponse >; } @@ -4986,31 +5068,31 @@ export interface WebAppsGetDomainOwnershipIdentifier { /** Get domain ownership identifier for web app. */ get( options?: WebAppsGetDomainOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetDomainOwnershipIdentifier200Response - | WebAppsGetDomainOwnershipIdentifierdefaultResponse + | WebAppsGetDomainOwnershipIdentifierDefaultResponse >; /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ put( options: WebAppsCreateOrUpdateDomainOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response - | WebAppsCreateOrUpdateDomainOwnershipIdentifierdefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse >; /** Deletes a domain ownership identifier for a web app. */ delete( options?: WebAppsDeleteDomainOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteDomainOwnershipIdentifier200Response | WebAppsDeleteDomainOwnershipIdentifier204Response - | WebAppsDeleteDomainOwnershipIdentifierdefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse >; /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ patch( options: WebAppsUpdateDomainOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateDomainOwnershipIdentifier200Response - | WebAppsUpdateDomainOwnershipIdentifierdefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse >; } @@ -5018,14 +5100,16 @@ export interface WebAppsGetMSDeployStatus { /** Get the status of the last MSDeploy operation. */ get( options?: WebAppsGetMSDeployStatusParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetMSDeployStatus200Response | WebAppsGetMSDeployStatusDefaultResponse + >; /** Invoke the MSDeploy web app extension. */ put( options: WebAppsCreateMSDeployOperationParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateMSDeployOperation201Response | WebAppsCreateMSDeployOperation409Response - | WebAppsCreateMSDeployOperationdefaultResponse + | WebAppsCreateMSDeployOperationDefaultResponse >; } @@ -5033,10 +5117,10 @@ export interface WebAppsGetMSDeployLog { /** Get the MSDeploy Log for the last MSDeploy operation. */ get( options?: WebAppsGetMSDeployLogParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetMSDeployLog200Response | WebAppsGetMSDeployLog404Response - | WebAppsGetMSDeployLogdefaultResponse + | WebAppsGetMSDeployLogDefaultResponse >; } @@ -5044,12 +5128,14 @@ export interface WebAppsGetOneDeployStatus { /** Invoke onedeploy status API /api/deployments and gets the deployment status for the site */ get( options?: WebAppsGetOneDeployStatusParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetOneDeployStatus200Response | WebAppsGetOneDeployStatusDefaultResponse + >; /** Invoke the OneDeploy publish web app extension. */ put( options?: WebAppsCreateOneDeployOperationParameters, - ): Promise< - WebAppsCreateOneDeployOperation200Response | WebAppsCreateOneDeployOperationdefaultResponse + ): StreamableMethod< + WebAppsCreateOneDeployOperation200Response | WebAppsCreateOneDeployOperationDefaultResponse >; } @@ -5057,10 +5143,10 @@ export interface WebAppsListFunctions { /** List the functions for a web site, or a deployment slot. */ get( options?: WebAppsListFunctionsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListFunctions200Response | WebAppsListFunctions404Response - | WebAppsListFunctionsdefaultResponse + | WebAppsListFunctionsDefaultResponse >; } @@ -5068,8 +5154,8 @@ export interface WebAppsGetFunctionsAdminToken { /** Fetch a short lived token that can be exchanged for a master key. */ get( options?: WebAppsGetFunctionsAdminTokenParameters, - ): Promise< - WebAppsGetFunctionsAdminToken200Response | WebAppsGetFunctionsAdminTokendefaultResponse + ): StreamableMethod< + WebAppsGetFunctionsAdminToken200Response | WebAppsGetFunctionsAdminTokenDefaultResponse >; } @@ -5077,22 +5163,22 @@ export interface WebAppsGetFunction { /** Get function information by its ID for web site, or a deployment slot. */ get( options?: WebAppsGetFunctionParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetFunction200Response | WebAppsGetFunction404Response - | WebAppsGetFunctiondefaultResponse + | WebAppsGetFunctionDefaultResponse >; /** Create function for web site, or a deployment slot. */ put( options: WebAppsCreateFunctionParameters, - ): Promise; + ): StreamableMethod; /** Delete a function for web site, or a deployment slot. */ delete( options?: WebAppsDeleteFunctionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteFunction204Response | WebAppsDeleteFunction404Response - | WebAppsDeleteFunctiondefaultResponse + | WebAppsDeleteFunctionDefaultResponse >; } @@ -5100,18 +5186,18 @@ export interface WebAppsCreateOrUpdateFunctionSecret { /** Add or update a function secret. */ put( options: WebAppsCreateOrUpdateFunctionSecretParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateFunctionSecret200Response | WebAppsCreateOrUpdateFunctionSecret201Response - | WebAppsCreateOrUpdateFunctionSecretdefaultResponse + | WebAppsCreateOrUpdateFunctionSecretDefaultResponse >; /** Delete a function secret. */ delete( options?: WebAppsDeleteFunctionSecretParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteFunctionSecret204Response | WebAppsDeleteFunctionSecret404Response - | WebAppsDeleteFunctionSecretdefaultResponse + | WebAppsDeleteFunctionSecretDefaultResponse >; } @@ -5119,53 +5205,55 @@ export interface WebAppsListFunctionKeys { /** Get function keys for a function in a web site, or a deployment slot. */ post( options?: WebAppsListFunctionKeysParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListFunctionSecrets { /** Get function secrets for a function in a web site, or a deployment slot. */ post( options?: WebAppsListFunctionSecretsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListFunctionSecrets200Response | WebAppsListFunctionSecretsDefaultResponse + >; } export interface WebAppsListHostKeys { /** Get host secrets for a function app. */ post( options?: WebAppsListHostKeysParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSyncStatus { /** This is to allow calling via powershell and ARM template. */ post( options?: WebAppsListSyncStatusParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsSyncFunctions { /** Syncs function trigger metadata to the management database */ post( options?: WebAppsSyncFunctionsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsCreateOrUpdateHostSecret { /** Add or update a host level secret. */ put( options: WebAppsCreateOrUpdateHostSecretParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHostSecret200Response | WebAppsCreateOrUpdateHostSecret201Response - | WebAppsCreateOrUpdateHostSecretdefaultResponse + | WebAppsCreateOrUpdateHostSecretDefaultResponse >; /** Delete a host level secret. */ delete( options?: WebAppsDeleteHostSecretParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHostSecret204Response | WebAppsDeleteHostSecret404Response - | WebAppsDeleteHostSecretdefaultResponse + | WebAppsDeleteHostSecretDefaultResponse >; } @@ -5173,28 +5261,32 @@ export interface WebAppsListHostNameBindings { /** Get hostname bindings for an app or a deployment slot. */ get( options?: WebAppsListHostNameBindingsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListHostNameBindings200Response | WebAppsListHostNameBindingsDefaultResponse + >; } export interface WebAppsGetHostNameBinding { /** Get the named hostname binding for an app (or deployment slot, if specified). */ get( options?: WebAppsGetHostNameBindingParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetHostNameBinding200Response | WebAppsGetHostNameBindingDefaultResponse + >; /** Creates a hostname binding for an app. */ put( options: WebAppsCreateOrUpdateHostNameBindingParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHostNameBinding200Response - | WebAppsCreateOrUpdateHostNameBindingdefaultResponse + | WebAppsCreateOrUpdateHostNameBindingDefaultResponse >; /** Deletes a hostname binding for an app. */ delete( options?: WebAppsDeleteHostNameBindingParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHostNameBinding200Response | WebAppsDeleteHostNameBinding204Response - | WebAppsDeleteHostNameBindingdefaultResponse + | WebAppsDeleteHostNameBindingDefaultResponse >; } @@ -5202,27 +5294,29 @@ export interface WebAppsGetHybridConnection { /** Retrieves a specific Service Bus Hybrid Connection used by this Web App. */ get( options?: WebAppsGetHybridConnectionParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetHybridConnection200Response | WebAppsGetHybridConnectionDefaultResponse + >; /** Creates a new Hybrid Connection using a Service Bus relay. */ put( options: WebAppsCreateOrUpdateHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHybridConnection200Response - | WebAppsCreateOrUpdateHybridConnectiondefaultResponse + | WebAppsCreateOrUpdateHybridConnectionDefaultResponse >; /** Removes a Hybrid Connection from this site. */ delete( options?: WebAppsDeleteHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHybridConnection200Response | WebAppsDeleteHybridConnection404Response - | WebAppsDeleteHybridConnectiondefaultResponse + | WebAppsDeleteHybridConnectionDefaultResponse >; /** Creates a new Hybrid Connection using a Service Bus relay. */ patch( options: WebAppsUpdateHybridConnectionParameters, - ): Promise< - WebAppsUpdateHybridConnection200Response | WebAppsUpdateHybridConnectiondefaultResponse + ): StreamableMethod< + WebAppsUpdateHybridConnection200Response | WebAppsUpdateHybridConnectionDefaultResponse >; } @@ -5230,16 +5324,18 @@ export interface WebAppsListHybridConnections { /** Retrieves all Service Bus Hybrid Connections used by this Web App. */ get( options?: WebAppsListHybridConnectionsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListHybridConnections200Response | WebAppsListHybridConnectionsDefaultResponse + >; } export interface WebAppsListRelayServiceConnections { /** Gets hybrid connections configured for an app (or deployment slot, if specified). */ get( options?: WebAppsListRelayServiceConnectionsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListRelayServiceConnections200Response - | WebAppsListRelayServiceConnectionsdefaultResponse + | WebAppsListRelayServiceConnectionsDefaultResponse >; } @@ -5247,30 +5343,30 @@ export interface WebAppsGetRelayServiceConnection { /** Gets a hybrid connection configuration by its name. */ get( options?: WebAppsGetRelayServiceConnectionParameters, - ): Promise< - WebAppsGetRelayServiceConnection200Response | WebAppsGetRelayServiceConnectiondefaultResponse + ): StreamableMethod< + WebAppsGetRelayServiceConnection200Response | WebAppsGetRelayServiceConnectionDefaultResponse >; /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ put( options: WebAppsCreateOrUpdateRelayServiceConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateRelayServiceConnection200Response - | WebAppsCreateOrUpdateRelayServiceConnectiondefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse >; /** Deletes a relay service connection by its name. */ delete( options?: WebAppsDeleteRelayServiceConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteRelayServiceConnection200Response | WebAppsDeleteRelayServiceConnection404Response - | WebAppsDeleteRelayServiceConnectiondefaultResponse + | WebAppsDeleteRelayServiceConnectionDefaultResponse >; /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ patch( options: WebAppsUpdateRelayServiceConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateRelayServiceConnection200Response - | WebAppsUpdateRelayServiceConnectiondefaultResponse + | WebAppsUpdateRelayServiceConnectionDefaultResponse >; } @@ -5278,8 +5374,8 @@ export interface WebAppsListInstanceIdentifiers { /** Gets all scale-out instances of an app. */ get( options?: WebAppsListInstanceIdentifiersParameters, - ): Promise< - WebAppsListInstanceIdentifiers200Response | WebAppsListInstanceIdentifiersdefaultResponse + ): StreamableMethod< + WebAppsListInstanceIdentifiers200Response | WebAppsListInstanceIdentifiersDefaultResponse >; } @@ -5287,23 +5383,23 @@ export interface WebAppsGetInstanceInfo { /** Gets all scale-out instances of an app. */ get( options?: WebAppsGetInstanceInfoParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetInstanceMsDeployStatus { /** Get the status of the last MSDeploy operation. */ get( options?: WebAppsGetInstanceMsDeployStatusParameters, - ): Promise< - WebAppsGetInstanceMsDeployStatus200Response | WebAppsGetInstanceMsDeployStatusdefaultResponse + ): StreamableMethod< + WebAppsGetInstanceMsDeployStatus200Response | WebAppsGetInstanceMsDeployStatusDefaultResponse >; /** Invoke the MSDeploy web app extension. */ put( options: WebAppsCreateInstanceMSDeployOperationParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateInstanceMSDeployOperation201Response | WebAppsCreateInstanceMSDeployOperation409Response - | WebAppsCreateInstanceMSDeployOperationdefaultResponse + | WebAppsCreateInstanceMSDeployOperationDefaultResponse >; } @@ -5311,10 +5407,10 @@ export interface WebAppsGetInstanceMSDeployLog { /** Get the MSDeploy Log for the last MSDeploy operation. */ get( options?: WebAppsGetInstanceMSDeployLogParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceMSDeployLog200Response | WebAppsGetInstanceMSDeployLog404Response - | WebAppsGetInstanceMSDeployLogdefaultResponse + | WebAppsGetInstanceMSDeployLogDefaultResponse >; } @@ -5322,10 +5418,10 @@ export interface WebAppsListInstanceProcesses { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcesses200Response | WebAppsListInstanceProcesses404Response - | WebAppsListInstanceProcessesdefaultResponse + | WebAppsListInstanceProcessesDefaultResponse >; } @@ -5333,18 +5429,18 @@ export interface WebAppsGetInstanceProcess { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcess200Response | WebAppsGetInstanceProcess404Response - | WebAppsGetInstanceProcessdefaultResponse + | WebAppsGetInstanceProcessDefaultResponse >; /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ delete( options?: WebAppsDeleteInstanceProcessParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteInstanceProcess204Response | WebAppsDeleteInstanceProcess404Response - | WebAppsDeleteInstanceProcessdefaultResponse + | WebAppsDeleteInstanceProcessDefaultResponse >; } @@ -5352,10 +5448,10 @@ export interface WebAppsGetInstanceProcessDump { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessDumpParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessDump200Response | WebAppsGetInstanceProcessDump404Response - | WebAppsGetInstanceProcessDumpdefaultResponse + | WebAppsGetInstanceProcessDumpDefaultResponse >; } @@ -5363,10 +5459,10 @@ export interface WebAppsListInstanceProcessModules { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessModulesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessModules200Response | WebAppsListInstanceProcessModules404Response - | WebAppsListInstanceProcessModulesdefaultResponse + | WebAppsListInstanceProcessModulesDefaultResponse >; } @@ -5374,10 +5470,10 @@ export interface WebAppsGetInstanceProcessModule { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessModuleParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessModule200Response | WebAppsGetInstanceProcessModule404Response - | WebAppsGetInstanceProcessModuledefaultResponse + | WebAppsGetInstanceProcessModuleDefaultResponse >; } @@ -5385,10 +5481,10 @@ export interface WebAppsListInstanceProcessThreads { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessThreadsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessThreads200Response | WebAppsListInstanceProcessThreads404Response - | WebAppsListInstanceProcessThreadsdefaultResponse + | WebAppsListInstanceProcessThreadsDefaultResponse >; } @@ -5396,22 +5492,22 @@ export interface WebAppsIsCloneable { /** Shows whether an app can be cloned to another resource group or subscription. */ post( options?: WebAppsIsCloneableParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSiteBackups { /** Gets existing backups of an app. */ post( options?: WebAppsListSiteBackupsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSyncFunctionTriggers { /** This is to allow calling via powershell and ARM template. */ post( options?: WebAppsListSyncFunctionTriggersParameters, - ): Promise< - WebAppsListSyncFunctionTriggers200Response | WebAppsListSyncFunctionTriggersdefaultResponse + ): StreamableMethod< + WebAppsListSyncFunctionTriggers200Response | WebAppsListSyncFunctionTriggersDefaultResponse >; } @@ -5419,30 +5515,32 @@ export interface WebAppsMigrateStorage { /** Restores a web app. */ put( options: WebAppsMigrateStorageParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsMigrateMySql { /** Migrates a local (in-app) MySql database to a remote MySql database. */ post( options: WebAppsMigrateMySqlParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetMigrateMySqlStatus { /** Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled */ get( options?: WebAppsGetMigrateMySqlStatusParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetMigrateMySqlStatus200Response | WebAppsGetMigrateMySqlStatusDefaultResponse + >; } export interface WebAppsGetSwiftVirtualNetworkConnection { /** Gets a Swift Virtual Network connection. */ get( options?: WebAppsGetSwiftVirtualNetworkConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSwiftVirtualNetworkConnection200Response - | WebAppsGetSwiftVirtualNetworkConnectiondefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse >; /** * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not @@ -5450,17 +5548,17 @@ export interface WebAppsGetSwiftVirtualNetworkConnection { */ put( options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response - | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse >; /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ delete( options?: WebAppsDeleteSwiftVirtualNetworkParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSwiftVirtualNetwork200Response | WebAppsDeleteSwiftVirtualNetwork404Response - | WebAppsDeleteSwiftVirtualNetworkdefaultResponse + | WebAppsDeleteSwiftVirtualNetworkDefaultResponse >; /** * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not @@ -5468,9 +5566,9 @@ export interface WebAppsGetSwiftVirtualNetworkConnection { */ patch( options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response - | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse >; } @@ -5478,10 +5576,10 @@ export interface WebAppsListNetworkFeatures { /** Gets all network features used by the app (or deployment slot, if specified). */ get( options?: WebAppsListNetworkFeaturesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListNetworkFeatures200Response | WebAppsListNetworkFeatures404Response - | WebAppsListNetworkFeaturesdefaultResponse + | WebAppsListNetworkFeaturesDefaultResponse >; } @@ -5489,10 +5587,10 @@ export interface WebAppsGetNetworkTraceOperation { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTraceOperationParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetNetworkTraceOperation200Response | WebAppsGetNetworkTraceOperation202Response - | WebAppsGetNetworkTraceOperationdefaultResponse + | WebAppsGetNetworkTraceOperationDefaultResponse >; } @@ -5500,8 +5598,8 @@ export interface WebAppsStartWebSiteNetworkTrace { /** Start capturing network packets for the site (To be deprecated). */ post( options?: WebAppsStartWebSiteNetworkTraceParameters, - ): Promise< - WebAppsStartWebSiteNetworkTrace200Response | WebAppsStartWebSiteNetworkTracedefaultResponse + ): StreamableMethod< + WebAppsStartWebSiteNetworkTrace200Response | WebAppsStartWebSiteNetworkTraceDefaultResponse >; } @@ -5509,10 +5607,10 @@ export interface WebAppsStartWebSiteNetworkTraceOperation { /** Start capturing network packets for the site. */ post( options?: WebAppsStartWebSiteNetworkTraceOperationParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartWebSiteNetworkTraceOperation200Response | WebAppsStartWebSiteNetworkTraceOperation202Response - | WebAppsStartWebSiteNetworkTraceOperationdefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse >; } @@ -5520,10 +5618,10 @@ export interface WebAppsStopWebSiteNetworkTrace { /** Stop ongoing capturing network packets for the site. */ post( options?: WebAppsStopWebSiteNetworkTraceParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopWebSiteNetworkTrace200Response | WebAppsStopWebSiteNetworkTrace204Response - | WebAppsStopWebSiteNetworkTracedefaultResponse + | WebAppsStopWebSiteNetworkTraceDefaultResponse >; } @@ -5531,17 +5629,17 @@ export interface WebAppsGetNetworkTraces { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTracesParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetNetworkTraceOperationV2 { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTraceOperationV2Parameters, - ): Promise< + ): StreamableMethod< | WebAppsGetNetworkTraceOperationV2200Response | WebAppsGetNetworkTraceOperationV2202Response - | WebAppsGetNetworkTraceOperationV2defaultResponse + | WebAppsGetNetworkTraceOperationV2DefaultResponse >; } @@ -5549,17 +5647,19 @@ export interface WebAppsGetNetworkTracesV2 { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTracesV2Parameters, - ): Promise; + ): StreamableMethod< + WebAppsGetNetworkTracesV2200Response | WebAppsGetNetworkTracesV2DefaultResponse + >; } export interface WebAppsGenerateNewSitePublishingPassword { /** Generates a new publishing password for an app (or deployment slot, if specified). */ post( options?: WebAppsGenerateNewSitePublishingPasswordParameters, - ): Promise< + ): StreamableMethod< | WebAppsGenerateNewSitePublishingPassword200Response | WebAppsGenerateNewSitePublishingPassword204Response - | WebAppsGenerateNewSitePublishingPassworddefaultResponse + | WebAppsGenerateNewSitePublishingPasswordDefaultResponse >; } @@ -5567,15 +5667,17 @@ export interface WebAppsListPerfMonCounters { /** Gets perfmon counters for web app. */ get( options?: WebAppsListPerfMonCountersParameters, - ): Promise; + ): StreamableMethod< + WebAppsListPerfMonCounters200Response | WebAppsListPerfMonCountersDefaultResponse + >; } export interface WebAppsGetSitePhpErrorLogFlag { /** Gets web app's event logs. */ get( options?: WebAppsGetSitePhpErrorLogFlagParameters, - ): Promise< - WebAppsGetSitePhpErrorLogFlag200Response | WebAppsGetSitePhpErrorLogFlagdefaultResponse + ): StreamableMethod< + WebAppsGetSitePhpErrorLogFlag200Response | WebAppsGetSitePhpErrorLogFlagDefaultResponse >; } @@ -5583,46 +5685,54 @@ export interface WebAppsListPremierAddOns { /** Gets the premier add-ons of an app. */ get( options?: WebAppsListPremierAddOnsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListPremierAddOns200Response | WebAppsListPremierAddOnsDefaultResponse + >; } export interface WebAppsGetPremierAddOn { /** Gets a named add-on of an app. */ get( options?: WebAppsGetPremierAddOnParameters, - ): Promise; + ): StreamableMethod; /** Updates a named add-on of an app. */ put( options: WebAppsAddPremierAddOnParameters, - ): Promise; + ): StreamableMethod; /** Delete a premier add-on from an app. */ delete( options?: WebAppsDeletePremierAddOnParameters, - ): Promise; + ): StreamableMethod< + WebAppsDeletePremierAddOn200Response | WebAppsDeletePremierAddOnDefaultResponse + >; /** Updates a named add-on of an app. */ patch( options: WebAppsUpdatePremierAddOnParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdatePremierAddOn200Response | WebAppsUpdatePremierAddOnDefaultResponse + >; } export interface WebAppsGetPrivateAccess { /** Gets data around private site access enablement and authorized Virtual Networks that can access the site. */ get( options?: WebAppsGetPrivateAccessParameters, - ): Promise; + ): StreamableMethod; /** Sets data around private site access enablement and authorized Virtual Networks that can access the site. */ put( options: WebAppsPutPrivateAccessVnetParameters, - ): Promise; + ): StreamableMethod< + WebAppsPutPrivateAccessVnet200Response | WebAppsPutPrivateAccessVnetDefaultResponse + >; } export interface WebAppsGetPrivateEndpointConnectionList { /** Gets the list of private endpoint connections associated with a site */ get( options?: WebAppsGetPrivateEndpointConnectionListParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateEndpointConnectionList200Response - | WebAppsGetPrivateEndpointConnectionListdefaultResponse + | WebAppsGetPrivateEndpointConnectionListDefaultResponse >; } @@ -5630,26 +5740,26 @@ export interface WebAppsGetPrivateEndpointConnection { /** Gets a private endpoint connection */ get( options?: WebAppsGetPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateEndpointConnection200Response - | WebAppsGetPrivateEndpointConnectiondefaultResponse + | WebAppsGetPrivateEndpointConnectionDefaultResponse >; /** Approves or rejects a private endpoint connection */ put( options: WebAppsApproveOrRejectPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsApproveOrRejectPrivateEndpointConnection200Response | WebAppsApproveOrRejectPrivateEndpointConnection202Response - | WebAppsApproveOrRejectPrivateEndpointConnectiondefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse >; /** Deletes a private endpoint connection */ delete( options?: WebAppsDeletePrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeletePrivateEndpointConnection200Response | WebAppsDeletePrivateEndpointConnection202Response | WebAppsDeletePrivateEndpointConnection204Response - | WebAppsDeletePrivateEndpointConnectiondefaultResponse + | WebAppsDeletePrivateEndpointConnectionDefaultResponse >; } @@ -5657,8 +5767,8 @@ export interface WebAppsGetPrivateLinkResources { /** Gets the private link resources */ get( options?: WebAppsGetPrivateLinkResourcesParameters, - ): Promise< - WebAppsGetPrivateLinkResources200Response | WebAppsGetPrivateLinkResourcesdefaultResponse + ): StreamableMethod< + WebAppsGetPrivateLinkResources200Response | WebAppsGetPrivateLinkResourcesDefaultResponse >; } @@ -5666,10 +5776,10 @@ export interface WebAppsListProcesses { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcesses200Response | WebAppsListProcesses404Response - | WebAppsListProcessesdefaultResponse + | WebAppsListProcessesDefaultResponse >; } @@ -5677,16 +5787,16 @@ export interface WebAppsGetProcess { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessParameters, - ): Promise< - WebAppsGetProcess200Response | WebAppsGetProcess404Response | WebAppsGetProcessdefaultResponse + ): StreamableMethod< + WebAppsGetProcess200Response | WebAppsGetProcess404Response | WebAppsGetProcessDefaultResponse >; /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ delete( options?: WebAppsDeleteProcessParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteProcess204Response | WebAppsDeleteProcess404Response - | WebAppsDeleteProcessdefaultResponse + | WebAppsDeleteProcessDefaultResponse >; } @@ -5694,10 +5804,10 @@ export interface WebAppsGetProcessDump { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessDumpParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessDump200Response | WebAppsGetProcessDump404Response - | WebAppsGetProcessDumpdefaultResponse + | WebAppsGetProcessDumpDefaultResponse >; } @@ -5705,10 +5815,10 @@ export interface WebAppsListProcessModules { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessModulesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessModules200Response | WebAppsListProcessModules404Response - | WebAppsListProcessModulesdefaultResponse + | WebAppsListProcessModulesDefaultResponse >; } @@ -5716,10 +5826,10 @@ export interface WebAppsGetProcessModule { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessModuleParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessModule200Response | WebAppsGetProcessModule404Response - | WebAppsGetProcessModuledefaultResponse + | WebAppsGetProcessModuleDefaultResponse >; } @@ -5727,10 +5837,10 @@ export interface WebAppsListProcessThreads { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessThreadsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessThreads200Response | WebAppsListProcessThreads404Response - | WebAppsListProcessThreadsdefaultResponse + | WebAppsListProcessThreadsDefaultResponse >; } @@ -5738,8 +5848,8 @@ export interface WebAppsListPublicCertificates { /** Get public certificates for an app or a deployment slot. */ get( options?: WebAppsListPublicCertificatesParameters, - ): Promise< - WebAppsListPublicCertificates200Response | WebAppsListPublicCertificatesdefaultResponse + ): StreamableMethod< + WebAppsListPublicCertificates200Response | WebAppsListPublicCertificatesDefaultResponse >; } @@ -5747,21 +5857,23 @@ export interface WebAppsGetPublicCertificate { /** Get the named public certificate for an app (or deployment slot, if specified). */ get( options?: WebAppsGetPublicCertificateParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetPublicCertificate200Response | WebAppsGetPublicCertificateDefaultResponse + >; /** Creates a hostname binding for an app. */ put( options: WebAppsCreateOrUpdatePublicCertificateParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdatePublicCertificate200Response - | WebAppsCreateOrUpdatePublicCertificatedefaultResponse + | WebAppsCreateOrUpdatePublicCertificateDefaultResponse >; /** Deletes a hostname binding for an app. */ delete( options?: WebAppsDeletePublicCertificateParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeletePublicCertificate200Response | WebAppsDeletePublicCertificate204Response - | WebAppsDeletePublicCertificatedefaultResponse + | WebAppsDeletePublicCertificateDefaultResponse >; } @@ -5769,9 +5881,9 @@ export interface WebAppsListPublishingProfileXmlWithSecrets { /** Gets the publishing profile for an app (or deployment slot, if specified). */ post( options: WebAppsListPublishingProfileXmlWithSecretsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListPublishingProfileXmlWithSecrets200Response - | WebAppsListPublishingProfileXmlWithSecretsdefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse >; } @@ -5779,8 +5891,8 @@ export interface WebAppsResetProductionSlotConfig { /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ post( options?: WebAppsResetProductionSlotConfigParameters, - ): Promise< - WebAppsResetProductionSlotConfig200Response | WebAppsResetProductionSlotConfigdefaultResponse + ): StreamableMethod< + WebAppsResetProductionSlotConfig200Response | WebAppsResetProductionSlotConfigDefaultResponse >; } @@ -5788,17 +5900,17 @@ export interface WebAppsRestart { /** Restarts an app (or deployment slot, if specified). */ post( options?: WebAppsRestartParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsRestoreFromBackupBlob { /** Restores an app from a backup blob in Azure Storage. */ post( options: WebAppsRestoreFromBackupBlobParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreFromBackupBlob200Response | WebAppsRestoreFromBackupBlob202Response - | WebAppsRestoreFromBackupBlobdefaultResponse + | WebAppsRestoreFromBackupBlobDefaultResponse >; } @@ -5806,10 +5918,10 @@ export interface WebAppsRestoreFromDeletedApp { /** Restores a deleted web app to this web app. */ post( options: WebAppsRestoreFromDeletedAppParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreFromDeletedApp200Response | WebAppsRestoreFromDeletedApp202Response - | WebAppsRestoreFromDeletedAppdefaultResponse + | WebAppsRestoreFromDeletedAppDefaultResponse >; } @@ -5817,10 +5929,10 @@ export interface WebAppsRestoreSnapshot { /** Restores a web app from a snapshot. */ post( options: WebAppsRestoreSnapshotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreSnapshot200Response | WebAppsRestoreSnapshot202Response - | WebAppsRestoreSnapshotdefaultResponse + | WebAppsRestoreSnapshotDefaultResponse >; } @@ -5828,10 +5940,10 @@ export interface WebAppsListSiteExtensions { /** Get list of siteextensions for a web site, or a deployment slot. */ get( options?: WebAppsListSiteExtensionsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSiteExtensions200Response | WebAppsListSiteExtensions404Response - | WebAppsListSiteExtensionsdefaultResponse + | WebAppsListSiteExtensionsDefaultResponse >; } @@ -5839,27 +5951,27 @@ export interface WebAppsGetSiteExtension { /** Get site extension information by its ID for a web site, or a deployment slot. */ get( options?: WebAppsGetSiteExtensionParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteExtension200Response | WebAppsGetSiteExtension404Response - | WebAppsGetSiteExtensiondefaultResponse + | WebAppsGetSiteExtensionDefaultResponse >; /** Install site extension on a web site, or a deployment slot. */ put( options?: WebAppsInstallSiteExtensionParameters, - ): Promise< + ): StreamableMethod< | WebAppsInstallSiteExtension200Response | WebAppsInstallSiteExtension201Response | WebAppsInstallSiteExtension429Response - | WebAppsInstallSiteExtensiondefaultResponse + | WebAppsInstallSiteExtensionDefaultResponse >; /** Remove a site extension from a web site, or a deployment slot. */ delete( options?: WebAppsDeleteSiteExtensionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSiteExtension204Response | WebAppsDeleteSiteExtension404Response - | WebAppsDeleteSiteExtensiondefaultResponse + | WebAppsDeleteSiteExtensionDefaultResponse >; } @@ -5867,36 +5979,38 @@ export interface WebAppsListSlots { /** Gets an app's deployment slots. */ get( options?: WebAppsListSlotsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetSlot { /** Gets the details of a web, mobile, or API app. */ get( options?: WebAppsGetSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetSlot200Response | WebAppsGetSlot404Response | WebAppsGetSlotDefaultResponse + >; /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ put( options: WebAppsCreateOrUpdateSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSlot200Response | WebAppsCreateOrUpdateSlot202Response - | WebAppsCreateOrUpdateSlotdefaultResponse + | WebAppsCreateOrUpdateSlotDefaultResponse >; /** Deletes a web, mobile, or API app, or one of the deployment slots. */ delete( options?: WebAppsDeleteSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSlot200Response | WebAppsDeleteSlot204Response | WebAppsDeleteSlot404Response - | WebAppsDeleteSlotdefaultResponse + | WebAppsDeleteSlotDefaultResponse >; /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ patch( options: WebAppsUpdateSlotParameters, - ): Promise< - WebAppsUpdateSlot200Response | WebAppsUpdateSlot202Response | WebAppsUpdateSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateSlot200Response | WebAppsUpdateSlot202Response | WebAppsUpdateSlotDefaultResponse >; } @@ -5904,8 +6018,8 @@ export interface WebAppsAnalyzeCustomHostnameSlot { /** Analyze a custom hostname. */ get( options?: WebAppsAnalyzeCustomHostnameSlotParameters, - ): Promise< - WebAppsAnalyzeCustomHostnameSlot200Response | WebAppsAnalyzeCustomHostnameSlotdefaultResponse + ): StreamableMethod< + WebAppsAnalyzeCustomHostnameSlot200Response | WebAppsAnalyzeCustomHostnameSlotDefaultResponse >; } @@ -5913,8 +6027,8 @@ export interface WebAppsApplySlotConfigurationSlot { /** Applies the configuration settings from the target slot onto the current slot. */ post( options: WebAppsApplySlotConfigurationSlotParameters, - ): Promise< - WebAppsApplySlotConfigurationSlot200Response | WebAppsApplySlotConfigurationSlotdefaultResponse + ): StreamableMethod< + WebAppsApplySlotConfigurationSlot200Response | WebAppsApplySlotConfigurationSlotDefaultResponse >; } @@ -5922,28 +6036,30 @@ export interface WebAppsBackupSlot { /** Creates a backup of an app. */ post( options: WebAppsBackupSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListBackupsSlot { /** Gets existing backups of an app. */ get( options?: WebAppsListBackupsSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetBackupStatusSlot { /** Gets a backup of an app by its ID. */ get( options?: WebAppsGetBackupStatusSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetBackupStatusSlot200Response | WebAppsGetBackupStatusSlotDefaultResponse + >; /** Deletes a backup of an app by its ID. */ delete( options?: WebAppsDeleteBackupSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteBackupSlot200Response | WebAppsDeleteBackupSlot404Response - | WebAppsDeleteBackupSlotdefaultResponse + | WebAppsDeleteBackupSlotDefaultResponse >; } @@ -5951,9 +6067,9 @@ export interface WebAppsListBackupStatusSecretsSlot { /** Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. */ post( options: WebAppsListBackupStatusSecretsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListBackupStatusSecretsSlot200Response - | WebAppsListBackupStatusSecretsSlotdefaultResponse + | WebAppsListBackupStatusSecretsSlotDefaultResponse >; } @@ -5961,10 +6077,10 @@ export interface WebAppsRestoreSlot { /** Restores a specific backup to another app (or deployment slot, if specified). */ post( options: WebAppsRestoreSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreSlot200Response | WebAppsRestoreSlot202Response - | WebAppsRestoreSlotdefaultResponse + | WebAppsRestoreSlotDefaultResponse >; } @@ -5972,9 +6088,9 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesSlot { /** Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. */ get( options?: WebAppsListBasicPublishingCredentialsPoliciesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListBasicPublishingCredentialsPoliciesSlot200Response - | WebAppsListBasicPublishingCredentialsPoliciesSlotdefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse >; } @@ -5982,30 +6098,38 @@ export interface WebAppsGetFtpAllowedSlot { /** Returns whether FTP is allowed on the site or not. */ get( options?: WebAppsGetFtpAllowedSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetFtpAllowedSlot200Response | WebAppsGetFtpAllowedSlotDefaultResponse + >; /** Updates whether FTP is allowed on the site or not. */ put( options: WebAppsUpdateFtpAllowedSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateFtpAllowedSlot200Response | WebAppsUpdateFtpAllowedSlotDefaultResponse + >; } export interface WebAppsGetScmAllowedSlot { /** Returns whether Scm basic auth is allowed on the site or not. */ get( options?: WebAppsGetScmAllowedSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetScmAllowedSlot200Response | WebAppsGetScmAllowedSlotDefaultResponse + >; /** Updates whether user publishing credentials are allowed on the site or not. */ put( options: WebAppsUpdateScmAllowedSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateScmAllowedSlot200Response | WebAppsUpdateScmAllowedSlotDefaultResponse + >; } export interface WebAppsListConfigurationsSlot { /** List the configurations of an app */ get( options?: WebAppsListConfigurationsSlotParameters, - ): Promise< - WebAppsListConfigurationsSlot200Response | WebAppsListConfigurationsSlotdefaultResponse + ): StreamableMethod< + WebAppsListConfigurationsSlot200Response | WebAppsListConfigurationsSlotDefaultResponse >; } @@ -6013,9 +6137,9 @@ export interface WebAppsUpdateApplicationSettingsSlot { /** Replaces the application settings of an app. */ put( options: WebAppsUpdateApplicationSettingsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateApplicationSettingsSlot200Response - | WebAppsUpdateApplicationSettingsSlotdefaultResponse + | WebAppsUpdateApplicationSettingsSlotDefaultResponse >; } @@ -6023,9 +6147,9 @@ export interface WebAppsListApplicationSettingsSlot { /** Gets the application settings of an app. */ post( options?: WebAppsListApplicationSettingsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListApplicationSettingsSlot200Response - | WebAppsListApplicationSettingsSlotdefaultResponse + | WebAppsListApplicationSettingsSlotDefaultResponse >; } @@ -6033,8 +6157,8 @@ export interface WebAppsUpdateAuthSettingsSlot { /** Updates the Authentication / Authorization settings associated with web app. */ put( options: WebAppsUpdateAuthSettingsSlotParameters, - ): Promise< - WebAppsUpdateAuthSettingsSlot200Response | WebAppsUpdateAuthSettingsSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateAuthSettingsSlot200Response | WebAppsUpdateAuthSettingsSlotDefaultResponse >; } @@ -6042,22 +6166,24 @@ export interface WebAppsGetAuthSettingsSlot { /** Gets the Authentication/Authorization settings of an app. */ post( options?: WebAppsGetAuthSettingsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetAuthSettingsSlot200Response | WebAppsGetAuthSettingsSlotDefaultResponse + >; } export interface WebAppsGetAuthSettingsV2WithoutSecretsSlot { /** Gets site's Authentication / Authorization settings for apps via the V2 format */ get( options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response - | WebAppsGetAuthSettingsV2WithoutSecretsSlotdefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse >; /** Updates site's Authentication / Authorization settings for apps via the V2 format */ put( options: WebAppsUpdateAuthSettingsV2SlotParameters, - ): Promise< - WebAppsUpdateAuthSettingsV2Slot200Response | WebAppsUpdateAuthSettingsV2SlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateAuthSettingsV2Slot200Response | WebAppsUpdateAuthSettingsV2SlotDefaultResponse >; } @@ -6065,16 +6191,18 @@ export interface WebAppsGetAuthSettingsV2Slot { /** Gets site's Authentication / Authorization settings for apps via the V2 format */ get( options?: WebAppsGetAuthSettingsV2SlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetAuthSettingsV2Slot200Response | WebAppsGetAuthSettingsV2SlotDefaultResponse + >; } export interface WebAppsUpdateAzureStorageAccountsSlot { /** Updates the Azure storage account configurations of an app. */ put( options: WebAppsUpdateAzureStorageAccountsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateAzureStorageAccountsSlot200Response - | WebAppsUpdateAzureStorageAccountsSlotdefaultResponse + | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse >; } @@ -6082,9 +6210,9 @@ export interface WebAppsListAzureStorageAccountsSlot { /** Gets the Azure storage account configurations of an app. */ post( options?: WebAppsListAzureStorageAccountsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListAzureStorageAccountsSlot200Response - | WebAppsListAzureStorageAccountsSlotdefaultResponse + | WebAppsListAzureStorageAccountsSlotDefaultResponse >; } @@ -6092,16 +6220,16 @@ export interface WebAppsUpdateBackupConfigurationSlot { /** Updates the backup configuration of an app. */ put( options: WebAppsUpdateBackupConfigurationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateBackupConfigurationSlot200Response - | WebAppsUpdateBackupConfigurationSlotdefaultResponse + | WebAppsUpdateBackupConfigurationSlotDefaultResponse >; /** Deletes the backup configuration of an app. */ delete( options?: WebAppsDeleteBackupConfigurationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteBackupConfigurationSlot200Response - | WebAppsDeleteBackupConfigurationSlotdefaultResponse + | WebAppsDeleteBackupConfigurationSlotDefaultResponse >; } @@ -6109,8 +6237,8 @@ export interface WebAppsGetBackupConfigurationSlot { /** Gets the backup configuration of an app. */ post( options?: WebAppsGetBackupConfigurationSlotParameters, - ): Promise< - WebAppsGetBackupConfigurationSlot200Response | WebAppsGetBackupConfigurationSlotdefaultResponse + ): StreamableMethod< + WebAppsGetBackupConfigurationSlot200Response | WebAppsGetBackupConfigurationSlotDefaultResponse >; } @@ -6118,9 +6246,9 @@ export interface WebAppsGetAppSettingsKeyVaultReferencesSlot { /** Gets the config reference app settings and status of an app */ get( options?: WebAppsGetAppSettingsKeyVaultReferencesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAppSettingsKeyVaultReferencesSlot200Response - | WebAppsGetAppSettingsKeyVaultReferencesSlotdefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse >; } @@ -6128,9 +6256,9 @@ export interface WebAppsGetAppSettingKeyVaultReferenceSlot { /** Gets the config reference and status of an app */ get( options?: WebAppsGetAppSettingKeyVaultReferenceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAppSettingKeyVaultReferenceSlot200Response - | WebAppsGetAppSettingKeyVaultReferenceSlotdefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse >; } @@ -6138,9 +6266,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlot { /** Gets the config reference app settings and status of an app */ get( options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response - | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotdefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse >; } @@ -6148,9 +6276,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlot { /** Gets the config reference and status of an app */ get( options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response - | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotdefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse >; } @@ -6158,9 +6286,9 @@ export interface WebAppsUpdateConnectionStringsSlot { /** Replaces the connection strings of an app. */ put( options: WebAppsUpdateConnectionStringsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateConnectionStringsSlot200Response - | WebAppsUpdateConnectionStringsSlotdefaultResponse + | WebAppsUpdateConnectionStringsSlotDefaultResponse >; } @@ -6168,8 +6296,8 @@ export interface WebAppsListConnectionStringsSlot { /** Gets the connection strings of an app. */ post( options?: WebAppsListConnectionStringsSlotParameters, - ): Promise< - WebAppsListConnectionStringsSlot200Response | WebAppsListConnectionStringsSlotdefaultResponse + ): StreamableMethod< + WebAppsListConnectionStringsSlot200Response | WebAppsListConnectionStringsSlotDefaultResponse >; } @@ -6177,16 +6305,16 @@ export interface WebAppsGetDiagnosticLogsConfigurationSlot { /** Gets the logging configuration of an app. */ get( options?: WebAppsGetDiagnosticLogsConfigurationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetDiagnosticLogsConfigurationSlot200Response - | WebAppsGetDiagnosticLogsConfigurationSlotdefaultResponse + | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse >; /** Updates the logging configuration of an app. */ put( options: WebAppsUpdateDiagnosticLogsConfigSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateDiagnosticLogsConfigSlot200Response - | WebAppsUpdateDiagnosticLogsConfigSlotdefaultResponse + | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse >; } @@ -6194,23 +6322,25 @@ export interface WebAppsUpdateMetadataSlot { /** Replaces the metadata of an app. */ put( options: WebAppsUpdateMetadataSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateMetadataSlot200Response | WebAppsUpdateMetadataSlotDefaultResponse + >; } export interface WebAppsListMetadataSlot { /** Gets the metadata of an app. */ post( options?: WebAppsListMetadataSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListPublishingCredentialsSlot { /** Gets the Git/FTP publishing credentials of an app. */ post( options?: WebAppsListPublishingCredentialsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListPublishingCredentialsSlot200Response - | WebAppsListPublishingCredentialsSlotdefaultResponse + | WebAppsListPublishingCredentialsSlotDefaultResponse >; } @@ -6218,8 +6348,8 @@ export interface WebAppsUpdateSitePushSettingsSlot { /** Updates the Push settings associated with web app. */ put( options: WebAppsUpdateSitePushSettingsSlotParameters, - ): Promise< - WebAppsUpdateSitePushSettingsSlot200Response | WebAppsUpdateSitePushSettingsSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateSitePushSettingsSlot200Response | WebAppsUpdateSitePushSettingsSlotDefaultResponse >; } @@ -6227,8 +6357,8 @@ export interface WebAppsListSitePushSettingsSlot { /** Gets the Push settings associated with web app. */ post( options?: WebAppsListSitePushSettingsSlotParameters, - ): Promise< - WebAppsListSitePushSettingsSlot200Response | WebAppsListSitePushSettingsSlotdefaultResponse + ): StreamableMethod< + WebAppsListSitePushSettingsSlot200Response | WebAppsListSitePushSettingsSlotDefaultResponse >; } @@ -6236,19 +6366,21 @@ export interface WebAppsGetConfigurationSlot { /** Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. */ get( options?: WebAppsGetConfigurationSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetConfigurationSlot200Response | WebAppsGetConfigurationSlotDefaultResponse + >; /** Updates the configuration of an app. */ put( options: WebAppsCreateOrUpdateConfigurationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateConfigurationSlot200Response - | WebAppsCreateOrUpdateConfigurationSlotdefaultResponse + | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse >; /** Updates the configuration of an app. */ patch( options: WebAppsUpdateConfigurationSlotParameters, - ): Promise< - WebAppsUpdateConfigurationSlot200Response | WebAppsUpdateConfigurationSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateConfigurationSlot200Response | WebAppsUpdateConfigurationSlotDefaultResponse >; } @@ -6256,9 +6388,9 @@ export interface WebAppsListConfigurationSnapshotInfoSlot { /** Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. */ get( options?: WebAppsListConfigurationSnapshotInfoSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListConfigurationSnapshotInfoSlot200Response - | WebAppsListConfigurationSnapshotInfoSlotdefaultResponse + | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse >; } @@ -6266,9 +6398,9 @@ export interface WebAppsGetConfigurationSnapshotSlot { /** Gets a snapshot of the configuration of an app at a previous point in time. */ get( options?: WebAppsGetConfigurationSnapshotSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetConfigurationSnapshotSlot200Response - | WebAppsGetConfigurationSnapshotSlotdefaultResponse + | WebAppsGetConfigurationSnapshotSlotDefaultResponse >; } @@ -6276,9 +6408,9 @@ export interface WebAppsRecoverSiteConfigurationSnapshotSlot { /** Reverts the configuration of an app to a previous snapshot. */ post( options?: WebAppsRecoverSiteConfigurationSnapshotSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRecoverSiteConfigurationSnapshotSlot204Response - | WebAppsRecoverSiteConfigurationSnapshotSlotdefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse >; } @@ -6286,10 +6418,10 @@ export interface WebAppsGetWebSiteContainerLogsSlot { /** Gets the last lines of docker logs for the given site */ post( options?: WebAppsGetWebSiteContainerLogsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetWebSiteContainerLogsSlot200Response | WebAppsGetWebSiteContainerLogsSlot204Response - | WebAppsGetWebSiteContainerLogsSlotdefaultResponse + | WebAppsGetWebSiteContainerLogsSlotDefaultResponse >; } @@ -6297,10 +6429,10 @@ export interface WebAppsGetContainerLogsZipSlot { /** Gets the ZIP archived docker log files for the given site */ post( options?: WebAppsGetContainerLogsZipSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetContainerLogsZipSlot200Response | WebAppsGetContainerLogsZipSlot204Response - | WebAppsGetContainerLogsZipSlotdefaultResponse + | WebAppsGetContainerLogsZipSlotDefaultResponse >; } @@ -6308,8 +6440,8 @@ export interface WebAppsListContinuousWebJobsSlot { /** List continuous web jobs for an app, or a deployment slot. */ get( options?: WebAppsListContinuousWebJobsSlotParameters, - ): Promise< - WebAppsListContinuousWebJobsSlot200Response | WebAppsListContinuousWebJobsSlotdefaultResponse + ): StreamableMethod< + WebAppsListContinuousWebJobsSlot200Response | WebAppsListContinuousWebJobsSlotDefaultResponse >; } @@ -6317,18 +6449,18 @@ export interface WebAppsGetContinuousWebJobSlot { /** Gets a continuous web job by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetContinuousWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetContinuousWebJobSlot200Response | WebAppsGetContinuousWebJobSlot404Response - | WebAppsGetContinuousWebJobSlotdefaultResponse + | WebAppsGetContinuousWebJobSlotDefaultResponse >; /** Delete a continuous web job by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteContinuousWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteContinuousWebJobSlot200Response | WebAppsDeleteContinuousWebJobSlot204Response - | WebAppsDeleteContinuousWebJobSlotdefaultResponse + | WebAppsDeleteContinuousWebJobSlotDefaultResponse >; } @@ -6336,10 +6468,10 @@ export interface WebAppsStartContinuousWebJobSlot { /** Start a continuous web job for an app, or a deployment slot. */ post( options?: WebAppsStartContinuousWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartContinuousWebJobSlot200Response | WebAppsStartContinuousWebJobSlot404Response - | WebAppsStartContinuousWebJobSlotdefaultResponse + | WebAppsStartContinuousWebJobSlotDefaultResponse >; } @@ -6347,10 +6479,10 @@ export interface WebAppsStopContinuousWebJobSlot { /** Stop a continuous web job for an app, or a deployment slot. */ post( options?: WebAppsStopContinuousWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopContinuousWebJobSlot200Response | WebAppsStopContinuousWebJobSlot404Response - | WebAppsStopContinuousWebJobSlotdefaultResponse + | WebAppsStopContinuousWebJobSlotDefaultResponse >; } @@ -6358,25 +6490,31 @@ export interface WebAppsListDeploymentsSlot { /** List deployments for an app, or a deployment slot. */ get( options?: WebAppsListDeploymentsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListDeploymentsSlot200Response | WebAppsListDeploymentsSlotDefaultResponse + >; } export interface WebAppsGetDeploymentSlot { /** Get a deployment by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetDeploymentSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetDeploymentSlot200Response | WebAppsGetDeploymentSlotDefaultResponse + >; /** Create a deployment for an app, or a deployment slot. */ put( options: WebAppsCreateDeploymentSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsCreateDeploymentSlot200Response | WebAppsCreateDeploymentSlotDefaultResponse + >; /** Delete a deployment by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteDeploymentSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteDeploymentSlot200Response | WebAppsDeleteDeploymentSlot204Response - | WebAppsDeleteDeploymentSlotdefaultResponse + | WebAppsDeleteDeploymentSlotDefaultResponse >; } @@ -6384,23 +6522,27 @@ export interface WebAppsListDeploymentLogSlot { /** List deployment log for specific deployment for an app, or a deployment slot. */ get( options?: WebAppsListDeploymentLogSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListDeploymentLogSlot200Response | WebAppsListDeploymentLogSlotDefaultResponse + >; } export interface WebAppsDiscoverBackupSlot { /** Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. */ post( options: WebAppsDiscoverBackupSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsDiscoverBackupSlot200Response | WebAppsDiscoverBackupSlotDefaultResponse + >; } export interface WebAppsListDomainOwnershipIdentifiersSlot { /** Lists ownership identifiers for domain associated with web app. */ get( options?: WebAppsListDomainOwnershipIdentifiersSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListDomainOwnershipIdentifiersSlot200Response - | WebAppsListDomainOwnershipIdentifiersSlotdefaultResponse + | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse >; } @@ -6408,31 +6550,31 @@ export interface WebAppsGetDomainOwnershipIdentifierSlot { /** Get domain ownership identifier for web app. */ get( options?: WebAppsGetDomainOwnershipIdentifierSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetDomainOwnershipIdentifierSlot200Response - | WebAppsGetDomainOwnershipIdentifierSlotdefaultResponse + | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse >; /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ put( options: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response - | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotdefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse >; /** Deletes a domain ownership identifier for a web app. */ delete( options?: WebAppsDeleteDomainOwnershipIdentifierSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteDomainOwnershipIdentifierSlot200Response | WebAppsDeleteDomainOwnershipIdentifierSlot204Response - | WebAppsDeleteDomainOwnershipIdentifierSlotdefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse >; /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ patch( options: WebAppsUpdateDomainOwnershipIdentifierSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateDomainOwnershipIdentifierSlot200Response - | WebAppsUpdateDomainOwnershipIdentifierSlotdefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse >; } @@ -6440,14 +6582,16 @@ export interface WebAppsGetMSDeployStatusSlot { /** Get the status of the last MSDeploy operation. */ get( options?: WebAppsGetMSDeployStatusSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetMSDeployStatusSlot200Response | WebAppsGetMSDeployStatusSlotDefaultResponse + >; /** Invoke the MSDeploy web app extension. */ put( options: WebAppsCreateMSDeployOperationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateMSDeployOperationSlot201Response | WebAppsCreateMSDeployOperationSlot409Response - | WebAppsCreateMSDeployOperationSlotdefaultResponse + | WebAppsCreateMSDeployOperationSlotDefaultResponse >; } @@ -6455,10 +6599,10 @@ export interface WebAppsGetMSDeployLogSlot { /** Get the MSDeploy Log for the last MSDeploy operation. */ get( options?: WebAppsGetMSDeployLogSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetMSDeployLogSlot200Response | WebAppsGetMSDeployLogSlot404Response - | WebAppsGetMSDeployLogSlotdefaultResponse + | WebAppsGetMSDeployLogSlotDefaultResponse >; } @@ -6466,10 +6610,10 @@ export interface WebAppsListInstanceFunctionsSlot { /** List the functions for a web site, or a deployment slot. */ get( options?: WebAppsListInstanceFunctionsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceFunctionsSlot200Response | WebAppsListInstanceFunctionsSlot404Response - | WebAppsListInstanceFunctionsSlotdefaultResponse + | WebAppsListInstanceFunctionsSlotDefaultResponse >; } @@ -6477,8 +6621,8 @@ export interface WebAppsGetFunctionsAdminTokenSlot { /** Fetch a short lived token that can be exchanged for a master key. */ get( options?: WebAppsGetFunctionsAdminTokenSlotParameters, - ): Promise< - WebAppsGetFunctionsAdminTokenSlot200Response | WebAppsGetFunctionsAdminTokenSlotdefaultResponse + ): StreamableMethod< + WebAppsGetFunctionsAdminTokenSlot200Response | WebAppsGetFunctionsAdminTokenSlotDefaultResponse >; } @@ -6486,24 +6630,24 @@ export interface WebAppsGetInstanceFunctionSlot { /** Get function information by its ID for web site, or a deployment slot. */ get( options?: WebAppsGetInstanceFunctionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceFunctionSlot200Response | WebAppsGetInstanceFunctionSlot404Response - | WebAppsGetInstanceFunctionSlotdefaultResponse + | WebAppsGetInstanceFunctionSlotDefaultResponse >; /** Create function for web site, or a deployment slot. */ put( options: WebAppsCreateInstanceFunctionSlotParameters, - ): Promise< - WebAppsCreateInstanceFunctionSlot201Response | WebAppsCreateInstanceFunctionSlotdefaultResponse + ): StreamableMethod< + WebAppsCreateInstanceFunctionSlot201Response | WebAppsCreateInstanceFunctionSlotDefaultResponse >; /** Delete a function for web site, or a deployment slot. */ delete( options?: WebAppsDeleteInstanceFunctionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteInstanceFunctionSlot204Response | WebAppsDeleteInstanceFunctionSlot404Response - | WebAppsDeleteInstanceFunctionSlotdefaultResponse + | WebAppsDeleteInstanceFunctionSlotDefaultResponse >; } @@ -6511,18 +6655,18 @@ export interface WebAppsCreateOrUpdateFunctionSecretSlot { /** Add or update a function secret. */ put( options: WebAppsCreateOrUpdateFunctionSecretSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateFunctionSecretSlot200Response | WebAppsCreateOrUpdateFunctionSecretSlot201Response - | WebAppsCreateOrUpdateFunctionSecretSlotdefaultResponse + | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse >; /** Delete a function secret. */ delete( options?: WebAppsDeleteFunctionSecretSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteFunctionSecretSlot204Response | WebAppsDeleteFunctionSecretSlot404Response - | WebAppsDeleteFunctionSecretSlotdefaultResponse + | WebAppsDeleteFunctionSecretSlotDefaultResponse >; } @@ -6530,15 +6674,17 @@ export interface WebAppsListFunctionKeysSlot { /** Get function keys for a function in a web site, or a deployment slot. */ post( options?: WebAppsListFunctionKeysSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListFunctionKeysSlot200Response | WebAppsListFunctionKeysSlotDefaultResponse + >; } export interface WebAppsListFunctionSecretsSlot { /** Get function secrets for a function in a web site, or a deployment slot. */ post( options?: WebAppsListFunctionSecretsSlotParameters, - ): Promise< - WebAppsListFunctionSecretsSlot200Response | WebAppsListFunctionSecretsSlotdefaultResponse + ): StreamableMethod< + WebAppsListFunctionSecretsSlot200Response | WebAppsListFunctionSecretsSlotDefaultResponse >; } @@ -6546,39 +6692,43 @@ export interface WebAppsListHostKeysSlot { /** Get host secrets for a function app. */ post( options?: WebAppsListHostKeysSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSyncStatusSlot { /** This is to allow calling via powershell and ARM template. */ post( options?: WebAppsListSyncStatusSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListSyncStatusSlot204Response | WebAppsListSyncStatusSlotDefaultResponse + >; } export interface WebAppsSyncFunctionsSlot { /** Syncs function trigger metadata to the management database */ post( options?: WebAppsSyncFunctionsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsSyncFunctionsSlot204Response | WebAppsSyncFunctionsSlotDefaultResponse + >; } export interface WebAppsCreateOrUpdateHostSecretSlot { /** Add or update a host level secret. */ put( options: WebAppsCreateOrUpdateHostSecretSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHostSecretSlot200Response | WebAppsCreateOrUpdateHostSecretSlot201Response - | WebAppsCreateOrUpdateHostSecretSlotdefaultResponse + | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse >; /** Delete a host level secret. */ delete( options?: WebAppsDeleteHostSecretSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHostSecretSlot204Response | WebAppsDeleteHostSecretSlot404Response - | WebAppsDeleteHostSecretSlotdefaultResponse + | WebAppsDeleteHostSecretSlotDefaultResponse >; } @@ -6586,8 +6736,8 @@ export interface WebAppsListHostNameBindingsSlot { /** Get hostname bindings for an app or a deployment slot. */ get( options?: WebAppsListHostNameBindingsSlotParameters, - ): Promise< - WebAppsListHostNameBindingsSlot200Response | WebAppsListHostNameBindingsSlotdefaultResponse + ): StreamableMethod< + WebAppsListHostNameBindingsSlot200Response | WebAppsListHostNameBindingsSlotDefaultResponse >; } @@ -6595,23 +6745,23 @@ export interface WebAppsGetHostNameBindingSlot { /** Get the named hostname binding for an app (or deployment slot, if specified). */ get( options?: WebAppsGetHostNameBindingSlotParameters, - ): Promise< - WebAppsGetHostNameBindingSlot200Response | WebAppsGetHostNameBindingSlotdefaultResponse + ): StreamableMethod< + WebAppsGetHostNameBindingSlot200Response | WebAppsGetHostNameBindingSlotDefaultResponse >; /** Creates a hostname binding for an app. */ put( options: WebAppsCreateOrUpdateHostNameBindingSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHostNameBindingSlot200Response - | WebAppsCreateOrUpdateHostNameBindingSlotdefaultResponse + | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse >; /** Deletes a hostname binding for an app. */ delete( options?: WebAppsDeleteHostNameBindingSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHostNameBindingSlot200Response | WebAppsDeleteHostNameBindingSlot204Response - | WebAppsDeleteHostNameBindingSlotdefaultResponse + | WebAppsDeleteHostNameBindingSlotDefaultResponse >; } @@ -6619,29 +6769,29 @@ export interface WebAppsGetHybridConnectionSlot { /** Retrieves a specific Service Bus Hybrid Connection used by this Web App. */ get( options?: WebAppsGetHybridConnectionSlotParameters, - ): Promise< - WebAppsGetHybridConnectionSlot200Response | WebAppsGetHybridConnectionSlotdefaultResponse + ): StreamableMethod< + WebAppsGetHybridConnectionSlot200Response | WebAppsGetHybridConnectionSlotDefaultResponse >; /** Creates a new Hybrid Connection using a Service Bus relay. */ put( options: WebAppsCreateOrUpdateHybridConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHybridConnectionSlot200Response - | WebAppsCreateOrUpdateHybridConnectionSlotdefaultResponse + | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse >; /** Removes a Hybrid Connection from this site. */ delete( options?: WebAppsDeleteHybridConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHybridConnectionSlot200Response | WebAppsDeleteHybridConnectionSlot404Response - | WebAppsDeleteHybridConnectionSlotdefaultResponse + | WebAppsDeleteHybridConnectionSlotDefaultResponse >; /** Creates a new Hybrid Connection using a Service Bus relay. */ patch( options: WebAppsUpdateHybridConnectionSlotParameters, - ): Promise< - WebAppsUpdateHybridConnectionSlot200Response | WebAppsUpdateHybridConnectionSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateHybridConnectionSlot200Response | WebAppsUpdateHybridConnectionSlotDefaultResponse >; } @@ -6649,8 +6799,8 @@ export interface WebAppsListHybridConnectionsSlot { /** Retrieves all Service Bus Hybrid Connections used by this Web App. */ get( options?: WebAppsListHybridConnectionsSlotParameters, - ): Promise< - WebAppsListHybridConnectionsSlot200Response | WebAppsListHybridConnectionsSlotdefaultResponse + ): StreamableMethod< + WebAppsListHybridConnectionsSlot200Response | WebAppsListHybridConnectionsSlotDefaultResponse >; } @@ -6658,9 +6808,9 @@ export interface WebAppsListRelayServiceConnectionsSlot { /** Gets hybrid connections configured for an app (or deployment slot, if specified). */ get( options?: WebAppsListRelayServiceConnectionsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListRelayServiceConnectionsSlot200Response - | WebAppsListRelayServiceConnectionsSlotdefaultResponse + | WebAppsListRelayServiceConnectionsSlotDefaultResponse >; } @@ -6668,31 +6818,31 @@ export interface WebAppsGetRelayServiceConnectionSlot { /** Gets a hybrid connection configuration by its name. */ get( options?: WebAppsGetRelayServiceConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetRelayServiceConnectionSlot200Response - | WebAppsGetRelayServiceConnectionSlotdefaultResponse + | WebAppsGetRelayServiceConnectionSlotDefaultResponse >; /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ put( options: WebAppsCreateOrUpdateRelayServiceConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response - | WebAppsCreateOrUpdateRelayServiceConnectionSlotdefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse >; /** Deletes a relay service connection by its name. */ delete( options?: WebAppsDeleteRelayServiceConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteRelayServiceConnectionSlot200Response | WebAppsDeleteRelayServiceConnectionSlot404Response - | WebAppsDeleteRelayServiceConnectionSlotdefaultResponse + | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse >; /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ patch( options: WebAppsUpdateRelayServiceConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateRelayServiceConnectionSlot200Response - | WebAppsUpdateRelayServiceConnectionSlotdefaultResponse + | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse >; } @@ -6700,9 +6850,9 @@ export interface WebAppsListInstanceIdentifiersSlot { /** Gets all scale-out instances of an app. */ get( options?: WebAppsListInstanceIdentifiersSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceIdentifiersSlot200Response - | WebAppsListInstanceIdentifiersSlotdefaultResponse + | WebAppsListInstanceIdentifiersSlotDefaultResponse >; } @@ -6710,24 +6860,26 @@ export interface WebAppsGetInstanceInfoSlot { /** Gets all scale-out instances of an app. */ get( options?: WebAppsGetInstanceInfoSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetInstanceInfoSlot200Response | WebAppsGetInstanceInfoSlotDefaultResponse + >; } export interface WebAppsGetInstanceMsDeployStatusSlot { /** Get the status of the last MSDeploy operation. */ get( options?: WebAppsGetInstanceMsDeployStatusSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceMsDeployStatusSlot200Response - | WebAppsGetInstanceMsDeployStatusSlotdefaultResponse + | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse >; /** Invoke the MSDeploy web app extension. */ put( options: WebAppsCreateInstanceMSDeployOperationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateInstanceMSDeployOperationSlot201Response | WebAppsCreateInstanceMSDeployOperationSlot409Response - | WebAppsCreateInstanceMSDeployOperationSlotdefaultResponse + | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse >; } @@ -6735,10 +6887,10 @@ export interface WebAppsGetInstanceMSDeployLogSlot { /** Get the MSDeploy Log for the last MSDeploy operation. */ get( options?: WebAppsGetInstanceMSDeployLogSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceMSDeployLogSlot200Response | WebAppsGetInstanceMSDeployLogSlot404Response - | WebAppsGetInstanceMSDeployLogSlotdefaultResponse + | WebAppsGetInstanceMSDeployLogSlotDefaultResponse >; } @@ -6746,10 +6898,10 @@ export interface WebAppsListInstanceProcessesSlot { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessesSlot200Response | WebAppsListInstanceProcessesSlot404Response - | WebAppsListInstanceProcessesSlotdefaultResponse + | WebAppsListInstanceProcessesSlotDefaultResponse >; } @@ -6757,18 +6909,18 @@ export interface WebAppsGetInstanceProcessSlot { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessSlot200Response | WebAppsGetInstanceProcessSlot404Response - | WebAppsGetInstanceProcessSlotdefaultResponse + | WebAppsGetInstanceProcessSlotDefaultResponse >; /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ delete( options?: WebAppsDeleteInstanceProcessSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteInstanceProcessSlot204Response | WebAppsDeleteInstanceProcessSlot404Response - | WebAppsDeleteInstanceProcessSlotdefaultResponse + | WebAppsDeleteInstanceProcessSlotDefaultResponse >; } @@ -6776,10 +6928,10 @@ export interface WebAppsGetInstanceProcessDumpSlot { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessDumpSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessDumpSlot200Response | WebAppsGetInstanceProcessDumpSlot404Response - | WebAppsGetInstanceProcessDumpSlotdefaultResponse + | WebAppsGetInstanceProcessDumpSlotDefaultResponse >; } @@ -6787,10 +6939,10 @@ export interface WebAppsListInstanceProcessModulesSlot { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessModulesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessModulesSlot200Response | WebAppsListInstanceProcessModulesSlot404Response - | WebAppsListInstanceProcessModulesSlotdefaultResponse + | WebAppsListInstanceProcessModulesSlotDefaultResponse >; } @@ -6798,10 +6950,10 @@ export interface WebAppsGetInstanceProcessModuleSlot { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessModuleSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessModuleSlot200Response | WebAppsGetInstanceProcessModuleSlot404Response - | WebAppsGetInstanceProcessModuleSlotdefaultResponse + | WebAppsGetInstanceProcessModuleSlotDefaultResponse >; } @@ -6809,10 +6961,10 @@ export interface WebAppsListInstanceProcessThreadsSlot { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessThreadsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessThreadsSlot200Response | WebAppsListInstanceProcessThreadsSlot404Response - | WebAppsListInstanceProcessThreadsSlotdefaultResponse + | WebAppsListInstanceProcessThreadsSlotDefaultResponse >; } @@ -6820,23 +6972,25 @@ export interface WebAppsIsCloneableSlot { /** Shows whether an app can be cloned to another resource group or subscription. */ post( options?: WebAppsIsCloneableSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSiteBackupsSlot { /** Gets existing backups of an app. */ post( options?: WebAppsListSiteBackupsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListSiteBackupsSlot200Response | WebAppsListSiteBackupsSlotDefaultResponse + >; } export interface WebAppsListSyncFunctionTriggersSlot { /** This is to allow calling via powershell and ARM template. */ post( options?: WebAppsListSyncFunctionTriggersSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSyncFunctionTriggersSlot200Response - | WebAppsListSyncFunctionTriggersSlotdefaultResponse + | WebAppsListSyncFunctionTriggersSlotDefaultResponse >; } @@ -6844,8 +6998,8 @@ export interface WebAppsGetMigrateMySqlStatusSlot { /** Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled */ get( options?: WebAppsGetMigrateMySqlStatusSlotParameters, - ): Promise< - WebAppsGetMigrateMySqlStatusSlot200Response | WebAppsGetMigrateMySqlStatusSlotdefaultResponse + ): StreamableMethod< + WebAppsGetMigrateMySqlStatusSlot200Response | WebAppsGetMigrateMySqlStatusSlotDefaultResponse >; } @@ -6853,9 +7007,9 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot { /** Gets a Swift Virtual Network connection. */ get( options?: WebAppsGetSwiftVirtualNetworkConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSwiftVirtualNetworkConnectionSlot200Response - | WebAppsGetSwiftVirtualNetworkConnectionSlotdefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse >; /** * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not @@ -6863,17 +7017,17 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot { */ put( options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response - | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse >; /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ delete( options?: WebAppsDeleteSwiftVirtualNetworkSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSwiftVirtualNetworkSlot200Response | WebAppsDeleteSwiftVirtualNetworkSlot404Response - | WebAppsDeleteSwiftVirtualNetworkSlotdefaultResponse + | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse >; /** * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not @@ -6881,9 +7035,9 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot { */ patch( options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response - | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse >; } @@ -6891,10 +7045,10 @@ export interface WebAppsListNetworkFeaturesSlot { /** Gets all network features used by the app (or deployment slot, if specified). */ get( options?: WebAppsListNetworkFeaturesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListNetworkFeaturesSlot200Response | WebAppsListNetworkFeaturesSlot404Response - | WebAppsListNetworkFeaturesSlotdefaultResponse + | WebAppsListNetworkFeaturesSlotDefaultResponse >; } @@ -6902,10 +7056,10 @@ export interface WebAppsGetNetworkTraceOperationSlot { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTraceOperationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetNetworkTraceOperationSlot200Response | WebAppsGetNetworkTraceOperationSlot202Response - | WebAppsGetNetworkTraceOperationSlotdefaultResponse + | WebAppsGetNetworkTraceOperationSlotDefaultResponse >; } @@ -6913,9 +7067,9 @@ export interface WebAppsStartWebSiteNetworkTraceSlot { /** Start capturing network packets for the site (To be deprecated). */ post( options?: WebAppsStartWebSiteNetworkTraceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartWebSiteNetworkTraceSlot200Response - | WebAppsStartWebSiteNetworkTraceSlotdefaultResponse + | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse >; } @@ -6923,10 +7077,10 @@ export interface WebAppsStartWebSiteNetworkTraceOperationSlot { /** Start capturing network packets for the site. */ post( options?: WebAppsStartWebSiteNetworkTraceOperationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartWebSiteNetworkTraceOperationSlot200Response | WebAppsStartWebSiteNetworkTraceOperationSlot202Response - | WebAppsStartWebSiteNetworkTraceOperationSlotdefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse >; } @@ -6934,10 +7088,10 @@ export interface WebAppsStopWebSiteNetworkTraceSlot { /** Stop ongoing capturing network packets for the site. */ post( options?: WebAppsStopWebSiteNetworkTraceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopWebSiteNetworkTraceSlot200Response | WebAppsStopWebSiteNetworkTraceSlot204Response - | WebAppsStopWebSiteNetworkTraceSlotdefaultResponse + | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse >; } @@ -6945,17 +7099,19 @@ export interface WebAppsGetNetworkTracesSlot { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTracesSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetNetworkTracesSlot200Response | WebAppsGetNetworkTracesSlotDefaultResponse + >; } export interface WebAppsGetNetworkTraceOperationSlotV2 { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTraceOperationSlotV2Parameters, - ): Promise< + ): StreamableMethod< | WebAppsGetNetworkTraceOperationSlotV2200Response | WebAppsGetNetworkTraceOperationSlotV2202Response - | WebAppsGetNetworkTraceOperationSlotV2defaultResponse + | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse >; } @@ -6963,8 +7119,8 @@ export interface WebAppsGetNetworkTracesSlotV2 { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTracesSlotV2Parameters, - ): Promise< - WebAppsGetNetworkTracesSlotV2200Response | WebAppsGetNetworkTracesSlotV2defaultResponse + ): StreamableMethod< + WebAppsGetNetworkTracesSlotV2200Response | WebAppsGetNetworkTracesSlotV2DefaultResponse >; } @@ -6972,10 +7128,10 @@ export interface WebAppsGenerateNewSitePublishingPasswordSlot { /** Generates a new publishing password for an app (or deployment slot, if specified). */ post( options?: WebAppsGenerateNewSitePublishingPasswordSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGenerateNewSitePublishingPasswordSlot200Response | WebAppsGenerateNewSitePublishingPasswordSlot204Response - | WebAppsGenerateNewSitePublishingPasswordSlotdefaultResponse + | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse >; } @@ -6983,8 +7139,8 @@ export interface WebAppsListPerfMonCountersSlot { /** Gets perfmon counters for web app. */ get( options?: WebAppsListPerfMonCountersSlotParameters, - ): Promise< - WebAppsListPerfMonCountersSlot200Response | WebAppsListPerfMonCountersSlotdefaultResponse + ): StreamableMethod< + WebAppsListPerfMonCountersSlot200Response | WebAppsListPerfMonCountersSlotDefaultResponse >; } @@ -6992,8 +7148,8 @@ export interface WebAppsGetSitePhpErrorLogFlagSlot { /** Gets web app's event logs. */ get( options?: WebAppsGetSitePhpErrorLogFlagSlotParameters, - ): Promise< - WebAppsGetSitePhpErrorLogFlagSlot200Response | WebAppsGetSitePhpErrorLogFlagSlotdefaultResponse + ): StreamableMethod< + WebAppsGetSitePhpErrorLogFlagSlot200Response | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse >; } @@ -7001,29 +7157,35 @@ export interface WebAppsListPremierAddOnsSlot { /** Gets the premier add-ons of an app. */ get( options?: WebAppsListPremierAddOnsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListPremierAddOnsSlot200Response | WebAppsListPremierAddOnsSlotDefaultResponse + >; } export interface WebAppsGetPremierAddOnSlot { /** Gets a named add-on of an app. */ get( options?: WebAppsGetPremierAddOnSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetPremierAddOnSlot200Response | WebAppsGetPremierAddOnSlotDefaultResponse + >; /** Updates a named add-on of an app. */ put( options: WebAppsAddPremierAddOnSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsAddPremierAddOnSlot200Response | WebAppsAddPremierAddOnSlotDefaultResponse + >; /** Delete a premier add-on from an app. */ delete( options?: WebAppsDeletePremierAddOnSlotParameters, - ): Promise< - WebAppsDeletePremierAddOnSlot200Response | WebAppsDeletePremierAddOnSlotdefaultResponse + ): StreamableMethod< + WebAppsDeletePremierAddOnSlot200Response | WebAppsDeletePremierAddOnSlotDefaultResponse >; /** Updates a named add-on of an app. */ patch( options: WebAppsUpdatePremierAddOnSlotParameters, - ): Promise< - WebAppsUpdatePremierAddOnSlot200Response | WebAppsUpdatePremierAddOnSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdatePremierAddOnSlot200Response | WebAppsUpdatePremierAddOnSlotDefaultResponse >; } @@ -7031,12 +7193,14 @@ export interface WebAppsGetPrivateAccessSlot { /** Gets data around private site access enablement and authorized Virtual Networks that can access the site. */ get( options?: WebAppsGetPrivateAccessSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetPrivateAccessSlot200Response | WebAppsGetPrivateAccessSlotDefaultResponse + >; /** Sets data around private site access enablement and authorized Virtual Networks that can access the site. */ put( options: WebAppsPutPrivateAccessVnetSlotParameters, - ): Promise< - WebAppsPutPrivateAccessVnetSlot200Response | WebAppsPutPrivateAccessVnetSlotdefaultResponse + ): StreamableMethod< + WebAppsPutPrivateAccessVnetSlot200Response | WebAppsPutPrivateAccessVnetSlotDefaultResponse >; } @@ -7044,9 +7208,9 @@ export interface WebAppsGetPrivateEndpointConnectionListSlot { /** Gets the list of private endpoint connections associated with a site */ get( options?: WebAppsGetPrivateEndpointConnectionListSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateEndpointConnectionListSlot200Response - | WebAppsGetPrivateEndpointConnectionListSlotdefaultResponse + | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse >; } @@ -7054,26 +7218,26 @@ export interface WebAppsGetPrivateEndpointConnectionSlot { /** Gets a private endpoint connection */ get( options?: WebAppsGetPrivateEndpointConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateEndpointConnectionSlot200Response - | WebAppsGetPrivateEndpointConnectionSlotdefaultResponse + | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse >; /** Approves or rejects a private endpoint connection */ put( options: WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response | WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response - | WebAppsApproveOrRejectPrivateEndpointConnectionSlotdefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse >; /** Deletes a private endpoint connection */ delete( options?: WebAppsDeletePrivateEndpointConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeletePrivateEndpointConnectionSlot200Response | WebAppsDeletePrivateEndpointConnectionSlot202Response | WebAppsDeletePrivateEndpointConnectionSlot204Response - | WebAppsDeletePrivateEndpointConnectionSlotdefaultResponse + | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse >; } @@ -7081,9 +7245,9 @@ export interface WebAppsGetPrivateLinkResourcesSlot { /** Gets the private link resources */ get( options?: WebAppsGetPrivateLinkResourcesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateLinkResourcesSlot200Response - | WebAppsGetPrivateLinkResourcesSlotdefaultResponse + | WebAppsGetPrivateLinkResourcesSlotDefaultResponse >; } @@ -7091,10 +7255,10 @@ export interface WebAppsListProcessesSlot { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessesSlot200Response | WebAppsListProcessesSlot404Response - | WebAppsListProcessesSlotdefaultResponse + | WebAppsListProcessesSlotDefaultResponse >; } @@ -7102,18 +7266,18 @@ export interface WebAppsGetProcessSlot { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessSlot200Response | WebAppsGetProcessSlot404Response - | WebAppsGetProcessSlotdefaultResponse + | WebAppsGetProcessSlotDefaultResponse >; /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ delete( options?: WebAppsDeleteProcessSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteProcessSlot204Response | WebAppsDeleteProcessSlot404Response - | WebAppsDeleteProcessSlotdefaultResponse + | WebAppsDeleteProcessSlotDefaultResponse >; } @@ -7121,10 +7285,10 @@ export interface WebAppsGetProcessDumpSlot { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessDumpSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessDumpSlot200Response | WebAppsGetProcessDumpSlot404Response - | WebAppsGetProcessDumpSlotdefaultResponse + | WebAppsGetProcessDumpSlotDefaultResponse >; } @@ -7132,10 +7296,10 @@ export interface WebAppsListProcessModulesSlot { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessModulesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessModulesSlot200Response | WebAppsListProcessModulesSlot404Response - | WebAppsListProcessModulesSlotdefaultResponse + | WebAppsListProcessModulesSlotDefaultResponse >; } @@ -7143,10 +7307,10 @@ export interface WebAppsGetProcessModuleSlot { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessModuleSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessModuleSlot200Response | WebAppsGetProcessModuleSlot404Response - | WebAppsGetProcessModuleSlotdefaultResponse + | WebAppsGetProcessModuleSlotDefaultResponse >; } @@ -7154,10 +7318,10 @@ export interface WebAppsListProcessThreadsSlot { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessThreadsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessThreadsSlot200Response | WebAppsListProcessThreadsSlot404Response - | WebAppsListProcessThreadsSlotdefaultResponse + | WebAppsListProcessThreadsSlotDefaultResponse >; } @@ -7165,8 +7329,8 @@ export interface WebAppsListPublicCertificatesSlot { /** Get public certificates for an app or a deployment slot. */ get( options?: WebAppsListPublicCertificatesSlotParameters, - ): Promise< - WebAppsListPublicCertificatesSlot200Response | WebAppsListPublicCertificatesSlotdefaultResponse + ): StreamableMethod< + WebAppsListPublicCertificatesSlot200Response | WebAppsListPublicCertificatesSlotDefaultResponse >; } @@ -7174,23 +7338,23 @@ export interface WebAppsGetPublicCertificateSlot { /** Get the named public certificate for an app (or deployment slot, if specified). */ get( options?: WebAppsGetPublicCertificateSlotParameters, - ): Promise< - WebAppsGetPublicCertificateSlot200Response | WebAppsGetPublicCertificateSlotdefaultResponse + ): StreamableMethod< + WebAppsGetPublicCertificateSlot200Response | WebAppsGetPublicCertificateSlotDefaultResponse >; /** Creates a hostname binding for an app. */ put( options: WebAppsCreateOrUpdatePublicCertificateSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdatePublicCertificateSlot200Response - | WebAppsCreateOrUpdatePublicCertificateSlotdefaultResponse + | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse >; /** Deletes a hostname binding for an app. */ delete( options?: WebAppsDeletePublicCertificateSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeletePublicCertificateSlot200Response | WebAppsDeletePublicCertificateSlot204Response - | WebAppsDeletePublicCertificateSlotdefaultResponse + | WebAppsDeletePublicCertificateSlotDefaultResponse >; } @@ -7198,9 +7362,9 @@ export interface WebAppsListPublishingProfileXmlWithSecretsSlot { /** Gets the publishing profile for an app (or deployment slot, if specified). */ post( options: WebAppsListPublishingProfileXmlWithSecretsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListPublishingProfileXmlWithSecretsSlot200Response - | WebAppsListPublishingProfileXmlWithSecretsSlotdefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse >; } @@ -7208,8 +7372,8 @@ export interface WebAppsResetSlotConfigurationSlot { /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ post( options?: WebAppsResetSlotConfigurationSlotParameters, - ): Promise< - WebAppsResetSlotConfigurationSlot200Response | WebAppsResetSlotConfigurationSlotdefaultResponse + ): StreamableMethod< + WebAppsResetSlotConfigurationSlot200Response | WebAppsResetSlotConfigurationSlotDefaultResponse >; } @@ -7217,17 +7381,17 @@ export interface WebAppsRestartSlot { /** Restarts an app (or deployment slot, if specified). */ post( options?: WebAppsRestartSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsRestoreFromBackupBlobSlot { /** Restores an app from a backup blob in Azure Storage. */ post( options: WebAppsRestoreFromBackupBlobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreFromBackupBlobSlot200Response | WebAppsRestoreFromBackupBlobSlot202Response - | WebAppsRestoreFromBackupBlobSlotdefaultResponse + | WebAppsRestoreFromBackupBlobSlotDefaultResponse >; } @@ -7235,10 +7399,10 @@ export interface WebAppsRestoreFromDeletedAppSlot { /** Restores a deleted web app to this web app. */ post( options: WebAppsRestoreFromDeletedAppSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreFromDeletedAppSlot200Response | WebAppsRestoreFromDeletedAppSlot202Response - | WebAppsRestoreFromDeletedAppSlotdefaultResponse + | WebAppsRestoreFromDeletedAppSlotDefaultResponse >; } @@ -7246,10 +7410,10 @@ export interface WebAppsRestoreSnapshotSlot { /** Restores a web app from a snapshot. */ post( options: WebAppsRestoreSnapshotSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreSnapshotSlot200Response | WebAppsRestoreSnapshotSlot202Response - | WebAppsRestoreSnapshotSlotdefaultResponse + | WebAppsRestoreSnapshotSlotDefaultResponse >; } @@ -7257,10 +7421,10 @@ export interface WebAppsListSiteExtensionsSlot { /** Get list of siteextensions for a web site, or a deployment slot. */ get( options?: WebAppsListSiteExtensionsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSiteExtensionsSlot200Response | WebAppsListSiteExtensionsSlot404Response - | WebAppsListSiteExtensionsSlotdefaultResponse + | WebAppsListSiteExtensionsSlotDefaultResponse >; } @@ -7268,27 +7432,27 @@ export interface WebAppsGetSiteExtensionSlot { /** Get site extension information by its ID for a web site, or a deployment slot. */ get( options?: WebAppsGetSiteExtensionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteExtensionSlot200Response | WebAppsGetSiteExtensionSlot404Response - | WebAppsGetSiteExtensionSlotdefaultResponse + | WebAppsGetSiteExtensionSlotDefaultResponse >; /** Install site extension on a web site, or a deployment slot. */ put( options?: WebAppsInstallSiteExtensionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsInstallSiteExtensionSlot200Response | WebAppsInstallSiteExtensionSlot201Response | WebAppsInstallSiteExtensionSlot429Response - | WebAppsInstallSiteExtensionSlotdefaultResponse + | WebAppsInstallSiteExtensionSlotDefaultResponse >; /** Remove a site extension from a web site, or a deployment slot. */ delete( options?: WebAppsDeleteSiteExtensionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSiteExtensionSlot204Response | WebAppsDeleteSiteExtensionSlot404Response - | WebAppsDeleteSiteExtensionSlotdefaultResponse + | WebAppsDeleteSiteExtensionSlotDefaultResponse >; } @@ -7296,8 +7460,8 @@ export interface WebAppsListSlotDifferencesSlot { /** Get the difference in configuration settings between two web app slots. */ post( options: WebAppsListSlotDifferencesSlotParameters, - ): Promise< - WebAppsListSlotDifferencesSlot200Response | WebAppsListSlotDifferencesSlotdefaultResponse + ): StreamableMethod< + WebAppsListSlotDifferencesSlot200Response | WebAppsListSlotDifferencesSlotDefaultResponse >; } @@ -7305,8 +7469,8 @@ export interface WebAppsSwapSlot { /** Swaps two deployment slots of an app. */ post( options: WebAppsSwapSlotParameters, - ): Promise< - WebAppsSwapSlot200Response | WebAppsSwapSlot202Response | WebAppsSwapSlotdefaultResponse + ): StreamableMethod< + WebAppsSwapSlot200Response | WebAppsSwapSlot202Response | WebAppsSwapSlotDefaultResponse >; } @@ -7314,16 +7478,18 @@ export interface WebAppsListSnapshotsSlot { /** Returns all Snapshots to the user. */ get( options?: WebAppsListSnapshotsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListSnapshotsSlot200Response | WebAppsListSnapshotsSlotDefaultResponse + >; } export interface WebAppsListSnapshotsFromDRSecondarySlot { /** Returns all Snapshots to the user from DRSecondary endpoint. */ get( options?: WebAppsListSnapshotsFromDRSecondarySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSnapshotsFromDRSecondarySlot200Response - | WebAppsListSnapshotsFromDRSecondarySlotdefaultResponse + | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse >; } @@ -7331,38 +7497,38 @@ export interface WebAppsGetSourceControlSlot { /** Gets the source control configuration of an app. */ get( options?: WebAppsGetSourceControlSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSourceControlSlot200Response | WebAppsGetSourceControlSlot201Response | WebAppsGetSourceControlSlot202Response - | WebAppsGetSourceControlSlotdefaultResponse + | WebAppsGetSourceControlSlotDefaultResponse >; /** Updates the source control configuration of an app. */ put( options: WebAppsCreateOrUpdateSourceControlSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSourceControlSlot200Response | WebAppsCreateOrUpdateSourceControlSlot201Response | WebAppsCreateOrUpdateSourceControlSlot202Response - | WebAppsCreateOrUpdateSourceControlSlotdefaultResponse + | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse >; /** Deletes the source control configuration of an app. */ delete( options?: WebAppsDeleteSourceControlSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSourceControlSlot200Response | WebAppsDeleteSourceControlSlot202Response | WebAppsDeleteSourceControlSlot404Response - | WebAppsDeleteSourceControlSlotdefaultResponse + | WebAppsDeleteSourceControlSlotDefaultResponse >; /** Updates the source control configuration of an app. */ patch( options: WebAppsUpdateSourceControlSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSourceControlSlot200Response | WebAppsUpdateSourceControlSlot201Response | WebAppsUpdateSourceControlSlot202Response - | WebAppsUpdateSourceControlSlotdefaultResponse + | WebAppsUpdateSourceControlSlotDefaultResponse >; } @@ -7370,17 +7536,17 @@ export interface WebAppsStartSlot { /** Starts an app (or deployment slot, if specified). */ post( options?: WebAppsStartSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsStartNetworkTraceSlot { /** Start capturing network packets for the site. */ post( options?: WebAppsStartNetworkTraceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartNetworkTraceSlot200Response | WebAppsStartNetworkTraceSlot202Response - | WebAppsStartNetworkTraceSlotdefaultResponse + | WebAppsStartNetworkTraceSlotDefaultResponse >; } @@ -7388,17 +7554,17 @@ export interface WebAppsStopSlot { /** Stops an app (or deployment slot, if specified). */ post( options?: WebAppsStopSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsStopNetworkTraceSlot { /** Stop ongoing capturing network packets for the site. */ post( options?: WebAppsStopNetworkTraceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopNetworkTraceSlot200Response | WebAppsStopNetworkTraceSlot204Response - | WebAppsStopNetworkTraceSlotdefaultResponse + | WebAppsStopNetworkTraceSlotDefaultResponse >; } @@ -7406,15 +7572,17 @@ export interface WebAppsSyncRepositorySlot { /** Sync web app repository. */ post( options?: WebAppsSyncRepositorySlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsSyncRepositorySlot200Response | WebAppsSyncRepositorySlotDefaultResponse + >; } export interface WebAppsSyncFunctionTriggersSlot { /** Syncs function trigger metadata to the management database */ post( options?: WebAppsSyncFunctionTriggersSlotParameters, - ): Promise< - WebAppsSyncFunctionTriggersSlot204Response | WebAppsSyncFunctionTriggersSlotdefaultResponse + ): StreamableMethod< + WebAppsSyncFunctionTriggersSlot204Response | WebAppsSyncFunctionTriggersSlotDefaultResponse >; } @@ -7422,8 +7590,8 @@ export interface WebAppsListTriggeredWebJobsSlot { /** List triggered web jobs for an app, or a deployment slot. */ get( options?: WebAppsListTriggeredWebJobsSlotParameters, - ): Promise< - WebAppsListTriggeredWebJobsSlot200Response | WebAppsListTriggeredWebJobsSlotdefaultResponse + ): StreamableMethod< + WebAppsListTriggeredWebJobsSlot200Response | WebAppsListTriggeredWebJobsSlotDefaultResponse >; } @@ -7431,18 +7599,18 @@ export interface WebAppsGetTriggeredWebJobSlot { /** Gets a triggered web job by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetTriggeredWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetTriggeredWebJobSlot200Response | WebAppsGetTriggeredWebJobSlot404Response - | WebAppsGetTriggeredWebJobSlotdefaultResponse + | WebAppsGetTriggeredWebJobSlotDefaultResponse >; /** Delete a triggered web job by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteTriggeredWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteTriggeredWebJobSlot200Response | WebAppsDeleteTriggeredWebJobSlot204Response - | WebAppsDeleteTriggeredWebJobSlotdefaultResponse + | WebAppsDeleteTriggeredWebJobSlotDefaultResponse >; } @@ -7450,10 +7618,10 @@ export interface WebAppsListTriggeredWebJobHistorySlot { /** List a triggered web job's history for an app, or a deployment slot. */ get( options?: WebAppsListTriggeredWebJobHistorySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListTriggeredWebJobHistorySlot200Response | WebAppsListTriggeredWebJobHistorySlot404Response - | WebAppsListTriggeredWebJobHistorySlotdefaultResponse + | WebAppsListTriggeredWebJobHistorySlotDefaultResponse >; } @@ -7461,10 +7629,10 @@ export interface WebAppsGetTriggeredWebJobHistorySlot { /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ get( options?: WebAppsGetTriggeredWebJobHistorySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetTriggeredWebJobHistorySlot200Response | WebAppsGetTriggeredWebJobHistorySlot404Response - | WebAppsGetTriggeredWebJobHistorySlotdefaultResponse + | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse >; } @@ -7472,10 +7640,10 @@ export interface WebAppsRunTriggeredWebJobSlot { /** Run a triggered web job for an app, or a deployment slot. */ post( options?: WebAppsRunTriggeredWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRunTriggeredWebJobSlot200Response | WebAppsRunTriggeredWebJobSlot404Response - | WebAppsRunTriggeredWebJobSlotdefaultResponse + | WebAppsRunTriggeredWebJobSlotDefaultResponse >; } @@ -7483,15 +7651,15 @@ export interface WebAppsListUsagesSlot { /** Gets the quota usage information of an app (or deployment slot, if specified). */ get( options?: WebAppsListUsagesSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListVnetConnectionsSlot { /** Gets the virtual networks the app (or deployment slot) is connected to. */ get( options?: WebAppsListVnetConnectionsSlotParameters, - ): Promise< - WebAppsListVnetConnectionsSlot200Response | WebAppsListVnetConnectionsSlotdefaultResponse + ): StreamableMethod< + WebAppsListVnetConnectionsSlot200Response | WebAppsListVnetConnectionsSlotDefaultResponse >; } @@ -7499,27 +7667,29 @@ export interface WebAppsGetVnetConnectionSlot { /** Gets a virtual network the app (or deployment slot) is connected to by name. */ get( options?: WebAppsGetVnetConnectionSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetVnetConnectionSlot200Response | WebAppsGetVnetConnectionSlotDefaultResponse + >; /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ put( options: WebAppsCreateOrUpdateVnetConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateVnetConnectionSlot200Response - | WebAppsCreateOrUpdateVnetConnectionSlotdefaultResponse + | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse >; /** Deletes a connection from an app (or deployment slot to a named virtual network. */ delete( options?: WebAppsDeleteVnetConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteVnetConnectionSlot200Response | WebAppsDeleteVnetConnectionSlot404Response - | WebAppsDeleteVnetConnectionSlotdefaultResponse + | WebAppsDeleteVnetConnectionSlotDefaultResponse >; /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ patch( options: WebAppsUpdateVnetConnectionSlotParameters, - ): Promise< - WebAppsUpdateVnetConnectionSlot200Response | WebAppsUpdateVnetConnectionSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateVnetConnectionSlot200Response | WebAppsUpdateVnetConnectionSlotDefaultResponse >; } @@ -7527,24 +7697,24 @@ export interface WebAppsGetVnetConnectionGatewaySlot { /** Gets an app's Virtual Network gateway. */ get( options?: WebAppsGetVnetConnectionGatewaySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetVnetConnectionGatewaySlot200Response | WebAppsGetVnetConnectionGatewaySlot404Response - | WebAppsGetVnetConnectionGatewaySlotdefaultResponse + | WebAppsGetVnetConnectionGatewaySlotDefaultResponse >; /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ put( options: WebAppsCreateOrUpdateVnetConnectionGatewaySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response - | WebAppsCreateOrUpdateVnetConnectionGatewaySlotdefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse >; /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ patch( options: WebAppsUpdateVnetConnectionGatewaySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateVnetConnectionGatewaySlot200Response - | WebAppsUpdateVnetConnectionGatewaySlotdefaultResponse + | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse >; } @@ -7552,23 +7722,23 @@ export interface WebAppsListWebJobsSlot { /** List webjobs for an app, or a deployment slot. */ get( options?: WebAppsListWebJobsSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetWebJobSlot { /** Get webjob information for an app, or a deployment slot. */ get( options?: WebAppsGetWebJobSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSlotDifferencesFromProduction { /** Get the difference in configuration settings between two web app slots. */ post( options: WebAppsListSlotDifferencesFromProductionParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSlotDifferencesFromProduction200Response - | WebAppsListSlotDifferencesFromProductiondefaultResponse + | WebAppsListSlotDifferencesFromProductionDefaultResponse >; } @@ -7576,10 +7746,10 @@ export interface WebAppsSwapSlotWithProduction { /** Swaps two deployment slots of an app. */ post( options: WebAppsSwapSlotWithProductionParameters, - ): Promise< + ): StreamableMethod< | WebAppsSwapSlotWithProduction200Response | WebAppsSwapSlotWithProduction202Response - | WebAppsSwapSlotWithProductiondefaultResponse + | WebAppsSwapSlotWithProductionDefaultResponse >; } @@ -7587,16 +7757,16 @@ export interface WebAppsListSnapshots { /** Returns all Snapshots to the user. */ get( options?: WebAppsListSnapshotsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSnapshotsFromDRSecondary { /** Returns all Snapshots to the user from DRSecondary endpoint. */ get( options?: WebAppsListSnapshotsFromDRSecondaryParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSnapshotsFromDRSecondary200Response - | WebAppsListSnapshotsFromDRSecondarydefaultResponse + | WebAppsListSnapshotsFromDRSecondaryDefaultResponse >; } @@ -7604,38 +7774,38 @@ export interface WebAppsGetSourceControl { /** Gets the source control configuration of an app. */ get( options?: WebAppsGetSourceControlParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSourceControl200Response | WebAppsGetSourceControl201Response | WebAppsGetSourceControl202Response - | WebAppsGetSourceControldefaultResponse + | WebAppsGetSourceControlDefaultResponse >; /** Updates the source control configuration of an app. */ put( options: WebAppsCreateOrUpdateSourceControlParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSourceControl200Response | WebAppsCreateOrUpdateSourceControl201Response | WebAppsCreateOrUpdateSourceControl202Response - | WebAppsCreateOrUpdateSourceControldefaultResponse + | WebAppsCreateOrUpdateSourceControlDefaultResponse >; /** Deletes the source control configuration of an app. */ delete( options?: WebAppsDeleteSourceControlParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSourceControl200Response | WebAppsDeleteSourceControl202Response | WebAppsDeleteSourceControl404Response - | WebAppsDeleteSourceControldefaultResponse + | WebAppsDeleteSourceControlDefaultResponse >; /** Updates the source control configuration of an app. */ patch( options: WebAppsUpdateSourceControlParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSourceControl200Response | WebAppsUpdateSourceControl201Response | WebAppsUpdateSourceControl202Response - | WebAppsUpdateSourceControldefaultResponse + | WebAppsUpdateSourceControlDefaultResponse >; } @@ -7643,17 +7813,17 @@ export interface WebAppsStart { /** Starts an app (or deployment slot, if specified). */ post( options?: WebAppsStartParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsStartNetworkTrace { /** Start capturing network packets for the site. */ post( options?: WebAppsStartNetworkTraceParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartNetworkTrace200Response | WebAppsStartNetworkTrace202Response - | WebAppsStartNetworkTracedefaultResponse + | WebAppsStartNetworkTraceDefaultResponse >; } @@ -7661,17 +7831,17 @@ export interface WebAppsStop { /** Stops an app (or deployment slot, if specified). */ post( options?: WebAppsStopParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsStopNetworkTrace { /** Stop ongoing capturing network packets for the site. */ post( options?: WebAppsStopNetworkTraceParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopNetworkTrace200Response | WebAppsStopNetworkTrace204Response - | WebAppsStopNetworkTracedefaultResponse + | WebAppsStopNetworkTraceDefaultResponse >; } @@ -7679,39 +7849,43 @@ export interface WebAppsSyncRepository { /** Sync web app repository. */ post( options?: WebAppsSyncRepositoryParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsSyncFunctionTriggers { /** Syncs function trigger metadata to the management database */ post( options?: WebAppsSyncFunctionTriggersParameters, - ): Promise; + ): StreamableMethod< + WebAppsSyncFunctionTriggers204Response | WebAppsSyncFunctionTriggersDefaultResponse + >; } export interface WebAppsListTriggeredWebJobs { /** List triggered web jobs for an app, or a deployment slot. */ get( options?: WebAppsListTriggeredWebJobsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListTriggeredWebJobs200Response | WebAppsListTriggeredWebJobsDefaultResponse + >; } export interface WebAppsGetTriggeredWebJob { /** Gets a triggered web job by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetTriggeredWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetTriggeredWebJob200Response | WebAppsGetTriggeredWebJob404Response - | WebAppsGetTriggeredWebJobdefaultResponse + | WebAppsGetTriggeredWebJobDefaultResponse >; /** Delete a triggered web job by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteTriggeredWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteTriggeredWebJob200Response | WebAppsDeleteTriggeredWebJob204Response - | WebAppsDeleteTriggeredWebJobdefaultResponse + | WebAppsDeleteTriggeredWebJobDefaultResponse >; } @@ -7719,10 +7893,10 @@ export interface WebAppsListTriggeredWebJobHistory { /** List a triggered web job's history for an app, or a deployment slot. */ get( options?: WebAppsListTriggeredWebJobHistoryParameters, - ): Promise< + ): StreamableMethod< | WebAppsListTriggeredWebJobHistory200Response | WebAppsListTriggeredWebJobHistory404Response - | WebAppsListTriggeredWebJobHistorydefaultResponse + | WebAppsListTriggeredWebJobHistoryDefaultResponse >; } @@ -7730,10 +7904,10 @@ export interface WebAppsGetTriggeredWebJobHistory { /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ get( options?: WebAppsGetTriggeredWebJobHistoryParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetTriggeredWebJobHistory200Response | WebAppsGetTriggeredWebJobHistory404Response - | WebAppsGetTriggeredWebJobHistorydefaultResponse + | WebAppsGetTriggeredWebJobHistoryDefaultResponse >; } @@ -7741,10 +7915,10 @@ export interface WebAppsRunTriggeredWebJob { /** Run a triggered web job for an app, or a deployment slot. */ post( options?: WebAppsRunTriggeredWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsRunTriggeredWebJob200Response | WebAppsRunTriggeredWebJob404Response - | WebAppsRunTriggeredWebJobdefaultResponse + | WebAppsRunTriggeredWebJobDefaultResponse >; } @@ -7752,64 +7926,70 @@ export interface WebAppsListUsages { /** Gets the quota usage information of an app (or deployment slot, if specified). */ get( options?: WebAppsListUsagesParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListVnetConnections { /** Gets the virtual networks the app (or deployment slot) is connected to. */ get( options?: WebAppsListVnetConnectionsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListVnetConnections200Response | WebAppsListVnetConnectionsDefaultResponse + >; } export interface WebAppsGetVnetConnection { /** Gets a virtual network the app (or deployment slot) is connected to by name. */ get( options?: WebAppsGetVnetConnectionParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetVnetConnection200Response | WebAppsGetVnetConnectionDefaultResponse + >; /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ put( options: WebAppsCreateOrUpdateVnetConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateVnetConnection200Response - | WebAppsCreateOrUpdateVnetConnectiondefaultResponse + | WebAppsCreateOrUpdateVnetConnectionDefaultResponse >; /** Deletes a connection from an app (or deployment slot to a named virtual network. */ delete( options?: WebAppsDeleteVnetConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteVnetConnection200Response | WebAppsDeleteVnetConnection404Response - | WebAppsDeleteVnetConnectiondefaultResponse + | WebAppsDeleteVnetConnectionDefaultResponse >; /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ patch( options: WebAppsUpdateVnetConnectionParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateVnetConnection200Response | WebAppsUpdateVnetConnectionDefaultResponse + >; } export interface WebAppsGetVnetConnectionGateway { /** Gets an app's Virtual Network gateway. */ get( options?: WebAppsGetVnetConnectionGatewayParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetVnetConnectionGateway200Response | WebAppsGetVnetConnectionGateway404Response - | WebAppsGetVnetConnectionGatewaydefaultResponse + | WebAppsGetVnetConnectionGatewayDefaultResponse >; /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ put( options: WebAppsCreateOrUpdateVnetConnectionGatewayParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateVnetConnectionGateway200Response - | WebAppsCreateOrUpdateVnetConnectionGatewaydefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse >; /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ patch( options: WebAppsUpdateVnetConnectionGatewayParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateVnetConnectionGateway200Response - | WebAppsUpdateVnetConnectionGatewaydefaultResponse + | WebAppsUpdateVnetConnectionGatewayDefaultResponse >; } @@ -7817,14 +7997,14 @@ export interface WebAppsListWebJobs { /** List webjobs for an app, or a deployment slot. */ get( options?: WebAppsListWebJobsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetWebJob { /** Get webjob information for an app, or a deployment slot. */ get( options?: WebAppsGetWebJobParameters, - ): Promise; + ): StreamableMethod; } export interface Routes { diff --git a/sdk/appservice/arm-appservice-rest/src/index.ts b/sdk/appservice/arm-appservice-rest/src/index.ts index f3b58f22b72d..8b4bf1a19f3f 100644 --- a/sdk/appservice/arm-appservice-rest/src/index.ts +++ b/sdk/appservice/arm-appservice-rest/src/index.ts @@ -7,6 +7,7 @@ export * from "./webSiteManagementClient"; export * from "./parameters"; export * from "./responses"; export * from "./clientDefinitions"; +export * from "./isUnexpected"; export * from "./models"; export * from "./outputModels"; export * from "./paginateHelper"; diff --git a/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts b/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts new file mode 100644 index 000000000000..aaca65879f14 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts @@ -0,0 +1,8334 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { + AppServiceCertificateOrdersList200Response, + AppServiceCertificateOrdersListDefaultResponse, + AppServiceCertificateOrdersValidatePurchaseInformation204Response, + AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse, + AppServiceCertificateOrdersListByResourceGroup200Response, + AppServiceCertificateOrdersListByResourceGroupDefaultResponse, + AppServiceCertificateOrdersGet200Response, + AppServiceCertificateOrdersGetDefaultResponse, + AppServiceCertificateOrdersCreateOrUpdate200Response, + AppServiceCertificateOrdersCreateOrUpdate201Response, + AppServiceCertificateOrdersCreateOrUpdateDefaultResponse, + AppServiceCertificateOrdersDelete200Response, + AppServiceCertificateOrdersDelete204Response, + AppServiceCertificateOrdersDeleteDefaultResponse, + AppServiceCertificateOrdersUpdate200Response, + AppServiceCertificateOrdersUpdateDefaultResponse, + AppServiceCertificateOrdersListCertificates200Response, + AppServiceCertificateOrdersListCertificatesDefaultResponse, + AppServiceCertificateOrdersGetCertificate200Response, + AppServiceCertificateOrdersGetCertificateDefaultResponse, + AppServiceCertificateOrdersCreateOrUpdateCertificate200Response, + AppServiceCertificateOrdersCreateOrUpdateCertificate201Response, + AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse, + AppServiceCertificateOrdersDeleteCertificate200Response, + AppServiceCertificateOrdersDeleteCertificate204Response, + AppServiceCertificateOrdersDeleteCertificateDefaultResponse, + AppServiceCertificateOrdersUpdateCertificate200Response, + AppServiceCertificateOrdersUpdateCertificateDefaultResponse, + AppServiceCertificateOrdersReissue204Response, + AppServiceCertificateOrdersReissueDefaultResponse, + AppServiceCertificateOrdersRenew204Response, + AppServiceCertificateOrdersRenewDefaultResponse, + AppServiceCertificateOrdersResendEmail204Response, + AppServiceCertificateOrdersResendEmailDefaultResponse, + AppServiceCertificateOrdersResendRequestEmails204Response, + AppServiceCertificateOrdersResendRequestEmailsDefaultResponse, + AppServiceCertificateOrdersRetrieveSiteSeal200Response, + AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse, + AppServiceCertificateOrdersVerifyDomainOwnership204Response, + AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse, + AppServiceCertificateOrdersRetrieveCertificateActions200Response, + AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse, + AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response, + AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse, + CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response, + CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse, + CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response, + CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse, + CertificateRegistrationProviderListOperations200Response, + CertificateRegistrationProviderListOperationsDefaultResponse, + DomainsCheckAvailability200Response, + DomainsCheckAvailabilityDefaultResponse, + DomainsList200Response, + DomainsListDefaultResponse, + DomainsGetControlCenterSsoRequest200Response, + DomainsGetControlCenterSsoRequestDefaultResponse, + DomainsListRecommendations200Response, + DomainsListRecommendationsDefaultResponse, + DomainsListByResourceGroup200Response, + DomainsListByResourceGroupDefaultResponse, + DomainsGet200Response, + DomainsGetDefaultResponse, + DomainsCreateOrUpdate200Response, + DomainsCreateOrUpdate202Response, + DomainsCreateOrUpdateDefaultResponse, + DomainsDelete200Response, + DomainsDelete204Response, + DomainsDeleteDefaultResponse, + DomainsUpdate200Response, + DomainsUpdate202Response, + DomainsUpdateDefaultResponse, + DomainsListOwnershipIdentifiers200Response, + DomainsListOwnershipIdentifiersDefaultResponse, + DomainsGetOwnershipIdentifier200Response, + DomainsGetOwnershipIdentifierDefaultResponse, + DomainsCreateOrUpdateOwnershipIdentifier200Response, + DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse, + DomainsDeleteOwnershipIdentifier200Response, + DomainsDeleteOwnershipIdentifier204Response, + DomainsDeleteOwnershipIdentifierDefaultResponse, + DomainsUpdateOwnershipIdentifier200Response, + DomainsUpdateOwnershipIdentifierDefaultResponse, + DomainsRenew200Response, + DomainsRenew202Response, + DomainsRenew204Response, + DomainsRenewDefaultResponse, + DomainsTransferOut200Response, + DomainsTransferOut400Response, + DomainsTransferOutDefaultResponse, + TopLevelDomainsList200Response, + TopLevelDomainsListDefaultResponse, + TopLevelDomainsGet200Response, + TopLevelDomainsGetDefaultResponse, + TopLevelDomainsListAgreements200Response, + TopLevelDomainsListAgreementsDefaultResponse, + DomainRegistrationProviderListOperations200Response, + DomainRegistrationProviderListOperationsDefaultResponse, + AppServiceEnvironmentsList200Response, + AppServiceEnvironmentsListDefaultResponse, + AppServiceEnvironmentsListByResourceGroup200Response, + AppServiceEnvironmentsListByResourceGroupDefaultResponse, + AppServiceEnvironmentsGet200Response, + AppServiceEnvironmentsGetDefaultResponse, + AppServiceEnvironmentsCreateOrUpdate200Response, + AppServiceEnvironmentsCreateOrUpdate201Response, + AppServiceEnvironmentsCreateOrUpdate202Response, + AppServiceEnvironmentsCreateOrUpdateDefaultResponse, + AppServiceEnvironmentsDelete202Response, + AppServiceEnvironmentsDelete204Response, + AppServiceEnvironmentsDeleteDefaultResponse, + AppServiceEnvironmentsUpdate200Response, + AppServiceEnvironmentsUpdate201Response, + AppServiceEnvironmentsUpdate202Response, + AppServiceEnvironmentsUpdateDefaultResponse, + AppServiceEnvironmentsListCapacities200Response, + AppServiceEnvironmentsListCapacitiesDefaultResponse, + AppServiceEnvironmentsGetVipInfo200Response, + AppServiceEnvironmentsGetVipInfoDefaultResponse, + AppServiceEnvironmentsChangeVnet200Response, + AppServiceEnvironmentsChangeVnet202Response, + AppServiceEnvironmentsChangeVnetDefaultResponse, + AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response, + AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse, + AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response, + AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse, + AppServiceEnvironmentsListDiagnostics200Response, + AppServiceEnvironmentsListDiagnosticsDefaultResponse, + AppServiceEnvironmentsGetDiagnosticsItem200Response, + AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse, + AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response, + AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse, + AppServiceEnvironmentsListMultiRolePools200Response, + AppServiceEnvironmentsListMultiRolePoolsDefaultResponse, + AppServiceEnvironmentsGetMultiRolePool200Response, + AppServiceEnvironmentsGetMultiRolePoolDefaultResponse, + AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response, + AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response, + AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse, + AppServiceEnvironmentsUpdateMultiRolePool200Response, + AppServiceEnvironmentsUpdateMultiRolePool202Response, + AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse, + AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response, + AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse, + AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response, + AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse, + AppServiceEnvironmentsListMultiRolePoolSkus200Response, + AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse, + AppServiceEnvironmentsListMultiRoleUsages200Response, + AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse, + AppServiceEnvironmentsListOperations200Response, + AppServiceEnvironmentsListOperationsDefaultResponse, + AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response, + AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse, + AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response, + AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse, + AppServiceEnvironmentsGetPrivateEndpointConnection200Response, + AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse, + AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response, + AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response, + AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse, + AppServiceEnvironmentsDeletePrivateEndpointConnection200Response, + AppServiceEnvironmentsDeletePrivateEndpointConnection202Response, + AppServiceEnvironmentsDeletePrivateEndpointConnection204Response, + AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse, + AppServiceEnvironmentsGetPrivateLinkResources200Response, + AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse, + AppServiceEnvironmentsReboot202Response, + AppServiceEnvironmentsRebootDefaultResponse, + AppServiceEnvironmentsResume200Response, + AppServiceEnvironmentsResume202Response, + AppServiceEnvironmentsResumeDefaultResponse, + AppServiceEnvironmentsListAppServicePlans200Response, + AppServiceEnvironmentsListAppServicePlansDefaultResponse, + AppServiceEnvironmentsListWebApps200Response, + AppServiceEnvironmentsListWebAppsDefaultResponse, + AppServiceEnvironmentsSuspend200Response, + AppServiceEnvironmentsSuspend202Response, + AppServiceEnvironmentsSuspendDefaultResponse, + AppServiceEnvironmentsListUsages200Response, + AppServiceEnvironmentsListUsagesDefaultResponse, + AppServiceEnvironmentsListWorkerPools200Response, + AppServiceEnvironmentsListWorkerPoolsDefaultResponse, + AppServiceEnvironmentsGetWorkerPool200Response, + AppServiceEnvironmentsGetWorkerPoolDefaultResponse, + AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response, + AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response, + AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse, + AppServiceEnvironmentsUpdateWorkerPool200Response, + AppServiceEnvironmentsUpdateWorkerPool202Response, + AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse, + AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response, + AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse, + AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response, + AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse, + AppServiceEnvironmentsListWorkerPoolSkus200Response, + AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse, + AppServiceEnvironmentsListWebWorkerUsages200Response, + AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse, + AppServicePlansList200Response, + AppServicePlansListDefaultResponse, + AppServicePlansListByResourceGroup200Response, + AppServicePlansListByResourceGroupDefaultResponse, + AppServicePlansGet200Response, + AppServicePlansGet404Response, + AppServicePlansGetDefaultResponse, + AppServicePlansCreateOrUpdate200Response, + AppServicePlansCreateOrUpdate202Response, + AppServicePlansCreateOrUpdateDefaultResponse, + AppServicePlansDelete200Response, + AppServicePlansDelete204Response, + AppServicePlansDeleteDefaultResponse, + AppServicePlansUpdate200Response, + AppServicePlansUpdate202Response, + AppServicePlansUpdateDefaultResponse, + AppServicePlansListCapabilities200Response, + AppServicePlansListCapabilitiesDefaultResponse, + AppServicePlansGetHybridConnection200Response, + AppServicePlansGetHybridConnectionDefaultResponse, + AppServicePlansDeleteHybridConnection200Response, + AppServicePlansDeleteHybridConnection204Response, + AppServicePlansDeleteHybridConnectionDefaultResponse, + AppServicePlansListHybridConnectionKeys200Response, + AppServicePlansListHybridConnectionKeysDefaultResponse, + AppServicePlansListWebAppsByHybridConnection200Response, + AppServicePlansListWebAppsByHybridConnectionDefaultResponse, + AppServicePlansGetHybridConnectionPlanLimit200Response, + AppServicePlansGetHybridConnectionPlanLimitDefaultResponse, + AppServicePlansListHybridConnections200Response, + AppServicePlansListHybridConnectionsDefaultResponse, + AppServicePlansRestartWebApps204Response, + AppServicePlansRestartWebAppsDefaultResponse, + AppServicePlansListWebApps200Response, + AppServicePlansListWebAppsDefaultResponse, + AppServicePlansGetServerFarmSkus200Response, + AppServicePlansGetServerFarmSkusDefaultResponse, + AppServicePlansListUsages200Response, + AppServicePlansListUsagesDefaultResponse, + AppServicePlansListVnets200Response, + AppServicePlansListVnetsDefaultResponse, + AppServicePlansGetVnetFromServerFarm200Response, + AppServicePlansGetVnetFromServerFarm404Response, + AppServicePlansGetVnetFromServerFarmDefaultResponse, + AppServicePlansGetVnetGateway200Response, + AppServicePlansGetVnetGatewayDefaultResponse, + AppServicePlansUpdateVnetGateway200Response, + AppServicePlansUpdateVnetGatewayDefaultResponse, + AppServicePlansListRoutesForVnet200Response, + AppServicePlansListRoutesForVnetDefaultResponse, + AppServicePlansGetRouteForVnet200Response, + AppServicePlansGetRouteForVnet404Response, + AppServicePlansGetRouteForVnetDefaultResponse, + AppServicePlansCreateOrUpdateVnetRoute200Response, + AppServicePlansCreateOrUpdateVnetRoute400Response, + AppServicePlansCreateOrUpdateVnetRoute404Response, + AppServicePlansCreateOrUpdateVnetRouteDefaultResponse, + AppServicePlansDeleteVnetRoute200Response, + AppServicePlansDeleteVnetRoute404Response, + AppServicePlansDeleteVnetRouteDefaultResponse, + AppServicePlansUpdateVnetRoute200Response, + AppServicePlansUpdateVnetRoute400Response, + AppServicePlansUpdateVnetRoute404Response, + AppServicePlansUpdateVnetRouteDefaultResponse, + AppServicePlansRebootWorker204Response, + AppServicePlansRebootWorkerDefaultResponse, + CertificatesList200Response, + CertificatesListDefaultResponse, + CertificatesListByResourceGroup200Response, + CertificatesListByResourceGroupDefaultResponse, + CertificatesGet200Response, + CertificatesGetDefaultResponse, + CertificatesCreateOrUpdate200Response, + CertificatesCreateOrUpdateDefaultResponse, + CertificatesDelete200Response, + CertificatesDelete204Response, + CertificatesDeleteDefaultResponse, + CertificatesUpdate200Response, + CertificatesUpdateDefaultResponse, + ContainerAppsListBySubscription200Response, + ContainerAppsListBySubscriptionDefaultResponse, + ContainerAppsListByResourceGroup200Response, + ContainerAppsListByResourceGroupDefaultResponse, + ContainerAppsGet200Response, + ContainerAppsGet404Response, + ContainerAppsGetDefaultResponse, + ContainerAppsCreateOrUpdate200Response, + ContainerAppsCreateOrUpdate201Response, + ContainerAppsCreateOrUpdateDefaultResponse, + ContainerAppsDelete200Response, + ContainerAppsDelete202Response, + ContainerAppsDelete204Response, + ContainerAppsDeleteDefaultResponse, + ContainerAppsListSecrets200Response, + ContainerAppsListSecretsDefaultResponse, + ContainerAppsRevisionsListRevisions200Response, + ContainerAppsRevisionsListRevisionsDefaultResponse, + ContainerAppsRevisionsGetRevision200Response, + ContainerAppsRevisionsGetRevisionDefaultResponse, + ContainerAppsRevisionsActivateRevision200Response, + ContainerAppsRevisionsActivateRevisionDefaultResponse, + ContainerAppsRevisionsDeactivateRevision200Response, + ContainerAppsRevisionsDeactivateRevisionDefaultResponse, + ContainerAppsRevisionsRestartRevision200Response, + ContainerAppsRevisionsRestartRevisionDefaultResponse, + DeletedWebAppsList200Response, + DeletedWebAppsListDefaultResponse, + DeletedWebAppsListByLocation200Response, + DeletedWebAppsListByLocationDefaultResponse, + DeletedWebAppsGetDeletedWebAppByLocation200Response, + DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse, + DiagnosticsListHostingEnvironmentDetectorResponses200Response, + DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse, + DiagnosticsGetHostingEnvironmentDetectorResponse200Response, + DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse, + DiagnosticsListSiteDetectorResponses200Response, + DiagnosticsListSiteDetectorResponsesDefaultResponse, + DiagnosticsGetSiteDetectorResponse200Response, + DiagnosticsGetSiteDetectorResponseDefaultResponse, + DiagnosticsListSiteDiagnosticCategories200Response, + DiagnosticsListSiteDiagnosticCategoriesDefaultResponse, + DiagnosticsGetSiteDiagnosticCategory200Response, + DiagnosticsGetSiteDiagnosticCategoryDefaultResponse, + DiagnosticsListSiteAnalyses200Response, + DiagnosticsListSiteAnalysesDefaultResponse, + DiagnosticsGetSiteAnalysis200Response, + DiagnosticsGetSiteAnalysisDefaultResponse, + DiagnosticsExecuteSiteAnalysis200Response, + DiagnosticsExecuteSiteAnalysisDefaultResponse, + DiagnosticsListSiteDetectors200Response, + DiagnosticsListSiteDetectorsDefaultResponse, + DiagnosticsGetSiteDetector200Response, + DiagnosticsGetSiteDetectorDefaultResponse, + DiagnosticsExecuteSiteDetector200Response, + DiagnosticsExecuteSiteDetectorDefaultResponse, + DiagnosticsListSiteDetectorResponsesSlot200Response, + DiagnosticsListSiteDetectorResponsesSlotDefaultResponse, + DiagnosticsGetSiteDetectorResponseSlot200Response, + DiagnosticsGetSiteDetectorResponseSlotDefaultResponse, + DiagnosticsListSiteDiagnosticCategoriesSlot200Response, + DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse, + DiagnosticsGetSiteDiagnosticCategorySlot200Response, + DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse, + DiagnosticsListSiteAnalysesSlot200Response, + DiagnosticsListSiteAnalysesSlotDefaultResponse, + DiagnosticsGetSiteAnalysisSlot200Response, + DiagnosticsGetSiteAnalysisSlotDefaultResponse, + DiagnosticsExecuteSiteAnalysisSlot200Response, + DiagnosticsExecuteSiteAnalysisSlotDefaultResponse, + DiagnosticsListSiteDetectorsSlot200Response, + DiagnosticsListSiteDetectorsSlotDefaultResponse, + DiagnosticsGetSiteDetectorSlot200Response, + DiagnosticsGetSiteDetectorSlotDefaultResponse, + DiagnosticsExecuteSiteDetectorSlot200Response, + DiagnosticsExecuteSiteDetectorSlotDefaultResponse, + GlobalGetDeletedWebApp200Response, + GlobalGetDeletedWebAppDefaultResponse, + GlobalGetDeletedWebAppSnapshots200Response, + GlobalGetDeletedWebAppSnapshotsDefaultResponse, + GlobalGetSubscriptionOperationWithAsyncResponse204Response, + GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse, + KubeEnvironmentsListBySubscription200Response, + KubeEnvironmentsListBySubscriptionDefaultResponse, + KubeEnvironmentsListByResourceGroup200Response, + KubeEnvironmentsListByResourceGroupDefaultResponse, + KubeEnvironmentsGet200Response, + KubeEnvironmentsGetDefaultResponse, + KubeEnvironmentsCreateOrUpdate200Response, + KubeEnvironmentsCreateOrUpdate201Response, + KubeEnvironmentsCreateOrUpdateDefaultResponse, + KubeEnvironmentsDelete200Response, + KubeEnvironmentsDelete202Response, + KubeEnvironmentsDelete204Response, + KubeEnvironmentsDeleteDefaultResponse, + KubeEnvironmentsUpdate200Response, + KubeEnvironmentsUpdate201Response, + KubeEnvironmentsUpdateDefaultResponse, + ProviderGetAvailableStacks200Response, + ProviderGetAvailableStacksDefaultResponse, + ProviderGetFunctionAppStacks200Response, + ProviderGetFunctionAppStacksDefaultResponse, + ProviderGetFunctionAppStacksForLocation200Response, + ProviderGetFunctionAppStacksForLocationDefaultResponse, + ProviderGetWebAppStacksForLocation200Response, + ProviderGetWebAppStacksForLocationDefaultResponse, + ProviderListOperations200Response, + ProviderListOperationsDefaultResponse, + ProviderGetWebAppStacks200Response, + ProviderGetWebAppStacksDefaultResponse, + ProviderGetAvailableStacksOnPrem200Response, + ProviderGetAvailableStacksOnPremDefaultResponse, + RecommendationsList200Response, + RecommendationsListDefaultResponse, + RecommendationsResetAllFilters204Response, + RecommendationsResetAllFiltersDefaultResponse, + RecommendationsDisableRecommendationForSubscription200Response, + RecommendationsDisableRecommendationForSubscriptionDefaultResponse, + RecommendationsListHistoryForHostingEnvironment200Response, + RecommendationsListHistoryForHostingEnvironmentDefaultResponse, + RecommendationsListRecommendedRulesForHostingEnvironment200Response, + RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse, + RecommendationsDisableAllForHostingEnvironment204Response, + RecommendationsDisableAllForHostingEnvironmentDefaultResponse, + RecommendationsResetAllFiltersForHostingEnvironment204Response, + RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse, + RecommendationsGetRuleDetailsByHostingEnvironment200Response, + RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse, + RecommendationsDisableRecommendationForHostingEnvironment200Response, + RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse, + RecommendationsListHistoryForWebApp200Response, + RecommendationsListHistoryForWebAppDefaultResponse, + RecommendationsListRecommendedRulesForWebApp200Response, + RecommendationsListRecommendedRulesForWebAppDefaultResponse, + RecommendationsDisableAllForWebApp204Response, + RecommendationsDisableAllForWebAppDefaultResponse, + RecommendationsResetAllFiltersForWebApp204Response, + RecommendationsResetAllFiltersForWebAppDefaultResponse, + RecommendationsGetRuleDetailsByWebApp200Response, + RecommendationsGetRuleDetailsByWebAppDefaultResponse, + RecommendationsDisableRecommendationForSite200Response, + RecommendationsDisableRecommendationForSiteDefaultResponse, + ResourceHealthMetadataList200Response, + ResourceHealthMetadataListDefaultResponse, + ResourceHealthMetadataListByResourceGroup200Response, + ResourceHealthMetadataListByResourceGroupDefaultResponse, + ResourceHealthMetadataListBySite200Response, + ResourceHealthMetadataListBySiteDefaultResponse, + ResourceHealthMetadataGetBySite200Response, + ResourceHealthMetadataGetBySiteDefaultResponse, + ResourceHealthMetadataListBySiteSlot200Response, + ResourceHealthMetadataListBySiteSlotDefaultResponse, + ResourceHealthMetadataGetBySiteSlot200Response, + ResourceHealthMetadataGetBySiteSlotDefaultResponse, + GetPublishingUser200Response, + GetPublishingUserDefaultResponse, + UpdatePublishingUser200Response, + UpdatePublishingUserDefaultResponse, + ListSourceControls200Response, + ListSourceControlsDefaultResponse, + GetSourceControl200Response, + GetSourceControlDefaultResponse, + UpdateSourceControl200Response, + UpdateSourceControlDefaultResponse, + ListBillingMeters200Response, + ListBillingMetersDefaultResponse, + CheckNameAvailability200Response, + CheckNameAvailabilityDefaultResponse, + ListCustomHostNameSites200Response, + ListCustomHostNameSitesDefaultResponse, + GetSubscriptionDeploymentLocations200Response, + GetSubscriptionDeploymentLocationsDefaultResponse, + ListGeoRegions200Response, + ListGeoRegionsDefaultResponse, + ListSiteIdentifiersAssignedToHostName200Response, + ListSiteIdentifiersAssignedToHostNameDefaultResponse, + ListPremierAddOnOffers200Response, + ListPremierAddOnOffersDefaultResponse, + ListSkus200Response, + ListSkusDefaultResponse, + VerifyHostingEnvironmentVnet200Response, + VerifyHostingEnvironmentVnetDefaultResponse, + Move204Response, + MoveDefaultResponse, + Validate200Response, + ValidateDefaultResponse, + ValidateMove204Response, + ValidateMoveDefaultResponse, + StaticSitesPreviewWorkflow200Response, + StaticSitesPreviewWorkflowDefaultResponse, + StaticSitesList200Response, + StaticSitesListDefaultResponse, + StaticSitesGetStaticSitesByResourceGroup200Response, + StaticSitesGetStaticSitesByResourceGroupDefaultResponse, + StaticSitesGetStaticSite200Response, + StaticSitesGetStaticSiteDefaultResponse, + StaticSitesCreateOrUpdateStaticSite200Response, + StaticSitesCreateOrUpdateStaticSite202Response, + StaticSitesCreateOrUpdateStaticSiteDefaultResponse, + StaticSitesDeleteStaticSite200Response, + StaticSitesDeleteStaticSite202Response, + StaticSitesDeleteStaticSiteDefaultResponse, + StaticSitesUpdateStaticSite200Response, + StaticSitesUpdateStaticSite202Response, + StaticSitesUpdateStaticSiteDefaultResponse, + StaticSitesListStaticSiteUsers200Response, + StaticSitesListStaticSiteUsersDefaultResponse, + StaticSitesDeleteStaticSiteUser200Response, + StaticSitesDeleteStaticSiteUserDefaultResponse, + StaticSitesUpdateStaticSiteUser200Response, + StaticSitesUpdateStaticSiteUserDefaultResponse, + StaticSitesGetStaticSiteBuilds200Response, + StaticSitesGetStaticSiteBuildsDefaultResponse, + StaticSitesGetStaticSiteBuild200Response, + StaticSitesGetStaticSiteBuildDefaultResponse, + StaticSitesDeleteStaticSiteBuild200Response, + StaticSitesDeleteStaticSiteBuild202Response, + StaticSitesDeleteStaticSiteBuild204Response, + StaticSitesDeleteStaticSiteBuildDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response, + StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response, + StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse, + StaticSitesListStaticSiteBuildFunctions200Response, + StaticSitesListStaticSiteBuildFunctionsDefaultResponse, + StaticSitesListStaticSiteBuildAppSettings200Response, + StaticSitesListStaticSiteBuildAppSettingsDefaultResponse, + StaticSitesListStaticSiteBuildFunctionAppSettings200Response, + StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse, + StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response, + StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse, + StaticSitesCreateZipDeploymentForStaticSiteBuild200Response, + StaticSitesCreateZipDeploymentForStaticSiteBuild202Response, + StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteAppSettings200Response, + StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response, + StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse, + StaticSitesCreateUserRolesInvitationLink200Response, + StaticSitesCreateUserRolesInvitationLinkDefaultResponse, + StaticSitesListStaticSiteCustomDomains200Response, + StaticSitesListStaticSiteCustomDomainsDefaultResponse, + StaticSitesGetStaticSiteCustomDomain200Response, + StaticSitesGetStaticSiteCustomDomainDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response, + StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response, + StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse, + StaticSitesDeleteStaticSiteCustomDomain200Response, + StaticSitesDeleteStaticSiteCustomDomain202Response, + StaticSitesDeleteStaticSiteCustomDomainDefaultResponse, + StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response, + StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response, + StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse, + StaticSitesDetachStaticSite200Response, + StaticSitesDetachStaticSite202Response, + StaticSitesDetachStaticSiteDefaultResponse, + StaticSitesListStaticSiteFunctions200Response, + StaticSitesListStaticSiteFunctionsDefaultResponse, + StaticSitesListStaticSiteAppSettings200Response, + StaticSitesListStaticSiteAppSettingsDefaultResponse, + StaticSitesListStaticSiteConfiguredRoles200Response, + StaticSitesListStaticSiteConfiguredRolesDefaultResponse, + StaticSitesListStaticSiteFunctionAppSettings200Response, + StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse, + StaticSitesListStaticSiteSecrets200Response, + StaticSitesListStaticSiteSecretsDefaultResponse, + StaticSitesGetPrivateEndpointConnectionList200Response, + StaticSitesGetPrivateEndpointConnectionListDefaultResponse, + StaticSitesGetPrivateEndpointConnection200Response, + StaticSitesGetPrivateEndpointConnectionDefaultResponse, + StaticSitesApproveOrRejectPrivateEndpointConnection200Response, + StaticSitesApproveOrRejectPrivateEndpointConnection202Response, + StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse, + StaticSitesDeletePrivateEndpointConnection200Response, + StaticSitesDeletePrivateEndpointConnection202Response, + StaticSitesDeletePrivateEndpointConnection204Response, + StaticSitesDeletePrivateEndpointConnectionDefaultResponse, + StaticSitesGetPrivateLinkResources200Response, + StaticSitesGetPrivateLinkResourcesDefaultResponse, + StaticSitesResetStaticSiteApiKey200Response, + StaticSitesResetStaticSiteApiKeyDefaultResponse, + StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse, + StaticSitesGetUserProvidedFunctionAppForStaticSite200Response, + StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse, + StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response, + StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse, + StaticSitesCreateZipDeploymentForStaticSite200Response, + StaticSitesCreateZipDeploymentForStaticSite202Response, + StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse, + WebAppsList200Response, + WebAppsListDefaultResponse, + WebAppsListByResourceGroup200Response, + WebAppsListByResourceGroupDefaultResponse, + WebAppsGet200Response, + WebAppsGet404Response, + WebAppsGetDefaultResponse, + WebAppsCreateOrUpdate200Response, + WebAppsCreateOrUpdate202Response, + WebAppsCreateOrUpdateDefaultResponse, + WebAppsDelete200Response, + WebAppsDelete204Response, + WebAppsDelete404Response, + WebAppsDeleteDefaultResponse, + WebAppsUpdate200Response, + WebAppsUpdate202Response, + WebAppsUpdateDefaultResponse, + WebAppsAnalyzeCustomHostname200Response, + WebAppsAnalyzeCustomHostnameDefaultResponse, + WebAppsApplySlotConfigToProduction200Response, + WebAppsApplySlotConfigToProductionDefaultResponse, + WebAppsBackup200Response, + WebAppsBackupDefaultResponse, + WebAppsListBackups200Response, + WebAppsListBackupsDefaultResponse, + WebAppsGetBackupStatus200Response, + WebAppsGetBackupStatusDefaultResponse, + WebAppsDeleteBackup200Response, + WebAppsDeleteBackup404Response, + WebAppsDeleteBackupDefaultResponse, + WebAppsListBackupStatusSecrets200Response, + WebAppsListBackupStatusSecretsDefaultResponse, + WebAppsRestore200Response, + WebAppsRestore202Response, + WebAppsRestoreDefaultResponse, + WebAppsListBasicPublishingCredentialsPolicies200Response, + WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse, + WebAppsGetFtpAllowed200Response, + WebAppsGetFtpAllowedDefaultResponse, + WebAppsUpdateFtpAllowed200Response, + WebAppsUpdateFtpAllowedDefaultResponse, + WebAppsGetScmAllowed200Response, + WebAppsGetScmAllowedDefaultResponse, + WebAppsUpdateScmAllowed200Response, + WebAppsUpdateScmAllowedDefaultResponse, + WebAppsListConfigurations200Response, + WebAppsListConfigurationsDefaultResponse, + WebAppsUpdateApplicationSettings200Response, + WebAppsUpdateApplicationSettingsDefaultResponse, + WebAppsListApplicationSettings200Response, + WebAppsListApplicationSettingsDefaultResponse, + WebAppsUpdateAuthSettings200Response, + WebAppsUpdateAuthSettingsDefaultResponse, + WebAppsGetAuthSettings200Response, + WebAppsGetAuthSettingsDefaultResponse, + WebAppsGetAuthSettingsV2WithoutSecrets200Response, + WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse, + WebAppsUpdateAuthSettingsV2200Response, + WebAppsUpdateAuthSettingsV2DefaultResponse, + WebAppsGetAuthSettingsV2200Response, + WebAppsGetAuthSettingsV2DefaultResponse, + WebAppsUpdateAzureStorageAccounts200Response, + WebAppsUpdateAzureStorageAccountsDefaultResponse, + WebAppsListAzureStorageAccounts200Response, + WebAppsListAzureStorageAccountsDefaultResponse, + WebAppsUpdateBackupConfiguration200Response, + WebAppsUpdateBackupConfigurationDefaultResponse, + WebAppsDeleteBackupConfiguration200Response, + WebAppsDeleteBackupConfigurationDefaultResponse, + WebAppsGetBackupConfiguration200Response, + WebAppsGetBackupConfigurationDefaultResponse, + WebAppsGetAppSettingsKeyVaultReferences200Response, + WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse, + WebAppsGetAppSettingKeyVaultReference200Response, + WebAppsGetAppSettingKeyVaultReferenceDefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferences200Response, + WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReference200Response, + WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse, + WebAppsUpdateConnectionStrings200Response, + WebAppsUpdateConnectionStringsDefaultResponse, + WebAppsListConnectionStrings200Response, + WebAppsListConnectionStringsDefaultResponse, + WebAppsGetDiagnosticLogsConfiguration200Response, + WebAppsGetDiagnosticLogsConfigurationDefaultResponse, + WebAppsUpdateDiagnosticLogsConfig200Response, + WebAppsUpdateDiagnosticLogsConfigDefaultResponse, + WebAppsUpdateMetadata200Response, + WebAppsUpdateMetadataDefaultResponse, + WebAppsListMetadata200Response, + WebAppsListMetadataDefaultResponse, + WebAppsListPublishingCredentials200Response, + WebAppsListPublishingCredentialsDefaultResponse, + WebAppsUpdateSitePushSettings200Response, + WebAppsUpdateSitePushSettingsDefaultResponse, + WebAppsListSitePushSettings200Response, + WebAppsListSitePushSettingsDefaultResponse, + WebAppsListSlotConfigurationNames200Response, + WebAppsListSlotConfigurationNamesDefaultResponse, + WebAppsUpdateSlotConfigurationNames200Response, + WebAppsUpdateSlotConfigurationNamesDefaultResponse, + WebAppsGetConfiguration200Response, + WebAppsGetConfigurationDefaultResponse, + WebAppsCreateOrUpdateConfiguration200Response, + WebAppsCreateOrUpdateConfigurationDefaultResponse, + WebAppsUpdateConfiguration200Response, + WebAppsUpdateConfigurationDefaultResponse, + WebAppsListConfigurationSnapshotInfo200Response, + WebAppsListConfigurationSnapshotInfoDefaultResponse, + WebAppsGetConfigurationSnapshot200Response, + WebAppsGetConfigurationSnapshotDefaultResponse, + WebAppsRecoverSiteConfigurationSnapshot204Response, + WebAppsRecoverSiteConfigurationSnapshotDefaultResponse, + WebAppsGetWebSiteContainerLogs200Response, + WebAppsGetWebSiteContainerLogs204Response, + WebAppsGetWebSiteContainerLogsDefaultResponse, + WebAppsGetContainerLogsZip200Response, + WebAppsGetContainerLogsZip204Response, + WebAppsGetContainerLogsZipDefaultResponse, + WebAppsListContinuousWebJobs200Response, + WebAppsListContinuousWebJobsDefaultResponse, + WebAppsGetContinuousWebJob200Response, + WebAppsGetContinuousWebJob404Response, + WebAppsGetContinuousWebJobDefaultResponse, + WebAppsDeleteContinuousWebJob200Response, + WebAppsDeleteContinuousWebJob204Response, + WebAppsDeleteContinuousWebJobDefaultResponse, + WebAppsStartContinuousWebJob200Response, + WebAppsStartContinuousWebJob404Response, + WebAppsStartContinuousWebJobDefaultResponse, + WebAppsStopContinuousWebJob200Response, + WebAppsStopContinuousWebJob404Response, + WebAppsStopContinuousWebJobDefaultResponse, + WebAppsListDeployments200Response, + WebAppsListDeploymentsDefaultResponse, + WebAppsGetDeployment200Response, + WebAppsGetDeploymentDefaultResponse, + WebAppsCreateDeployment200Response, + WebAppsCreateDeploymentDefaultResponse, + WebAppsDeleteDeployment200Response, + WebAppsDeleteDeployment204Response, + WebAppsDeleteDeploymentDefaultResponse, + WebAppsListDeploymentLog200Response, + WebAppsListDeploymentLogDefaultResponse, + WebAppsDiscoverBackup200Response, + WebAppsDiscoverBackupDefaultResponse, + WebAppsListDomainOwnershipIdentifiers200Response, + WebAppsListDomainOwnershipIdentifiersDefaultResponse, + WebAppsGetDomainOwnershipIdentifier200Response, + WebAppsGetDomainOwnershipIdentifierDefaultResponse, + WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response, + WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse, + WebAppsDeleteDomainOwnershipIdentifier200Response, + WebAppsDeleteDomainOwnershipIdentifier204Response, + WebAppsDeleteDomainOwnershipIdentifierDefaultResponse, + WebAppsUpdateDomainOwnershipIdentifier200Response, + WebAppsUpdateDomainOwnershipIdentifierDefaultResponse, + WebAppsGetMSDeployStatus200Response, + WebAppsGetMSDeployStatusDefaultResponse, + WebAppsCreateMSDeployOperation201Response, + WebAppsCreateMSDeployOperation409Response, + WebAppsCreateMSDeployOperationDefaultResponse, + WebAppsGetMSDeployLog200Response, + WebAppsGetMSDeployLog404Response, + WebAppsGetMSDeployLogDefaultResponse, + WebAppsGetOneDeployStatus200Response, + WebAppsGetOneDeployStatusDefaultResponse, + WebAppsCreateOneDeployOperation200Response, + WebAppsCreateOneDeployOperationDefaultResponse, + WebAppsListFunctions200Response, + WebAppsListFunctions404Response, + WebAppsListFunctionsDefaultResponse, + WebAppsGetFunctionsAdminToken200Response, + WebAppsGetFunctionsAdminTokenDefaultResponse, + WebAppsGetFunction200Response, + WebAppsGetFunction404Response, + WebAppsGetFunctionDefaultResponse, + WebAppsCreateFunction201Response, + WebAppsCreateFunctionDefaultResponse, + WebAppsDeleteFunction204Response, + WebAppsDeleteFunction404Response, + WebAppsDeleteFunctionDefaultResponse, + WebAppsCreateOrUpdateFunctionSecret200Response, + WebAppsCreateOrUpdateFunctionSecret201Response, + WebAppsCreateOrUpdateFunctionSecretDefaultResponse, + WebAppsDeleteFunctionSecret204Response, + WebAppsDeleteFunctionSecret404Response, + WebAppsDeleteFunctionSecretDefaultResponse, + WebAppsListFunctionKeys200Response, + WebAppsListFunctionKeysDefaultResponse, + WebAppsListFunctionSecrets200Response, + WebAppsListFunctionSecretsDefaultResponse, + WebAppsListHostKeys200Response, + WebAppsListHostKeysDefaultResponse, + WebAppsListSyncStatus204Response, + WebAppsListSyncStatusDefaultResponse, + WebAppsSyncFunctions204Response, + WebAppsSyncFunctionsDefaultResponse, + WebAppsCreateOrUpdateHostSecret200Response, + WebAppsCreateOrUpdateHostSecret201Response, + WebAppsCreateOrUpdateHostSecretDefaultResponse, + WebAppsDeleteHostSecret204Response, + WebAppsDeleteHostSecret404Response, + WebAppsDeleteHostSecretDefaultResponse, + WebAppsListHostNameBindings200Response, + WebAppsListHostNameBindingsDefaultResponse, + WebAppsGetHostNameBinding200Response, + WebAppsGetHostNameBindingDefaultResponse, + WebAppsCreateOrUpdateHostNameBinding200Response, + WebAppsCreateOrUpdateHostNameBindingDefaultResponse, + WebAppsDeleteHostNameBinding200Response, + WebAppsDeleteHostNameBinding204Response, + WebAppsDeleteHostNameBindingDefaultResponse, + WebAppsGetHybridConnection200Response, + WebAppsGetHybridConnectionDefaultResponse, + WebAppsCreateOrUpdateHybridConnection200Response, + WebAppsCreateOrUpdateHybridConnectionDefaultResponse, + WebAppsDeleteHybridConnection200Response, + WebAppsDeleteHybridConnection404Response, + WebAppsDeleteHybridConnectionDefaultResponse, + WebAppsUpdateHybridConnection200Response, + WebAppsUpdateHybridConnectionDefaultResponse, + WebAppsListHybridConnections200Response, + WebAppsListHybridConnectionsDefaultResponse, + WebAppsListRelayServiceConnections200Response, + WebAppsListRelayServiceConnectionsDefaultResponse, + WebAppsGetRelayServiceConnection200Response, + WebAppsGetRelayServiceConnectionDefaultResponse, + WebAppsCreateOrUpdateRelayServiceConnection200Response, + WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse, + WebAppsDeleteRelayServiceConnection200Response, + WebAppsDeleteRelayServiceConnection404Response, + WebAppsDeleteRelayServiceConnectionDefaultResponse, + WebAppsUpdateRelayServiceConnection200Response, + WebAppsUpdateRelayServiceConnectionDefaultResponse, + WebAppsListInstanceIdentifiers200Response, + WebAppsListInstanceIdentifiersDefaultResponse, + WebAppsGetInstanceInfo200Response, + WebAppsGetInstanceInfoDefaultResponse, + WebAppsGetInstanceMsDeployStatus200Response, + WebAppsGetInstanceMsDeployStatusDefaultResponse, + WebAppsCreateInstanceMSDeployOperation201Response, + WebAppsCreateInstanceMSDeployOperation409Response, + WebAppsCreateInstanceMSDeployOperationDefaultResponse, + WebAppsGetInstanceMSDeployLog200Response, + WebAppsGetInstanceMSDeployLog404Response, + WebAppsGetInstanceMSDeployLogDefaultResponse, + WebAppsListInstanceProcesses200Response, + WebAppsListInstanceProcesses404Response, + WebAppsListInstanceProcessesDefaultResponse, + WebAppsGetInstanceProcess200Response, + WebAppsGetInstanceProcess404Response, + WebAppsGetInstanceProcessDefaultResponse, + WebAppsDeleteInstanceProcess204Response, + WebAppsDeleteInstanceProcess404Response, + WebAppsDeleteInstanceProcessDefaultResponse, + WebAppsGetInstanceProcessDump200Response, + WebAppsGetInstanceProcessDump404Response, + WebAppsGetInstanceProcessDumpDefaultResponse, + WebAppsListInstanceProcessModules200Response, + WebAppsListInstanceProcessModules404Response, + WebAppsListInstanceProcessModulesDefaultResponse, + WebAppsGetInstanceProcessModule200Response, + WebAppsGetInstanceProcessModule404Response, + WebAppsGetInstanceProcessModuleDefaultResponse, + WebAppsListInstanceProcessThreads200Response, + WebAppsListInstanceProcessThreads404Response, + WebAppsListInstanceProcessThreadsDefaultResponse, + WebAppsIsCloneable200Response, + WebAppsIsCloneableDefaultResponse, + WebAppsListSiteBackups200Response, + WebAppsListSiteBackupsDefaultResponse, + WebAppsListSyncFunctionTriggers200Response, + WebAppsListSyncFunctionTriggersDefaultResponse, + WebAppsMigrateStorage200Response, + WebAppsMigrateStorageDefaultResponse, + WebAppsMigrateMySql200Response, + WebAppsMigrateMySqlDefaultResponse, + WebAppsGetMigrateMySqlStatus200Response, + WebAppsGetMigrateMySqlStatusDefaultResponse, + WebAppsGetSwiftVirtualNetworkConnection200Response, + WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, + WebAppsDeleteSwiftVirtualNetwork200Response, + WebAppsDeleteSwiftVirtualNetwork404Response, + WebAppsDeleteSwiftVirtualNetworkDefaultResponse, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, + WebAppsListNetworkFeatures200Response, + WebAppsListNetworkFeatures404Response, + WebAppsListNetworkFeaturesDefaultResponse, + WebAppsGetNetworkTraceOperation200Response, + WebAppsGetNetworkTraceOperation202Response, + WebAppsGetNetworkTraceOperationDefaultResponse, + WebAppsStartWebSiteNetworkTrace200Response, + WebAppsStartWebSiteNetworkTraceDefaultResponse, + WebAppsStartWebSiteNetworkTraceOperation200Response, + WebAppsStartWebSiteNetworkTraceOperation202Response, + WebAppsStartWebSiteNetworkTraceOperationDefaultResponse, + WebAppsStopWebSiteNetworkTrace200Response, + WebAppsStopWebSiteNetworkTrace204Response, + WebAppsStopWebSiteNetworkTraceDefaultResponse, + WebAppsGetNetworkTraces200Response, + WebAppsGetNetworkTracesDefaultResponse, + WebAppsGetNetworkTraceOperationV2200Response, + WebAppsGetNetworkTraceOperationV2202Response, + WebAppsGetNetworkTraceOperationV2DefaultResponse, + WebAppsGetNetworkTracesV2200Response, + WebAppsGetNetworkTracesV2DefaultResponse, + WebAppsGenerateNewSitePublishingPassword200Response, + WebAppsGenerateNewSitePublishingPassword204Response, + WebAppsGenerateNewSitePublishingPasswordDefaultResponse, + WebAppsListPerfMonCounters200Response, + WebAppsListPerfMonCountersDefaultResponse, + WebAppsGetSitePhpErrorLogFlag200Response, + WebAppsGetSitePhpErrorLogFlagDefaultResponse, + WebAppsListPremierAddOns200Response, + WebAppsListPremierAddOnsDefaultResponse, + WebAppsGetPremierAddOn200Response, + WebAppsGetPremierAddOnDefaultResponse, + WebAppsAddPremierAddOn200Response, + WebAppsAddPremierAddOnDefaultResponse, + WebAppsDeletePremierAddOn200Response, + WebAppsDeletePremierAddOnDefaultResponse, + WebAppsUpdatePremierAddOn200Response, + WebAppsUpdatePremierAddOnDefaultResponse, + WebAppsGetPrivateAccess200Response, + WebAppsGetPrivateAccessDefaultResponse, + WebAppsPutPrivateAccessVnet200Response, + WebAppsPutPrivateAccessVnetDefaultResponse, + WebAppsGetPrivateEndpointConnectionList200Response, + WebAppsGetPrivateEndpointConnectionListDefaultResponse, + WebAppsGetPrivateEndpointConnection200Response, + WebAppsGetPrivateEndpointConnectionDefaultResponse, + WebAppsApproveOrRejectPrivateEndpointConnection200Response, + WebAppsApproveOrRejectPrivateEndpointConnection202Response, + WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse, + WebAppsDeletePrivateEndpointConnection200Response, + WebAppsDeletePrivateEndpointConnection202Response, + WebAppsDeletePrivateEndpointConnection204Response, + WebAppsDeletePrivateEndpointConnectionDefaultResponse, + WebAppsGetPrivateLinkResources200Response, + WebAppsGetPrivateLinkResourcesDefaultResponse, + WebAppsListProcesses200Response, + WebAppsListProcesses404Response, + WebAppsListProcessesDefaultResponse, + WebAppsGetProcess200Response, + WebAppsGetProcess404Response, + WebAppsGetProcessDefaultResponse, + WebAppsDeleteProcess204Response, + WebAppsDeleteProcess404Response, + WebAppsDeleteProcessDefaultResponse, + WebAppsGetProcessDump200Response, + WebAppsGetProcessDump404Response, + WebAppsGetProcessDumpDefaultResponse, + WebAppsListProcessModules200Response, + WebAppsListProcessModules404Response, + WebAppsListProcessModulesDefaultResponse, + WebAppsGetProcessModule200Response, + WebAppsGetProcessModule404Response, + WebAppsGetProcessModuleDefaultResponse, + WebAppsListProcessThreads200Response, + WebAppsListProcessThreads404Response, + WebAppsListProcessThreadsDefaultResponse, + WebAppsListPublicCertificates200Response, + WebAppsListPublicCertificatesDefaultResponse, + WebAppsGetPublicCertificate200Response, + WebAppsGetPublicCertificateDefaultResponse, + WebAppsCreateOrUpdatePublicCertificate200Response, + WebAppsCreateOrUpdatePublicCertificateDefaultResponse, + WebAppsDeletePublicCertificate200Response, + WebAppsDeletePublicCertificate204Response, + WebAppsDeletePublicCertificateDefaultResponse, + WebAppsListPublishingProfileXmlWithSecrets200Response, + WebAppsListPublishingProfileXmlWithSecretsDefaultResponse, + WebAppsResetProductionSlotConfig200Response, + WebAppsResetProductionSlotConfigDefaultResponse, + WebAppsRestart200Response, + WebAppsRestartDefaultResponse, + WebAppsRestoreFromBackupBlob200Response, + WebAppsRestoreFromBackupBlob202Response, + WebAppsRestoreFromBackupBlobDefaultResponse, + WebAppsRestoreFromDeletedApp200Response, + WebAppsRestoreFromDeletedApp202Response, + WebAppsRestoreFromDeletedAppDefaultResponse, + WebAppsRestoreSnapshot200Response, + WebAppsRestoreSnapshot202Response, + WebAppsRestoreSnapshotDefaultResponse, + WebAppsListSiteExtensions200Response, + WebAppsListSiteExtensions404Response, + WebAppsListSiteExtensionsDefaultResponse, + WebAppsGetSiteExtension200Response, + WebAppsGetSiteExtension404Response, + WebAppsGetSiteExtensionDefaultResponse, + WebAppsInstallSiteExtension200Response, + WebAppsInstallSiteExtension201Response, + WebAppsInstallSiteExtension429Response, + WebAppsInstallSiteExtensionDefaultResponse, + WebAppsDeleteSiteExtension204Response, + WebAppsDeleteSiteExtension404Response, + WebAppsDeleteSiteExtensionDefaultResponse, + WebAppsListSlots200Response, + WebAppsListSlotsDefaultResponse, + WebAppsGetSlot200Response, + WebAppsGetSlot404Response, + WebAppsGetSlotDefaultResponse, + WebAppsCreateOrUpdateSlot200Response, + WebAppsCreateOrUpdateSlot202Response, + WebAppsCreateOrUpdateSlotDefaultResponse, + WebAppsDeleteSlot200Response, + WebAppsDeleteSlot204Response, + WebAppsDeleteSlot404Response, + WebAppsDeleteSlotDefaultResponse, + WebAppsUpdateSlot200Response, + WebAppsUpdateSlot202Response, + WebAppsUpdateSlotDefaultResponse, + WebAppsAnalyzeCustomHostnameSlot200Response, + WebAppsAnalyzeCustomHostnameSlotDefaultResponse, + WebAppsApplySlotConfigurationSlot200Response, + WebAppsApplySlotConfigurationSlotDefaultResponse, + WebAppsBackupSlot200Response, + WebAppsBackupSlotDefaultResponse, + WebAppsListBackupsSlot200Response, + WebAppsListBackupsSlotDefaultResponse, + WebAppsGetBackupStatusSlot200Response, + WebAppsGetBackupStatusSlotDefaultResponse, + WebAppsDeleteBackupSlot200Response, + WebAppsDeleteBackupSlot404Response, + WebAppsDeleteBackupSlotDefaultResponse, + WebAppsListBackupStatusSecretsSlot200Response, + WebAppsListBackupStatusSecretsSlotDefaultResponse, + WebAppsRestoreSlot200Response, + WebAppsRestoreSlot202Response, + WebAppsRestoreSlotDefaultResponse, + WebAppsListBasicPublishingCredentialsPoliciesSlot200Response, + WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse, + WebAppsGetFtpAllowedSlot200Response, + WebAppsGetFtpAllowedSlotDefaultResponse, + WebAppsUpdateFtpAllowedSlot200Response, + WebAppsUpdateFtpAllowedSlotDefaultResponse, + WebAppsGetScmAllowedSlot200Response, + WebAppsGetScmAllowedSlotDefaultResponse, + WebAppsUpdateScmAllowedSlot200Response, + WebAppsUpdateScmAllowedSlotDefaultResponse, + WebAppsListConfigurationsSlot200Response, + WebAppsListConfigurationsSlotDefaultResponse, + WebAppsUpdateApplicationSettingsSlot200Response, + WebAppsUpdateApplicationSettingsSlotDefaultResponse, + WebAppsListApplicationSettingsSlot200Response, + WebAppsListApplicationSettingsSlotDefaultResponse, + WebAppsUpdateAuthSettingsSlot200Response, + WebAppsUpdateAuthSettingsSlotDefaultResponse, + WebAppsGetAuthSettingsSlot200Response, + WebAppsGetAuthSettingsSlotDefaultResponse, + WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response, + WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse, + WebAppsUpdateAuthSettingsV2Slot200Response, + WebAppsUpdateAuthSettingsV2SlotDefaultResponse, + WebAppsGetAuthSettingsV2Slot200Response, + WebAppsGetAuthSettingsV2SlotDefaultResponse, + WebAppsUpdateAzureStorageAccountsSlot200Response, + WebAppsUpdateAzureStorageAccountsSlotDefaultResponse, + WebAppsListAzureStorageAccountsSlot200Response, + WebAppsListAzureStorageAccountsSlotDefaultResponse, + WebAppsUpdateBackupConfigurationSlot200Response, + WebAppsUpdateBackupConfigurationSlotDefaultResponse, + WebAppsDeleteBackupConfigurationSlot200Response, + WebAppsDeleteBackupConfigurationSlotDefaultResponse, + WebAppsGetBackupConfigurationSlot200Response, + WebAppsGetBackupConfigurationSlotDefaultResponse, + WebAppsGetAppSettingsKeyVaultReferencesSlot200Response, + WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse, + WebAppsGetAppSettingKeyVaultReferenceSlot200Response, + WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response, + WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response, + WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse, + WebAppsUpdateConnectionStringsSlot200Response, + WebAppsUpdateConnectionStringsSlotDefaultResponse, + WebAppsListConnectionStringsSlot200Response, + WebAppsListConnectionStringsSlotDefaultResponse, + WebAppsGetDiagnosticLogsConfigurationSlot200Response, + WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse, + WebAppsUpdateDiagnosticLogsConfigSlot200Response, + WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse, + WebAppsUpdateMetadataSlot200Response, + WebAppsUpdateMetadataSlotDefaultResponse, + WebAppsListMetadataSlot200Response, + WebAppsListMetadataSlotDefaultResponse, + WebAppsListPublishingCredentialsSlot200Response, + WebAppsListPublishingCredentialsSlotDefaultResponse, + WebAppsUpdateSitePushSettingsSlot200Response, + WebAppsUpdateSitePushSettingsSlotDefaultResponse, + WebAppsListSitePushSettingsSlot200Response, + WebAppsListSitePushSettingsSlotDefaultResponse, + WebAppsGetConfigurationSlot200Response, + WebAppsGetConfigurationSlotDefaultResponse, + WebAppsCreateOrUpdateConfigurationSlot200Response, + WebAppsCreateOrUpdateConfigurationSlotDefaultResponse, + WebAppsUpdateConfigurationSlot200Response, + WebAppsUpdateConfigurationSlotDefaultResponse, + WebAppsListConfigurationSnapshotInfoSlot200Response, + WebAppsListConfigurationSnapshotInfoSlotDefaultResponse, + WebAppsGetConfigurationSnapshotSlot200Response, + WebAppsGetConfigurationSnapshotSlotDefaultResponse, + WebAppsRecoverSiteConfigurationSnapshotSlot204Response, + WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse, + WebAppsGetWebSiteContainerLogsSlot200Response, + WebAppsGetWebSiteContainerLogsSlot204Response, + WebAppsGetWebSiteContainerLogsSlotDefaultResponse, + WebAppsGetContainerLogsZipSlot200Response, + WebAppsGetContainerLogsZipSlot204Response, + WebAppsGetContainerLogsZipSlotDefaultResponse, + WebAppsListContinuousWebJobsSlot200Response, + WebAppsListContinuousWebJobsSlotDefaultResponse, + WebAppsGetContinuousWebJobSlot200Response, + WebAppsGetContinuousWebJobSlot404Response, + WebAppsGetContinuousWebJobSlotDefaultResponse, + WebAppsDeleteContinuousWebJobSlot200Response, + WebAppsDeleteContinuousWebJobSlot204Response, + WebAppsDeleteContinuousWebJobSlotDefaultResponse, + WebAppsStartContinuousWebJobSlot200Response, + WebAppsStartContinuousWebJobSlot404Response, + WebAppsStartContinuousWebJobSlotDefaultResponse, + WebAppsStopContinuousWebJobSlot200Response, + WebAppsStopContinuousWebJobSlot404Response, + WebAppsStopContinuousWebJobSlotDefaultResponse, + WebAppsListDeploymentsSlot200Response, + WebAppsListDeploymentsSlotDefaultResponse, + WebAppsGetDeploymentSlot200Response, + WebAppsGetDeploymentSlotDefaultResponse, + WebAppsCreateDeploymentSlot200Response, + WebAppsCreateDeploymentSlotDefaultResponse, + WebAppsDeleteDeploymentSlot200Response, + WebAppsDeleteDeploymentSlot204Response, + WebAppsDeleteDeploymentSlotDefaultResponse, + WebAppsListDeploymentLogSlot200Response, + WebAppsListDeploymentLogSlotDefaultResponse, + WebAppsDiscoverBackupSlot200Response, + WebAppsDiscoverBackupSlotDefaultResponse, + WebAppsListDomainOwnershipIdentifiersSlot200Response, + WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse, + WebAppsGetDomainOwnershipIdentifierSlot200Response, + WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse, + WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response, + WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse, + WebAppsDeleteDomainOwnershipIdentifierSlot200Response, + WebAppsDeleteDomainOwnershipIdentifierSlot204Response, + WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse, + WebAppsUpdateDomainOwnershipIdentifierSlot200Response, + WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse, + WebAppsGetMSDeployStatusSlot200Response, + WebAppsGetMSDeployStatusSlotDefaultResponse, + WebAppsCreateMSDeployOperationSlot201Response, + WebAppsCreateMSDeployOperationSlot409Response, + WebAppsCreateMSDeployOperationSlotDefaultResponse, + WebAppsGetMSDeployLogSlot200Response, + WebAppsGetMSDeployLogSlot404Response, + WebAppsGetMSDeployLogSlotDefaultResponse, + WebAppsListInstanceFunctionsSlot200Response, + WebAppsListInstanceFunctionsSlot404Response, + WebAppsListInstanceFunctionsSlotDefaultResponse, + WebAppsGetFunctionsAdminTokenSlot200Response, + WebAppsGetFunctionsAdminTokenSlotDefaultResponse, + WebAppsGetInstanceFunctionSlot200Response, + WebAppsGetInstanceFunctionSlot404Response, + WebAppsGetInstanceFunctionSlotDefaultResponse, + WebAppsCreateInstanceFunctionSlot201Response, + WebAppsCreateInstanceFunctionSlotDefaultResponse, + WebAppsDeleteInstanceFunctionSlot204Response, + WebAppsDeleteInstanceFunctionSlot404Response, + WebAppsDeleteInstanceFunctionSlotDefaultResponse, + WebAppsCreateOrUpdateFunctionSecretSlot200Response, + WebAppsCreateOrUpdateFunctionSecretSlot201Response, + WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse, + WebAppsDeleteFunctionSecretSlot204Response, + WebAppsDeleteFunctionSecretSlot404Response, + WebAppsDeleteFunctionSecretSlotDefaultResponse, + WebAppsListFunctionKeysSlot200Response, + WebAppsListFunctionKeysSlotDefaultResponse, + WebAppsListFunctionSecretsSlot200Response, + WebAppsListFunctionSecretsSlotDefaultResponse, + WebAppsListHostKeysSlot200Response, + WebAppsListHostKeysSlotDefaultResponse, + WebAppsListSyncStatusSlot204Response, + WebAppsListSyncStatusSlotDefaultResponse, + WebAppsSyncFunctionsSlot204Response, + WebAppsSyncFunctionsSlotDefaultResponse, + WebAppsCreateOrUpdateHostSecretSlot200Response, + WebAppsCreateOrUpdateHostSecretSlot201Response, + WebAppsCreateOrUpdateHostSecretSlotDefaultResponse, + WebAppsDeleteHostSecretSlot204Response, + WebAppsDeleteHostSecretSlot404Response, + WebAppsDeleteHostSecretSlotDefaultResponse, + WebAppsListHostNameBindingsSlot200Response, + WebAppsListHostNameBindingsSlotDefaultResponse, + WebAppsGetHostNameBindingSlot200Response, + WebAppsGetHostNameBindingSlotDefaultResponse, + WebAppsCreateOrUpdateHostNameBindingSlot200Response, + WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse, + WebAppsDeleteHostNameBindingSlot200Response, + WebAppsDeleteHostNameBindingSlot204Response, + WebAppsDeleteHostNameBindingSlotDefaultResponse, + WebAppsGetHybridConnectionSlot200Response, + WebAppsGetHybridConnectionSlotDefaultResponse, + WebAppsCreateOrUpdateHybridConnectionSlot200Response, + WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse, + WebAppsDeleteHybridConnectionSlot200Response, + WebAppsDeleteHybridConnectionSlot404Response, + WebAppsDeleteHybridConnectionSlotDefaultResponse, + WebAppsUpdateHybridConnectionSlot200Response, + WebAppsUpdateHybridConnectionSlotDefaultResponse, + WebAppsListHybridConnectionsSlot200Response, + WebAppsListHybridConnectionsSlotDefaultResponse, + WebAppsListRelayServiceConnectionsSlot200Response, + WebAppsListRelayServiceConnectionsSlotDefaultResponse, + WebAppsGetRelayServiceConnectionSlot200Response, + WebAppsGetRelayServiceConnectionSlotDefaultResponse, + WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response, + WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse, + WebAppsDeleteRelayServiceConnectionSlot200Response, + WebAppsDeleteRelayServiceConnectionSlot404Response, + WebAppsDeleteRelayServiceConnectionSlotDefaultResponse, + WebAppsUpdateRelayServiceConnectionSlot200Response, + WebAppsUpdateRelayServiceConnectionSlotDefaultResponse, + WebAppsListInstanceIdentifiersSlot200Response, + WebAppsListInstanceIdentifiersSlotDefaultResponse, + WebAppsGetInstanceInfoSlot200Response, + WebAppsGetInstanceInfoSlotDefaultResponse, + WebAppsGetInstanceMsDeployStatusSlot200Response, + WebAppsGetInstanceMsDeployStatusSlotDefaultResponse, + WebAppsCreateInstanceMSDeployOperationSlot201Response, + WebAppsCreateInstanceMSDeployOperationSlot409Response, + WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse, + WebAppsGetInstanceMSDeployLogSlot200Response, + WebAppsGetInstanceMSDeployLogSlot404Response, + WebAppsGetInstanceMSDeployLogSlotDefaultResponse, + WebAppsListInstanceProcessesSlot200Response, + WebAppsListInstanceProcessesSlot404Response, + WebAppsListInstanceProcessesSlotDefaultResponse, + WebAppsGetInstanceProcessSlot200Response, + WebAppsGetInstanceProcessSlot404Response, + WebAppsGetInstanceProcessSlotDefaultResponse, + WebAppsDeleteInstanceProcessSlot204Response, + WebAppsDeleteInstanceProcessSlot404Response, + WebAppsDeleteInstanceProcessSlotDefaultResponse, + WebAppsGetInstanceProcessDumpSlot200Response, + WebAppsGetInstanceProcessDumpSlot404Response, + WebAppsGetInstanceProcessDumpSlotDefaultResponse, + WebAppsListInstanceProcessModulesSlot200Response, + WebAppsListInstanceProcessModulesSlot404Response, + WebAppsListInstanceProcessModulesSlotDefaultResponse, + WebAppsGetInstanceProcessModuleSlot200Response, + WebAppsGetInstanceProcessModuleSlot404Response, + WebAppsGetInstanceProcessModuleSlotDefaultResponse, + WebAppsListInstanceProcessThreadsSlot200Response, + WebAppsListInstanceProcessThreadsSlot404Response, + WebAppsListInstanceProcessThreadsSlotDefaultResponse, + WebAppsIsCloneableSlot200Response, + WebAppsIsCloneableSlotDefaultResponse, + WebAppsListSiteBackupsSlot200Response, + WebAppsListSiteBackupsSlotDefaultResponse, + WebAppsListSyncFunctionTriggersSlot200Response, + WebAppsListSyncFunctionTriggersSlotDefaultResponse, + WebAppsGetMigrateMySqlStatusSlot200Response, + WebAppsGetMigrateMySqlStatusSlotDefaultResponse, + WebAppsGetSwiftVirtualNetworkConnectionSlot200Response, + WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, + WebAppsDeleteSwiftVirtualNetworkSlot200Response, + WebAppsDeleteSwiftVirtualNetworkSlot404Response, + WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, + WebAppsListNetworkFeaturesSlot200Response, + WebAppsListNetworkFeaturesSlot404Response, + WebAppsListNetworkFeaturesSlotDefaultResponse, + WebAppsGetNetworkTraceOperationSlot200Response, + WebAppsGetNetworkTraceOperationSlot202Response, + WebAppsGetNetworkTraceOperationSlotDefaultResponse, + WebAppsStartWebSiteNetworkTraceSlot200Response, + WebAppsStartWebSiteNetworkTraceSlotDefaultResponse, + WebAppsStartWebSiteNetworkTraceOperationSlot200Response, + WebAppsStartWebSiteNetworkTraceOperationSlot202Response, + WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse, + WebAppsStopWebSiteNetworkTraceSlot200Response, + WebAppsStopWebSiteNetworkTraceSlot204Response, + WebAppsStopWebSiteNetworkTraceSlotDefaultResponse, + WebAppsGetNetworkTracesSlot200Response, + WebAppsGetNetworkTracesSlotDefaultResponse, + WebAppsGetNetworkTraceOperationSlotV2200Response, + WebAppsGetNetworkTraceOperationSlotV2202Response, + WebAppsGetNetworkTraceOperationSlotV2DefaultResponse, + WebAppsGetNetworkTracesSlotV2200Response, + WebAppsGetNetworkTracesSlotV2DefaultResponse, + WebAppsGenerateNewSitePublishingPasswordSlot200Response, + WebAppsGenerateNewSitePublishingPasswordSlot204Response, + WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse, + WebAppsListPerfMonCountersSlot200Response, + WebAppsListPerfMonCountersSlotDefaultResponse, + WebAppsGetSitePhpErrorLogFlagSlot200Response, + WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse, + WebAppsListPremierAddOnsSlot200Response, + WebAppsListPremierAddOnsSlotDefaultResponse, + WebAppsGetPremierAddOnSlot200Response, + WebAppsGetPremierAddOnSlotDefaultResponse, + WebAppsAddPremierAddOnSlot200Response, + WebAppsAddPremierAddOnSlotDefaultResponse, + WebAppsDeletePremierAddOnSlot200Response, + WebAppsDeletePremierAddOnSlotDefaultResponse, + WebAppsUpdatePremierAddOnSlot200Response, + WebAppsUpdatePremierAddOnSlotDefaultResponse, + WebAppsGetPrivateAccessSlot200Response, + WebAppsGetPrivateAccessSlotDefaultResponse, + WebAppsPutPrivateAccessVnetSlot200Response, + WebAppsPutPrivateAccessVnetSlotDefaultResponse, + WebAppsGetPrivateEndpointConnectionListSlot200Response, + WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse, + WebAppsGetPrivateEndpointConnectionSlot200Response, + WebAppsGetPrivateEndpointConnectionSlotDefaultResponse, + WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response, + WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response, + WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse, + WebAppsDeletePrivateEndpointConnectionSlot200Response, + WebAppsDeletePrivateEndpointConnectionSlot202Response, + WebAppsDeletePrivateEndpointConnectionSlot204Response, + WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse, + WebAppsGetPrivateLinkResourcesSlot200Response, + WebAppsGetPrivateLinkResourcesSlotDefaultResponse, + WebAppsListProcessesSlot200Response, + WebAppsListProcessesSlot404Response, + WebAppsListProcessesSlotDefaultResponse, + WebAppsGetProcessSlot200Response, + WebAppsGetProcessSlot404Response, + WebAppsGetProcessSlotDefaultResponse, + WebAppsDeleteProcessSlot204Response, + WebAppsDeleteProcessSlot404Response, + WebAppsDeleteProcessSlotDefaultResponse, + WebAppsGetProcessDumpSlot200Response, + WebAppsGetProcessDumpSlot404Response, + WebAppsGetProcessDumpSlotDefaultResponse, + WebAppsListProcessModulesSlot200Response, + WebAppsListProcessModulesSlot404Response, + WebAppsListProcessModulesSlotDefaultResponse, + WebAppsGetProcessModuleSlot200Response, + WebAppsGetProcessModuleSlot404Response, + WebAppsGetProcessModuleSlotDefaultResponse, + WebAppsListProcessThreadsSlot200Response, + WebAppsListProcessThreadsSlot404Response, + WebAppsListProcessThreadsSlotDefaultResponse, + WebAppsListPublicCertificatesSlot200Response, + WebAppsListPublicCertificatesSlotDefaultResponse, + WebAppsGetPublicCertificateSlot200Response, + WebAppsGetPublicCertificateSlotDefaultResponse, + WebAppsCreateOrUpdatePublicCertificateSlot200Response, + WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse, + WebAppsDeletePublicCertificateSlot200Response, + WebAppsDeletePublicCertificateSlot204Response, + WebAppsDeletePublicCertificateSlotDefaultResponse, + WebAppsListPublishingProfileXmlWithSecretsSlot200Response, + WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse, + WebAppsResetSlotConfigurationSlot200Response, + WebAppsResetSlotConfigurationSlotDefaultResponse, + WebAppsRestartSlot200Response, + WebAppsRestartSlotDefaultResponse, + WebAppsRestoreFromBackupBlobSlot200Response, + WebAppsRestoreFromBackupBlobSlot202Response, + WebAppsRestoreFromBackupBlobSlotDefaultResponse, + WebAppsRestoreFromDeletedAppSlot200Response, + WebAppsRestoreFromDeletedAppSlot202Response, + WebAppsRestoreFromDeletedAppSlotDefaultResponse, + WebAppsRestoreSnapshotSlot200Response, + WebAppsRestoreSnapshotSlot202Response, + WebAppsRestoreSnapshotSlotDefaultResponse, + WebAppsListSiteExtensionsSlot200Response, + WebAppsListSiteExtensionsSlot404Response, + WebAppsListSiteExtensionsSlotDefaultResponse, + WebAppsGetSiteExtensionSlot200Response, + WebAppsGetSiteExtensionSlot404Response, + WebAppsGetSiteExtensionSlotDefaultResponse, + WebAppsInstallSiteExtensionSlot200Response, + WebAppsInstallSiteExtensionSlot201Response, + WebAppsInstallSiteExtensionSlot429Response, + WebAppsInstallSiteExtensionSlotDefaultResponse, + WebAppsDeleteSiteExtensionSlot204Response, + WebAppsDeleteSiteExtensionSlot404Response, + WebAppsDeleteSiteExtensionSlotDefaultResponse, + WebAppsListSlotDifferencesSlot200Response, + WebAppsListSlotDifferencesSlotDefaultResponse, + WebAppsSwapSlot200Response, + WebAppsSwapSlot202Response, + WebAppsSwapSlotDefaultResponse, + WebAppsListSnapshotsSlot200Response, + WebAppsListSnapshotsSlotDefaultResponse, + WebAppsListSnapshotsFromDRSecondarySlot200Response, + WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse, + WebAppsGetSourceControlSlot200Response, + WebAppsGetSourceControlSlot201Response, + WebAppsGetSourceControlSlot202Response, + WebAppsGetSourceControlSlotDefaultResponse, + WebAppsCreateOrUpdateSourceControlSlot200Response, + WebAppsCreateOrUpdateSourceControlSlot201Response, + WebAppsCreateOrUpdateSourceControlSlot202Response, + WebAppsCreateOrUpdateSourceControlSlotDefaultResponse, + WebAppsDeleteSourceControlSlot200Response, + WebAppsDeleteSourceControlSlot202Response, + WebAppsDeleteSourceControlSlot404Response, + WebAppsDeleteSourceControlSlotDefaultResponse, + WebAppsUpdateSourceControlSlot200Response, + WebAppsUpdateSourceControlSlot201Response, + WebAppsUpdateSourceControlSlot202Response, + WebAppsUpdateSourceControlSlotDefaultResponse, + WebAppsStartSlot200Response, + WebAppsStartSlotDefaultResponse, + WebAppsStartNetworkTraceSlot200Response, + WebAppsStartNetworkTraceSlot202Response, + WebAppsStartNetworkTraceSlotDefaultResponse, + WebAppsStopSlot200Response, + WebAppsStopSlotDefaultResponse, + WebAppsStopNetworkTraceSlot200Response, + WebAppsStopNetworkTraceSlot204Response, + WebAppsStopNetworkTraceSlotDefaultResponse, + WebAppsSyncRepositorySlot200Response, + WebAppsSyncRepositorySlotDefaultResponse, + WebAppsSyncFunctionTriggersSlot204Response, + WebAppsSyncFunctionTriggersSlotDefaultResponse, + WebAppsListTriggeredWebJobsSlot200Response, + WebAppsListTriggeredWebJobsSlotDefaultResponse, + WebAppsGetTriggeredWebJobSlot200Response, + WebAppsGetTriggeredWebJobSlot404Response, + WebAppsGetTriggeredWebJobSlotDefaultResponse, + WebAppsDeleteTriggeredWebJobSlot200Response, + WebAppsDeleteTriggeredWebJobSlot204Response, + WebAppsDeleteTriggeredWebJobSlotDefaultResponse, + WebAppsListTriggeredWebJobHistorySlot200Response, + WebAppsListTriggeredWebJobHistorySlot404Response, + WebAppsListTriggeredWebJobHistorySlotDefaultResponse, + WebAppsGetTriggeredWebJobHistorySlot200Response, + WebAppsGetTriggeredWebJobHistorySlot404Response, + WebAppsGetTriggeredWebJobHistorySlotDefaultResponse, + WebAppsRunTriggeredWebJobSlot200Response, + WebAppsRunTriggeredWebJobSlot404Response, + WebAppsRunTriggeredWebJobSlotDefaultResponse, + WebAppsListUsagesSlot200Response, + WebAppsListUsagesSlotDefaultResponse, + WebAppsListVnetConnectionsSlot200Response, + WebAppsListVnetConnectionsSlotDefaultResponse, + WebAppsGetVnetConnectionSlot200Response, + WebAppsGetVnetConnectionSlotDefaultResponse, + WebAppsCreateOrUpdateVnetConnectionSlot200Response, + WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse, + WebAppsDeleteVnetConnectionSlot200Response, + WebAppsDeleteVnetConnectionSlot404Response, + WebAppsDeleteVnetConnectionSlotDefaultResponse, + WebAppsUpdateVnetConnectionSlot200Response, + WebAppsUpdateVnetConnectionSlotDefaultResponse, + WebAppsGetVnetConnectionGatewaySlot200Response, + WebAppsGetVnetConnectionGatewaySlot404Response, + WebAppsGetVnetConnectionGatewaySlotDefaultResponse, + WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response, + WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse, + WebAppsUpdateVnetConnectionGatewaySlot200Response, + WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse, + WebAppsListWebJobsSlot200Response, + WebAppsListWebJobsSlotDefaultResponse, + WebAppsGetWebJobSlot200Response, + WebAppsGetWebJobSlotDefaultResponse, + WebAppsListSlotDifferencesFromProduction200Response, + WebAppsListSlotDifferencesFromProductionDefaultResponse, + WebAppsSwapSlotWithProduction200Response, + WebAppsSwapSlotWithProduction202Response, + WebAppsSwapSlotWithProductionDefaultResponse, + WebAppsListSnapshots200Response, + WebAppsListSnapshotsDefaultResponse, + WebAppsListSnapshotsFromDRSecondary200Response, + WebAppsListSnapshotsFromDRSecondaryDefaultResponse, + WebAppsGetSourceControl200Response, + WebAppsGetSourceControl201Response, + WebAppsGetSourceControl202Response, + WebAppsGetSourceControlDefaultResponse, + WebAppsCreateOrUpdateSourceControl200Response, + WebAppsCreateOrUpdateSourceControl201Response, + WebAppsCreateOrUpdateSourceControl202Response, + WebAppsCreateOrUpdateSourceControlDefaultResponse, + WebAppsDeleteSourceControl200Response, + WebAppsDeleteSourceControl202Response, + WebAppsDeleteSourceControl404Response, + WebAppsDeleteSourceControlDefaultResponse, + WebAppsUpdateSourceControl200Response, + WebAppsUpdateSourceControl201Response, + WebAppsUpdateSourceControl202Response, + WebAppsUpdateSourceControlDefaultResponse, + WebAppsStart200Response, + WebAppsStartDefaultResponse, + WebAppsStartNetworkTrace200Response, + WebAppsStartNetworkTrace202Response, + WebAppsStartNetworkTraceDefaultResponse, + WebAppsStop200Response, + WebAppsStopDefaultResponse, + WebAppsStopNetworkTrace200Response, + WebAppsStopNetworkTrace204Response, + WebAppsStopNetworkTraceDefaultResponse, + WebAppsSyncRepository200Response, + WebAppsSyncRepositoryDefaultResponse, + WebAppsSyncFunctionTriggers204Response, + WebAppsSyncFunctionTriggersDefaultResponse, + WebAppsListTriggeredWebJobs200Response, + WebAppsListTriggeredWebJobsDefaultResponse, + WebAppsGetTriggeredWebJob200Response, + WebAppsGetTriggeredWebJob404Response, + WebAppsGetTriggeredWebJobDefaultResponse, + WebAppsDeleteTriggeredWebJob200Response, + WebAppsDeleteTriggeredWebJob204Response, + WebAppsDeleteTriggeredWebJobDefaultResponse, + WebAppsListTriggeredWebJobHistory200Response, + WebAppsListTriggeredWebJobHistory404Response, + WebAppsListTriggeredWebJobHistoryDefaultResponse, + WebAppsGetTriggeredWebJobHistory200Response, + WebAppsGetTriggeredWebJobHistory404Response, + WebAppsGetTriggeredWebJobHistoryDefaultResponse, + WebAppsRunTriggeredWebJob200Response, + WebAppsRunTriggeredWebJob404Response, + WebAppsRunTriggeredWebJobDefaultResponse, + WebAppsListUsages200Response, + WebAppsListUsagesDefaultResponse, + WebAppsListVnetConnections200Response, + WebAppsListVnetConnectionsDefaultResponse, + WebAppsGetVnetConnection200Response, + WebAppsGetVnetConnectionDefaultResponse, + WebAppsCreateOrUpdateVnetConnection200Response, + WebAppsCreateOrUpdateVnetConnectionDefaultResponse, + WebAppsDeleteVnetConnection200Response, + WebAppsDeleteVnetConnection404Response, + WebAppsDeleteVnetConnectionDefaultResponse, + WebAppsUpdateVnetConnection200Response, + WebAppsUpdateVnetConnectionDefaultResponse, + WebAppsGetVnetConnectionGateway200Response, + WebAppsGetVnetConnectionGateway404Response, + WebAppsGetVnetConnectionGatewayDefaultResponse, + WebAppsCreateOrUpdateVnetConnectionGateway200Response, + WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse, + WebAppsUpdateVnetConnectionGateway200Response, + WebAppsUpdateVnetConnectionGatewayDefaultResponse, + WebAppsListWebJobs200Response, + WebAppsListWebJobsDefaultResponse, + WebAppsGetWebJob200Response, + WebAppsGetWebJobDefaultResponse, +} from "./responses"; + +const responseMap: Record = { + "GET /subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders": + ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/validateCertificateRegistrationInformation": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/renew": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendEmail": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendRequestEmails": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveSiteSeal": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/verifyDomainOwnership": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveCertificateActions": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveEmailHistory": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors/{detectorName}": + ["200"], + "GET /providers/Microsoft.CertificateRegistration/operations": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest": + ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/renew": + ["200", "202", "204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements": + ["200"], + "GET /providers/Microsoft.DomainRegistration/operations": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": + ["200", "201", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": + ["202", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": + ["200", "201", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateLinkResources": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": + ["202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/sites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionPlanLimits/limit": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionRelays": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot": + ["204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}": + ["200", "202", "204"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps/{name}/listSecrets": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/operations/{operationId}": + ["204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": + ["200", "202", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": + ["200", "201"], + "GET /providers/Microsoft.Web/availableStacks": ["200"], + "GET /providers/Microsoft.Web/functionAppStacks": ["200"], + "GET /providers/Microsoft.Web/locations/{location}/functionAppStacks": ["200"], + "GET /providers/Microsoft.Web/locations/{location}/webAppStacks": ["200"], + "GET /providers/Microsoft.Web/operations": ["200"], + "GET /providers/Microsoft.Web/webAppStacks": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset": ["204"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default": + ["200"], + "GET /providers/Microsoft.Web/publishingUsers/web": ["200"], + "PUT /providers/Microsoft.Web/publishingUsers/web": ["200"], + "GET /providers/Microsoft.Web/sourcecontrols": ["200"], + "GET /providers/Microsoft.Web/sourcecontrols/{sourceControlType}": ["200"], + "PUT /providers/Microsoft.Web/sourcecontrols/{sourceControlType}": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/skus": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet": [ + "200", + ], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources": ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources": [ + "204", + ], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/listUsers": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}": + ["200", "202", "204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/appsettings": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/functions": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listAppSettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listFunctionAppSettings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy": + ["200", "202"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/appsettings": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/createUserInvitation": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/functions": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listAppSettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listConfiguredRoles": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listFunctionAppSettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listSecrets": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateLinkResources": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/sites": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}/recover": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy": + ["201"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": + ["201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": + ["204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync": + ["204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": + ["201"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings/{appSettingKey}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings/{connectionStringKey}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": + ["201"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": + ["201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": + ["204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync": + ["204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": + ["201"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/dump": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listbackups": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/migratemysql/status": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/operationresults/{operationId}": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateLinkResources": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/dump": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromDeletedApp": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromDeletedApp": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreSnapshot": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreSnapshot": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": + ["200", "201", "202"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": + ["200", "201", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": + ["200", "201", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stopNetworkTrace": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/syncfunctiontriggers": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history/{id}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/run": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs/{webJobName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": + ["200", "201", "202"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": + ["200", "201", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": + ["200", "201", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history/{id}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/run": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}": + ["200"], +}; + +export function isUnexpected( + response: + | AppServiceCertificateOrdersList200Response + | AppServiceCertificateOrdersListDefaultResponse, +): response is AppServiceCertificateOrdersListDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersValidatePurchaseInformation204Response + | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse, +): response is AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersListByResourceGroup200Response + | AppServiceCertificateOrdersListByResourceGroupDefaultResponse, +): response is AppServiceCertificateOrdersListByResourceGroupDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersGet200Response + | AppServiceCertificateOrdersGetDefaultResponse, +): response is AppServiceCertificateOrdersGetDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersCreateOrUpdate200Response + | AppServiceCertificateOrdersCreateOrUpdate201Response + | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse, +): response is AppServiceCertificateOrdersCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersDelete200Response + | AppServiceCertificateOrdersDelete204Response + | AppServiceCertificateOrdersDeleteDefaultResponse, +): response is AppServiceCertificateOrdersDeleteDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersUpdate200Response + | AppServiceCertificateOrdersUpdateDefaultResponse, +): response is AppServiceCertificateOrdersUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersListCertificates200Response + | AppServiceCertificateOrdersListCertificatesDefaultResponse, +): response is AppServiceCertificateOrdersListCertificatesDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersGetCertificate200Response + | AppServiceCertificateOrdersGetCertificateDefaultResponse, +): response is AppServiceCertificateOrdersGetCertificateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersCreateOrUpdateCertificate200Response + | AppServiceCertificateOrdersCreateOrUpdateCertificate201Response + | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse, +): response is AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersDeleteCertificate200Response + | AppServiceCertificateOrdersDeleteCertificate204Response + | AppServiceCertificateOrdersDeleteCertificateDefaultResponse, +): response is AppServiceCertificateOrdersDeleteCertificateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersUpdateCertificate200Response + | AppServiceCertificateOrdersUpdateCertificateDefaultResponse, +): response is AppServiceCertificateOrdersUpdateCertificateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersReissue204Response + | AppServiceCertificateOrdersReissueDefaultResponse, +): response is AppServiceCertificateOrdersReissueDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersRenew204Response + | AppServiceCertificateOrdersRenewDefaultResponse, +): response is AppServiceCertificateOrdersRenewDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersResendEmail204Response + | AppServiceCertificateOrdersResendEmailDefaultResponse, +): response is AppServiceCertificateOrdersResendEmailDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersResendRequestEmails204Response + | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse, +): response is AppServiceCertificateOrdersResendRequestEmailsDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersRetrieveSiteSeal200Response + | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse, +): response is AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersVerifyDomainOwnership204Response + | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse, +): response is AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersRetrieveCertificateActions200Response + | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse, +): response is AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response + | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse, +): response is AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse; +export function isUnexpected( + response: + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse, +): response is CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse; +export function isUnexpected( + response: + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse, +): response is CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse; +export function isUnexpected( + response: + | CertificateRegistrationProviderListOperations200Response + | CertificateRegistrationProviderListOperationsDefaultResponse, +): response is CertificateRegistrationProviderListOperationsDefaultResponse; +export function isUnexpected( + response: DomainsCheckAvailability200Response | DomainsCheckAvailabilityDefaultResponse, +): response is DomainsCheckAvailabilityDefaultResponse; +export function isUnexpected( + response: DomainsList200Response | DomainsListDefaultResponse, +): response is DomainsListDefaultResponse; +export function isUnexpected( + response: + | DomainsGetControlCenterSsoRequest200Response + | DomainsGetControlCenterSsoRequestDefaultResponse, +): response is DomainsGetControlCenterSsoRequestDefaultResponse; +export function isUnexpected( + response: DomainsListRecommendations200Response | DomainsListRecommendationsDefaultResponse, +): response is DomainsListRecommendationsDefaultResponse; +export function isUnexpected( + response: DomainsListByResourceGroup200Response | DomainsListByResourceGroupDefaultResponse, +): response is DomainsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: DomainsGet200Response | DomainsGetDefaultResponse, +): response is DomainsGetDefaultResponse; +export function isUnexpected( + response: + | DomainsCreateOrUpdate200Response + | DomainsCreateOrUpdate202Response + | DomainsCreateOrUpdateDefaultResponse, +): response is DomainsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: DomainsDelete200Response | DomainsDelete204Response | DomainsDeleteDefaultResponse, +): response is DomainsDeleteDefaultResponse; +export function isUnexpected( + response: DomainsUpdate200Response | DomainsUpdate202Response | DomainsUpdateDefaultResponse, +): response is DomainsUpdateDefaultResponse; +export function isUnexpected( + response: + | DomainsListOwnershipIdentifiers200Response + | DomainsListOwnershipIdentifiersDefaultResponse, +): response is DomainsListOwnershipIdentifiersDefaultResponse; +export function isUnexpected( + response: DomainsGetOwnershipIdentifier200Response | DomainsGetOwnershipIdentifierDefaultResponse, +): response is DomainsGetOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | DomainsCreateOrUpdateOwnershipIdentifier200Response + | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse, +): response is DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | DomainsDeleteOwnershipIdentifier200Response + | DomainsDeleteOwnershipIdentifier204Response + | DomainsDeleteOwnershipIdentifierDefaultResponse, +): response is DomainsDeleteOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | DomainsUpdateOwnershipIdentifier200Response + | DomainsUpdateOwnershipIdentifierDefaultResponse, +): response is DomainsUpdateOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | DomainsRenew200Response + | DomainsRenew202Response + | DomainsRenew204Response + | DomainsRenewDefaultResponse, +): response is DomainsRenewDefaultResponse; +export function isUnexpected( + response: + | DomainsTransferOut200Response + | DomainsTransferOut400Response + | DomainsTransferOutDefaultResponse, +): response is DomainsTransferOut400Response; +export function isUnexpected( + response: TopLevelDomainsList200Response | TopLevelDomainsListDefaultResponse, +): response is TopLevelDomainsListDefaultResponse; +export function isUnexpected( + response: TopLevelDomainsGet200Response | TopLevelDomainsGetDefaultResponse, +): response is TopLevelDomainsGetDefaultResponse; +export function isUnexpected( + response: TopLevelDomainsListAgreements200Response | TopLevelDomainsListAgreementsDefaultResponse, +): response is TopLevelDomainsListAgreementsDefaultResponse; +export function isUnexpected( + response: + | DomainRegistrationProviderListOperations200Response + | DomainRegistrationProviderListOperationsDefaultResponse, +): response is DomainRegistrationProviderListOperationsDefaultResponse; +export function isUnexpected( + response: AppServiceEnvironmentsList200Response | AppServiceEnvironmentsListDefaultResponse, +): response is AppServiceEnvironmentsListDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListByResourceGroup200Response + | AppServiceEnvironmentsListByResourceGroupDefaultResponse, +): response is AppServiceEnvironmentsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: AppServiceEnvironmentsGet200Response | AppServiceEnvironmentsGetDefaultResponse, +): response is AppServiceEnvironmentsGetDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsCreateOrUpdate200Response + | AppServiceEnvironmentsCreateOrUpdate201Response + | AppServiceEnvironmentsCreateOrUpdate202Response + | AppServiceEnvironmentsCreateOrUpdateDefaultResponse, +): response is AppServiceEnvironmentsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsDelete202Response + | AppServiceEnvironmentsDelete204Response + | AppServiceEnvironmentsDeleteDefaultResponse, +): response is AppServiceEnvironmentsDeleteDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsUpdate200Response + | AppServiceEnvironmentsUpdate201Response + | AppServiceEnvironmentsUpdate202Response + | AppServiceEnvironmentsUpdateDefaultResponse, +): response is AppServiceEnvironmentsUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListCapacities200Response + | AppServiceEnvironmentsListCapacitiesDefaultResponse, +): response is AppServiceEnvironmentsListCapacitiesDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetVipInfo200Response + | AppServiceEnvironmentsGetVipInfoDefaultResponse, +): response is AppServiceEnvironmentsGetVipInfoDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsChangeVnet200Response + | AppServiceEnvironmentsChangeVnet202Response + | AppServiceEnvironmentsChangeVnetDefaultResponse, +): response is AppServiceEnvironmentsChangeVnetDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response + | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse, +): response is AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response + | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse, +): response is AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListDiagnostics200Response + | AppServiceEnvironmentsListDiagnosticsDefaultResponse, +): response is AppServiceEnvironmentsListDiagnosticsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetDiagnosticsItem200Response + | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse, +): response is AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse, +): response is AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRolePools200Response + | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse, +): response is AppServiceEnvironmentsListMultiRolePoolsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetMultiRolePool200Response + | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse, +): response is AppServiceEnvironmentsGetMultiRolePoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response + | AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response + | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse, +): response is AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsUpdateMultiRolePool200Response + | AppServiceEnvironmentsUpdateMultiRolePool202Response + | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse, +): response is AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse, +): response is AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response + | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse, +): response is AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRolePoolSkus200Response + | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse, +): response is AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRoleUsages200Response + | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse, +): response is AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListOperations200Response + | AppServiceEnvironmentsListOperationsDefaultResponse, +): response is AppServiceEnvironmentsListOperationsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse, +): response is AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response + | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse, +): response is AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetPrivateEndpointConnection200Response + | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse, +): response is AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse, +): response is AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsDeletePrivateEndpointConnection200Response + | AppServiceEnvironmentsDeletePrivateEndpointConnection202Response + | AppServiceEnvironmentsDeletePrivateEndpointConnection204Response + | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse, +): response is AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetPrivateLinkResources200Response + | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse, +): response is AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse; +export function isUnexpected( + response: AppServiceEnvironmentsReboot202Response | AppServiceEnvironmentsRebootDefaultResponse, +): response is AppServiceEnvironmentsRebootDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsResume200Response + | AppServiceEnvironmentsResume202Response + | AppServiceEnvironmentsResumeDefaultResponse, +): response is AppServiceEnvironmentsResumeDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListAppServicePlans200Response + | AppServiceEnvironmentsListAppServicePlansDefaultResponse, +): response is AppServiceEnvironmentsListAppServicePlansDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWebApps200Response + | AppServiceEnvironmentsListWebAppsDefaultResponse, +): response is AppServiceEnvironmentsListWebAppsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsSuspend200Response + | AppServiceEnvironmentsSuspend202Response + | AppServiceEnvironmentsSuspendDefaultResponse, +): response is AppServiceEnvironmentsSuspendDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListUsages200Response + | AppServiceEnvironmentsListUsagesDefaultResponse, +): response is AppServiceEnvironmentsListUsagesDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWorkerPools200Response + | AppServiceEnvironmentsListWorkerPoolsDefaultResponse, +): response is AppServiceEnvironmentsListWorkerPoolsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetWorkerPool200Response + | AppServiceEnvironmentsGetWorkerPoolDefaultResponse, +): response is AppServiceEnvironmentsGetWorkerPoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response + | AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response + | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse, +): response is AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsUpdateWorkerPool200Response + | AppServiceEnvironmentsUpdateWorkerPool202Response + | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse, +): response is AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse, +): response is AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response + | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse, +): response is AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWorkerPoolSkus200Response + | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse, +): response is AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWebWorkerUsages200Response + | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse, +): response is AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse; +export function isUnexpected( + response: AppServicePlansList200Response | AppServicePlansListDefaultResponse, +): response is AppServicePlansListDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListByResourceGroup200Response + | AppServicePlansListByResourceGroupDefaultResponse, +): response is AppServicePlansListByResourceGroupDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGet200Response + | AppServicePlansGet404Response + | AppServicePlansGetDefaultResponse, +): response is AppServicePlansGet404Response; +export function isUnexpected( + response: + | AppServicePlansCreateOrUpdate200Response + | AppServicePlansCreateOrUpdate202Response + | AppServicePlansCreateOrUpdateDefaultResponse, +): response is AppServicePlansCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansDelete200Response + | AppServicePlansDelete204Response + | AppServicePlansDeleteDefaultResponse, +): response is AppServicePlansDeleteDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansUpdate200Response + | AppServicePlansUpdate202Response + | AppServicePlansUpdateDefaultResponse, +): response is AppServicePlansUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListCapabilities200Response + | AppServicePlansListCapabilitiesDefaultResponse, +): response is AppServicePlansListCapabilitiesDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetHybridConnection200Response + | AppServicePlansGetHybridConnectionDefaultResponse, +): response is AppServicePlansGetHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansDeleteHybridConnection200Response + | AppServicePlansDeleteHybridConnection204Response + | AppServicePlansDeleteHybridConnectionDefaultResponse, +): response is AppServicePlansDeleteHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListHybridConnectionKeys200Response + | AppServicePlansListHybridConnectionKeysDefaultResponse, +): response is AppServicePlansListHybridConnectionKeysDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListWebAppsByHybridConnection200Response + | AppServicePlansListWebAppsByHybridConnectionDefaultResponse, +): response is AppServicePlansListWebAppsByHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetHybridConnectionPlanLimit200Response + | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse, +): response is AppServicePlansGetHybridConnectionPlanLimitDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListHybridConnections200Response + | AppServicePlansListHybridConnectionsDefaultResponse, +): response is AppServicePlansListHybridConnectionsDefaultResponse; +export function isUnexpected( + response: AppServicePlansRestartWebApps204Response | AppServicePlansRestartWebAppsDefaultResponse, +): response is AppServicePlansRestartWebAppsDefaultResponse; +export function isUnexpected( + response: AppServicePlansListWebApps200Response | AppServicePlansListWebAppsDefaultResponse, +): response is AppServicePlansListWebAppsDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetServerFarmSkus200Response + | AppServicePlansGetServerFarmSkusDefaultResponse, +): response is AppServicePlansGetServerFarmSkusDefaultResponse; +export function isUnexpected( + response: AppServicePlansListUsages200Response | AppServicePlansListUsagesDefaultResponse, +): response is AppServicePlansListUsagesDefaultResponse; +export function isUnexpected( + response: AppServicePlansListVnets200Response | AppServicePlansListVnetsDefaultResponse, +): response is AppServicePlansListVnetsDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetVnetFromServerFarm200Response + | AppServicePlansGetVnetFromServerFarm404Response + | AppServicePlansGetVnetFromServerFarmDefaultResponse, +): response is AppServicePlansGetVnetFromServerFarm404Response; +export function isUnexpected( + response: AppServicePlansGetVnetGateway200Response | AppServicePlansGetVnetGatewayDefaultResponse, +): response is AppServicePlansGetVnetGatewayDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansUpdateVnetGateway200Response + | AppServicePlansUpdateVnetGatewayDefaultResponse, +): response is AppServicePlansUpdateVnetGatewayDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListRoutesForVnet200Response + | AppServicePlansListRoutesForVnetDefaultResponse, +): response is AppServicePlansListRoutesForVnetDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetRouteForVnet200Response + | AppServicePlansGetRouteForVnet404Response + | AppServicePlansGetRouteForVnetDefaultResponse, +): response is AppServicePlansGetRouteForVnet404Response; +export function isUnexpected( + response: + | AppServicePlansCreateOrUpdateVnetRoute200Response + | AppServicePlansCreateOrUpdateVnetRoute400Response + | AppServicePlansCreateOrUpdateVnetRoute404Response + | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse, +): response is AppServicePlansCreateOrUpdateVnetRoute400Response; +export function isUnexpected( + response: + | AppServicePlansDeleteVnetRoute200Response + | AppServicePlansDeleteVnetRoute404Response + | AppServicePlansDeleteVnetRouteDefaultResponse, +): response is AppServicePlansDeleteVnetRoute404Response; +export function isUnexpected( + response: + | AppServicePlansUpdateVnetRoute200Response + | AppServicePlansUpdateVnetRoute400Response + | AppServicePlansUpdateVnetRoute404Response + | AppServicePlansUpdateVnetRouteDefaultResponse, +): response is AppServicePlansUpdateVnetRoute400Response; +export function isUnexpected( + response: AppServicePlansRebootWorker204Response | AppServicePlansRebootWorkerDefaultResponse, +): response is AppServicePlansRebootWorkerDefaultResponse; +export function isUnexpected( + response: CertificatesList200Response | CertificatesListDefaultResponse, +): response is CertificatesListDefaultResponse; +export function isUnexpected( + response: + | CertificatesListByResourceGroup200Response + | CertificatesListByResourceGroupDefaultResponse, +): response is CertificatesListByResourceGroupDefaultResponse; +export function isUnexpected( + response: CertificatesGet200Response | CertificatesGetDefaultResponse, +): response is CertificatesGetDefaultResponse; +export function isUnexpected( + response: CertificatesCreateOrUpdate200Response | CertificatesCreateOrUpdateDefaultResponse, +): response is CertificatesCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | CertificatesDelete200Response + | CertificatesDelete204Response + | CertificatesDeleteDefaultResponse, +): response is CertificatesDeleteDefaultResponse; +export function isUnexpected( + response: CertificatesUpdate200Response | CertificatesUpdateDefaultResponse, +): response is CertificatesUpdateDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsListBySubscription200Response + | ContainerAppsListBySubscriptionDefaultResponse, +): response is ContainerAppsListBySubscriptionDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsListByResourceGroup200Response + | ContainerAppsListByResourceGroupDefaultResponse, +): response is ContainerAppsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsGet200Response + | ContainerAppsGet404Response + | ContainerAppsGetDefaultResponse, +): response is ContainerAppsGet404Response; +export function isUnexpected( + response: + | ContainerAppsCreateOrUpdate200Response + | ContainerAppsCreateOrUpdate201Response + | ContainerAppsCreateOrUpdateDefaultResponse, +): response is ContainerAppsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsDelete200Response + | ContainerAppsDelete202Response + | ContainerAppsDelete204Response + | ContainerAppsDeleteDefaultResponse, +): response is ContainerAppsDeleteDefaultResponse; +export function isUnexpected( + response: ContainerAppsListSecrets200Response | ContainerAppsListSecretsDefaultResponse, +): response is ContainerAppsListSecretsDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsListRevisions200Response + | ContainerAppsRevisionsListRevisionsDefaultResponse, +): response is ContainerAppsRevisionsListRevisionsDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsGetRevision200Response + | ContainerAppsRevisionsGetRevisionDefaultResponse, +): response is ContainerAppsRevisionsGetRevisionDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsActivateRevision200Response + | ContainerAppsRevisionsActivateRevisionDefaultResponse, +): response is ContainerAppsRevisionsActivateRevisionDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsDeactivateRevision200Response + | ContainerAppsRevisionsDeactivateRevisionDefaultResponse, +): response is ContainerAppsRevisionsDeactivateRevisionDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsRestartRevision200Response + | ContainerAppsRevisionsRestartRevisionDefaultResponse, +): response is ContainerAppsRevisionsRestartRevisionDefaultResponse; +export function isUnexpected( + response: DeletedWebAppsList200Response | DeletedWebAppsListDefaultResponse, +): response is DeletedWebAppsListDefaultResponse; +export function isUnexpected( + response: DeletedWebAppsListByLocation200Response | DeletedWebAppsListByLocationDefaultResponse, +): response is DeletedWebAppsListByLocationDefaultResponse; +export function isUnexpected( + response: + | DeletedWebAppsGetDeletedWebAppByLocation200Response + | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse, +): response is DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListHostingEnvironmentDetectorResponses200Response + | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse, +): response is DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetHostingEnvironmentDetectorResponse200Response + | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse, +): response is DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDetectorResponses200Response + | DiagnosticsListSiteDetectorResponsesDefaultResponse, +): response is DiagnosticsListSiteDetectorResponsesDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDetectorResponse200Response + | DiagnosticsGetSiteDetectorResponseDefaultResponse, +): response is DiagnosticsGetSiteDetectorResponseDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDiagnosticCategories200Response + | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse, +): response is DiagnosticsListSiteDiagnosticCategoriesDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDiagnosticCategory200Response + | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse, +): response is DiagnosticsGetSiteDiagnosticCategoryDefaultResponse; +export function isUnexpected( + response: DiagnosticsListSiteAnalyses200Response | DiagnosticsListSiteAnalysesDefaultResponse, +): response is DiagnosticsListSiteAnalysesDefaultResponse; +export function isUnexpected( + response: DiagnosticsGetSiteAnalysis200Response | DiagnosticsGetSiteAnalysisDefaultResponse, +): response is DiagnosticsGetSiteAnalysisDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsExecuteSiteAnalysis200Response + | DiagnosticsExecuteSiteAnalysisDefaultResponse, +): response is DiagnosticsExecuteSiteAnalysisDefaultResponse; +export function isUnexpected( + response: DiagnosticsListSiteDetectors200Response | DiagnosticsListSiteDetectorsDefaultResponse, +): response is DiagnosticsListSiteDetectorsDefaultResponse; +export function isUnexpected( + response: DiagnosticsGetSiteDetector200Response | DiagnosticsGetSiteDetectorDefaultResponse, +): response is DiagnosticsGetSiteDetectorDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsExecuteSiteDetector200Response + | DiagnosticsExecuteSiteDetectorDefaultResponse, +): response is DiagnosticsExecuteSiteDetectorDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDetectorResponsesSlot200Response + | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse, +): response is DiagnosticsListSiteDetectorResponsesSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDetectorResponseSlot200Response + | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse, +): response is DiagnosticsGetSiteDetectorResponseSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDiagnosticCategoriesSlot200Response + | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse, +): response is DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDiagnosticCategorySlot200Response + | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse, +): response is DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteAnalysesSlot200Response + | DiagnosticsListSiteAnalysesSlotDefaultResponse, +): response is DiagnosticsListSiteAnalysesSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteAnalysisSlot200Response + | DiagnosticsGetSiteAnalysisSlotDefaultResponse, +): response is DiagnosticsGetSiteAnalysisSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsExecuteSiteAnalysisSlot200Response + | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse, +): response is DiagnosticsExecuteSiteAnalysisSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDetectorsSlot200Response + | DiagnosticsListSiteDetectorsSlotDefaultResponse, +): response is DiagnosticsListSiteDetectorsSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDetectorSlot200Response + | DiagnosticsGetSiteDetectorSlotDefaultResponse, +): response is DiagnosticsGetSiteDetectorSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsExecuteSiteDetectorSlot200Response + | DiagnosticsExecuteSiteDetectorSlotDefaultResponse, +): response is DiagnosticsExecuteSiteDetectorSlotDefaultResponse; +export function isUnexpected( + response: GlobalGetDeletedWebApp200Response | GlobalGetDeletedWebAppDefaultResponse, +): response is GlobalGetDeletedWebAppDefaultResponse; +export function isUnexpected( + response: + | GlobalGetDeletedWebAppSnapshots200Response + | GlobalGetDeletedWebAppSnapshotsDefaultResponse, +): response is GlobalGetDeletedWebAppSnapshotsDefaultResponse; +export function isUnexpected( + response: + | GlobalGetSubscriptionOperationWithAsyncResponse204Response + | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse, +): response is GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsListBySubscription200Response + | KubeEnvironmentsListBySubscriptionDefaultResponse, +): response is KubeEnvironmentsListBySubscriptionDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsListByResourceGroup200Response + | KubeEnvironmentsListByResourceGroupDefaultResponse, +): response is KubeEnvironmentsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: KubeEnvironmentsGet200Response | KubeEnvironmentsGetDefaultResponse, +): response is KubeEnvironmentsGetDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsCreateOrUpdate200Response + | KubeEnvironmentsCreateOrUpdate201Response + | KubeEnvironmentsCreateOrUpdateDefaultResponse, +): response is KubeEnvironmentsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsDelete200Response + | KubeEnvironmentsDelete202Response + | KubeEnvironmentsDelete204Response + | KubeEnvironmentsDeleteDefaultResponse, +): response is KubeEnvironmentsDeleteDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsUpdate200Response + | KubeEnvironmentsUpdate201Response + | KubeEnvironmentsUpdateDefaultResponse, +): response is KubeEnvironmentsUpdateDefaultResponse; +export function isUnexpected( + response: ProviderGetAvailableStacks200Response | ProviderGetAvailableStacksDefaultResponse, +): response is ProviderGetAvailableStacksDefaultResponse; +export function isUnexpected( + response: ProviderGetFunctionAppStacks200Response | ProviderGetFunctionAppStacksDefaultResponse, +): response is ProviderGetFunctionAppStacksDefaultResponse; +export function isUnexpected( + response: + | ProviderGetFunctionAppStacksForLocation200Response + | ProviderGetFunctionAppStacksForLocationDefaultResponse, +): response is ProviderGetFunctionAppStacksForLocationDefaultResponse; +export function isUnexpected( + response: + | ProviderGetWebAppStacksForLocation200Response + | ProviderGetWebAppStacksForLocationDefaultResponse, +): response is ProviderGetWebAppStacksForLocationDefaultResponse; +export function isUnexpected( + response: ProviderListOperations200Response | ProviderListOperationsDefaultResponse, +): response is ProviderListOperationsDefaultResponse; +export function isUnexpected( + response: ProviderGetWebAppStacks200Response | ProviderGetWebAppStacksDefaultResponse, +): response is ProviderGetWebAppStacksDefaultResponse; +export function isUnexpected( + response: + | ProviderGetAvailableStacksOnPrem200Response + | ProviderGetAvailableStacksOnPremDefaultResponse, +): response is ProviderGetAvailableStacksOnPremDefaultResponse; +export function isUnexpected( + response: RecommendationsList200Response | RecommendationsListDefaultResponse, +): response is RecommendationsListDefaultResponse; +export function isUnexpected( + response: + | RecommendationsResetAllFilters204Response + | RecommendationsResetAllFiltersDefaultResponse, +): response is RecommendationsResetAllFiltersDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableRecommendationForSubscription200Response + | RecommendationsDisableRecommendationForSubscriptionDefaultResponse, +): response is RecommendationsDisableRecommendationForSubscriptionDefaultResponse; +export function isUnexpected( + response: + | RecommendationsListHistoryForHostingEnvironment200Response + | RecommendationsListHistoryForHostingEnvironmentDefaultResponse, +): response is RecommendationsListHistoryForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsListRecommendedRulesForHostingEnvironment200Response + | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse, +): response is RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableAllForHostingEnvironment204Response + | RecommendationsDisableAllForHostingEnvironmentDefaultResponse, +): response is RecommendationsDisableAllForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsResetAllFiltersForHostingEnvironment204Response + | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse, +): response is RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsGetRuleDetailsByHostingEnvironment200Response + | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse, +): response is RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableRecommendationForHostingEnvironment200Response + | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse, +): response is RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsListHistoryForWebApp200Response + | RecommendationsListHistoryForWebAppDefaultResponse, +): response is RecommendationsListHistoryForWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsListRecommendedRulesForWebApp200Response + | RecommendationsListRecommendedRulesForWebAppDefaultResponse, +): response is RecommendationsListRecommendedRulesForWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableAllForWebApp204Response + | RecommendationsDisableAllForWebAppDefaultResponse, +): response is RecommendationsDisableAllForWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsResetAllFiltersForWebApp204Response + | RecommendationsResetAllFiltersForWebAppDefaultResponse, +): response is RecommendationsResetAllFiltersForWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsGetRuleDetailsByWebApp200Response + | RecommendationsGetRuleDetailsByWebAppDefaultResponse, +): response is RecommendationsGetRuleDetailsByWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableRecommendationForSite200Response + | RecommendationsDisableRecommendationForSiteDefaultResponse, +): response is RecommendationsDisableRecommendationForSiteDefaultResponse; +export function isUnexpected( + response: ResourceHealthMetadataList200Response | ResourceHealthMetadataListDefaultResponse, +): response is ResourceHealthMetadataListDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataListByResourceGroup200Response + | ResourceHealthMetadataListByResourceGroupDefaultResponse, +): response is ResourceHealthMetadataListByResourceGroupDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataListBySite200Response + | ResourceHealthMetadataListBySiteDefaultResponse, +): response is ResourceHealthMetadataListBySiteDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataGetBySite200Response + | ResourceHealthMetadataGetBySiteDefaultResponse, +): response is ResourceHealthMetadataGetBySiteDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataListBySiteSlot200Response + | ResourceHealthMetadataListBySiteSlotDefaultResponse, +): response is ResourceHealthMetadataListBySiteSlotDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataGetBySiteSlot200Response + | ResourceHealthMetadataGetBySiteSlotDefaultResponse, +): response is ResourceHealthMetadataGetBySiteSlotDefaultResponse; +export function isUnexpected( + response: GetPublishingUser200Response | GetPublishingUserDefaultResponse, +): response is GetPublishingUserDefaultResponse; +export function isUnexpected( + response: UpdatePublishingUser200Response | UpdatePublishingUserDefaultResponse, +): response is UpdatePublishingUserDefaultResponse; +export function isUnexpected( + response: ListSourceControls200Response | ListSourceControlsDefaultResponse, +): response is ListSourceControlsDefaultResponse; +export function isUnexpected( + response: GetSourceControl200Response | GetSourceControlDefaultResponse, +): response is GetSourceControlDefaultResponse; +export function isUnexpected( + response: UpdateSourceControl200Response | UpdateSourceControlDefaultResponse, +): response is UpdateSourceControlDefaultResponse; +export function isUnexpected( + response: ListBillingMeters200Response | ListBillingMetersDefaultResponse, +): response is ListBillingMetersDefaultResponse; +export function isUnexpected( + response: CheckNameAvailability200Response | CheckNameAvailabilityDefaultResponse, +): response is CheckNameAvailabilityDefaultResponse; +export function isUnexpected( + response: ListCustomHostNameSites200Response | ListCustomHostNameSitesDefaultResponse, +): response is ListCustomHostNameSitesDefaultResponse; +export function isUnexpected( + response: + | GetSubscriptionDeploymentLocations200Response + | GetSubscriptionDeploymentLocationsDefaultResponse, +): response is GetSubscriptionDeploymentLocationsDefaultResponse; +export function isUnexpected( + response: ListGeoRegions200Response | ListGeoRegionsDefaultResponse, +): response is ListGeoRegionsDefaultResponse; +export function isUnexpected( + response: + | ListSiteIdentifiersAssignedToHostName200Response + | ListSiteIdentifiersAssignedToHostNameDefaultResponse, +): response is ListSiteIdentifiersAssignedToHostNameDefaultResponse; +export function isUnexpected( + response: ListPremierAddOnOffers200Response | ListPremierAddOnOffersDefaultResponse, +): response is ListPremierAddOnOffersDefaultResponse; +export function isUnexpected( + response: ListSkus200Response | ListSkusDefaultResponse, +): response is ListSkusDefaultResponse; +export function isUnexpected( + response: VerifyHostingEnvironmentVnet200Response | VerifyHostingEnvironmentVnetDefaultResponse, +): response is VerifyHostingEnvironmentVnetDefaultResponse; +export function isUnexpected( + response: Move204Response | MoveDefaultResponse, +): response is MoveDefaultResponse; +export function isUnexpected( + response: Validate200Response | ValidateDefaultResponse, +): response is ValidateDefaultResponse; +export function isUnexpected( + response: ValidateMove204Response | ValidateMoveDefaultResponse, +): response is ValidateMoveDefaultResponse; +export function isUnexpected( + response: StaticSitesPreviewWorkflow200Response | StaticSitesPreviewWorkflowDefaultResponse, +): response is StaticSitesPreviewWorkflowDefaultResponse; +export function isUnexpected( + response: StaticSitesList200Response | StaticSitesListDefaultResponse, +): response is StaticSitesListDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetStaticSitesByResourceGroup200Response + | StaticSitesGetStaticSitesByResourceGroupDefaultResponse, +): response is StaticSitesGetStaticSitesByResourceGroupDefaultResponse; +export function isUnexpected( + response: StaticSitesGetStaticSite200Response | StaticSitesGetStaticSiteDefaultResponse, +): response is StaticSitesGetStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSite200Response + | StaticSitesCreateOrUpdateStaticSite202Response + | StaticSitesCreateOrUpdateStaticSiteDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeleteStaticSite200Response + | StaticSitesDeleteStaticSite202Response + | StaticSitesDeleteStaticSiteDefaultResponse, +): response is StaticSitesDeleteStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesUpdateStaticSite200Response + | StaticSitesUpdateStaticSite202Response + | StaticSitesUpdateStaticSiteDefaultResponse, +): response is StaticSitesUpdateStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteUsers200Response + | StaticSitesListStaticSiteUsersDefaultResponse, +): response is StaticSitesListStaticSiteUsersDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeleteStaticSiteUser200Response + | StaticSitesDeleteStaticSiteUserDefaultResponse, +): response is StaticSitesDeleteStaticSiteUserDefaultResponse; +export function isUnexpected( + response: + | StaticSitesUpdateStaticSiteUser200Response + | StaticSitesUpdateStaticSiteUserDefaultResponse, +): response is StaticSitesUpdateStaticSiteUserDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetStaticSiteBuilds200Response + | StaticSitesGetStaticSiteBuildsDefaultResponse, +): response is StaticSitesGetStaticSiteBuildsDefaultResponse; +export function isUnexpected( + response: StaticSitesGetStaticSiteBuild200Response | StaticSitesGetStaticSiteBuildDefaultResponse, +): response is StaticSitesGetStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeleteStaticSiteBuild200Response + | StaticSitesDeleteStaticSiteBuild202Response + | StaticSitesDeleteStaticSiteBuild204Response + | StaticSitesDeleteStaticSiteBuildDefaultResponse, +): response is StaticSitesDeleteStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteBuildFunctions200Response + | StaticSitesListStaticSiteBuildFunctionsDefaultResponse, +): response is StaticSitesListStaticSiteBuildFunctionsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteBuildAppSettings200Response + | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse, +): response is StaticSitesListStaticSiteBuildAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteBuildFunctionAppSettings200Response + | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse, +): response is StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse, +): response is StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse, +): response is StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse, +): response is StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse, +): response is StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateZipDeploymentForStaticSiteBuild200Response + | StaticSitesCreateZipDeploymentForStaticSiteBuild202Response + | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse, +): response is StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateUserRolesInvitationLink200Response + | StaticSitesCreateUserRolesInvitationLinkDefaultResponse, +): response is StaticSitesCreateUserRolesInvitationLinkDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteCustomDomains200Response + | StaticSitesListStaticSiteCustomDomainsDefaultResponse, +): response is StaticSitesListStaticSiteCustomDomainsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetStaticSiteCustomDomain200Response + | StaticSitesGetStaticSiteCustomDomainDefaultResponse, +): response is StaticSitesGetStaticSiteCustomDomainDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response + | StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response + | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeleteStaticSiteCustomDomain200Response + | StaticSitesDeleteStaticSiteCustomDomain202Response + | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse, +): response is StaticSitesDeleteStaticSiteCustomDomainDefaultResponse; +export function isUnexpected( + response: + | StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response + | StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response + | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse, +): response is StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDetachStaticSite200Response + | StaticSitesDetachStaticSite202Response + | StaticSitesDetachStaticSiteDefaultResponse, +): response is StaticSitesDetachStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteFunctions200Response + | StaticSitesListStaticSiteFunctionsDefaultResponse, +): response is StaticSitesListStaticSiteFunctionsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteAppSettings200Response + | StaticSitesListStaticSiteAppSettingsDefaultResponse, +): response is StaticSitesListStaticSiteAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteConfiguredRoles200Response + | StaticSitesListStaticSiteConfiguredRolesDefaultResponse, +): response is StaticSitesListStaticSiteConfiguredRolesDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteFunctionAppSettings200Response + | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse, +): response is StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteSecrets200Response + | StaticSitesListStaticSiteSecretsDefaultResponse, +): response is StaticSitesListStaticSiteSecretsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetPrivateEndpointConnectionList200Response + | StaticSitesGetPrivateEndpointConnectionListDefaultResponse, +): response is StaticSitesGetPrivateEndpointConnectionListDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetPrivateEndpointConnection200Response + | StaticSitesGetPrivateEndpointConnectionDefaultResponse, +): response is StaticSitesGetPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | StaticSitesApproveOrRejectPrivateEndpointConnection200Response + | StaticSitesApproveOrRejectPrivateEndpointConnection202Response + | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse, +): response is StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeletePrivateEndpointConnection200Response + | StaticSitesDeletePrivateEndpointConnection202Response + | StaticSitesDeletePrivateEndpointConnection204Response + | StaticSitesDeletePrivateEndpointConnectionDefaultResponse, +): response is StaticSitesDeletePrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetPrivateLinkResources200Response + | StaticSitesGetPrivateLinkResourcesDefaultResponse, +): response is StaticSitesGetPrivateLinkResourcesDefaultResponse; +export function isUnexpected( + response: + | StaticSitesResetStaticSiteApiKey200Response + | StaticSitesResetStaticSiteApiKeyDefaultResponse, +): response is StaticSitesResetStaticSiteApiKeyDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse, +): response is StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetUserProvidedFunctionAppForStaticSite200Response + | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse, +): response is StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse, +): response is StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse, +): response is StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateZipDeploymentForStaticSite200Response + | StaticSitesCreateZipDeploymentForStaticSite202Response + | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse, +): response is StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse; +export function isUnexpected( + response: WebAppsList200Response | WebAppsListDefaultResponse, +): response is WebAppsListDefaultResponse; +export function isUnexpected( + response: WebAppsListByResourceGroup200Response | WebAppsListByResourceGroupDefaultResponse, +): response is WebAppsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: WebAppsGet200Response | WebAppsGet404Response | WebAppsGetDefaultResponse, +): response is WebAppsGet404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdate200Response + | WebAppsCreateOrUpdate202Response + | WebAppsCreateOrUpdateDefaultResponse, +): response is WebAppsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | WebAppsDelete200Response + | WebAppsDelete204Response + | WebAppsDelete404Response + | WebAppsDeleteDefaultResponse, +): response is WebAppsDelete404Response; +export function isUnexpected( + response: WebAppsUpdate200Response | WebAppsUpdate202Response | WebAppsUpdateDefaultResponse, +): response is WebAppsUpdateDefaultResponse; +export function isUnexpected( + response: WebAppsAnalyzeCustomHostname200Response | WebAppsAnalyzeCustomHostnameDefaultResponse, +): response is WebAppsAnalyzeCustomHostnameDefaultResponse; +export function isUnexpected( + response: + | WebAppsApplySlotConfigToProduction200Response + | WebAppsApplySlotConfigToProductionDefaultResponse, +): response is WebAppsApplySlotConfigToProductionDefaultResponse; +export function isUnexpected( + response: WebAppsBackup200Response | WebAppsBackupDefaultResponse, +): response is WebAppsBackupDefaultResponse; +export function isUnexpected( + response: WebAppsListBackups200Response | WebAppsListBackupsDefaultResponse, +): response is WebAppsListBackupsDefaultResponse; +export function isUnexpected( + response: WebAppsGetBackupStatus200Response | WebAppsGetBackupStatusDefaultResponse, +): response is WebAppsGetBackupStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteBackup200Response + | WebAppsDeleteBackup404Response + | WebAppsDeleteBackupDefaultResponse, +): response is WebAppsDeleteBackup404Response; +export function isUnexpected( + response: + | WebAppsListBackupStatusSecrets200Response + | WebAppsListBackupStatusSecretsDefaultResponse, +): response is WebAppsListBackupStatusSecretsDefaultResponse; +export function isUnexpected( + response: WebAppsRestore200Response | WebAppsRestore202Response | WebAppsRestoreDefaultResponse, +): response is WebAppsRestoreDefaultResponse; +export function isUnexpected( + response: + | WebAppsListBasicPublishingCredentialsPolicies200Response + | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse, +): response is WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse; +export function isUnexpected( + response: WebAppsGetFtpAllowed200Response | WebAppsGetFtpAllowedDefaultResponse, +): response is WebAppsGetFtpAllowedDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateFtpAllowed200Response | WebAppsUpdateFtpAllowedDefaultResponse, +): response is WebAppsUpdateFtpAllowedDefaultResponse; +export function isUnexpected( + response: WebAppsGetScmAllowed200Response | WebAppsGetScmAllowedDefaultResponse, +): response is WebAppsGetScmAllowedDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateScmAllowed200Response | WebAppsUpdateScmAllowedDefaultResponse, +): response is WebAppsUpdateScmAllowedDefaultResponse; +export function isUnexpected( + response: WebAppsListConfigurations200Response | WebAppsListConfigurationsDefaultResponse, +): response is WebAppsListConfigurationsDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateApplicationSettings200Response + | WebAppsUpdateApplicationSettingsDefaultResponse, +): response is WebAppsUpdateApplicationSettingsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListApplicationSettings200Response + | WebAppsListApplicationSettingsDefaultResponse, +): response is WebAppsListApplicationSettingsDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateAuthSettings200Response | WebAppsUpdateAuthSettingsDefaultResponse, +): response is WebAppsUpdateAuthSettingsDefaultResponse; +export function isUnexpected( + response: WebAppsGetAuthSettings200Response | WebAppsGetAuthSettingsDefaultResponse, +): response is WebAppsGetAuthSettingsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAuthSettingsV2WithoutSecrets200Response + | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse, +): response is WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateAuthSettingsV2200Response | WebAppsUpdateAuthSettingsV2DefaultResponse, +): response is WebAppsUpdateAuthSettingsV2DefaultResponse; +export function isUnexpected( + response: WebAppsGetAuthSettingsV2200Response | WebAppsGetAuthSettingsV2DefaultResponse, +): response is WebAppsGetAuthSettingsV2DefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateAzureStorageAccounts200Response + | WebAppsUpdateAzureStorageAccountsDefaultResponse, +): response is WebAppsUpdateAzureStorageAccountsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListAzureStorageAccounts200Response + | WebAppsListAzureStorageAccountsDefaultResponse, +): response is WebAppsListAzureStorageAccountsDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateBackupConfiguration200Response + | WebAppsUpdateBackupConfigurationDefaultResponse, +): response is WebAppsUpdateBackupConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteBackupConfiguration200Response + | WebAppsDeleteBackupConfigurationDefaultResponse, +): response is WebAppsDeleteBackupConfigurationDefaultResponse; +export function isUnexpected( + response: WebAppsGetBackupConfiguration200Response | WebAppsGetBackupConfigurationDefaultResponse, +): response is WebAppsGetBackupConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAppSettingsKeyVaultReferences200Response + | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse, +): response is WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAppSettingKeyVaultReference200Response + | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse, +): response is WebAppsGetAppSettingKeyVaultReferenceDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSiteConnectionStringKeyVaultReferences200Response + | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse, +): response is WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSiteConnectionStringKeyVaultReference200Response + | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse, +): response is WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateConnectionStrings200Response + | WebAppsUpdateConnectionStringsDefaultResponse, +): response is WebAppsUpdateConnectionStringsDefaultResponse; +export function isUnexpected( + response: WebAppsListConnectionStrings200Response | WebAppsListConnectionStringsDefaultResponse, +): response is WebAppsListConnectionStringsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetDiagnosticLogsConfiguration200Response + | WebAppsGetDiagnosticLogsConfigurationDefaultResponse, +): response is WebAppsGetDiagnosticLogsConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateDiagnosticLogsConfig200Response + | WebAppsUpdateDiagnosticLogsConfigDefaultResponse, +): response is WebAppsUpdateDiagnosticLogsConfigDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateMetadata200Response | WebAppsUpdateMetadataDefaultResponse, +): response is WebAppsUpdateMetadataDefaultResponse; +export function isUnexpected( + response: WebAppsListMetadata200Response | WebAppsListMetadataDefaultResponse, +): response is WebAppsListMetadataDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPublishingCredentials200Response + | WebAppsListPublishingCredentialsDefaultResponse, +): response is WebAppsListPublishingCredentialsDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateSitePushSettings200Response | WebAppsUpdateSitePushSettingsDefaultResponse, +): response is WebAppsUpdateSitePushSettingsDefaultResponse; +export function isUnexpected( + response: WebAppsListSitePushSettings200Response | WebAppsListSitePushSettingsDefaultResponse, +): response is WebAppsListSitePushSettingsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSlotConfigurationNames200Response + | WebAppsListSlotConfigurationNamesDefaultResponse, +): response is WebAppsListSlotConfigurationNamesDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateSlotConfigurationNames200Response + | WebAppsUpdateSlotConfigurationNamesDefaultResponse, +): response is WebAppsUpdateSlotConfigurationNamesDefaultResponse; +export function isUnexpected( + response: WebAppsGetConfiguration200Response | WebAppsGetConfigurationDefaultResponse, +): response is WebAppsGetConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateConfiguration200Response + | WebAppsCreateOrUpdateConfigurationDefaultResponse, +): response is WebAppsCreateOrUpdateConfigurationDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateConfiguration200Response | WebAppsUpdateConfigurationDefaultResponse, +): response is WebAppsUpdateConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsListConfigurationSnapshotInfo200Response + | WebAppsListConfigurationSnapshotInfoDefaultResponse, +): response is WebAppsListConfigurationSnapshotInfoDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetConfigurationSnapshot200Response + | WebAppsGetConfigurationSnapshotDefaultResponse, +): response is WebAppsGetConfigurationSnapshotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRecoverSiteConfigurationSnapshot204Response + | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse, +): response is WebAppsRecoverSiteConfigurationSnapshotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetWebSiteContainerLogs200Response + | WebAppsGetWebSiteContainerLogs204Response + | WebAppsGetWebSiteContainerLogsDefaultResponse, +): response is WebAppsGetWebSiteContainerLogsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetContainerLogsZip200Response + | WebAppsGetContainerLogsZip204Response + | WebAppsGetContainerLogsZipDefaultResponse, +): response is WebAppsGetContainerLogsZipDefaultResponse; +export function isUnexpected( + response: WebAppsListContinuousWebJobs200Response | WebAppsListContinuousWebJobsDefaultResponse, +): response is WebAppsListContinuousWebJobsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetContinuousWebJob200Response + | WebAppsGetContinuousWebJob404Response + | WebAppsGetContinuousWebJobDefaultResponse, +): response is WebAppsGetContinuousWebJob404Response; +export function isUnexpected( + response: + | WebAppsDeleteContinuousWebJob200Response + | WebAppsDeleteContinuousWebJob204Response + | WebAppsDeleteContinuousWebJobDefaultResponse, +): response is WebAppsDeleteContinuousWebJobDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartContinuousWebJob200Response + | WebAppsStartContinuousWebJob404Response + | WebAppsStartContinuousWebJobDefaultResponse, +): response is WebAppsStartContinuousWebJob404Response; +export function isUnexpected( + response: + | WebAppsStopContinuousWebJob200Response + | WebAppsStopContinuousWebJob404Response + | WebAppsStopContinuousWebJobDefaultResponse, +): response is WebAppsStopContinuousWebJob404Response; +export function isUnexpected( + response: WebAppsListDeployments200Response | WebAppsListDeploymentsDefaultResponse, +): response is WebAppsListDeploymentsDefaultResponse; +export function isUnexpected( + response: WebAppsGetDeployment200Response | WebAppsGetDeploymentDefaultResponse, +): response is WebAppsGetDeploymentDefaultResponse; +export function isUnexpected( + response: WebAppsCreateDeployment200Response | WebAppsCreateDeploymentDefaultResponse, +): response is WebAppsCreateDeploymentDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteDeployment200Response + | WebAppsDeleteDeployment204Response + | WebAppsDeleteDeploymentDefaultResponse, +): response is WebAppsDeleteDeploymentDefaultResponse; +export function isUnexpected( + response: WebAppsListDeploymentLog200Response | WebAppsListDeploymentLogDefaultResponse, +): response is WebAppsListDeploymentLogDefaultResponse; +export function isUnexpected( + response: WebAppsDiscoverBackup200Response | WebAppsDiscoverBackupDefaultResponse, +): response is WebAppsDiscoverBackupDefaultResponse; +export function isUnexpected( + response: + | WebAppsListDomainOwnershipIdentifiers200Response + | WebAppsListDomainOwnershipIdentifiersDefaultResponse, +): response is WebAppsListDomainOwnershipIdentifiersDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetDomainOwnershipIdentifier200Response + | WebAppsGetDomainOwnershipIdentifierDefaultResponse, +): response is WebAppsGetDomainOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response + | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse, +): response is WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteDomainOwnershipIdentifier200Response + | WebAppsDeleteDomainOwnershipIdentifier204Response + | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse, +): response is WebAppsDeleteDomainOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateDomainOwnershipIdentifier200Response + | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse, +): response is WebAppsUpdateDomainOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: WebAppsGetMSDeployStatus200Response | WebAppsGetMSDeployStatusDefaultResponse, +): response is WebAppsGetMSDeployStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateMSDeployOperation201Response + | WebAppsCreateMSDeployOperation409Response + | WebAppsCreateMSDeployOperationDefaultResponse, +): response is WebAppsCreateMSDeployOperation409Response; +export function isUnexpected( + response: + | WebAppsGetMSDeployLog200Response + | WebAppsGetMSDeployLog404Response + | WebAppsGetMSDeployLogDefaultResponse, +): response is WebAppsGetMSDeployLog404Response; +export function isUnexpected( + response: WebAppsGetOneDeployStatus200Response | WebAppsGetOneDeployStatusDefaultResponse, +): response is WebAppsGetOneDeployStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOneDeployOperation200Response + | WebAppsCreateOneDeployOperationDefaultResponse, +): response is WebAppsCreateOneDeployOperationDefaultResponse; +export function isUnexpected( + response: + | WebAppsListFunctions200Response + | WebAppsListFunctions404Response + | WebAppsListFunctionsDefaultResponse, +): response is WebAppsListFunctions404Response; +export function isUnexpected( + response: WebAppsGetFunctionsAdminToken200Response | WebAppsGetFunctionsAdminTokenDefaultResponse, +): response is WebAppsGetFunctionsAdminTokenDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetFunction200Response + | WebAppsGetFunction404Response + | WebAppsGetFunctionDefaultResponse, +): response is WebAppsGetFunction404Response; +export function isUnexpected( + response: WebAppsCreateFunction201Response | WebAppsCreateFunctionDefaultResponse, +): response is WebAppsCreateFunctionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteFunction204Response + | WebAppsDeleteFunction404Response + | WebAppsDeleteFunctionDefaultResponse, +): response is WebAppsDeleteFunction404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateFunctionSecret200Response + | WebAppsCreateOrUpdateFunctionSecret201Response + | WebAppsCreateOrUpdateFunctionSecretDefaultResponse, +): response is WebAppsCreateOrUpdateFunctionSecretDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteFunctionSecret204Response + | WebAppsDeleteFunctionSecret404Response + | WebAppsDeleteFunctionSecretDefaultResponse, +): response is WebAppsDeleteFunctionSecret404Response; +export function isUnexpected( + response: WebAppsListFunctionKeys200Response | WebAppsListFunctionKeysDefaultResponse, +): response is WebAppsListFunctionKeysDefaultResponse; +export function isUnexpected( + response: WebAppsListFunctionSecrets200Response | WebAppsListFunctionSecretsDefaultResponse, +): response is WebAppsListFunctionSecretsDefaultResponse; +export function isUnexpected( + response: WebAppsListHostKeys200Response | WebAppsListHostKeysDefaultResponse, +): response is WebAppsListHostKeysDefaultResponse; +export function isUnexpected( + response: WebAppsListSyncStatus204Response | WebAppsListSyncStatusDefaultResponse, +): response is WebAppsListSyncStatusDefaultResponse; +export function isUnexpected( + response: WebAppsSyncFunctions204Response | WebAppsSyncFunctionsDefaultResponse, +): response is WebAppsSyncFunctionsDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHostSecret200Response + | WebAppsCreateOrUpdateHostSecret201Response + | WebAppsCreateOrUpdateHostSecretDefaultResponse, +): response is WebAppsCreateOrUpdateHostSecretDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHostSecret204Response + | WebAppsDeleteHostSecret404Response + | WebAppsDeleteHostSecretDefaultResponse, +): response is WebAppsDeleteHostSecret404Response; +export function isUnexpected( + response: WebAppsListHostNameBindings200Response | WebAppsListHostNameBindingsDefaultResponse, +): response is WebAppsListHostNameBindingsDefaultResponse; +export function isUnexpected( + response: WebAppsGetHostNameBinding200Response | WebAppsGetHostNameBindingDefaultResponse, +): response is WebAppsGetHostNameBindingDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHostNameBinding200Response + | WebAppsCreateOrUpdateHostNameBindingDefaultResponse, +): response is WebAppsCreateOrUpdateHostNameBindingDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHostNameBinding200Response + | WebAppsDeleteHostNameBinding204Response + | WebAppsDeleteHostNameBindingDefaultResponse, +): response is WebAppsDeleteHostNameBindingDefaultResponse; +export function isUnexpected( + response: WebAppsGetHybridConnection200Response | WebAppsGetHybridConnectionDefaultResponse, +): response is WebAppsGetHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHybridConnection200Response + | WebAppsCreateOrUpdateHybridConnectionDefaultResponse, +): response is WebAppsCreateOrUpdateHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHybridConnection200Response + | WebAppsDeleteHybridConnection404Response + | WebAppsDeleteHybridConnectionDefaultResponse, +): response is WebAppsDeleteHybridConnection404Response; +export function isUnexpected( + response: WebAppsUpdateHybridConnection200Response | WebAppsUpdateHybridConnectionDefaultResponse, +): response is WebAppsUpdateHybridConnectionDefaultResponse; +export function isUnexpected( + response: WebAppsListHybridConnections200Response | WebAppsListHybridConnectionsDefaultResponse, +): response is WebAppsListHybridConnectionsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListRelayServiceConnections200Response + | WebAppsListRelayServiceConnectionsDefaultResponse, +): response is WebAppsListRelayServiceConnectionsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetRelayServiceConnection200Response + | WebAppsGetRelayServiceConnectionDefaultResponse, +): response is WebAppsGetRelayServiceConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateRelayServiceConnection200Response + | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse, +): response is WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteRelayServiceConnection200Response + | WebAppsDeleteRelayServiceConnection404Response + | WebAppsDeleteRelayServiceConnectionDefaultResponse, +): response is WebAppsDeleteRelayServiceConnection404Response; +export function isUnexpected( + response: + | WebAppsUpdateRelayServiceConnection200Response + | WebAppsUpdateRelayServiceConnectionDefaultResponse, +): response is WebAppsUpdateRelayServiceConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsListInstanceIdentifiers200Response + | WebAppsListInstanceIdentifiersDefaultResponse, +): response is WebAppsListInstanceIdentifiersDefaultResponse; +export function isUnexpected( + response: WebAppsGetInstanceInfo200Response | WebAppsGetInstanceInfoDefaultResponse, +): response is WebAppsGetInstanceInfoDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetInstanceMsDeployStatus200Response + | WebAppsGetInstanceMsDeployStatusDefaultResponse, +): response is WebAppsGetInstanceMsDeployStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateInstanceMSDeployOperation201Response + | WebAppsCreateInstanceMSDeployOperation409Response + | WebAppsCreateInstanceMSDeployOperationDefaultResponse, +): response is WebAppsCreateInstanceMSDeployOperation409Response; +export function isUnexpected( + response: + | WebAppsGetInstanceMSDeployLog200Response + | WebAppsGetInstanceMSDeployLog404Response + | WebAppsGetInstanceMSDeployLogDefaultResponse, +): response is WebAppsGetInstanceMSDeployLog404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcesses200Response + | WebAppsListInstanceProcesses404Response + | WebAppsListInstanceProcessesDefaultResponse, +): response is WebAppsListInstanceProcesses404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcess200Response + | WebAppsGetInstanceProcess404Response + | WebAppsGetInstanceProcessDefaultResponse, +): response is WebAppsGetInstanceProcess404Response; +export function isUnexpected( + response: + | WebAppsDeleteInstanceProcess204Response + | WebAppsDeleteInstanceProcess404Response + | WebAppsDeleteInstanceProcessDefaultResponse, +): response is WebAppsDeleteInstanceProcess404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessDump200Response + | WebAppsGetInstanceProcessDump404Response + | WebAppsGetInstanceProcessDumpDefaultResponse, +): response is WebAppsGetInstanceProcessDump404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessModules200Response + | WebAppsListInstanceProcessModules404Response + | WebAppsListInstanceProcessModulesDefaultResponse, +): response is WebAppsListInstanceProcessModules404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessModule200Response + | WebAppsGetInstanceProcessModule404Response + | WebAppsGetInstanceProcessModuleDefaultResponse, +): response is WebAppsGetInstanceProcessModule404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessThreads200Response + | WebAppsListInstanceProcessThreads404Response + | WebAppsListInstanceProcessThreadsDefaultResponse, +): response is WebAppsListInstanceProcessThreads404Response; +export function isUnexpected( + response: WebAppsIsCloneable200Response | WebAppsIsCloneableDefaultResponse, +): response is WebAppsIsCloneableDefaultResponse; +export function isUnexpected( + response: WebAppsListSiteBackups200Response | WebAppsListSiteBackupsDefaultResponse, +): response is WebAppsListSiteBackupsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSyncFunctionTriggers200Response + | WebAppsListSyncFunctionTriggersDefaultResponse, +): response is WebAppsListSyncFunctionTriggersDefaultResponse; +export function isUnexpected( + response: WebAppsMigrateStorage200Response | WebAppsMigrateStorageDefaultResponse, +): response is WebAppsMigrateStorageDefaultResponse; +export function isUnexpected( + response: WebAppsMigrateMySql200Response | WebAppsMigrateMySqlDefaultResponse, +): response is WebAppsMigrateMySqlDefaultResponse; +export function isUnexpected( + response: WebAppsGetMigrateMySqlStatus200Response | WebAppsGetMigrateMySqlStatusDefaultResponse, +): response is WebAppsGetMigrateMySqlStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSwiftVirtualNetworkConnection200Response + | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse, +): response is WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, +): response is WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSwiftVirtualNetwork200Response + | WebAppsDeleteSwiftVirtualNetwork404Response + | WebAppsDeleteSwiftVirtualNetworkDefaultResponse, +): response is WebAppsDeleteSwiftVirtualNetwork404Response; +export function isUnexpected( + response: + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, +): response is WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse; +export function isUnexpected( + response: + | WebAppsListNetworkFeatures200Response + | WebAppsListNetworkFeatures404Response + | WebAppsListNetworkFeaturesDefaultResponse, +): response is WebAppsListNetworkFeatures404Response; +export function isUnexpected( + response: + | WebAppsGetNetworkTraceOperation200Response + | WebAppsGetNetworkTraceOperation202Response + | WebAppsGetNetworkTraceOperationDefaultResponse, +): response is WebAppsGetNetworkTraceOperationDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartWebSiteNetworkTrace200Response + | WebAppsStartWebSiteNetworkTraceDefaultResponse, +): response is WebAppsStartWebSiteNetworkTraceDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartWebSiteNetworkTraceOperation200Response + | WebAppsStartWebSiteNetworkTraceOperation202Response + | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse, +): response is WebAppsStartWebSiteNetworkTraceOperationDefaultResponse; +export function isUnexpected( + response: + | WebAppsStopWebSiteNetworkTrace200Response + | WebAppsStopWebSiteNetworkTrace204Response + | WebAppsStopWebSiteNetworkTraceDefaultResponse, +): response is WebAppsStopWebSiteNetworkTraceDefaultResponse; +export function isUnexpected( + response: WebAppsGetNetworkTraces200Response | WebAppsGetNetworkTracesDefaultResponse, +): response is WebAppsGetNetworkTracesDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetNetworkTraceOperationV2200Response + | WebAppsGetNetworkTraceOperationV2202Response + | WebAppsGetNetworkTraceOperationV2DefaultResponse, +): response is WebAppsGetNetworkTraceOperationV2DefaultResponse; +export function isUnexpected( + response: WebAppsGetNetworkTracesV2200Response | WebAppsGetNetworkTracesV2DefaultResponse, +): response is WebAppsGetNetworkTracesV2DefaultResponse; +export function isUnexpected( + response: + | WebAppsGenerateNewSitePublishingPassword200Response + | WebAppsGenerateNewSitePublishingPassword204Response + | WebAppsGenerateNewSitePublishingPasswordDefaultResponse, +): response is WebAppsGenerateNewSitePublishingPasswordDefaultResponse; +export function isUnexpected( + response: WebAppsListPerfMonCounters200Response | WebAppsListPerfMonCountersDefaultResponse, +): response is WebAppsListPerfMonCountersDefaultResponse; +export function isUnexpected( + response: WebAppsGetSitePhpErrorLogFlag200Response | WebAppsGetSitePhpErrorLogFlagDefaultResponse, +): response is WebAppsGetSitePhpErrorLogFlagDefaultResponse; +export function isUnexpected( + response: WebAppsListPremierAddOns200Response | WebAppsListPremierAddOnsDefaultResponse, +): response is WebAppsListPremierAddOnsDefaultResponse; +export function isUnexpected( + response: WebAppsGetPremierAddOn200Response | WebAppsGetPremierAddOnDefaultResponse, +): response is WebAppsGetPremierAddOnDefaultResponse; +export function isUnexpected( + response: WebAppsAddPremierAddOn200Response | WebAppsAddPremierAddOnDefaultResponse, +): response is WebAppsAddPremierAddOnDefaultResponse; +export function isUnexpected( + response: WebAppsDeletePremierAddOn200Response | WebAppsDeletePremierAddOnDefaultResponse, +): response is WebAppsDeletePremierAddOnDefaultResponse; +export function isUnexpected( + response: WebAppsUpdatePremierAddOn200Response | WebAppsUpdatePremierAddOnDefaultResponse, +): response is WebAppsUpdatePremierAddOnDefaultResponse; +export function isUnexpected( + response: WebAppsGetPrivateAccess200Response | WebAppsGetPrivateAccessDefaultResponse, +): response is WebAppsGetPrivateAccessDefaultResponse; +export function isUnexpected( + response: WebAppsPutPrivateAccessVnet200Response | WebAppsPutPrivateAccessVnetDefaultResponse, +): response is WebAppsPutPrivateAccessVnetDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateEndpointConnectionList200Response + | WebAppsGetPrivateEndpointConnectionListDefaultResponse, +): response is WebAppsGetPrivateEndpointConnectionListDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateEndpointConnection200Response + | WebAppsGetPrivateEndpointConnectionDefaultResponse, +): response is WebAppsGetPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsApproveOrRejectPrivateEndpointConnection200Response + | WebAppsApproveOrRejectPrivateEndpointConnection202Response + | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse, +): response is WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeletePrivateEndpointConnection200Response + | WebAppsDeletePrivateEndpointConnection202Response + | WebAppsDeletePrivateEndpointConnection204Response + | WebAppsDeletePrivateEndpointConnectionDefaultResponse, +): response is WebAppsDeletePrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateLinkResources200Response + | WebAppsGetPrivateLinkResourcesDefaultResponse, +): response is WebAppsGetPrivateLinkResourcesDefaultResponse; +export function isUnexpected( + response: + | WebAppsListProcesses200Response + | WebAppsListProcesses404Response + | WebAppsListProcessesDefaultResponse, +): response is WebAppsListProcesses404Response; +export function isUnexpected( + response: + | WebAppsGetProcess200Response + | WebAppsGetProcess404Response + | WebAppsGetProcessDefaultResponse, +): response is WebAppsGetProcess404Response; +export function isUnexpected( + response: + | WebAppsDeleteProcess204Response + | WebAppsDeleteProcess404Response + | WebAppsDeleteProcessDefaultResponse, +): response is WebAppsDeleteProcess404Response; +export function isUnexpected( + response: + | WebAppsGetProcessDump200Response + | WebAppsGetProcessDump404Response + | WebAppsGetProcessDumpDefaultResponse, +): response is WebAppsGetProcessDump404Response; +export function isUnexpected( + response: + | WebAppsListProcessModules200Response + | WebAppsListProcessModules404Response + | WebAppsListProcessModulesDefaultResponse, +): response is WebAppsListProcessModules404Response; +export function isUnexpected( + response: + | WebAppsGetProcessModule200Response + | WebAppsGetProcessModule404Response + | WebAppsGetProcessModuleDefaultResponse, +): response is WebAppsGetProcessModule404Response; +export function isUnexpected( + response: + | WebAppsListProcessThreads200Response + | WebAppsListProcessThreads404Response + | WebAppsListProcessThreadsDefaultResponse, +): response is WebAppsListProcessThreads404Response; +export function isUnexpected( + response: WebAppsListPublicCertificates200Response | WebAppsListPublicCertificatesDefaultResponse, +): response is WebAppsListPublicCertificatesDefaultResponse; +export function isUnexpected( + response: WebAppsGetPublicCertificate200Response | WebAppsGetPublicCertificateDefaultResponse, +): response is WebAppsGetPublicCertificateDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdatePublicCertificate200Response + | WebAppsCreateOrUpdatePublicCertificateDefaultResponse, +): response is WebAppsCreateOrUpdatePublicCertificateDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeletePublicCertificate200Response + | WebAppsDeletePublicCertificate204Response + | WebAppsDeletePublicCertificateDefaultResponse, +): response is WebAppsDeletePublicCertificateDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPublishingProfileXmlWithSecrets200Response + | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse, +): response is WebAppsListPublishingProfileXmlWithSecretsDefaultResponse; +export function isUnexpected( + response: + | WebAppsResetProductionSlotConfig200Response + | WebAppsResetProductionSlotConfigDefaultResponse, +): response is WebAppsResetProductionSlotConfigDefaultResponse; +export function isUnexpected( + response: WebAppsRestart200Response | WebAppsRestartDefaultResponse, +): response is WebAppsRestartDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreFromBackupBlob200Response + | WebAppsRestoreFromBackupBlob202Response + | WebAppsRestoreFromBackupBlobDefaultResponse, +): response is WebAppsRestoreFromBackupBlobDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreFromDeletedApp200Response + | WebAppsRestoreFromDeletedApp202Response + | WebAppsRestoreFromDeletedAppDefaultResponse, +): response is WebAppsRestoreFromDeletedAppDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreSnapshot200Response + | WebAppsRestoreSnapshot202Response + | WebAppsRestoreSnapshotDefaultResponse, +): response is WebAppsRestoreSnapshotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSiteExtensions200Response + | WebAppsListSiteExtensions404Response + | WebAppsListSiteExtensionsDefaultResponse, +): response is WebAppsListSiteExtensions404Response; +export function isUnexpected( + response: + | WebAppsGetSiteExtension200Response + | WebAppsGetSiteExtension404Response + | WebAppsGetSiteExtensionDefaultResponse, +): response is WebAppsGetSiteExtension404Response; +export function isUnexpected( + response: + | WebAppsInstallSiteExtension200Response + | WebAppsInstallSiteExtension201Response + | WebAppsInstallSiteExtension429Response + | WebAppsInstallSiteExtensionDefaultResponse, +): response is WebAppsInstallSiteExtension429Response; +export function isUnexpected( + response: + | WebAppsDeleteSiteExtension204Response + | WebAppsDeleteSiteExtension404Response + | WebAppsDeleteSiteExtensionDefaultResponse, +): response is WebAppsDeleteSiteExtension404Response; +export function isUnexpected( + response: WebAppsListSlots200Response | WebAppsListSlotsDefaultResponse, +): response is WebAppsListSlotsDefaultResponse; +export function isUnexpected( + response: WebAppsGetSlot200Response | WebAppsGetSlot404Response | WebAppsGetSlotDefaultResponse, +): response is WebAppsGetSlot404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSlot200Response + | WebAppsCreateOrUpdateSlot202Response + | WebAppsCreateOrUpdateSlotDefaultResponse, +): response is WebAppsCreateOrUpdateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSlot200Response + | WebAppsDeleteSlot204Response + | WebAppsDeleteSlot404Response + | WebAppsDeleteSlotDefaultResponse, +): response is WebAppsDeleteSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateSlot200Response + | WebAppsUpdateSlot202Response + | WebAppsUpdateSlotDefaultResponse, +): response is WebAppsUpdateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsAnalyzeCustomHostnameSlot200Response + | WebAppsAnalyzeCustomHostnameSlotDefaultResponse, +): response is WebAppsAnalyzeCustomHostnameSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsApplySlotConfigurationSlot200Response + | WebAppsApplySlotConfigurationSlotDefaultResponse, +): response is WebAppsApplySlotConfigurationSlotDefaultResponse; +export function isUnexpected( + response: WebAppsBackupSlot200Response | WebAppsBackupSlotDefaultResponse, +): response is WebAppsBackupSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListBackupsSlot200Response | WebAppsListBackupsSlotDefaultResponse, +): response is WebAppsListBackupsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetBackupStatusSlot200Response | WebAppsGetBackupStatusSlotDefaultResponse, +): response is WebAppsGetBackupStatusSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteBackupSlot200Response + | WebAppsDeleteBackupSlot404Response + | WebAppsDeleteBackupSlotDefaultResponse, +): response is WebAppsDeleteBackupSlot404Response; +export function isUnexpected( + response: + | WebAppsListBackupStatusSecretsSlot200Response + | WebAppsListBackupStatusSecretsSlotDefaultResponse, +): response is WebAppsListBackupStatusSecretsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreSlot200Response + | WebAppsRestoreSlot202Response + | WebAppsRestoreSlotDefaultResponse, +): response is WebAppsRestoreSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListBasicPublishingCredentialsPoliciesSlot200Response + | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse, +): response is WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetFtpAllowedSlot200Response | WebAppsGetFtpAllowedSlotDefaultResponse, +): response is WebAppsGetFtpAllowedSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateFtpAllowedSlot200Response | WebAppsUpdateFtpAllowedSlotDefaultResponse, +): response is WebAppsUpdateFtpAllowedSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetScmAllowedSlot200Response | WebAppsGetScmAllowedSlotDefaultResponse, +): response is WebAppsGetScmAllowedSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateScmAllowedSlot200Response | WebAppsUpdateScmAllowedSlotDefaultResponse, +): response is WebAppsUpdateScmAllowedSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListConfigurationsSlot200Response | WebAppsListConfigurationsSlotDefaultResponse, +): response is WebAppsListConfigurationsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateApplicationSettingsSlot200Response + | WebAppsUpdateApplicationSettingsSlotDefaultResponse, +): response is WebAppsUpdateApplicationSettingsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListApplicationSettingsSlot200Response + | WebAppsListApplicationSettingsSlotDefaultResponse, +): response is WebAppsListApplicationSettingsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateAuthSettingsSlot200Response | WebAppsUpdateAuthSettingsSlotDefaultResponse, +): response is WebAppsUpdateAuthSettingsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetAuthSettingsSlot200Response | WebAppsGetAuthSettingsSlotDefaultResponse, +): response is WebAppsGetAuthSettingsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response + | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse, +): response is WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateAuthSettingsV2Slot200Response + | WebAppsUpdateAuthSettingsV2SlotDefaultResponse, +): response is WebAppsUpdateAuthSettingsV2SlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetAuthSettingsV2Slot200Response | WebAppsGetAuthSettingsV2SlotDefaultResponse, +): response is WebAppsGetAuthSettingsV2SlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateAzureStorageAccountsSlot200Response + | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse, +): response is WebAppsUpdateAzureStorageAccountsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListAzureStorageAccountsSlot200Response + | WebAppsListAzureStorageAccountsSlotDefaultResponse, +): response is WebAppsListAzureStorageAccountsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateBackupConfigurationSlot200Response + | WebAppsUpdateBackupConfigurationSlotDefaultResponse, +): response is WebAppsUpdateBackupConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteBackupConfigurationSlot200Response + | WebAppsDeleteBackupConfigurationSlotDefaultResponse, +): response is WebAppsDeleteBackupConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetBackupConfigurationSlot200Response + | WebAppsGetBackupConfigurationSlotDefaultResponse, +): response is WebAppsGetBackupConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAppSettingsKeyVaultReferencesSlot200Response + | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse, +): response is WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAppSettingKeyVaultReferenceSlot200Response + | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse, +): response is WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse, +): response is WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse, +): response is WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateConnectionStringsSlot200Response + | WebAppsUpdateConnectionStringsSlotDefaultResponse, +): response is WebAppsUpdateConnectionStringsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListConnectionStringsSlot200Response + | WebAppsListConnectionStringsSlotDefaultResponse, +): response is WebAppsListConnectionStringsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetDiagnosticLogsConfigurationSlot200Response + | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse, +): response is WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateDiagnosticLogsConfigSlot200Response + | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse, +): response is WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateMetadataSlot200Response | WebAppsUpdateMetadataSlotDefaultResponse, +): response is WebAppsUpdateMetadataSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListMetadataSlot200Response | WebAppsListMetadataSlotDefaultResponse, +): response is WebAppsListMetadataSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPublishingCredentialsSlot200Response + | WebAppsListPublishingCredentialsSlotDefaultResponse, +): response is WebAppsListPublishingCredentialsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateSitePushSettingsSlot200Response + | WebAppsUpdateSitePushSettingsSlotDefaultResponse, +): response is WebAppsUpdateSitePushSettingsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSitePushSettingsSlot200Response + | WebAppsListSitePushSettingsSlotDefaultResponse, +): response is WebAppsListSitePushSettingsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetConfigurationSlot200Response | WebAppsGetConfigurationSlotDefaultResponse, +): response is WebAppsGetConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateConfigurationSlot200Response + | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse, +): response is WebAppsCreateOrUpdateConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateConfigurationSlot200Response + | WebAppsUpdateConfigurationSlotDefaultResponse, +): response is WebAppsUpdateConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListConfigurationSnapshotInfoSlot200Response + | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse, +): response is WebAppsListConfigurationSnapshotInfoSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetConfigurationSnapshotSlot200Response + | WebAppsGetConfigurationSnapshotSlotDefaultResponse, +): response is WebAppsGetConfigurationSnapshotSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRecoverSiteConfigurationSnapshotSlot204Response + | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse, +): response is WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetWebSiteContainerLogsSlot200Response + | WebAppsGetWebSiteContainerLogsSlot204Response + | WebAppsGetWebSiteContainerLogsSlotDefaultResponse, +): response is WebAppsGetWebSiteContainerLogsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetContainerLogsZipSlot200Response + | WebAppsGetContainerLogsZipSlot204Response + | WebAppsGetContainerLogsZipSlotDefaultResponse, +): response is WebAppsGetContainerLogsZipSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListContinuousWebJobsSlot200Response + | WebAppsListContinuousWebJobsSlotDefaultResponse, +): response is WebAppsListContinuousWebJobsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetContinuousWebJobSlot200Response + | WebAppsGetContinuousWebJobSlot404Response + | WebAppsGetContinuousWebJobSlotDefaultResponse, +): response is WebAppsGetContinuousWebJobSlot404Response; +export function isUnexpected( + response: + | WebAppsDeleteContinuousWebJobSlot200Response + | WebAppsDeleteContinuousWebJobSlot204Response + | WebAppsDeleteContinuousWebJobSlotDefaultResponse, +): response is WebAppsDeleteContinuousWebJobSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartContinuousWebJobSlot200Response + | WebAppsStartContinuousWebJobSlot404Response + | WebAppsStartContinuousWebJobSlotDefaultResponse, +): response is WebAppsStartContinuousWebJobSlot404Response; +export function isUnexpected( + response: + | WebAppsStopContinuousWebJobSlot200Response + | WebAppsStopContinuousWebJobSlot404Response + | WebAppsStopContinuousWebJobSlotDefaultResponse, +): response is WebAppsStopContinuousWebJobSlot404Response; +export function isUnexpected( + response: WebAppsListDeploymentsSlot200Response | WebAppsListDeploymentsSlotDefaultResponse, +): response is WebAppsListDeploymentsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetDeploymentSlot200Response | WebAppsGetDeploymentSlotDefaultResponse, +): response is WebAppsGetDeploymentSlotDefaultResponse; +export function isUnexpected( + response: WebAppsCreateDeploymentSlot200Response | WebAppsCreateDeploymentSlotDefaultResponse, +): response is WebAppsCreateDeploymentSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteDeploymentSlot200Response + | WebAppsDeleteDeploymentSlot204Response + | WebAppsDeleteDeploymentSlotDefaultResponse, +): response is WebAppsDeleteDeploymentSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListDeploymentLogSlot200Response | WebAppsListDeploymentLogSlotDefaultResponse, +): response is WebAppsListDeploymentLogSlotDefaultResponse; +export function isUnexpected( + response: WebAppsDiscoverBackupSlot200Response | WebAppsDiscoverBackupSlotDefaultResponse, +): response is WebAppsDiscoverBackupSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListDomainOwnershipIdentifiersSlot200Response + | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse, +): response is WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetDomainOwnershipIdentifierSlot200Response + | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse, +): response is WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse, +): response is WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteDomainOwnershipIdentifierSlot200Response + | WebAppsDeleteDomainOwnershipIdentifierSlot204Response + | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse, +): response is WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateDomainOwnershipIdentifierSlot200Response + | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse, +): response is WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetMSDeployStatusSlot200Response | WebAppsGetMSDeployStatusSlotDefaultResponse, +): response is WebAppsGetMSDeployStatusSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateMSDeployOperationSlot201Response + | WebAppsCreateMSDeployOperationSlot409Response + | WebAppsCreateMSDeployOperationSlotDefaultResponse, +): response is WebAppsCreateMSDeployOperationSlot409Response; +export function isUnexpected( + response: + | WebAppsGetMSDeployLogSlot200Response + | WebAppsGetMSDeployLogSlot404Response + | WebAppsGetMSDeployLogSlotDefaultResponse, +): response is WebAppsGetMSDeployLogSlot404Response; +export function isUnexpected( + response: + | WebAppsListInstanceFunctionsSlot200Response + | WebAppsListInstanceFunctionsSlot404Response + | WebAppsListInstanceFunctionsSlotDefaultResponse, +): response is WebAppsListInstanceFunctionsSlot404Response; +export function isUnexpected( + response: + | WebAppsGetFunctionsAdminTokenSlot200Response + | WebAppsGetFunctionsAdminTokenSlotDefaultResponse, +): response is WebAppsGetFunctionsAdminTokenSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetInstanceFunctionSlot200Response + | WebAppsGetInstanceFunctionSlot404Response + | WebAppsGetInstanceFunctionSlotDefaultResponse, +): response is WebAppsGetInstanceFunctionSlot404Response; +export function isUnexpected( + response: + | WebAppsCreateInstanceFunctionSlot201Response + | WebAppsCreateInstanceFunctionSlotDefaultResponse, +): response is WebAppsCreateInstanceFunctionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteInstanceFunctionSlot204Response + | WebAppsDeleteInstanceFunctionSlot404Response + | WebAppsDeleteInstanceFunctionSlotDefaultResponse, +): response is WebAppsDeleteInstanceFunctionSlot404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateFunctionSecretSlot200Response + | WebAppsCreateOrUpdateFunctionSecretSlot201Response + | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse, +): response is WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteFunctionSecretSlot204Response + | WebAppsDeleteFunctionSecretSlot404Response + | WebAppsDeleteFunctionSecretSlotDefaultResponse, +): response is WebAppsDeleteFunctionSecretSlot404Response; +export function isUnexpected( + response: WebAppsListFunctionKeysSlot200Response | WebAppsListFunctionKeysSlotDefaultResponse, +): response is WebAppsListFunctionKeysSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListFunctionSecretsSlot200Response + | WebAppsListFunctionSecretsSlotDefaultResponse, +): response is WebAppsListFunctionSecretsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListHostKeysSlot200Response | WebAppsListHostKeysSlotDefaultResponse, +): response is WebAppsListHostKeysSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListSyncStatusSlot204Response | WebAppsListSyncStatusSlotDefaultResponse, +): response is WebAppsListSyncStatusSlotDefaultResponse; +export function isUnexpected( + response: WebAppsSyncFunctionsSlot204Response | WebAppsSyncFunctionsSlotDefaultResponse, +): response is WebAppsSyncFunctionsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHostSecretSlot200Response + | WebAppsCreateOrUpdateHostSecretSlot201Response + | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse, +): response is WebAppsCreateOrUpdateHostSecretSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHostSecretSlot204Response + | WebAppsDeleteHostSecretSlot404Response + | WebAppsDeleteHostSecretSlotDefaultResponse, +): response is WebAppsDeleteHostSecretSlot404Response; +export function isUnexpected( + response: + | WebAppsListHostNameBindingsSlot200Response + | WebAppsListHostNameBindingsSlotDefaultResponse, +): response is WebAppsListHostNameBindingsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetHostNameBindingSlot200Response | WebAppsGetHostNameBindingSlotDefaultResponse, +): response is WebAppsGetHostNameBindingSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHostNameBindingSlot200Response + | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse, +): response is WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHostNameBindingSlot200Response + | WebAppsDeleteHostNameBindingSlot204Response + | WebAppsDeleteHostNameBindingSlotDefaultResponse, +): response is WebAppsDeleteHostNameBindingSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetHybridConnectionSlot200Response + | WebAppsGetHybridConnectionSlotDefaultResponse, +): response is WebAppsGetHybridConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHybridConnectionSlot200Response + | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse, +): response is WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHybridConnectionSlot200Response + | WebAppsDeleteHybridConnectionSlot404Response + | WebAppsDeleteHybridConnectionSlotDefaultResponse, +): response is WebAppsDeleteHybridConnectionSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateHybridConnectionSlot200Response + | WebAppsUpdateHybridConnectionSlotDefaultResponse, +): response is WebAppsUpdateHybridConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListHybridConnectionsSlot200Response + | WebAppsListHybridConnectionsSlotDefaultResponse, +): response is WebAppsListHybridConnectionsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListRelayServiceConnectionsSlot200Response + | WebAppsListRelayServiceConnectionsSlotDefaultResponse, +): response is WebAppsListRelayServiceConnectionsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetRelayServiceConnectionSlot200Response + | WebAppsGetRelayServiceConnectionSlotDefaultResponse, +): response is WebAppsGetRelayServiceConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response + | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse, +): response is WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteRelayServiceConnectionSlot200Response + | WebAppsDeleteRelayServiceConnectionSlot404Response + | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse, +): response is WebAppsDeleteRelayServiceConnectionSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateRelayServiceConnectionSlot200Response + | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse, +): response is WebAppsUpdateRelayServiceConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListInstanceIdentifiersSlot200Response + | WebAppsListInstanceIdentifiersSlotDefaultResponse, +): response is WebAppsListInstanceIdentifiersSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetInstanceInfoSlot200Response | WebAppsGetInstanceInfoSlotDefaultResponse, +): response is WebAppsGetInstanceInfoSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetInstanceMsDeployStatusSlot200Response + | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse, +): response is WebAppsGetInstanceMsDeployStatusSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateInstanceMSDeployOperationSlot201Response + | WebAppsCreateInstanceMSDeployOperationSlot409Response + | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse, +): response is WebAppsCreateInstanceMSDeployOperationSlot409Response; +export function isUnexpected( + response: + | WebAppsGetInstanceMSDeployLogSlot200Response + | WebAppsGetInstanceMSDeployLogSlot404Response + | WebAppsGetInstanceMSDeployLogSlotDefaultResponse, +): response is WebAppsGetInstanceMSDeployLogSlot404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessesSlot200Response + | WebAppsListInstanceProcessesSlot404Response + | WebAppsListInstanceProcessesSlotDefaultResponse, +): response is WebAppsListInstanceProcessesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessSlot200Response + | WebAppsGetInstanceProcessSlot404Response + | WebAppsGetInstanceProcessSlotDefaultResponse, +): response is WebAppsGetInstanceProcessSlot404Response; +export function isUnexpected( + response: + | WebAppsDeleteInstanceProcessSlot204Response + | WebAppsDeleteInstanceProcessSlot404Response + | WebAppsDeleteInstanceProcessSlotDefaultResponse, +): response is WebAppsDeleteInstanceProcessSlot404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessDumpSlot200Response + | WebAppsGetInstanceProcessDumpSlot404Response + | WebAppsGetInstanceProcessDumpSlotDefaultResponse, +): response is WebAppsGetInstanceProcessDumpSlot404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessModulesSlot200Response + | WebAppsListInstanceProcessModulesSlot404Response + | WebAppsListInstanceProcessModulesSlotDefaultResponse, +): response is WebAppsListInstanceProcessModulesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessModuleSlot200Response + | WebAppsGetInstanceProcessModuleSlot404Response + | WebAppsGetInstanceProcessModuleSlotDefaultResponse, +): response is WebAppsGetInstanceProcessModuleSlot404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessThreadsSlot200Response + | WebAppsListInstanceProcessThreadsSlot404Response + | WebAppsListInstanceProcessThreadsSlotDefaultResponse, +): response is WebAppsListInstanceProcessThreadsSlot404Response; +export function isUnexpected( + response: WebAppsIsCloneableSlot200Response | WebAppsIsCloneableSlotDefaultResponse, +): response is WebAppsIsCloneableSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListSiteBackupsSlot200Response | WebAppsListSiteBackupsSlotDefaultResponse, +): response is WebAppsListSiteBackupsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSyncFunctionTriggersSlot200Response + | WebAppsListSyncFunctionTriggersSlotDefaultResponse, +): response is WebAppsListSyncFunctionTriggersSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetMigrateMySqlStatusSlot200Response + | WebAppsGetMigrateMySqlStatusSlotDefaultResponse, +): response is WebAppsGetMigrateMySqlStatusSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSwiftVirtualNetworkConnectionSlot200Response + | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse, +): response is WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, +): response is WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSwiftVirtualNetworkSlot200Response + | WebAppsDeleteSwiftVirtualNetworkSlot404Response + | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse, +): response is WebAppsDeleteSwiftVirtualNetworkSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, +): response is WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListNetworkFeaturesSlot200Response + | WebAppsListNetworkFeaturesSlot404Response + | WebAppsListNetworkFeaturesSlotDefaultResponse, +): response is WebAppsListNetworkFeaturesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetNetworkTraceOperationSlot200Response + | WebAppsGetNetworkTraceOperationSlot202Response + | WebAppsGetNetworkTraceOperationSlotDefaultResponse, +): response is WebAppsGetNetworkTraceOperationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartWebSiteNetworkTraceSlot200Response + | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse, +): response is WebAppsStartWebSiteNetworkTraceSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartWebSiteNetworkTraceOperationSlot200Response + | WebAppsStartWebSiteNetworkTraceOperationSlot202Response + | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse, +): response is WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStopWebSiteNetworkTraceSlot200Response + | WebAppsStopWebSiteNetworkTraceSlot204Response + | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse, +): response is WebAppsStopWebSiteNetworkTraceSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetNetworkTracesSlot200Response | WebAppsGetNetworkTracesSlotDefaultResponse, +): response is WebAppsGetNetworkTracesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetNetworkTraceOperationSlotV2200Response + | WebAppsGetNetworkTraceOperationSlotV2202Response + | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse, +): response is WebAppsGetNetworkTraceOperationSlotV2DefaultResponse; +export function isUnexpected( + response: WebAppsGetNetworkTracesSlotV2200Response | WebAppsGetNetworkTracesSlotV2DefaultResponse, +): response is WebAppsGetNetworkTracesSlotV2DefaultResponse; +export function isUnexpected( + response: + | WebAppsGenerateNewSitePublishingPasswordSlot200Response + | WebAppsGenerateNewSitePublishingPasswordSlot204Response + | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse, +): response is WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPerfMonCountersSlot200Response + | WebAppsListPerfMonCountersSlotDefaultResponse, +): response is WebAppsListPerfMonCountersSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSitePhpErrorLogFlagSlot200Response + | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse, +): response is WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListPremierAddOnsSlot200Response | WebAppsListPremierAddOnsSlotDefaultResponse, +): response is WebAppsListPremierAddOnsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetPremierAddOnSlot200Response | WebAppsGetPremierAddOnSlotDefaultResponse, +): response is WebAppsGetPremierAddOnSlotDefaultResponse; +export function isUnexpected( + response: WebAppsAddPremierAddOnSlot200Response | WebAppsAddPremierAddOnSlotDefaultResponse, +): response is WebAppsAddPremierAddOnSlotDefaultResponse; +export function isUnexpected( + response: WebAppsDeletePremierAddOnSlot200Response | WebAppsDeletePremierAddOnSlotDefaultResponse, +): response is WebAppsDeletePremierAddOnSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdatePremierAddOnSlot200Response | WebAppsUpdatePremierAddOnSlotDefaultResponse, +): response is WebAppsUpdatePremierAddOnSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetPrivateAccessSlot200Response | WebAppsGetPrivateAccessSlotDefaultResponse, +): response is WebAppsGetPrivateAccessSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsPutPrivateAccessVnetSlot200Response + | WebAppsPutPrivateAccessVnetSlotDefaultResponse, +): response is WebAppsPutPrivateAccessVnetSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateEndpointConnectionListSlot200Response + | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse, +): response is WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateEndpointConnectionSlot200Response + | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse, +): response is WebAppsGetPrivateEndpointConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response + | WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response + | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse, +): response is WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeletePrivateEndpointConnectionSlot200Response + | WebAppsDeletePrivateEndpointConnectionSlot202Response + | WebAppsDeletePrivateEndpointConnectionSlot204Response + | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse, +): response is WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateLinkResourcesSlot200Response + | WebAppsGetPrivateLinkResourcesSlotDefaultResponse, +): response is WebAppsGetPrivateLinkResourcesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListProcessesSlot200Response + | WebAppsListProcessesSlot404Response + | WebAppsListProcessesSlotDefaultResponse, +): response is WebAppsListProcessesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetProcessSlot200Response + | WebAppsGetProcessSlot404Response + | WebAppsGetProcessSlotDefaultResponse, +): response is WebAppsGetProcessSlot404Response; +export function isUnexpected( + response: + | WebAppsDeleteProcessSlot204Response + | WebAppsDeleteProcessSlot404Response + | WebAppsDeleteProcessSlotDefaultResponse, +): response is WebAppsDeleteProcessSlot404Response; +export function isUnexpected( + response: + | WebAppsGetProcessDumpSlot200Response + | WebAppsGetProcessDumpSlot404Response + | WebAppsGetProcessDumpSlotDefaultResponse, +): response is WebAppsGetProcessDumpSlot404Response; +export function isUnexpected( + response: + | WebAppsListProcessModulesSlot200Response + | WebAppsListProcessModulesSlot404Response + | WebAppsListProcessModulesSlotDefaultResponse, +): response is WebAppsListProcessModulesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetProcessModuleSlot200Response + | WebAppsGetProcessModuleSlot404Response + | WebAppsGetProcessModuleSlotDefaultResponse, +): response is WebAppsGetProcessModuleSlot404Response; +export function isUnexpected( + response: + | WebAppsListProcessThreadsSlot200Response + | WebAppsListProcessThreadsSlot404Response + | WebAppsListProcessThreadsSlotDefaultResponse, +): response is WebAppsListProcessThreadsSlot404Response; +export function isUnexpected( + response: + | WebAppsListPublicCertificatesSlot200Response + | WebAppsListPublicCertificatesSlotDefaultResponse, +): response is WebAppsListPublicCertificatesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPublicCertificateSlot200Response + | WebAppsGetPublicCertificateSlotDefaultResponse, +): response is WebAppsGetPublicCertificateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdatePublicCertificateSlot200Response + | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse, +): response is WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeletePublicCertificateSlot200Response + | WebAppsDeletePublicCertificateSlot204Response + | WebAppsDeletePublicCertificateSlotDefaultResponse, +): response is WebAppsDeletePublicCertificateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPublishingProfileXmlWithSecretsSlot200Response + | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse, +): response is WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsResetSlotConfigurationSlot200Response + | WebAppsResetSlotConfigurationSlotDefaultResponse, +): response is WebAppsResetSlotConfigurationSlotDefaultResponse; +export function isUnexpected( + response: WebAppsRestartSlot200Response | WebAppsRestartSlotDefaultResponse, +): response is WebAppsRestartSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreFromBackupBlobSlot200Response + | WebAppsRestoreFromBackupBlobSlot202Response + | WebAppsRestoreFromBackupBlobSlotDefaultResponse, +): response is WebAppsRestoreFromBackupBlobSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreFromDeletedAppSlot200Response + | WebAppsRestoreFromDeletedAppSlot202Response + | WebAppsRestoreFromDeletedAppSlotDefaultResponse, +): response is WebAppsRestoreFromDeletedAppSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreSnapshotSlot200Response + | WebAppsRestoreSnapshotSlot202Response + | WebAppsRestoreSnapshotSlotDefaultResponse, +): response is WebAppsRestoreSnapshotSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSiteExtensionsSlot200Response + | WebAppsListSiteExtensionsSlot404Response + | WebAppsListSiteExtensionsSlotDefaultResponse, +): response is WebAppsListSiteExtensionsSlot404Response; +export function isUnexpected( + response: + | WebAppsGetSiteExtensionSlot200Response + | WebAppsGetSiteExtensionSlot404Response + | WebAppsGetSiteExtensionSlotDefaultResponse, +): response is WebAppsGetSiteExtensionSlot404Response; +export function isUnexpected( + response: + | WebAppsInstallSiteExtensionSlot200Response + | WebAppsInstallSiteExtensionSlot201Response + | WebAppsInstallSiteExtensionSlot429Response + | WebAppsInstallSiteExtensionSlotDefaultResponse, +): response is WebAppsInstallSiteExtensionSlot429Response; +export function isUnexpected( + response: + | WebAppsDeleteSiteExtensionSlot204Response + | WebAppsDeleteSiteExtensionSlot404Response + | WebAppsDeleteSiteExtensionSlotDefaultResponse, +): response is WebAppsDeleteSiteExtensionSlot404Response; +export function isUnexpected( + response: + | WebAppsListSlotDifferencesSlot200Response + | WebAppsListSlotDifferencesSlotDefaultResponse, +): response is WebAppsListSlotDifferencesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsSwapSlot200Response + | WebAppsSwapSlot202Response + | WebAppsSwapSlotDefaultResponse, +): response is WebAppsSwapSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListSnapshotsSlot200Response | WebAppsListSnapshotsSlotDefaultResponse, +): response is WebAppsListSnapshotsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSnapshotsFromDRSecondarySlot200Response + | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse, +): response is WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSourceControlSlot200Response + | WebAppsGetSourceControlSlot201Response + | WebAppsGetSourceControlSlot202Response + | WebAppsGetSourceControlSlotDefaultResponse, +): response is WebAppsGetSourceControlSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSourceControlSlot200Response + | WebAppsCreateOrUpdateSourceControlSlot201Response + | WebAppsCreateOrUpdateSourceControlSlot202Response + | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse, +): response is WebAppsCreateOrUpdateSourceControlSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSourceControlSlot200Response + | WebAppsDeleteSourceControlSlot202Response + | WebAppsDeleteSourceControlSlot404Response + | WebAppsDeleteSourceControlSlotDefaultResponse, +): response is WebAppsDeleteSourceControlSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateSourceControlSlot200Response + | WebAppsUpdateSourceControlSlot201Response + | WebAppsUpdateSourceControlSlot202Response + | WebAppsUpdateSourceControlSlotDefaultResponse, +): response is WebAppsUpdateSourceControlSlotDefaultResponse; +export function isUnexpected( + response: WebAppsStartSlot200Response | WebAppsStartSlotDefaultResponse, +): response is WebAppsStartSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartNetworkTraceSlot200Response + | WebAppsStartNetworkTraceSlot202Response + | WebAppsStartNetworkTraceSlotDefaultResponse, +): response is WebAppsStartNetworkTraceSlotDefaultResponse; +export function isUnexpected( + response: WebAppsStopSlot200Response | WebAppsStopSlotDefaultResponse, +): response is WebAppsStopSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStopNetworkTraceSlot200Response + | WebAppsStopNetworkTraceSlot204Response + | WebAppsStopNetworkTraceSlotDefaultResponse, +): response is WebAppsStopNetworkTraceSlotDefaultResponse; +export function isUnexpected( + response: WebAppsSyncRepositorySlot200Response | WebAppsSyncRepositorySlotDefaultResponse, +): response is WebAppsSyncRepositorySlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsSyncFunctionTriggersSlot204Response + | WebAppsSyncFunctionTriggersSlotDefaultResponse, +): response is WebAppsSyncFunctionTriggersSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListTriggeredWebJobsSlot200Response + | WebAppsListTriggeredWebJobsSlotDefaultResponse, +): response is WebAppsListTriggeredWebJobsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetTriggeredWebJobSlot200Response + | WebAppsGetTriggeredWebJobSlot404Response + | WebAppsGetTriggeredWebJobSlotDefaultResponse, +): response is WebAppsGetTriggeredWebJobSlot404Response; +export function isUnexpected( + response: + | WebAppsDeleteTriggeredWebJobSlot200Response + | WebAppsDeleteTriggeredWebJobSlot204Response + | WebAppsDeleteTriggeredWebJobSlotDefaultResponse, +): response is WebAppsDeleteTriggeredWebJobSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListTriggeredWebJobHistorySlot200Response + | WebAppsListTriggeredWebJobHistorySlot404Response + | WebAppsListTriggeredWebJobHistorySlotDefaultResponse, +): response is WebAppsListTriggeredWebJobHistorySlot404Response; +export function isUnexpected( + response: + | WebAppsGetTriggeredWebJobHistorySlot200Response + | WebAppsGetTriggeredWebJobHistorySlot404Response + | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse, +): response is WebAppsGetTriggeredWebJobHistorySlot404Response; +export function isUnexpected( + response: + | WebAppsRunTriggeredWebJobSlot200Response + | WebAppsRunTriggeredWebJobSlot404Response + | WebAppsRunTriggeredWebJobSlotDefaultResponse, +): response is WebAppsRunTriggeredWebJobSlot404Response; +export function isUnexpected( + response: WebAppsListUsagesSlot200Response | WebAppsListUsagesSlotDefaultResponse, +): response is WebAppsListUsagesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListVnetConnectionsSlot200Response + | WebAppsListVnetConnectionsSlotDefaultResponse, +): response is WebAppsListVnetConnectionsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetVnetConnectionSlot200Response | WebAppsGetVnetConnectionSlotDefaultResponse, +): response is WebAppsGetVnetConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateVnetConnectionSlot200Response + | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse, +): response is WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteVnetConnectionSlot200Response + | WebAppsDeleteVnetConnectionSlot404Response + | WebAppsDeleteVnetConnectionSlotDefaultResponse, +): response is WebAppsDeleteVnetConnectionSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateVnetConnectionSlot200Response + | WebAppsUpdateVnetConnectionSlotDefaultResponse, +): response is WebAppsUpdateVnetConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetVnetConnectionGatewaySlot200Response + | WebAppsGetVnetConnectionGatewaySlot404Response + | WebAppsGetVnetConnectionGatewaySlotDefaultResponse, +): response is WebAppsGetVnetConnectionGatewaySlot404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response + | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse, +): response is WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateVnetConnectionGatewaySlot200Response + | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse, +): response is WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse; +export function isUnexpected( + response: WebAppsListWebJobsSlot200Response | WebAppsListWebJobsSlotDefaultResponse, +): response is WebAppsListWebJobsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetWebJobSlot200Response | WebAppsGetWebJobSlotDefaultResponse, +): response is WebAppsGetWebJobSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSlotDifferencesFromProduction200Response + | WebAppsListSlotDifferencesFromProductionDefaultResponse, +): response is WebAppsListSlotDifferencesFromProductionDefaultResponse; +export function isUnexpected( + response: + | WebAppsSwapSlotWithProduction200Response + | WebAppsSwapSlotWithProduction202Response + | WebAppsSwapSlotWithProductionDefaultResponse, +): response is WebAppsSwapSlotWithProductionDefaultResponse; +export function isUnexpected( + response: WebAppsListSnapshots200Response | WebAppsListSnapshotsDefaultResponse, +): response is WebAppsListSnapshotsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSnapshotsFromDRSecondary200Response + | WebAppsListSnapshotsFromDRSecondaryDefaultResponse, +): response is WebAppsListSnapshotsFromDRSecondaryDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSourceControl200Response + | WebAppsGetSourceControl201Response + | WebAppsGetSourceControl202Response + | WebAppsGetSourceControlDefaultResponse, +): response is WebAppsGetSourceControlDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSourceControl200Response + | WebAppsCreateOrUpdateSourceControl201Response + | WebAppsCreateOrUpdateSourceControl202Response + | WebAppsCreateOrUpdateSourceControlDefaultResponse, +): response is WebAppsCreateOrUpdateSourceControlDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSourceControl200Response + | WebAppsDeleteSourceControl202Response + | WebAppsDeleteSourceControl404Response + | WebAppsDeleteSourceControlDefaultResponse, +): response is WebAppsDeleteSourceControl404Response; +export function isUnexpected( + response: + | WebAppsUpdateSourceControl200Response + | WebAppsUpdateSourceControl201Response + | WebAppsUpdateSourceControl202Response + | WebAppsUpdateSourceControlDefaultResponse, +): response is WebAppsUpdateSourceControlDefaultResponse; +export function isUnexpected( + response: WebAppsStart200Response | WebAppsStartDefaultResponse, +): response is WebAppsStartDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartNetworkTrace200Response + | WebAppsStartNetworkTrace202Response + | WebAppsStartNetworkTraceDefaultResponse, +): response is WebAppsStartNetworkTraceDefaultResponse; +export function isUnexpected( + response: WebAppsStop200Response | WebAppsStopDefaultResponse, +): response is WebAppsStopDefaultResponse; +export function isUnexpected( + response: + | WebAppsStopNetworkTrace200Response + | WebAppsStopNetworkTrace204Response + | WebAppsStopNetworkTraceDefaultResponse, +): response is WebAppsStopNetworkTraceDefaultResponse; +export function isUnexpected( + response: WebAppsSyncRepository200Response | WebAppsSyncRepositoryDefaultResponse, +): response is WebAppsSyncRepositoryDefaultResponse; +export function isUnexpected( + response: WebAppsSyncFunctionTriggers204Response | WebAppsSyncFunctionTriggersDefaultResponse, +): response is WebAppsSyncFunctionTriggersDefaultResponse; +export function isUnexpected( + response: WebAppsListTriggeredWebJobs200Response | WebAppsListTriggeredWebJobsDefaultResponse, +): response is WebAppsListTriggeredWebJobsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetTriggeredWebJob200Response + | WebAppsGetTriggeredWebJob404Response + | WebAppsGetTriggeredWebJobDefaultResponse, +): response is WebAppsGetTriggeredWebJob404Response; +export function isUnexpected( + response: + | WebAppsDeleteTriggeredWebJob200Response + | WebAppsDeleteTriggeredWebJob204Response + | WebAppsDeleteTriggeredWebJobDefaultResponse, +): response is WebAppsDeleteTriggeredWebJobDefaultResponse; +export function isUnexpected( + response: + | WebAppsListTriggeredWebJobHistory200Response + | WebAppsListTriggeredWebJobHistory404Response + | WebAppsListTriggeredWebJobHistoryDefaultResponse, +): response is WebAppsListTriggeredWebJobHistory404Response; +export function isUnexpected( + response: + | WebAppsGetTriggeredWebJobHistory200Response + | WebAppsGetTriggeredWebJobHistory404Response + | WebAppsGetTriggeredWebJobHistoryDefaultResponse, +): response is WebAppsGetTriggeredWebJobHistory404Response; +export function isUnexpected( + response: + | WebAppsRunTriggeredWebJob200Response + | WebAppsRunTriggeredWebJob404Response + | WebAppsRunTriggeredWebJobDefaultResponse, +): response is WebAppsRunTriggeredWebJob404Response; +export function isUnexpected( + response: WebAppsListUsages200Response | WebAppsListUsagesDefaultResponse, +): response is WebAppsListUsagesDefaultResponse; +export function isUnexpected( + response: WebAppsListVnetConnections200Response | WebAppsListVnetConnectionsDefaultResponse, +): response is WebAppsListVnetConnectionsDefaultResponse; +export function isUnexpected( + response: WebAppsGetVnetConnection200Response | WebAppsGetVnetConnectionDefaultResponse, +): response is WebAppsGetVnetConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateVnetConnection200Response + | WebAppsCreateOrUpdateVnetConnectionDefaultResponse, +): response is WebAppsCreateOrUpdateVnetConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteVnetConnection200Response + | WebAppsDeleteVnetConnection404Response + | WebAppsDeleteVnetConnectionDefaultResponse, +): response is WebAppsDeleteVnetConnection404Response; +export function isUnexpected( + response: WebAppsUpdateVnetConnection200Response | WebAppsUpdateVnetConnectionDefaultResponse, +): response is WebAppsUpdateVnetConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetVnetConnectionGateway200Response + | WebAppsGetVnetConnectionGateway404Response + | WebAppsGetVnetConnectionGatewayDefaultResponse, +): response is WebAppsGetVnetConnectionGateway404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateVnetConnectionGateway200Response + | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse, +): response is WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateVnetConnectionGateway200Response + | WebAppsUpdateVnetConnectionGatewayDefaultResponse, +): response is WebAppsUpdateVnetConnectionGatewayDefaultResponse; +export function isUnexpected( + response: WebAppsListWebJobs200Response | WebAppsListWebJobsDefaultResponse, +): response is WebAppsListWebJobsDefaultResponse; +export function isUnexpected( + response: WebAppsGetWebJob200Response | WebAppsGetWebJobDefaultResponse, +): response is WebAppsGetWebJobDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersList200Response + | AppServiceCertificateOrdersListDefaultResponse + | AppServiceCertificateOrdersValidatePurchaseInformation204Response + | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse + | AppServiceCertificateOrdersListByResourceGroup200Response + | AppServiceCertificateOrdersListByResourceGroupDefaultResponse + | AppServiceCertificateOrdersGet200Response + | AppServiceCertificateOrdersGetDefaultResponse + | AppServiceCertificateOrdersCreateOrUpdate200Response + | AppServiceCertificateOrdersCreateOrUpdate201Response + | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse + | AppServiceCertificateOrdersDelete200Response + | AppServiceCertificateOrdersDelete204Response + | AppServiceCertificateOrdersDeleteDefaultResponse + | AppServiceCertificateOrdersUpdate200Response + | AppServiceCertificateOrdersUpdateDefaultResponse + | AppServiceCertificateOrdersListCertificates200Response + | AppServiceCertificateOrdersListCertificatesDefaultResponse + | AppServiceCertificateOrdersGetCertificate200Response + | AppServiceCertificateOrdersGetCertificateDefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateCertificate200Response + | AppServiceCertificateOrdersCreateOrUpdateCertificate201Response + | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse + | AppServiceCertificateOrdersDeleteCertificate200Response + | AppServiceCertificateOrdersDeleteCertificate204Response + | AppServiceCertificateOrdersDeleteCertificateDefaultResponse + | AppServiceCertificateOrdersUpdateCertificate200Response + | AppServiceCertificateOrdersUpdateCertificateDefaultResponse + | AppServiceCertificateOrdersReissue204Response + | AppServiceCertificateOrdersReissueDefaultResponse + | AppServiceCertificateOrdersRenew204Response + | AppServiceCertificateOrdersRenewDefaultResponse + | AppServiceCertificateOrdersResendEmail204Response + | AppServiceCertificateOrdersResendEmailDefaultResponse + | AppServiceCertificateOrdersResendRequestEmails204Response + | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse + | AppServiceCertificateOrdersRetrieveSiteSeal200Response + | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse + | AppServiceCertificateOrdersVerifyDomainOwnership204Response + | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateActions200Response + | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response + | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse + | CertificateRegistrationProviderListOperations200Response + | CertificateRegistrationProviderListOperationsDefaultResponse + | DomainsCheckAvailability200Response + | DomainsCheckAvailabilityDefaultResponse + | DomainsList200Response + | DomainsListDefaultResponse + | DomainsGetControlCenterSsoRequest200Response + | DomainsGetControlCenterSsoRequestDefaultResponse + | DomainsListRecommendations200Response + | DomainsListRecommendationsDefaultResponse + | DomainsListByResourceGroup200Response + | DomainsListByResourceGroupDefaultResponse + | DomainsGet200Response + | DomainsGetDefaultResponse + | DomainsCreateOrUpdate200Response + | DomainsCreateOrUpdate202Response + | DomainsCreateOrUpdateDefaultResponse + | DomainsDelete200Response + | DomainsDelete204Response + | DomainsDeleteDefaultResponse + | DomainsUpdate200Response + | DomainsUpdate202Response + | DomainsUpdateDefaultResponse + | DomainsListOwnershipIdentifiers200Response + | DomainsListOwnershipIdentifiersDefaultResponse + | DomainsGetOwnershipIdentifier200Response + | DomainsGetOwnershipIdentifierDefaultResponse + | DomainsCreateOrUpdateOwnershipIdentifier200Response + | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse + | DomainsDeleteOwnershipIdentifier200Response + | DomainsDeleteOwnershipIdentifier204Response + | DomainsDeleteOwnershipIdentifierDefaultResponse + | DomainsUpdateOwnershipIdentifier200Response + | DomainsUpdateOwnershipIdentifierDefaultResponse + | DomainsRenew200Response + | DomainsRenew202Response + | DomainsRenew204Response + | DomainsRenewDefaultResponse + | DomainsTransferOut200Response + | DomainsTransferOut400Response + | DomainsTransferOutDefaultResponse + | TopLevelDomainsList200Response + | TopLevelDomainsListDefaultResponse + | TopLevelDomainsGet200Response + | TopLevelDomainsGetDefaultResponse + | TopLevelDomainsListAgreements200Response + | TopLevelDomainsListAgreementsDefaultResponse + | DomainRegistrationProviderListOperations200Response + | DomainRegistrationProviderListOperationsDefaultResponse + | AppServiceEnvironmentsList200Response + | AppServiceEnvironmentsListDefaultResponse + | AppServiceEnvironmentsListByResourceGroup200Response + | AppServiceEnvironmentsListByResourceGroupDefaultResponse + | AppServiceEnvironmentsGet200Response + | AppServiceEnvironmentsGetDefaultResponse + | AppServiceEnvironmentsCreateOrUpdate200Response + | AppServiceEnvironmentsCreateOrUpdate201Response + | AppServiceEnvironmentsCreateOrUpdate202Response + | AppServiceEnvironmentsCreateOrUpdateDefaultResponse + | AppServiceEnvironmentsDelete202Response + | AppServiceEnvironmentsDelete204Response + | AppServiceEnvironmentsDeleteDefaultResponse + | AppServiceEnvironmentsUpdate200Response + | AppServiceEnvironmentsUpdate201Response + | AppServiceEnvironmentsUpdate202Response + | AppServiceEnvironmentsUpdateDefaultResponse + | AppServiceEnvironmentsListCapacities200Response + | AppServiceEnvironmentsListCapacitiesDefaultResponse + | AppServiceEnvironmentsGetVipInfo200Response + | AppServiceEnvironmentsGetVipInfoDefaultResponse + | AppServiceEnvironmentsChangeVnet200Response + | AppServiceEnvironmentsChangeVnet202Response + | AppServiceEnvironmentsChangeVnetDefaultResponse + | AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response + | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse + | AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response + | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse + | AppServiceEnvironmentsListDiagnostics200Response + | AppServiceEnvironmentsListDiagnosticsDefaultResponse + | AppServiceEnvironmentsGetDiagnosticsItem200Response + | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse + | AppServiceEnvironmentsListMultiRolePools200Response + | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse + | AppServiceEnvironmentsGetMultiRolePool200Response + | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response + | AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response + | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse + | AppServiceEnvironmentsUpdateMultiRolePool200Response + | AppServiceEnvironmentsUpdateMultiRolePool202Response + | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response + | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolSkus200Response + | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse + | AppServiceEnvironmentsListMultiRoleUsages200Response + | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse + | AppServiceEnvironmentsListOperations200Response + | AppServiceEnvironmentsListOperationsDefaultResponse + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response + | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnection200Response + | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsDeletePrivateEndpointConnection200Response + | AppServiceEnvironmentsDeletePrivateEndpointConnection202Response + | AppServiceEnvironmentsDeletePrivateEndpointConnection204Response + | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsGetPrivateLinkResources200Response + | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse + | AppServiceEnvironmentsReboot202Response + | AppServiceEnvironmentsRebootDefaultResponse + | AppServiceEnvironmentsResume200Response + | AppServiceEnvironmentsResume202Response + | AppServiceEnvironmentsResumeDefaultResponse + | AppServiceEnvironmentsListAppServicePlans200Response + | AppServiceEnvironmentsListAppServicePlansDefaultResponse + | AppServiceEnvironmentsListWebApps200Response + | AppServiceEnvironmentsListWebAppsDefaultResponse + | AppServiceEnvironmentsSuspend200Response + | AppServiceEnvironmentsSuspend202Response + | AppServiceEnvironmentsSuspendDefaultResponse + | AppServiceEnvironmentsListUsages200Response + | AppServiceEnvironmentsListUsagesDefaultResponse + | AppServiceEnvironmentsListWorkerPools200Response + | AppServiceEnvironmentsListWorkerPoolsDefaultResponse + | AppServiceEnvironmentsGetWorkerPool200Response + | AppServiceEnvironmentsGetWorkerPoolDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response + | AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response + | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse + | AppServiceEnvironmentsUpdateWorkerPool200Response + | AppServiceEnvironmentsUpdateWorkerPool202Response + | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response + | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListWorkerPoolSkus200Response + | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse + | AppServiceEnvironmentsListWebWorkerUsages200Response + | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse + | AppServicePlansList200Response + | AppServicePlansListDefaultResponse + | AppServicePlansListByResourceGroup200Response + | AppServicePlansListByResourceGroupDefaultResponse + | AppServicePlansGet200Response + | AppServicePlansGet404Response + | AppServicePlansGetDefaultResponse + | AppServicePlansCreateOrUpdate200Response + | AppServicePlansCreateOrUpdate202Response + | AppServicePlansCreateOrUpdateDefaultResponse + | AppServicePlansDelete200Response + | AppServicePlansDelete204Response + | AppServicePlansDeleteDefaultResponse + | AppServicePlansUpdate200Response + | AppServicePlansUpdate202Response + | AppServicePlansUpdateDefaultResponse + | AppServicePlansListCapabilities200Response + | AppServicePlansListCapabilitiesDefaultResponse + | AppServicePlansGetHybridConnection200Response + | AppServicePlansGetHybridConnectionDefaultResponse + | AppServicePlansDeleteHybridConnection200Response + | AppServicePlansDeleteHybridConnection204Response + | AppServicePlansDeleteHybridConnectionDefaultResponse + | AppServicePlansListHybridConnectionKeys200Response + | AppServicePlansListHybridConnectionKeysDefaultResponse + | AppServicePlansListWebAppsByHybridConnection200Response + | AppServicePlansListWebAppsByHybridConnectionDefaultResponse + | AppServicePlansGetHybridConnectionPlanLimit200Response + | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse + | AppServicePlansListHybridConnections200Response + | AppServicePlansListHybridConnectionsDefaultResponse + | AppServicePlansRestartWebApps204Response + | AppServicePlansRestartWebAppsDefaultResponse + | AppServicePlansListWebApps200Response + | AppServicePlansListWebAppsDefaultResponse + | AppServicePlansGetServerFarmSkus200Response + | AppServicePlansGetServerFarmSkusDefaultResponse + | AppServicePlansListUsages200Response + | AppServicePlansListUsagesDefaultResponse + | AppServicePlansListVnets200Response + | AppServicePlansListVnetsDefaultResponse + | AppServicePlansGetVnetFromServerFarm200Response + | AppServicePlansGetVnetFromServerFarm404Response + | AppServicePlansGetVnetFromServerFarmDefaultResponse + | AppServicePlansGetVnetGateway200Response + | AppServicePlansGetVnetGatewayDefaultResponse + | AppServicePlansUpdateVnetGateway200Response + | AppServicePlansUpdateVnetGatewayDefaultResponse + | AppServicePlansListRoutesForVnet200Response + | AppServicePlansListRoutesForVnetDefaultResponse + | AppServicePlansGetRouteForVnet200Response + | AppServicePlansGetRouteForVnet404Response + | AppServicePlansGetRouteForVnetDefaultResponse + | AppServicePlansCreateOrUpdateVnetRoute200Response + | AppServicePlansCreateOrUpdateVnetRoute400Response + | AppServicePlansCreateOrUpdateVnetRoute404Response + | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse + | AppServicePlansDeleteVnetRoute200Response + | AppServicePlansDeleteVnetRoute404Response + | AppServicePlansDeleteVnetRouteDefaultResponse + | AppServicePlansUpdateVnetRoute200Response + | AppServicePlansUpdateVnetRoute400Response + | AppServicePlansUpdateVnetRoute404Response + | AppServicePlansUpdateVnetRouteDefaultResponse + | AppServicePlansRebootWorker204Response + | AppServicePlansRebootWorkerDefaultResponse + | CertificatesList200Response + | CertificatesListDefaultResponse + | CertificatesListByResourceGroup200Response + | CertificatesListByResourceGroupDefaultResponse + | CertificatesGet200Response + | CertificatesGetDefaultResponse + | CertificatesCreateOrUpdate200Response + | CertificatesCreateOrUpdateDefaultResponse + | CertificatesDelete200Response + | CertificatesDelete204Response + | CertificatesDeleteDefaultResponse + | CertificatesUpdate200Response + | CertificatesUpdateDefaultResponse + | ContainerAppsListBySubscription200Response + | ContainerAppsListBySubscriptionDefaultResponse + | ContainerAppsListByResourceGroup200Response + | ContainerAppsListByResourceGroupDefaultResponse + | ContainerAppsGet200Response + | ContainerAppsGet404Response + | ContainerAppsGetDefaultResponse + | ContainerAppsCreateOrUpdate200Response + | ContainerAppsCreateOrUpdate201Response + | ContainerAppsCreateOrUpdateDefaultResponse + | ContainerAppsDelete200Response + | ContainerAppsDelete202Response + | ContainerAppsDelete204Response + | ContainerAppsDeleteDefaultResponse + | ContainerAppsListSecrets200Response + | ContainerAppsListSecretsDefaultResponse + | ContainerAppsRevisionsListRevisions200Response + | ContainerAppsRevisionsListRevisionsDefaultResponse + | ContainerAppsRevisionsGetRevision200Response + | ContainerAppsRevisionsGetRevisionDefaultResponse + | ContainerAppsRevisionsActivateRevision200Response + | ContainerAppsRevisionsActivateRevisionDefaultResponse + | ContainerAppsRevisionsDeactivateRevision200Response + | ContainerAppsRevisionsDeactivateRevisionDefaultResponse + | ContainerAppsRevisionsRestartRevision200Response + | ContainerAppsRevisionsRestartRevisionDefaultResponse + | DeletedWebAppsList200Response + | DeletedWebAppsListDefaultResponse + | DeletedWebAppsListByLocation200Response + | DeletedWebAppsListByLocationDefaultResponse + | DeletedWebAppsGetDeletedWebAppByLocation200Response + | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse + | DiagnosticsListHostingEnvironmentDetectorResponses200Response + | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse + | DiagnosticsGetHostingEnvironmentDetectorResponse200Response + | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse + | DiagnosticsListSiteDetectorResponses200Response + | DiagnosticsListSiteDetectorResponsesDefaultResponse + | DiagnosticsGetSiteDetectorResponse200Response + | DiagnosticsGetSiteDetectorResponseDefaultResponse + | DiagnosticsListSiteDiagnosticCategories200Response + | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse + | DiagnosticsGetSiteDiagnosticCategory200Response + | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse + | DiagnosticsListSiteAnalyses200Response + | DiagnosticsListSiteAnalysesDefaultResponse + | DiagnosticsGetSiteAnalysis200Response + | DiagnosticsGetSiteAnalysisDefaultResponse + | DiagnosticsExecuteSiteAnalysis200Response + | DiagnosticsExecuteSiteAnalysisDefaultResponse + | DiagnosticsListSiteDetectors200Response + | DiagnosticsListSiteDetectorsDefaultResponse + | DiagnosticsGetSiteDetector200Response + | DiagnosticsGetSiteDetectorDefaultResponse + | DiagnosticsExecuteSiteDetector200Response + | DiagnosticsExecuteSiteDetectorDefaultResponse + | DiagnosticsListSiteDetectorResponsesSlot200Response + | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse + | DiagnosticsGetSiteDetectorResponseSlot200Response + | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesSlot200Response + | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse + | DiagnosticsGetSiteDiagnosticCategorySlot200Response + | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse + | DiagnosticsListSiteAnalysesSlot200Response + | DiagnosticsListSiteAnalysesSlotDefaultResponse + | DiagnosticsGetSiteAnalysisSlot200Response + | DiagnosticsGetSiteAnalysisSlotDefaultResponse + | DiagnosticsExecuteSiteAnalysisSlot200Response + | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse + | DiagnosticsListSiteDetectorsSlot200Response + | DiagnosticsListSiteDetectorsSlotDefaultResponse + | DiagnosticsGetSiteDetectorSlot200Response + | DiagnosticsGetSiteDetectorSlotDefaultResponse + | DiagnosticsExecuteSiteDetectorSlot200Response + | DiagnosticsExecuteSiteDetectorSlotDefaultResponse + | GlobalGetDeletedWebApp200Response + | GlobalGetDeletedWebAppDefaultResponse + | GlobalGetDeletedWebAppSnapshots200Response + | GlobalGetDeletedWebAppSnapshotsDefaultResponse + | GlobalGetSubscriptionOperationWithAsyncResponse204Response + | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse + | KubeEnvironmentsListBySubscription200Response + | KubeEnvironmentsListBySubscriptionDefaultResponse + | KubeEnvironmentsListByResourceGroup200Response + | KubeEnvironmentsListByResourceGroupDefaultResponse + | KubeEnvironmentsGet200Response + | KubeEnvironmentsGetDefaultResponse + | KubeEnvironmentsCreateOrUpdate200Response + | KubeEnvironmentsCreateOrUpdate201Response + | KubeEnvironmentsCreateOrUpdateDefaultResponse + | KubeEnvironmentsDelete200Response + | KubeEnvironmentsDelete202Response + | KubeEnvironmentsDelete204Response + | KubeEnvironmentsDeleteDefaultResponse + | KubeEnvironmentsUpdate200Response + | KubeEnvironmentsUpdate201Response + | KubeEnvironmentsUpdateDefaultResponse + | ProviderGetAvailableStacks200Response + | ProviderGetAvailableStacksDefaultResponse + | ProviderGetFunctionAppStacks200Response + | ProviderGetFunctionAppStacksDefaultResponse + | ProviderGetFunctionAppStacksForLocation200Response + | ProviderGetFunctionAppStacksForLocationDefaultResponse + | ProviderGetWebAppStacksForLocation200Response + | ProviderGetWebAppStacksForLocationDefaultResponse + | ProviderListOperations200Response + | ProviderListOperationsDefaultResponse + | ProviderGetWebAppStacks200Response + | ProviderGetWebAppStacksDefaultResponse + | ProviderGetAvailableStacksOnPrem200Response + | ProviderGetAvailableStacksOnPremDefaultResponse + | RecommendationsList200Response + | RecommendationsListDefaultResponse + | RecommendationsResetAllFilters204Response + | RecommendationsResetAllFiltersDefaultResponse + | RecommendationsDisableRecommendationForSubscription200Response + | RecommendationsDisableRecommendationForSubscriptionDefaultResponse + | RecommendationsListHistoryForHostingEnvironment200Response + | RecommendationsListHistoryForHostingEnvironmentDefaultResponse + | RecommendationsListRecommendedRulesForHostingEnvironment200Response + | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse + | RecommendationsDisableAllForHostingEnvironment204Response + | RecommendationsDisableAllForHostingEnvironmentDefaultResponse + | RecommendationsResetAllFiltersForHostingEnvironment204Response + | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse + | RecommendationsGetRuleDetailsByHostingEnvironment200Response + | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse + | RecommendationsDisableRecommendationForHostingEnvironment200Response + | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse + | RecommendationsListHistoryForWebApp200Response + | RecommendationsListHistoryForWebAppDefaultResponse + | RecommendationsListRecommendedRulesForWebApp200Response + | RecommendationsListRecommendedRulesForWebAppDefaultResponse + | RecommendationsDisableAllForWebApp204Response + | RecommendationsDisableAllForWebAppDefaultResponse + | RecommendationsResetAllFiltersForWebApp204Response + | RecommendationsResetAllFiltersForWebAppDefaultResponse + | RecommendationsGetRuleDetailsByWebApp200Response + | RecommendationsGetRuleDetailsByWebAppDefaultResponse + | RecommendationsDisableRecommendationForSite200Response + | RecommendationsDisableRecommendationForSiteDefaultResponse + | ResourceHealthMetadataList200Response + | ResourceHealthMetadataListDefaultResponse + | ResourceHealthMetadataListByResourceGroup200Response + | ResourceHealthMetadataListByResourceGroupDefaultResponse + | ResourceHealthMetadataListBySite200Response + | ResourceHealthMetadataListBySiteDefaultResponse + | ResourceHealthMetadataGetBySite200Response + | ResourceHealthMetadataGetBySiteDefaultResponse + | ResourceHealthMetadataListBySiteSlot200Response + | ResourceHealthMetadataListBySiteSlotDefaultResponse + | ResourceHealthMetadataGetBySiteSlot200Response + | ResourceHealthMetadataGetBySiteSlotDefaultResponse + | GetPublishingUser200Response + | GetPublishingUserDefaultResponse + | UpdatePublishingUser200Response + | UpdatePublishingUserDefaultResponse + | ListSourceControls200Response + | ListSourceControlsDefaultResponse + | GetSourceControl200Response + | GetSourceControlDefaultResponse + | UpdateSourceControl200Response + | UpdateSourceControlDefaultResponse + | ListBillingMeters200Response + | ListBillingMetersDefaultResponse + | CheckNameAvailability200Response + | CheckNameAvailabilityDefaultResponse + | ListCustomHostNameSites200Response + | ListCustomHostNameSitesDefaultResponse + | GetSubscriptionDeploymentLocations200Response + | GetSubscriptionDeploymentLocationsDefaultResponse + | ListGeoRegions200Response + | ListGeoRegionsDefaultResponse + | ListSiteIdentifiersAssignedToHostName200Response + | ListSiteIdentifiersAssignedToHostNameDefaultResponse + | ListPremierAddOnOffers200Response + | ListPremierAddOnOffersDefaultResponse + | ListSkus200Response + | ListSkusDefaultResponse + | VerifyHostingEnvironmentVnet200Response + | VerifyHostingEnvironmentVnetDefaultResponse + | Move204Response + | MoveDefaultResponse + | Validate200Response + | ValidateDefaultResponse + | ValidateMove204Response + | ValidateMoveDefaultResponse + | StaticSitesPreviewWorkflow200Response + | StaticSitesPreviewWorkflowDefaultResponse + | StaticSitesList200Response + | StaticSitesListDefaultResponse + | StaticSitesGetStaticSitesByResourceGroup200Response + | StaticSitesGetStaticSitesByResourceGroupDefaultResponse + | StaticSitesGetStaticSite200Response + | StaticSitesGetStaticSiteDefaultResponse + | StaticSitesCreateOrUpdateStaticSite200Response + | StaticSitesCreateOrUpdateStaticSite202Response + | StaticSitesCreateOrUpdateStaticSiteDefaultResponse + | StaticSitesDeleteStaticSite200Response + | StaticSitesDeleteStaticSite202Response + | StaticSitesDeleteStaticSiteDefaultResponse + | StaticSitesUpdateStaticSite200Response + | StaticSitesUpdateStaticSite202Response + | StaticSitesUpdateStaticSiteDefaultResponse + | StaticSitesListStaticSiteUsers200Response + | StaticSitesListStaticSiteUsersDefaultResponse + | StaticSitesDeleteStaticSiteUser200Response + | StaticSitesDeleteStaticSiteUserDefaultResponse + | StaticSitesUpdateStaticSiteUser200Response + | StaticSitesUpdateStaticSiteUserDefaultResponse + | StaticSitesGetStaticSiteBuilds200Response + | StaticSitesGetStaticSiteBuildsDefaultResponse + | StaticSitesGetStaticSiteBuild200Response + | StaticSitesGetStaticSiteBuildDefaultResponse + | StaticSitesDeleteStaticSiteBuild200Response + | StaticSitesDeleteStaticSiteBuild202Response + | StaticSitesDeleteStaticSiteBuild204Response + | StaticSitesDeleteStaticSiteBuildDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse + | StaticSitesListStaticSiteBuildFunctions200Response + | StaticSitesListStaticSiteBuildFunctionsDefaultResponse + | StaticSitesListStaticSiteBuildAppSettings200Response + | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse + | StaticSitesListStaticSiteBuildFunctionAppSettings200Response + | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteBuild200Response + | StaticSitesCreateZipDeploymentForStaticSiteBuild202Response + | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse + | StaticSitesCreateUserRolesInvitationLink200Response + | StaticSitesCreateUserRolesInvitationLinkDefaultResponse + | StaticSitesListStaticSiteCustomDomains200Response + | StaticSitesListStaticSiteCustomDomainsDefaultResponse + | StaticSitesGetStaticSiteCustomDomain200Response + | StaticSitesGetStaticSiteCustomDomainDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response + | StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response + | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse + | StaticSitesDeleteStaticSiteCustomDomain200Response + | StaticSitesDeleteStaticSiteCustomDomain202Response + | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse + | StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response + | StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response + | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse + | StaticSitesDetachStaticSite200Response + | StaticSitesDetachStaticSite202Response + | StaticSitesDetachStaticSiteDefaultResponse + | StaticSitesListStaticSiteFunctions200Response + | StaticSitesListStaticSiteFunctionsDefaultResponse + | StaticSitesListStaticSiteAppSettings200Response + | StaticSitesListStaticSiteAppSettingsDefaultResponse + | StaticSitesListStaticSiteConfiguredRoles200Response + | StaticSitesListStaticSiteConfiguredRolesDefaultResponse + | StaticSitesListStaticSiteFunctionAppSettings200Response + | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse + | StaticSitesListStaticSiteSecrets200Response + | StaticSitesListStaticSiteSecretsDefaultResponse + | StaticSitesGetPrivateEndpointConnectionList200Response + | StaticSitesGetPrivateEndpointConnectionListDefaultResponse + | StaticSitesGetPrivateEndpointConnection200Response + | StaticSitesGetPrivateEndpointConnectionDefaultResponse + | StaticSitesApproveOrRejectPrivateEndpointConnection200Response + | StaticSitesApproveOrRejectPrivateEndpointConnection202Response + | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse + | StaticSitesDeletePrivateEndpointConnection200Response + | StaticSitesDeletePrivateEndpointConnection202Response + | StaticSitesDeletePrivateEndpointConnection204Response + | StaticSitesDeletePrivateEndpointConnectionDefaultResponse + | StaticSitesGetPrivateLinkResources200Response + | StaticSitesGetPrivateLinkResourcesDefaultResponse + | StaticSitesResetStaticSiteApiKey200Response + | StaticSitesResetStaticSiteApiKeyDefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSite200Response + | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse + | StaticSitesCreateZipDeploymentForStaticSite200Response + | StaticSitesCreateZipDeploymentForStaticSite202Response + | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse + | WebAppsList200Response + | WebAppsListDefaultResponse + | WebAppsListByResourceGroup200Response + | WebAppsListByResourceGroupDefaultResponse + | WebAppsGet200Response + | WebAppsGet404Response + | WebAppsGetDefaultResponse + | WebAppsCreateOrUpdate200Response + | WebAppsCreateOrUpdate202Response + | WebAppsCreateOrUpdateDefaultResponse + | WebAppsDelete200Response + | WebAppsDelete204Response + | WebAppsDelete404Response + | WebAppsDeleteDefaultResponse + | WebAppsUpdate200Response + | WebAppsUpdate202Response + | WebAppsUpdateDefaultResponse + | WebAppsAnalyzeCustomHostname200Response + | WebAppsAnalyzeCustomHostnameDefaultResponse + | WebAppsApplySlotConfigToProduction200Response + | WebAppsApplySlotConfigToProductionDefaultResponse + | WebAppsBackup200Response + | WebAppsBackupDefaultResponse + | WebAppsListBackups200Response + | WebAppsListBackupsDefaultResponse + | WebAppsGetBackupStatus200Response + | WebAppsGetBackupStatusDefaultResponse + | WebAppsDeleteBackup200Response + | WebAppsDeleteBackup404Response + | WebAppsDeleteBackupDefaultResponse + | WebAppsListBackupStatusSecrets200Response + | WebAppsListBackupStatusSecretsDefaultResponse + | WebAppsRestore200Response + | WebAppsRestore202Response + | WebAppsRestoreDefaultResponse + | WebAppsListBasicPublishingCredentialsPolicies200Response + | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse + | WebAppsGetFtpAllowed200Response + | WebAppsGetFtpAllowedDefaultResponse + | WebAppsUpdateFtpAllowed200Response + | WebAppsUpdateFtpAllowedDefaultResponse + | WebAppsGetScmAllowed200Response + | WebAppsGetScmAllowedDefaultResponse + | WebAppsUpdateScmAllowed200Response + | WebAppsUpdateScmAllowedDefaultResponse + | WebAppsListConfigurations200Response + | WebAppsListConfigurationsDefaultResponse + | WebAppsUpdateApplicationSettings200Response + | WebAppsUpdateApplicationSettingsDefaultResponse + | WebAppsListApplicationSettings200Response + | WebAppsListApplicationSettingsDefaultResponse + | WebAppsUpdateAuthSettings200Response + | WebAppsUpdateAuthSettingsDefaultResponse + | WebAppsGetAuthSettings200Response + | WebAppsGetAuthSettingsDefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecrets200Response + | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse + | WebAppsUpdateAuthSettingsV2200Response + | WebAppsUpdateAuthSettingsV2DefaultResponse + | WebAppsGetAuthSettingsV2200Response + | WebAppsGetAuthSettingsV2DefaultResponse + | WebAppsUpdateAzureStorageAccounts200Response + | WebAppsUpdateAzureStorageAccountsDefaultResponse + | WebAppsListAzureStorageAccounts200Response + | WebAppsListAzureStorageAccountsDefaultResponse + | WebAppsUpdateBackupConfiguration200Response + | WebAppsUpdateBackupConfigurationDefaultResponse + | WebAppsDeleteBackupConfiguration200Response + | WebAppsDeleteBackupConfigurationDefaultResponse + | WebAppsGetBackupConfiguration200Response + | WebAppsGetBackupConfigurationDefaultResponse + | WebAppsGetAppSettingsKeyVaultReferences200Response + | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse + | WebAppsGetAppSettingKeyVaultReference200Response + | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferences200Response + | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReference200Response + | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse + | WebAppsUpdateConnectionStrings200Response + | WebAppsUpdateConnectionStringsDefaultResponse + | WebAppsListConnectionStrings200Response + | WebAppsListConnectionStringsDefaultResponse + | WebAppsGetDiagnosticLogsConfiguration200Response + | WebAppsGetDiagnosticLogsConfigurationDefaultResponse + | WebAppsUpdateDiagnosticLogsConfig200Response + | WebAppsUpdateDiagnosticLogsConfigDefaultResponse + | WebAppsUpdateMetadata200Response + | WebAppsUpdateMetadataDefaultResponse + | WebAppsListMetadata200Response + | WebAppsListMetadataDefaultResponse + | WebAppsListPublishingCredentials200Response + | WebAppsListPublishingCredentialsDefaultResponse + | WebAppsUpdateSitePushSettings200Response + | WebAppsUpdateSitePushSettingsDefaultResponse + | WebAppsListSitePushSettings200Response + | WebAppsListSitePushSettingsDefaultResponse + | WebAppsListSlotConfigurationNames200Response + | WebAppsListSlotConfigurationNamesDefaultResponse + | WebAppsUpdateSlotConfigurationNames200Response + | WebAppsUpdateSlotConfigurationNamesDefaultResponse + | WebAppsGetConfiguration200Response + | WebAppsGetConfigurationDefaultResponse + | WebAppsCreateOrUpdateConfiguration200Response + | WebAppsCreateOrUpdateConfigurationDefaultResponse + | WebAppsUpdateConfiguration200Response + | WebAppsUpdateConfigurationDefaultResponse + | WebAppsListConfigurationSnapshotInfo200Response + | WebAppsListConfigurationSnapshotInfoDefaultResponse + | WebAppsGetConfigurationSnapshot200Response + | WebAppsGetConfigurationSnapshotDefaultResponse + | WebAppsRecoverSiteConfigurationSnapshot204Response + | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse + | WebAppsGetWebSiteContainerLogs200Response + | WebAppsGetWebSiteContainerLogs204Response + | WebAppsGetWebSiteContainerLogsDefaultResponse + | WebAppsGetContainerLogsZip200Response + | WebAppsGetContainerLogsZip204Response + | WebAppsGetContainerLogsZipDefaultResponse + | WebAppsListContinuousWebJobs200Response + | WebAppsListContinuousWebJobsDefaultResponse + | WebAppsGetContinuousWebJob200Response + | WebAppsGetContinuousWebJob404Response + | WebAppsGetContinuousWebJobDefaultResponse + | WebAppsDeleteContinuousWebJob200Response + | WebAppsDeleteContinuousWebJob204Response + | WebAppsDeleteContinuousWebJobDefaultResponse + | WebAppsStartContinuousWebJob200Response + | WebAppsStartContinuousWebJob404Response + | WebAppsStartContinuousWebJobDefaultResponse + | WebAppsStopContinuousWebJob200Response + | WebAppsStopContinuousWebJob404Response + | WebAppsStopContinuousWebJobDefaultResponse + | WebAppsListDeployments200Response + | WebAppsListDeploymentsDefaultResponse + | WebAppsGetDeployment200Response + | WebAppsGetDeploymentDefaultResponse + | WebAppsCreateDeployment200Response + | WebAppsCreateDeploymentDefaultResponse + | WebAppsDeleteDeployment200Response + | WebAppsDeleteDeployment204Response + | WebAppsDeleteDeploymentDefaultResponse + | WebAppsListDeploymentLog200Response + | WebAppsListDeploymentLogDefaultResponse + | WebAppsDiscoverBackup200Response + | WebAppsDiscoverBackupDefaultResponse + | WebAppsListDomainOwnershipIdentifiers200Response + | WebAppsListDomainOwnershipIdentifiersDefaultResponse + | WebAppsGetDomainOwnershipIdentifier200Response + | WebAppsGetDomainOwnershipIdentifierDefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response + | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse + | WebAppsDeleteDomainOwnershipIdentifier200Response + | WebAppsDeleteDomainOwnershipIdentifier204Response + | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse + | WebAppsUpdateDomainOwnershipIdentifier200Response + | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse + | WebAppsGetMSDeployStatus200Response + | WebAppsGetMSDeployStatusDefaultResponse + | WebAppsCreateMSDeployOperation201Response + | WebAppsCreateMSDeployOperation409Response + | WebAppsCreateMSDeployOperationDefaultResponse + | WebAppsGetMSDeployLog200Response + | WebAppsGetMSDeployLog404Response + | WebAppsGetMSDeployLogDefaultResponse + | WebAppsGetOneDeployStatus200Response + | WebAppsGetOneDeployStatusDefaultResponse + | WebAppsCreateOneDeployOperation200Response + | WebAppsCreateOneDeployOperationDefaultResponse + | WebAppsListFunctions200Response + | WebAppsListFunctions404Response + | WebAppsListFunctionsDefaultResponse + | WebAppsGetFunctionsAdminToken200Response + | WebAppsGetFunctionsAdminTokenDefaultResponse + | WebAppsGetFunction200Response + | WebAppsGetFunction404Response + | WebAppsGetFunctionDefaultResponse + | WebAppsCreateFunction201Response + | WebAppsCreateFunctionDefaultResponse + | WebAppsDeleteFunction204Response + | WebAppsDeleteFunction404Response + | WebAppsDeleteFunctionDefaultResponse + | WebAppsCreateOrUpdateFunctionSecret200Response + | WebAppsCreateOrUpdateFunctionSecret201Response + | WebAppsCreateOrUpdateFunctionSecretDefaultResponse + | WebAppsDeleteFunctionSecret204Response + | WebAppsDeleteFunctionSecret404Response + | WebAppsDeleteFunctionSecretDefaultResponse + | WebAppsListFunctionKeys200Response + | WebAppsListFunctionKeysDefaultResponse + | WebAppsListFunctionSecrets200Response + | WebAppsListFunctionSecretsDefaultResponse + | WebAppsListHostKeys200Response + | WebAppsListHostKeysDefaultResponse + | WebAppsListSyncStatus204Response + | WebAppsListSyncStatusDefaultResponse + | WebAppsSyncFunctions204Response + | WebAppsSyncFunctionsDefaultResponse + | WebAppsCreateOrUpdateHostSecret200Response + | WebAppsCreateOrUpdateHostSecret201Response + | WebAppsCreateOrUpdateHostSecretDefaultResponse + | WebAppsDeleteHostSecret204Response + | WebAppsDeleteHostSecret404Response + | WebAppsDeleteHostSecretDefaultResponse + | WebAppsListHostNameBindings200Response + | WebAppsListHostNameBindingsDefaultResponse + | WebAppsGetHostNameBinding200Response + | WebAppsGetHostNameBindingDefaultResponse + | WebAppsCreateOrUpdateHostNameBinding200Response + | WebAppsCreateOrUpdateHostNameBindingDefaultResponse + | WebAppsDeleteHostNameBinding200Response + | WebAppsDeleteHostNameBinding204Response + | WebAppsDeleteHostNameBindingDefaultResponse + | WebAppsGetHybridConnection200Response + | WebAppsGetHybridConnectionDefaultResponse + | WebAppsCreateOrUpdateHybridConnection200Response + | WebAppsCreateOrUpdateHybridConnectionDefaultResponse + | WebAppsDeleteHybridConnection200Response + | WebAppsDeleteHybridConnection404Response + | WebAppsDeleteHybridConnectionDefaultResponse + | WebAppsUpdateHybridConnection200Response + | WebAppsUpdateHybridConnectionDefaultResponse + | WebAppsListHybridConnections200Response + | WebAppsListHybridConnectionsDefaultResponse + | WebAppsListRelayServiceConnections200Response + | WebAppsListRelayServiceConnectionsDefaultResponse + | WebAppsGetRelayServiceConnection200Response + | WebAppsGetRelayServiceConnectionDefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnection200Response + | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse + | WebAppsDeleteRelayServiceConnection200Response + | WebAppsDeleteRelayServiceConnection404Response + | WebAppsDeleteRelayServiceConnectionDefaultResponse + | WebAppsUpdateRelayServiceConnection200Response + | WebAppsUpdateRelayServiceConnectionDefaultResponse + | WebAppsListInstanceIdentifiers200Response + | WebAppsListInstanceIdentifiersDefaultResponse + | WebAppsGetInstanceInfo200Response + | WebAppsGetInstanceInfoDefaultResponse + | WebAppsGetInstanceMsDeployStatus200Response + | WebAppsGetInstanceMsDeployStatusDefaultResponse + | WebAppsCreateInstanceMSDeployOperation201Response + | WebAppsCreateInstanceMSDeployOperation409Response + | WebAppsCreateInstanceMSDeployOperationDefaultResponse + | WebAppsGetInstanceMSDeployLog200Response + | WebAppsGetInstanceMSDeployLog404Response + | WebAppsGetInstanceMSDeployLogDefaultResponse + | WebAppsListInstanceProcesses200Response + | WebAppsListInstanceProcesses404Response + | WebAppsListInstanceProcessesDefaultResponse + | WebAppsGetInstanceProcess200Response + | WebAppsGetInstanceProcess404Response + | WebAppsGetInstanceProcessDefaultResponse + | WebAppsDeleteInstanceProcess204Response + | WebAppsDeleteInstanceProcess404Response + | WebAppsDeleteInstanceProcessDefaultResponse + | WebAppsGetInstanceProcessDump200Response + | WebAppsGetInstanceProcessDump404Response + | WebAppsGetInstanceProcessDumpDefaultResponse + | WebAppsListInstanceProcessModules200Response + | WebAppsListInstanceProcessModules404Response + | WebAppsListInstanceProcessModulesDefaultResponse + | WebAppsGetInstanceProcessModule200Response + | WebAppsGetInstanceProcessModule404Response + | WebAppsGetInstanceProcessModuleDefaultResponse + | WebAppsListInstanceProcessThreads200Response + | WebAppsListInstanceProcessThreads404Response + | WebAppsListInstanceProcessThreadsDefaultResponse + | WebAppsIsCloneable200Response + | WebAppsIsCloneableDefaultResponse + | WebAppsListSiteBackups200Response + | WebAppsListSiteBackupsDefaultResponse + | WebAppsListSyncFunctionTriggers200Response + | WebAppsListSyncFunctionTriggersDefaultResponse + | WebAppsMigrateStorage200Response + | WebAppsMigrateStorageDefaultResponse + | WebAppsMigrateMySql200Response + | WebAppsMigrateMySqlDefaultResponse + | WebAppsGetMigrateMySqlStatus200Response + | WebAppsGetMigrateMySqlStatusDefaultResponse + | WebAppsGetSwiftVirtualNetworkConnection200Response + | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse + | WebAppsDeleteSwiftVirtualNetwork200Response + | WebAppsDeleteSwiftVirtualNetwork404Response + | WebAppsDeleteSwiftVirtualNetworkDefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse + | WebAppsListNetworkFeatures200Response + | WebAppsListNetworkFeatures404Response + | WebAppsListNetworkFeaturesDefaultResponse + | WebAppsGetNetworkTraceOperation200Response + | WebAppsGetNetworkTraceOperation202Response + | WebAppsGetNetworkTraceOperationDefaultResponse + | WebAppsStartWebSiteNetworkTrace200Response + | WebAppsStartWebSiteNetworkTraceDefaultResponse + | WebAppsStartWebSiteNetworkTraceOperation200Response + | WebAppsStartWebSiteNetworkTraceOperation202Response + | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse + | WebAppsStopWebSiteNetworkTrace200Response + | WebAppsStopWebSiteNetworkTrace204Response + | WebAppsStopWebSiteNetworkTraceDefaultResponse + | WebAppsGetNetworkTraces200Response + | WebAppsGetNetworkTracesDefaultResponse + | WebAppsGetNetworkTraceOperationV2200Response + | WebAppsGetNetworkTraceOperationV2202Response + | WebAppsGetNetworkTraceOperationV2DefaultResponse + | WebAppsGetNetworkTracesV2200Response + | WebAppsGetNetworkTracesV2DefaultResponse + | WebAppsGenerateNewSitePublishingPassword200Response + | WebAppsGenerateNewSitePublishingPassword204Response + | WebAppsGenerateNewSitePublishingPasswordDefaultResponse + | WebAppsListPerfMonCounters200Response + | WebAppsListPerfMonCountersDefaultResponse + | WebAppsGetSitePhpErrorLogFlag200Response + | WebAppsGetSitePhpErrorLogFlagDefaultResponse + | WebAppsListPremierAddOns200Response + | WebAppsListPremierAddOnsDefaultResponse + | WebAppsGetPremierAddOn200Response + | WebAppsGetPremierAddOnDefaultResponse + | WebAppsAddPremierAddOn200Response + | WebAppsAddPremierAddOnDefaultResponse + | WebAppsDeletePremierAddOn200Response + | WebAppsDeletePremierAddOnDefaultResponse + | WebAppsUpdatePremierAddOn200Response + | WebAppsUpdatePremierAddOnDefaultResponse + | WebAppsGetPrivateAccess200Response + | WebAppsGetPrivateAccessDefaultResponse + | WebAppsPutPrivateAccessVnet200Response + | WebAppsPutPrivateAccessVnetDefaultResponse + | WebAppsGetPrivateEndpointConnectionList200Response + | WebAppsGetPrivateEndpointConnectionListDefaultResponse + | WebAppsGetPrivateEndpointConnection200Response + | WebAppsGetPrivateEndpointConnectionDefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnection200Response + | WebAppsApproveOrRejectPrivateEndpointConnection202Response + | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse + | WebAppsDeletePrivateEndpointConnection200Response + | WebAppsDeletePrivateEndpointConnection202Response + | WebAppsDeletePrivateEndpointConnection204Response + | WebAppsDeletePrivateEndpointConnectionDefaultResponse + | WebAppsGetPrivateLinkResources200Response + | WebAppsGetPrivateLinkResourcesDefaultResponse + | WebAppsListProcesses200Response + | WebAppsListProcesses404Response + | WebAppsListProcessesDefaultResponse + | WebAppsGetProcess200Response + | WebAppsGetProcess404Response + | WebAppsGetProcessDefaultResponse + | WebAppsDeleteProcess204Response + | WebAppsDeleteProcess404Response + | WebAppsDeleteProcessDefaultResponse + | WebAppsGetProcessDump200Response + | WebAppsGetProcessDump404Response + | WebAppsGetProcessDumpDefaultResponse + | WebAppsListProcessModules200Response + | WebAppsListProcessModules404Response + | WebAppsListProcessModulesDefaultResponse + | WebAppsGetProcessModule200Response + | WebAppsGetProcessModule404Response + | WebAppsGetProcessModuleDefaultResponse + | WebAppsListProcessThreads200Response + | WebAppsListProcessThreads404Response + | WebAppsListProcessThreadsDefaultResponse + | WebAppsListPublicCertificates200Response + | WebAppsListPublicCertificatesDefaultResponse + | WebAppsGetPublicCertificate200Response + | WebAppsGetPublicCertificateDefaultResponse + | WebAppsCreateOrUpdatePublicCertificate200Response + | WebAppsCreateOrUpdatePublicCertificateDefaultResponse + | WebAppsDeletePublicCertificate200Response + | WebAppsDeletePublicCertificate204Response + | WebAppsDeletePublicCertificateDefaultResponse + | WebAppsListPublishingProfileXmlWithSecrets200Response + | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse + | WebAppsResetProductionSlotConfig200Response + | WebAppsResetProductionSlotConfigDefaultResponse + | WebAppsRestart200Response + | WebAppsRestartDefaultResponse + | WebAppsRestoreFromBackupBlob200Response + | WebAppsRestoreFromBackupBlob202Response + | WebAppsRestoreFromBackupBlobDefaultResponse + | WebAppsRestoreFromDeletedApp200Response + | WebAppsRestoreFromDeletedApp202Response + | WebAppsRestoreFromDeletedAppDefaultResponse + | WebAppsRestoreSnapshot200Response + | WebAppsRestoreSnapshot202Response + | WebAppsRestoreSnapshotDefaultResponse + | WebAppsListSiteExtensions200Response + | WebAppsListSiteExtensions404Response + | WebAppsListSiteExtensionsDefaultResponse + | WebAppsGetSiteExtension200Response + | WebAppsGetSiteExtension404Response + | WebAppsGetSiteExtensionDefaultResponse + | WebAppsInstallSiteExtension200Response + | WebAppsInstallSiteExtension201Response + | WebAppsInstallSiteExtension429Response + | WebAppsInstallSiteExtensionDefaultResponse + | WebAppsDeleteSiteExtension204Response + | WebAppsDeleteSiteExtension404Response + | WebAppsDeleteSiteExtensionDefaultResponse + | WebAppsListSlots200Response + | WebAppsListSlotsDefaultResponse + | WebAppsGetSlot200Response + | WebAppsGetSlot404Response + | WebAppsGetSlotDefaultResponse + | WebAppsCreateOrUpdateSlot200Response + | WebAppsCreateOrUpdateSlot202Response + | WebAppsCreateOrUpdateSlotDefaultResponse + | WebAppsDeleteSlot200Response + | WebAppsDeleteSlot204Response + | WebAppsDeleteSlot404Response + | WebAppsDeleteSlotDefaultResponse + | WebAppsUpdateSlot200Response + | WebAppsUpdateSlot202Response + | WebAppsUpdateSlotDefaultResponse + | WebAppsAnalyzeCustomHostnameSlot200Response + | WebAppsAnalyzeCustomHostnameSlotDefaultResponse + | WebAppsApplySlotConfigurationSlot200Response + | WebAppsApplySlotConfigurationSlotDefaultResponse + | WebAppsBackupSlot200Response + | WebAppsBackupSlotDefaultResponse + | WebAppsListBackupsSlot200Response + | WebAppsListBackupsSlotDefaultResponse + | WebAppsGetBackupStatusSlot200Response + | WebAppsGetBackupStatusSlotDefaultResponse + | WebAppsDeleteBackupSlot200Response + | WebAppsDeleteBackupSlot404Response + | WebAppsDeleteBackupSlotDefaultResponse + | WebAppsListBackupStatusSecretsSlot200Response + | WebAppsListBackupStatusSecretsSlotDefaultResponse + | WebAppsRestoreSlot200Response + | WebAppsRestoreSlot202Response + | WebAppsRestoreSlotDefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesSlot200Response + | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse + | WebAppsGetFtpAllowedSlot200Response + | WebAppsGetFtpAllowedSlotDefaultResponse + | WebAppsUpdateFtpAllowedSlot200Response + | WebAppsUpdateFtpAllowedSlotDefaultResponse + | WebAppsGetScmAllowedSlot200Response + | WebAppsGetScmAllowedSlotDefaultResponse + | WebAppsUpdateScmAllowedSlot200Response + | WebAppsUpdateScmAllowedSlotDefaultResponse + | WebAppsListConfigurationsSlot200Response + | WebAppsListConfigurationsSlotDefaultResponse + | WebAppsUpdateApplicationSettingsSlot200Response + | WebAppsUpdateApplicationSettingsSlotDefaultResponse + | WebAppsListApplicationSettingsSlot200Response + | WebAppsListApplicationSettingsSlotDefaultResponse + | WebAppsUpdateAuthSettingsSlot200Response + | WebAppsUpdateAuthSettingsSlotDefaultResponse + | WebAppsGetAuthSettingsSlot200Response + | WebAppsGetAuthSettingsSlotDefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response + | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse + | WebAppsUpdateAuthSettingsV2Slot200Response + | WebAppsUpdateAuthSettingsV2SlotDefaultResponse + | WebAppsGetAuthSettingsV2Slot200Response + | WebAppsGetAuthSettingsV2SlotDefaultResponse + | WebAppsUpdateAzureStorageAccountsSlot200Response + | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse + | WebAppsListAzureStorageAccountsSlot200Response + | WebAppsListAzureStorageAccountsSlotDefaultResponse + | WebAppsUpdateBackupConfigurationSlot200Response + | WebAppsUpdateBackupConfigurationSlotDefaultResponse + | WebAppsDeleteBackupConfigurationSlot200Response + | WebAppsDeleteBackupConfigurationSlotDefaultResponse + | WebAppsGetBackupConfigurationSlot200Response + | WebAppsGetBackupConfigurationSlotDefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesSlot200Response + | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceSlot200Response + | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse + | WebAppsUpdateConnectionStringsSlot200Response + | WebAppsUpdateConnectionStringsSlotDefaultResponse + | WebAppsListConnectionStringsSlot200Response + | WebAppsListConnectionStringsSlotDefaultResponse + | WebAppsGetDiagnosticLogsConfigurationSlot200Response + | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse + | WebAppsUpdateDiagnosticLogsConfigSlot200Response + | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse + | WebAppsUpdateMetadataSlot200Response + | WebAppsUpdateMetadataSlotDefaultResponse + | WebAppsListMetadataSlot200Response + | WebAppsListMetadataSlotDefaultResponse + | WebAppsListPublishingCredentialsSlot200Response + | WebAppsListPublishingCredentialsSlotDefaultResponse + | WebAppsUpdateSitePushSettingsSlot200Response + | WebAppsUpdateSitePushSettingsSlotDefaultResponse + | WebAppsListSitePushSettingsSlot200Response + | WebAppsListSitePushSettingsSlotDefaultResponse + | WebAppsGetConfigurationSlot200Response + | WebAppsGetConfigurationSlotDefaultResponse + | WebAppsCreateOrUpdateConfigurationSlot200Response + | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse + | WebAppsUpdateConfigurationSlot200Response + | WebAppsUpdateConfigurationSlotDefaultResponse + | WebAppsListConfigurationSnapshotInfoSlot200Response + | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse + | WebAppsGetConfigurationSnapshotSlot200Response + | WebAppsGetConfigurationSnapshotSlotDefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotSlot204Response + | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse + | WebAppsGetWebSiteContainerLogsSlot200Response + | WebAppsGetWebSiteContainerLogsSlot204Response + | WebAppsGetWebSiteContainerLogsSlotDefaultResponse + | WebAppsGetContainerLogsZipSlot200Response + | WebAppsGetContainerLogsZipSlot204Response + | WebAppsGetContainerLogsZipSlotDefaultResponse + | WebAppsListContinuousWebJobsSlot200Response + | WebAppsListContinuousWebJobsSlotDefaultResponse + | WebAppsGetContinuousWebJobSlot200Response + | WebAppsGetContinuousWebJobSlot404Response + | WebAppsGetContinuousWebJobSlotDefaultResponse + | WebAppsDeleteContinuousWebJobSlot200Response + | WebAppsDeleteContinuousWebJobSlot204Response + | WebAppsDeleteContinuousWebJobSlotDefaultResponse + | WebAppsStartContinuousWebJobSlot200Response + | WebAppsStartContinuousWebJobSlot404Response + | WebAppsStartContinuousWebJobSlotDefaultResponse + | WebAppsStopContinuousWebJobSlot200Response + | WebAppsStopContinuousWebJobSlot404Response + | WebAppsStopContinuousWebJobSlotDefaultResponse + | WebAppsListDeploymentsSlot200Response + | WebAppsListDeploymentsSlotDefaultResponse + | WebAppsGetDeploymentSlot200Response + | WebAppsGetDeploymentSlotDefaultResponse + | WebAppsCreateDeploymentSlot200Response + | WebAppsCreateDeploymentSlotDefaultResponse + | WebAppsDeleteDeploymentSlot200Response + | WebAppsDeleteDeploymentSlot204Response + | WebAppsDeleteDeploymentSlotDefaultResponse + | WebAppsListDeploymentLogSlot200Response + | WebAppsListDeploymentLogSlotDefaultResponse + | WebAppsDiscoverBackupSlot200Response + | WebAppsDiscoverBackupSlotDefaultResponse + | WebAppsListDomainOwnershipIdentifiersSlot200Response + | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse + | WebAppsGetDomainOwnershipIdentifierSlot200Response + | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierSlot200Response + | WebAppsDeleteDomainOwnershipIdentifierSlot204Response + | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierSlot200Response + | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsGetMSDeployStatusSlot200Response + | WebAppsGetMSDeployStatusSlotDefaultResponse + | WebAppsCreateMSDeployOperationSlot201Response + | WebAppsCreateMSDeployOperationSlot409Response + | WebAppsCreateMSDeployOperationSlotDefaultResponse + | WebAppsGetMSDeployLogSlot200Response + | WebAppsGetMSDeployLogSlot404Response + | WebAppsGetMSDeployLogSlotDefaultResponse + | WebAppsListInstanceFunctionsSlot200Response + | WebAppsListInstanceFunctionsSlot404Response + | WebAppsListInstanceFunctionsSlotDefaultResponse + | WebAppsGetFunctionsAdminTokenSlot200Response + | WebAppsGetFunctionsAdminTokenSlotDefaultResponse + | WebAppsGetInstanceFunctionSlot200Response + | WebAppsGetInstanceFunctionSlot404Response + | WebAppsGetInstanceFunctionSlotDefaultResponse + | WebAppsCreateInstanceFunctionSlot201Response + | WebAppsCreateInstanceFunctionSlotDefaultResponse + | WebAppsDeleteInstanceFunctionSlot204Response + | WebAppsDeleteInstanceFunctionSlot404Response + | WebAppsDeleteInstanceFunctionSlotDefaultResponse + | WebAppsCreateOrUpdateFunctionSecretSlot200Response + | WebAppsCreateOrUpdateFunctionSecretSlot201Response + | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse + | WebAppsDeleteFunctionSecretSlot204Response + | WebAppsDeleteFunctionSecretSlot404Response + | WebAppsDeleteFunctionSecretSlotDefaultResponse + | WebAppsListFunctionKeysSlot200Response + | WebAppsListFunctionKeysSlotDefaultResponse + | WebAppsListFunctionSecretsSlot200Response + | WebAppsListFunctionSecretsSlotDefaultResponse + | WebAppsListHostKeysSlot200Response + | WebAppsListHostKeysSlotDefaultResponse + | WebAppsListSyncStatusSlot204Response + | WebAppsListSyncStatusSlotDefaultResponse + | WebAppsSyncFunctionsSlot204Response + | WebAppsSyncFunctionsSlotDefaultResponse + | WebAppsCreateOrUpdateHostSecretSlot200Response + | WebAppsCreateOrUpdateHostSecretSlot201Response + | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse + | WebAppsDeleteHostSecretSlot204Response + | WebAppsDeleteHostSecretSlot404Response + | WebAppsDeleteHostSecretSlotDefaultResponse + | WebAppsListHostNameBindingsSlot200Response + | WebAppsListHostNameBindingsSlotDefaultResponse + | WebAppsGetHostNameBindingSlot200Response + | WebAppsGetHostNameBindingSlotDefaultResponse + | WebAppsCreateOrUpdateHostNameBindingSlot200Response + | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse + | WebAppsDeleteHostNameBindingSlot200Response + | WebAppsDeleteHostNameBindingSlot204Response + | WebAppsDeleteHostNameBindingSlotDefaultResponse + | WebAppsGetHybridConnectionSlot200Response + | WebAppsGetHybridConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateHybridConnectionSlot200Response + | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse + | WebAppsDeleteHybridConnectionSlot200Response + | WebAppsDeleteHybridConnectionSlot404Response + | WebAppsDeleteHybridConnectionSlotDefaultResponse + | WebAppsUpdateHybridConnectionSlot200Response + | WebAppsUpdateHybridConnectionSlotDefaultResponse + | WebAppsListHybridConnectionsSlot200Response + | WebAppsListHybridConnectionsSlotDefaultResponse + | WebAppsListRelayServiceConnectionsSlot200Response + | WebAppsListRelayServiceConnectionsSlotDefaultResponse + | WebAppsGetRelayServiceConnectionSlot200Response + | WebAppsGetRelayServiceConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response + | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse + | WebAppsDeleteRelayServiceConnectionSlot200Response + | WebAppsDeleteRelayServiceConnectionSlot404Response + | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse + | WebAppsUpdateRelayServiceConnectionSlot200Response + | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse + | WebAppsListInstanceIdentifiersSlot200Response + | WebAppsListInstanceIdentifiersSlotDefaultResponse + | WebAppsGetInstanceInfoSlot200Response + | WebAppsGetInstanceInfoSlotDefaultResponse + | WebAppsGetInstanceMsDeployStatusSlot200Response + | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse + | WebAppsCreateInstanceMSDeployOperationSlot201Response + | WebAppsCreateInstanceMSDeployOperationSlot409Response + | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse + | WebAppsGetInstanceMSDeployLogSlot200Response + | WebAppsGetInstanceMSDeployLogSlot404Response + | WebAppsGetInstanceMSDeployLogSlotDefaultResponse + | WebAppsListInstanceProcessesSlot200Response + | WebAppsListInstanceProcessesSlot404Response + | WebAppsListInstanceProcessesSlotDefaultResponse + | WebAppsGetInstanceProcessSlot200Response + | WebAppsGetInstanceProcessSlot404Response + | WebAppsGetInstanceProcessSlotDefaultResponse + | WebAppsDeleteInstanceProcessSlot204Response + | WebAppsDeleteInstanceProcessSlot404Response + | WebAppsDeleteInstanceProcessSlotDefaultResponse + | WebAppsGetInstanceProcessDumpSlot200Response + | WebAppsGetInstanceProcessDumpSlot404Response + | WebAppsGetInstanceProcessDumpSlotDefaultResponse + | WebAppsListInstanceProcessModulesSlot200Response + | WebAppsListInstanceProcessModulesSlot404Response + | WebAppsListInstanceProcessModulesSlotDefaultResponse + | WebAppsGetInstanceProcessModuleSlot200Response + | WebAppsGetInstanceProcessModuleSlot404Response + | WebAppsGetInstanceProcessModuleSlotDefaultResponse + | WebAppsListInstanceProcessThreadsSlot200Response + | WebAppsListInstanceProcessThreadsSlot404Response + | WebAppsListInstanceProcessThreadsSlotDefaultResponse + | WebAppsIsCloneableSlot200Response + | WebAppsIsCloneableSlotDefaultResponse + | WebAppsListSiteBackupsSlot200Response + | WebAppsListSiteBackupsSlotDefaultResponse + | WebAppsListSyncFunctionTriggersSlot200Response + | WebAppsListSyncFunctionTriggersSlotDefaultResponse + | WebAppsGetMigrateMySqlStatusSlot200Response + | WebAppsGetMigrateMySqlStatusSlotDefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionSlot200Response + | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse + | WebAppsDeleteSwiftVirtualNetworkSlot200Response + | WebAppsDeleteSwiftVirtualNetworkSlot404Response + | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse + | WebAppsListNetworkFeaturesSlot200Response + | WebAppsListNetworkFeaturesSlot404Response + | WebAppsListNetworkFeaturesSlotDefaultResponse + | WebAppsGetNetworkTraceOperationSlot200Response + | WebAppsGetNetworkTraceOperationSlot202Response + | WebAppsGetNetworkTraceOperationSlotDefaultResponse + | WebAppsStartWebSiteNetworkTraceSlot200Response + | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationSlot200Response + | WebAppsStartWebSiteNetworkTraceOperationSlot202Response + | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse + | WebAppsStopWebSiteNetworkTraceSlot200Response + | WebAppsStopWebSiteNetworkTraceSlot204Response + | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse + | WebAppsGetNetworkTracesSlot200Response + | WebAppsGetNetworkTracesSlotDefaultResponse + | WebAppsGetNetworkTraceOperationSlotV2200Response + | WebAppsGetNetworkTraceOperationSlotV2202Response + | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse + | WebAppsGetNetworkTracesSlotV2200Response + | WebAppsGetNetworkTracesSlotV2DefaultResponse + | WebAppsGenerateNewSitePublishingPasswordSlot200Response + | WebAppsGenerateNewSitePublishingPasswordSlot204Response + | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse + | WebAppsListPerfMonCountersSlot200Response + | WebAppsListPerfMonCountersSlotDefaultResponse + | WebAppsGetSitePhpErrorLogFlagSlot200Response + | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse + | WebAppsListPremierAddOnsSlot200Response + | WebAppsListPremierAddOnsSlotDefaultResponse + | WebAppsGetPremierAddOnSlot200Response + | WebAppsGetPremierAddOnSlotDefaultResponse + | WebAppsAddPremierAddOnSlot200Response + | WebAppsAddPremierAddOnSlotDefaultResponse + | WebAppsDeletePremierAddOnSlot200Response + | WebAppsDeletePremierAddOnSlotDefaultResponse + | WebAppsUpdatePremierAddOnSlot200Response + | WebAppsUpdatePremierAddOnSlotDefaultResponse + | WebAppsGetPrivateAccessSlot200Response + | WebAppsGetPrivateAccessSlotDefaultResponse + | WebAppsPutPrivateAccessVnetSlot200Response + | WebAppsPutPrivateAccessVnetSlotDefaultResponse + | WebAppsGetPrivateEndpointConnectionListSlot200Response + | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse + | WebAppsGetPrivateEndpointConnectionSlot200Response + | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response + | WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response + | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse + | WebAppsDeletePrivateEndpointConnectionSlot200Response + | WebAppsDeletePrivateEndpointConnectionSlot202Response + | WebAppsDeletePrivateEndpointConnectionSlot204Response + | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse + | WebAppsGetPrivateLinkResourcesSlot200Response + | WebAppsGetPrivateLinkResourcesSlotDefaultResponse + | WebAppsListProcessesSlot200Response + | WebAppsListProcessesSlot404Response + | WebAppsListProcessesSlotDefaultResponse + | WebAppsGetProcessSlot200Response + | WebAppsGetProcessSlot404Response + | WebAppsGetProcessSlotDefaultResponse + | WebAppsDeleteProcessSlot204Response + | WebAppsDeleteProcessSlot404Response + | WebAppsDeleteProcessSlotDefaultResponse + | WebAppsGetProcessDumpSlot200Response + | WebAppsGetProcessDumpSlot404Response + | WebAppsGetProcessDumpSlotDefaultResponse + | WebAppsListProcessModulesSlot200Response + | WebAppsListProcessModulesSlot404Response + | WebAppsListProcessModulesSlotDefaultResponse + | WebAppsGetProcessModuleSlot200Response + | WebAppsGetProcessModuleSlot404Response + | WebAppsGetProcessModuleSlotDefaultResponse + | WebAppsListProcessThreadsSlot200Response + | WebAppsListProcessThreadsSlot404Response + | WebAppsListProcessThreadsSlotDefaultResponse + | WebAppsListPublicCertificatesSlot200Response + | WebAppsListPublicCertificatesSlotDefaultResponse + | WebAppsGetPublicCertificateSlot200Response + | WebAppsGetPublicCertificateSlotDefaultResponse + | WebAppsCreateOrUpdatePublicCertificateSlot200Response + | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse + | WebAppsDeletePublicCertificateSlot200Response + | WebAppsDeletePublicCertificateSlot204Response + | WebAppsDeletePublicCertificateSlotDefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsSlot200Response + | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse + | WebAppsResetSlotConfigurationSlot200Response + | WebAppsResetSlotConfigurationSlotDefaultResponse + | WebAppsRestartSlot200Response + | WebAppsRestartSlotDefaultResponse + | WebAppsRestoreFromBackupBlobSlot200Response + | WebAppsRestoreFromBackupBlobSlot202Response + | WebAppsRestoreFromBackupBlobSlotDefaultResponse + | WebAppsRestoreFromDeletedAppSlot200Response + | WebAppsRestoreFromDeletedAppSlot202Response + | WebAppsRestoreFromDeletedAppSlotDefaultResponse + | WebAppsRestoreSnapshotSlot200Response + | WebAppsRestoreSnapshotSlot202Response + | WebAppsRestoreSnapshotSlotDefaultResponse + | WebAppsListSiteExtensionsSlot200Response + | WebAppsListSiteExtensionsSlot404Response + | WebAppsListSiteExtensionsSlotDefaultResponse + | WebAppsGetSiteExtensionSlot200Response + | WebAppsGetSiteExtensionSlot404Response + | WebAppsGetSiteExtensionSlotDefaultResponse + | WebAppsInstallSiteExtensionSlot200Response + | WebAppsInstallSiteExtensionSlot201Response + | WebAppsInstallSiteExtensionSlot429Response + | WebAppsInstallSiteExtensionSlotDefaultResponse + | WebAppsDeleteSiteExtensionSlot204Response + | WebAppsDeleteSiteExtensionSlot404Response + | WebAppsDeleteSiteExtensionSlotDefaultResponse + | WebAppsListSlotDifferencesSlot200Response + | WebAppsListSlotDifferencesSlotDefaultResponse + | WebAppsSwapSlot200Response + | WebAppsSwapSlot202Response + | WebAppsSwapSlotDefaultResponse + | WebAppsListSnapshotsSlot200Response + | WebAppsListSnapshotsSlotDefaultResponse + | WebAppsListSnapshotsFromDRSecondarySlot200Response + | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse + | WebAppsGetSourceControlSlot200Response + | WebAppsGetSourceControlSlot201Response + | WebAppsGetSourceControlSlot202Response + | WebAppsGetSourceControlSlotDefaultResponse + | WebAppsCreateOrUpdateSourceControlSlot200Response + | WebAppsCreateOrUpdateSourceControlSlot201Response + | WebAppsCreateOrUpdateSourceControlSlot202Response + | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse + | WebAppsDeleteSourceControlSlot200Response + | WebAppsDeleteSourceControlSlot202Response + | WebAppsDeleteSourceControlSlot404Response + | WebAppsDeleteSourceControlSlotDefaultResponse + | WebAppsUpdateSourceControlSlot200Response + | WebAppsUpdateSourceControlSlot201Response + | WebAppsUpdateSourceControlSlot202Response + | WebAppsUpdateSourceControlSlotDefaultResponse + | WebAppsStartSlot200Response + | WebAppsStartSlotDefaultResponse + | WebAppsStartNetworkTraceSlot200Response + | WebAppsStartNetworkTraceSlot202Response + | WebAppsStartNetworkTraceSlotDefaultResponse + | WebAppsStopSlot200Response + | WebAppsStopSlotDefaultResponse + | WebAppsStopNetworkTraceSlot200Response + | WebAppsStopNetworkTraceSlot204Response + | WebAppsStopNetworkTraceSlotDefaultResponse + | WebAppsSyncRepositorySlot200Response + | WebAppsSyncRepositorySlotDefaultResponse + | WebAppsSyncFunctionTriggersSlot204Response + | WebAppsSyncFunctionTriggersSlotDefaultResponse + | WebAppsListTriggeredWebJobsSlot200Response + | WebAppsListTriggeredWebJobsSlotDefaultResponse + | WebAppsGetTriggeredWebJobSlot200Response + | WebAppsGetTriggeredWebJobSlot404Response + | WebAppsGetTriggeredWebJobSlotDefaultResponse + | WebAppsDeleteTriggeredWebJobSlot200Response + | WebAppsDeleteTriggeredWebJobSlot204Response + | WebAppsDeleteTriggeredWebJobSlotDefaultResponse + | WebAppsListTriggeredWebJobHistorySlot200Response + | WebAppsListTriggeredWebJobHistorySlot404Response + | WebAppsListTriggeredWebJobHistorySlotDefaultResponse + | WebAppsGetTriggeredWebJobHistorySlot200Response + | WebAppsGetTriggeredWebJobHistorySlot404Response + | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse + | WebAppsRunTriggeredWebJobSlot200Response + | WebAppsRunTriggeredWebJobSlot404Response + | WebAppsRunTriggeredWebJobSlotDefaultResponse + | WebAppsListUsagesSlot200Response + | WebAppsListUsagesSlotDefaultResponse + | WebAppsListVnetConnectionsSlot200Response + | WebAppsListVnetConnectionsSlotDefaultResponse + | WebAppsGetVnetConnectionSlot200Response + | WebAppsGetVnetConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionSlot200Response + | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse + | WebAppsDeleteVnetConnectionSlot200Response + | WebAppsDeleteVnetConnectionSlot404Response + | WebAppsDeleteVnetConnectionSlotDefaultResponse + | WebAppsUpdateVnetConnectionSlot200Response + | WebAppsUpdateVnetConnectionSlotDefaultResponse + | WebAppsGetVnetConnectionGatewaySlot200Response + | WebAppsGetVnetConnectionGatewaySlot404Response + | WebAppsGetVnetConnectionGatewaySlotDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response + | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse + | WebAppsUpdateVnetConnectionGatewaySlot200Response + | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse + | WebAppsListWebJobsSlot200Response + | WebAppsListWebJobsSlotDefaultResponse + | WebAppsGetWebJobSlot200Response + | WebAppsGetWebJobSlotDefaultResponse + | WebAppsListSlotDifferencesFromProduction200Response + | WebAppsListSlotDifferencesFromProductionDefaultResponse + | WebAppsSwapSlotWithProduction200Response + | WebAppsSwapSlotWithProduction202Response + | WebAppsSwapSlotWithProductionDefaultResponse + | WebAppsListSnapshots200Response + | WebAppsListSnapshotsDefaultResponse + | WebAppsListSnapshotsFromDRSecondary200Response + | WebAppsListSnapshotsFromDRSecondaryDefaultResponse + | WebAppsGetSourceControl200Response + | WebAppsGetSourceControl201Response + | WebAppsGetSourceControl202Response + | WebAppsGetSourceControlDefaultResponse + | WebAppsCreateOrUpdateSourceControl200Response + | WebAppsCreateOrUpdateSourceControl201Response + | WebAppsCreateOrUpdateSourceControl202Response + | WebAppsCreateOrUpdateSourceControlDefaultResponse + | WebAppsDeleteSourceControl200Response + | WebAppsDeleteSourceControl202Response + | WebAppsDeleteSourceControl404Response + | WebAppsDeleteSourceControlDefaultResponse + | WebAppsUpdateSourceControl200Response + | WebAppsUpdateSourceControl201Response + | WebAppsUpdateSourceControl202Response + | WebAppsUpdateSourceControlDefaultResponse + | WebAppsStart200Response + | WebAppsStartDefaultResponse + | WebAppsStartNetworkTrace200Response + | WebAppsStartNetworkTrace202Response + | WebAppsStartNetworkTraceDefaultResponse + | WebAppsStop200Response + | WebAppsStopDefaultResponse + | WebAppsStopNetworkTrace200Response + | WebAppsStopNetworkTrace204Response + | WebAppsStopNetworkTraceDefaultResponse + | WebAppsSyncRepository200Response + | WebAppsSyncRepositoryDefaultResponse + | WebAppsSyncFunctionTriggers204Response + | WebAppsSyncFunctionTriggersDefaultResponse + | WebAppsListTriggeredWebJobs200Response + | WebAppsListTriggeredWebJobsDefaultResponse + | WebAppsGetTriggeredWebJob200Response + | WebAppsGetTriggeredWebJob404Response + | WebAppsGetTriggeredWebJobDefaultResponse + | WebAppsDeleteTriggeredWebJob200Response + | WebAppsDeleteTriggeredWebJob204Response + | WebAppsDeleteTriggeredWebJobDefaultResponse + | WebAppsListTriggeredWebJobHistory200Response + | WebAppsListTriggeredWebJobHistory404Response + | WebAppsListTriggeredWebJobHistoryDefaultResponse + | WebAppsGetTriggeredWebJobHistory200Response + | WebAppsGetTriggeredWebJobHistory404Response + | WebAppsGetTriggeredWebJobHistoryDefaultResponse + | WebAppsRunTriggeredWebJob200Response + | WebAppsRunTriggeredWebJob404Response + | WebAppsRunTriggeredWebJobDefaultResponse + | WebAppsListUsages200Response + | WebAppsListUsagesDefaultResponse + | WebAppsListVnetConnections200Response + | WebAppsListVnetConnectionsDefaultResponse + | WebAppsGetVnetConnection200Response + | WebAppsGetVnetConnectionDefaultResponse + | WebAppsCreateOrUpdateVnetConnection200Response + | WebAppsCreateOrUpdateVnetConnectionDefaultResponse + | WebAppsDeleteVnetConnection200Response + | WebAppsDeleteVnetConnection404Response + | WebAppsDeleteVnetConnectionDefaultResponse + | WebAppsUpdateVnetConnection200Response + | WebAppsUpdateVnetConnectionDefaultResponse + | WebAppsGetVnetConnectionGateway200Response + | WebAppsGetVnetConnectionGateway404Response + | WebAppsGetVnetConnectionGatewayDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGateway200Response + | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse + | WebAppsUpdateVnetConnectionGateway200Response + | WebAppsUpdateVnetConnectionGatewayDefaultResponse + | WebAppsListWebJobs200Response + | WebAppsListWebJobsDefaultResponse + | WebAppsGetWebJob200Response + | WebAppsGetWebJobDefaultResponse, +): response is + | AppServiceCertificateOrdersListDefaultResponse + | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse + | AppServiceCertificateOrdersListByResourceGroupDefaultResponse + | AppServiceCertificateOrdersGetDefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse + | AppServiceCertificateOrdersDeleteDefaultResponse + | AppServiceCertificateOrdersUpdateDefaultResponse + | AppServiceCertificateOrdersListCertificatesDefaultResponse + | AppServiceCertificateOrdersGetCertificateDefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse + | AppServiceCertificateOrdersDeleteCertificateDefaultResponse + | AppServiceCertificateOrdersUpdateCertificateDefaultResponse + | AppServiceCertificateOrdersReissueDefaultResponse + | AppServiceCertificateOrdersRenewDefaultResponse + | AppServiceCertificateOrdersResendEmailDefaultResponse + | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse + | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse + | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse + | CertificateRegistrationProviderListOperationsDefaultResponse + | DomainsCheckAvailabilityDefaultResponse + | DomainsListDefaultResponse + | DomainsGetControlCenterSsoRequestDefaultResponse + | DomainsListRecommendationsDefaultResponse + | DomainsListByResourceGroupDefaultResponse + | DomainsGetDefaultResponse + | DomainsCreateOrUpdateDefaultResponse + | DomainsDeleteDefaultResponse + | DomainsUpdateDefaultResponse + | DomainsListOwnershipIdentifiersDefaultResponse + | DomainsGetOwnershipIdentifierDefaultResponse + | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse + | DomainsDeleteOwnershipIdentifierDefaultResponse + | DomainsUpdateOwnershipIdentifierDefaultResponse + | DomainsRenewDefaultResponse + | DomainsTransferOut400Response + | DomainsTransferOutDefaultResponse + | TopLevelDomainsListDefaultResponse + | TopLevelDomainsGetDefaultResponse + | TopLevelDomainsListAgreementsDefaultResponse + | DomainRegistrationProviderListOperationsDefaultResponse + | AppServiceEnvironmentsListDefaultResponse + | AppServiceEnvironmentsListByResourceGroupDefaultResponse + | AppServiceEnvironmentsGetDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateDefaultResponse + | AppServiceEnvironmentsDeleteDefaultResponse + | AppServiceEnvironmentsUpdateDefaultResponse + | AppServiceEnvironmentsListCapacitiesDefaultResponse + | AppServiceEnvironmentsGetVipInfoDefaultResponse + | AppServiceEnvironmentsChangeVnetDefaultResponse + | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse + | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse + | AppServiceEnvironmentsListDiagnosticsDefaultResponse + | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse + | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse + | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse + | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse + | AppServiceEnvironmentsListOperationsDefaultResponse + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse + | AppServiceEnvironmentsRebootDefaultResponse + | AppServiceEnvironmentsResumeDefaultResponse + | AppServiceEnvironmentsListAppServicePlansDefaultResponse + | AppServiceEnvironmentsListWebAppsDefaultResponse + | AppServiceEnvironmentsSuspendDefaultResponse + | AppServiceEnvironmentsListUsagesDefaultResponse + | AppServiceEnvironmentsListWorkerPoolsDefaultResponse + | AppServiceEnvironmentsGetWorkerPoolDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse + | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse + | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse + | AppServicePlansListDefaultResponse + | AppServicePlansListByResourceGroupDefaultResponse + | AppServicePlansGet404Response + | AppServicePlansGetDefaultResponse + | AppServicePlansCreateOrUpdateDefaultResponse + | AppServicePlansDeleteDefaultResponse + | AppServicePlansUpdateDefaultResponse + | AppServicePlansListCapabilitiesDefaultResponse + | AppServicePlansGetHybridConnectionDefaultResponse + | AppServicePlansDeleteHybridConnectionDefaultResponse + | AppServicePlansListHybridConnectionKeysDefaultResponse + | AppServicePlansListWebAppsByHybridConnectionDefaultResponse + | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse + | AppServicePlansListHybridConnectionsDefaultResponse + | AppServicePlansRestartWebAppsDefaultResponse + | AppServicePlansListWebAppsDefaultResponse + | AppServicePlansGetServerFarmSkusDefaultResponse + | AppServicePlansListUsagesDefaultResponse + | AppServicePlansListVnetsDefaultResponse + | AppServicePlansGetVnetFromServerFarm404Response + | AppServicePlansGetVnetFromServerFarmDefaultResponse + | AppServicePlansGetVnetGatewayDefaultResponse + | AppServicePlansUpdateVnetGatewayDefaultResponse + | AppServicePlansListRoutesForVnetDefaultResponse + | AppServicePlansGetRouteForVnet404Response + | AppServicePlansGetRouteForVnetDefaultResponse + | AppServicePlansCreateOrUpdateVnetRoute400Response + | AppServicePlansCreateOrUpdateVnetRoute404Response + | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse + | AppServicePlansDeleteVnetRoute404Response + | AppServicePlansDeleteVnetRouteDefaultResponse + | AppServicePlansUpdateVnetRoute400Response + | AppServicePlansUpdateVnetRoute404Response + | AppServicePlansUpdateVnetRouteDefaultResponse + | AppServicePlansRebootWorkerDefaultResponse + | CertificatesListDefaultResponse + | CertificatesListByResourceGroupDefaultResponse + | CertificatesGetDefaultResponse + | CertificatesCreateOrUpdateDefaultResponse + | CertificatesDeleteDefaultResponse + | CertificatesUpdateDefaultResponse + | ContainerAppsListBySubscriptionDefaultResponse + | ContainerAppsListByResourceGroupDefaultResponse + | ContainerAppsGet404Response + | ContainerAppsGetDefaultResponse + | ContainerAppsCreateOrUpdateDefaultResponse + | ContainerAppsDeleteDefaultResponse + | ContainerAppsListSecretsDefaultResponse + | ContainerAppsRevisionsListRevisionsDefaultResponse + | ContainerAppsRevisionsGetRevisionDefaultResponse + | ContainerAppsRevisionsActivateRevisionDefaultResponse + | ContainerAppsRevisionsDeactivateRevisionDefaultResponse + | ContainerAppsRevisionsRestartRevisionDefaultResponse + | DeletedWebAppsListDefaultResponse + | DeletedWebAppsListByLocationDefaultResponse + | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse + | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse + | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse + | DiagnosticsListSiteDetectorResponsesDefaultResponse + | DiagnosticsGetSiteDetectorResponseDefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse + | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse + | DiagnosticsListSiteAnalysesDefaultResponse + | DiagnosticsGetSiteAnalysisDefaultResponse + | DiagnosticsExecuteSiteAnalysisDefaultResponse + | DiagnosticsListSiteDetectorsDefaultResponse + | DiagnosticsGetSiteDetectorDefaultResponse + | DiagnosticsExecuteSiteDetectorDefaultResponse + | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse + | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse + | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse + | DiagnosticsListSiteAnalysesSlotDefaultResponse + | DiagnosticsGetSiteAnalysisSlotDefaultResponse + | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse + | DiagnosticsListSiteDetectorsSlotDefaultResponse + | DiagnosticsGetSiteDetectorSlotDefaultResponse + | DiagnosticsExecuteSiteDetectorSlotDefaultResponse + | GlobalGetDeletedWebAppDefaultResponse + | GlobalGetDeletedWebAppSnapshotsDefaultResponse + | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse + | KubeEnvironmentsListBySubscriptionDefaultResponse + | KubeEnvironmentsListByResourceGroupDefaultResponse + | KubeEnvironmentsGetDefaultResponse + | KubeEnvironmentsCreateOrUpdateDefaultResponse + | KubeEnvironmentsDeleteDefaultResponse + | KubeEnvironmentsUpdateDefaultResponse + | ProviderGetAvailableStacksDefaultResponse + | ProviderGetFunctionAppStacksDefaultResponse + | ProviderGetFunctionAppStacksForLocationDefaultResponse + | ProviderGetWebAppStacksForLocationDefaultResponse + | ProviderListOperationsDefaultResponse + | ProviderGetWebAppStacksDefaultResponse + | ProviderGetAvailableStacksOnPremDefaultResponse + | RecommendationsListDefaultResponse + | RecommendationsResetAllFiltersDefaultResponse + | RecommendationsDisableRecommendationForSubscriptionDefaultResponse + | RecommendationsListHistoryForHostingEnvironmentDefaultResponse + | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse + | RecommendationsDisableAllForHostingEnvironmentDefaultResponse + | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse + | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse + | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse + | RecommendationsListHistoryForWebAppDefaultResponse + | RecommendationsListRecommendedRulesForWebAppDefaultResponse + | RecommendationsDisableAllForWebAppDefaultResponse + | RecommendationsResetAllFiltersForWebAppDefaultResponse + | RecommendationsGetRuleDetailsByWebAppDefaultResponse + | RecommendationsDisableRecommendationForSiteDefaultResponse + | ResourceHealthMetadataListDefaultResponse + | ResourceHealthMetadataListByResourceGroupDefaultResponse + | ResourceHealthMetadataListBySiteDefaultResponse + | ResourceHealthMetadataGetBySiteDefaultResponse + | ResourceHealthMetadataListBySiteSlotDefaultResponse + | ResourceHealthMetadataGetBySiteSlotDefaultResponse + | GetPublishingUserDefaultResponse + | UpdatePublishingUserDefaultResponse + | ListSourceControlsDefaultResponse + | GetSourceControlDefaultResponse + | UpdateSourceControlDefaultResponse + | ListBillingMetersDefaultResponse + | CheckNameAvailabilityDefaultResponse + | ListCustomHostNameSitesDefaultResponse + | GetSubscriptionDeploymentLocationsDefaultResponse + | ListGeoRegionsDefaultResponse + | ListSiteIdentifiersAssignedToHostNameDefaultResponse + | ListPremierAddOnOffersDefaultResponse + | ListSkusDefaultResponse + | VerifyHostingEnvironmentVnetDefaultResponse + | MoveDefaultResponse + | ValidateDefaultResponse + | ValidateMoveDefaultResponse + | StaticSitesPreviewWorkflowDefaultResponse + | StaticSitesListDefaultResponse + | StaticSitesGetStaticSitesByResourceGroupDefaultResponse + | StaticSitesGetStaticSiteDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteDefaultResponse + | StaticSitesDeleteStaticSiteDefaultResponse + | StaticSitesUpdateStaticSiteDefaultResponse + | StaticSitesListStaticSiteUsersDefaultResponse + | StaticSitesDeleteStaticSiteUserDefaultResponse + | StaticSitesUpdateStaticSiteUserDefaultResponse + | StaticSitesGetStaticSiteBuildsDefaultResponse + | StaticSitesGetStaticSiteBuildDefaultResponse + | StaticSitesDeleteStaticSiteBuildDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse + | StaticSitesListStaticSiteBuildFunctionsDefaultResponse + | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse + | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse + | StaticSitesCreateUserRolesInvitationLinkDefaultResponse + | StaticSitesListStaticSiteCustomDomainsDefaultResponse + | StaticSitesGetStaticSiteCustomDomainDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse + | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse + | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse + | StaticSitesDetachStaticSiteDefaultResponse + | StaticSitesListStaticSiteFunctionsDefaultResponse + | StaticSitesListStaticSiteAppSettingsDefaultResponse + | StaticSitesListStaticSiteConfiguredRolesDefaultResponse + | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse + | StaticSitesListStaticSiteSecretsDefaultResponse + | StaticSitesGetPrivateEndpointConnectionListDefaultResponse + | StaticSitesGetPrivateEndpointConnectionDefaultResponse + | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse + | StaticSitesDeletePrivateEndpointConnectionDefaultResponse + | StaticSitesGetPrivateLinkResourcesDefaultResponse + | StaticSitesResetStaticSiteApiKeyDefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse + | WebAppsListDefaultResponse + | WebAppsListByResourceGroupDefaultResponse + | WebAppsGet404Response + | WebAppsGetDefaultResponse + | WebAppsCreateOrUpdateDefaultResponse + | WebAppsDelete404Response + | WebAppsDeleteDefaultResponse + | WebAppsUpdateDefaultResponse + | WebAppsAnalyzeCustomHostnameDefaultResponse + | WebAppsApplySlotConfigToProductionDefaultResponse + | WebAppsBackupDefaultResponse + | WebAppsListBackupsDefaultResponse + | WebAppsGetBackupStatusDefaultResponse + | WebAppsDeleteBackup404Response + | WebAppsDeleteBackupDefaultResponse + | WebAppsListBackupStatusSecretsDefaultResponse + | WebAppsRestoreDefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse + | WebAppsGetFtpAllowedDefaultResponse + | WebAppsUpdateFtpAllowedDefaultResponse + | WebAppsGetScmAllowedDefaultResponse + | WebAppsUpdateScmAllowedDefaultResponse + | WebAppsListConfigurationsDefaultResponse + | WebAppsUpdateApplicationSettingsDefaultResponse + | WebAppsListApplicationSettingsDefaultResponse + | WebAppsUpdateAuthSettingsDefaultResponse + | WebAppsGetAuthSettingsDefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse + | WebAppsUpdateAuthSettingsV2DefaultResponse + | WebAppsGetAuthSettingsV2DefaultResponse + | WebAppsUpdateAzureStorageAccountsDefaultResponse + | WebAppsListAzureStorageAccountsDefaultResponse + | WebAppsUpdateBackupConfigurationDefaultResponse + | WebAppsDeleteBackupConfigurationDefaultResponse + | WebAppsGetBackupConfigurationDefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse + | WebAppsUpdateConnectionStringsDefaultResponse + | WebAppsListConnectionStringsDefaultResponse + | WebAppsGetDiagnosticLogsConfigurationDefaultResponse + | WebAppsUpdateDiagnosticLogsConfigDefaultResponse + | WebAppsUpdateMetadataDefaultResponse + | WebAppsListMetadataDefaultResponse + | WebAppsListPublishingCredentialsDefaultResponse + | WebAppsUpdateSitePushSettingsDefaultResponse + | WebAppsListSitePushSettingsDefaultResponse + | WebAppsListSlotConfigurationNamesDefaultResponse + | WebAppsUpdateSlotConfigurationNamesDefaultResponse + | WebAppsGetConfigurationDefaultResponse + | WebAppsCreateOrUpdateConfigurationDefaultResponse + | WebAppsUpdateConfigurationDefaultResponse + | WebAppsListConfigurationSnapshotInfoDefaultResponse + | WebAppsGetConfigurationSnapshotDefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse + | WebAppsGetWebSiteContainerLogsDefaultResponse + | WebAppsGetContainerLogsZipDefaultResponse + | WebAppsListContinuousWebJobsDefaultResponse + | WebAppsGetContinuousWebJob404Response + | WebAppsGetContinuousWebJobDefaultResponse + | WebAppsDeleteContinuousWebJobDefaultResponse + | WebAppsStartContinuousWebJob404Response + | WebAppsStartContinuousWebJobDefaultResponse + | WebAppsStopContinuousWebJob404Response + | WebAppsStopContinuousWebJobDefaultResponse + | WebAppsListDeploymentsDefaultResponse + | WebAppsGetDeploymentDefaultResponse + | WebAppsCreateDeploymentDefaultResponse + | WebAppsDeleteDeploymentDefaultResponse + | WebAppsListDeploymentLogDefaultResponse + | WebAppsDiscoverBackupDefaultResponse + | WebAppsListDomainOwnershipIdentifiersDefaultResponse + | WebAppsGetDomainOwnershipIdentifierDefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse + | WebAppsGetMSDeployStatusDefaultResponse + | WebAppsCreateMSDeployOperation409Response + | WebAppsCreateMSDeployOperationDefaultResponse + | WebAppsGetMSDeployLog404Response + | WebAppsGetMSDeployLogDefaultResponse + | WebAppsGetOneDeployStatusDefaultResponse + | WebAppsCreateOneDeployOperationDefaultResponse + | WebAppsListFunctions404Response + | WebAppsListFunctionsDefaultResponse + | WebAppsGetFunctionsAdminTokenDefaultResponse + | WebAppsGetFunction404Response + | WebAppsGetFunctionDefaultResponse + | WebAppsCreateFunctionDefaultResponse + | WebAppsDeleteFunction404Response + | WebAppsDeleteFunctionDefaultResponse + | WebAppsCreateOrUpdateFunctionSecretDefaultResponse + | WebAppsDeleteFunctionSecret404Response + | WebAppsDeleteFunctionSecretDefaultResponse + | WebAppsListFunctionKeysDefaultResponse + | WebAppsListFunctionSecretsDefaultResponse + | WebAppsListHostKeysDefaultResponse + | WebAppsListSyncStatusDefaultResponse + | WebAppsSyncFunctionsDefaultResponse + | WebAppsCreateOrUpdateHostSecretDefaultResponse + | WebAppsDeleteHostSecret404Response + | WebAppsDeleteHostSecretDefaultResponse + | WebAppsListHostNameBindingsDefaultResponse + | WebAppsGetHostNameBindingDefaultResponse + | WebAppsCreateOrUpdateHostNameBindingDefaultResponse + | WebAppsDeleteHostNameBindingDefaultResponse + | WebAppsGetHybridConnectionDefaultResponse + | WebAppsCreateOrUpdateHybridConnectionDefaultResponse + | WebAppsDeleteHybridConnection404Response + | WebAppsDeleteHybridConnectionDefaultResponse + | WebAppsUpdateHybridConnectionDefaultResponse + | WebAppsListHybridConnectionsDefaultResponse + | WebAppsListRelayServiceConnectionsDefaultResponse + | WebAppsGetRelayServiceConnectionDefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse + | WebAppsDeleteRelayServiceConnection404Response + | WebAppsDeleteRelayServiceConnectionDefaultResponse + | WebAppsUpdateRelayServiceConnectionDefaultResponse + | WebAppsListInstanceIdentifiersDefaultResponse + | WebAppsGetInstanceInfoDefaultResponse + | WebAppsGetInstanceMsDeployStatusDefaultResponse + | WebAppsCreateInstanceMSDeployOperation409Response + | WebAppsCreateInstanceMSDeployOperationDefaultResponse + | WebAppsGetInstanceMSDeployLog404Response + | WebAppsGetInstanceMSDeployLogDefaultResponse + | WebAppsListInstanceProcesses404Response + | WebAppsListInstanceProcessesDefaultResponse + | WebAppsGetInstanceProcess404Response + | WebAppsGetInstanceProcessDefaultResponse + | WebAppsDeleteInstanceProcess404Response + | WebAppsDeleteInstanceProcessDefaultResponse + | WebAppsGetInstanceProcessDump404Response + | WebAppsGetInstanceProcessDumpDefaultResponse + | WebAppsListInstanceProcessModules404Response + | WebAppsListInstanceProcessModulesDefaultResponse + | WebAppsGetInstanceProcessModule404Response + | WebAppsGetInstanceProcessModuleDefaultResponse + | WebAppsListInstanceProcessThreads404Response + | WebAppsListInstanceProcessThreadsDefaultResponse + | WebAppsIsCloneableDefaultResponse + | WebAppsListSiteBackupsDefaultResponse + | WebAppsListSyncFunctionTriggersDefaultResponse + | WebAppsMigrateStorageDefaultResponse + | WebAppsMigrateMySqlDefaultResponse + | WebAppsGetMigrateMySqlStatusDefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse + | WebAppsDeleteSwiftVirtualNetwork404Response + | WebAppsDeleteSwiftVirtualNetworkDefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse + | WebAppsListNetworkFeatures404Response + | WebAppsListNetworkFeaturesDefaultResponse + | WebAppsGetNetworkTraceOperationDefaultResponse + | WebAppsStartWebSiteNetworkTraceDefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse + | WebAppsStopWebSiteNetworkTraceDefaultResponse + | WebAppsGetNetworkTracesDefaultResponse + | WebAppsGetNetworkTraceOperationV2DefaultResponse + | WebAppsGetNetworkTracesV2DefaultResponse + | WebAppsGenerateNewSitePublishingPasswordDefaultResponse + | WebAppsListPerfMonCountersDefaultResponse + | WebAppsGetSitePhpErrorLogFlagDefaultResponse + | WebAppsListPremierAddOnsDefaultResponse + | WebAppsGetPremierAddOnDefaultResponse + | WebAppsAddPremierAddOnDefaultResponse + | WebAppsDeletePremierAddOnDefaultResponse + | WebAppsUpdatePremierAddOnDefaultResponse + | WebAppsGetPrivateAccessDefaultResponse + | WebAppsPutPrivateAccessVnetDefaultResponse + | WebAppsGetPrivateEndpointConnectionListDefaultResponse + | WebAppsGetPrivateEndpointConnectionDefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse + | WebAppsDeletePrivateEndpointConnectionDefaultResponse + | WebAppsGetPrivateLinkResourcesDefaultResponse + | WebAppsListProcesses404Response + | WebAppsListProcessesDefaultResponse + | WebAppsGetProcess404Response + | WebAppsGetProcessDefaultResponse + | WebAppsDeleteProcess404Response + | WebAppsDeleteProcessDefaultResponse + | WebAppsGetProcessDump404Response + | WebAppsGetProcessDumpDefaultResponse + | WebAppsListProcessModules404Response + | WebAppsListProcessModulesDefaultResponse + | WebAppsGetProcessModule404Response + | WebAppsGetProcessModuleDefaultResponse + | WebAppsListProcessThreads404Response + | WebAppsListProcessThreadsDefaultResponse + | WebAppsListPublicCertificatesDefaultResponse + | WebAppsGetPublicCertificateDefaultResponse + | WebAppsCreateOrUpdatePublicCertificateDefaultResponse + | WebAppsDeletePublicCertificateDefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse + | WebAppsResetProductionSlotConfigDefaultResponse + | WebAppsRestartDefaultResponse + | WebAppsRestoreFromBackupBlobDefaultResponse + | WebAppsRestoreFromDeletedAppDefaultResponse + | WebAppsRestoreSnapshotDefaultResponse + | WebAppsListSiteExtensions404Response + | WebAppsListSiteExtensionsDefaultResponse + | WebAppsGetSiteExtension404Response + | WebAppsGetSiteExtensionDefaultResponse + | WebAppsInstallSiteExtension429Response + | WebAppsInstallSiteExtensionDefaultResponse + | WebAppsDeleteSiteExtension404Response + | WebAppsDeleteSiteExtensionDefaultResponse + | WebAppsListSlotsDefaultResponse + | WebAppsGetSlot404Response + | WebAppsGetSlotDefaultResponse + | WebAppsCreateOrUpdateSlotDefaultResponse + | WebAppsDeleteSlot404Response + | WebAppsDeleteSlotDefaultResponse + | WebAppsUpdateSlotDefaultResponse + | WebAppsAnalyzeCustomHostnameSlotDefaultResponse + | WebAppsApplySlotConfigurationSlotDefaultResponse + | WebAppsBackupSlotDefaultResponse + | WebAppsListBackupsSlotDefaultResponse + | WebAppsGetBackupStatusSlotDefaultResponse + | WebAppsDeleteBackupSlot404Response + | WebAppsDeleteBackupSlotDefaultResponse + | WebAppsListBackupStatusSecretsSlotDefaultResponse + | WebAppsRestoreSlotDefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse + | WebAppsGetFtpAllowedSlotDefaultResponse + | WebAppsUpdateFtpAllowedSlotDefaultResponse + | WebAppsGetScmAllowedSlotDefaultResponse + | WebAppsUpdateScmAllowedSlotDefaultResponse + | WebAppsListConfigurationsSlotDefaultResponse + | WebAppsUpdateApplicationSettingsSlotDefaultResponse + | WebAppsListApplicationSettingsSlotDefaultResponse + | WebAppsUpdateAuthSettingsSlotDefaultResponse + | WebAppsGetAuthSettingsSlotDefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse + | WebAppsUpdateAuthSettingsV2SlotDefaultResponse + | WebAppsGetAuthSettingsV2SlotDefaultResponse + | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse + | WebAppsListAzureStorageAccountsSlotDefaultResponse + | WebAppsUpdateBackupConfigurationSlotDefaultResponse + | WebAppsDeleteBackupConfigurationSlotDefaultResponse + | WebAppsGetBackupConfigurationSlotDefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse + | WebAppsUpdateConnectionStringsSlotDefaultResponse + | WebAppsListConnectionStringsSlotDefaultResponse + | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse + | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse + | WebAppsUpdateMetadataSlotDefaultResponse + | WebAppsListMetadataSlotDefaultResponse + | WebAppsListPublishingCredentialsSlotDefaultResponse + | WebAppsUpdateSitePushSettingsSlotDefaultResponse + | WebAppsListSitePushSettingsSlotDefaultResponse + | WebAppsGetConfigurationSlotDefaultResponse + | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse + | WebAppsUpdateConfigurationSlotDefaultResponse + | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse + | WebAppsGetConfigurationSnapshotSlotDefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse + | WebAppsGetWebSiteContainerLogsSlotDefaultResponse + | WebAppsGetContainerLogsZipSlotDefaultResponse + | WebAppsListContinuousWebJobsSlotDefaultResponse + | WebAppsGetContinuousWebJobSlot404Response + | WebAppsGetContinuousWebJobSlotDefaultResponse + | WebAppsDeleteContinuousWebJobSlotDefaultResponse + | WebAppsStartContinuousWebJobSlot404Response + | WebAppsStartContinuousWebJobSlotDefaultResponse + | WebAppsStopContinuousWebJobSlot404Response + | WebAppsStopContinuousWebJobSlotDefaultResponse + | WebAppsListDeploymentsSlotDefaultResponse + | WebAppsGetDeploymentSlotDefaultResponse + | WebAppsCreateDeploymentSlotDefaultResponse + | WebAppsDeleteDeploymentSlotDefaultResponse + | WebAppsListDeploymentLogSlotDefaultResponse + | WebAppsDiscoverBackupSlotDefaultResponse + | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse + | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsGetMSDeployStatusSlotDefaultResponse + | WebAppsCreateMSDeployOperationSlot409Response + | WebAppsCreateMSDeployOperationSlotDefaultResponse + | WebAppsGetMSDeployLogSlot404Response + | WebAppsGetMSDeployLogSlotDefaultResponse + | WebAppsListInstanceFunctionsSlot404Response + | WebAppsListInstanceFunctionsSlotDefaultResponse + | WebAppsGetFunctionsAdminTokenSlotDefaultResponse + | WebAppsGetInstanceFunctionSlot404Response + | WebAppsGetInstanceFunctionSlotDefaultResponse + | WebAppsCreateInstanceFunctionSlotDefaultResponse + | WebAppsDeleteInstanceFunctionSlot404Response + | WebAppsDeleteInstanceFunctionSlotDefaultResponse + | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse + | WebAppsDeleteFunctionSecretSlot404Response + | WebAppsDeleteFunctionSecretSlotDefaultResponse + | WebAppsListFunctionKeysSlotDefaultResponse + | WebAppsListFunctionSecretsSlotDefaultResponse + | WebAppsListHostKeysSlotDefaultResponse + | WebAppsListSyncStatusSlotDefaultResponse + | WebAppsSyncFunctionsSlotDefaultResponse + | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse + | WebAppsDeleteHostSecretSlot404Response + | WebAppsDeleteHostSecretSlotDefaultResponse + | WebAppsListHostNameBindingsSlotDefaultResponse + | WebAppsGetHostNameBindingSlotDefaultResponse + | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse + | WebAppsDeleteHostNameBindingSlotDefaultResponse + | WebAppsGetHybridConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse + | WebAppsDeleteHybridConnectionSlot404Response + | WebAppsDeleteHybridConnectionSlotDefaultResponse + | WebAppsUpdateHybridConnectionSlotDefaultResponse + | WebAppsListHybridConnectionsSlotDefaultResponse + | WebAppsListRelayServiceConnectionsSlotDefaultResponse + | WebAppsGetRelayServiceConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse + | WebAppsDeleteRelayServiceConnectionSlot404Response + | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse + | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse + | WebAppsListInstanceIdentifiersSlotDefaultResponse + | WebAppsGetInstanceInfoSlotDefaultResponse + | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse + | WebAppsCreateInstanceMSDeployOperationSlot409Response + | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse + | WebAppsGetInstanceMSDeployLogSlot404Response + | WebAppsGetInstanceMSDeployLogSlotDefaultResponse + | WebAppsListInstanceProcessesSlot404Response + | WebAppsListInstanceProcessesSlotDefaultResponse + | WebAppsGetInstanceProcessSlot404Response + | WebAppsGetInstanceProcessSlotDefaultResponse + | WebAppsDeleteInstanceProcessSlot404Response + | WebAppsDeleteInstanceProcessSlotDefaultResponse + | WebAppsGetInstanceProcessDumpSlot404Response + | WebAppsGetInstanceProcessDumpSlotDefaultResponse + | WebAppsListInstanceProcessModulesSlot404Response + | WebAppsListInstanceProcessModulesSlotDefaultResponse + | WebAppsGetInstanceProcessModuleSlot404Response + | WebAppsGetInstanceProcessModuleSlotDefaultResponse + | WebAppsListInstanceProcessThreadsSlot404Response + | WebAppsListInstanceProcessThreadsSlotDefaultResponse + | WebAppsIsCloneableSlotDefaultResponse + | WebAppsListSiteBackupsSlotDefaultResponse + | WebAppsListSyncFunctionTriggersSlotDefaultResponse + | WebAppsGetMigrateMySqlStatusSlotDefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse + | WebAppsDeleteSwiftVirtualNetworkSlot404Response + | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse + | WebAppsListNetworkFeaturesSlot404Response + | WebAppsListNetworkFeaturesSlotDefaultResponse + | WebAppsGetNetworkTraceOperationSlotDefaultResponse + | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse + | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse + | WebAppsGetNetworkTracesSlotDefaultResponse + | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse + | WebAppsGetNetworkTracesSlotV2DefaultResponse + | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse + | WebAppsListPerfMonCountersSlotDefaultResponse + | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse + | WebAppsListPremierAddOnsSlotDefaultResponse + | WebAppsGetPremierAddOnSlotDefaultResponse + | WebAppsAddPremierAddOnSlotDefaultResponse + | WebAppsDeletePremierAddOnSlotDefaultResponse + | WebAppsUpdatePremierAddOnSlotDefaultResponse + | WebAppsGetPrivateAccessSlotDefaultResponse + | WebAppsPutPrivateAccessVnetSlotDefaultResponse + | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse + | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse + | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse + | WebAppsGetPrivateLinkResourcesSlotDefaultResponse + | WebAppsListProcessesSlot404Response + | WebAppsListProcessesSlotDefaultResponse + | WebAppsGetProcessSlot404Response + | WebAppsGetProcessSlotDefaultResponse + | WebAppsDeleteProcessSlot404Response + | WebAppsDeleteProcessSlotDefaultResponse + | WebAppsGetProcessDumpSlot404Response + | WebAppsGetProcessDumpSlotDefaultResponse + | WebAppsListProcessModulesSlot404Response + | WebAppsListProcessModulesSlotDefaultResponse + | WebAppsGetProcessModuleSlot404Response + | WebAppsGetProcessModuleSlotDefaultResponse + | WebAppsListProcessThreadsSlot404Response + | WebAppsListProcessThreadsSlotDefaultResponse + | WebAppsListPublicCertificatesSlotDefaultResponse + | WebAppsGetPublicCertificateSlotDefaultResponse + | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse + | WebAppsDeletePublicCertificateSlotDefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse + | WebAppsResetSlotConfigurationSlotDefaultResponse + | WebAppsRestartSlotDefaultResponse + | WebAppsRestoreFromBackupBlobSlotDefaultResponse + | WebAppsRestoreFromDeletedAppSlotDefaultResponse + | WebAppsRestoreSnapshotSlotDefaultResponse + | WebAppsListSiteExtensionsSlot404Response + | WebAppsListSiteExtensionsSlotDefaultResponse + | WebAppsGetSiteExtensionSlot404Response + | WebAppsGetSiteExtensionSlotDefaultResponse + | WebAppsInstallSiteExtensionSlot429Response + | WebAppsInstallSiteExtensionSlotDefaultResponse + | WebAppsDeleteSiteExtensionSlot404Response + | WebAppsDeleteSiteExtensionSlotDefaultResponse + | WebAppsListSlotDifferencesSlotDefaultResponse + | WebAppsSwapSlotDefaultResponse + | WebAppsListSnapshotsSlotDefaultResponse + | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse + | WebAppsGetSourceControlSlotDefaultResponse + | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse + | WebAppsDeleteSourceControlSlot404Response + | WebAppsDeleteSourceControlSlotDefaultResponse + | WebAppsUpdateSourceControlSlotDefaultResponse + | WebAppsStartSlotDefaultResponse + | WebAppsStartNetworkTraceSlotDefaultResponse + | WebAppsStopSlotDefaultResponse + | WebAppsStopNetworkTraceSlotDefaultResponse + | WebAppsSyncRepositorySlotDefaultResponse + | WebAppsSyncFunctionTriggersSlotDefaultResponse + | WebAppsListTriggeredWebJobsSlotDefaultResponse + | WebAppsGetTriggeredWebJobSlot404Response + | WebAppsGetTriggeredWebJobSlotDefaultResponse + | WebAppsDeleteTriggeredWebJobSlotDefaultResponse + | WebAppsListTriggeredWebJobHistorySlot404Response + | WebAppsListTriggeredWebJobHistorySlotDefaultResponse + | WebAppsGetTriggeredWebJobHistorySlot404Response + | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse + | WebAppsRunTriggeredWebJobSlot404Response + | WebAppsRunTriggeredWebJobSlotDefaultResponse + | WebAppsListUsagesSlotDefaultResponse + | WebAppsListVnetConnectionsSlotDefaultResponse + | WebAppsGetVnetConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse + | WebAppsDeleteVnetConnectionSlot404Response + | WebAppsDeleteVnetConnectionSlotDefaultResponse + | WebAppsUpdateVnetConnectionSlotDefaultResponse + | WebAppsGetVnetConnectionGatewaySlot404Response + | WebAppsGetVnetConnectionGatewaySlotDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse + | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse + | WebAppsListWebJobsSlotDefaultResponse + | WebAppsGetWebJobSlotDefaultResponse + | WebAppsListSlotDifferencesFromProductionDefaultResponse + | WebAppsSwapSlotWithProductionDefaultResponse + | WebAppsListSnapshotsDefaultResponse + | WebAppsListSnapshotsFromDRSecondaryDefaultResponse + | WebAppsGetSourceControlDefaultResponse + | WebAppsCreateOrUpdateSourceControlDefaultResponse + | WebAppsDeleteSourceControl404Response + | WebAppsDeleteSourceControlDefaultResponse + | WebAppsUpdateSourceControlDefaultResponse + | WebAppsStartDefaultResponse + | WebAppsStartNetworkTraceDefaultResponse + | WebAppsStopDefaultResponse + | WebAppsStopNetworkTraceDefaultResponse + | WebAppsSyncRepositoryDefaultResponse + | WebAppsSyncFunctionTriggersDefaultResponse + | WebAppsListTriggeredWebJobsDefaultResponse + | WebAppsGetTriggeredWebJob404Response + | WebAppsGetTriggeredWebJobDefaultResponse + | WebAppsDeleteTriggeredWebJobDefaultResponse + | WebAppsListTriggeredWebJobHistory404Response + | WebAppsListTriggeredWebJobHistoryDefaultResponse + | WebAppsGetTriggeredWebJobHistory404Response + | WebAppsGetTriggeredWebJobHistoryDefaultResponse + | WebAppsRunTriggeredWebJob404Response + | WebAppsRunTriggeredWebJobDefaultResponse + | WebAppsListUsagesDefaultResponse + | WebAppsListVnetConnectionsDefaultResponse + | WebAppsGetVnetConnectionDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionDefaultResponse + | WebAppsDeleteVnetConnection404Response + | WebAppsDeleteVnetConnectionDefaultResponse + | WebAppsUpdateVnetConnectionDefaultResponse + | WebAppsGetVnetConnectionGateway404Response + | WebAppsGetVnetConnectionGatewayDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse + | WebAppsUpdateVnetConnectionGatewayDefaultResponse + | WebAppsListWebJobsDefaultResponse + | WebAppsGetWebJobDefaultResponse { + const lroOriginal = response.headers["x-ms-original-url"]; + const url = new URL(lroOriginal ?? response.request.url); + const method = response.request.method; + let pathDetails = responseMap[`${method} ${url.pathname}`]; + if (!pathDetails) { + pathDetails = getParametrizedPathSuccess(method, url.pathname); + } + return !pathDetails.includes(response.status); +} + +function getParametrizedPathSuccess(method: string, path: string): string[] { + const pathParts = path.split("/"); + + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + + // Iterate the responseMap to find a match + for (const [key, value] of Object.entries(responseMap)) { + // Extracting the path from the map key which is in format + // GET /path/foo + if (!key.startsWith(method)) { + continue; + } + const candidatePath = getPathFromMapKey(key); + // Get each part of the url path + const candidateParts = candidatePath.split("/"); + + // track if we have found a match to return the values found. + let found = true; + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); + + if (!isMatched) { + found = false; + break; + } + continue; + } + + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; + } + } + + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } + + return matchedValue; +} + +function getPathFromMapKey(mapKey: string): string { + const pathStart = mapKey.indexOf("/"); + return mapKey.slice(pathStart); +} diff --git a/sdk/appservice/arm-appservice-rest/src/logger.ts b/sdk/appservice/arm-appservice-rest/src/logger.ts new file mode 100644 index 000000000000..84fe756c8829 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-appservice"); diff --git a/sdk/appservice/arm-appservice-rest/src/models.ts b/sdk/appservice/arm-appservice-rest/src/models.ts index 642fe72adf05..bd2de8216fda 100644 --- a/sdk/appservice/arm-appservice-rest/src/models.ts +++ b/sdk/appservice/arm-appservice-rest/src/models.ts @@ -1,18 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** SSL certificate purchase order. */ export interface AppServiceCertificateOrder extends Resource { /** AppServiceCertificateOrder resource specific properties */ properties?: AppServiceCertificateOrderProperties; } +/** AppServiceCertificateOrder resource specific properties */ export interface AppServiceCertificateOrderProperties { /** State of the Key Vault secret. */ certificates?: Record; /** Certificate distinguished name. */ distinguishedName?: string; - /** Domain verification token. */ - domainVerificationToken?: string; /** Duration in years (must be 1). */ validityInYears?: number; /** Certificate key size. */ @@ -21,89 +21,21 @@ export interface AppServiceCertificateOrderProperties { productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; /** true if the certificate should be automatically renewed when it expires; otherwise, false. */ autoRenew?: boolean; - /** Status of certificate order. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Current order status. */ - status?: - | "Pendingissuance" - | "Issued" - | "Revoked" - | "Canceled" - | "Denied" - | "Pendingrevocation" - | "PendingRekey" - | "Unused" - | "Expired" - | "NotSubmitted"; - /** Signed certificate. */ - signedCertificate?: CertificateDetails; /** Last CSR that was created for this order. */ csr?: string; - /** Intermediate certificate. */ - intermediate?: CertificateDetails; - /** Root certificate. */ - root?: CertificateDetails; - /** Current serial number of the certificate. */ - serialNumber?: string; - /** Certificate last issuance time. */ - lastCertificateIssuanceTime?: Date | string; - /** Certificate expiration time. */ - expirationTime?: Date | string; - /** true if private key is external; otherwise, false. */ - isPrivateKeyExternal?: boolean; - /** Reasons why App Service Certificate is not renewable at the current moment. */ - appServiceCertificateNotRenewableReasons?: Array< - | "RegistrationStatusNotSupportedForRenewal" - | "ExpirationNotInRenewalTimeRange" - | "SubscriptionNotActive" - >; - /** Time stamp when the certificate would be auto renewed next */ - nextAutoRenewalTimeStamp?: Date | string; - /** Contact info */ - contact?: CertificateOrderContact; } +/** Key Vault container for a certificate that is purchased through Azure. */ export interface AppServiceCertificate { /** Key Vault resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; - /** Status of the Key Vault secret. */ - provisioningState?: - | "Initialized" - | "WaitingOnCertificateOrder" - | "Succeeded" - | "CertificateOrderFailed" - | "OperationNotPermittedOnKeyVault" - | "AzureServiceUnauthorizedToAccessKeyVault" - | "KeyVaultDoesNotExist" - | "KeyVaultSecretDoesNotExist" - | "UnknownError" - | "ExternalPrivateKey" - | "Unknown"; -} - -export interface CertificateDetails { - /** Certificate Version. */ - version?: number; - /** Certificate Serial Number. */ - serialNumber?: string; - /** Certificate Thumbprint. */ - thumbprint?: string; - /** Certificate Subject. */ - subject?: string; - /** Date Certificate is valid from. */ - notBefore?: Date | string; - /** Date Certificate is valid to. */ - notAfter?: Date | string; - /** Certificate Signature algorithm. */ - signatureAlgorithm?: string; - /** Certificate Issuer. */ - issuer?: string; - /** Raw certificate data. */ - rawData?: string; } +/** SSL certificate details. */ +export interface CertificateDetails {} + export interface CertificateOrderContact { email?: string; nameFirst?: string; @@ -111,33 +43,28 @@ export interface CertificateOrderContact { phone?: string; } +/** Azure resource. This resource is tracked in Azure Resource Manager */ export interface Resource { - /** Resource Id. */ - id?: string; - /** Resource Name. */ - name?: string; /** Kind of resource. */ kind?: string; /** Resource Location. */ location: string; - /** Resource type. */ - type?: string; /** Resource tags. */ tags?: Record; } +/** ARM resource for a certificate order that is purchased through Azure. */ export interface AppServiceCertificateOrderPatchResource extends ProxyOnlyResource { /** AppServiceCertificateOrderPatchResource resource specific properties */ properties?: AppServiceCertificateOrderPatchResourceProperties; } +/** AppServiceCertificateOrderPatchResource resource specific properties */ export interface AppServiceCertificateOrderPatchResourceProperties { /** State of the Key Vault secret. */ certificates?: Record; /** Certificate distinguished name. */ distinguishedName?: string; - /** Domain verification token. */ - domainVerificationToken?: string; /** Duration in years (must be 1). */ validityInYears?: number; /** Certificate key size. */ @@ -146,74 +73,35 @@ export interface AppServiceCertificateOrderPatchResourceProperties { productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; /** true if the certificate should be automatically renewed when it expires; otherwise, false. */ autoRenew?: boolean; - /** Status of certificate order. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Current order status. */ - status?: - | "Pendingissuance" - | "Issued" - | "Revoked" - | "Canceled" - | "Denied" - | "Pendingrevocation" - | "PendingRekey" - | "Unused" - | "Expired" - | "NotSubmitted"; - /** Signed certificate. */ - signedCertificate?: CertificateDetails; /** Last CSR that was created for this order. */ csr?: string; - /** Intermediate certificate. */ - intermediate?: CertificateDetails; - /** Root certificate. */ - root?: CertificateDetails; - /** Current serial number of the certificate. */ - serialNumber?: string; - /** Certificate last issuance time. */ - lastCertificateIssuanceTime?: Date | string; - /** Certificate expiration time. */ - expirationTime?: Date | string; - /** true if private key is external; otherwise, false. */ - isPrivateKeyExternal?: boolean; - /** Reasons why App Service Certificate is not renewable at the current moment. */ - appServiceCertificateNotRenewableReasons?: Array< - | "RegistrationStatusNotSupportedForRenewal" - | "ExpirationNotInRenewalTimeRange" - | "SubscriptionNotActive" - >; - /** Time stamp when the certificate would be auto renewed next */ - nextAutoRenewalTimeStamp?: Date | string; - /** Contact info */ - contact?: CertificateOrderContact; } +/** Azure proxy only resource. This resource is not tracked by Azure Resource Manager. */ export interface ProxyOnlyResource { - /** Resource Id. */ - id?: string; - /** Resource Name. */ - name?: string; /** Kind of resource. */ kind?: string; - /** Resource type. */ - type?: string; } +/** Key Vault container ARM resource for a certificate that is purchased through Azure. */ export interface AppServiceCertificateResource extends Resource { /** Core resource properties */ properties?: AppServiceCertificate; } +/** Key Vault container ARM resource for a certificate that is purchased through Azure. */ export interface AppServiceCertificatePatchResource extends ProxyOnlyResource { /** Core resource properties */ properties?: AppServiceCertificate; } +/** Class representing certificate reissue request. */ export interface ReissueCertificateOrderRequest extends ProxyOnlyResource { /** ReissueCertificateOrderRequest resource specific properties */ properties?: ReissueCertificateOrderRequestProperties; } +/** ReissueCertificateOrderRequest resource specific properties */ export interface ReissueCertificateOrderRequestProperties { /** Certificate Key Size. */ keySize?: number; @@ -225,11 +113,13 @@ export interface ReissueCertificateOrderRequestProperties { isPrivateKeyExternal?: boolean; } +/** Class representing certificate renew request. */ export interface RenewCertificateOrderRequest extends ProxyOnlyResource { /** RenewCertificateOrderRequest resource specific properties */ properties?: RenewCertificateOrderRequestProperties; } +/** RenewCertificateOrderRequest resource specific properties */ export interface RenewCertificateOrderRequestProperties { /** Certificate Key Size. */ keySize?: number; @@ -239,11 +129,13 @@ export interface RenewCertificateOrderRequestProperties { isPrivateKeyExternal?: boolean; } +/** Identifies an object. */ export interface NameIdentifier { /** Name of the object. */ name?: string; } +/** Site seal request. */ export interface SiteSealRequest { /** If true use the light color theme for site seal; otherwise, use the default color theme. */ lightTheme?: boolean; @@ -251,37 +143,22 @@ export interface SiteSealRequest { locale?: string; } +/** Certificate order action. */ export interface CertificateOrderAction extends ProxyOnlyResource { /** CertificateOrderAction resource specific properties */ properties?: CertificateOrderActionProperties; } -export interface CertificateOrderActionProperties { - /** Action type. */ - actionType?: - | "CertificateIssued" - | "CertificateOrderCanceled" - | "CertificateOrderCreated" - | "CertificateRevoked" - | "DomainValidationComplete" - | "FraudDetected" - | "OrgNameChange" - | "OrgValidationComplete" - | "SanDrop" - | "FraudCleared" - | "CertificateExpired" - | "CertificateExpirationWarning" - | "FraudDocumentationRequired" - | "Unknown"; - /** Time at which the certificate action was performed. */ - createdAt?: Date | string; -} +/** CertificateOrderAction resource specific properties */ +export interface CertificateOrderActionProperties {} +/** SSL certificate email. */ export interface CertificateEmail extends ProxyOnlyResource { /** CertificateEmail resource specific properties */ properties?: CertificateEmailProperties; } +/** CertificateEmail resource specific properties */ export interface CertificateEmailProperties { /** Email id. */ emailId?: string; @@ -289,11 +166,13 @@ export interface CertificateEmailProperties { timeStamp?: Date | string; } +/** Class representing Response from Detector */ export interface DetectorResponse extends ProxyOnlyResource { /** DetectorResponse resource specific properties */ properties?: DetectorResponseProperties; } +/** DetectorResponse resource specific properties */ export interface DetectorResponseProperties { /** metadata for the detector */ metadata?: DetectorInfo; @@ -307,34 +186,13 @@ export interface DetectorResponseProperties { suggestedUtterances?: QueryUtterancesResults; } -export interface DetectorInfo { - /** Id of detector */ - id?: string; - /** Name of detector */ - name?: string; - /** Short description of the detector and its purpose. */ - description?: string; - /** Author of the detector. */ - author?: string; - /** Problem category. This serves for organizing group for detectors. */ - category?: string; - /** List of Support Topics for which this detector is enabled. */ - supportTopicList?: Array; - /** Analysis Types for which this detector should apply to. */ - analysisType?: Array; - /** Whether this detector is an Analysis Detector or not. */ - type?: "Detector" | "Analysis" | "CategoryOverview"; - /** Defines score of a detector to power ML based matching. */ - score?: number; -} +/** Definition of Detector */ +export interface DetectorInfo {} -export interface SupportTopic { - /** Support Topic Id */ - id?: string; - /** Unique resource Id */ - pesId?: string; -} +/** Defines a unique Support Topic */ +export interface SupportTopic {} +/** Set of data with rendering instructions */ export interface DiagnosticData { /** Data in table form */ table?: DataTableResponseObject; @@ -342,6 +200,7 @@ export interface DiagnosticData { renderingProperties?: Rendering; } +/** Data Table which defines columns and raw row values */ export interface DataTableResponseObject { /** Name of the table */ tableName?: string; @@ -351,6 +210,7 @@ export interface DataTableResponseObject { rows?: Array>; } +/** Column definition */ export interface DataTableResponseColumn { /** Name of the column */ columnName?: string; @@ -360,6 +220,7 @@ export interface DataTableResponseColumn { columnType?: string; } +/** Instructions for rendering the data */ export interface Rendering { /** Rendering Type */ type?: @@ -394,6 +255,7 @@ export interface Rendering { description?: string; } +/** Identify the status of the most severe insight generated by the detector. */ export interface Status { /** Descriptive message. */ message?: string; @@ -401,18 +263,14 @@ export interface Status { statusId?: "Critical" | "Warning" | "Info" | "Success" | "None"; } +/** Additional configuration for a data providers */ export interface DataProviderMetadata { providerName?: string; - /** Settings for the data provider */ - propertyBag?: Array; } -export interface KeyValuePairStringObject { - key?: string; - /** Any object */ - value?: Record; -} +export interface KeyValuePairStringObject {} +/** Suggested utterances where the detector can be applicable */ export interface QueryUtterancesResults { /** Search Query. */ query?: string; @@ -420,6 +278,7 @@ export interface QueryUtterancesResults { results?: Array; } +/** Result for utterances query. */ export interface QueryUtterancesResult { /** A sample utterance. */ sampleUtterance?: SampleUtterance; @@ -427,6 +286,7 @@ export interface QueryUtterancesResult { score?: number; } +/** Sample utterance. */ export interface SampleUtterance { /** Text attribute of sample utterance. */ text?: string; @@ -436,11 +296,13 @@ export interface SampleUtterance { qid?: string; } +/** Information about a domain. */ export interface Domain extends Resource { /** Domain resource specific properties */ properties?: DomainProperties; } +/** Domain resource specific properties */ export interface DomainProperties { /** Administrative contact. */ contactAdmin: Contact; @@ -450,58 +312,12 @@ export interface DomainProperties { contactRegistrant: Contact; /** Technical contact. */ contactTech: Contact; - /** Domain registration status. */ - registrationStatus?: - | "Active" - | "Awaiting" - | "Cancelled" - | "Confiscated" - | "Disabled" - | "Excluded" - | "Expired" - | "Failed" - | "Held" - | "Locked" - | "Parked" - | "Pending" - | "Reserved" - | "Reverted" - | "Suspended" - | "Transferred" - | "Unknown" - | "Unlocked" - | "Unparked" - | "Updated" - | "JsonConverterFailed"; - /** Domain provisioning state. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Name servers. */ - nameServers?: Array; /** true if domain privacy is enabled for this domain; otherwise, false. */ privacy?: boolean; - /** Domain creation timestamp. */ - createdTime?: Date | string; - /** Domain expiration timestamp. */ - expirationTime?: Date | string; - /** Timestamp when the domain was renewed last time. */ - lastRenewedTime?: Date | string; /** true if the domain should be automatically renewed; otherwise, false. */ autoRenew?: boolean; - /** - * true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and - * it is hosted on name servers Azure has programmatic access to. - */ - readyForDnsRecordManagement?: boolean; - /** All hostnames derived from the domain and assigned to Azure resources. */ - managedHostNames?: Array; /** Legal agreement consent. */ consent: DomainPurchaseConsent; - /** Reasons why domain is not renewable. */ - domainNotRenewableReasons?: Array< - | "RegistrationStatusNotSupportedForRenewal" - | "ExpirationNotInRenewalTimeRange" - | "SubscriptionNotActive" - >; /** Current DNS type */ dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; /** Azure DNS Zone to use */ @@ -511,6 +327,10 @@ export interface DomainProperties { authCode?: string; } +/** + * Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois + * directories as per ICANN requirements. + */ export interface Contact { /** Mailing address. */ addressMailing?: Address; @@ -532,6 +352,7 @@ export interface Contact { phone: string; } +/** Address information for domain registration. */ export interface Address { /** First line of an Address. */ address1: string; @@ -547,6 +368,7 @@ export interface Address { state: string; } +/** Details of a hostname derived from a domain. */ export interface HostName { /** Name of the hostname. */ name?: string; @@ -562,6 +384,7 @@ export interface HostName { hostNameType?: "Verified" | "Managed"; } +/** Domain purchase consent object, representing acceptance of applicable legal agreements. */ export interface DomainPurchaseConsent { /** List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource. */ agreementKeys?: Array; @@ -571,6 +394,7 @@ export interface DomainPurchaseConsent { agreedAt?: Date | string; } +/** Domain recommendation search parameters. */ export interface DomainRecommendationSearchParameters { /** Keywords to be used for generating domain recommendations. */ keywords?: string; @@ -578,11 +402,13 @@ export interface DomainRecommendationSearchParameters { maxDomainRecommendations?: number; } +/** ARM resource for a domain. */ export interface DomainPatchResource extends ProxyOnlyResource { /** DomainPatchResource resource specific properties */ properties?: DomainPatchResourceProperties; } +/** DomainPatchResource resource specific properties */ export interface DomainPatchResourceProperties { /** Administrative contact. */ contactAdmin: Contact; @@ -592,58 +418,12 @@ export interface DomainPatchResourceProperties { contactRegistrant: Contact; /** Technical contact. */ contactTech: Contact; - /** Domain registration status. */ - registrationStatus?: - | "Active" - | "Awaiting" - | "Cancelled" - | "Confiscated" - | "Disabled" - | "Excluded" - | "Expired" - | "Failed" - | "Held" - | "Locked" - | "Parked" - | "Pending" - | "Reserved" - | "Reverted" - | "Suspended" - | "Transferred" - | "Unknown" - | "Unlocked" - | "Unparked" - | "Updated" - | "JsonConverterFailed"; - /** Domain provisioning state. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Name servers. */ - nameServers?: Array; /** true if domain privacy is enabled for this domain; otherwise, false. */ privacy?: boolean; - /** Domain creation timestamp. */ - createdTime?: Date | string; - /** Domain expiration timestamp. */ - expirationTime?: Date | string; - /** Timestamp when the domain was renewed last time. */ - lastRenewedTime?: Date | string; /** true if the domain should be automatically renewed; otherwise, false. */ autoRenew?: boolean; - /** - * true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and - * it is hosted on name servers Azure has programmatic access to. - */ - readyForDnsRecordManagement?: boolean; - /** All hostnames derived from the domain and assigned to Azure resources. */ - managedHostNames?: Array; /** Legal agreement consent. */ consent: DomainPurchaseConsent; - /** Reasons why domain is not renewable. */ - domainNotRenewableReasons?: Array< - | "RegistrationStatusNotSupportedForRenewal" - | "ExpirationNotInRenewalTimeRange" - | "SubscriptionNotActive" - >; /** Current DNS type */ dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; /** Azure DNS Zone to use */ @@ -653,26 +433,31 @@ export interface DomainPatchResourceProperties { authCode?: string; } +/** Domain ownership Identifier. */ export interface DomainOwnershipIdentifier extends ProxyOnlyResource { /** DomainOwnershipIdentifier resource specific properties */ properties?: DomainOwnershipIdentifierProperties; } +/** DomainOwnershipIdentifier resource specific properties */ export interface DomainOwnershipIdentifierProperties { /** Ownership Id. */ ownershipId?: string; } +/** A top level domain object. */ export interface TopLevelDomain extends ProxyOnlyResource { /** TopLevelDomain resource specific properties */ properties?: TopLevelDomainProperties; } +/** TopLevelDomain resource specific properties */ export interface TopLevelDomainProperties { /** If true, then the top level domain supports domain privacy; otherwise, false. */ privacy?: boolean; } +/** Options for retrieving the list of top level domain legal agreements. */ export interface TopLevelDomainAgreementOption { /** If true, then the list of agreements will include agreements for domain privacy as well; otherwise, false. */ includePrivacy?: boolean; @@ -680,60 +465,45 @@ export interface TopLevelDomainAgreementOption { forTransfer?: boolean; } +/** App Service Environment ARM resource. */ export interface AppServiceEnvironmentResource extends Resource { /** Core resource properties */ properties?: AppServiceEnvironment; } +/** Description of an App Service Environment. */ export interface AppServiceEnvironment { - /** Provisioning state of the App Service Environment. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Current status of the App Service Environment. */ - status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; /** Description of the Virtual Network. */ virtualNetwork: VirtualNetworkProfile; /** Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. */ internalLoadBalancingMode?: "None" | "Web" | "Publishing" | "Web, Publishing"; /** Front-end VM size, e.g. "Medium", "Large". */ multiSize?: string; - /** Number of front-end instances. */ - multiRoleCount?: number; /** Number of IP SSL addresses reserved for the App Service Environment. */ ipsslAddressCount?: number; /** DNS suffix of the App Service Environment. */ dnsSuffix?: string; - /** Maximum number of VMs in the App Service Environment. */ - maximumNumberOfMachines?: number; /** Scale factor for front-ends. */ frontEndScaleFactor?: number; - /** - * true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available - * (most likely because NSG blocked the incoming traffic). - */ - suspended?: boolean; /** Custom settings for changing the behavior of the App Service Environment. */ clusterSettings?: Array; /** User added ip ranges to whitelist on ASE db */ userWhitelistedIpRanges?: Array; - /** Flag that displays whether an ASE has linux workers or not */ - hasLinuxWorkers?: boolean; /** Dedicated Host Count */ dedicatedHostCount?: number; /** Whether or not this App Service Environment is zone-redundant. */ zoneRedundant?: boolean; } +/** Specification for using a Virtual Network. */ export interface VirtualNetworkProfile { /** Resource id of the Virtual Network. */ id: string; - /** Name of the Virtual Network (read-only). */ - name?: string; - /** Resource type of the Virtual Network (read-only). */ - type?: string; /** Subnet within the Virtual Network. */ subnet?: string; } +/** Name value pair. */ export interface NameValuePair { /** Pair name. */ name?: string; @@ -741,16 +511,19 @@ export interface NameValuePair { value?: string; } +/** ARM resource for a app service environment. */ export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { /** Core resource properties */ properties?: AppServiceEnvironment; } +/** Describes main public IP address and any extra virtual IPs. */ export interface AddressResponse extends ProxyOnlyResource { /** AddressResponse resource specific properties */ properties?: AddressResponseProperties; } +/** AddressResponse resource specific properties */ export interface AddressResponseProperties { /** Main public virtual IP. */ serviceIpAddress?: string; @@ -762,6 +535,7 @@ export interface AddressResponseProperties { vipMappings?: Array; } +/** Virtual IP mapping. */ export interface VirtualIPMapping { /** Virtual IP address. */ virtualIP?: string; @@ -775,6 +549,7 @@ export interface VirtualIPMapping { serviceName?: string; } +/** A web app, a mobile app backend, or an API app. */ export interface Site extends Resource { /** Site resource specific properties */ properties?: SiteProperties; @@ -784,24 +559,10 @@ export interface Site extends Resource { extendedLocation?: ExtendedLocation; } +/** Site resource specific properties */ export interface SiteProperties { - /** Current state of the app. */ - state?: string; - /** Hostnames associated with the app. */ - hostNames?: Array; - /** Name of the repository site. */ - repositorySiteName?: string; - /** State indicating whether the app has exceeded its quota usage. Read-only. */ - usageState?: "Normal" | "Exceeded"; /** true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ enabled?: boolean; - /** - * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, - * the app is not served on those hostnames. - */ - enabledHostNames?: Array; - /** Management information availability state for the app. */ - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; /** Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ hostNameSslStates?: Array; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ @@ -812,16 +573,10 @@ export interface SiteProperties { isXenon?: boolean; /** Hyper-V sandbox. */ hyperV?: boolean; - /** Last time the app was modified, in UTC. Read-only. */ - lastModifiedTimeUtc?: Date | string; /** Configuration of the app. */ siteConfig?: SiteConfig; - /** Azure Traffic Manager hostnames associated with the app. Read-only. */ - trafficManagerHostNames?: Array; /** true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ scmSiteAlsoStopped?: boolean; - /** Specifies which deployment slot this app will swap into. Read-only. */ - targetSwapSlot?: string; /** App Service Environment to use for the app. */ hostingEnvironmentProfile?: HostingEnvironmentProfile; /** true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ @@ -844,31 +599,12 @@ export interface SiteProperties { hostNamesDisabled?: boolean; /** Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ customDomainVerificationId?: string; - /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ - outboundIpAddresses?: string; - /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ - possibleOutboundIpAddresses?: string; /** Size of the function container. */ containerSize?: number; /** Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ dailyMemoryTimeQuota?: number; - /** App suspended till in case memory-time quota is exceeded. */ - suspendedTill?: Date | string; - /** - * Maximum number of workers. - * This only applies to Functions container. - */ - maxNumberOfWorkers?: number; /** If specified during app creation, the app is cloned from a source app. */ cloningInfo?: CloningInfo; - /** Name of the resource group the app belongs to. Read-only. */ - resourceGroup?: string; - /** true if the app is a default container; otherwise, false. */ - isDefaultContainer?: boolean; - /** Default hostname of the app. Read-only. */ - defaultHostName?: string; - /** Status of the last deployment slot swap operation. */ - slotSwapStatus?: SlotSwapStatus; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests @@ -876,12 +612,6 @@ export interface SiteProperties { httpsOnly?: boolean; /** Site redundancy mode */ redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - /** - * Specifies an operation id if this site has a pending operation. - * - * Value may contain a UUID - */ - inProgressOperationId?: string; /** Checks if Customer provided storage account is required */ storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ @@ -893,6 +623,7 @@ export interface SiteProperties { virtualNetworkSubnetId?: string; } +/** SSL-enabled hostname. */ export interface HostNameSslState { /** Hostname. */ name?: string; @@ -908,6 +639,7 @@ export interface HostNameSslState { hostType?: "Standard" | "Repository"; } +/** Configuration of an App Service app. */ export interface SiteConfig { /** Number of workers. */ numberOfWorkers?: number; @@ -951,8 +683,6 @@ export interface SiteConfig { appSettings?: Array; /** Connection strings. */ connectionStrings?: Array; - /** Site MachineKey. */ - machineKey?: SiteMachineKey; /** Handler mappings. */ handlerMappings?: Array; /** Document root. */ @@ -1078,6 +808,7 @@ export interface SiteConfig { publicNetworkAccess?: string; } +/** Database connection string information. */ export interface ConnStringInfo { /** Name of connection string. */ name?: string; @@ -1098,6 +829,7 @@ export interface ConnStringInfo { | "PostgreSQL"; } +/** MachineKey of an app. */ export interface SiteMachineKey { /** MachineKey validation. */ validation?: string; @@ -1109,6 +841,10 @@ export interface SiteMachineKey { decryptionKey?: string; } +/** + * The IIS handler mappings used to define which handler processes HTTP requests with certain extension. + * For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension. + */ export interface HandlerMapping { /** Requests with this extension will be handled using the specified FastCGI application. */ extension?: string; @@ -1118,6 +854,7 @@ export interface HandlerMapping { arguments?: string; } +/** Virtual application in an app. */ export interface VirtualApplication { /** Virtual path. */ virtualPath?: string; @@ -1129,6 +866,7 @@ export interface VirtualApplication { virtualDirectories?: Array; } +/** Directory for virtual application. */ export interface VirtualDirectory { /** Path to virtual application. */ virtualPath?: string; @@ -1136,11 +874,13 @@ export interface VirtualDirectory { physicalPath?: string; } +/** Routing rules in production experiments. */ export interface Experiments { /** List of ramp-up rules. */ rampUpRules?: Array; } +/** Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance. */ export interface RampUpRule { /** Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. */ actionHostName?: string; @@ -1167,6 +907,7 @@ export interface RampUpRule { name?: string; } +/** Metric limits set on an app. */ export interface SiteLimits { /** Maximum allowed CPU usage percentage. */ maxPercentageCpu?: number; @@ -1176,6 +917,7 @@ export interface SiteLimits { maxDiskSizeInMb?: number; } +/** Rules that can be defined for auto-heal. */ export interface AutoHealRules { /** Conditions that describe when to execute the auto-heal actions. */ triggers?: AutoHealTriggers; @@ -1183,6 +925,7 @@ export interface AutoHealRules { actions?: AutoHealActions; } +/** Triggers for auto-heal. */ export interface AutoHealTriggers { /** A rule based on total requests. */ requests?: RequestsBasedTrigger; @@ -1198,6 +941,7 @@ export interface AutoHealTriggers { statusCodesRange?: Array; } +/** Trigger based on total requests. */ export interface RequestsBasedTrigger { /** Request Count. */ count?: number; @@ -1205,6 +949,7 @@ export interface RequestsBasedTrigger { timeInterval?: string; } +/** Trigger based on status code. */ export interface StatusCodesBasedTrigger { /** HTTP status code. */ status?: number; @@ -1220,6 +965,7 @@ export interface StatusCodesBasedTrigger { path?: string; } +/** Trigger based on request execution time. */ export interface SlowRequestsBasedTrigger { /** Time taken. */ timeTaken?: string; @@ -1231,6 +977,7 @@ export interface SlowRequestsBasedTrigger { timeInterval?: string; } +/** Trigger based on range of status codes. */ export interface StatusCodesRangeBasedTrigger { /** HTTP status code. */ statusCodes?: string; @@ -1241,6 +988,7 @@ export interface StatusCodesRangeBasedTrigger { timeInterval?: string; } +/** Actions which to take by the auto-heal module when a rule is triggered. */ export interface AutoHealActions { /** Predefined action to be taken. */ actionType?: "Recycle" | "LogEvent" | "CustomAction"; @@ -1253,6 +1001,10 @@ export interface AutoHealActions { minProcessExecutionTime?: string; } +/** + * Custom action to be executed + * when an auto heal rule is triggered. + */ export interface AutoHealCustomAction { /** Executable to be run. */ exe?: string; @@ -1260,6 +1012,7 @@ export interface AutoHealCustomAction { parameters?: string; } +/** Cross-Origin Resource Sharing (CORS) settings for the app. */ export interface CorsSettings { /** * Gets or sets the list of origins that should be allowed to make cross-origin @@ -1274,11 +1027,13 @@ export interface CorsSettings { supportCredentials?: boolean; } +/** Push settings for the App. */ export interface PushSettings extends ProxyOnlyResource { /** PushSettings resource specific properties */ properties?: PushSettingsProperties; } +/** PushSettings resource specific properties */ export interface PushSettingsProperties { /** Gets or sets a flag indicating whether the Push endpoint is enabled. */ isPushEnabled: boolean; @@ -1295,16 +1050,19 @@ export interface PushSettingsProperties { dynamicTagsJson?: string; } +/** Information about the formal API definition for the app. */ export interface ApiDefinitionInfo { /** The URL of the API definition. */ url?: string; } +/** Azure API management (APIM) configuration linked to the app. */ export interface ApiManagementConfig { /** APIM-Api Identifier. */ id?: string; } +/** IP security restriction on an app. */ export interface IpSecurityRestriction { /** * IP address the security restriction is valid for. @@ -1352,6 +1110,7 @@ export interface IpSecurityRestriction { headers?: Record>; } +/** Azure Files or Blob Storage access information value for dictionary storage. */ export interface AzureStorageInfoValue { /** Type of storage. */ type?: "AzureFiles" | "AzureBlob"; @@ -1363,19 +1122,15 @@ export interface AzureStorageInfoValue { accessKey?: string; /** Path to mount the storage within the site's runtime environment. */ mountPath?: string; - /** State of the storage account. */ - state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; } +/** Specification for an App Service Environment to use for this resource. */ export interface HostingEnvironmentProfile { /** Resource ID of the App Service Environment. */ id?: string; - /** Name of the App Service Environment. */ - name?: string; - /** Resource type of the App Service Environment. */ - type?: string; } +/** Information needed for cloning operation. */ export interface CloningInfo { /** * Correlation ID of cloning operation. This ID ties multiple cloning operations @@ -1416,54 +1171,39 @@ export interface CloningInfo { trafficManagerProfileName?: string; } -export interface SlotSwapStatus { - /** The time the last successful slot swap completed. */ - timestampUtc?: Date | string; - /** The source slot of the last swap operation. */ - sourceSlotName?: string; - /** The destination slot of the last swap operation. */ - destinationSlotName?: string; -} +/** The status of the last successful slot swap operation. */ +export interface SlotSwapStatus {} +/** Managed service identity. */ export interface ManagedServiceIdentity { /** Type of managed service identity. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; - /** Tenant of managed service identity. */ - tenantId?: string; - /** Principal Id of managed service identity. */ - principalId?: string; /** The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} */ userAssignedIdentities?: Record; } -export interface UserAssignedIdentity { - /** Principal Id of user assigned identity */ - principalId?: string; - /** Client Id of user assigned identity */ - clientId?: string; -} +/** User Assigned identity. */ +export interface UserAssignedIdentity {} +/** Extended Location. */ export interface ExtendedLocation { /** Name of extended location. */ name?: string; - /** Type of extended location. */ - type?: string; } +/** Full view of networking configuration for an ASE. */ export interface AseV3NetworkingConfiguration extends ProxyOnlyResource { /** AseV3NetworkingConfiguration resource specific properties */ properties?: AseV3NetworkingConfigurationProperties; } +/** AseV3NetworkingConfiguration resource specific properties */ export interface AseV3NetworkingConfigurationProperties { - windowsOutboundIpAddresses?: Array; - linuxOutboundIpAddresses?: Array; - externalInboundIpAddresses?: Array; - internalInboundIpAddresses?: Array; /** Property to enable and disable new private endpoint connection creation on ASE */ allowNewPrivateEndpointConnections?: boolean; } +/** Worker pool of an App Service Environment ARM resource. */ export interface WorkerPoolResource extends ProxyOnlyResource { /** Core resource properties */ properties?: WorkerPool; @@ -1471,6 +1211,7 @@ export interface WorkerPoolResource extends ProxyOnlyResource { sku?: SkuDescription; } +/** Worker pool of an App Service Environment. */ export interface WorkerPool { /** Worker size ID for referencing this worker pool. */ workerSizeId?: number; @@ -1480,10 +1221,9 @@ export interface WorkerPool { workerSize?: string; /** Number of instances in the worker pool. */ workerCount?: number; - /** Names of all instances in the worker pool (read only). */ - instanceNames?: Array; } +/** Description of a SKU for a scalable resource. */ export interface SkuDescription { /** Name of the resource SKU. */ name?: string; @@ -1503,6 +1243,7 @@ export interface SkuDescription { capabilities?: Array; } +/** Description of the App Service plan scale options. */ export interface SkuCapacity { /** Minimum number of workers for this App Service plan SKU. */ minimum?: number; @@ -1516,6 +1257,7 @@ export interface SkuCapacity { scaleType?: string; } +/** Describes the capabilities/features allowed for a specific SKU. */ export interface Capability { /** Name of the SKU capability. */ name?: string; @@ -1525,55 +1267,28 @@ export interface Capability { reason?: string; } +/** Metadata for the metrics. */ export interface ResourceMetricDefinition extends ProxyOnlyResource { /** ResourceMetricDefinition resource specific properties */ properties?: ResourceMetricDefinitionProperties; } -export interface ResourceMetricDefinitionProperties { - /** Unit of the metric. */ - unit?: string; - /** Primary aggregation type. */ - primaryAggregationType?: string; - /** List of time grains supported for the metric together with retention period. */ - metricAvailabilities?: Array; - /** Resource URI. */ - resourceUri?: string; - /** Resource metric definition properties. */ - properties?: Record; -} +/** ResourceMetricDefinition resource specific properties */ +export interface ResourceMetricDefinitionProperties {} -export interface ResourceMetricAvailability { - /** Time grain . */ - timeGrain?: string; - /** Retention period for the current time grain. */ - retention?: string; -} +/** Metrics availability and retention. */ +export interface ResourceMetricAvailability {} +/** Usage of the quota resource. */ export interface Usage extends ProxyOnlyResource { /** Usage resource specific properties */ properties?: UsageProperties; } -export interface UsageProperties { - /** Friendly name shown in the UI. */ - displayName?: string; - /** Name of the quota resource. */ - resourceName?: string; - /** Units of measurement for the quota resource. */ - unit?: string; - /** The current value of the resource counter. */ - currentValue?: number; - /** The resource limit. */ - limit?: number; - /** Next reset time for the resource counter. */ - nextResetTime?: Date | string; - /** Compute mode used for this usage. */ - computeMode?: "Shared" | "Dedicated" | "Dynamic"; - /** Site mode used for this usage. */ - siteMode?: string; -} +/** Usage resource specific properties */ +export interface UsageProperties {} +/** Body of the error response returned from the API. */ export interface ErrorEntity { /** Type of error. */ extendedCode?: string; @@ -1593,13 +1308,14 @@ export interface ErrorEntity { message?: string; } +/** Remote Private Endpoint Connection ARM resource. */ export interface RemotePrivateEndpointConnectionARMResource extends ProxyOnlyResource { /** RemotePrivateEndpointConnectionARMResource resource specific properties */ properties?: RemotePrivateEndpointConnectionARMResourceProperties; } +/** RemotePrivateEndpointConnectionARMResource resource specific properties */ export interface RemotePrivateEndpointConnectionARMResourceProperties { - provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ privateEndpoint?: ArmIdWrapper; /** The state of a private link connection */ @@ -1608,10 +1324,10 @@ export interface RemotePrivateEndpointConnectionARMResourceProperties { ipAddresses?: Array; } -export interface ArmIdWrapper { - id?: string; -} +/** A wrapper for an ARM resource id */ +export interface ArmIdWrapper {} +/** The state of a private link connection */ export interface PrivateLinkConnectionState { /** Status of a private link connection */ status?: string; @@ -1621,16 +1337,19 @@ export interface PrivateLinkConnectionState { actionsRequired?: string; } +/** Private Endpoint Connection Approval ARM resource. */ export interface PrivateLinkConnectionApprovalRequestResource extends ProxyOnlyResource { /** Core resource properties */ properties?: PrivateLinkConnectionApprovalRequest; } +/** A request to approve or reject a private endpoint connection */ export interface PrivateLinkConnectionApprovalRequest { /** The state of a private link connection */ privateLinkServiceConnectionState?: PrivateLinkConnectionState; } +/** App Service plan. */ export interface AppServicePlan extends Resource { /** AppServicePlan resource specific properties */ properties?: AppServicePlanProperties; @@ -1640,19 +1359,12 @@ export interface AppServicePlan extends Resource { extendedLocation?: ExtendedLocation; } +/** AppServicePlan resource specific properties */ export interface AppServicePlanProperties { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; - /** App Service plan status. */ - status?: "Ready" | "Pending" | "Creating"; - /** App Service plan subscription. */ - subscription?: string; /** Specification for the App Service Environment to use for the App Service plan. */ hostingEnvironmentProfile?: HostingEnvironmentProfile; - /** Maximum number of instances that can be assigned to this App Service plan. */ - maximumNumberOfWorkers?: number; - /** Geographical location for the App Service plan. */ - geoRegion?: string; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. @@ -1662,16 +1374,12 @@ export interface AppServicePlanProperties { elasticScaleEnabled?: boolean; /** Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ maximumElasticWorkerCount?: number; - /** Number of apps assigned to this App Service plan. */ - numberOfSites?: number; /** If true, this App Service Plan owns spot instances. */ isSpot?: boolean; /** The time when the server farm expires. Valid only if it is a spot server farm. */ spotExpirationTime?: Date | string; /** The time when the server farm free offer expires. */ freeOfferExpirationTime?: Date | string; - /** Resource group of the App Service plan. */ - resourceGroup?: string; /** If Linux app service plan true, false otherwise. */ reserved?: boolean; /** Obsolete: If Hyper-V container app service plan true, false otherwise. */ @@ -1682,8 +1390,6 @@ export interface AppServicePlanProperties { targetWorkerCount?: number; /** Scaling worker size ID. */ targetWorkerSizeId?: number; - /** Provisioning state of the App Service Plan. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Specification for the Kubernetes Environment to use for the App Service plan. */ kubeEnvironmentProfile?: KubeEnvironmentProfile; /** @@ -1693,33 +1399,24 @@ export interface AppServicePlanProperties { zoneRedundant?: boolean; } +/** Specification for a Kubernetes Environment to use for this resource. */ export interface KubeEnvironmentProfile { /** Resource ID of the Kubernetes Environment. */ id?: string; - /** Name of the Kubernetes Environment. */ - name?: string; - /** Resource type of the Kubernetes Environment. */ - type?: string; } +/** ARM resource for a app service plan. */ export interface AppServicePlanPatchResource extends ProxyOnlyResource { /** AppServicePlanPatchResource resource specific properties */ properties?: AppServicePlanPatchResourceProperties; } +/** AppServicePlanPatchResource resource specific properties */ export interface AppServicePlanPatchResourceProperties { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; - /** App Service plan status. */ - status?: "Ready" | "Pending" | "Creating"; - /** App Service plan subscription. */ - subscription?: string; /** Specification for the App Service Environment to use for the App Service plan. */ hostingEnvironmentProfile?: HostingEnvironmentProfile; - /** Maximum number of instances that can be assigned to this App Service plan. */ - maximumNumberOfWorkers?: number; - /** Geographical location for the App Service plan. */ - geoRegion?: string; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. @@ -1729,16 +1426,12 @@ export interface AppServicePlanPatchResourceProperties { elasticScaleEnabled?: boolean; /** Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ maximumElasticWorkerCount?: number; - /** Number of apps assigned to this App Service plan. */ - numberOfSites?: number; /** If true, this App Service Plan owns spot instances. */ isSpot?: boolean; /** The time when the server farm expires. Valid only if it is a spot server farm. */ spotExpirationTime?: Date | string; /** The time when the server farm free offer expires. */ freeOfferExpirationTime?: Date | string; - /** Resource group of the App Service plan. */ - resourceGroup?: string; /** If Linux app service plan true, false otherwise. */ reserved?: boolean; /** Obsolete: If Hyper-V container app service plan true, false otherwise. */ @@ -1749,8 +1442,6 @@ export interface AppServicePlanPatchResourceProperties { targetWorkerCount?: number; /** Scaling worker size ID. */ targetWorkerSizeId?: number; - /** Provisioning state of the App Service Plan. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Specification for the Kubernetes Environment to use for the App Service plan. */ kubeEnvironmentProfile?: KubeEnvironmentProfile; /** @@ -1760,11 +1451,13 @@ export interface AppServicePlanPatchResourceProperties { zoneRedundant?: boolean; } +/** Hybrid Connection contract. This is used to configure a Hybrid Connection. */ export interface HybridConnection extends ProxyOnlyResource { /** HybridConnection resource specific properties */ properties?: HybridConnectionProperties; } +/** HybridConnection resource specific properties */ export interface HybridConnectionProperties { /** The name of the Service Bus namespace. */ serviceBusNamespace?: string; @@ -1787,60 +1480,52 @@ export interface HybridConnectionProperties { serviceBusSuffix?: string; } +/** Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. */ export interface HybridConnectionKey extends ProxyOnlyResource { /** HybridConnectionKey resource specific properties */ properties?: HybridConnectionKeyProperties; } -export interface HybridConnectionKeyProperties { - /** The name of the send key. */ - sendKeyName?: string; - /** The value of the send key. */ - sendKeyValue?: string; -} +/** HybridConnectionKey resource specific properties */ +export interface HybridConnectionKeyProperties {} +/** Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections. */ export interface HybridConnectionLimits extends ProxyOnlyResource { /** HybridConnectionLimits resource specific properties */ properties?: HybridConnectionLimitsProperties; } -export interface HybridConnectionLimitsProperties { - /** The current number of Hybrid Connections. */ - current?: number; - /** The maximum number of Hybrid Connections allowed. */ - maximum?: number; -} +/** HybridConnectionLimits resource specific properties */ +export interface HybridConnectionLimitsProperties {} +/** Virtual Network information ARM resource. */ export interface VnetInfoResource extends ProxyOnlyResource { /** Core resource properties */ properties?: VnetInfo; } +/** Virtual Network information contract. */ export interface VnetInfo { /** The Virtual Network's resource ID. */ vnetResourceId?: string; - /** The client certificate thumbprint. */ - certThumbprint?: string; /** * A certificate file (.cer) blob containing the public key of the private key used to authenticate a * Point-To-Site VPN connection. */ certBlob?: string; - /** The routes that this Virtual Network connection uses. */ - routes?: Array; - /** true if a resync is required; otherwise, false. */ - resyncRequired?: boolean; /** DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. */ dnsServers?: string; /** Flag that is used to denote if this is VNET injection */ isSwift?: boolean; } +/** Virtual Network route contract used to pass routing information for a Virtual Network. */ export interface VnetRoute extends ProxyOnlyResource { /** VnetRoute resource specific properties */ properties?: VnetRouteProperties; } +/** VnetRoute resource specific properties */ export interface VnetRouteProperties { /** The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. */ startAddress?: string; @@ -1857,11 +1542,13 @@ export interface VnetRouteProperties { routeType?: "DEFAULT" | "INHERITED" | "STATIC"; } +/** The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package. */ export interface VnetGateway extends ProxyOnlyResource { /** VnetGateway resource specific properties */ properties?: VnetGatewayProperties; } +/** VnetGateway resource specific properties */ export interface VnetGatewayProperties { /** The Virtual Network name. */ vnetName?: string; @@ -1869,18 +1556,16 @@ export interface VnetGatewayProperties { vpnPackageUri: string; } +/** SSL certificate for an app. */ export interface Certificate extends Resource { /** Certificate resource specific properties */ properties?: CertificateProperties; } +/** Certificate resource specific properties */ export interface CertificateProperties { /** Certificate password. */ password?: string; - /** Friendly name of the certificate. */ - friendlyName?: string; - /** Subject name of the certificate. */ - subjectName?: string; /** Host names the certificate applies to. */ hostNames?: Array; /** @@ -1889,47 +1574,10 @@ export interface CertificateProperties { * Value may contain base64 encoded characters */ pfxBlob?: string; - /** App name. */ - siteName?: string; - /** Self link. */ - selfLink?: string; - /** Certificate issuer. */ - issuer?: string; - /** Certificate issue Date. */ - issueDate?: Date | string; - /** Certificate expiration date. */ - expirationDate?: Date | string; - /** Certificate thumbprint. */ - thumbprint?: string; - /** Is the certificate valid?. */ - valid?: boolean; - /** - * Raw bytes of .cer file - * - * Value may contain base64 encoded characters - */ - cerBlob?: string; - /** Public key hash. */ - publicKeyHash?: string; - /** Specification for the App Service Environment to use for the certificate. */ - hostingEnvironmentProfile?: HostingEnvironmentProfile; /** Key Vault Csm resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; - /** Status of the Key Vault secret. */ - keyVaultSecretStatus?: - | "Initialized" - | "WaitingOnCertificateOrder" - | "Succeeded" - | "CertificateOrderFailed" - | "OperationNotPermittedOnKeyVault" - | "AzureServiceUnauthorizedToAccessKeyVault" - | "KeyVaultDoesNotExist" - | "KeyVaultSecretDoesNotExist" - | "UnknownError" - | "ExternalPrivateKey" - | "Unknown"; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ serverFarmId?: string; /** CNAME of the certificate to be issued via free certificate */ @@ -1938,18 +1586,16 @@ export interface CertificateProperties { domainValidationMethod?: string; } +/** ARM resource for a certificate. */ export interface CertificatePatchResource extends ProxyOnlyResource { /** CertificatePatchResource resource specific properties */ properties?: CertificatePatchResourceProperties; } +/** CertificatePatchResource resource specific properties */ export interface CertificatePatchResourceProperties { /** Certificate password. */ password?: string; - /** Friendly name of the certificate. */ - friendlyName?: string; - /** Subject name of the certificate. */ - subjectName?: string; /** Host names the certificate applies to. */ hostNames?: Array; /** @@ -1958,47 +1604,10 @@ export interface CertificatePatchResourceProperties { * Value may contain base64 encoded characters */ pfxBlob?: string; - /** App name. */ - siteName?: string; - /** Self link. */ - selfLink?: string; - /** Certificate issuer. */ - issuer?: string; - /** Certificate issue Date. */ - issueDate?: Date | string; - /** Certificate expiration date. */ - expirationDate?: Date | string; - /** Certificate thumbprint. */ - thumbprint?: string; - /** Is the certificate valid?. */ - valid?: boolean; - /** - * Raw bytes of .cer file - * - * Value may contain base64 encoded characters - */ - cerBlob?: string; - /** Public key hash. */ - publicKeyHash?: string; - /** Specification for the App Service Environment to use for the certificate. */ - hostingEnvironmentProfile?: HostingEnvironmentProfile; /** Key Vault Csm resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; - /** Status of the Key Vault secret. */ - keyVaultSecretStatus?: - | "Initialized" - | "WaitingOnCertificateOrder" - | "Succeeded" - | "CertificateOrderFailed" - | "OperationNotPermittedOnKeyVault" - | "AzureServiceUnauthorizedToAccessKeyVault" - | "KeyVaultDoesNotExist" - | "KeyVaultSecretDoesNotExist" - | "UnknownError" - | "ExternalPrivateKey" - | "Unknown"; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ serverFarmId?: string; /** CNAME of the certificate to be issued via free certificate */ @@ -2007,26 +1616,23 @@ export interface CertificatePatchResourceProperties { domainValidationMethod?: string; } +/** Container App. */ export interface ContainerApp extends Resource { /** ContainerApp resource specific properties */ properties?: ContainerAppProperties; } +/** ContainerApp resource specific properties */ export interface ContainerAppProperties { - /** Provisioning state of the Container App. */ - provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; /** Resource ID of the Container App's KubeEnvironment. */ kubeEnvironmentId?: string; - /** Name of the latest revision of the Container App. */ - latestRevisionName?: string; - /** Fully Qualified Domain Name of the latest revision of the Container App. */ - latestRevisionFqdn?: string; /** Non versioned Container App configuration properties. */ configuration?: Configuration; /** Container App versioned application definition. */ template?: Template; } +/** Non versioned Container App configuration properties that define the mutable settings of a Container app */ export interface Configuration { /** Collection of secrets used by a Container app */ secrets?: Array; @@ -2041,6 +1647,7 @@ export interface Configuration { registries?: Array; } +/** Container App Secret. */ export interface Secret { /** Secret Name. */ name?: string; @@ -2048,9 +1655,8 @@ export interface Secret { value?: string; } +/** Container App Ingress configuration. */ export interface Ingress { - /** Hostname. */ - fqdn?: string; /** Bool indicating if app exposes an external http endpoint */ external?: boolean; /** Target Port in containers for traffic from ingress */ @@ -2062,6 +1668,7 @@ export interface Ingress { allowInsecure?: boolean; } +/** Traffic weight assigned to a revision */ export interface TrafficWeight { /** Name of a revision */ revisionName?: string; @@ -2071,6 +1678,7 @@ export interface TrafficWeight { latestRevision?: boolean; } +/** Container App Private Registry */ export interface RegistryCredentials { /** Container Registry Server */ server?: string; @@ -2080,6 +1688,11 @@ export interface RegistryCredentials { passwordSecretRef?: string; } +/** + * Container App versioned application definition. + * Defines the desired state of an immutable revision. + * Any changes to this section Will result in a new revision being created + */ export interface Template { /** User friendly suffix that is appended to the revision name */ revisionSuffix?: string; @@ -2091,6 +1704,7 @@ export interface Template { dapr?: Dapr; } +/** Container App container definition. */ export interface Container { /** Container image tag. */ image?: string; @@ -2106,6 +1720,7 @@ export interface Container { resources?: ContainerResources; } +/** Container App container environment variable. */ export interface EnvironmentVar { /** Environment variable name. */ name?: string; @@ -2115,6 +1730,7 @@ export interface EnvironmentVar { secretRef?: string; } +/** Container App container resource requirements. */ export interface ContainerResources { /** Required CPU in cores, e.g. 0.5 */ cpu?: number; @@ -2122,6 +1738,7 @@ export interface ContainerResources { memory?: string; } +/** Container App scaling configurations. */ export interface Scale { /** Optional. Minimum number of container replicas. */ minReplicas?: number; @@ -2131,6 +1748,7 @@ export interface Scale { rules?: Array; } +/** Container App container scaling rule. */ export interface ScaleRule { /** Scale Rule Name */ name?: string; @@ -2142,6 +1760,7 @@ export interface ScaleRule { http?: HttpScaleRule; } +/** Container App container Azure Queue based scaling rule. */ export interface QueueScaleRule { /** Queue name. */ queueName?: string; @@ -2151,6 +1770,7 @@ export interface QueueScaleRule { auth?: Array; } +/** Auth Secrets for Container App Scale Rule */ export interface ScaleRuleAuth { /** Name of the Container App secret from which to pull the auth params. */ secretRef?: string; @@ -2158,6 +1778,7 @@ export interface ScaleRuleAuth { triggerParameter?: string; } +/** Container App container Custom scaling rule. */ export interface CustomScaleRule { /** * Type of the custom scale rule @@ -2170,6 +1791,7 @@ export interface CustomScaleRule { auth?: Array; } +/** Container App container Custom scaling rule. */ export interface HttpScaleRule { /** Metadata properties to describe http scale rule. */ metadata?: Record; @@ -2177,6 +1799,7 @@ export interface HttpScaleRule { auth?: Array; } +/** Container App Dapr configuration. */ export interface Dapr { /** Boolean indicating if the Dapr side car is enabled */ enabled?: boolean; @@ -2188,6 +1811,7 @@ export interface Dapr { components?: Array; } +/** Dapr component configuration */ export interface DaprComponent { /** Component name */ name?: string; @@ -2199,6 +1823,7 @@ export interface DaprComponent { metadata?: Array; } +/** Container App Dapr component metadata. */ export interface DaprMetadata { /** Metadata property name. */ name?: string; @@ -2208,93 +1833,49 @@ export interface DaprMetadata { secretRef?: string; } +/** Container App Revision. */ export interface Revision extends Resource { /** Revision resource specific properties */ properties?: RevisionProperties; } -export interface RevisionProperties { - /** - * Timestamp describing when the revision was created - * by controller - */ - createdTime?: Date | string; - /** Fully qualified domain name of the revision */ - fqdn?: string; - /** - * Container App Revision Template with all possible settings and the - * defaults if user did not provide them. The defaults are populated - * as they were at the creation time - */ - template?: Template; - /** Boolean describing if the Revision is Active */ - active?: boolean; - /** Number of pods currently running for this revision */ - replicas?: number; - /** Traffic weight assigned to this revision */ - trafficWeight?: number; - /** Optional Field - Platform Error Message */ - provisioningError?: string; - /** Current health State of the revision */ - healthState?: "Healthy" | "Unhealthy" | "None"; - /** Current provisioning State of the revision */ - provisioningState?: - | "Provisioning" - | "Provisioned" - | "Failed" - | "Deprovisioning" - | "Deprovisioned"; -} +/** Revision resource specific properties */ +export interface RevisionProperties {} +/** A deleted app. */ export interface DeletedSite extends ProxyOnlyResource { /** DeletedSite resource specific properties */ properties?: DeletedSiteProperties; } -export interface DeletedSiteProperties { - /** Numeric id for the deleted site */ - deletedSiteId?: number; - /** Time in UTC when the app was deleted. */ - deletedTimestamp?: string; - /** Subscription containing the deleted site */ - subscription?: string; - /** ResourceGroup that contained the deleted site */ - resourceGroup?: string; - /** Name of the deleted site */ - deletedSiteName?: string; - /** Slot of the deleted site */ - slot?: string; - /** Kind of site that was deleted */ - kind?: string; - /** Geo Region of the deleted site */ - geoRegionName?: string; -} +/** DeletedSite resource specific properties */ +export interface DeletedSiteProperties {} +/** Class representing detector definition */ export interface DiagnosticCategory extends ProxyOnlyResource { /** DiagnosticCategory resource specific properties */ properties?: DiagnosticCategoryProperties; } -export interface DiagnosticCategoryProperties { - /** Description of the diagnostic category */ - description?: string; -} +/** DiagnosticCategory resource specific properties */ +export interface DiagnosticCategoryProperties {} +/** Definition of Analysis */ export interface AnalysisDefinition extends ProxyOnlyResource { /** AnalysisDefinition resource specific properties */ properties?: AnalysisDefinitionProperties; } -export interface AnalysisDefinitionProperties { - /** Description of the Analysis */ - description?: string; -} +/** AnalysisDefinition resource specific properties */ +export interface AnalysisDefinitionProperties {} +/** Class representing a diagnostic analysis done on an application */ export interface DiagnosticAnalysis extends ProxyOnlyResource { /** DiagnosticAnalysis resource specific properties */ properties?: DiagnosticAnalysisProperties; } +/** DiagnosticAnalysis resource specific properties */ export interface DiagnosticAnalysisProperties { /** Start time of the period */ startTime?: Date | string; @@ -2308,6 +1889,7 @@ export interface DiagnosticAnalysisProperties { nonCorrelatedDetectors?: Array; } +/** Class representing Abnormal Time Period identified in diagnosis */ export interface AbnormalTimePeriod { /** Start time of the downtime */ startTime?: Date | string; @@ -2319,6 +1901,7 @@ export interface AbnormalTimePeriod { solutions?: Array; } +/** Class representing Abnormal Time Period detected. */ export interface DetectorAbnormalTimePeriod { /** Start time of the correlated event */ startTime?: Date | string; @@ -2346,6 +1929,7 @@ export interface DetectorAbnormalTimePeriod { solutions?: Array; } +/** Class Representing Solution for problems detected. */ export interface Solution { /** Solution Id. */ id?: number; @@ -2363,6 +1947,7 @@ export interface Solution { metadata?: Array>; } +/** Class Representing Detector Evidence used for analysis */ export interface AnalysisData { /** Name of the Detector */ source?: string; @@ -2376,17 +1961,10 @@ export interface AnalysisData { detectorMetaData?: ResponseMetaData; } -export interface DetectorDefinition { - /** Display name of the detector */ - displayName?: string; - /** Description of the detector */ - description?: string; - /** Detector Rank */ - rank?: number; - /** Flag representing whether detector is enabled or not. */ - isEnabled?: boolean; -} +/** Class representing detector definition */ +export interface DetectorDefinition {} +/** Class representing Diagnostic Metric information */ export interface DiagnosticMetricSet { /** Name of the metric */ name?: string; @@ -2402,6 +1980,7 @@ export interface DiagnosticMetricSet { values?: Array; } +/** Class representing Diagnostic Metric */ export interface DiagnosticMetricSample { /** Time at which metric is measured */ timestamp?: Date | string; @@ -2427,6 +2006,7 @@ export interface ResponseMetaData { dataSource?: DataSource; } +/** Class representing data source used by the detectors */ export interface DataSource { /** Instructions if any for the data source */ instructions?: Array; @@ -2434,16 +2014,19 @@ export interface DataSource { dataSourceUri?: Array; } +/** ARM resource for a detector definition */ export interface DetectorDefinitionResource extends ProxyOnlyResource { /** Core resource properties */ properties?: DetectorDefinition; } +/** Class representing Response from Diagnostic Detectors */ export interface DiagnosticDetectorResponse extends ProxyOnlyResource { /** DiagnosticDetectorResponse resource specific properties */ properties?: DiagnosticDetectorResponseProperties; } +/** DiagnosticDetectorResponse resource specific properties */ export interface DiagnosticDetectorResponseProperties { /** Start time of the period */ startTime?: Date | string; @@ -2463,16 +2046,16 @@ export interface DiagnosticDetectorResponseProperties { responseMetaData?: ResponseMetaData; } +/** A snapshot of an app. */ export interface Snapshot extends ProxyOnlyResource { /** Snapshot resource specific properties */ properties?: SnapshotProperties; } -export interface SnapshotProperties { - /** The time the snapshot was taken. */ - time?: string; -} +/** Snapshot resource specific properties */ +export interface SnapshotProperties {} +/** A Kubernetes cluster specialized for web workloads by Azure App Service */ export interface KubeEnvironment extends Resource { /** KubeEnvironment resource specific properties */ properties?: KubeEnvironmentProperties; @@ -2480,25 +2063,10 @@ export interface KubeEnvironment extends Resource { extendedLocation?: ExtendedLocation; } +/** KubeEnvironment resource specific properties */ export interface KubeEnvironmentProperties { - /** Provisioning state of the Kubernetes Environment. */ - provisioningState?: - | "Succeeded" - | "Failed" - | "Canceled" - | "Waiting" - | "InitializationInProgress" - | "InfrastructureSetupInProgress" - | "InfrastructureSetupComplete" - | "ScheduledForDelete" - | "UpgradeRequested" - | "UpgradeFailed"; - /** Any errors that occurred during deployment or deployment validation */ - deploymentErrors?: string; /** Only visible within Vnet/Subnet */ internalLoadBalancerEnabled?: boolean; - /** Default Domain Name for the cluster */ - defaultDomain?: string; /** Static IP of the KubeEnvironment */ staticIp?: string; /** Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed */ @@ -2559,30 +2127,16 @@ export interface ContainerAppsConfiguration { dockerBridgeCidr?: string; } +/** ARM resource for a KubeEnvironment when patching */ export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { /** KubeEnvironmentPatchResource resource specific properties */ properties?: KubeEnvironmentPatchResourceProperties; } +/** KubeEnvironmentPatchResource resource specific properties */ export interface KubeEnvironmentPatchResourceProperties { - /** Provisioning state of the Kubernetes Environment. */ - provisioningState?: - | "Succeeded" - | "Failed" - | "Canceled" - | "Waiting" - | "InitializationInProgress" - | "InfrastructureSetupInProgress" - | "InfrastructureSetupComplete" - | "ScheduledForDelete" - | "UpgradeRequested" - | "UpgradeFailed"; - /** Any errors that occurred during deployment or deployment validation */ - deploymentErrors?: string; /** Only visible within Vnet/Subnet */ internalLoadBalancerEnabled?: boolean; - /** Default Domain Name for the cluster */ - defaultDomain?: string; /** Static IP of the KubeEnvironment */ staticIp?: string; /** @@ -2602,11 +2156,13 @@ export interface KubeEnvironmentPatchResourceProperties { aksResourceID?: string; } +/** ARM resource for a ApplicationStack. */ export interface ApplicationStackResource extends ProxyOnlyResource { /** Core resource properties */ properties?: ApplicationStack; } +/** Application stack. */ export interface ApplicationStack { /** Application stack name. */ name?: string; @@ -2622,6 +2178,7 @@ export interface ApplicationStack { isDeprecated?: Array; } +/** Application stack major version. */ export interface StackMajorVersion { /** Application stack major version (display only). */ displayVersion?: string; @@ -2655,6 +2212,7 @@ export interface StackMajorVersion { siteConfigPropertiesDictionary?: Record>; } +/** Application stack minor version. */ export interface StackMinorVersion { /** Application stack minor version (display only). */ displayVersion?: string; @@ -2666,218 +2224,70 @@ export interface StackMinorVersion { isRemoteDebuggingEnabled?: boolean; } +/** Function App Stack. */ export interface FunctionAppStack extends ProxyOnlyResource { - /** Function App stack location. */ - location?: string; /** FunctionAppStack resource specific properties */ properties?: FunctionAppStackProperties; } -export interface FunctionAppStackProperties { - /** Function App stack (display only). */ - displayText?: string; - /** Function App stack name. */ - value?: string; - /** List of major versions available. */ - majorVersions?: Array; - /** Function App stack preferred OS. */ - preferredOs?: "Windows" | "Linux"; -} +/** FunctionAppStack resource specific properties */ +export interface FunctionAppStackProperties {} -export interface FunctionAppMajorVersion { - /** Function App stack major version (display only). */ - displayText?: string; - /** Function App stack major version name. */ - value?: string; - /** Minor versions associated with the major version. */ - minorVersions?: Array; -} +/** Function App stack major version. */ +export interface FunctionAppMajorVersion {} -export interface FunctionAppMinorVersion { - /** Function App stack (display only). */ - displayText?: string; - /** Function App stack name. */ - value?: string; - /** Settings associated with the minor version. */ - stackSettings?: FunctionAppRuntimes; -} +/** Function App stack minor version. */ +export interface FunctionAppMinorVersion {} -export interface FunctionAppRuntimes { - /** Linux-specific settings associated with the minor version. */ - linuxRuntimeSettings?: FunctionAppRuntimeSettings; - /** Windows-specific settings associated with the minor version. */ - windowsRuntimeSettings?: FunctionAppRuntimeSettings; -} +/** Function App stack runtimes. */ +export interface FunctionAppRuntimes {} -export interface FunctionAppRuntimeSettings { - /** Function App stack minor version (runtime only). */ - runtimeVersion?: string; - /** true if remote debugging is supported for the stack; otherwise, false. */ - remoteDebuggingSupported?: boolean; - /** Application Insights settings associated with the minor version. */ - appInsightsSettings?: AppInsightsWebAppStackSettings; - /** GitHub Actions settings associated with the minor version. */ - gitHubActionSettings?: GitHubActionWebAppStackSettings; - /** Application settings associated with the minor version. */ - appSettingsDictionary?: Record; - /** Configuration settings associated with the minor version. */ - siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; - /** List of supported Functions extension versions. */ - supportedFunctionsExtensionVersions?: Array; - /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; - /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; - /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; - /** End-of-life date for the minor version. */ - endOfLifeDate?: Date | string; - /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; - /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; - /** true if the minor version the default; otherwise, false. */ - isDefault?: boolean; -} +/** Function App runtime settings. */ +export interface FunctionAppRuntimeSettings {} -export interface AppInsightsWebAppStackSettings { - /** true if remote Application Insights is supported for the stack; otherwise, false. */ - isSupported?: boolean; - /** true if Application Insights is disabled by default for the stack; otherwise, false. */ - isDefaultOff?: boolean; -} +/** App Insights Web App stack settings. */ +export interface AppInsightsWebAppStackSettings {} -export interface GitHubActionWebAppStackSettings { - /** true if GitHub Actions is supported for the stack; otherwise, false. */ - isSupported?: boolean; - /** The minor version that is supported for GitHub Actions. */ - supportedVersion?: string; -} +/** GitHub Actions Web App stack settings. */ +export interface GitHubActionWebAppStackSettings {} -export interface SiteConfigPropertiesDictionary { - /** true if use32BitWorkerProcess should be set to true for the stack; otherwise, false. */ - use32BitWorkerProcess?: boolean; - /** LinuxFxVersion configuration setting. */ - linuxFxVersion?: string; - /** JavaVersion configuration setting. */ - javaVersion?: string; - /** PowerShellVersion configuration setting. */ - powerShellVersion?: string; -} +/** Site config properties dictionary. */ +export interface SiteConfigPropertiesDictionary {} +/** Web App stack. */ export interface WebAppStack extends ProxyOnlyResource { - /** Web App stack location. */ - location?: string; /** WebAppStack resource specific properties */ properties?: WebAppStackProperties; } -export interface WebAppStackProperties { - /** Web App stack (display only). */ - displayText?: string; - /** Web App stack name. */ - value?: string; - /** List of major versions available. */ - majorVersions?: Array; - /** Web App stack preferred OS. */ - preferredOs?: "Windows" | "Linux"; -} +/** WebAppStack resource specific properties */ +export interface WebAppStackProperties {} -export interface WebAppMajorVersion { - /** Web App stack major version (display only). */ - displayText?: string; - /** Web App stack major version name. */ - value?: string; - /** Minor versions associated with the major version. */ - minorVersions?: Array; -} +/** Web App stack major version. */ +export interface WebAppMajorVersion {} -export interface WebAppMinorVersion { - /** Web App stack minor version (display only). */ - displayText?: string; - /** Web App stack major version name. */ - value?: string; - /** Settings associated with the minor version. */ - stackSettings?: WebAppRuntimes; -} +/** Web App stack minor version. */ +export interface WebAppMinorVersion {} -export interface WebAppRuntimes { - /** Linux-specific settings associated with the minor version. */ - linuxRuntimeSettings?: WebAppRuntimeSettings; - /** Windows-specific settings associated with the minor version. */ - windowsRuntimeSettings?: WebAppRuntimeSettings; - /** Linux-specific settings associated with the Java container minor version. */ - linuxContainerSettings?: LinuxJavaContainerSettings; - /** Windows-specific settings associated with the Java container minor version. */ - windowsContainerSettings?: WindowsJavaContainerSettings; -} +/** Web App stack runtimes. */ +export interface WebAppRuntimes {} -export interface WebAppRuntimeSettings { - /** Web App stack minor version (runtime only). */ - runtimeVersion?: string; - /** true if remote debugging is supported for the stack; otherwise, false. */ - remoteDebuggingSupported?: boolean; - /** Application Insights settings associated with the minor version. */ - appInsightsSettings?: AppInsightsWebAppStackSettings; - /** GitHub Actions settings associated with the minor version. */ - gitHubActionSettings?: GitHubActionWebAppStackSettings; - /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; - /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; - /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; - /** End-of-life date for the minor version. */ - endOfLifeDate?: Date | string; - /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; - /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; -} - -export interface LinuxJavaContainerSettings { - /** Java 11 version (runtime only). */ - java11Runtime?: string; - /** Java 8 version (runtime only). */ - java8Runtime?: string; - /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; - /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; - /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; - /** End-of-life date for the minor version. */ - endOfLifeDate?: Date | string; - /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; - /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; -} +/** Web App runtime settings. */ +export interface WebAppRuntimeSettings {} -export interface WindowsJavaContainerSettings { - /** Java container (runtime only). */ - javaContainer?: string; - /** Java container version (runtime only). */ - javaContainerVersion?: string; - /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; - /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; - /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; - /** End-of-life date for the minor version. */ - endOfLifeDate?: Date | string; - /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; - /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; -} +/** Linux Java Container settings. */ +export interface LinuxJavaContainerSettings {} +/** Windows Java Container settings. */ +export interface WindowsJavaContainerSettings {} + +/** Represents a recommendation result generated by the recommendation engine. */ export interface Recommendation extends ProxyOnlyResource { /** Recommendation resource specific properties */ properties?: RecommendationProperties; } +/** Recommendation resource specific properties */ export interface RecommendationProperties { /** Timestamp when this instance was created. */ creationTime?: Date | string; @@ -2901,8 +2311,6 @@ export interface RecommendationProperties { level?: "Critical" | "Warning" | "Information" | "NonUrgentSuggestion"; /** List of channels that this recommendation can apply. */ channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; - /** The list of category tags that this recommendation belongs to. */ - categoryTags?: Array; /** Name of action recommended by this object. */ actionName?: string; /** True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. */ @@ -2931,11 +2339,13 @@ export interface RecommendationProperties { forwardLink?: string; } +/** Represents a recommendation rule that the recommendation engine can perform. */ export interface RecommendationRule extends ProxyOnlyResource { /** RecommendationRule resource specific properties */ properties?: RecommendationRuleProperties; } +/** RecommendationRule resource specific properties */ export interface RecommendationRuleProperties { /** Unique name of the rule. */ recommendationName?: string; @@ -2958,8 +2368,6 @@ export interface RecommendationRuleProperties { level?: "Critical" | "Warning" | "Information" | "NonUrgentSuggestion"; /** List of available channels that this rule applies. */ channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; - /** The list of category tags that this recommendation rule belongs to. */ - categoryTags?: Array; /** True if this is associated with a dynamically added rule */ isDynamic?: boolean; /** Extension name of the portal if exists. Applicable to dynamic rule only. */ @@ -2970,11 +2378,13 @@ export interface RecommendationRuleProperties { forwardLink?: string; } +/** Used for getting ResourceHealthCheck settings. */ export interface ResourceHealthMetadata extends ProxyOnlyResource { /** ResourceHealthMetadata resource specific properties */ properties?: ResourceHealthMetadataProperties; } +/** ResourceHealthMetadata resource specific properties */ export interface ResourceHealthMetadataProperties { /** The category that the resource matches in the RHC Policy File */ category?: string; @@ -2982,11 +2392,13 @@ export interface ResourceHealthMetadataProperties { signalAvailability?: boolean; } +/** User credentials used for publishing activity. */ export interface User extends ProxyOnlyResource { /** User resource specific properties */ properties?: UserProperties; } +/** User resource specific properties */ export interface UserProperties { /** Username used for publishing. */ publishingUserName: string; @@ -3012,11 +2424,13 @@ export interface UserProperties { scmUri?: string; } +/** The source control OAuth token. */ export interface SourceControl extends ProxyOnlyResource { /** SourceControl resource specific properties */ properties?: SourceControlProperties; } +/** SourceControl resource specific properties */ export interface SourceControlProperties { /** OAuth access token. */ token?: string; @@ -3028,11 +2442,13 @@ export interface SourceControlProperties { expirationTime?: Date | string; } +/** App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services. */ export interface BillingMeter extends ProxyOnlyResource { /** BillingMeter resource specific properties */ properties?: BillingMeterProperties; } +/** BillingMeter resource specific properties */ export interface BillingMeterProperties { /** Meter GUID onboarded in Commerce */ meterId?: string; @@ -3050,6 +2466,7 @@ export interface BillingMeterProperties { multiplier?: number; } +/** Resource name availability request content. */ export interface ResourceNameAvailabilityRequest { /** Resource name to verify. */ name: string; @@ -3067,46 +2484,47 @@ export interface ResourceNameAvailabilityRequest { isFqdn?: boolean; } +/** A hostname and its assigned sites */ export interface CustomHostnameSites extends ProxyOnlyResource { /** CustomHostnameSites resource specific properties */ properties?: CustomHostnameSitesProperties; } +/** CustomHostnameSites resource specific properties */ export interface CustomHostnameSitesProperties { customHostname?: string; region?: string; siteResourceIds?: Array; } +/** A domain specific resource identifier. */ export interface Identifier extends ProxyOnlyResource { /** Identifier resource specific properties */ properties?: IdentifierProperties; } +/** Identifier resource specific properties */ export interface IdentifierProperties { /** String representation of the identity. */ id?: string; } +/** Geographical region. */ export interface GeoRegion extends ProxyOnlyResource { /** GeoRegion resource specific properties */ properties?: GeoRegionProperties; } -export interface GeoRegionProperties { - /** Region description. */ - description?: string; - /** Display name for region. */ - displayName?: string; - /** Display name for region. */ - orgDomain?: string; -} +/** GeoRegion resource specific properties */ +export interface GeoRegionProperties {} +/** Premier add-on offer. */ export interface PremierAddOnOffer extends ProxyOnlyResource { /** PremierAddOnOffer resource specific properties */ properties?: PremierAddOnOfferProperties; } +/** PremierAddOnOffer resource specific properties */ export interface PremierAddOnOfferProperties { /** Premier add on SKU. */ sku?: string; @@ -3130,11 +2548,13 @@ export interface PremierAddOnOfferProperties { marketplaceOffer?: string; } +/** The required set of inputs to validate a VNET */ export interface VnetParameters extends ProxyOnlyResource { /** VnetParameters resource specific properties */ properties?: VnetParametersProperties; } +/** VnetParameters resource specific properties */ export interface VnetParametersProperties { /** The Resource Group of the VNET to be validated */ vnetResourceGroup?: string; @@ -3146,11 +2566,13 @@ export interface VnetParametersProperties { subnetResourceId?: string; } +/** A class that describes the reason for a validation failure. */ export interface VnetValidationFailureDetails extends ProxyOnlyResource { /** VnetValidationFailureDetails resource specific properties */ properties?: VnetValidationFailureDetailsProperties; } +/** VnetValidationFailureDetails resource specific properties */ export interface VnetValidationFailureDetailsProperties { /** Text describing the validation outcome. */ message?: string; @@ -3162,11 +2584,13 @@ export interface VnetValidationFailureDetailsProperties { warnings?: Array; } +/** A class that describes a test that failed during NSG and UDR validation. */ export interface VnetValidationTestFailure extends ProxyOnlyResource { /** VnetValidationTestFailure resource specific properties */ properties?: VnetValidationTestFailureProperties; } +/** VnetValidationTestFailure resource specific properties */ export interface VnetValidationTestFailureProperties { /** The name of the test that failed. */ testName?: string; @@ -3174,11 +2598,13 @@ export interface VnetValidationTestFailureProperties { details?: string; } +/** Object with a list of the resources that need to be moved and the resource group they should be moved to. */ export interface CsmMoveResourceEnvelope { targetResourceGroup?: string; resources?: Array; } +/** Resource validation request content. */ export interface ValidateRequest { /** Resource name to verify. */ name: string; @@ -3190,6 +2616,7 @@ export interface ValidateRequest { properties: ValidateProperties; } +/** App properties used for validation. */ export interface ValidateProperties { /** ARM resource ID of an App Service plan that would host the app. */ serverFarmId?: string; @@ -3221,11 +2648,13 @@ export interface ValidateProperties { appServiceEnvironment?: AppServiceEnvironment; } +/** Request entity for previewing the Static Site workflow */ export interface StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { /** StaticSitesWorkflowPreviewRequest resource specific properties */ properties?: StaticSitesWorkflowPreviewRequestProperties; } +/** StaticSitesWorkflowPreviewRequest resource specific properties */ export interface StaticSitesWorkflowPreviewRequestProperties { /** URL for the repository of the static site. */ repositoryUrl?: string; @@ -3235,6 +2664,7 @@ export interface StaticSitesWorkflowPreviewRequestProperties { buildProperties?: StaticSiteBuildProperties; } +/** Build properties for the static site. */ export interface StaticSiteBuildProperties { /** The path to the app code within the repository. */ appLocation?: string; @@ -3254,18 +2684,16 @@ export interface StaticSiteBuildProperties { githubActionSecretNameOverride?: string; } +/** Preview for the Static Site Workflow to be generated */ export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { /** StaticSitesWorkflowPreview resource specific properties */ properties?: StaticSitesWorkflowPreviewProperties; } -export interface StaticSitesWorkflowPreviewProperties { - /** The path for the workflow file to be generated */ - path?: string; - /** The contents for the workflow file to be generated */ - contents?: string; -} +/** StaticSitesWorkflowPreview resource specific properties */ +export interface StaticSitesWorkflowPreviewProperties {} +/** Static Site ARM resource. */ export interface StaticSiteARMResource extends Resource { /** Core resource properties */ properties?: StaticSite; @@ -3275,39 +2703,29 @@ export interface StaticSiteARMResource extends Resource { identity?: ManagedServiceIdentity; } +/** A static site. */ export interface StaticSite { - /** The default autogenerated hostname for the static site. */ - defaultHostname?: string; /** URL for the repository of the static site. */ repositoryUrl?: string; /** The target branch in the repository. */ branch?: string; - /** The custom domains associated with this static site. */ - customDomains?: Array; /** A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. */ repositoryToken?: string; /** Build properties to configure on the repository. */ buildProperties?: StaticSiteBuildProperties; - /** Private endpoint connections */ - privateEndpointConnections?: Array; /** State indicating whether staging environments are allowed or not allowed for a static web app. */ stagingEnvironmentPolicy?: "Enabled" | "Disabled"; /** false if config file is locked for this static web app; otherwise, true. */ allowConfigFileUpdates?: boolean; /** Template options for generating a new repository. */ templateProperties?: StaticSiteTemplateOptions; - /** The content distribution endpoint for the static site. */ - contentDistributionEndpoint?: string; - /** Identity to use for Key Vault Reference authentication. */ - keyVaultReferenceIdentity?: string; - /** User provided function apps registered with the static site */ - userProvidedFunctionApps?: Array; /** The provider that submitted the last deployment to the primary environment of the static site. */ provider?: string; /** State indicating the status of the enterprise grade CDN serving traffic to the static web app. */ enterpriseGradeCdnStatus?: "Enabled" | "Enabling" | "Disabled" | "Disabling"; } +/** Message envelope that contains the common Azure resource manager properties and the resource provider specific content. */ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { /** * Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this @@ -3339,6 +2757,7 @@ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { zones?: Array; } +/** The plan object in Azure Resource Manager, represents a marketplace plan. */ export interface ArmPlan { /** The name. */ name?: string; @@ -3352,13 +2771,14 @@ export interface ArmPlan { version?: string; } +/** A remote private endpoint connection */ export interface RemotePrivateEndpointConnection extends ProxyOnlyResource { /** RemotePrivateEndpointConnection resource specific properties */ properties?: RemotePrivateEndpointConnectionProperties; } +/** RemotePrivateEndpointConnection resource specific properties */ export interface RemotePrivateEndpointConnectionProperties { - provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ privateEndpoint?: ArmIdWrapper; /** The state of a private link connection */ @@ -3367,6 +2787,7 @@ export interface RemotePrivateEndpointConnectionProperties { ipAddresses?: Array; } +/** Template Options for the static site. */ export interface StaticSiteTemplateOptions { /** URL of the template repository. The newly generated repository will be based on this one. */ templateRepositoryUrl?: string; @@ -3380,108 +2801,83 @@ export interface StaticSiteTemplateOptions { isPrivate?: boolean; } +/** A static site user provided function. */ export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { /** StaticSiteUserProvidedFunctionApp resource specific properties */ properties?: StaticSiteUserProvidedFunctionAppProperties; } +/** StaticSiteUserProvidedFunctionApp resource specific properties */ export interface StaticSiteUserProvidedFunctionAppProperties { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ functionAppRegion?: string; - /** The date and time on which the function app was registered with the static site. */ - createdOn?: Date | string; } +/** ARM resource for a static site when patching */ export interface StaticSitePatchResource extends ProxyOnlyResource { /** Core resource properties */ properties?: StaticSite; } +/** Static Site User ARM resource. */ export interface StaticSiteUserARMResource extends ProxyOnlyResource { /** StaticSiteUserARMResource resource specific properties */ properties?: StaticSiteUserARMResourceProperties; } +/** StaticSiteUserARMResource resource specific properties */ export interface StaticSiteUserARMResourceProperties { - /** The identity provider for the static site user. */ - provider?: string; - /** The user id for the static site user. */ - userId?: string; - /** The display name for the static site user. */ - displayName?: string; /** The roles for the static site user, in free-form string format */ roles?: string; } +/** Static Site Build ARM resource. */ export interface StaticSiteBuildARMResource extends ProxyOnlyResource { /** StaticSiteBuildARMResource resource specific properties */ properties?: StaticSiteBuildARMResourceProperties; } -export interface StaticSiteBuildARMResourceProperties { - /** An identifier for the static site build. */ - buildId?: string; - /** The source branch. */ - sourceBranch?: string; - /** The title of a pull request that a static site build is related to. */ - pullRequestTitle?: string; - /** The hostname for a static site build. */ - hostname?: string; - /** When this build was created. */ - createdTimeUtc?: Date | string; - /** When this build was updated. */ - lastUpdatedOn?: Date | string; - /** The status of the static site build. */ - status?: - | "WaitingForDeployment" - | "Uploading" - | "Deploying" - | "Ready" - | "Failed" - | "Deleting" - | "Detached"; - /** User provided function apps registered with the static site build */ - userProvidedFunctionApps?: Array; -} +/** StaticSiteBuildARMResource resource specific properties */ +export interface StaticSiteBuildARMResourceProperties {} +/** String dictionary resource. */ export interface StringDictionary extends ProxyOnlyResource { /** Settings. */ properties?: Record; } +/** Static Site Function Overview ARM resource. */ export interface StaticSiteFunctionOverviewARMResource extends ProxyOnlyResource { /** StaticSiteFunctionOverviewARMResource resource specific properties */ properties?: StaticSiteFunctionOverviewARMResourceProperties; } -export interface StaticSiteFunctionOverviewARMResourceProperties { - /** The name for the function */ - functionName?: string; - /** The trigger type of the function */ - triggerType?: "HttpTrigger" | "Unknown"; -} +/** StaticSiteFunctionOverviewARMResource resource specific properties */ +export interface StaticSiteFunctionOverviewARMResourceProperties {} +/** Static Site User Provided Function App ARM resource. */ export interface StaticSiteUserProvidedFunctionAppARMResource extends ProxyOnlyResource { /** StaticSiteUserProvidedFunctionAppARMResource resource specific properties */ properties?: StaticSiteUserProvidedFunctionAppARMResourceProperties; } +/** StaticSiteUserProvidedFunctionAppARMResource resource specific properties */ export interface StaticSiteUserProvidedFunctionAppARMResourceProperties { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ functionAppRegion?: string; - /** The date and time on which the function app was registered with the static site. */ - createdOn?: Date | string; } +/** Static site zip deployment ARM resource. */ export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { /** Core resource properties */ properties?: StaticSiteZipDeployment; } +/** A static site zip deployment. */ export interface StaticSiteZipDeployment { /** URL for the zipped app content */ appZipUrl?: string; @@ -3495,11 +2891,13 @@ export interface StaticSiteZipDeployment { functionLanguage?: string; } +/** Static sites user roles invitation resource. */ export interface StaticSiteUserInvitationRequestResource extends ProxyOnlyResource { /** StaticSiteUserInvitationRequestResource resource specific properties */ properties?: StaticSiteUserInvitationRequestResourceProperties; } +/** StaticSiteUserInvitationRequestResource resource specific properties */ export interface StaticSiteUserInvitationRequestResourceProperties { /** The domain name for the static site custom domain. */ domain?: string; @@ -3513,55 +2911,49 @@ export interface StaticSiteUserInvitationRequestResourceProperties { numHoursToExpiration?: number; } +/** Static sites user roles invitation link resource. */ export interface StaticSiteUserInvitationResponseResource extends ProxyOnlyResource { /** StaticSiteUserInvitationResponseResource resource specific properties */ properties?: StaticSiteUserInvitationResponseResourceProperties; } -export interface StaticSiteUserInvitationResponseResourceProperties { - /** The expiration time of the invitation */ - expiresOn?: Date | string; - /** The url for the invitation link */ - invitationUrl?: string; -} +/** StaticSiteUserInvitationResponseResource resource specific properties */ +export interface StaticSiteUserInvitationResponseResourceProperties {} +/** Static Site Custom Domain Overview ARM resource. */ export interface StaticSiteCustomDomainOverviewARMResource extends ProxyOnlyResource { /** StaticSiteCustomDomainOverviewARMResource resource specific properties */ properties?: StaticSiteCustomDomainOverviewARMResourceProperties; } -export interface StaticSiteCustomDomainOverviewARMResourceProperties { - /** The domain name for the static site custom domain. */ - domainName?: string; - /** The date and time on which the custom domain was created for the static site. */ - createdOn?: Date | string; - /** The status of the custom domain */ - status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; - /** The TXT record validation token */ - validationToken?: string; - errorMessage?: string; -} +/** StaticSiteCustomDomainOverviewARMResource resource specific properties */ +export interface StaticSiteCustomDomainOverviewARMResourceProperties {} +/** Static Site Custom Domain Request Properties ARM resource. */ export interface StaticSiteCustomDomainRequestPropertiesARMResource extends ProxyOnlyResource { /** StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties */ properties?: StaticSiteCustomDomainRequestPropertiesARMResourceProperties; } +/** StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties */ export interface StaticSiteCustomDomainRequestPropertiesARMResourceProperties { /** Validation method for adding a custom domain */ validationMethod?: string; } +/** String list resource. */ export interface StringList extends ProxyOnlyResource { /** List of string resources. */ properties?: Array; } +/** Static Site Reset Properties ARM resource. */ export interface StaticSiteResetPropertiesARMResource extends ProxyOnlyResource { /** StaticSiteResetPropertiesARMResource resource specific properties */ properties?: StaticSiteResetPropertiesARMResourceProperties; } +/** StaticSiteResetPropertiesARMResource resource specific properties */ export interface StaticSiteResetPropertiesARMResourceProperties { /** The token which proves admin privileges to the repository. */ repositoryToken?: string; @@ -3569,6 +2961,7 @@ export interface StaticSiteResetPropertiesARMResourceProperties { shouldUpdateRepository?: boolean; } +/** ARM resource for a site. */ export interface SitePatchResource extends ProxyOnlyResource { /** SitePatchResource resource specific properties */ properties?: SitePatchResourceProperties; @@ -3576,24 +2969,10 @@ export interface SitePatchResource extends ProxyOnlyResource { identity?: ManagedServiceIdentity; } +/** SitePatchResource resource specific properties */ export interface SitePatchResourceProperties { - /** Current state of the app. */ - state?: string; - /** Hostnames associated with the app. */ - hostNames?: Array; - /** Name of the repository site. */ - repositorySiteName?: string; - /** State indicating whether the app has exceeded its quota usage. Read-only. */ - usageState?: "Normal" | "Exceeded"; /** true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ enabled?: boolean; - /** - * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, - * the app is not served on those hostnames. - */ - enabledHostNames?: Array; - /** Management information availability state for the app. */ - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; /** Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ hostNameSslStates?: Array; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ @@ -3604,16 +2983,10 @@ export interface SitePatchResourceProperties { isXenon?: boolean; /** Hyper-V sandbox. */ hyperV?: boolean; - /** Last time the app was modified, in UTC. Read-only. */ - lastModifiedTimeUtc?: Date | string; /** Configuration of the app. */ siteConfig?: SiteConfig; - /** Azure Traffic Manager hostnames associated with the app. Read-only. */ - trafficManagerHostNames?: Array; /** true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ scmSiteAlsoStopped?: boolean; - /** Specifies which deployment slot this app will swap into. Read-only. */ - targetSwapSlot?: string; /** App Service Environment to use for the app. */ hostingEnvironmentProfile?: HostingEnvironmentProfile; /** true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ @@ -3636,31 +3009,12 @@ export interface SitePatchResourceProperties { hostNamesDisabled?: boolean; /** Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ customDomainVerificationId?: string; - /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ - outboundIpAddresses?: string; - /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ - possibleOutboundIpAddresses?: string; /** Size of the function container. */ containerSize?: number; /** Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ dailyMemoryTimeQuota?: number; - /** App suspended till in case memory-time quota is exceeded. */ - suspendedTill?: Date | string; - /** - * Maximum number of workers. - * This only applies to Functions container. - */ - maxNumberOfWorkers?: number; /** If specified during app creation, the app is cloned from a source app. */ cloningInfo?: CloningInfo; - /** Name of the resource group the app belongs to. Read-only. */ - resourceGroup?: string; - /** true if the app is a default container; otherwise, false. */ - isDefaultContainer?: boolean; - /** Default hostname of the app. Read-only. */ - defaultHostName?: string; - /** Status of the last deployment slot swap operation. */ - slotSwapStatus?: SlotSwapStatus; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests @@ -3668,12 +3022,6 @@ export interface SitePatchResourceProperties { httpsOnly?: boolean; /** Site redundancy mode */ redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - /** - * Specifies an operation id if this site has a pending operation. - * - * Value may contain a UUID - */ - inProgressOperationId?: string; /** Checks if Customer provided storage account is required */ storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ @@ -3685,24 +3033,14 @@ export interface SitePatchResourceProperties { virtualNetworkSubnetId?: string; } +/** Custom domain analysis. */ export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { /** CustomHostnameAnalysisResult resource specific properties */ properties?: CustomHostnameAnalysisResultProperties; } +/** CustomHostnameAnalysisResult resource specific properties */ export interface CustomHostnameAnalysisResultProperties { - /** true if hostname is already verified; otherwise, false. */ - isHostnameAlreadyVerified?: boolean; - /** DNS verification test result. */ - customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; - /** Raw failure information if DNS verification fails. */ - customDomainVerificationFailureInfo?: ErrorEntity; - /** true if there is a conflict on a scale unit; otherwise, false. */ - hasConflictOnScaleUnit?: boolean; - /** true if there is a conflict across subscriptions; otherwise, false. */ - hasConflictAcrossSubscription?: boolean; - /** Name of the conflicting app on scale unit if it's within the same subscription. */ - conflictingAppResourceId?: string; /** CName records controller can see for this hostname. */ cNameRecords?: Array; /** TXT records controller can see for this hostname. */ @@ -3715,6 +3053,7 @@ export interface CustomHostnameAnalysisResultProperties { alternateTxtRecords?: Array; } +/** Deployment slot parameters. */ export interface CsmSlotEntity { /** Destination deployment slot during swap operation. */ targetSlot: string; @@ -3722,11 +3061,13 @@ export interface CsmSlotEntity { preserveVnet: boolean; } +/** Description of a backup which will be performed. */ export interface BackupRequest extends ProxyOnlyResource { /** BackupRequest resource specific properties */ properties?: BackupRequestProperties; } +/** BackupRequest resource specific properties */ export interface BackupRequestProperties { /** Name of the backup. */ backupName?: string; @@ -3740,6 +3081,7 @@ export interface BackupRequestProperties { databases?: Array; } +/** Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy. */ export interface BackupSchedule { /** How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) */ frequencyInterval: number; @@ -3751,10 +3093,9 @@ export interface BackupSchedule { retentionPeriodInDays: number; /** When the schedule should start working. */ startTime?: Date | string; - /** Last time when this schedule was triggered. */ - lastExecutionTime?: Date | string; } +/** Database backup settings. */ export interface DatabaseBackupSetting { /** Database type (e.g. SqlAzure / MySql). */ databaseType: "SqlAzure" | "MySql" | "LocalMySql" | "PostgreSql"; @@ -3768,57 +3109,22 @@ export interface DatabaseBackupSetting { connectionString?: string; } +/** Backup description. */ export interface BackupItem extends ProxyOnlyResource { /** BackupItem resource specific properties */ properties?: BackupItemProperties; } -export interface BackupItemProperties { - /** Id of the backup. */ - id?: number; - /** SAS URL for the storage account container which contains this backup. */ - storageAccountUrl?: string; - /** Name of the blob which contains data for this backup. */ - blobName?: string; - /** Name of this backup. */ - name?: string; - /** Backup status. */ - status?: - | "InProgress" - | "Failed" - | "Succeeded" - | "TimedOut" - | "Created" - | "Skipped" - | "PartiallySucceeded" - | "DeleteInProgress" - | "DeleteFailed" - | "Deleted"; - /** Size of the backup in bytes. */ - sizeInBytes?: number; - /** Timestamp of the backup creation. */ - created?: Date | string; - /** Details regarding this backup. Might contain an error message. */ - log?: string; - /** List of databases included in the backup. */ - databases?: Array; - /** True if this backup has been created due to a schedule being triggered. */ - scheduled?: boolean; - /** Timestamp of a last restore operation which used this backup. */ - lastRestoreTimeStamp?: Date | string; - /** Timestamp when this backup finished. */ - finishedTimeStamp?: Date | string; - /** Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. */ - correlationId?: string; - /** Size of the original web app which has been backed up. */ - websiteSizeInBytes?: number; -} +/** BackupItem resource specific properties */ +export interface BackupItemProperties {} +/** Description of a restore request. */ export interface RestoreRequest extends ProxyOnlyResource { /** RestoreRequest resource specific properties */ properties?: RestoreRequestProperties; } +/** RestoreRequest resource specific properties */ export interface RestoreRequestProperties { /** SAS URL to the container. */ storageAccountUrl: string; @@ -3847,26 +3153,31 @@ export interface RestoreRequestProperties { hostingEnvironment?: string; } +/** Publishing Credentials Policies parameters. */ export interface CsmPublishingCredentialsPoliciesEntity extends ProxyOnlyResource { /** CsmPublishingCredentialsPoliciesEntity resource specific properties */ properties?: CsmPublishingCredentialsPoliciesEntityProperties; } +/** CsmPublishingCredentialsPoliciesEntity resource specific properties */ export interface CsmPublishingCredentialsPoliciesEntityProperties { /** true to allow access to a publishing method; otherwise, false. */ allow: boolean; } +/** Web app configuration ARM resource. */ export interface SiteConfigResource extends ProxyOnlyResource { /** Core resource properties */ properties?: SiteConfig; } +/** Configuration settings for the Azure App Service Authentication / Authorization feature. */ export interface SiteAuthSettings extends ProxyOnlyResource { /** SiteAuthSettings resource specific properties */ properties?: SiteAuthSettingsProperties; } +/** SiteAuthSettings resource specific properties */ export interface SiteAuthSettingsProperties { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; @@ -4068,11 +3379,13 @@ export interface SiteAuthSettingsProperties { configVersion?: string; } +/** Configuration settings for the Azure App Service Authentication / Authorization V2 feature. */ export interface SiteAuthSettingsV2 extends ProxyOnlyResource { /** SiteAuthSettingsV2 resource specific properties */ properties?: SiteAuthSettingsV2Properties; } +/** SiteAuthSettingsV2 resource specific properties */ export interface SiteAuthSettingsV2Properties { /** The configuration settings of the platform of App Service Authentication/Authorization. */ platform?: AuthPlatform; @@ -4086,6 +3399,7 @@ export interface SiteAuthSettingsV2Properties { httpSettings?: HttpSettings; } +/** The configuration settings of the platform of App Service Authentication/Authorization. */ export interface AuthPlatform { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; @@ -4101,6 +3415,7 @@ export interface AuthPlatform { configFilePath?: string; } +/** The configuration settings that determines the validation flow of users using App Service Authentication/Authorization. */ export interface GlobalValidation { /** true if the authentication flow is required any request is made; otherwise, false. */ requireAuthentication?: boolean; @@ -4120,6 +3435,7 @@ export interface GlobalValidation { excludedPaths?: Array; } +/** The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization. */ export interface IdentityProviders { /** The configuration settings of the Azure Active directory provider. */ azureActiveDirectory?: AzureActiveDirectory; @@ -4144,6 +3460,7 @@ export interface IdentityProviders { customOpenIdConnectProviders?: Record; } +/** The configuration settings of the Azure Active directory provider. */ export interface AzureActiveDirectory { /** false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4161,6 +3478,7 @@ export interface AzureActiveDirectory { isAutoProvisioned?: boolean; } +/** The configuration settings of the Azure Active Directory app registration. */ export interface AzureActiveDirectoryRegistration { /** * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. @@ -4195,6 +3513,7 @@ export interface AzureActiveDirectoryRegistration { clientSecretCertificateIssuer?: string; } +/** The configuration settings of the Azure Active Directory login flow. */ export interface AzureActiveDirectoryLogin { /** * Login parameters to send to the OpenID Connect authorization endpoint when @@ -4205,6 +3524,7 @@ export interface AzureActiveDirectoryLogin { disableWWWAuthenticate?: boolean; } +/** The configuration settings of the Azure Active Directory token validation flow. */ export interface AzureActiveDirectoryValidation { /** The configuration settings of the checks that should be made while validating the JWT Claims. */ jwtClaimChecks?: JwtClaimChecks; @@ -4214,6 +3534,7 @@ export interface AzureActiveDirectoryValidation { defaultAuthorizationPolicy?: DefaultAuthorizationPolicy; } +/** The configuration settings of the checks that should be made while validating the JWT Claims. */ export interface JwtClaimChecks { /** The list of the allowed groups. */ allowedGroups?: Array; @@ -4221,6 +3542,7 @@ export interface JwtClaimChecks { allowedClientApplications?: Array; } +/** The configuration settings of the Azure Active Directory default authorization policy. */ export interface DefaultAuthorizationPolicy { /** The configuration settings of the Azure Active Directory allowed principals. */ allowedPrincipals?: AllowedPrincipals; @@ -4228,6 +3550,7 @@ export interface DefaultAuthorizationPolicy { allowedApplications?: Array; } +/** The configuration settings of the Azure Active Directory allowed principals. */ export interface AllowedPrincipals { /** The list of the allowed groups. */ groups?: Array; @@ -4235,6 +3558,7 @@ export interface AllowedPrincipals { identities?: Array; } +/** The configuration settings of the Facebook provider. */ export interface Facebook { /** false if the Facebook provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4246,6 +3570,7 @@ export interface Facebook { login?: LoginScopes; } +/** The configuration settings of the app registration for providers that have app ids and app secrets */ export interface AppRegistration { /** The App ID of the app used for login. */ appId?: string; @@ -4253,11 +3578,13 @@ export interface AppRegistration { appSecretSettingName?: string; } +/** The configuration settings of the login flow, including the scopes that should be requested. */ export interface LoginScopes { /** A list of the scopes that should be requested while authenticating. */ scopes?: Array; } +/** The configuration settings of the GitHub provider. */ export interface GitHub { /** false if the GitHub provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4267,6 +3594,7 @@ export interface GitHub { login?: LoginScopes; } +/** The configuration settings of the app registration for providers that have client ids and client secrets */ export interface ClientRegistration { /** The Client ID of the app used for login. */ clientId?: string; @@ -4274,6 +3602,7 @@ export interface ClientRegistration { clientSecretSettingName?: string; } +/** The configuration settings of the Google provider. */ export interface Google { /** false if the Google provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4285,11 +3614,13 @@ export interface Google { validation?: AllowedAudiencesValidation; } +/** The configuration settings of the Allowed Audiences validation flow. */ export interface AllowedAudiencesValidation { /** The configuration settings of the allowed list of audiences from which to validate the JWT token. */ allowedAudiences?: Array; } +/** The configuration settings of the legacy Microsoft Account provider. */ export interface LegacyMicrosoftAccount { /** false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4301,6 +3632,7 @@ export interface LegacyMicrosoftAccount { validation?: AllowedAudiencesValidation; } +/** The configuration settings of the Twitter provider. */ export interface Twitter { /** false if the Twitter provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4308,6 +3640,7 @@ export interface Twitter { registration?: TwitterRegistration; } +/** The configuration settings of the app registration for the Twitter provider. */ export interface TwitterRegistration { /** * The OAuth 1.0a consumer key of the Twitter application used for sign-in. @@ -4322,6 +3655,7 @@ export interface TwitterRegistration { consumerSecretSettingName?: string; } +/** The configuration settings of the Apple provider. */ export interface Apple { /** false if the Apple provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4331,6 +3665,7 @@ export interface Apple { login?: LoginScopes; } +/** The configuration settings of the registration for the Apple provider */ export interface AppleRegistration { /** The Client ID of the app used for login. */ clientId?: string; @@ -4338,6 +3673,7 @@ export interface AppleRegistration { clientSecretSettingName?: string; } +/** The configuration settings of the Azure Static Web Apps provider. */ export interface AzureStaticWebApps { /** false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4345,11 +3681,13 @@ export interface AzureStaticWebApps { registration?: AzureStaticWebAppsRegistration; } +/** The configuration settings of the registration for the Azure Static Web Apps provider */ export interface AzureStaticWebAppsRegistration { /** The Client ID of the app used for login. */ clientId?: string; } +/** The configuration settings of the custom Open ID Connect provider. */ export interface CustomOpenIdConnectProvider { /** false if the custom Open ID provider provider should not be enabled; otherwise, true. */ enabled?: boolean; @@ -4359,6 +3697,7 @@ export interface CustomOpenIdConnectProvider { login?: OpenIdConnectLogin; } +/** The configuration settings of the app registration for the custom Open ID Connect provider. */ export interface OpenIdConnectRegistration { /** The client id of the custom Open ID Connect provider. */ clientId?: string; @@ -4368,6 +3707,7 @@ export interface OpenIdConnectRegistration { openIdConnectConfiguration?: OpenIdConnectConfig; } +/** The authentication client credentials of the custom Open ID Connect provider. */ export interface OpenIdConnectClientCredential { /** The method that should be used to authenticate the user. */ method?: "ClientSecretPost"; @@ -4375,6 +3715,7 @@ export interface OpenIdConnectClientCredential { clientSecretSettingName?: string; } +/** The configuration settings of the endpoints used for the custom Open ID Connect provider. */ export interface OpenIdConnectConfig { /** The endpoint to be used to make an authorization request. */ authorizationEndpoint?: string; @@ -4388,6 +3729,7 @@ export interface OpenIdConnectConfig { wellKnownOpenIdConfiguration?: string; } +/** The configuration settings of the login flow of the custom Open ID Connect provider. */ export interface OpenIdConnectLogin { /** The name of the claim that contains the users name. */ nameClaimType?: string; @@ -4395,6 +3737,7 @@ export interface OpenIdConnectLogin { scopes?: Array; } +/** The configuration settings of the login flow of users using App Service Authentication/Authorization. */ export interface Login { /** The routes that specify the endpoints used for login and logout requests. */ routes?: LoginRoutes; @@ -4414,11 +3757,13 @@ export interface Login { nonce?: Nonce; } +/** The routes that specify the endpoints used for login and logout requests. */ export interface LoginRoutes { /** The endpoint at which a logout request should be made. */ logoutEndpoint?: string; } +/** The configuration settings of the token store. */ export interface TokenStore { /** * true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. @@ -4436,16 +3781,19 @@ export interface TokenStore { azureBlobStorage?: BlobStorageTokenStore; } +/** The configuration settings of the storage of the tokens if a file system is used. */ export interface FileSystemTokenStore { /** The directory in which the tokens will be stored. */ directory?: string; } +/** The configuration settings of the storage of the tokens if blob storage is used. */ export interface BlobStorageTokenStore { /** The name of the app setting containing the SAS URL of the blob storage containing the tokens. */ sasUrlSettingName?: string; } +/** The configuration settings of the session cookie's expiration. */ export interface CookieExpiration { /** The convention used when determining the session cookie's expiration. */ convention?: "FixedTime" | "IdentityProviderDerived"; @@ -4453,6 +3801,7 @@ export interface CookieExpiration { timeToExpiration?: string; } +/** The configuration settings of the nonce used in the login flow. */ export interface Nonce { /** false if the nonce should not be validated while completing the login flow; otherwise, true. */ validateNonce?: boolean; @@ -4460,6 +3809,7 @@ export interface Nonce { nonceExpirationInterval?: string; } +/** The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. */ export interface HttpSettings { /** false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. */ requireHttps?: boolean; @@ -4469,11 +3819,13 @@ export interface HttpSettings { forwardProxy?: ForwardProxy; } +/** The configuration settings of the paths HTTP requests. */ export interface HttpSettingsRoutes { /** The prefix that should precede all the authentication/authorization paths. */ apiPrefix?: string; } +/** The configuration settings of a forward proxy used to make the requests. */ export interface ForwardProxy { /** The convention used to determine the url of the request made. */ convention?: "NoProxy" | "Standard" | "Custom"; @@ -4483,16 +3835,19 @@ export interface ForwardProxy { customProtoHeaderName?: string; } +/** AzureStorageInfo dictionary resource. */ export interface AzureStoragePropertyDictionaryResource extends ProxyOnlyResource { /** Azure storage accounts. */ properties?: Record; } +/** Description of site key vault references. */ export interface ApiKVReference extends ProxyOnlyResource { /** ApiKVReference resource specific properties */ properties?: ApiKVReferenceProperties; } +/** ApiKVReference resource specific properties */ export interface ApiKVReferenceProperties { reference?: string; status?: @@ -4517,11 +3872,13 @@ export interface ApiKVReferenceProperties { activeVersion?: string; } +/** String dictionary resource. */ export interface ConnectionStringDictionary extends ProxyOnlyResource { /** Connection strings. */ properties?: Record; } +/** Database connection string value to type pair. */ export interface ConnStringValueTypePair { /** Value of pair. */ value: string; @@ -4540,11 +3897,13 @@ export interface ConnStringValueTypePair { | "PostgreSQL"; } +/** Configuration of App Service site logs. */ export interface SiteLogsConfig extends ProxyOnlyResource { /** SiteLogsConfig resource specific properties */ properties?: SiteLogsConfigProperties; } +/** SiteLogsConfig resource specific properties */ export interface SiteLogsConfigProperties { /** Application logs configuration. */ applicationLogs?: ApplicationLogsConfig; @@ -4556,6 +3915,7 @@ export interface SiteLogsConfigProperties { detailedErrorMessages?: EnabledConfig; } +/** Application logs configuration. */ export interface ApplicationLogsConfig { /** Application logs to file system configuration. */ fileSystem?: FileSystemApplicationLogsConfig; @@ -4565,11 +3925,13 @@ export interface ApplicationLogsConfig { azureBlobStorage?: AzureBlobStorageApplicationLogsConfig; } +/** Application logs to file system configuration. */ export interface FileSystemApplicationLogsConfig { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; } +/** Application logs to Azure table storage configuration. */ export interface AzureTableStorageApplicationLogsConfig { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; @@ -4577,6 +3939,7 @@ export interface AzureTableStorageApplicationLogsConfig { sasUrl: string; } +/** Application logs azure blob storage configuration. */ export interface AzureBlobStorageApplicationLogsConfig { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; @@ -4590,6 +3953,7 @@ export interface AzureBlobStorageApplicationLogsConfig { retentionInDays?: number; } +/** Http logs configuration. */ export interface HttpLogsConfig { /** Http logs to file system configuration. */ fileSystem?: FileSystemHttpLogsConfig; @@ -4597,6 +3961,7 @@ export interface HttpLogsConfig { azureBlobStorage?: AzureBlobStorageHttpLogsConfig; } +/** Http logs to file system configuration. */ export interface FileSystemHttpLogsConfig { /** * Maximum size in megabytes that http log files can use. @@ -4614,6 +3979,7 @@ export interface FileSystemHttpLogsConfig { enabled?: boolean; } +/** Http logs to azure blob storage configuration. */ export interface AzureBlobStorageHttpLogsConfig { /** SAS url to a azure blob container with read/write/list/delete permissions. */ sasUrl?: string; @@ -4627,16 +3993,23 @@ export interface AzureBlobStorageHttpLogsConfig { enabled?: boolean; } +/** Enabled configuration. */ export interface EnabledConfig { /** True if configuration is enabled, false if it is disabled and null if configuration is not set. */ enabled?: boolean; } +/** Slot Config names azure resource. */ export interface SlotConfigNamesResource extends ProxyOnlyResource { /** Core resource properties */ properties?: SlotConfigNames; } +/** + * Names for connection strings, application settings, and external Azure storage account configuration + * identifiers to be marked as sticky to the deployment slot and not moved during a swap operation. + * This is valid for all deployment slots in an app. + */ export interface SlotConfigNames { /** List of connection string names. */ connectionStringNames?: Array; @@ -4646,23 +4019,22 @@ export interface SlotConfigNames { azureStorageConfigNames?: Array; } +/** A snapshot of a web app configuration. */ export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { /** SiteConfigurationSnapshotInfo resource specific properties */ properties?: SiteConfigurationSnapshotInfoProperties; } -export interface SiteConfigurationSnapshotInfoProperties { - /** The time the snapshot was taken. */ - time?: Date | string; - /** The id of the snapshot */ - snapshotId?: number; -} +/** SiteConfigurationSnapshotInfo resource specific properties */ +export interface SiteConfigurationSnapshotInfoProperties {} +/** Continuous Web Job Information. */ export interface ContinuousWebJob extends ProxyOnlyResource { /** ContinuousWebJob resource specific properties */ properties?: ContinuousWebJobProperties; } +/** ContinuousWebJob resource specific properties */ export interface ContinuousWebJobProperties { /** Job status. */ status?: "Initializing" | "Starting" | "Running" | "PendingRestart" | "Stopped"; @@ -4686,11 +4058,13 @@ export interface ContinuousWebJobProperties { settings?: Record>; } +/** User credentials used for publishing activity. */ export interface Deployment extends ProxyOnlyResource { /** Deployment resource specific properties */ properties?: DeploymentProperties; } +/** Deployment resource specific properties */ export interface DeploymentProperties { /** Deployment status. */ status?: number; @@ -4712,29 +4086,22 @@ export interface DeploymentProperties { details?: string; } +/** MSDeploy ARM response */ export interface MSDeployStatus extends ProxyOnlyResource { /** MSDeployStatus resource specific properties */ properties?: MSDeployStatusProperties; } -export interface MSDeployStatusProperties { - /** Username of deployer */ - deployer?: string; - /** Provisioning state */ - provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; - /** Start time of deploy operation */ - startTime?: Date | string; - /** End time of deploy operation */ - endTime?: Date | string; - /** Whether the deployment operation has completed */ - complete?: boolean; -} +/** MSDeployStatus resource specific properties */ +export interface MSDeployStatusProperties {} +/** MSDeploy ARM PUT information */ export interface MSDeploy extends ProxyOnlyResource { /** Core resource properties */ properties?: MSDeployCore; } +/** MSDeploy ARM PUT core information */ export interface MSDeployCore { /** Package URI */ packageUri?: string; @@ -4760,30 +4127,25 @@ export interface MSDeployCore { appOffline?: boolean; } +/** MSDeploy log */ export interface MSDeployLog extends ProxyOnlyResource { /** MSDeployLog resource specific properties */ properties?: MSDeployLogProperties; } -export interface MSDeployLogProperties { - /** List of log entry messages */ - entries?: Array; -} +/** MSDeployLog resource specific properties */ +export interface MSDeployLogProperties {} -export interface MSDeployLogEntry { - /** Timestamp of log entry */ - time?: Date | string; - /** Log entry type */ - type?: "Message" | "Warning" | "Error"; - /** Log entry message */ - message?: string; -} +/** MSDeploy log entry */ +export interface MSDeployLogEntry {} +/** Function information. */ export interface FunctionEnvelope extends ProxyOnlyResource { /** FunctionEnvelope resource specific properties */ properties?: FunctionEnvelopeProperties; } +/** FunctionEnvelope resource specific properties */ export interface FunctionEnvelopeProperties { /** Function App ID. */ function_app_id?: string; @@ -4813,6 +4175,7 @@ export interface FunctionEnvelopeProperties { isDisabled?: boolean; } +/** Function key info. */ export interface KeyInfo { /** Key name */ name?: string; @@ -4820,11 +4183,13 @@ export interface KeyInfo { value?: string; } +/** A hostname binding object. */ export interface HostNameBinding extends ProxyOnlyResource { /** HostNameBinding resource specific properties */ properties?: HostNameBindingProperties; } +/** HostNameBinding resource specific properties */ export interface HostNameBindingProperties { /** App Service app name. */ siteName?: string; @@ -4842,15 +4207,15 @@ export interface HostNameBindingProperties { sslState?: "Disabled" | "SniEnabled" | "IpBasedEnabled"; /** SSL certificate thumbprint */ thumbprint?: string; - /** Virtual IP address assigned to the hostname if IP based SSL is enabled. */ - virtualIP?: string; } +/** Hybrid Connection for an App Service app. */ export interface RelayServiceConnectionEntity extends ProxyOnlyResource { /** RelayServiceConnectionEntity resource specific properties */ properties?: RelayServiceConnectionEntityProperties; } +/** RelayServiceConnectionEntity resource specific properties */ export interface RelayServiceConnectionEntityProperties { entityName?: string; entityConnectionString?: string; @@ -4866,6 +4231,7 @@ export interface WebSiteInstanceStatus extends ProxyOnlyResource { properties?: WebSiteInstanceStatusProperties; } +/** WebSiteInstanceStatus resource specific properties */ export interface WebSiteInstanceStatusProperties { state?: "READY" | "STOPPED" | "UNKNOWN"; /** Link to the GetStatusApi in Kudu */ @@ -4928,14 +4294,14 @@ export interface ContainerNetworkInterfaceStatistics { txDropped?: number; } +/** Process Information. */ export interface ProcessInfo extends ProxyOnlyResource { /** ProcessInfo resource specific properties */ properties?: ProcessInfoProperties; } +/** ProcessInfo resource specific properties */ export interface ProcessInfoProperties { - /** ARM Identifier for deployment. */ - identifier?: number; /** Deployment name. */ deployment_name?: string; /** HRef URI. */ @@ -5008,14 +4374,14 @@ export interface ProcessInfoProperties { description?: string; } +/** Process Thread Information. */ export interface ProcessThreadInfo extends ProxyOnlyResource { /** ProcessThreadInfo resource specific properties */ properties?: ProcessThreadInfoProperties; } +/** ProcessThreadInfo resource specific properties */ export interface ProcessThreadInfoProperties { - /** Site extension ID. */ - identifier?: number; /** HRef URI. */ href?: string; /** Process URI. */ @@ -5040,11 +4406,13 @@ export interface ProcessThreadInfoProperties { wait_reason?: string; } +/** Process Module Information. */ export interface ProcessModuleInfo extends ProxyOnlyResource { /** ProcessModuleInfo resource specific properties */ properties?: ProcessModuleInfoProperties; } +/** ProcessModuleInfo resource specific properties */ export interface ProcessModuleInfoProperties { /** Base address. Used as module identifier in ARM resource URI. */ base_address?: string; @@ -5070,11 +4438,13 @@ export interface ProcessModuleInfoProperties { language?: string; } +/** Options for app content migration. */ export interface StorageMigrationOptions extends ProxyOnlyResource { /** StorageMigrationOptions resource specific properties */ properties?: StorageMigrationOptionsProperties; } +/** StorageMigrationOptions resource specific properties */ export interface StorageMigrationOptionsProperties { /** AzureFiles connection string. */ azurefilesConnectionString: string; @@ -5086,21 +4456,22 @@ export interface StorageMigrationOptionsProperties { blockWriteAccessToSite?: boolean; } +/** Response for a migration of app content request. */ export interface StorageMigrationResponse extends ProxyOnlyResource { /** StorageMigrationResponse resource specific properties */ properties?: StorageMigrationResponseProperties; } -export interface StorageMigrationResponseProperties { - /** When server starts the migration process, it will return an operation ID identifying that particular migration operation. */ - operationId?: string; -} +/** StorageMigrationResponse resource specific properties */ +export interface StorageMigrationResponseProperties {} +/** MySQL migration request. */ export interface MigrateMySqlRequest extends ProxyOnlyResource { /** MigrateMySqlRequest resource specific properties */ properties?: MigrateMySqlRequestProperties; } +/** MigrateMySqlRequest resource specific properties */ export interface MigrateMySqlRequestProperties { /** Connection string to the remote MySQL database. */ connectionString: string; @@ -5108,25 +4479,22 @@ export interface MigrateMySqlRequestProperties { migrationType: "LocalToRemote" | "RemoteToLocal"; } +/** MySQL migration status. */ export interface MigrateMySqlStatus extends ProxyOnlyResource { /** MigrateMySqlStatus resource specific properties */ properties?: MigrateMySqlStatusProperties; } -export interface MigrateMySqlStatusProperties { - /** Status of the migration task. */ - migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; - /** Operation ID for the migration task. */ - operationId?: string; - /** True if the web app has in app MySql enabled */ - localMySqlEnabled?: boolean; -} +/** MigrateMySqlStatus resource specific properties */ +export interface MigrateMySqlStatusProperties {} +/** Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration. */ export interface SwiftVirtualNetwork extends ProxyOnlyResource { /** SwiftVirtualNetwork resource specific properties */ properties?: SwiftVirtualNetworkProperties; } +/** SwiftVirtualNetwork resource specific properties */ export interface SwiftVirtualNetworkProperties { /** The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first. */ subnetResourceId?: string; @@ -5134,27 +4502,22 @@ export interface SwiftVirtualNetworkProperties { swiftSupported?: boolean; } +/** Full view of network features for an app (presently VNET integration and Hybrid Connections). */ export interface NetworkFeatures extends ProxyOnlyResource { /** NetworkFeatures resource specific properties */ properties?: NetworkFeaturesProperties; } -export interface NetworkFeaturesProperties { - /** The Virtual Network name. */ - virtualNetworkName?: string; - /** The Virtual Network summary view. */ - virtualNetworkConnection?: VnetInfo; - /** The Hybrid Connections summary view. */ - hybridConnections?: Array; - /** The Hybrid Connection V2 (Service Bus) view. */ - hybridConnectionsV2?: Array; -} +/** NetworkFeatures resource specific properties */ +export interface NetworkFeaturesProperties {} +/** Used for getting PHP error logging flag. */ export interface SitePhpErrorLogFlag extends ProxyOnlyResource { /** SitePhpErrorLogFlag resource specific properties */ properties?: SitePhpErrorLogFlagProperties; } +/** SitePhpErrorLogFlag resource specific properties */ export interface SitePhpErrorLogFlagProperties { /** Local log_errors setting. */ localLogErrors?: string; @@ -5166,11 +4529,13 @@ export interface SitePhpErrorLogFlagProperties { masterLogErrorsMaxLength?: string; } +/** Premier add-on. */ export interface PremierAddOn extends Resource { /** PremierAddOn resource specific properties */ properties?: PremierAddOnProperties; } +/** PremierAddOn resource specific properties */ export interface PremierAddOnProperties { /** Premier add on SKU. */ sku?: string; @@ -5184,11 +4549,13 @@ export interface PremierAddOnProperties { marketplaceOffer?: string; } +/** ARM resource for a PremierAddOn. */ export interface PremierAddOnPatchResource extends ProxyOnlyResource { /** PremierAddOnPatchResource resource specific properties */ properties?: PremierAddOnPatchResourceProperties; } +/** PremierAddOnPatchResource resource specific properties */ export interface PremierAddOnPatchResourceProperties { /** Premier add on SKU. */ sku?: string; @@ -5202,11 +4569,13 @@ export interface PremierAddOnPatchResourceProperties { marketplaceOffer?: string; } +/** Description of the parameters of Private Access for a Web Site. */ export interface PrivateAccess extends ProxyOnlyResource { /** PrivateAccess resource specific properties */ properties?: PrivateAccessProperties; } +/** PrivateAccess resource specific properties */ export interface PrivateAccessProperties { /** Whether private access is enabled or not. */ enabled?: boolean; @@ -5214,6 +4583,7 @@ export interface PrivateAccessProperties { virtualNetworks?: Array; } +/** Description of a Virtual Network that is useable for private site access. */ export interface PrivateAccessVirtualNetwork { /** The name of the Virtual Network. */ name?: string; @@ -5225,6 +4595,7 @@ export interface PrivateAccessVirtualNetwork { subnets?: Array; } +/** Description of a Virtual Network subnet that is useable for private site access. */ export interface PrivateAccessSubnet { /** The name of the subnet. */ name?: string; @@ -5232,11 +4603,13 @@ export interface PrivateAccessSubnet { key?: number; } +/** Public certificate object */ export interface PublicCertificate extends ProxyOnlyResource { /** PublicCertificate resource specific properties */ properties?: PublicCertificateProperties; } +/** PublicCertificate resource specific properties */ export interface PublicCertificateProperties { /** * Public Certificate byte array @@ -5246,10 +4619,9 @@ export interface PublicCertificateProperties { blob?: string; /** Public Certificate Location */ publicCertificateLocation?: "CurrentUserMy" | "LocalMachineMy" | "Unknown"; - /** Certificate Thumbprint */ - thumbprint?: string; } +/** Publishing options for requested profile. */ export interface CsmPublishingProfileOptions { /** * Name of the format. Valid values are: @@ -5262,11 +4634,13 @@ export interface CsmPublishingProfileOptions { includeDisasterRecoveryEndpoints?: boolean; } +/** Details about restoring a deleted app. */ export interface DeletedAppRestoreRequest extends ProxyOnlyResource { /** DeletedAppRestoreRequest resource specific properties */ properties?: DeletedAppRestoreRequestProperties; } +/** DeletedAppRestoreRequest resource specific properties */ export interface DeletedAppRestoreRequestProperties { /** * ARM resource ID of the deleted app. Example: @@ -5284,11 +4658,13 @@ export interface DeletedAppRestoreRequestProperties { useDRSecondary?: boolean; } +/** Details about app recovery operation. */ export interface SnapshotRestoreRequest extends ProxyOnlyResource { /** SnapshotRestoreRequest resource specific properties */ properties?: SnapshotRestoreRequestProperties; } +/** SnapshotRestoreRequest resource specific properties */ export interface SnapshotRestoreRequestProperties { /** Point in time in which the app restore should be done, formatted as a DateTime string. */ snapshotTime?: string; @@ -5310,6 +4686,7 @@ export interface SnapshotRestoreRequestProperties { useDRSecondary?: boolean; } +/** Specifies the web app that snapshot contents will be retrieved from. */ export interface SnapshotRecoverySource { /** Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS */ location?: string; @@ -5321,11 +4698,13 @@ export interface SnapshotRecoverySource { id?: string; } +/** Site Extension Information. */ export interface SiteExtensionInfo extends ProxyOnlyResource { /** SiteExtensionInfo resource specific properties */ properties?: SiteExtensionInfoProperties; } +/** SiteExtensionInfo resource specific properties */ export interface SiteExtensionInfoProperties { /** Site extension ID. */ extension_id?: string; @@ -5368,33 +4747,22 @@ export interface SiteExtensionInfoProperties { comment?: string; } +/** A setting difference between two deployment slots of an app. */ export interface SlotDifference extends ProxyOnlyResource { /** SlotDifference resource specific properties */ properties?: SlotDifferenceProperties; } -export interface SlotDifferenceProperties { - /** Level of the difference: Information, Warning or Error. */ - level?: string; - /** The type of the setting: General, AppSetting or ConnectionString. */ - settingType?: string; - /** Rule that describes how to process the setting difference during a slot swap. */ - diffRule?: string; - /** Name of the setting. */ - settingName?: string; - /** Value of the setting in the current slot. */ - valueInCurrentSlot?: string; - /** Value of the setting in the target slot. */ - valueInTargetSlot?: string; - /** Description of the setting difference. */ - description?: string; -} +/** SlotDifference resource specific properties */ +export interface SlotDifferenceProperties {} +/** Source control configuration for an app. */ export interface SiteSourceControl extends ProxyOnlyResource { /** SiteSourceControl resource specific properties */ properties?: SiteSourceControlProperties; } +/** SiteSourceControl resource specific properties */ export interface SiteSourceControlProperties { /** Repository or source control URL. */ repoUrl?: string; @@ -5412,6 +4780,7 @@ export interface SiteSourceControlProperties { gitHubActionConfiguration?: GitHubActionConfiguration; } +/** The GitHub action configuration. */ export interface GitHubActionConfiguration { /** GitHub Action code configuration. */ codeConfiguration?: GitHubActionCodeConfiguration; @@ -5423,6 +4792,7 @@ export interface GitHubActionConfiguration { generateWorkflowFile?: boolean; } +/** The GitHub action code configuration. */ export interface GitHubActionCodeConfiguration { /** Runtime stack is used to determine the workflow file content for code base apps. */ runtimeStack?: string; @@ -5430,6 +4800,7 @@ export interface GitHubActionCodeConfiguration { runtimeVersion?: string; } +/** The GitHub action container configuration. */ export interface GitHubActionContainerConfiguration { /** The server URL for the container registry where the build will be hosted. */ serverUrl?: string; @@ -5441,11 +4812,13 @@ export interface GitHubActionContainerConfiguration { password?: string; } +/** Triggered Web Job Information. */ export interface TriggeredWebJob extends ProxyOnlyResource { /** TriggeredWebJob resource specific properties */ properties?: TriggeredWebJobProperties; } +/** TriggeredWebJob resource specific properties */ export interface TriggeredWebJobProperties { /** Latest job run information. */ latest_run?: TriggeredJobRun; @@ -5469,6 +4842,7 @@ export interface TriggeredWebJobProperties { settings?: Record>; } +/** Triggered Web Job Run Information. */ export interface TriggeredJobRun { /** Job ID. */ web_job_id?: string; @@ -5494,21 +4868,25 @@ export interface TriggeredJobRun { trigger?: string; } +/** Triggered Web Job History. List of Triggered Web Job Run Information elements. */ export interface TriggeredJobHistory extends ProxyOnlyResource { /** TriggeredJobHistory resource specific properties */ properties?: TriggeredJobHistoryProperties; } +/** TriggeredJobHistory resource specific properties */ export interface TriggeredJobHistoryProperties { /** List of triggered web job runs. */ runs?: Array; } +/** Web Job Information. */ export interface WebJob extends ProxyOnlyResource { /** WebJob resource specific properties */ properties?: WebJobProperties; } +/** WebJob resource specific properties */ export interface WebJobProperties { /** Run command. */ run_command?: string; diff --git a/sdk/appservice/arm-appservice-rest/src/outputModels.ts b/sdk/appservice/arm-appservice-rest/src/outputModels.ts index 85976d07ba0e..7dd4ef827159 100644 --- a/sdk/appservice/arm-appservice-rest/src/outputModels.ts +++ b/sdk/appservice/arm-appservice-rest/src/outputModels.ts @@ -1,25 +1,28 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** Collection of certificate orders. */ export interface AppServiceCertificateOrderCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** SSL certificate purchase order. */ export interface AppServiceCertificateOrderOutput extends ResourceOutput { /** AppServiceCertificateOrder resource specific properties */ properties?: AppServiceCertificateOrderPropertiesOutput; } +/** AppServiceCertificateOrder resource specific properties */ export interface AppServiceCertificateOrderPropertiesOutput { /** State of the Key Vault secret. */ certificates?: Record; /** Certificate distinguished name. */ distinguishedName?: string; /** Domain verification token. */ - domainVerificationToken?: string; + readonly domainVerificationToken?: string; /** Duration in years (must be 1). */ validityInYears?: number; /** Certificate key size. */ @@ -29,9 +32,9 @@ export interface AppServiceCertificateOrderPropertiesOutput { /** true if the certificate should be automatically renewed when it expires; otherwise, false. */ autoRenew?: boolean; /** Status of certificate order. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Current order status. */ - status?: + readonly status?: | "Pendingissuance" | "Issued" | "Revoked" @@ -43,40 +46,41 @@ export interface AppServiceCertificateOrderPropertiesOutput { | "Expired" | "NotSubmitted"; /** Signed certificate. */ - signedCertificate?: CertificateDetailsOutput; + readonly signedCertificate?: CertificateDetailsOutput; /** Last CSR that was created for this order. */ csr?: string; /** Intermediate certificate. */ - intermediate?: CertificateDetailsOutput; + readonly intermediate?: CertificateDetailsOutput; /** Root certificate. */ - root?: CertificateDetailsOutput; + readonly root?: CertificateDetailsOutput; /** Current serial number of the certificate. */ - serialNumber?: string; + readonly serialNumber?: string; /** Certificate last issuance time. */ - lastCertificateIssuanceTime?: string; + readonly lastCertificateIssuanceTime?: string; /** Certificate expiration time. */ - expirationTime?: string; + readonly expirationTime?: string; /** true if private key is external; otherwise, false. */ - isPrivateKeyExternal?: boolean; + readonly isPrivateKeyExternal?: boolean; /** Reasons why App Service Certificate is not renewable at the current moment. */ - appServiceCertificateNotRenewableReasons?: Array< + readonly appServiceCertificateNotRenewableReasons?: Array< | "RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive" >; /** Time stamp when the certificate would be auto renewed next */ - nextAutoRenewalTimeStamp?: string; + readonly nextAutoRenewalTimeStamp?: string; /** Contact info */ - contact?: CertificateOrderContactOutput; + readonly contact?: CertificateOrderContactOutput; } +/** Key Vault container for a certificate that is purchased through Azure. */ export interface AppServiceCertificateOutput { /** Key Vault resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; /** Status of the Key Vault secret. */ - provisioningState?: + readonly provisioningState?: | "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" @@ -90,25 +94,26 @@ export interface AppServiceCertificateOutput { | "Unknown"; } +/** SSL certificate details. */ export interface CertificateDetailsOutput { /** Certificate Version. */ - version?: number; + readonly version?: number; /** Certificate Serial Number. */ - serialNumber?: string; + readonly serialNumber?: string; /** Certificate Thumbprint. */ - thumbprint?: string; + readonly thumbprint?: string; /** Certificate Subject. */ - subject?: string; + readonly subject?: string; /** Date Certificate is valid from. */ - notBefore?: string; + readonly notBefore?: string; /** Date Certificate is valid to. */ - notAfter?: string; + readonly notAfter?: string; /** Certificate Signature algorithm. */ - signatureAlgorithm?: string; + readonly signatureAlgorithm?: string; /** Certificate Issuer. */ - issuer?: string; + readonly issuer?: string; /** Raw certificate data. */ - rawData?: string; + readonly rawData?: string; } export interface CertificateOrderContactOutput { @@ -118,59 +123,65 @@ export interface CertificateOrderContactOutput { phone?: string; } +/** Azure resource. This resource is tracked in Azure Resource Manager */ export interface ResourceOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource Name. */ - name?: string; + readonly name?: string; /** Kind of resource. */ kind?: string; /** Resource Location. */ location: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource tags. */ tags?: Record; } +/** App Service error response. */ export interface DefaultErrorResponseOutput { /** Error model. */ - error?: DefaultErrorResponseErrorOutput; + readonly error?: DefaultErrorResponseErrorOutput; } +/** Error model. */ export interface DefaultErrorResponseErrorOutput { /** Standardized string to programmatically identify the error. */ - code?: string; + readonly code?: string; /** Detailed error description and debugging information. */ - message?: string; + readonly message?: string; /** Detailed error description and debugging information. */ - target?: string; + readonly target?: string; details?: Array; /** More information to debug error. */ - innererror?: string; + readonly innererror?: string; } +/** Detailed errors. */ export interface DefaultErrorResponseErrorDetailsItemOutput { /** Standardized string to programmatically identify the error. */ - code?: string; + readonly code?: string; /** Detailed error description and debugging information. */ - message?: string; + readonly message?: string; /** Detailed error description and debugging information. */ - target?: string; + readonly target?: string; } +/** ARM resource for a certificate order that is purchased through Azure. */ export interface AppServiceCertificateOrderPatchResourceOutput extends ProxyOnlyResourceOutput { /** AppServiceCertificateOrderPatchResource resource specific properties */ properties?: AppServiceCertificateOrderPatchResourcePropertiesOutput; } +/** AppServiceCertificateOrderPatchResource resource specific properties */ export interface AppServiceCertificateOrderPatchResourcePropertiesOutput { /** State of the Key Vault secret. */ certificates?: Record; /** Certificate distinguished name. */ distinguishedName?: string; /** Domain verification token. */ - domainVerificationToken?: string; + readonly domainVerificationToken?: string; /** Duration in years (must be 1). */ validityInYears?: number; /** Certificate key size. */ @@ -180,9 +191,9 @@ export interface AppServiceCertificateOrderPatchResourcePropertiesOutput { /** true if the certificate should be automatically renewed when it expires; otherwise, false. */ autoRenew?: boolean; /** Status of certificate order. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Current order status. */ - status?: + readonly status?: | "Pendingissuance" | "Issued" | "Revoked" @@ -194,66 +205,72 @@ export interface AppServiceCertificateOrderPatchResourcePropertiesOutput { | "Expired" | "NotSubmitted"; /** Signed certificate. */ - signedCertificate?: CertificateDetailsOutput; + readonly signedCertificate?: CertificateDetailsOutput; /** Last CSR that was created for this order. */ csr?: string; /** Intermediate certificate. */ - intermediate?: CertificateDetailsOutput; + readonly intermediate?: CertificateDetailsOutput; /** Root certificate. */ - root?: CertificateDetailsOutput; + readonly root?: CertificateDetailsOutput; /** Current serial number of the certificate. */ - serialNumber?: string; + readonly serialNumber?: string; /** Certificate last issuance time. */ - lastCertificateIssuanceTime?: string; + readonly lastCertificateIssuanceTime?: string; /** Certificate expiration time. */ - expirationTime?: string; + readonly expirationTime?: string; /** true if private key is external; otherwise, false. */ - isPrivateKeyExternal?: boolean; + readonly isPrivateKeyExternal?: boolean; /** Reasons why App Service Certificate is not renewable at the current moment. */ - appServiceCertificateNotRenewableReasons?: Array< + readonly appServiceCertificateNotRenewableReasons?: Array< | "RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive" >; /** Time stamp when the certificate would be auto renewed next */ - nextAutoRenewalTimeStamp?: string; + readonly nextAutoRenewalTimeStamp?: string; /** Contact info */ - contact?: CertificateOrderContactOutput; + readonly contact?: CertificateOrderContactOutput; } +/** Azure proxy only resource. This resource is not tracked by Azure Resource Manager. */ export interface ProxyOnlyResourceOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource Name. */ - name?: string; + readonly name?: string; /** Kind of resource. */ kind?: string; /** Resource type. */ - type?: string; + readonly type?: string; } +/** Collection of certificate order certificates. */ export interface AppServiceCertificateCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Key Vault container ARM resource for a certificate that is purchased through Azure. */ export interface AppServiceCertificateResourceOutput extends ResourceOutput { /** Core resource properties */ properties?: AppServiceCertificateOutput; } +/** Key Vault container ARM resource for a certificate that is purchased through Azure. */ export interface AppServiceCertificatePatchResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: AppServiceCertificateOutput; } +/** Class representing certificate reissue request. */ export interface ReissueCertificateOrderRequestOutput extends ProxyOnlyResourceOutput { /** ReissueCertificateOrderRequest resource specific properties */ properties?: ReissueCertificateOrderRequestPropertiesOutput; } +/** ReissueCertificateOrderRequest resource specific properties */ export interface ReissueCertificateOrderRequestPropertiesOutput { /** Certificate Key Size. */ keySize?: number; @@ -265,11 +282,13 @@ export interface ReissueCertificateOrderRequestPropertiesOutput { isPrivateKeyExternal?: boolean; } +/** Class representing certificate renew request. */ export interface RenewCertificateOrderRequestOutput extends ProxyOnlyResourceOutput { /** RenewCertificateOrderRequest resource specific properties */ properties?: RenewCertificateOrderRequestPropertiesOutput; } +/** RenewCertificateOrderRequest resource specific properties */ export interface RenewCertificateOrderRequestPropertiesOutput { /** Certificate Key Size. */ keySize?: number; @@ -279,24 +298,28 @@ export interface RenewCertificateOrderRequestPropertiesOutput { isPrivateKeyExternal?: boolean; } +/** Identifies an object. */ export interface NameIdentifierOutput { /** Name of the object. */ name?: string; } +/** Site seal */ export interface SiteSealOutput { /** HTML snippet */ html: string; } +/** Certificate order action. */ export interface CertificateOrderActionOutput extends ProxyOnlyResourceOutput { /** CertificateOrderAction resource specific properties */ properties?: CertificateOrderActionPropertiesOutput; } +/** CertificateOrderAction resource specific properties */ export interface CertificateOrderActionPropertiesOutput { /** Action type. */ - actionType?: + readonly actionType?: | "CertificateIssued" | "CertificateOrderCanceled" | "CertificateOrderCreated" @@ -312,14 +335,16 @@ export interface CertificateOrderActionPropertiesOutput { | "FraudDocumentationRequired" | "Unknown"; /** Time at which the certificate action was performed. */ - createdAt?: string; + readonly createdAt?: string; } +/** SSL certificate email. */ export interface CertificateEmailOutput extends ProxyOnlyResourceOutput { /** CertificateEmail resource specific properties */ properties?: CertificateEmailPropertiesOutput; } +/** CertificateEmail resource specific properties */ export interface CertificateEmailPropertiesOutput { /** Email id. */ emailId?: string; @@ -327,18 +352,21 @@ export interface CertificateEmailPropertiesOutput { timeStamp?: string; } +/** Collection of detector responses */ export interface DetectorResponseCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Class representing Response from Detector */ export interface DetectorResponseOutput extends ProxyOnlyResourceOutput { /** DetectorResponse resource specific properties */ properties?: DetectorResponsePropertiesOutput; } +/** DetectorResponse resource specific properties */ export interface DetectorResponsePropertiesOutput { /** metadata for the detector */ metadata?: DetectorInfoOutput; @@ -352,34 +380,37 @@ export interface DetectorResponsePropertiesOutput { suggestedUtterances?: QueryUtterancesResultsOutput; } +/** Definition of Detector */ export interface DetectorInfoOutput { /** Id of detector */ - id?: string; + readonly id?: string; /** Name of detector */ - name?: string; + readonly name?: string; /** Short description of the detector and its purpose. */ - description?: string; + readonly description?: string; /** Author of the detector. */ - author?: string; + readonly author?: string; /** Problem category. This serves for organizing group for detectors. */ - category?: string; + readonly category?: string; /** List of Support Topics for which this detector is enabled. */ - supportTopicList?: Array; + readonly supportTopicList?: Array; /** Analysis Types for which this detector should apply to. */ - analysisType?: Array; + readonly analysisType?: Array; /** Whether this detector is an Analysis Detector or not. */ - type?: "Detector" | "Analysis" | "CategoryOverview"; + readonly type?: "Detector" | "Analysis" | "CategoryOverview"; /** Defines score of a detector to power ML based matching. */ - score?: number; + readonly score?: number; } +/** Defines a unique Support Topic */ export interface SupportTopicOutput { /** Support Topic Id */ - id?: string; + readonly id?: string; /** Unique resource Id */ - pesId?: string; + readonly pesId?: string; } +/** Set of data with rendering instructions */ export interface DiagnosticDataOutput { /** Data in table form */ table?: DataTableResponseObjectOutput; @@ -387,6 +418,7 @@ export interface DiagnosticDataOutput { renderingProperties?: RenderingOutput; } +/** Data Table which defines columns and raw row values */ export interface DataTableResponseObjectOutput { /** Name of the table */ tableName?: string; @@ -396,6 +428,7 @@ export interface DataTableResponseObjectOutput { rows?: Array>; } +/** Column definition */ export interface DataTableResponseColumnOutput { /** Name of the column */ columnName?: string; @@ -405,6 +438,7 @@ export interface DataTableResponseColumnOutput { columnType?: string; } +/** Instructions for rendering the data */ export interface RenderingOutput { /** Rendering Type */ type?: @@ -439,6 +473,7 @@ export interface RenderingOutput { description?: string; } +/** Identify the status of the most severe insight generated by the detector. */ export interface StatusOutput { /** Descriptive message. */ message?: string; @@ -446,18 +481,20 @@ export interface StatusOutput { statusId?: "Critical" | "Warning" | "Info" | "Success" | "None"; } +/** Additional configuration for a data providers */ export interface DataProviderMetadataOutput { providerName?: string; /** Settings for the data provider */ - propertyBag?: Array; + readonly propertyBag?: Array; } export interface KeyValuePairStringObjectOutput { - key?: string; + readonly key?: string; /** Any object */ - value?: Record; + readonly value?: Record; } +/** Suggested utterances where the detector can be applicable */ export interface QueryUtterancesResultsOutput { /** Search Query. */ query?: string; @@ -465,6 +502,7 @@ export interface QueryUtterancesResultsOutput { results?: Array; } +/** Result for utterances query. */ export interface QueryUtterancesResultOutput { /** A sample utterance. */ sampleUtterance?: SampleUtteranceOutput; @@ -472,6 +510,7 @@ export interface QueryUtterancesResultOutput { score?: number; } +/** Sample utterance. */ export interface SampleUtteranceOutput { /** Text attribute of sample utterance. */ text?: string; @@ -481,13 +520,15 @@ export interface SampleUtteranceOutput { qid?: string; } +/** Collection of Azure resource manager operation metadata. */ export interface CsmOperationCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Description of an operation available for Microsoft.Web resource provider. */ export interface CsmOperationDescriptionOutput { name?: string; isDataAction?: boolean; @@ -498,6 +539,7 @@ export interface CsmOperationDescriptionOutput { properties?: CsmOperationDescriptionPropertiesOutput; } +/** Meta data about operation used for display in portal. */ export interface CsmOperationDisplayOutput { provider?: string; resource?: string; @@ -505,16 +547,19 @@ export interface CsmOperationDisplayOutput { description?: string; } +/** Properties available for a Microsoft.Web resource provider operation. */ export interface CsmOperationDescriptionPropertiesOutput { /** Resource metrics service provided by Microsoft.Insights resource provider. */ serviceSpecification?: ServiceSpecificationOutput; } +/** Resource metrics service provided by Microsoft.Insights resource provider. */ export interface ServiceSpecificationOutput { metricSpecifications?: Array; logSpecifications?: Array; } +/** Definition of a single resource metric. */ export interface MetricSpecificationOutput { name?: string; displayName?: string; @@ -535,6 +580,10 @@ export interface MetricSpecificationOutput { supportedAggregationTypes?: Array; } +/** + * Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, + * where instance name is dimension of the metric HTTP request + */ export interface DimensionOutput { name?: string; displayName?: string; @@ -542,11 +591,13 @@ export interface DimensionOutput { toBeExportedForShoebox?: boolean; } +/** Retention policy of a resource metric. */ export interface MetricAvailabilityOutput { timeGrain?: string; blobDuration?: string; } +/** Log Definition of a single resource metric. */ export interface LogSpecificationOutput { name?: string; displayName?: string; @@ -554,6 +605,7 @@ export interface LogSpecificationOutput { logFilterPattern?: string; } +/** Domain availability check result. */ export interface DomainAvailabilityCheckResultOutput { /** Name of the domain. */ name?: string; @@ -563,18 +615,21 @@ export interface DomainAvailabilityCheckResultOutput { domainType?: "Regular" | "SoftDeleted"; } +/** Collection of domains. */ export interface DomainCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Information about a domain. */ export interface DomainOutput extends ResourceOutput { /** Domain resource specific properties */ properties?: DomainPropertiesOutput; } +/** Domain resource specific properties */ export interface DomainPropertiesOutput { /** Administrative contact. */ contactAdmin: ContactOutput; @@ -585,7 +640,7 @@ export interface DomainPropertiesOutput { /** Technical contact. */ contactTech: ContactOutput; /** Domain registration status. */ - registrationStatus?: + readonly registrationStatus?: | "Active" | "Awaiting" | "Cancelled" @@ -608,30 +663,30 @@ export interface DomainPropertiesOutput { | "Updated" | "JsonConverterFailed"; /** Domain provisioning state. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Name servers. */ - nameServers?: Array; + readonly nameServers?: Array; /** true if domain privacy is enabled for this domain; otherwise, false. */ privacy?: boolean; /** Domain creation timestamp. */ - createdTime?: string; + readonly createdTime?: string; /** Domain expiration timestamp. */ - expirationTime?: string; + readonly expirationTime?: string; /** Timestamp when the domain was renewed last time. */ - lastRenewedTime?: string; + readonly lastRenewedTime?: string; /** true if the domain should be automatically renewed; otherwise, false. */ autoRenew?: boolean; /** * true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and * it is hosted on name servers Azure has programmatic access to. */ - readyForDnsRecordManagement?: boolean; + readonly readyForDnsRecordManagement?: boolean; /** All hostnames derived from the domain and assigned to Azure resources. */ - managedHostNames?: Array; + readonly managedHostNames?: Array; /** Legal agreement consent. */ consent: DomainPurchaseConsentOutput; /** Reasons why domain is not renewable. */ - domainNotRenewableReasons?: Array< + readonly domainNotRenewableReasons?: Array< | "RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive" @@ -645,6 +700,10 @@ export interface DomainPropertiesOutput { authCode?: string; } +/** + * Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois + * directories as per ICANN requirements. + */ export interface ContactOutput { /** Mailing address. */ addressMailing?: AddressOutput; @@ -666,6 +725,7 @@ export interface ContactOutput { phone: string; } +/** Address information for domain registration. */ export interface AddressOutput { /** First line of an Address. */ address1: string; @@ -681,6 +741,7 @@ export interface AddressOutput { state: string; } +/** Details of a hostname derived from a domain. */ export interface HostNameOutput { /** Name of the hostname. */ name?: string; @@ -696,6 +757,7 @@ export interface HostNameOutput { hostNameType?: "Verified" | "Managed"; } +/** Domain purchase consent object, representing acceptance of applicable legal agreements. */ export interface DomainPurchaseConsentOutput { /** List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource. */ agreementKeys?: Array; @@ -705,27 +767,31 @@ export interface DomainPurchaseConsentOutput { agreedAt?: string; } +/** Single sign-on request information for domain management. */ export interface DomainControlCenterSsoRequestOutput { /** URL where the single sign-on request is to be made. */ - url?: string; + readonly url?: string; /** Post parameter key. */ - postParameterKey?: string; + readonly postParameterKey?: string; /** Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value. */ - postParameterValue?: string; + readonly postParameterValue?: string; } +/** Collection of domain name identifiers. */ export interface NameIdentifierCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** ARM resource for a domain. */ export interface DomainPatchResourceOutput extends ProxyOnlyResourceOutput { /** DomainPatchResource resource specific properties */ properties?: DomainPatchResourcePropertiesOutput; } +/** DomainPatchResource resource specific properties */ export interface DomainPatchResourcePropertiesOutput { /** Administrative contact. */ contactAdmin: ContactOutput; @@ -736,7 +802,7 @@ export interface DomainPatchResourcePropertiesOutput { /** Technical contact. */ contactTech: ContactOutput; /** Domain registration status. */ - registrationStatus?: + readonly registrationStatus?: | "Active" | "Awaiting" | "Cancelled" @@ -759,30 +825,30 @@ export interface DomainPatchResourcePropertiesOutput { | "Updated" | "JsonConverterFailed"; /** Domain provisioning state. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Name servers. */ - nameServers?: Array; + readonly nameServers?: Array; /** true if domain privacy is enabled for this domain; otherwise, false. */ privacy?: boolean; /** Domain creation timestamp. */ - createdTime?: string; + readonly createdTime?: string; /** Domain expiration timestamp. */ - expirationTime?: string; + readonly expirationTime?: string; /** Timestamp when the domain was renewed last time. */ - lastRenewedTime?: string; + readonly lastRenewedTime?: string; /** true if the domain should be automatically renewed; otherwise, false. */ autoRenew?: boolean; /** * true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and * it is hosted on name servers Azure has programmatic access to. */ - readyForDnsRecordManagement?: boolean; + readonly readyForDnsRecordManagement?: boolean; /** All hostnames derived from the domain and assigned to Azure resources. */ - managedHostNames?: Array; + readonly managedHostNames?: Array; /** Legal agreement consent. */ consent: DomainPurchaseConsentOutput; /** Reasons why domain is not renewable. */ - domainNotRenewableReasons?: Array< + readonly domainNotRenewableReasons?: Array< | "RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive" @@ -796,47 +862,55 @@ export interface DomainPatchResourcePropertiesOutput { authCode?: string; } +/** Collection of domain ownership identifiers. */ export interface DomainOwnershipIdentifierCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Domain ownership Identifier. */ export interface DomainOwnershipIdentifierOutput extends ProxyOnlyResourceOutput { /** DomainOwnershipIdentifier resource specific properties */ properties?: DomainOwnershipIdentifierPropertiesOutput; } +/** DomainOwnershipIdentifier resource specific properties */ export interface DomainOwnershipIdentifierPropertiesOutput { /** Ownership Id. */ ownershipId?: string; } +/** Collection of Top-level domains. */ export interface TopLevelDomainCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A top level domain object. */ export interface TopLevelDomainOutput extends ProxyOnlyResourceOutput { /** TopLevelDomain resource specific properties */ properties?: TopLevelDomainPropertiesOutput; } +/** TopLevelDomain resource specific properties */ export interface TopLevelDomainPropertiesOutput { /** If true, then the top level domain supports domain privacy; otherwise, false. */ privacy?: boolean; } +/** Collection of top-level domain legal agreements. */ export interface TldLegalAgreementCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Legal agreement for a top level domain. */ export interface TldLegalAgreementOutput { /** Unique identifier for the agreement. */ agreementKey: string; @@ -848,23 +922,26 @@ export interface TldLegalAgreementOutput { url?: string; } +/** Collection of App Service Environments. */ export interface AppServiceEnvironmentCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** App Service Environment ARM resource. */ export interface AppServiceEnvironmentResourceOutput extends ResourceOutput { /** Core resource properties */ properties?: AppServiceEnvironmentOutput; } +/** Description of an App Service Environment. */ export interface AppServiceEnvironmentOutput { /** Provisioning state of the App Service Environment. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Current status of the App Service Environment. */ - status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; + readonly status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; /** Description of the Virtual Network. */ virtualNetwork: VirtualNetworkProfileOutput; /** Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. */ @@ -872,43 +949,45 @@ export interface AppServiceEnvironmentOutput { /** Front-end VM size, e.g. "Medium", "Large". */ multiSize?: string; /** Number of front-end instances. */ - multiRoleCount?: number; + readonly multiRoleCount?: number; /** Number of IP SSL addresses reserved for the App Service Environment. */ ipsslAddressCount?: number; /** DNS suffix of the App Service Environment. */ dnsSuffix?: string; /** Maximum number of VMs in the App Service Environment. */ - maximumNumberOfMachines?: number; + readonly maximumNumberOfMachines?: number; /** Scale factor for front-ends. */ frontEndScaleFactor?: number; /** * true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available * (most likely because NSG blocked the incoming traffic). */ - suspended?: boolean; + readonly suspended?: boolean; /** Custom settings for changing the behavior of the App Service Environment. */ clusterSettings?: Array; /** User added ip ranges to whitelist on ASE db */ userWhitelistedIpRanges?: Array; /** Flag that displays whether an ASE has linux workers or not */ - hasLinuxWorkers?: boolean; + readonly hasLinuxWorkers?: boolean; /** Dedicated Host Count */ dedicatedHostCount?: number; /** Whether or not this App Service Environment is zone-redundant. */ zoneRedundant?: boolean; } +/** Specification for using a Virtual Network. */ export interface VirtualNetworkProfileOutput { /** Resource id of the Virtual Network. */ id: string; /** Name of the Virtual Network (read-only). */ - name?: string; + readonly name?: string; /** Resource type of the Virtual Network (read-only). */ - type?: string; + readonly type?: string; /** Subnet within the Virtual Network. */ subnet?: string; } +/** Name value pair. */ export interface NameValuePairOutput { /** Pair name. */ name?: string; @@ -916,18 +995,21 @@ export interface NameValuePairOutput { value?: string; } +/** ARM resource for a app service environment. */ export interface AppServiceEnvironmentPatchResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: AppServiceEnvironmentOutput; } +/** Collection of stamp capacities. */ export interface StampCapacityCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Stamp capacity information. */ export interface StampCapacityOutput { /** Name of the stamp. */ name?: string; @@ -973,11 +1055,13 @@ export interface StampCapacityOutput { isLinux?: boolean; } +/** Describes main public IP address and any extra virtual IPs. */ export interface AddressResponseOutput extends ProxyOnlyResourceOutput { /** AddressResponse resource specific properties */ properties?: AddressResponsePropertiesOutput; } +/** AddressResponse resource specific properties */ export interface AddressResponsePropertiesOutput { /** Main public virtual IP. */ serviceIpAddress?: string; @@ -989,6 +1073,7 @@ export interface AddressResponsePropertiesOutput { vipMappings?: Array; } +/** Virtual IP mapping. */ export interface VirtualIPMappingOutput { /** Virtual IP address. */ virtualIP?: string; @@ -1002,13 +1087,15 @@ export interface VirtualIPMappingOutput { serviceName?: string; } +/** Collection of App Service apps. */ export interface WebAppCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A web app, a mobile app backend, or an API app. */ export interface SiteOutput extends ResourceOutput { /** Site resource specific properties */ properties?: SitePropertiesOutput; @@ -1018,24 +1105,25 @@ export interface SiteOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; } +/** Site resource specific properties */ export interface SitePropertiesOutput { /** Current state of the app. */ - state?: string; + readonly state?: string; /** Hostnames associated with the app. */ - hostNames?: Array; + readonly hostNames?: Array; /** Name of the repository site. */ - repositorySiteName?: string; + readonly repositorySiteName?: string; /** State indicating whether the app has exceeded its quota usage. Read-only. */ - usageState?: "Normal" | "Exceeded"; + readonly usageState?: "Normal" | "Exceeded"; /** true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ enabled?: boolean; /** * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, * the app is not served on those hostnames. */ - enabledHostNames?: Array; + readonly enabledHostNames?: Array; /** Management information availability state for the app. */ - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; + readonly availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; /** Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ hostNameSslStates?: Array; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ @@ -1047,15 +1135,15 @@ export interface SitePropertiesOutput { /** Hyper-V sandbox. */ hyperV?: boolean; /** Last time the app was modified, in UTC. Read-only. */ - lastModifiedTimeUtc?: string; + readonly lastModifiedTimeUtc?: string; /** Configuration of the app. */ siteConfig?: SiteConfigOutput; /** Azure Traffic Manager hostnames associated with the app. Read-only. */ - trafficManagerHostNames?: Array; + readonly trafficManagerHostNames?: Array; /** true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ scmSiteAlsoStopped?: boolean; /** Specifies which deployment slot this app will swap into. Read-only. */ - targetSwapSlot?: string; + readonly targetSwapSlot?: string; /** App Service Environment to use for the app. */ hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ @@ -1079,30 +1167,30 @@ export interface SitePropertiesOutput { /** Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ customDomainVerificationId?: string; /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ - outboundIpAddresses?: string; + readonly outboundIpAddresses?: string; /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ - possibleOutboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; /** Size of the function container. */ containerSize?: number; /** Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ dailyMemoryTimeQuota?: number; /** App suspended till in case memory-time quota is exceeded. */ - suspendedTill?: string; + readonly suspendedTill?: string; /** * Maximum number of workers. * This only applies to Functions container. */ - maxNumberOfWorkers?: number; + readonly maxNumberOfWorkers?: number; /** If specified during app creation, the app is cloned from a source app. */ cloningInfo?: CloningInfoOutput; /** Name of the resource group the app belongs to. Read-only. */ - resourceGroup?: string; + readonly resourceGroup?: string; /** true if the app is a default container; otherwise, false. */ - isDefaultContainer?: boolean; + readonly isDefaultContainer?: boolean; /** Default hostname of the app. Read-only. */ - defaultHostName?: string; + readonly defaultHostName?: string; /** Status of the last deployment slot swap operation. */ - slotSwapStatus?: SlotSwapStatusOutput; + readonly slotSwapStatus?: SlotSwapStatusOutput; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests @@ -1115,7 +1203,7 @@ export interface SitePropertiesOutput { * * Value may contain a UUID */ - inProgressOperationId?: string; + readonly inProgressOperationId?: string; /** Checks if Customer provided storage account is required */ storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ @@ -1127,6 +1215,7 @@ export interface SitePropertiesOutput { virtualNetworkSubnetId?: string; } +/** SSL-enabled hostname. */ export interface HostNameSslStateOutput { /** Hostname. */ name?: string; @@ -1142,6 +1231,7 @@ export interface HostNameSslStateOutput { hostType?: "Standard" | "Repository"; } +/** Configuration of an App Service app. */ export interface SiteConfigOutput { /** Number of workers. */ numberOfWorkers?: number; @@ -1186,7 +1276,7 @@ export interface SiteConfigOutput { /** Connection strings. */ connectionStrings?: Array; /** Site MachineKey. */ - machineKey?: SiteMachineKeyOutput; + readonly machineKey?: SiteMachineKeyOutput; /** Handler mappings. */ handlerMappings?: Array; /** Document root. */ @@ -1312,6 +1402,7 @@ export interface SiteConfigOutput { publicNetworkAccess?: string; } +/** Database connection string information. */ export interface ConnStringInfoOutput { /** Name of connection string. */ name?: string; @@ -1332,6 +1423,7 @@ export interface ConnStringInfoOutput { | "PostgreSQL"; } +/** MachineKey of an app. */ export interface SiteMachineKeyOutput { /** MachineKey validation. */ validation?: string; @@ -1343,6 +1435,10 @@ export interface SiteMachineKeyOutput { decryptionKey?: string; } +/** + * The IIS handler mappings used to define which handler processes HTTP requests with certain extension. + * For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension. + */ export interface HandlerMappingOutput { /** Requests with this extension will be handled using the specified FastCGI application. */ extension?: string; @@ -1352,6 +1448,7 @@ export interface HandlerMappingOutput { arguments?: string; } +/** Virtual application in an app. */ export interface VirtualApplicationOutput { /** Virtual path. */ virtualPath?: string; @@ -1363,6 +1460,7 @@ export interface VirtualApplicationOutput { virtualDirectories?: Array; } +/** Directory for virtual application. */ export interface VirtualDirectoryOutput { /** Path to virtual application. */ virtualPath?: string; @@ -1370,11 +1468,13 @@ export interface VirtualDirectoryOutput { physicalPath?: string; } +/** Routing rules in production experiments. */ export interface ExperimentsOutput { /** List of ramp-up rules. */ rampUpRules?: Array; } +/** Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance. */ export interface RampUpRuleOutput { /** Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. */ actionHostName?: string; @@ -1401,6 +1501,7 @@ export interface RampUpRuleOutput { name?: string; } +/** Metric limits set on an app. */ export interface SiteLimitsOutput { /** Maximum allowed CPU usage percentage. */ maxPercentageCpu?: number; @@ -1410,6 +1511,7 @@ export interface SiteLimitsOutput { maxDiskSizeInMb?: number; } +/** Rules that can be defined for auto-heal. */ export interface AutoHealRulesOutput { /** Conditions that describe when to execute the auto-heal actions. */ triggers?: AutoHealTriggersOutput; @@ -1417,6 +1519,7 @@ export interface AutoHealRulesOutput { actions?: AutoHealActionsOutput; } +/** Triggers for auto-heal. */ export interface AutoHealTriggersOutput { /** A rule based on total requests. */ requests?: RequestsBasedTriggerOutput; @@ -1432,6 +1535,7 @@ export interface AutoHealTriggersOutput { statusCodesRange?: Array; } +/** Trigger based on total requests. */ export interface RequestsBasedTriggerOutput { /** Request Count. */ count?: number; @@ -1439,6 +1543,7 @@ export interface RequestsBasedTriggerOutput { timeInterval?: string; } +/** Trigger based on status code. */ export interface StatusCodesBasedTriggerOutput { /** HTTP status code. */ status?: number; @@ -1454,6 +1559,7 @@ export interface StatusCodesBasedTriggerOutput { path?: string; } +/** Trigger based on request execution time. */ export interface SlowRequestsBasedTriggerOutput { /** Time taken. */ timeTaken?: string; @@ -1465,6 +1571,7 @@ export interface SlowRequestsBasedTriggerOutput { timeInterval?: string; } +/** Trigger based on range of status codes. */ export interface StatusCodesRangeBasedTriggerOutput { /** HTTP status code. */ statusCodes?: string; @@ -1475,6 +1582,7 @@ export interface StatusCodesRangeBasedTriggerOutput { timeInterval?: string; } +/** Actions which to take by the auto-heal module when a rule is triggered. */ export interface AutoHealActionsOutput { /** Predefined action to be taken. */ actionType?: "Recycle" | "LogEvent" | "CustomAction"; @@ -1487,6 +1595,10 @@ export interface AutoHealActionsOutput { minProcessExecutionTime?: string; } +/** + * Custom action to be executed + * when an auto heal rule is triggered. + */ export interface AutoHealCustomActionOutput { /** Executable to be run. */ exe?: string; @@ -1494,6 +1606,7 @@ export interface AutoHealCustomActionOutput { parameters?: string; } +/** Cross-Origin Resource Sharing (CORS) settings for the app. */ export interface CorsSettingsOutput { /** * Gets or sets the list of origins that should be allowed to make cross-origin @@ -1508,11 +1621,13 @@ export interface CorsSettingsOutput { supportCredentials?: boolean; } +/** Push settings for the App. */ export interface PushSettingsOutput extends ProxyOnlyResourceOutput { /** PushSettings resource specific properties */ properties?: PushSettingsPropertiesOutput; } +/** PushSettings resource specific properties */ export interface PushSettingsPropertiesOutput { /** Gets or sets a flag indicating whether the Push endpoint is enabled. */ isPushEnabled: boolean; @@ -1529,16 +1644,19 @@ export interface PushSettingsPropertiesOutput { dynamicTagsJson?: string; } +/** Information about the formal API definition for the app. */ export interface ApiDefinitionInfoOutput { /** The URL of the API definition. */ url?: string; } +/** Azure API management (APIM) configuration linked to the app. */ export interface ApiManagementConfigOutput { /** APIM-Api Identifier. */ id?: string; } +/** IP security restriction on an app. */ export interface IpSecurityRestrictionOutput { /** * IP address the security restriction is valid for. @@ -1586,6 +1704,7 @@ export interface IpSecurityRestrictionOutput { headers?: Record>; } +/** Azure Files or Blob Storage access information value for dictionary storage. */ export interface AzureStorageInfoValueOutput { /** Type of storage. */ type?: "AzureFiles" | "AzureBlob"; @@ -1598,18 +1717,20 @@ export interface AzureStorageInfoValueOutput { /** Path to mount the storage within the site's runtime environment. */ mountPath?: string; /** State of the storage account. */ - state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; + readonly state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; } +/** Specification for an App Service Environment to use for this resource. */ export interface HostingEnvironmentProfileOutput { /** Resource ID of the App Service Environment. */ id?: string; /** Name of the App Service Environment. */ - name?: string; + readonly name?: string; /** Resource type of the App Service Environment. */ - type?: string; + readonly type?: string; } +/** Information needed for cloning operation. */ export interface CloningInfoOutput { /** * Correlation ID of cloning operation. This ID ties multiple cloning operations @@ -1650,54 +1771,61 @@ export interface CloningInfoOutput { trafficManagerProfileName?: string; } +/** The status of the last successful slot swap operation. */ export interface SlotSwapStatusOutput { /** The time the last successful slot swap completed. */ - timestampUtc?: string; + readonly timestampUtc?: string; /** The source slot of the last swap operation. */ - sourceSlotName?: string; + readonly sourceSlotName?: string; /** The destination slot of the last swap operation. */ - destinationSlotName?: string; + readonly destinationSlotName?: string; } +/** Managed service identity. */ export interface ManagedServiceIdentityOutput { /** Type of managed service identity. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** Tenant of managed service identity. */ - tenantId?: string; + readonly tenantId?: string; /** Principal Id of managed service identity. */ - principalId?: string; + readonly principalId?: string; /** The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} */ userAssignedIdentities?: Record; } +/** User Assigned identity. */ export interface UserAssignedIdentityOutput { /** Principal Id of user assigned identity */ - principalId?: string; + readonly principalId?: string; /** Client Id of user assigned identity */ - clientId?: string; + readonly clientId?: string; } +/** Extended Location. */ export interface ExtendedLocationOutput { /** Name of extended location. */ name?: string; /** Type of extended location. */ - type?: string; + readonly type?: string; } +/** Full view of networking configuration for an ASE. */ export interface AseV3NetworkingConfigurationOutput extends ProxyOnlyResourceOutput { /** AseV3NetworkingConfiguration resource specific properties */ properties?: AseV3NetworkingConfigurationPropertiesOutput; } +/** AseV3NetworkingConfiguration resource specific properties */ export interface AseV3NetworkingConfigurationPropertiesOutput { - windowsOutboundIpAddresses?: Array; - linuxOutboundIpAddresses?: Array; - externalInboundIpAddresses?: Array; - internalInboundIpAddresses?: Array; + readonly windowsOutboundIpAddresses?: Array; + readonly linuxOutboundIpAddresses?: Array; + readonly externalInboundIpAddresses?: Array; + readonly internalInboundIpAddresses?: Array; /** Property to enable and disable new private endpoint connection creation on ASE */ allowNewPrivateEndpointConnections?: boolean; } +/** Diagnostics for an App Service Environment. */ export interface HostingEnvironmentDiagnosticsOutput { /** Name/identifier of the diagnostics. */ name?: string; @@ -1705,13 +1833,15 @@ export interface HostingEnvironmentDiagnosticsOutput { diagnosticsOutput?: string; } +/** Collection of Inbound Environment Endpoints */ export interface InboundEnvironmentEndpointCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment. */ export interface InboundEnvironmentEndpointOutput { /** Short text describing the purpose of the network traffic. */ description?: string; @@ -1721,13 +1851,15 @@ export interface InboundEnvironmentEndpointOutput { ports?: Array; } +/** Collection of worker pools. */ export interface WorkerPoolCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Worker pool of an App Service Environment ARM resource. */ export interface WorkerPoolResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: WorkerPoolOutput; @@ -1735,6 +1867,7 @@ export interface WorkerPoolResourceOutput extends ProxyOnlyResourceOutput { sku?: SkuDescriptionOutput; } +/** Worker pool of an App Service Environment. */ export interface WorkerPoolOutput { /** Worker size ID for referencing this worker pool. */ workerSizeId?: number; @@ -1745,9 +1878,10 @@ export interface WorkerPoolOutput { /** Number of instances in the worker pool. */ workerCount?: number; /** Names of all instances in the worker pool (read only). */ - instanceNames?: Array; + readonly instanceNames?: Array; } +/** Description of a SKU for a scalable resource. */ export interface SkuDescriptionOutput { /** Name of the resource SKU. */ name?: string; @@ -1767,6 +1901,7 @@ export interface SkuDescriptionOutput { capabilities?: Array; } +/** Description of the App Service plan scale options. */ export interface SkuCapacityOutput { /** Minimum number of workers for this App Service plan SKU. */ minimum?: number; @@ -1780,6 +1915,7 @@ export interface SkuCapacityOutput { scaleType?: string; } +/** Describes the capabilities/features allowed for a specific SKU. */ export interface CapabilityOutput { /** Name of the SKU capability. */ name?: string; @@ -1789,45 +1925,51 @@ export interface CapabilityOutput { reason?: string; } +/** Collection of metric definitions. */ export interface ResourceMetricDefinitionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Metadata for the metrics. */ export interface ResourceMetricDefinitionOutput extends ProxyOnlyResourceOutput { /** ResourceMetricDefinition resource specific properties */ properties?: ResourceMetricDefinitionPropertiesOutput; } +/** ResourceMetricDefinition resource specific properties */ export interface ResourceMetricDefinitionPropertiesOutput { /** Unit of the metric. */ - unit?: string; + readonly unit?: string; /** Primary aggregation type. */ - primaryAggregationType?: string; + readonly primaryAggregationType?: string; /** List of time grains supported for the metric together with retention period. */ - metricAvailabilities?: Array; + readonly metricAvailabilities?: Array; /** Resource URI. */ - resourceUri?: string; + readonly resourceUri?: string; /** Resource metric definition properties. */ - properties?: Record; + readonly properties?: Record; } +/** Metrics availability and retention. */ export interface ResourceMetricAvailabilityOutput { /** Time grain . */ - timeGrain?: string; + readonly timeGrain?: string; /** Retention period for the current time grain. */ - retention?: string; + readonly retention?: string; } +/** Collection of SKU information. */ export interface SkuInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** SKU discovery information. */ export interface SkuInfoOutput { /** Resource type that this SKU applies to. */ resourceType?: string; @@ -1837,37 +1979,41 @@ export interface SkuInfoOutput { capacity?: SkuCapacityOutput; } +/** Collection of usages. */ export interface UsageCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Usage of the quota resource. */ export interface UsageOutput extends ProxyOnlyResourceOutput { /** Usage resource specific properties */ properties?: UsagePropertiesOutput; } +/** Usage resource specific properties */ export interface UsagePropertiesOutput { /** Friendly name shown in the UI. */ - displayName?: string; + readonly displayName?: string; /** Name of the quota resource. */ - resourceName?: string; + readonly resourceName?: string; /** Units of measurement for the quota resource. */ - unit?: string; + readonly unit?: string; /** The current value of the resource counter. */ - currentValue?: number; + readonly currentValue?: number; /** The resource limit. */ - limit?: number; + readonly limit?: number; /** Next reset time for the resource counter. */ - nextResetTime?: string; + readonly nextResetTime?: string; /** Compute mode used for this usage. */ - computeMode?: "Shared" | "Dedicated" | "Dynamic"; + readonly computeMode?: "Shared" | "Dedicated" | "Dynamic"; /** Site mode used for this usage. */ - siteMode?: string; + readonly siteMode?: string; } +/** An operation on a resource. */ export interface OperationOutput { /** Operation ID. */ id?: string; @@ -1891,6 +2037,7 @@ export interface OperationOutput { geoMasterOperationId?: string; } +/** Body of the error response returned from the API. */ export interface ErrorEntityOutput { /** Type of error. */ extendedCode?: string; @@ -1910,13 +2057,15 @@ export interface ErrorEntityOutput { message?: string; } +/** Collection of Outbound Environment Endpoints */ export interface OutboundEnvironmentEndpointCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. */ export interface OutboundEnvironmentEndpointOutput { /** The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory. */ category?: string; @@ -1924,6 +2073,7 @@ export interface OutboundEnvironmentEndpointOutput { endpoints?: Array; } +/** A domain name that a service is reached at, including details of the current connection status. */ export interface EndpointDependencyOutput { /** The domain name of the dependency. */ domainName?: string; @@ -1931,6 +2081,7 @@ export interface EndpointDependencyOutput { endpointDetails?: Array; } +/** Current TCP connectivity information from the App Service Environment to a single endpoint. */ export interface EndpointDetailOutput { /** An IP Address that Domain Name currently resolves to. */ ipAddress?: string; @@ -1946,16 +2097,18 @@ export interface PrivateEndpointConnectionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Remote Private Endpoint Connection ARM resource. */ export interface RemotePrivateEndpointConnectionARMResourceOutput extends ProxyOnlyResourceOutput { /** RemotePrivateEndpointConnectionARMResource resource specific properties */ properties?: RemotePrivateEndpointConnectionARMResourcePropertiesOutput; } +/** RemotePrivateEndpointConnectionARMResource resource specific properties */ export interface RemotePrivateEndpointConnectionARMResourcePropertiesOutput { - provisioningState?: string; + readonly provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ privateEndpoint?: ArmIdWrapperOutput; /** The state of a private link connection */ @@ -1964,10 +2117,12 @@ export interface RemotePrivateEndpointConnectionARMResourcePropertiesOutput { ipAddresses?: Array; } +/** A wrapper for an ARM resource id */ export interface ArmIdWrapperOutput { - id?: string; + readonly id?: string; } +/** The state of a private link connection */ export interface PrivateLinkConnectionStateOutput { /** Status of a private link connection */ status?: string; @@ -1977,21 +2132,25 @@ export interface PrivateLinkConnectionStateOutput { actionsRequired?: string; } +/** Private Endpoint Connection Approval ARM resource. */ export interface PrivateLinkConnectionApprovalRequestResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: PrivateLinkConnectionApprovalRequestOutput; } +/** A request to approve or reject a private endpoint connection */ export interface PrivateLinkConnectionApprovalRequestOutput { /** The state of a private link connection */ privateLinkServiceConnectionState?: PrivateLinkConnectionStateOutput; } +/** Wrapper for a collection of private link resources */ export interface PrivateLinkResourcesWrapperOutput { value: Array; } +/** A private link resource */ export interface PrivateLinkResourceOutput { id: string; /** Name of a private link resource */ @@ -2001,22 +2160,25 @@ export interface PrivateLinkResourceOutput { properties: PrivateLinkResourcePropertiesOutput; } +/** Properties of a private link resource */ export interface PrivateLinkResourcePropertiesOutput { /** GroupId of a private link resource */ - groupId?: string; + readonly groupId?: string; /** RequiredMembers of a private link resource */ - requiredMembers?: Array; + readonly requiredMembers?: Array; /** RequiredZoneNames of a private link resource */ - requiredZoneNames?: Array; + readonly requiredZoneNames?: Array; } +/** Collection of App Service plans. */ export interface AppServicePlanCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** App Service plan. */ export interface AppServicePlanOutput extends ResourceOutput { /** AppServicePlan resource specific properties */ properties?: AppServicePlanPropertiesOutput; @@ -2026,19 +2188,20 @@ export interface AppServicePlanOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; } +/** AppServicePlan resource specific properties */ export interface AppServicePlanPropertiesOutput { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; /** App Service plan status. */ - status?: "Ready" | "Pending" | "Creating"; + readonly status?: "Ready" | "Pending" | "Creating"; /** App Service plan subscription. */ - subscription?: string; + readonly subscription?: string; /** Specification for the App Service Environment to use for the App Service plan. */ hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** Maximum number of instances that can be assigned to this App Service plan. */ - maximumNumberOfWorkers?: number; + readonly maximumNumberOfWorkers?: number; /** Geographical location for the App Service plan. */ - geoRegion?: string; + readonly geoRegion?: string; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. @@ -2049,7 +2212,7 @@ export interface AppServicePlanPropertiesOutput { /** Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ maximumElasticWorkerCount?: number; /** Number of apps assigned to this App Service plan. */ - numberOfSites?: number; + readonly numberOfSites?: number; /** If true, this App Service Plan owns spot instances. */ isSpot?: boolean; /** The time when the server farm expires. Valid only if it is a spot server farm. */ @@ -2057,7 +2220,7 @@ export interface AppServicePlanPropertiesOutput { /** The time when the server farm free offer expires. */ freeOfferExpirationTime?: string; /** Resource group of the App Service plan. */ - resourceGroup?: string; + readonly resourceGroup?: string; /** If Linux app service plan true, false otherwise. */ reserved?: boolean; /** Obsolete: If Hyper-V container app service plan true, false otherwise. */ @@ -2069,7 +2232,7 @@ export interface AppServicePlanPropertiesOutput { /** Scaling worker size ID. */ targetWorkerSizeId?: number; /** Provisioning state of the App Service Plan. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Specification for the Kubernetes Environment to use for the App Service plan. */ kubeEnvironmentProfile?: KubeEnvironmentProfileOutput; /** @@ -2079,22 +2242,25 @@ export interface AppServicePlanPropertiesOutput { zoneRedundant?: boolean; } +/** Specification for a Kubernetes Environment to use for this resource. */ export interface KubeEnvironmentProfileOutput { /** Resource ID of the Kubernetes Environment. */ id?: string; /** Name of the Kubernetes Environment. */ - name?: string; + readonly name?: string; /** Resource type of the Kubernetes Environment. */ - type?: string; + readonly type?: string; } +/** Collection of CSM usage quotas. */ export interface CsmUsageQuotaCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Usage of the quota resource. */ export interface CsmUsageQuotaOutput { /** Units of measurement for the quota resource. */ unit?: string; @@ -2108,6 +2274,7 @@ export interface CsmUsageQuotaOutput { name?: LocalizableStringOutput; } +/** Localizable string object containing the name and a localized value. */ export interface LocalizableStringOutput { /** Non-localized name. */ value?: string; @@ -2115,24 +2282,26 @@ export interface LocalizableStringOutput { localizedValue?: string; } +/** ARM resource for a app service plan. */ export interface AppServicePlanPatchResourceOutput extends ProxyOnlyResourceOutput { /** AppServicePlanPatchResource resource specific properties */ properties?: AppServicePlanPatchResourcePropertiesOutput; } +/** AppServicePlanPatchResource resource specific properties */ export interface AppServicePlanPatchResourcePropertiesOutput { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; /** App Service plan status. */ - status?: "Ready" | "Pending" | "Creating"; + readonly status?: "Ready" | "Pending" | "Creating"; /** App Service plan subscription. */ - subscription?: string; + readonly subscription?: string; /** Specification for the App Service Environment to use for the App Service plan. */ hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** Maximum number of instances that can be assigned to this App Service plan. */ - maximumNumberOfWorkers?: number; + readonly maximumNumberOfWorkers?: number; /** Geographical location for the App Service plan. */ - geoRegion?: string; + readonly geoRegion?: string; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. @@ -2143,7 +2312,7 @@ export interface AppServicePlanPatchResourcePropertiesOutput { /** Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ maximumElasticWorkerCount?: number; /** Number of apps assigned to this App Service plan. */ - numberOfSites?: number; + readonly numberOfSites?: number; /** If true, this App Service Plan owns spot instances. */ isSpot?: boolean; /** The time when the server farm expires. Valid only if it is a spot server farm. */ @@ -2151,7 +2320,7 @@ export interface AppServicePlanPatchResourcePropertiesOutput { /** The time when the server farm free offer expires. */ freeOfferExpirationTime?: string; /** Resource group of the App Service plan. */ - resourceGroup?: string; + readonly resourceGroup?: string; /** If Linux app service plan true, false otherwise. */ reserved?: boolean; /** Obsolete: If Hyper-V container app service plan true, false otherwise. */ @@ -2163,7 +2332,7 @@ export interface AppServicePlanPatchResourcePropertiesOutput { /** Scaling worker size ID. */ targetWorkerSizeId?: number; /** Provisioning state of the App Service Plan. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Specification for the Kubernetes Environment to use for the App Service plan. */ kubeEnvironmentProfile?: KubeEnvironmentProfileOutput; /** @@ -2173,11 +2342,13 @@ export interface AppServicePlanPatchResourcePropertiesOutput { zoneRedundant?: boolean; } +/** Hybrid Connection contract. This is used to configure a Hybrid Connection. */ export interface HybridConnectionOutput extends ProxyOnlyResourceOutput { /** HybridConnection resource specific properties */ properties?: HybridConnectionPropertiesOutput; } +/** HybridConnection resource specific properties */ export interface HybridConnectionPropertiesOutput { /** The name of the Service Bus namespace. */ serviceBusNamespace?: string; @@ -2200,74 +2371,84 @@ export interface HybridConnectionPropertiesOutput { serviceBusSuffix?: string; } +/** Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. */ export interface HybridConnectionKeyOutput extends ProxyOnlyResourceOutput { /** HybridConnectionKey resource specific properties */ properties?: HybridConnectionKeyPropertiesOutput; } +/** HybridConnectionKey resource specific properties */ export interface HybridConnectionKeyPropertiesOutput { /** The name of the send key. */ - sendKeyName?: string; + readonly sendKeyName?: string; /** The value of the send key. */ - sendKeyValue?: string; + readonly sendKeyValue?: string; } +/** Collection of resources. */ export interface ResourceCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections. */ export interface HybridConnectionLimitsOutput extends ProxyOnlyResourceOutput { /** HybridConnectionLimits resource specific properties */ properties?: HybridConnectionLimitsPropertiesOutput; } +/** HybridConnectionLimits resource specific properties */ export interface HybridConnectionLimitsPropertiesOutput { /** The current number of Hybrid Connections. */ - current?: number; + readonly current?: number; /** The maximum number of Hybrid Connections allowed. */ - maximum?: number; + readonly maximum?: number; } +/** Collection of hostname bindings. */ export interface HybridConnectionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Virtual Network information ARM resource. */ export interface VnetInfoResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: VnetInfoOutput; } +/** Virtual Network information contract. */ export interface VnetInfoOutput { /** The Virtual Network's resource ID. */ vnetResourceId?: string; /** The client certificate thumbprint. */ - certThumbprint?: string; + readonly certThumbprint?: string; /** * A certificate file (.cer) blob containing the public key of the private key used to authenticate a * Point-To-Site VPN connection. */ certBlob?: string; /** The routes that this Virtual Network connection uses. */ - routes?: Array; + readonly routes?: Array; /** true if a resync is required; otherwise, false. */ - resyncRequired?: boolean; + readonly resyncRequired?: boolean; /** DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. */ dnsServers?: string; /** Flag that is used to denote if this is VNET injection */ isSwift?: boolean; } +/** Virtual Network route contract used to pass routing information for a Virtual Network. */ export interface VnetRouteOutput extends ProxyOnlyResourceOutput { /** VnetRoute resource specific properties */ properties?: VnetRoutePropertiesOutput; } +/** VnetRoute resource specific properties */ export interface VnetRoutePropertiesOutput { /** The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. */ startAddress?: string; @@ -2284,11 +2465,13 @@ export interface VnetRoutePropertiesOutput { routeType?: "DEFAULT" | "INHERITED" | "STATIC"; } +/** The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package. */ export interface VnetGatewayOutput extends ProxyOnlyResourceOutput { /** VnetGateway resource specific properties */ properties?: VnetGatewayPropertiesOutput; } +/** VnetGateway resource specific properties */ export interface VnetGatewayPropertiesOutput { /** The Virtual Network name. */ vnetName?: string; @@ -2296,25 +2479,28 @@ export interface VnetGatewayPropertiesOutput { vpnPackageUri: string; } +/** Collection of certificates. */ export interface CertificateCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** SSL certificate for an app. */ export interface CertificateOutput extends ResourceOutput { /** Certificate resource specific properties */ properties?: CertificatePropertiesOutput; } +/** Certificate resource specific properties */ export interface CertificatePropertiesOutput { /** Certificate password. */ password?: string; /** Friendly name of the certificate. */ - friendlyName?: string; + readonly friendlyName?: string; /** Subject name of the certificate. */ - subjectName?: string; + readonly subjectName?: string; /** Host names the certificate applies to. */ hostNames?: Array; /** @@ -2324,35 +2510,35 @@ export interface CertificatePropertiesOutput { */ pfxBlob?: string; /** App name. */ - siteName?: string; + readonly siteName?: string; /** Self link. */ - selfLink?: string; + readonly selfLink?: string; /** Certificate issuer. */ - issuer?: string; + readonly issuer?: string; /** Certificate issue Date. */ - issueDate?: string; + readonly issueDate?: string; /** Certificate expiration date. */ - expirationDate?: string; + readonly expirationDate?: string; /** Certificate thumbprint. */ - thumbprint?: string; + readonly thumbprint?: string; /** Is the certificate valid?. */ - valid?: boolean; + readonly valid?: boolean; /** * Raw bytes of .cer file * * Value may contain base64 encoded characters */ - cerBlob?: string; + readonly cerBlob?: string; /** Public key hash. */ - publicKeyHash?: string; + readonly publicKeyHash?: string; /** Specification for the App Service Environment to use for the certificate. */ - hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** Key Vault Csm resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; /** Status of the Key Vault secret. */ - keyVaultSecretStatus?: + readonly keyVaultSecretStatus?: | "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" @@ -2372,18 +2558,20 @@ export interface CertificatePropertiesOutput { domainValidationMethod?: string; } +/** ARM resource for a certificate. */ export interface CertificatePatchResourceOutput extends ProxyOnlyResourceOutput { /** CertificatePatchResource resource specific properties */ properties?: CertificatePatchResourcePropertiesOutput; } +/** CertificatePatchResource resource specific properties */ export interface CertificatePatchResourcePropertiesOutput { /** Certificate password. */ password?: string; /** Friendly name of the certificate. */ - friendlyName?: string; + readonly friendlyName?: string; /** Subject name of the certificate. */ - subjectName?: string; + readonly subjectName?: string; /** Host names the certificate applies to. */ hostNames?: Array; /** @@ -2393,35 +2581,35 @@ export interface CertificatePatchResourcePropertiesOutput { */ pfxBlob?: string; /** App name. */ - siteName?: string; + readonly siteName?: string; /** Self link. */ - selfLink?: string; + readonly selfLink?: string; /** Certificate issuer. */ - issuer?: string; + readonly issuer?: string; /** Certificate issue Date. */ - issueDate?: string; + readonly issueDate?: string; /** Certificate expiration date. */ - expirationDate?: string; + readonly expirationDate?: string; /** Certificate thumbprint. */ - thumbprint?: string; + readonly thumbprint?: string; /** Is the certificate valid?. */ - valid?: boolean; + readonly valid?: boolean; /** * Raw bytes of .cer file * * Value may contain base64 encoded characters */ - cerBlob?: string; + readonly cerBlob?: string; /** Public key hash. */ - publicKeyHash?: string; + readonly publicKeyHash?: string; /** Specification for the App Service Environment to use for the certificate. */ - hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** Key Vault Csm resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; /** Status of the Key Vault secret. */ - keyVaultSecretStatus?: + readonly keyVaultSecretStatus?: | "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" @@ -2441,33 +2629,37 @@ export interface CertificatePatchResourcePropertiesOutput { domainValidationMethod?: string; } +/** Container App collection ARM resource. */ export interface ContainerAppCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Container App. */ export interface ContainerAppOutput extends ResourceOutput { /** ContainerApp resource specific properties */ properties?: ContainerAppPropertiesOutput; } +/** ContainerApp resource specific properties */ export interface ContainerAppPropertiesOutput { /** Provisioning state of the Container App. */ - provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; + readonly provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; /** Resource ID of the Container App's KubeEnvironment. */ kubeEnvironmentId?: string; /** Name of the latest revision of the Container App. */ - latestRevisionName?: string; + readonly latestRevisionName?: string; /** Fully Qualified Domain Name of the latest revision of the Container App. */ - latestRevisionFqdn?: string; + readonly latestRevisionFqdn?: string; /** Non versioned Container App configuration properties. */ configuration?: ConfigurationOutput; /** Container App versioned application definition. */ template?: TemplateOutput; } +/** Non versioned Container App configuration properties that define the mutable settings of a Container app */ export interface ConfigurationOutput { /** Collection of secrets used by a Container app */ secrets?: Array; @@ -2482,6 +2674,7 @@ export interface ConfigurationOutput { registries?: Array; } +/** Container App Secret. */ export interface SecretOutput { /** Secret Name. */ name?: string; @@ -2489,9 +2682,10 @@ export interface SecretOutput { value?: string; } +/** Container App Ingress configuration. */ export interface IngressOutput { /** Hostname. */ - fqdn?: string; + readonly fqdn?: string; /** Bool indicating if app exposes an external http endpoint */ external?: boolean; /** Target Port in containers for traffic from ingress */ @@ -2503,6 +2697,7 @@ export interface IngressOutput { allowInsecure?: boolean; } +/** Traffic weight assigned to a revision */ export interface TrafficWeightOutput { /** Name of a revision */ revisionName?: string; @@ -2512,6 +2707,7 @@ export interface TrafficWeightOutput { latestRevision?: boolean; } +/** Container App Private Registry */ export interface RegistryCredentialsOutput { /** Container Registry Server */ server?: string; @@ -2521,6 +2717,11 @@ export interface RegistryCredentialsOutput { passwordSecretRef?: string; } +/** + * Container App versioned application definition. + * Defines the desired state of an immutable revision. + * Any changes to this section Will result in a new revision being created + */ export interface TemplateOutput { /** User friendly suffix that is appended to the revision name */ revisionSuffix?: string; @@ -2532,6 +2733,7 @@ export interface TemplateOutput { dapr?: DaprOutput; } +/** Container App container definition. */ export interface ContainerOutput { /** Container image tag. */ image?: string; @@ -2547,6 +2749,7 @@ export interface ContainerOutput { resources?: ContainerResourcesOutput; } +/** Container App container environment variable. */ export interface EnvironmentVarOutput { /** Environment variable name. */ name?: string; @@ -2556,6 +2759,7 @@ export interface EnvironmentVarOutput { secretRef?: string; } +/** Container App container resource requirements. */ export interface ContainerResourcesOutput { /** Required CPU in cores, e.g. 0.5 */ cpu?: number; @@ -2563,6 +2767,7 @@ export interface ContainerResourcesOutput { memory?: string; } +/** Container App scaling configurations. */ export interface ScaleOutput { /** Optional. Minimum number of container replicas. */ minReplicas?: number; @@ -2572,6 +2777,7 @@ export interface ScaleOutput { rules?: Array; } +/** Container App container scaling rule. */ export interface ScaleRuleOutput { /** Scale Rule Name */ name?: string; @@ -2583,6 +2789,7 @@ export interface ScaleRuleOutput { http?: HttpScaleRuleOutput; } +/** Container App container Azure Queue based scaling rule. */ export interface QueueScaleRuleOutput { /** Queue name. */ queueName?: string; @@ -2592,6 +2799,7 @@ export interface QueueScaleRuleOutput { auth?: Array; } +/** Auth Secrets for Container App Scale Rule */ export interface ScaleRuleAuthOutput { /** Name of the Container App secret from which to pull the auth params. */ secretRef?: string; @@ -2599,6 +2807,7 @@ export interface ScaleRuleAuthOutput { triggerParameter?: string; } +/** Container App container Custom scaling rule. */ export interface CustomScaleRuleOutput { /** * Type of the custom scale rule @@ -2611,6 +2820,7 @@ export interface CustomScaleRuleOutput { auth?: Array; } +/** Container App container Custom scaling rule. */ export interface HttpScaleRuleOutput { /** Metadata properties to describe http scale rule. */ metadata?: Record; @@ -2618,6 +2828,7 @@ export interface HttpScaleRuleOutput { auth?: Array; } +/** Container App Dapr configuration. */ export interface DaprOutput { /** Boolean indicating if the Dapr side car is enabled */ enabled?: boolean; @@ -2629,6 +2840,7 @@ export interface DaprOutput { components?: Array; } +/** Dapr component configuration */ export interface DaprComponentOutput { /** Component name */ name?: string; @@ -2640,6 +2852,7 @@ export interface DaprComponentOutput { metadata?: Array; } +/** Container App Dapr component metadata. */ export interface DaprMetadataOutput { /** Metadata property name. */ name?: string; @@ -2649,56 +2862,61 @@ export interface DaprMetadataOutput { secretRef?: string; } +/** Container App Secrets Collection ARM resource. */ export interface SecretsCollectionOutput { /** Collection of resources. */ value: Array; } +/** Container App Secret. */ export interface ContainerAppSecretOutput { /** Secret Name. */ - name?: string; + readonly name?: string; /** Secret Value. */ - value?: string; + readonly value?: string; } +/** Container App Revisions collection ARM resource. */ export interface RevisionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Container App Revision. */ export interface RevisionOutput extends ResourceOutput { /** Revision resource specific properties */ properties?: RevisionPropertiesOutput; } +/** Revision resource specific properties */ export interface RevisionPropertiesOutput { /** * Timestamp describing when the revision was created * by controller */ - createdTime?: string; + readonly createdTime?: string; /** Fully qualified domain name of the revision */ - fqdn?: string; + readonly fqdn?: string; /** * Container App Revision Template with all possible settings and the * defaults if user did not provide them. The defaults are populated * as they were at the creation time */ - template?: TemplateOutput; + readonly template?: TemplateOutput; /** Boolean describing if the Revision is Active */ - active?: boolean; + readonly active?: boolean; /** Number of pods currently running for this revision */ - replicas?: number; + readonly replicas?: number; /** Traffic weight assigned to this revision */ - trafficWeight?: number; + readonly trafficWeight?: number; /** Optional Field - Platform Error Message */ - provisioningError?: string; + readonly provisioningError?: string; /** Current health State of the revision */ - healthState?: "Healthy" | "Unhealthy" | "None"; + readonly healthState?: "Healthy" | "Unhealthy" | "None"; /** Current provisioning State of the revision */ - provisioningState?: + readonly provisioningState?: | "Provisioning" | "Provisioned" | "Failed" @@ -2706,76 +2924,87 @@ export interface RevisionPropertiesOutput { | "Deprovisioned"; } +/** Collection of deleted apps. */ export interface DeletedWebAppCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A deleted app. */ export interface DeletedSiteOutput extends ProxyOnlyResourceOutput { /** DeletedSite resource specific properties */ properties?: DeletedSitePropertiesOutput; } +/** DeletedSite resource specific properties */ export interface DeletedSitePropertiesOutput { /** Numeric id for the deleted site */ - deletedSiteId?: number; + readonly deletedSiteId?: number; /** Time in UTC when the app was deleted. */ - deletedTimestamp?: string; + readonly deletedTimestamp?: string; /** Subscription containing the deleted site */ - subscription?: string; + readonly subscription?: string; /** ResourceGroup that contained the deleted site */ - resourceGroup?: string; + readonly resourceGroup?: string; /** Name of the deleted site */ - deletedSiteName?: string; + readonly deletedSiteName?: string; /** Slot of the deleted site */ - slot?: string; + readonly slot?: string; /** Kind of site that was deleted */ - kind?: string; + readonly kind?: string; /** Geo Region of the deleted site */ - geoRegionName?: string; + readonly geoRegionName?: string; } +/** Collection of Diagnostic Categories */ export interface DiagnosticCategoryCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Class representing detector definition */ export interface DiagnosticCategoryOutput extends ProxyOnlyResourceOutput { /** DiagnosticCategory resource specific properties */ properties?: DiagnosticCategoryPropertiesOutput; } +/** DiagnosticCategory resource specific properties */ export interface DiagnosticCategoryPropertiesOutput { /** Description of the diagnostic category */ - description?: string; + readonly description?: string; } +/** Collection of Diagnostic Analyses */ export interface DiagnosticAnalysisCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Definition of Analysis */ export interface AnalysisDefinitionOutput extends ProxyOnlyResourceOutput { /** AnalysisDefinition resource specific properties */ properties?: AnalysisDefinitionPropertiesOutput; } +/** AnalysisDefinition resource specific properties */ export interface AnalysisDefinitionPropertiesOutput { /** Description of the Analysis */ - description?: string; + readonly description?: string; } +/** Class representing a diagnostic analysis done on an application */ export interface DiagnosticAnalysisOutput extends ProxyOnlyResourceOutput { /** DiagnosticAnalysis resource specific properties */ properties?: DiagnosticAnalysisPropertiesOutput; } +/** DiagnosticAnalysis resource specific properties */ export interface DiagnosticAnalysisPropertiesOutput { /** Start time of the period */ startTime?: string; @@ -2789,6 +3018,7 @@ export interface DiagnosticAnalysisPropertiesOutput { nonCorrelatedDetectors?: Array; } +/** Class representing Abnormal Time Period identified in diagnosis */ export interface AbnormalTimePeriodOutput { /** Start time of the downtime */ startTime?: string; @@ -2800,6 +3030,7 @@ export interface AbnormalTimePeriodOutput { solutions?: Array; } +/** Class representing Abnormal Time Period detected. */ export interface DetectorAbnormalTimePeriodOutput { /** Start time of the correlated event */ startTime?: string; @@ -2827,6 +3058,7 @@ export interface DetectorAbnormalTimePeriodOutput { solutions?: Array; } +/** Class Representing Solution for problems detected. */ export interface SolutionOutput { /** Solution Id. */ id?: number; @@ -2844,6 +3076,7 @@ export interface SolutionOutput { metadata?: Array>; } +/** Class Representing Detector Evidence used for analysis */ export interface AnalysisDataOutput { /** Name of the Detector */ source?: string; @@ -2857,17 +3090,19 @@ export interface AnalysisDataOutput { detectorMetaData?: ResponseMetaDataOutput; } +/** Class representing detector definition */ export interface DetectorDefinitionOutput { /** Display name of the detector */ - displayName?: string; + readonly displayName?: string; /** Description of the detector */ - description?: string; + readonly description?: string; /** Detector Rank */ - rank?: number; + readonly rank?: number; /** Flag representing whether detector is enabled or not. */ - isEnabled?: boolean; + readonly isEnabled?: boolean; } +/** Class representing Diagnostic Metric information */ export interface DiagnosticMetricSetOutput { /** Name of the metric */ name?: string; @@ -2883,6 +3118,7 @@ export interface DiagnosticMetricSetOutput { values?: Array; } +/** Class representing Diagnostic Metric */ export interface DiagnosticMetricSampleOutput { /** Time at which metric is measured */ timestamp?: string; @@ -2908,6 +3144,7 @@ export interface ResponseMetaDataOutput { dataSource?: DataSourceOutput; } +/** Class representing data source used by the detectors */ export interface DataSourceOutput { /** Instructions if any for the data source */ instructions?: Array; @@ -2915,23 +3152,27 @@ export interface DataSourceOutput { dataSourceUri?: Array; } +/** Collection of Diagnostic Detectors */ export interface DiagnosticDetectorCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** ARM resource for a detector definition */ export interface DetectorDefinitionResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: DetectorDefinitionOutput; } +/** Class representing Response from Diagnostic Detectors */ export interface DiagnosticDetectorResponseOutput extends ProxyOnlyResourceOutput { /** DiagnosticDetectorResponse resource specific properties */ properties?: DiagnosticDetectorResponsePropertiesOutput; } +/** DiagnosticDetectorResponse resource specific properties */ export interface DiagnosticDetectorResponsePropertiesOutput { /** Start time of the period */ startTime?: string; @@ -2951,23 +3192,27 @@ export interface DiagnosticDetectorResponsePropertiesOutput { responseMetaData?: ResponseMetaDataOutput; } +/** A snapshot of an app. */ export interface SnapshotOutput extends ProxyOnlyResourceOutput { /** Snapshot resource specific properties */ properties?: SnapshotPropertiesOutput; } +/** Snapshot resource specific properties */ export interface SnapshotPropertiesOutput { /** The time the snapshot was taken. */ - time?: string; + readonly time?: string; } +/** Collection of Kubernetes Environments */ export interface KubeEnvironmentCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A Kubernetes cluster specialized for web workloads by Azure App Service */ export interface KubeEnvironmentOutput extends ResourceOutput { /** KubeEnvironment resource specific properties */ properties?: KubeEnvironmentPropertiesOutput; @@ -2975,9 +3220,10 @@ export interface KubeEnvironmentOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; } +/** KubeEnvironment resource specific properties */ export interface KubeEnvironmentPropertiesOutput { /** Provisioning state of the Kubernetes Environment. */ - provisioningState?: + readonly provisioningState?: | "Succeeded" | "Failed" | "Canceled" @@ -2989,11 +3235,11 @@ export interface KubeEnvironmentPropertiesOutput { | "UpgradeRequested" | "UpgradeFailed"; /** Any errors that occurred during deployment or deployment validation */ - deploymentErrors?: string; + readonly deploymentErrors?: string; /** Only visible within Vnet/Subnet */ internalLoadBalancerEnabled?: boolean; /** Default Domain Name for the cluster */ - defaultDomain?: string; + readonly defaultDomain?: string; /** Static IP of the KubeEnvironment */ staticIp?: string; /** Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed */ @@ -3054,14 +3300,16 @@ export interface ContainerAppsConfigurationOutput { dockerBridgeCidr?: string; } +/** ARM resource for a KubeEnvironment when patching */ export interface KubeEnvironmentPatchResourceOutput extends ProxyOnlyResourceOutput { /** KubeEnvironmentPatchResource resource specific properties */ properties?: KubeEnvironmentPatchResourcePropertiesOutput; } +/** KubeEnvironmentPatchResource resource specific properties */ export interface KubeEnvironmentPatchResourcePropertiesOutput { /** Provisioning state of the Kubernetes Environment. */ - provisioningState?: + readonly provisioningState?: | "Succeeded" | "Failed" | "Canceled" @@ -3073,11 +3321,11 @@ export interface KubeEnvironmentPatchResourcePropertiesOutput { | "UpgradeRequested" | "UpgradeFailed"; /** Any errors that occurred during deployment or deployment validation */ - deploymentErrors?: string; + readonly deploymentErrors?: string; /** Only visible within Vnet/Subnet */ internalLoadBalancerEnabled?: boolean; /** Default Domain Name for the cluster */ - defaultDomain?: string; + readonly defaultDomain?: string; /** Static IP of the KubeEnvironment */ staticIp?: string; /** @@ -3097,18 +3345,21 @@ export interface KubeEnvironmentPatchResourcePropertiesOutput { aksResourceID?: string; } +/** Collection of Application Stacks */ export interface ApplicationStackCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** ARM resource for a ApplicationStack. */ export interface ApplicationStackResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: ApplicationStackOutput; } +/** Application stack. */ export interface ApplicationStackOutput { /** Application stack name. */ name?: string; @@ -3124,6 +3375,7 @@ export interface ApplicationStackOutput { isDeprecated?: Array; } +/** Application stack major version. */ export interface StackMajorVersionOutput { /** Application stack major version (display only). */ displayVersion?: string; @@ -3157,6 +3409,7 @@ export interface StackMajorVersionOutput { siteConfigPropertiesDictionary?: Record>; } +/** Application stack minor version. */ export interface StackMinorVersionOutput { /** Application stack minor version (display only). */ displayVersion?: string; @@ -3168,239 +3421,261 @@ export interface StackMinorVersionOutput { isRemoteDebuggingEnabled?: boolean; } +/** Collection of Function app Stacks */ export interface FunctionAppStackCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Function App Stack. */ export interface FunctionAppStackOutput extends ProxyOnlyResourceOutput { /** Function App stack location. */ - location?: string; + readonly location?: string; /** FunctionAppStack resource specific properties */ properties?: FunctionAppStackPropertiesOutput; } +/** FunctionAppStack resource specific properties */ export interface FunctionAppStackPropertiesOutput { /** Function App stack (display only). */ - displayText?: string; + readonly displayText?: string; /** Function App stack name. */ - value?: string; + readonly value?: string; /** List of major versions available. */ - majorVersions?: Array; + readonly majorVersions?: Array; /** Function App stack preferred OS. */ - preferredOs?: "Windows" | "Linux"; + readonly preferredOs?: "Windows" | "Linux"; } +/** Function App stack major version. */ export interface FunctionAppMajorVersionOutput { /** Function App stack major version (display only). */ - displayText?: string; + readonly displayText?: string; /** Function App stack major version name. */ - value?: string; + readonly value?: string; /** Minor versions associated with the major version. */ - minorVersions?: Array; + readonly minorVersions?: Array; } +/** Function App stack minor version. */ export interface FunctionAppMinorVersionOutput { /** Function App stack (display only). */ - displayText?: string; + readonly displayText?: string; /** Function App stack name. */ - value?: string; + readonly value?: string; /** Settings associated with the minor version. */ - stackSettings?: FunctionAppRuntimesOutput; + readonly stackSettings?: FunctionAppRuntimesOutput; } +/** Function App stack runtimes. */ export interface FunctionAppRuntimesOutput { /** Linux-specific settings associated with the minor version. */ - linuxRuntimeSettings?: FunctionAppRuntimeSettingsOutput; + readonly linuxRuntimeSettings?: FunctionAppRuntimeSettingsOutput; /** Windows-specific settings associated with the minor version. */ - windowsRuntimeSettings?: FunctionAppRuntimeSettingsOutput; + readonly windowsRuntimeSettings?: FunctionAppRuntimeSettingsOutput; } +/** Function App runtime settings. */ export interface FunctionAppRuntimeSettingsOutput { /** Function App stack minor version (runtime only). */ - runtimeVersion?: string; + readonly runtimeVersion?: string; /** true if remote debugging is supported for the stack; otherwise, false. */ - remoteDebuggingSupported?: boolean; + readonly remoteDebuggingSupported?: boolean; /** Application Insights settings associated with the minor version. */ - appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; + readonly appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; /** GitHub Actions settings associated with the minor version. */ - gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; /** Application settings associated with the minor version. */ - appSettingsDictionary?: Record; + readonly appSettingsDictionary?: Record; /** Configuration settings associated with the minor version. */ - siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionaryOutput; + readonly siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionaryOutput; /** List of supported Functions extension versions. */ - supportedFunctionsExtensionVersions?: Array; + readonly supportedFunctionsExtensionVersions?: Array; /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; + readonly isPreview?: boolean; /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; + readonly isDeprecated?: boolean; /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; + readonly isHidden?: boolean; /** End-of-life date for the minor version. */ - endOfLifeDate?: string; + readonly endOfLifeDate?: string; /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; + readonly isAutoUpdate?: boolean; /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; + readonly isEarlyAccess?: boolean; /** true if the minor version the default; otherwise, false. */ - isDefault?: boolean; + readonly isDefault?: boolean; } +/** App Insights Web App stack settings. */ export interface AppInsightsWebAppStackSettingsOutput { /** true if remote Application Insights is supported for the stack; otherwise, false. */ - isSupported?: boolean; + readonly isSupported?: boolean; /** true if Application Insights is disabled by default for the stack; otherwise, false. */ - isDefaultOff?: boolean; + readonly isDefaultOff?: boolean; } +/** GitHub Actions Web App stack settings. */ export interface GitHubActionWebAppStackSettingsOutput { /** true if GitHub Actions is supported for the stack; otherwise, false. */ - isSupported?: boolean; + readonly isSupported?: boolean; /** The minor version that is supported for GitHub Actions. */ - supportedVersion?: string; + readonly supportedVersion?: string; } +/** Site config properties dictionary. */ export interface SiteConfigPropertiesDictionaryOutput { /** true if use32BitWorkerProcess should be set to true for the stack; otherwise, false. */ - use32BitWorkerProcess?: boolean; + readonly use32BitWorkerProcess?: boolean; /** LinuxFxVersion configuration setting. */ - linuxFxVersion?: string; + readonly linuxFxVersion?: string; /** JavaVersion configuration setting. */ - javaVersion?: string; + readonly javaVersion?: string; /** PowerShellVersion configuration setting. */ - powerShellVersion?: string; + readonly powerShellVersion?: string; } +/** Collection of Web app Stacks */ export interface WebAppStackCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Web App stack. */ export interface WebAppStackOutput extends ProxyOnlyResourceOutput { /** Web App stack location. */ - location?: string; + readonly location?: string; /** WebAppStack resource specific properties */ properties?: WebAppStackPropertiesOutput; } +/** WebAppStack resource specific properties */ export interface WebAppStackPropertiesOutput { /** Web App stack (display only). */ - displayText?: string; + readonly displayText?: string; /** Web App stack name. */ - value?: string; + readonly value?: string; /** List of major versions available. */ - majorVersions?: Array; + readonly majorVersions?: Array; /** Web App stack preferred OS. */ - preferredOs?: "Windows" | "Linux"; + readonly preferredOs?: "Windows" | "Linux"; } +/** Web App stack major version. */ export interface WebAppMajorVersionOutput { /** Web App stack major version (display only). */ - displayText?: string; + readonly displayText?: string; /** Web App stack major version name. */ - value?: string; + readonly value?: string; /** Minor versions associated with the major version. */ - minorVersions?: Array; + readonly minorVersions?: Array; } +/** Web App stack minor version. */ export interface WebAppMinorVersionOutput { /** Web App stack minor version (display only). */ - displayText?: string; + readonly displayText?: string; /** Web App stack major version name. */ - value?: string; + readonly value?: string; /** Settings associated with the minor version. */ - stackSettings?: WebAppRuntimesOutput; + readonly stackSettings?: WebAppRuntimesOutput; } +/** Web App stack runtimes. */ export interface WebAppRuntimesOutput { /** Linux-specific settings associated with the minor version. */ - linuxRuntimeSettings?: WebAppRuntimeSettingsOutput; + readonly linuxRuntimeSettings?: WebAppRuntimeSettingsOutput; /** Windows-specific settings associated with the minor version. */ - windowsRuntimeSettings?: WebAppRuntimeSettingsOutput; + readonly windowsRuntimeSettings?: WebAppRuntimeSettingsOutput; /** Linux-specific settings associated with the Java container minor version. */ - linuxContainerSettings?: LinuxJavaContainerSettingsOutput; + readonly linuxContainerSettings?: LinuxJavaContainerSettingsOutput; /** Windows-specific settings associated with the Java container minor version. */ - windowsContainerSettings?: WindowsJavaContainerSettingsOutput; + readonly windowsContainerSettings?: WindowsJavaContainerSettingsOutput; } +/** Web App runtime settings. */ export interface WebAppRuntimeSettingsOutput { /** Web App stack minor version (runtime only). */ - runtimeVersion?: string; + readonly runtimeVersion?: string; /** true if remote debugging is supported for the stack; otherwise, false. */ - remoteDebuggingSupported?: boolean; + readonly remoteDebuggingSupported?: boolean; /** Application Insights settings associated with the minor version. */ - appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; + readonly appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; /** GitHub Actions settings associated with the minor version. */ - gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; + readonly isPreview?: boolean; /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; + readonly isDeprecated?: boolean; /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; + readonly isHidden?: boolean; /** End-of-life date for the minor version. */ - endOfLifeDate?: string; + readonly endOfLifeDate?: string; /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; + readonly isAutoUpdate?: boolean; /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; + readonly isEarlyAccess?: boolean; } +/** Linux Java Container settings. */ export interface LinuxJavaContainerSettingsOutput { /** Java 11 version (runtime only). */ - java11Runtime?: string; + readonly java11Runtime?: string; /** Java 8 version (runtime only). */ - java8Runtime?: string; + readonly java8Runtime?: string; /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; + readonly isPreview?: boolean; /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; + readonly isDeprecated?: boolean; /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; + readonly isHidden?: boolean; /** End-of-life date for the minor version. */ - endOfLifeDate?: string; + readonly endOfLifeDate?: string; /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; + readonly isAutoUpdate?: boolean; /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; + readonly isEarlyAccess?: boolean; } +/** Windows Java Container settings. */ export interface WindowsJavaContainerSettingsOutput { /** Java container (runtime only). */ - javaContainer?: string; + readonly javaContainer?: string; /** Java container version (runtime only). */ - javaContainerVersion?: string; + readonly javaContainerVersion?: string; /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; + readonly isPreview?: boolean; /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; + readonly isDeprecated?: boolean; /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; + readonly isHidden?: boolean; /** End-of-life date for the minor version. */ - endOfLifeDate?: string; + readonly endOfLifeDate?: string; /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; + readonly isAutoUpdate?: boolean; /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; + readonly isEarlyAccess?: boolean; } +/** Collection of recommendations. */ export interface RecommendationCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Represents a recommendation result generated by the recommendation engine. */ export interface RecommendationOutput extends ProxyOnlyResourceOutput { /** Recommendation resource specific properties */ properties?: RecommendationPropertiesOutput; } +/** Recommendation resource specific properties */ export interface RecommendationPropertiesOutput { /** Timestamp when this instance was created. */ creationTime?: string; @@ -3425,7 +3700,7 @@ export interface RecommendationPropertiesOutput { /** List of channels that this recommendation can apply. */ channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; /** The list of category tags that this recommendation belongs to. */ - categoryTags?: Array; + readonly categoryTags?: Array; /** Name of action recommended by this object. */ actionName?: string; /** True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. */ @@ -3454,11 +3729,13 @@ export interface RecommendationPropertiesOutput { forwardLink?: string; } +/** Represents a recommendation rule that the recommendation engine can perform. */ export interface RecommendationRuleOutput extends ProxyOnlyResourceOutput { /** RecommendationRule resource specific properties */ properties?: RecommendationRulePropertiesOutput; } +/** RecommendationRule resource specific properties */ export interface RecommendationRulePropertiesOutput { /** Unique name of the rule. */ recommendationName?: string; @@ -3482,7 +3759,7 @@ export interface RecommendationRulePropertiesOutput { /** List of available channels that this rule applies. */ channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; /** The list of category tags that this recommendation rule belongs to. */ - categoryTags?: Array; + readonly categoryTags?: Array; /** True if this is associated with a dynamically added rule */ isDynamic?: boolean; /** Extension name of the portal if exists. Applicable to dynamic rule only. */ @@ -3493,18 +3770,21 @@ export interface RecommendationRulePropertiesOutput { forwardLink?: string; } +/** Collection of resource health metadata. */ export interface ResourceHealthMetadataCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Used for getting ResourceHealthCheck settings. */ export interface ResourceHealthMetadataOutput extends ProxyOnlyResourceOutput { /** ResourceHealthMetadata resource specific properties */ properties?: ResourceHealthMetadataPropertiesOutput; } +/** ResourceHealthMetadata resource specific properties */ export interface ResourceHealthMetadataPropertiesOutput { /** The category that the resource matches in the RHC Policy File */ category?: string; @@ -3512,11 +3792,13 @@ export interface ResourceHealthMetadataPropertiesOutput { signalAvailability?: boolean; } +/** User credentials used for publishing activity. */ export interface UserOutput extends ProxyOnlyResourceOutput { /** User resource specific properties */ properties?: UserPropertiesOutput; } +/** User resource specific properties */ export interface UserPropertiesOutput { /** Username used for publishing. */ publishingUserName: string; @@ -3542,18 +3824,21 @@ export interface UserPropertiesOutput { scmUri?: string; } +/** Collection of source controls. */ export interface SourceControlCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** The source control OAuth token. */ export interface SourceControlOutput extends ProxyOnlyResourceOutput { /** SourceControl resource specific properties */ properties?: SourceControlPropertiesOutput; } +/** SourceControl resource specific properties */ export interface SourceControlPropertiesOutput { /** OAuth access token. */ token?: string; @@ -3565,18 +3850,21 @@ export interface SourceControlPropertiesOutput { expirationTime?: string; } +/** Collection of Billing Meters */ export interface BillingMeterCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services. */ export interface BillingMeterOutput extends ProxyOnlyResourceOutput { /** BillingMeter resource specific properties */ properties?: BillingMeterPropertiesOutput; } +/** BillingMeter resource specific properties */ export interface BillingMeterPropertiesOutput { /** Meter GUID onboarded in Commerce */ meterId?: string; @@ -3594,6 +3882,7 @@ export interface BillingMeterPropertiesOutput { multiplier?: number; } +/** Information regarding availability of a resource name. */ export interface ResourceNameAvailabilityOutput { /** true indicates name is valid and available. false indicates the name is invalid, unavailable, or both. */ nameAvailable?: boolean; @@ -3603,34 +3892,43 @@ export interface ResourceNameAvailabilityOutput { message?: string; } +/** Collection of custom hostname sites */ export interface CustomHostnameSitesCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A hostname and its assigned sites */ export interface CustomHostnameSitesOutput extends ProxyOnlyResourceOutput { /** CustomHostnameSites resource specific properties */ properties?: CustomHostnameSitesPropertiesOutput; } +/** CustomHostnameSites resource specific properties */ export interface CustomHostnameSitesPropertiesOutput { customHostname?: string; region?: string; siteResourceIds?: Array; } +/** A domain specific resource identifier. */ export interface IdentifierOutput extends ProxyOnlyResourceOutput { /** Identifier resource specific properties */ properties?: IdentifierPropertiesOutput; } +/** Identifier resource specific properties */ export interface IdentifierPropertiesOutput { /** String representation of the identity. */ id?: string; } +/** + * List of available locations (regions or App Service Environments) for + * deployment of App Service resources. + */ export interface DeploymentLocationsOutput { /** Available regions. */ locations?: Array; @@ -3640,20 +3938,23 @@ export interface DeploymentLocationsOutput { hostingEnvironmentDeploymentInfos?: Array; } +/** Geographical region. */ export interface GeoRegionOutput extends ProxyOnlyResourceOutput { /** GeoRegion resource specific properties */ properties?: GeoRegionPropertiesOutput; } +/** GeoRegion resource specific properties */ export interface GeoRegionPropertiesOutput { /** Region description. */ - description?: string; + readonly description?: string; /** Display name for region. */ - displayName?: string; + readonly displayName?: string; /** Display name for region. */ - orgDomain?: string; + readonly orgDomain?: string; } +/** Information needed to create resources on an App Service Environment. */ export interface HostingEnvironmentDeploymentInfoOutput { /** Name of the App Service Environment. */ name?: string; @@ -3661,32 +3962,37 @@ export interface HostingEnvironmentDeploymentInfoOutput { location?: string; } +/** Collection of geographical regions. */ export interface GeoRegionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Collection of identifiers. */ export interface IdentifierCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Collection of premier add-on offers. */ export interface PremierAddOnOfferCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Premier add-on offer. */ export interface PremierAddOnOfferOutput extends ProxyOnlyResourceOutput { /** PremierAddOnOffer resource specific properties */ properties?: PremierAddOnOfferPropertiesOutput; } +/** PremierAddOnOffer resource specific properties */ export interface PremierAddOnOfferPropertiesOutput { /** Premier add on SKU. */ sku?: string; @@ -3710,6 +4016,7 @@ export interface PremierAddOnOfferPropertiesOutput { marketplaceOffer?: string; } +/** Collection of SKU information. */ export interface SkuInfosOutput { /** Resource type that this SKU applies to. */ resourceType?: string; @@ -3717,6 +4024,7 @@ export interface SkuInfosOutput { skus?: Array; } +/** A Global SKU Description. */ export interface GlobalCsmSkuDescriptionOutput { /** Name of the resource SKU. */ name?: string; @@ -3734,11 +4042,13 @@ export interface GlobalCsmSkuDescriptionOutput { capabilities?: Array; } +/** The required set of inputs to validate a VNET */ export interface VnetParametersOutput extends ProxyOnlyResourceOutput { /** VnetParameters resource specific properties */ properties?: VnetParametersPropertiesOutput; } +/** VnetParameters resource specific properties */ export interface VnetParametersPropertiesOutput { /** The Resource Group of the VNET to be validated */ vnetResourceGroup?: string; @@ -3750,11 +4060,13 @@ export interface VnetParametersPropertiesOutput { subnetResourceId?: string; } +/** A class that describes the reason for a validation failure. */ export interface VnetValidationFailureDetailsOutput extends ProxyOnlyResourceOutput { /** VnetValidationFailureDetails resource specific properties */ properties?: VnetValidationFailureDetailsPropertiesOutput; } +/** VnetValidationFailureDetails resource specific properties */ export interface VnetValidationFailureDetailsPropertiesOutput { /** Text describing the validation outcome. */ message?: string; @@ -3766,11 +4078,13 @@ export interface VnetValidationFailureDetailsPropertiesOutput { warnings?: Array; } +/** A class that describes a test that failed during NSG and UDR validation. */ export interface VnetValidationTestFailureOutput extends ProxyOnlyResourceOutput { /** VnetValidationTestFailure resource specific properties */ properties?: VnetValidationTestFailurePropertiesOutput; } +/** VnetValidationTestFailure resource specific properties */ export interface VnetValidationTestFailurePropertiesOutput { /** The name of the test that failed. */ testName?: string; @@ -3778,6 +4092,7 @@ export interface VnetValidationTestFailurePropertiesOutput { details?: string; } +/** Describes the result of resource validation. */ export interface ValidateResponseOutput { /** Result of validation. */ status?: string; @@ -3785,6 +4100,7 @@ export interface ValidateResponseOutput { error?: ValidateResponseErrorOutput; } +/** Error details for when validation fails. */ export interface ValidateResponseErrorOutput { /** Validation error code. */ code?: string; @@ -3792,11 +4108,13 @@ export interface ValidateResponseErrorOutput { message?: string; } +/** Request entity for previewing the Static Site workflow */ export interface StaticSitesWorkflowPreviewRequestOutput extends ProxyOnlyResourceOutput { /** StaticSitesWorkflowPreviewRequest resource specific properties */ properties?: StaticSitesWorkflowPreviewRequestPropertiesOutput; } +/** StaticSitesWorkflowPreviewRequest resource specific properties */ export interface StaticSitesWorkflowPreviewRequestPropertiesOutput { /** URL for the repository of the static site. */ repositoryUrl?: string; @@ -3806,6 +4124,7 @@ export interface StaticSitesWorkflowPreviewRequestPropertiesOutput { buildProperties?: StaticSiteBuildPropertiesOutput; } +/** Build properties for the static site. */ export interface StaticSiteBuildPropertiesOutput { /** The path to the app code within the repository. */ appLocation?: string; @@ -3825,25 +4144,29 @@ export interface StaticSiteBuildPropertiesOutput { githubActionSecretNameOverride?: string; } +/** Preview for the Static Site Workflow to be generated */ export interface StaticSitesWorkflowPreviewOutput extends ProxyOnlyResourceOutput { /** StaticSitesWorkflowPreview resource specific properties */ properties?: StaticSitesWorkflowPreviewPropertiesOutput; } +/** StaticSitesWorkflowPreview resource specific properties */ export interface StaticSitesWorkflowPreviewPropertiesOutput { /** The path for the workflow file to be generated */ - path?: string; + readonly path?: string; /** The contents for the workflow file to be generated */ - contents?: string; + readonly contents?: string; } +/** Collection of static sites. */ export interface StaticSiteCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site ARM resource. */ export interface StaticSiteARMResourceOutput extends ResourceOutput { /** Core resource properties */ properties?: StaticSiteOutput; @@ -3853,21 +4176,22 @@ export interface StaticSiteARMResourceOutput extends ResourceOutput { identity?: ManagedServiceIdentityOutput; } +/** A static site. */ export interface StaticSiteOutput { /** The default autogenerated hostname for the static site. */ - defaultHostname?: string; + readonly defaultHostname?: string; /** URL for the repository of the static site. */ repositoryUrl?: string; /** The target branch in the repository. */ branch?: string; /** The custom domains associated with this static site. */ - customDomains?: Array; + readonly customDomains?: Array; /** A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. */ repositoryToken?: string; /** Build properties to configure on the repository. */ buildProperties?: StaticSiteBuildPropertiesOutput; /** Private endpoint connections */ - privateEndpointConnections?: Array; + readonly privateEndpointConnections?: Array; /** State indicating whether staging environments are allowed or not allowed for a static web app. */ stagingEnvironmentPolicy?: "Enabled" | "Disabled"; /** false if config file is locked for this static web app; otherwise, true. */ @@ -3875,17 +4199,18 @@ export interface StaticSiteOutput { /** Template options for generating a new repository. */ templateProperties?: StaticSiteTemplateOptionsOutput; /** The content distribution endpoint for the static site. */ - contentDistributionEndpoint?: string; + readonly contentDistributionEndpoint?: string; /** Identity to use for Key Vault Reference authentication. */ - keyVaultReferenceIdentity?: string; + readonly keyVaultReferenceIdentity?: string; /** User provided function apps registered with the static site */ - userProvidedFunctionApps?: Array; + readonly userProvidedFunctionApps?: Array; /** The provider that submitted the last deployment to the primary environment of the static site. */ provider?: string; /** State indicating the status of the enterprise grade CDN serving traffic to the static web app. */ enterpriseGradeCdnStatus?: "Enabled" | "Enabling" | "Disabled" | "Disabling"; } +/** Message envelope that contains the common Azure resource manager properties and the resource provider specific content. */ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnectionOutput { /** * Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this @@ -3917,6 +4242,7 @@ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnectionOutput { zones?: Array; } +/** The plan object in Azure Resource Manager, represents a marketplace plan. */ export interface ArmPlanOutput { /** The name. */ name?: string; @@ -3930,13 +4256,15 @@ export interface ArmPlanOutput { version?: string; } +/** A remote private endpoint connection */ export interface RemotePrivateEndpointConnectionOutput extends ProxyOnlyResourceOutput { /** RemotePrivateEndpointConnection resource specific properties */ properties?: RemotePrivateEndpointConnectionPropertiesOutput; } +/** RemotePrivateEndpointConnection resource specific properties */ export interface RemotePrivateEndpointConnectionPropertiesOutput { - provisioningState?: string; + readonly provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ privateEndpoint?: ArmIdWrapperOutput; /** The state of a private link connection */ @@ -3945,6 +4273,7 @@ export interface RemotePrivateEndpointConnectionPropertiesOutput { ipAddresses?: Array; } +/** Template Options for the static site. */ export interface StaticSiteTemplateOptionsOutput { /** URL of the template repository. The newly generated repository will be based on this one. */ templateRepositoryUrl?: string; @@ -3958,75 +4287,84 @@ export interface StaticSiteTemplateOptionsOutput { isPrivate?: boolean; } +/** A static site user provided function. */ export interface StaticSiteUserProvidedFunctionAppOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserProvidedFunctionApp resource specific properties */ properties?: StaticSiteUserProvidedFunctionAppPropertiesOutput; } +/** StaticSiteUserProvidedFunctionApp resource specific properties */ export interface StaticSiteUserProvidedFunctionAppPropertiesOutput { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ functionAppRegion?: string; /** The date and time on which the function app was registered with the static site. */ - createdOn?: string; + readonly createdOn?: string; } +/** ARM resource for a static site when patching */ export interface StaticSitePatchResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: StaticSiteOutput; } +/** Collection of static site custom users. */ export interface StaticSiteUserCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site User ARM resource. */ export interface StaticSiteUserARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserARMResource resource specific properties */ properties?: StaticSiteUserARMResourcePropertiesOutput; } +/** StaticSiteUserARMResource resource specific properties */ export interface StaticSiteUserARMResourcePropertiesOutput { /** The identity provider for the static site user. */ - provider?: string; + readonly provider?: string; /** The user id for the static site user. */ - userId?: string; + readonly userId?: string; /** The display name for the static site user. */ - displayName?: string; + readonly displayName?: string; /** The roles for the static site user, in free-form string format */ roles?: string; } +/** Collection of static site builds. */ export interface StaticSiteBuildCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site Build ARM resource. */ export interface StaticSiteBuildARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteBuildARMResource resource specific properties */ properties?: StaticSiteBuildARMResourcePropertiesOutput; } +/** StaticSiteBuildARMResource resource specific properties */ export interface StaticSiteBuildARMResourcePropertiesOutput { /** An identifier for the static site build. */ - buildId?: string; + readonly buildId?: string; /** The source branch. */ - sourceBranch?: string; + readonly sourceBranch?: string; /** The title of a pull request that a static site build is related to. */ - pullRequestTitle?: string; + readonly pullRequestTitle?: string; /** The hostname for a static site build. */ - hostname?: string; + readonly hostname?: string; /** When this build was created. */ - createdTimeUtc?: string; + readonly createdTimeUtc?: string; /** When this build was updated. */ - lastUpdatedOn?: string; + readonly lastUpdatedOn?: string; /** The status of the static site build. */ - status?: + readonly status?: | "WaitingForDeployment" | "Uploading" | "Deploying" @@ -4035,60 +4373,69 @@ export interface StaticSiteBuildARMResourcePropertiesOutput { | "Deleting" | "Detached"; /** User provided function apps registered with the static site build */ - userProvidedFunctionApps?: Array; + readonly userProvidedFunctionApps?: Array; } +/** String dictionary resource. */ export interface StringDictionaryOutput extends ProxyOnlyResourceOutput { /** Settings. */ properties?: Record; } +/** Collection of static site functions. */ export interface StaticSiteFunctionOverviewCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site Function Overview ARM resource. */ export interface StaticSiteFunctionOverviewARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteFunctionOverviewARMResource resource specific properties */ properties?: StaticSiteFunctionOverviewARMResourcePropertiesOutput; } +/** StaticSiteFunctionOverviewARMResource resource specific properties */ export interface StaticSiteFunctionOverviewARMResourcePropertiesOutput { /** The name for the function */ - functionName?: string; + readonly functionName?: string; /** The trigger type of the function */ - triggerType?: "HttpTrigger" | "Unknown"; + readonly triggerType?: "HttpTrigger" | "Unknown"; } +/** Collection of static site user provided function apps. */ export interface StaticSiteUserProvidedFunctionAppsCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site User Provided Function App ARM resource. */ export interface StaticSiteUserProvidedFunctionAppARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserProvidedFunctionAppARMResource resource specific properties */ properties?: StaticSiteUserProvidedFunctionAppARMResourcePropertiesOutput; } +/** StaticSiteUserProvidedFunctionAppARMResource resource specific properties */ export interface StaticSiteUserProvidedFunctionAppARMResourcePropertiesOutput { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ functionAppRegion?: string; /** The date and time on which the function app was registered with the static site. */ - createdOn?: string; + readonly createdOn?: string; } +/** Static site zip deployment ARM resource. */ export interface StaticSiteZipDeploymentARMResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: StaticSiteZipDeploymentOutput; } +/** A static site zip deployment. */ export interface StaticSiteZipDeploymentOutput { /** URL for the zipped app content */ appZipUrl?: string; @@ -4102,11 +4449,13 @@ export interface StaticSiteZipDeploymentOutput { functionLanguage?: string; } +/** Static sites user roles invitation resource. */ export interface StaticSiteUserInvitationRequestResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserInvitationRequestResource resource specific properties */ properties?: StaticSiteUserInvitationRequestResourcePropertiesOutput; } +/** StaticSiteUserInvitationRequestResource resource specific properties */ export interface StaticSiteUserInvitationRequestResourcePropertiesOutput { /** The domain name for the static site custom domain. */ domain?: string; @@ -4120,63 +4469,79 @@ export interface StaticSiteUserInvitationRequestResourcePropertiesOutput { numHoursToExpiration?: number; } +/** Static sites user roles invitation link resource. */ export interface StaticSiteUserInvitationResponseResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserInvitationResponseResource resource specific properties */ properties?: StaticSiteUserInvitationResponseResourcePropertiesOutput; } +/** StaticSiteUserInvitationResponseResource resource specific properties */ export interface StaticSiteUserInvitationResponseResourcePropertiesOutput { /** The expiration time of the invitation */ - expiresOn?: string; + readonly expiresOn?: string; /** The url for the invitation link */ - invitationUrl?: string; + readonly invitationUrl?: string; } +/** Collection of static site custom domains. */ export interface StaticSiteCustomDomainOverviewCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site Custom Domain Overview ARM resource. */ export interface StaticSiteCustomDomainOverviewARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteCustomDomainOverviewARMResource resource specific properties */ properties?: StaticSiteCustomDomainOverviewARMResourcePropertiesOutput; } +/** StaticSiteCustomDomainOverviewARMResource resource specific properties */ export interface StaticSiteCustomDomainOverviewARMResourcePropertiesOutput { /** The domain name for the static site custom domain. */ - domainName?: string; + readonly domainName?: string; /** The date and time on which the custom domain was created for the static site. */ - createdOn?: string; + readonly createdOn?: string; /** The status of the custom domain */ - status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; + readonly status?: + | "RetrievingValidationToken" + | "Validating" + | "Adding" + | "Ready" + | "Failed" + | "Deleting"; /** The TXT record validation token */ - validationToken?: string; - errorMessage?: string; + readonly validationToken?: string; + readonly errorMessage?: string; } +/** Static Site Custom Domain Request Properties ARM resource. */ export interface StaticSiteCustomDomainRequestPropertiesARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties */ properties?: StaticSiteCustomDomainRequestPropertiesARMResourcePropertiesOutput; } +/** StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties */ export interface StaticSiteCustomDomainRequestPropertiesARMResourcePropertiesOutput { /** Validation method for adding a custom domain */ validationMethod?: string; } +/** String list resource. */ export interface StringListOutput extends ProxyOnlyResourceOutput { /** List of string resources. */ properties?: Array; } +/** Static Site Reset Properties ARM resource. */ export interface StaticSiteResetPropertiesARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteResetPropertiesARMResource resource specific properties */ properties?: StaticSiteResetPropertiesARMResourcePropertiesOutput; } +/** StaticSiteResetPropertiesARMResource resource specific properties */ export interface StaticSiteResetPropertiesARMResourcePropertiesOutput { /** The token which proves admin privileges to the repository. */ repositoryToken?: string; @@ -4184,6 +4549,7 @@ export interface StaticSiteResetPropertiesARMResourcePropertiesOutput { shouldUpdateRepository?: boolean; } +/** ARM resource for a site. */ export interface SitePatchResourceOutput extends ProxyOnlyResourceOutput { /** SitePatchResource resource specific properties */ properties?: SitePatchResourcePropertiesOutput; @@ -4191,24 +4557,25 @@ export interface SitePatchResourceOutput extends ProxyOnlyResourceOutput { identity?: ManagedServiceIdentityOutput; } +/** SitePatchResource resource specific properties */ export interface SitePatchResourcePropertiesOutput { /** Current state of the app. */ - state?: string; + readonly state?: string; /** Hostnames associated with the app. */ - hostNames?: Array; + readonly hostNames?: Array; /** Name of the repository site. */ - repositorySiteName?: string; + readonly repositorySiteName?: string; /** State indicating whether the app has exceeded its quota usage. Read-only. */ - usageState?: "Normal" | "Exceeded"; + readonly usageState?: "Normal" | "Exceeded"; /** true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ enabled?: boolean; /** * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, * the app is not served on those hostnames. */ - enabledHostNames?: Array; + readonly enabledHostNames?: Array; /** Management information availability state for the app. */ - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; + readonly availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; /** Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ hostNameSslStates?: Array; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ @@ -4220,15 +4587,15 @@ export interface SitePatchResourcePropertiesOutput { /** Hyper-V sandbox. */ hyperV?: boolean; /** Last time the app was modified, in UTC. Read-only. */ - lastModifiedTimeUtc?: string; + readonly lastModifiedTimeUtc?: string; /** Configuration of the app. */ siteConfig?: SiteConfigOutput; /** Azure Traffic Manager hostnames associated with the app. Read-only. */ - trafficManagerHostNames?: Array; + readonly trafficManagerHostNames?: Array; /** true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ scmSiteAlsoStopped?: boolean; /** Specifies which deployment slot this app will swap into. Read-only. */ - targetSwapSlot?: string; + readonly targetSwapSlot?: string; /** App Service Environment to use for the app. */ hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ @@ -4252,30 +4619,30 @@ export interface SitePatchResourcePropertiesOutput { /** Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ customDomainVerificationId?: string; /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ - outboundIpAddresses?: string; + readonly outboundIpAddresses?: string; /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ - possibleOutboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; /** Size of the function container. */ containerSize?: number; /** Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ dailyMemoryTimeQuota?: number; /** App suspended till in case memory-time quota is exceeded. */ - suspendedTill?: string; + readonly suspendedTill?: string; /** * Maximum number of workers. * This only applies to Functions container. */ - maxNumberOfWorkers?: number; + readonly maxNumberOfWorkers?: number; /** If specified during app creation, the app is cloned from a source app. */ cloningInfo?: CloningInfoOutput; /** Name of the resource group the app belongs to. Read-only. */ - resourceGroup?: string; + readonly resourceGroup?: string; /** true if the app is a default container; otherwise, false. */ - isDefaultContainer?: boolean; + readonly isDefaultContainer?: boolean; /** Default hostname of the app. Read-only. */ - defaultHostName?: string; + readonly defaultHostName?: string; /** Status of the last deployment slot swap operation. */ - slotSwapStatus?: SlotSwapStatusOutput; + readonly slotSwapStatus?: SlotSwapStatusOutput; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests @@ -4288,7 +4655,7 @@ export interface SitePatchResourcePropertiesOutput { * * Value may contain a UUID */ - inProgressOperationId?: string; + readonly inProgressOperationId?: string; /** Checks if Customer provided storage account is required */ storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ @@ -4300,24 +4667,26 @@ export interface SitePatchResourcePropertiesOutput { virtualNetworkSubnetId?: string; } +/** Custom domain analysis. */ export interface CustomHostnameAnalysisResultOutput extends ProxyOnlyResourceOutput { /** CustomHostnameAnalysisResult resource specific properties */ properties?: CustomHostnameAnalysisResultPropertiesOutput; } +/** CustomHostnameAnalysisResult resource specific properties */ export interface CustomHostnameAnalysisResultPropertiesOutput { /** true if hostname is already verified; otherwise, false. */ - isHostnameAlreadyVerified?: boolean; + readonly isHostnameAlreadyVerified?: boolean; /** DNS verification test result. */ - customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; + readonly customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; /** Raw failure information if DNS verification fails. */ - customDomainVerificationFailureInfo?: ErrorEntityOutput; + readonly customDomainVerificationFailureInfo?: ErrorEntityOutput; /** true if there is a conflict on a scale unit; otherwise, false. */ - hasConflictOnScaleUnit?: boolean; + readonly hasConflictOnScaleUnit?: boolean; /** true if there is a conflict across subscriptions; otherwise, false. */ - hasConflictAcrossSubscription?: boolean; + readonly hasConflictAcrossSubscription?: boolean; /** Name of the conflicting app on scale unit if it's within the same subscription. */ - conflictingAppResourceId?: string; + readonly conflictingAppResourceId?: string; /** CName records controller can see for this hostname. */ cNameRecords?: Array; /** TXT records controller can see for this hostname. */ @@ -4330,11 +4699,13 @@ export interface CustomHostnameAnalysisResultPropertiesOutput { alternateTxtRecords?: Array; } +/** Description of a backup which will be performed. */ export interface BackupRequestOutput extends ProxyOnlyResourceOutput { /** BackupRequest resource specific properties */ properties?: BackupRequestPropertiesOutput; } +/** BackupRequest resource specific properties */ export interface BackupRequestPropertiesOutput { /** Name of the backup. */ backupName?: string; @@ -4348,6 +4719,7 @@ export interface BackupRequestPropertiesOutput { databases?: Array; } +/** Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy. */ export interface BackupScheduleOutput { /** How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) */ frequencyInterval: number; @@ -4360,9 +4732,10 @@ export interface BackupScheduleOutput { /** When the schedule should start working. */ startTime?: string; /** Last time when this schedule was triggered. */ - lastExecutionTime?: string; + readonly lastExecutionTime?: string; } +/** Database backup settings. */ export interface DatabaseBackupSettingOutput { /** Database type (e.g. SqlAzure / MySql). */ databaseType: "SqlAzure" | "MySql" | "LocalMySql" | "PostgreSql"; @@ -4376,22 +4749,24 @@ export interface DatabaseBackupSettingOutput { connectionString?: string; } +/** Backup description. */ export interface BackupItemOutput extends ProxyOnlyResourceOutput { /** BackupItem resource specific properties */ properties?: BackupItemPropertiesOutput; } +/** BackupItem resource specific properties */ export interface BackupItemPropertiesOutput { /** Id of the backup. */ - id?: number; + readonly id?: number; /** SAS URL for the storage account container which contains this backup. */ - storageAccountUrl?: string; + readonly storageAccountUrl?: string; /** Name of the blob which contains data for this backup. */ - blobName?: string; + readonly blobName?: string; /** Name of this backup. */ - name?: string; + readonly name?: string; /** Backup status. */ - status?: + readonly status?: | "InProgress" | "Failed" | "Succeeded" @@ -4403,37 +4778,40 @@ export interface BackupItemPropertiesOutput { | "DeleteFailed" | "Deleted"; /** Size of the backup in bytes. */ - sizeInBytes?: number; + readonly sizeInBytes?: number; /** Timestamp of the backup creation. */ - created?: string; + readonly created?: string; /** Details regarding this backup. Might contain an error message. */ - log?: string; + readonly log?: string; /** List of databases included in the backup. */ - databases?: Array; + readonly databases?: Array; /** True if this backup has been created due to a schedule being triggered. */ - scheduled?: boolean; + readonly scheduled?: boolean; /** Timestamp of a last restore operation which used this backup. */ - lastRestoreTimeStamp?: string; + readonly lastRestoreTimeStamp?: string; /** Timestamp when this backup finished. */ - finishedTimeStamp?: string; + readonly finishedTimeStamp?: string; /** Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. */ - correlationId?: string; + readonly correlationId?: string; /** Size of the original web app which has been backed up. */ - websiteSizeInBytes?: number; + readonly websiteSizeInBytes?: number; } +/** Collection of backup items. */ export interface BackupItemCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Description of a restore request. */ export interface RestoreRequestOutput extends ProxyOnlyResourceOutput { /** RestoreRequest resource specific properties */ properties?: RestoreRequestPropertiesOutput; } +/** RestoreRequest resource specific properties */ export interface RestoreRequestPropertiesOutput { /** SAS URL to the container. */ storageAccountUrl: string; @@ -4462,40 +4840,47 @@ export interface RestoreRequestPropertiesOutput { hostingEnvironment?: string; } +/** Publishing Credentials Policies entity collection ARM resource. */ export interface PublishingCredentialsPoliciesCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Publishing Credentials Policies parameters. */ export interface CsmPublishingCredentialsPoliciesEntityOutput extends ProxyOnlyResourceOutput { /** CsmPublishingCredentialsPoliciesEntity resource specific properties */ properties?: CsmPublishingCredentialsPoliciesEntityPropertiesOutput; } +/** CsmPublishingCredentialsPoliciesEntity resource specific properties */ export interface CsmPublishingCredentialsPoliciesEntityPropertiesOutput { /** true to allow access to a publishing method; otherwise, false. */ allow: boolean; } +/** Collection of site configurations. */ export interface SiteConfigResourceCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Web app configuration ARM resource. */ export interface SiteConfigResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: SiteConfigOutput; } +/** Configuration settings for the Azure App Service Authentication / Authorization feature. */ export interface SiteAuthSettingsOutput extends ProxyOnlyResourceOutput { /** SiteAuthSettings resource specific properties */ properties?: SiteAuthSettingsPropertiesOutput; } +/** SiteAuthSettings resource specific properties */ export interface SiteAuthSettingsPropertiesOutput { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; @@ -4697,11 +5082,13 @@ export interface SiteAuthSettingsPropertiesOutput { configVersion?: string; } +/** Configuration settings for the Azure App Service Authentication / Authorization V2 feature. */ export interface SiteAuthSettingsV2Output extends ProxyOnlyResourceOutput { /** SiteAuthSettingsV2 resource specific properties */ properties?: SiteAuthSettingsV2PropertiesOutput; } +/** SiteAuthSettingsV2 resource specific properties */ export interface SiteAuthSettingsV2PropertiesOutput { /** The configuration settings of the platform of App Service Authentication/Authorization. */ platform?: AuthPlatformOutput; @@ -4715,6 +5102,7 @@ export interface SiteAuthSettingsV2PropertiesOutput { httpSettings?: HttpSettingsOutput; } +/** The configuration settings of the platform of App Service Authentication/Authorization. */ export interface AuthPlatformOutput { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; @@ -4730,6 +5118,7 @@ export interface AuthPlatformOutput { configFilePath?: string; } +/** The configuration settings that determines the validation flow of users using App Service Authentication/Authorization. */ export interface GlobalValidationOutput { /** true if the authentication flow is required any request is made; otherwise, false. */ requireAuthentication?: boolean; @@ -4749,6 +5138,7 @@ export interface GlobalValidationOutput { excludedPaths?: Array; } +/** The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization. */ export interface IdentityProvidersOutput { /** The configuration settings of the Azure Active directory provider. */ azureActiveDirectory?: AzureActiveDirectoryOutput; @@ -4773,6 +5163,7 @@ export interface IdentityProvidersOutput { customOpenIdConnectProviders?: Record; } +/** The configuration settings of the Azure Active directory provider. */ export interface AzureActiveDirectoryOutput { /** false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4790,6 +5181,7 @@ export interface AzureActiveDirectoryOutput { isAutoProvisioned?: boolean; } +/** The configuration settings of the Azure Active Directory app registration. */ export interface AzureActiveDirectoryRegistrationOutput { /** * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. @@ -4824,6 +5216,7 @@ export interface AzureActiveDirectoryRegistrationOutput { clientSecretCertificateIssuer?: string; } +/** The configuration settings of the Azure Active Directory login flow. */ export interface AzureActiveDirectoryLoginOutput { /** * Login parameters to send to the OpenID Connect authorization endpoint when @@ -4834,6 +5227,7 @@ export interface AzureActiveDirectoryLoginOutput { disableWWWAuthenticate?: boolean; } +/** The configuration settings of the Azure Active Directory token validation flow. */ export interface AzureActiveDirectoryValidationOutput { /** The configuration settings of the checks that should be made while validating the JWT Claims. */ jwtClaimChecks?: JwtClaimChecksOutput; @@ -4843,6 +5237,7 @@ export interface AzureActiveDirectoryValidationOutput { defaultAuthorizationPolicy?: DefaultAuthorizationPolicyOutput; } +/** The configuration settings of the checks that should be made while validating the JWT Claims. */ export interface JwtClaimChecksOutput { /** The list of the allowed groups. */ allowedGroups?: Array; @@ -4850,6 +5245,7 @@ export interface JwtClaimChecksOutput { allowedClientApplications?: Array; } +/** The configuration settings of the Azure Active Directory default authorization policy. */ export interface DefaultAuthorizationPolicyOutput { /** The configuration settings of the Azure Active Directory allowed principals. */ allowedPrincipals?: AllowedPrincipalsOutput; @@ -4857,6 +5253,7 @@ export interface DefaultAuthorizationPolicyOutput { allowedApplications?: Array; } +/** The configuration settings of the Azure Active Directory allowed principals. */ export interface AllowedPrincipalsOutput { /** The list of the allowed groups. */ groups?: Array; @@ -4864,6 +5261,7 @@ export interface AllowedPrincipalsOutput { identities?: Array; } +/** The configuration settings of the Facebook provider. */ export interface FacebookOutput { /** false if the Facebook provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4875,6 +5273,7 @@ export interface FacebookOutput { login?: LoginScopesOutput; } +/** The configuration settings of the app registration for providers that have app ids and app secrets */ export interface AppRegistrationOutput { /** The App ID of the app used for login. */ appId?: string; @@ -4882,11 +5281,13 @@ export interface AppRegistrationOutput { appSecretSettingName?: string; } +/** The configuration settings of the login flow, including the scopes that should be requested. */ export interface LoginScopesOutput { /** A list of the scopes that should be requested while authenticating. */ scopes?: Array; } +/** The configuration settings of the GitHub provider. */ export interface GitHubOutput { /** false if the GitHub provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4896,6 +5297,7 @@ export interface GitHubOutput { login?: LoginScopesOutput; } +/** The configuration settings of the app registration for providers that have client ids and client secrets */ export interface ClientRegistrationOutput { /** The Client ID of the app used for login. */ clientId?: string; @@ -4903,6 +5305,7 @@ export interface ClientRegistrationOutput { clientSecretSettingName?: string; } +/** The configuration settings of the Google provider. */ export interface GoogleOutput { /** false if the Google provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4914,11 +5317,13 @@ export interface GoogleOutput { validation?: AllowedAudiencesValidationOutput; } +/** The configuration settings of the Allowed Audiences validation flow. */ export interface AllowedAudiencesValidationOutput { /** The configuration settings of the allowed list of audiences from which to validate the JWT token. */ allowedAudiences?: Array; } +/** The configuration settings of the legacy Microsoft Account provider. */ export interface LegacyMicrosoftAccountOutput { /** false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4930,6 +5335,7 @@ export interface LegacyMicrosoftAccountOutput { validation?: AllowedAudiencesValidationOutput; } +/** The configuration settings of the Twitter provider. */ export interface TwitterOutput { /** false if the Twitter provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4937,6 +5343,7 @@ export interface TwitterOutput { registration?: TwitterRegistrationOutput; } +/** The configuration settings of the app registration for the Twitter provider. */ export interface TwitterRegistrationOutput { /** * The OAuth 1.0a consumer key of the Twitter application used for sign-in. @@ -4951,6 +5358,7 @@ export interface TwitterRegistrationOutput { consumerSecretSettingName?: string; } +/** The configuration settings of the Apple provider. */ export interface AppleOutput { /** false if the Apple provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4960,6 +5368,7 @@ export interface AppleOutput { login?: LoginScopesOutput; } +/** The configuration settings of the registration for the Apple provider */ export interface AppleRegistrationOutput { /** The Client ID of the app used for login. */ clientId?: string; @@ -4967,6 +5376,7 @@ export interface AppleRegistrationOutput { clientSecretSettingName?: string; } +/** The configuration settings of the Azure Static Web Apps provider. */ export interface AzureStaticWebAppsOutput { /** false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4974,11 +5384,13 @@ export interface AzureStaticWebAppsOutput { registration?: AzureStaticWebAppsRegistrationOutput; } +/** The configuration settings of the registration for the Azure Static Web Apps provider */ export interface AzureStaticWebAppsRegistrationOutput { /** The Client ID of the app used for login. */ clientId?: string; } +/** The configuration settings of the custom Open ID Connect provider. */ export interface CustomOpenIdConnectProviderOutput { /** false if the custom Open ID provider provider should not be enabled; otherwise, true. */ enabled?: boolean; @@ -4988,6 +5400,7 @@ export interface CustomOpenIdConnectProviderOutput { login?: OpenIdConnectLoginOutput; } +/** The configuration settings of the app registration for the custom Open ID Connect provider. */ export interface OpenIdConnectRegistrationOutput { /** The client id of the custom Open ID Connect provider. */ clientId?: string; @@ -4997,6 +5410,7 @@ export interface OpenIdConnectRegistrationOutput { openIdConnectConfiguration?: OpenIdConnectConfigOutput; } +/** The authentication client credentials of the custom Open ID Connect provider. */ export interface OpenIdConnectClientCredentialOutput { /** The method that should be used to authenticate the user. */ method?: "ClientSecretPost"; @@ -5004,6 +5418,7 @@ export interface OpenIdConnectClientCredentialOutput { clientSecretSettingName?: string; } +/** The configuration settings of the endpoints used for the custom Open ID Connect provider. */ export interface OpenIdConnectConfigOutput { /** The endpoint to be used to make an authorization request. */ authorizationEndpoint?: string; @@ -5017,6 +5432,7 @@ export interface OpenIdConnectConfigOutput { wellKnownOpenIdConfiguration?: string; } +/** The configuration settings of the login flow of the custom Open ID Connect provider. */ export interface OpenIdConnectLoginOutput { /** The name of the claim that contains the users name. */ nameClaimType?: string; @@ -5024,6 +5440,7 @@ export interface OpenIdConnectLoginOutput { scopes?: Array; } +/** The configuration settings of the login flow of users using App Service Authentication/Authorization. */ export interface LoginOutput { /** The routes that specify the endpoints used for login and logout requests. */ routes?: LoginRoutesOutput; @@ -5043,11 +5460,13 @@ export interface LoginOutput { nonce?: NonceOutput; } +/** The routes that specify the endpoints used for login and logout requests. */ export interface LoginRoutesOutput { /** The endpoint at which a logout request should be made. */ logoutEndpoint?: string; } +/** The configuration settings of the token store. */ export interface TokenStoreOutput { /** * true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. @@ -5065,16 +5484,19 @@ export interface TokenStoreOutput { azureBlobStorage?: BlobStorageTokenStoreOutput; } +/** The configuration settings of the storage of the tokens if a file system is used. */ export interface FileSystemTokenStoreOutput { /** The directory in which the tokens will be stored. */ directory?: string; } +/** The configuration settings of the storage of the tokens if blob storage is used. */ export interface BlobStorageTokenStoreOutput { /** The name of the app setting containing the SAS URL of the blob storage containing the tokens. */ sasUrlSettingName?: string; } +/** The configuration settings of the session cookie's expiration. */ export interface CookieExpirationOutput { /** The convention used when determining the session cookie's expiration. */ convention?: "FixedTime" | "IdentityProviderDerived"; @@ -5082,6 +5504,7 @@ export interface CookieExpirationOutput { timeToExpiration?: string; } +/** The configuration settings of the nonce used in the login flow. */ export interface NonceOutput { /** false if the nonce should not be validated while completing the login flow; otherwise, true. */ validateNonce?: boolean; @@ -5089,6 +5512,7 @@ export interface NonceOutput { nonceExpirationInterval?: string; } +/** The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. */ export interface HttpSettingsOutput { /** false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. */ requireHttps?: boolean; @@ -5098,11 +5522,13 @@ export interface HttpSettingsOutput { forwardProxy?: ForwardProxyOutput; } +/** The configuration settings of the paths HTTP requests. */ export interface HttpSettingsRoutesOutput { /** The prefix that should precede all the authentication/authorization paths. */ apiPrefix?: string; } +/** The configuration settings of a forward proxy used to make the requests. */ export interface ForwardProxyOutput { /** The convention used to determine the url of the request made. */ convention?: "NoProxy" | "Standard" | "Custom"; @@ -5112,6 +5538,7 @@ export interface ForwardProxyOutput { customProtoHeaderName?: string; } +/** AzureStorageInfo dictionary resource. */ export interface AzureStoragePropertyDictionaryResourceOutput extends ProxyOnlyResourceOutput { /** Azure storage accounts. */ properties?: Record; @@ -5121,14 +5548,16 @@ export interface ApiKVReferenceCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Description of site key vault references. */ export interface ApiKVReferenceOutput extends ProxyOnlyResourceOutput { /** ApiKVReference resource specific properties */ properties?: ApiKVReferencePropertiesOutput; } +/** ApiKVReference resource specific properties */ export interface ApiKVReferencePropertiesOutput { reference?: string; status?: @@ -5153,11 +5582,13 @@ export interface ApiKVReferencePropertiesOutput { activeVersion?: string; } +/** String dictionary resource. */ export interface ConnectionStringDictionaryOutput extends ProxyOnlyResourceOutput { /** Connection strings. */ properties?: Record; } +/** Database connection string value to type pair. */ export interface ConnStringValueTypePairOutput { /** Value of pair. */ value: string; @@ -5176,11 +5607,13 @@ export interface ConnStringValueTypePairOutput { | "PostgreSQL"; } +/** Configuration of App Service site logs. */ export interface SiteLogsConfigOutput extends ProxyOnlyResourceOutput { /** SiteLogsConfig resource specific properties */ properties?: SiteLogsConfigPropertiesOutput; } +/** SiteLogsConfig resource specific properties */ export interface SiteLogsConfigPropertiesOutput { /** Application logs configuration. */ applicationLogs?: ApplicationLogsConfigOutput; @@ -5192,6 +5625,7 @@ export interface SiteLogsConfigPropertiesOutput { detailedErrorMessages?: EnabledConfigOutput; } +/** Application logs configuration. */ export interface ApplicationLogsConfigOutput { /** Application logs to file system configuration. */ fileSystem?: FileSystemApplicationLogsConfigOutput; @@ -5201,11 +5635,13 @@ export interface ApplicationLogsConfigOutput { azureBlobStorage?: AzureBlobStorageApplicationLogsConfigOutput; } +/** Application logs to file system configuration. */ export interface FileSystemApplicationLogsConfigOutput { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; } +/** Application logs to Azure table storage configuration. */ export interface AzureTableStorageApplicationLogsConfigOutput { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; @@ -5213,6 +5649,7 @@ export interface AzureTableStorageApplicationLogsConfigOutput { sasUrl: string; } +/** Application logs azure blob storage configuration. */ export interface AzureBlobStorageApplicationLogsConfigOutput { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; @@ -5226,6 +5663,7 @@ export interface AzureBlobStorageApplicationLogsConfigOutput { retentionInDays?: number; } +/** Http logs configuration. */ export interface HttpLogsConfigOutput { /** Http logs to file system configuration. */ fileSystem?: FileSystemHttpLogsConfigOutput; @@ -5233,6 +5671,7 @@ export interface HttpLogsConfigOutput { azureBlobStorage?: AzureBlobStorageHttpLogsConfigOutput; } +/** Http logs to file system configuration. */ export interface FileSystemHttpLogsConfigOutput { /** * Maximum size in megabytes that http log files can use. @@ -5250,6 +5689,7 @@ export interface FileSystemHttpLogsConfigOutput { enabled?: boolean; } +/** Http logs to azure blob storage configuration. */ export interface AzureBlobStorageHttpLogsConfigOutput { /** SAS url to a azure blob container with read/write/list/delete permissions. */ sasUrl?: string; @@ -5263,16 +5703,23 @@ export interface AzureBlobStorageHttpLogsConfigOutput { enabled?: boolean; } +/** Enabled configuration. */ export interface EnabledConfigOutput { /** True if configuration is enabled, false if it is disabled and null if configuration is not set. */ enabled?: boolean; } +/** Slot Config names azure resource. */ export interface SlotConfigNamesResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: SlotConfigNamesOutput; } +/** + * Names for connection strings, application settings, and external Azure storage account configuration + * identifiers to be marked as sticky to the deployment slot and not moved during a swap operation. + * This is valid for all deployment slots in an app. + */ export interface SlotConfigNamesOutput { /** List of connection string names. */ connectionStringNames?: Array; @@ -5282,37 +5729,43 @@ export interface SlotConfigNamesOutput { azureStorageConfigNames?: Array; } +/** Collection of metadata for the app configuration snapshots that can be restored. */ export interface SiteConfigurationSnapshotInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A snapshot of a web app configuration. */ export interface SiteConfigurationSnapshotInfoOutput extends ProxyOnlyResourceOutput { /** SiteConfigurationSnapshotInfo resource specific properties */ properties?: SiteConfigurationSnapshotInfoPropertiesOutput; } +/** SiteConfigurationSnapshotInfo resource specific properties */ export interface SiteConfigurationSnapshotInfoPropertiesOutput { /** The time the snapshot was taken. */ - time?: string; + readonly time?: string; /** The id of the snapshot */ - snapshotId?: number; + readonly snapshotId?: number; } +/** Collection of Kudu continuous web job information elements. */ export interface ContinuousWebJobCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Continuous Web Job Information. */ export interface ContinuousWebJobOutput extends ProxyOnlyResourceOutput { /** ContinuousWebJob resource specific properties */ properties?: ContinuousWebJobPropertiesOutput; } +/** ContinuousWebJob resource specific properties */ export interface ContinuousWebJobPropertiesOutput { /** Job status. */ status?: "Initializing" | "Starting" | "Running" | "PendingRestart" | "Stopped"; @@ -5336,18 +5789,21 @@ export interface ContinuousWebJobPropertiesOutput { settings?: Record>; } +/** Collection of app deployments. */ export interface DeploymentCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** User credentials used for publishing activity. */ export interface DeploymentOutput extends ProxyOnlyResourceOutput { /** Deployment resource specific properties */ properties?: DeploymentPropertiesOutput; } +/** Deployment resource specific properties */ export interface DeploymentPropertiesOutput { /** Deployment status. */ status?: number; @@ -5369,29 +5825,33 @@ export interface DeploymentPropertiesOutput { details?: string; } +/** MSDeploy ARM response */ export interface MSDeployStatusOutput extends ProxyOnlyResourceOutput { /** MSDeployStatus resource specific properties */ properties?: MSDeployStatusPropertiesOutput; } +/** MSDeployStatus resource specific properties */ export interface MSDeployStatusPropertiesOutput { /** Username of deployer */ - deployer?: string; + readonly deployer?: string; /** Provisioning state */ - provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; + readonly provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; /** Start time of deploy operation */ - startTime?: string; + readonly startTime?: string; /** End time of deploy operation */ - endTime?: string; + readonly endTime?: string; /** Whether the deployment operation has completed */ - complete?: boolean; + readonly complete?: boolean; } +/** MSDeploy ARM PUT information */ export interface MSDeployOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: MSDeployCoreOutput; } +/** MSDeploy ARM PUT core information */ export interface MSDeployCoreOutput { /** Package URI */ packageUri?: string; @@ -5417,37 +5877,43 @@ export interface MSDeployCoreOutput { appOffline?: boolean; } +/** MSDeploy log */ export interface MSDeployLogOutput extends ProxyOnlyResourceOutput { /** MSDeployLog resource specific properties */ properties?: MSDeployLogPropertiesOutput; } +/** MSDeployLog resource specific properties */ export interface MSDeployLogPropertiesOutput { /** List of log entry messages */ - entries?: Array; + readonly entries?: Array; } +/** MSDeploy log entry */ export interface MSDeployLogEntryOutput { /** Timestamp of log entry */ - time?: string; + readonly time?: string; /** Log entry type */ - type?: "Message" | "Warning" | "Error"; + readonly type?: "Message" | "Warning" | "Error"; /** Log entry message */ - message?: string; + readonly message?: string; } +/** Collection of Kudu function information elements. */ export interface FunctionEnvelopeCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Function information. */ export interface FunctionEnvelopeOutput extends ProxyOnlyResourceOutput { /** FunctionEnvelope resource specific properties */ properties?: FunctionEnvelopePropertiesOutput; } +/** FunctionEnvelope resource specific properties */ export interface FunctionEnvelopePropertiesOutput { /** Function App ID. */ function_app_id?: string; @@ -5477,6 +5943,7 @@ export interface FunctionEnvelopePropertiesOutput { isDisabled?: boolean; } +/** Function key info. */ export interface KeyInfoOutput { /** Key name */ name?: string; @@ -5484,6 +5951,7 @@ export interface KeyInfoOutput { value?: string; } +/** Function secrets. */ export interface FunctionSecretsOutput { /** Secret key. */ key?: string; @@ -5491,6 +5959,7 @@ export interface FunctionSecretsOutput { trigger_url?: string; } +/** Functions host level keys. */ export interface HostKeysOutput { /** Secret key. */ masterKey?: string; @@ -5500,18 +5969,21 @@ export interface HostKeysOutput { systemKeys?: Record; } +/** Collection of hostname bindings. */ export interface HostNameBindingCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A hostname binding object. */ export interface HostNameBindingOutput extends ProxyOnlyResourceOutput { /** HostNameBinding resource specific properties */ properties?: HostNameBindingPropertiesOutput; } +/** HostNameBinding resource specific properties */ export interface HostNameBindingPropertiesOutput { /** App Service app name. */ siteName?: string; @@ -5530,14 +6002,16 @@ export interface HostNameBindingPropertiesOutput { /** SSL certificate thumbprint */ thumbprint?: string; /** Virtual IP address assigned to the hostname if IP based SSL is enabled. */ - virtualIP?: string; + readonly virtualIP?: string; } +/** Hybrid Connection for an App Service app. */ export interface RelayServiceConnectionEntityOutput extends ProxyOnlyResourceOutput { /** RelayServiceConnectionEntity resource specific properties */ properties?: RelayServiceConnectionEntityPropertiesOutput; } +/** RelayServiceConnectionEntity resource specific properties */ export interface RelayServiceConnectionEntityPropertiesOutput { entityName?: string; entityConnectionString?: string; @@ -5548,11 +6022,12 @@ export interface RelayServiceConnectionEntityPropertiesOutput { biztalkUri?: string; } +/** Collection of app instances. */ export interface WebAppInstanceStatusCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } export interface WebSiteInstanceStatusOutput extends ProxyOnlyResourceOutput { @@ -5560,6 +6035,7 @@ export interface WebSiteInstanceStatusOutput extends ProxyOnlyResourceOutput { properties?: WebSiteInstanceStatusPropertiesOutput; } +/** WebSiteInstanceStatus resource specific properties */ export interface WebSiteInstanceStatusPropertiesOutput { state?: "READY" | "STOPPED" | "UNKNOWN"; /** Link to the GetStatusApi in Kudu */ @@ -5622,21 +6098,24 @@ export interface ContainerNetworkInterfaceStatisticsOutput { txDropped?: number; } +/** Collection of Kudu process information elements. */ export interface ProcessInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Process Information. */ export interface ProcessInfoOutput extends ProxyOnlyResourceOutput { /** ProcessInfo resource specific properties */ properties?: ProcessInfoPropertiesOutput; } +/** ProcessInfo resource specific properties */ export interface ProcessInfoPropertiesOutput { /** ARM Identifier for deployment. */ - identifier?: number; + readonly identifier?: number; /** Deployment name. */ deployment_name?: string; /** HRef URI. */ @@ -5709,14 +6188,16 @@ export interface ProcessInfoPropertiesOutput { description?: string; } +/** Process Thread Information. */ export interface ProcessThreadInfoOutput extends ProxyOnlyResourceOutput { /** ProcessThreadInfo resource specific properties */ properties?: ProcessThreadInfoPropertiesOutput; } +/** ProcessThreadInfo resource specific properties */ export interface ProcessThreadInfoPropertiesOutput { /** Site extension ID. */ - identifier?: number; + readonly identifier?: number; /** HRef URI. */ href?: string; /** Process URI. */ @@ -5741,11 +6222,13 @@ export interface ProcessThreadInfoPropertiesOutput { wait_reason?: string; } +/** Process Module Information. */ export interface ProcessModuleInfoOutput extends ProxyOnlyResourceOutput { /** ProcessModuleInfo resource specific properties */ properties?: ProcessModuleInfoPropertiesOutput; } +/** ProcessModuleInfo resource specific properties */ export interface ProcessModuleInfoPropertiesOutput { /** Base address. Used as module identifier in ARM resource URI. */ base_address?: string; @@ -5771,20 +6254,23 @@ export interface ProcessModuleInfoPropertiesOutput { language?: string; } +/** Collection of Kudu thread information elements. */ export interface ProcessModuleInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Collection of Kudu thread information elements. */ export interface ProcessThreadInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Represents whether or not an app is cloneable. */ export interface SiteCloneabilityOutput { /** Name of app. */ result?: "Cloneable" | "PartiallyCloneable" | "NotCloneable"; @@ -5799,6 +6285,7 @@ export interface SiteCloneabilityOutput { blockingCharacteristics?: Array; } +/** An app cloneability criterion. */ export interface SiteCloneabilityCriterionOutput { /** Name of criterion. */ name?: string; @@ -5806,11 +6293,13 @@ export interface SiteCloneabilityCriterionOutput { description?: string; } +/** Options for app content migration. */ export interface StorageMigrationOptionsOutput extends ProxyOnlyResourceOutput { /** StorageMigrationOptions resource specific properties */ properties?: StorageMigrationOptionsPropertiesOutput; } +/** StorageMigrationOptions resource specific properties */ export interface StorageMigrationOptionsPropertiesOutput { /** AzureFiles connection string. */ azurefilesConnectionString: string; @@ -5822,21 +6311,25 @@ export interface StorageMigrationOptionsPropertiesOutput { blockWriteAccessToSite?: boolean; } +/** Response for a migration of app content request. */ export interface StorageMigrationResponseOutput extends ProxyOnlyResourceOutput { /** StorageMigrationResponse resource specific properties */ properties?: StorageMigrationResponsePropertiesOutput; } +/** StorageMigrationResponse resource specific properties */ export interface StorageMigrationResponsePropertiesOutput { /** When server starts the migration process, it will return an operation ID identifying that particular migration operation. */ - operationId?: string; + readonly operationId?: string; } +/** MySQL migration request. */ export interface MigrateMySqlRequestOutput extends ProxyOnlyResourceOutput { /** MigrateMySqlRequest resource specific properties */ properties?: MigrateMySqlRequestPropertiesOutput; } +/** MigrateMySqlRequest resource specific properties */ export interface MigrateMySqlRequestPropertiesOutput { /** Connection string to the remote MySQL database. */ connectionString: string; @@ -5844,25 +6337,34 @@ export interface MigrateMySqlRequestPropertiesOutput { migrationType: "LocalToRemote" | "RemoteToLocal"; } +/** MySQL migration status. */ export interface MigrateMySqlStatusOutput extends ProxyOnlyResourceOutput { /** MigrateMySqlStatus resource specific properties */ properties?: MigrateMySqlStatusPropertiesOutput; } +/** MigrateMySqlStatus resource specific properties */ export interface MigrateMySqlStatusPropertiesOutput { /** Status of the migration task. */ - migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; + readonly migrationOperationStatus?: + | "InProgress" + | "Failed" + | "Succeeded" + | "TimedOut" + | "Created"; /** Operation ID for the migration task. */ - operationId?: string; + readonly operationId?: string; /** True if the web app has in app MySql enabled */ - localMySqlEnabled?: boolean; + readonly localMySqlEnabled?: boolean; } +/** Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration. */ export interface SwiftVirtualNetworkOutput extends ProxyOnlyResourceOutput { /** SwiftVirtualNetwork resource specific properties */ properties?: SwiftVirtualNetworkPropertiesOutput; } +/** SwiftVirtualNetwork resource specific properties */ export interface SwiftVirtualNetworkPropertiesOutput { /** The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first. */ subnetResourceId?: string; @@ -5870,22 +6372,25 @@ export interface SwiftVirtualNetworkPropertiesOutput { swiftSupported?: boolean; } +/** Full view of network features for an app (presently VNET integration and Hybrid Connections). */ export interface NetworkFeaturesOutput extends ProxyOnlyResourceOutput { /** NetworkFeatures resource specific properties */ properties?: NetworkFeaturesPropertiesOutput; } +/** NetworkFeatures resource specific properties */ export interface NetworkFeaturesPropertiesOutput { /** The Virtual Network name. */ - virtualNetworkName?: string; + readonly virtualNetworkName?: string; /** The Virtual Network summary view. */ - virtualNetworkConnection?: VnetInfoOutput; + readonly virtualNetworkConnection?: VnetInfoOutput; /** The Hybrid Connections summary view. */ - hybridConnections?: Array; + readonly hybridConnections?: Array; /** The Hybrid Connection V2 (Service Bus) view. */ - hybridConnectionsV2?: Array; + readonly hybridConnectionsV2?: Array; } +/** Network trace */ export interface NetworkTraceOutput { /** Local file path for the captured network trace file. */ path?: string; @@ -5895,13 +6400,15 @@ export interface NetworkTraceOutput { message?: string; } +/** Collection of performance monitor counters. */ export interface PerfMonCounterCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Performance monitor API response. */ export interface PerfMonResponseOutput { /** The response code. */ code?: string; @@ -5911,6 +6418,7 @@ export interface PerfMonResponseOutput { data?: PerfMonSetOutput; } +/** Metric information. */ export interface PerfMonSetOutput { /** Unique key name of the counter. */ name?: string; @@ -5924,6 +6432,7 @@ export interface PerfMonSetOutput { values?: Array; } +/** Performance monitor sample in a set. */ export interface PerfMonSampleOutput { /** Point in time for which counter was measured. */ time?: string; @@ -5933,11 +6442,13 @@ export interface PerfMonSampleOutput { value?: number; } +/** Used for getting PHP error logging flag. */ export interface SitePhpErrorLogFlagOutput extends ProxyOnlyResourceOutput { /** SitePhpErrorLogFlag resource specific properties */ properties?: SitePhpErrorLogFlagPropertiesOutput; } +/** SitePhpErrorLogFlag resource specific properties */ export interface SitePhpErrorLogFlagPropertiesOutput { /** Local log_errors setting. */ localLogErrors?: string; @@ -5949,11 +6460,13 @@ export interface SitePhpErrorLogFlagPropertiesOutput { masterLogErrorsMaxLength?: string; } +/** Premier add-on. */ export interface PremierAddOnOutput extends ResourceOutput { /** PremierAddOn resource specific properties */ properties?: PremierAddOnPropertiesOutput; } +/** PremierAddOn resource specific properties */ export interface PremierAddOnPropertiesOutput { /** Premier add on SKU. */ sku?: string; @@ -5967,11 +6480,13 @@ export interface PremierAddOnPropertiesOutput { marketplaceOffer?: string; } +/** ARM resource for a PremierAddOn. */ export interface PremierAddOnPatchResourceOutput extends ProxyOnlyResourceOutput { /** PremierAddOnPatchResource resource specific properties */ properties?: PremierAddOnPatchResourcePropertiesOutput; } +/** PremierAddOnPatchResource resource specific properties */ export interface PremierAddOnPatchResourcePropertiesOutput { /** Premier add on SKU. */ sku?: string; @@ -5985,11 +6500,13 @@ export interface PremierAddOnPatchResourcePropertiesOutput { marketplaceOffer?: string; } +/** Description of the parameters of Private Access for a Web Site. */ export interface PrivateAccessOutput extends ProxyOnlyResourceOutput { /** PrivateAccess resource specific properties */ properties?: PrivateAccessPropertiesOutput; } +/** PrivateAccess resource specific properties */ export interface PrivateAccessPropertiesOutput { /** Whether private access is enabled or not. */ enabled?: boolean; @@ -5997,6 +6514,7 @@ export interface PrivateAccessPropertiesOutput { virtualNetworks?: Array; } +/** Description of a Virtual Network that is useable for private site access. */ export interface PrivateAccessVirtualNetworkOutput { /** The name of the Virtual Network. */ name?: string; @@ -6008,6 +6526,7 @@ export interface PrivateAccessVirtualNetworkOutput { subnets?: Array; } +/** Description of a Virtual Network subnet that is useable for private site access. */ export interface PrivateAccessSubnetOutput { /** The name of the subnet. */ name?: string; @@ -6015,18 +6534,21 @@ export interface PrivateAccessSubnetOutput { key?: number; } +/** Collection of public certificates */ export interface PublicCertificateCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Public certificate object */ export interface PublicCertificateOutput extends ProxyOnlyResourceOutput { /** PublicCertificate resource specific properties */ properties?: PublicCertificatePropertiesOutput; } +/** PublicCertificate resource specific properties */ export interface PublicCertificatePropertiesOutput { /** * Public Certificate byte array @@ -6037,14 +6559,16 @@ export interface PublicCertificatePropertiesOutput { /** Public Certificate Location */ publicCertificateLocation?: "CurrentUserMy" | "LocalMachineMy" | "Unknown"; /** Certificate Thumbprint */ - thumbprint?: string; + readonly thumbprint?: string; } +/** Details about restoring a deleted app. */ export interface DeletedAppRestoreRequestOutput extends ProxyOnlyResourceOutput { /** DeletedAppRestoreRequest resource specific properties */ properties?: DeletedAppRestoreRequestPropertiesOutput; } +/** DeletedAppRestoreRequest resource specific properties */ export interface DeletedAppRestoreRequestPropertiesOutput { /** * ARM resource ID of the deleted app. Example: @@ -6062,11 +6586,13 @@ export interface DeletedAppRestoreRequestPropertiesOutput { useDRSecondary?: boolean; } +/** Details about app recovery operation. */ export interface SnapshotRestoreRequestOutput extends ProxyOnlyResourceOutput { /** SnapshotRestoreRequest resource specific properties */ properties?: SnapshotRestoreRequestPropertiesOutput; } +/** SnapshotRestoreRequest resource specific properties */ export interface SnapshotRestoreRequestPropertiesOutput { /** Point in time in which the app restore should be done, formatted as a DateTime string. */ snapshotTime?: string; @@ -6088,6 +6614,7 @@ export interface SnapshotRestoreRequestPropertiesOutput { useDRSecondary?: boolean; } +/** Specifies the web app that snapshot contents will be retrieved from. */ export interface SnapshotRecoverySourceOutput { /** Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS */ location?: string; @@ -6099,18 +6626,21 @@ export interface SnapshotRecoverySourceOutput { id?: string; } +/** Collection of Kudu site extension information elements. */ export interface SiteExtensionInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Site Extension Information. */ export interface SiteExtensionInfoOutput extends ProxyOnlyResourceOutput { /** SiteExtensionInfo resource specific properties */ properties?: SiteExtensionInfoPropertiesOutput; } +/** SiteExtensionInfo resource specific properties */ export interface SiteExtensionInfoPropertiesOutput { /** Site extension ID. */ extension_id?: string; @@ -6153,47 +6683,53 @@ export interface SiteExtensionInfoPropertiesOutput { comment?: string; } +/** Collection of slot differences. */ export interface SlotDifferenceCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A setting difference between two deployment slots of an app. */ export interface SlotDifferenceOutput extends ProxyOnlyResourceOutput { /** SlotDifference resource specific properties */ properties?: SlotDifferencePropertiesOutput; } +/** SlotDifference resource specific properties */ export interface SlotDifferencePropertiesOutput { /** Level of the difference: Information, Warning or Error. */ - level?: string; + readonly level?: string; /** The type of the setting: General, AppSetting or ConnectionString. */ - settingType?: string; + readonly settingType?: string; /** Rule that describes how to process the setting difference during a slot swap. */ - diffRule?: string; + readonly diffRule?: string; /** Name of the setting. */ - settingName?: string; + readonly settingName?: string; /** Value of the setting in the current slot. */ - valueInCurrentSlot?: string; + readonly valueInCurrentSlot?: string; /** Value of the setting in the target slot. */ - valueInTargetSlot?: string; + readonly valueInTargetSlot?: string; /** Description of the setting difference. */ - description?: string; + readonly description?: string; } +/** Collection of snapshots which can be used to revert an app to a previous time. */ export interface SnapshotCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Source control configuration for an app. */ export interface SiteSourceControlOutput extends ProxyOnlyResourceOutput { /** SiteSourceControl resource specific properties */ properties?: SiteSourceControlPropertiesOutput; } +/** SiteSourceControl resource specific properties */ export interface SiteSourceControlPropertiesOutput { /** Repository or source control URL. */ repoUrl?: string; @@ -6211,6 +6747,7 @@ export interface SiteSourceControlPropertiesOutput { gitHubActionConfiguration?: GitHubActionConfigurationOutput; } +/** The GitHub action configuration. */ export interface GitHubActionConfigurationOutput { /** GitHub Action code configuration. */ codeConfiguration?: GitHubActionCodeConfigurationOutput; @@ -6222,6 +6759,7 @@ export interface GitHubActionConfigurationOutput { generateWorkflowFile?: boolean; } +/** The GitHub action code configuration. */ export interface GitHubActionCodeConfigurationOutput { /** Runtime stack is used to determine the workflow file content for code base apps. */ runtimeStack?: string; @@ -6229,6 +6767,7 @@ export interface GitHubActionCodeConfigurationOutput { runtimeVersion?: string; } +/** The GitHub action container configuration. */ export interface GitHubActionContainerConfigurationOutput { /** The server URL for the container registry where the build will be hosted. */ serverUrl?: string; @@ -6240,18 +6779,21 @@ export interface GitHubActionContainerConfigurationOutput { password?: string; } +/** Collection of Kudu continuous web job information elements. */ export interface TriggeredWebJobCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Triggered Web Job Information. */ export interface TriggeredWebJobOutput extends ProxyOnlyResourceOutput { /** TriggeredWebJob resource specific properties */ properties?: TriggeredWebJobPropertiesOutput; } +/** TriggeredWebJob resource specific properties */ export interface TriggeredWebJobPropertiesOutput { /** Latest job run information. */ latest_run?: TriggeredJobRunOutput; @@ -6275,6 +6817,7 @@ export interface TriggeredWebJobPropertiesOutput { settings?: Record>; } +/** Triggered Web Job Run Information. */ export interface TriggeredJobRunOutput { /** Job ID. */ web_job_id?: string; @@ -6300,35 +6843,41 @@ export interface TriggeredJobRunOutput { trigger?: string; } +/** Collection of Kudu continuous web job information elements. */ export interface TriggeredJobHistoryCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Triggered Web Job History. List of Triggered Web Job Run Information elements. */ export interface TriggeredJobHistoryOutput extends ProxyOnlyResourceOutput { /** TriggeredJobHistory resource specific properties */ properties?: TriggeredJobHistoryPropertiesOutput; } +/** TriggeredJobHistory resource specific properties */ export interface TriggeredJobHistoryPropertiesOutput { /** List of triggered web job runs. */ runs?: Array; } +/** Collection of Kudu web job information elements. */ export interface WebJobCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Web Job Information. */ export interface WebJobOutput extends ProxyOnlyResourceOutput { /** WebJob resource specific properties */ properties?: WebJobPropertiesOutput; } +/** WebJob resource specific properties */ export interface WebJobPropertiesOutput { /** Run command. */ run_command?: string; diff --git a/sdk/appservice/arm-appservice-rest/src/paginateHelper.ts b/sdk/appservice/arm-appservice-rest/src/paginateHelper.ts index 5d541b4e406d..9ea946d9d6c5 100644 --- a/sdk/appservice/arm-appservice-rest/src/paginateHelper.ts +++ b/sdk/appservice/arm-appservice-rest/src/paginateHelper.ts @@ -1,11 +1,148 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { getPagedAsyncIterator } from "@azure/core-paging"; import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; import { createRestError } from "@azure-rest/core-client"; +/** + * returns an async iterator that iterates over results. It also has a `byPage` + * method that returns pages of items at once. + * + * @param pagedResult - an object that specifies how to get pages. + * @returns a paged async iterator that iterates over results. + */ +function getPagedAsyncIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, + TLink = string, +>( + pagedResult: PagedResult, +): PagedAsyncIterableIterator { + const iter = getItemAsyncIterator(pagedResult); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: + pagedResult?.byPage ?? + (((settings?: PageSettings) => { + const { continuationToken } = settings ?? {}; + return getPageAsyncIterator(pagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + }); + }) as unknown as (settings?: TPageSettings) => AsyncIterableIterator), + }; +} + +async function* getItemAsyncIterator( + pagedResult: PagedResult, +): AsyncIterableIterator { + const pages = getPageAsyncIterator(pagedResult); + const firstVal = await pages.next(); + // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is + if (!Array.isArray(firstVal.value)) { + // can extract elements from this page + const { toElements } = pagedResult; + if (toElements) { + yield* toElements(firstVal.value) as TElement[]; + for await (const page of pages) { + yield* toElements(page) as TElement[]; + } + } else { + yield firstVal.value; + // `pages` is of type `AsyncIterableIterator` but TPage = TElement in this case + yield* pages as unknown as AsyncIterableIterator; + } + } else { + yield* firstVal.value; + for await (const page of pages) { + // pages is of type `AsyncIterableIterator` so `page` is of type `TPage`. In this branch, + // it must be the case that `TPage = TElement[]` + yield* page as unknown as TElement[]; + } + } +} + +async function* getPageAsyncIterator( + pagedResult: PagedResult, + options: { + pageLink?: TLink; + } = {}, +): AsyncIterableIterator { + const { pageLink } = options; + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); + if (!response) { + return; + } + yield response.page; + while (response.nextPageLink) { + response = await pagedResult.getPage(response.nextPageLink); + if (!response) { + return; + } + yield response.page; + } +} + +/** + * An interface that tracks the settings for paged iteration + */ +export interface PageSettings { + /** + * The token that keeps track of where to continue the iterator + */ + continuationToken?: string; +} + +/** + * An interface that allows async iterable iteration both to completion and by page. + */ +export interface PagedAsyncIterableIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, +> { + /** + * The next method, part of the iteration protocol + */ + next(): Promise>; + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + /** + * Return an AsyncIterableIterator that works a page at a time + */ + byPage: (settings?: TPageSettings) => AsyncIterableIterator; +} + +/** + * An interface that describes how to communicate with the service. + */ +interface PagedResult { + /** + * Link to the first page of results. + */ + firstPageLink: TLink; + /** + * A method that returns a page of results. + */ + getPage: (pageLink: TLink) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + /** + * a function to implement the `byPage` method on the paged async iterator. + */ + byPage?: (settings?: TPageSettings) => AsyncIterableIterator; + + /** + * A function to extract elements from a page. + */ + toElements?: (page: TPage) => unknown[]; +} + /** * Helper type to extract the type of an array */ @@ -14,10 +151,7 @@ export type GetArrayType = T extends Array ? TData : never; /** * The type of a custom function that defines how to get a page and a link to the next one if any. */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; diff --git a/sdk/appservice/arm-appservice-rest/src/pollingHelper.ts b/sdk/appservice/arm-appservice-rest/src/pollingHelper.ts index 914ab5dd8d01..a2668fc5d9c7 100644 --- a/sdk/appservice/arm-appservice-rest/src/pollingHelper.ts +++ b/sdk/appservice/arm-appservice-rest/src/pollingHelper.ts @@ -2,14 +2,81 @@ // Licensed under the MIT License. import type { Client, HttpResponse } from "@azure-rest/core-client"; +import type { AbortSignalLike } from "@azure/abort-controller"; import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollerLike, - PollOperationState, + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState, } from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; +import { createHttpPoller } from "@azure/core-lro"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike, TResult> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} /** * Helper function that builds a Poller object to help polling a long running operation. @@ -18,39 +85,100 @@ import { LroEngine } from "@azure/core-lro"; * @param options - Options to set a resume state or custom polling interval. * @returns - A poller object to poll for operation state updates and eventually get the final response. */ -export function getLongRunningPoller( +export async function getLongRunningPoller( client: Client, initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { sendInitialRequest: async () => { // In the case of Rest Clients we are building the LRO poller object from a response that's the reason // we are not triggering the initial request here, just extracting the information from the // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async (path) => { + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const response = await client.pathUnchecked(path ?? initialResponse.request.url).get(); - return getLroResponse(response as TResult); + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } + const lroResponse = getLroResponse(response as TResult); + lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; + return lroResponse; }, }; - return new LroEngine(poller, options); + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; } /** - * Converts a Rest Client response to a response that the LRO engine knows about + * Converts a Rest Client response to a response that the LRO implementation understands * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with + * @returns - An LRO response that the LRO implementation understands */ -function getLroResponse(response: TResult): LroResponse { +function getLroResponse( + response: TResult, +): OperationResponse { if (Number.isNaN(response.status)) { throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); } diff --git a/sdk/appservice/arm-appservice-rest/src/responses.ts b/sdk/appservice/arm-appservice-rest/src/responses.ts index 2ac6620f200c..c0a073321e59 100644 --- a/sdk/appservice/arm-appservice-rest/src/responses.ts +++ b/sdk/appservice/arm-appservice-rest/src/responses.ts @@ -183,8 +183,8 @@ export interface AppServiceCertificateOrdersList200Response extends HttpResponse } /** List all certificate orders in a subscription. */ -export interface AppServiceCertificateOrdersListdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -192,13 +192,12 @@ export interface AppServiceCertificateOrdersListdefaultResponse extends HttpResp export interface AppServiceCertificateOrdersValidatePurchaseInformation204Response extends HttpResponse { status: "204"; - body: Record; } /** Validate information for a certificate order. */ -export interface AppServiceCertificateOrdersValidatePurchaseInformationdefaultResponse +export interface AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -209,9 +208,9 @@ export interface AppServiceCertificateOrdersListByResourceGroup200Response exten } /** Get certificate orders in a resource group. */ -export interface AppServiceCertificateOrdersListByResourceGroupdefaultResponse +export interface AppServiceCertificateOrdersListByResourceGroupDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -222,8 +221,8 @@ export interface AppServiceCertificateOrdersGet200Response extends HttpResponse } /** Get a certificate order. */ -export interface AppServiceCertificateOrdersGetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -240,26 +239,24 @@ export interface AppServiceCertificateOrdersCreateOrUpdate201Response extends Ht } /** Create or update a certificate purchase order. */ -export interface AppServiceCertificateOrdersCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete an existing certificate order. */ export interface AppServiceCertificateOrdersDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete an existing certificate order. */ export interface AppServiceCertificateOrdersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an existing certificate order. */ -export interface AppServiceCertificateOrdersDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -270,8 +267,8 @@ export interface AppServiceCertificateOrdersUpdate200Response extends HttpRespon } /** Create or update a certificate purchase order. */ -export interface AppServiceCertificateOrdersUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -282,8 +279,8 @@ export interface AppServiceCertificateOrdersListCertificates200Response extends } /** List all certificates associated with a certificate order. */ -export interface AppServiceCertificateOrdersListCertificatesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersListCertificatesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -294,8 +291,8 @@ export interface AppServiceCertificateOrdersGetCertificate200Response extends Ht } /** Get the certificate associated with a certificate order. */ -export interface AppServiceCertificateOrdersGetCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersGetCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -314,27 +311,25 @@ export interface AppServiceCertificateOrdersCreateOrUpdateCertificate201Response } /** Creates or updates a certificate and associates with key vault secret. */ -export interface AppServiceCertificateOrdersCreateOrUpdateCertificatedefaultResponse +export interface AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Delete the certificate associated with a certificate order. */ export interface AppServiceCertificateOrdersDeleteCertificate200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete the certificate associated with a certificate order. */ export interface AppServiceCertificateOrdersDeleteCertificate204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete the certificate associated with a certificate order. */ -export interface AppServiceCertificateOrdersDeleteCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersDeleteCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -345,57 +340,53 @@ export interface AppServiceCertificateOrdersUpdateCertificate200Response extends } /** Creates or updates a certificate and associates with key vault secret. */ -export interface AppServiceCertificateOrdersUpdateCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersUpdateCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reissue an existing certificate order. */ export interface AppServiceCertificateOrdersReissue204Response extends HttpResponse { status: "204"; - body: Record; } /** Reissue an existing certificate order. */ -export interface AppServiceCertificateOrdersReissuedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersReissueDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Renew an existing certificate order. */ export interface AppServiceCertificateOrdersRenew204Response extends HttpResponse { status: "204"; - body: Record; } /** Renew an existing certificate order. */ -export interface AppServiceCertificateOrdersRenewdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersRenewDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Resend certificate email. */ export interface AppServiceCertificateOrdersResendEmail204Response extends HttpResponse { status: "204"; - body: Record; } /** Resend certificate email. */ -export interface AppServiceCertificateOrdersResendEmaildefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersResendEmailDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order */ export interface AppServiceCertificateOrdersResendRequestEmails204Response extends HttpResponse { status: "204"; - body: Record; } /** Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order */ -export interface AppServiceCertificateOrdersResendRequestEmailsdefaultResponse +export interface AppServiceCertificateOrdersResendRequestEmailsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -406,21 +397,20 @@ export interface AppServiceCertificateOrdersRetrieveSiteSeal200Response extends } /** This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that the certificate purchaser can embed on their web site to show their visitors information about their SSL certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal images are expected to be static images and hosted by the reseller, to minimize delays for customer page load times. */ -export interface AppServiceCertificateOrdersRetrieveSiteSealdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Verify domain ownership for this certificate order. */ export interface AppServiceCertificateOrdersVerifyDomainOwnership204Response extends HttpResponse { status: "204"; - body: Record; } /** Verify domain ownership for this certificate order. */ -export interface AppServiceCertificateOrdersVerifyDomainOwnershipdefaultResponse +export interface AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -432,9 +422,9 @@ export interface AppServiceCertificateOrdersRetrieveCertificateActions200Respons } /** Retrieve the list of certificate actions. */ -export interface AppServiceCertificateOrdersRetrieveCertificateActionsdefaultResponse +export interface AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -446,9 +436,9 @@ export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Re } /** Retrieve email history. */ -export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistorydefaultResponse +export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -460,9 +450,9 @@ export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetec } /** Microsoft.CertificateRegistration to get the list of detectors for this RP. */ -export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponsedefaultResponse +export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -474,9 +464,9 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect } /** Microsoft.CertificateRegistration call to get a detector response from App Lens. */ -export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponsedefaultResponse +export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -487,8 +477,8 @@ export interface CertificateRegistrationProviderListOperations200Response extend } /** Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider */ -export interface CertificateRegistrationProviderListOperationsdefaultResponse extends HttpResponse { - status: "500"; +export interface CertificateRegistrationProviderListOperationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -499,8 +489,8 @@ export interface DomainsCheckAvailability200Response extends HttpResponse { } /** Check if a domain is available for registration. */ -export interface DomainsCheckAvailabilitydefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsCheckAvailabilityDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -511,8 +501,8 @@ export interface DomainsList200Response extends HttpResponse { } /** Get all domains in a subscription. */ -export interface DomainsListdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -523,8 +513,8 @@ export interface DomainsGetControlCenterSsoRequest200Response extends HttpRespon } /** Generate a single sign-on request for the domain management portal. */ -export interface DomainsGetControlCenterSsoRequestdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsGetControlCenterSsoRequestDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -535,8 +525,8 @@ export interface DomainsListRecommendations200Response extends HttpResponse { } /** Get domain name recommendations based on keywords. */ -export interface DomainsListRecommendationsdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsListRecommendationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -547,8 +537,8 @@ export interface DomainsListByResourceGroup200Response extends HttpResponse { } /** Get all domains in a resource group. */ -export interface DomainsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -559,8 +549,8 @@ export interface DomainsGet200Response extends HttpResponse { } /** Get a domain. */ -export interface DomainsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -577,26 +567,24 @@ export interface DomainsCreateOrUpdate202Response extends HttpResponse { } /** Creates or updates a domain. */ -export interface DomainsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a domain. */ export interface DomainsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a domain. */ export interface DomainsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a domain. */ -export interface DomainsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -613,8 +601,8 @@ export interface DomainsUpdate202Response extends HttpResponse { } /** Creates or updates a domain. */ -export interface DomainsUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -625,8 +613,8 @@ export interface DomainsListOwnershipIdentifiers200Response extends HttpResponse } /** Lists domain ownership identifiers. */ -export interface DomainsListOwnershipIdentifiersdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsListOwnershipIdentifiersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -637,8 +625,8 @@ export interface DomainsGetOwnershipIdentifier200Response extends HttpResponse { } /** Get ownership identifier for domain */ -export interface DomainsGetOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsGetOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -649,26 +637,24 @@ export interface DomainsCreateOrUpdateOwnershipIdentifier200Response extends Htt } /** Creates an ownership identifier for a domain or updates identifier details for an existing identifier */ -export interface DomainsCreateOrUpdateOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete ownership identifier for domain */ export interface DomainsDeleteOwnershipIdentifier200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete ownership identifier for domain */ export interface DomainsDeleteOwnershipIdentifier204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete ownership identifier for domain */ -export interface DomainsDeleteOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsDeleteOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -679,32 +665,29 @@ export interface DomainsUpdateOwnershipIdentifier200Response extends HttpRespons } /** Creates an ownership identifier for a domain or updates identifier details for an existing identifier */ -export interface DomainsUpdateOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsUpdateOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Renew a domain. */ export interface DomainsRenew200Response extends HttpResponse { status: "200"; - body: Record; } /** Renew a domain. */ export interface DomainsRenew202Response extends HttpResponse { status: "202"; - body: Record; } /** Renew a domain. */ export interface DomainsRenew204Response extends HttpResponse { status: "204"; - body: Record; } /** Renew a domain. */ -export interface DomainsRenewdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsRenewDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -717,12 +700,11 @@ export interface DomainsTransferOut200Response extends HttpResponse { /** Transfer out domain to another registrar */ export interface DomainsTransferOut400Response extends HttpResponse { status: "400"; - body: Record; } /** Transfer out domain to another registrar */ -export interface DomainsTransferOutdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsTransferOutDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -733,8 +715,8 @@ export interface TopLevelDomainsList200Response extends HttpResponse { } /** Get all top-level domains supported for registration. */ -export interface TopLevelDomainsListdefaultResponse extends HttpResponse { - status: "500"; +export interface TopLevelDomainsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -745,8 +727,8 @@ export interface TopLevelDomainsGet200Response extends HttpResponse { } /** Get details of a top-level domain. */ -export interface TopLevelDomainsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface TopLevelDomainsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -757,8 +739,8 @@ export interface TopLevelDomainsListAgreements200Response extends HttpResponse { } /** Gets all legal agreements that user needs to accept before purchasing a domain. */ -export interface TopLevelDomainsListAgreementsdefaultResponse extends HttpResponse { - status: "500"; +export interface TopLevelDomainsListAgreementsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -769,8 +751,8 @@ export interface DomainRegistrationProviderListOperations200Response extends Htt } /** Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider */ -export interface DomainRegistrationProviderListOperationsdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainRegistrationProviderListOperationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -781,8 +763,8 @@ export interface AppServiceEnvironmentsList200Response extends HttpResponse { } /** Get all App Service Environments for a subscription. */ -export interface AppServiceEnvironmentsListdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -793,8 +775,8 @@ export interface AppServiceEnvironmentsListByResourceGroup200Response extends Ht } /** Get all App Service Environments in a resource group. */ -export interface AppServiceEnvironmentsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -805,8 +787,8 @@ export interface AppServiceEnvironmentsGet200Response extends HttpResponse { } /** Get the properties of an App Service Environment. */ -export interface AppServiceEnvironmentsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -829,26 +811,24 @@ export interface AppServiceEnvironmentsCreateOrUpdate202Response extends HttpRes } /** Create or update an App Service Environment. */ -export interface AppServiceEnvironmentsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete an App Service Environment. */ export interface AppServiceEnvironmentsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete an App Service Environment. */ export interface AppServiceEnvironmentsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an App Service Environment. */ -export interface AppServiceEnvironmentsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -871,8 +851,8 @@ export interface AppServiceEnvironmentsUpdate202Response extends HttpResponse { } /** Create or update an App Service Environment. */ -export interface AppServiceEnvironmentsUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -883,8 +863,8 @@ export interface AppServiceEnvironmentsListCapacities200Response extends HttpRes } /** Get the used, available, and total worker capacity an App Service Environment. */ -export interface AppServiceEnvironmentsListCapacitiesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListCapacitiesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -895,8 +875,8 @@ export interface AppServiceEnvironmentsGetVipInfo200Response extends HttpRespons } /** Get IP addresses assigned to an App Service Environment. */ -export interface AppServiceEnvironmentsGetVipInfodefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetVipInfoDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -913,8 +893,8 @@ export interface AppServiceEnvironmentsChangeVnet202Response extends HttpRespons } /** Move an App Service Environment to a different VNET. */ -export interface AppServiceEnvironmentsChangeVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsChangeVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -926,9 +906,9 @@ export interface AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Respons } /** Get networking configuration of an App Service Environment */ -export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationdefaultResponse +export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -940,9 +920,9 @@ export interface AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Respon } /** Update networking configuration of an App Service Environment */ -export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationdefaultResponse +export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -953,8 +933,8 @@ export interface AppServiceEnvironmentsListDiagnostics200Response extends HttpRe } /** Get diagnostic information for an App Service Environment. */ -export interface AppServiceEnvironmentsListDiagnosticsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListDiagnosticsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -965,8 +945,8 @@ export interface AppServiceEnvironmentsGetDiagnosticsItem200Response extends Htt } /** Get a diagnostics item for an App Service Environment. */ -export interface AppServiceEnvironmentsGetDiagnosticsItemdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -978,9 +958,9 @@ export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200 } /** Get the network endpoints of all inbound dependencies of an App Service Environment. */ -export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsdefaultResponse +export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -991,8 +971,8 @@ export interface AppServiceEnvironmentsListMultiRolePools200Response extends Htt } /** Get all multi-role pools. */ -export interface AppServiceEnvironmentsListMultiRolePoolsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListMultiRolePoolsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1003,8 +983,8 @@ export interface AppServiceEnvironmentsGetMultiRolePool200Response extends HttpR } /** Get properties of a multi-role pool. */ -export interface AppServiceEnvironmentsGetMultiRolePooldefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetMultiRolePoolDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1021,9 +1001,9 @@ export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response ex } /** Create or update a multi-role pool. */ -export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePooldefaultResponse +export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1040,8 +1020,8 @@ export interface AppServiceEnvironmentsUpdateMultiRolePool202Response extends Ht } /** Create or update a multi-role pool. */ -export interface AppServiceEnvironmentsUpdateMultiRolePooldefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1053,9 +1033,9 @@ export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinition } /** Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsdefaultResponse +export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1067,9 +1047,9 @@ export interface AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response } /** Get metric definitions for a multi-role pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsdefaultResponse +export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1080,8 +1060,8 @@ export interface AppServiceEnvironmentsListMultiRolePoolSkus200Response extends } /** Get available SKUs for scaling a multi-role pool. */ -export interface AppServiceEnvironmentsListMultiRolePoolSkusdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1092,8 +1072,8 @@ export interface AppServiceEnvironmentsListMultiRoleUsages200Response extends Ht } /** Get usage metrics for a multi-role pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListMultiRoleUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1104,8 +1084,8 @@ export interface AppServiceEnvironmentsListOperations200Response extends HttpRes } /** List all currently running operations on the App Service Environment. */ -export interface AppServiceEnvironmentsListOperationsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListOperationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1117,9 +1097,9 @@ export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints20 } /** Get the network endpoints of all outbound dependencies of an App Service Environment. */ -export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsdefaultResponse +export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1131,9 +1111,9 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionList200Respon } /** Gets the list of private endpoints associated with a hosting environment */ -export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListdefaultResponse +export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1145,9 +1125,9 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnection200Response } /** Gets a private endpoint connection */ -export interface AppServiceEnvironmentsGetPrivateEndpointConnectiondefaultResponse +export interface AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1166,9 +1146,9 @@ export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection2 } /** Approves or rejects a private endpoint connection */ -export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectiondefaultResponse +export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1194,9 +1174,9 @@ export interface AppServiceEnvironmentsDeletePrivateEndpointConnection204Respons } /** Deletes a private endpoint connection */ -export interface AppServiceEnvironmentsDeletePrivateEndpointConnectiondefaultResponse +export interface AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1207,20 +1187,19 @@ export interface AppServiceEnvironmentsGetPrivateLinkResources200Response extend } /** Gets the private link resources */ -export interface AppServiceEnvironmentsGetPrivateLinkResourcesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reboot all machines in an App Service Environment. */ export interface AppServiceEnvironmentsReboot202Response extends HttpResponse { status: "202"; - body: Record; } /** Reboot all machines in an App Service Environment. */ -export interface AppServiceEnvironmentsRebootdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsRebootDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1237,8 +1216,8 @@ export interface AppServiceEnvironmentsResume202Response extends HttpResponse { } /** Resume an App Service Environment. */ -export interface AppServiceEnvironmentsResumedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsResumeDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1249,8 +1228,8 @@ export interface AppServiceEnvironmentsListAppServicePlans200Response extends Ht } /** Get all App Service plans in an App Service Environment. */ -export interface AppServiceEnvironmentsListAppServicePlansdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListAppServicePlansDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1261,8 +1240,8 @@ export interface AppServiceEnvironmentsListWebApps200Response extends HttpRespon } /** Get all apps in an App Service Environment. */ -export interface AppServiceEnvironmentsListWebAppsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListWebAppsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1279,8 +1258,8 @@ export interface AppServiceEnvironmentsSuspend202Response extends HttpResponse { } /** Suspend an App Service Environment. */ -export interface AppServiceEnvironmentsSuspenddefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsSuspendDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1291,8 +1270,8 @@ export interface AppServiceEnvironmentsListUsages200Response extends HttpRespons } /** Get global usage metrics of an App Service Environment. */ -export interface AppServiceEnvironmentsListUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1303,8 +1282,8 @@ export interface AppServiceEnvironmentsListWorkerPools200Response extends HttpRe } /** Get all worker pools of an App Service Environment. */ -export interface AppServiceEnvironmentsListWorkerPoolsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListWorkerPoolsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1315,8 +1294,8 @@ export interface AppServiceEnvironmentsGetWorkerPool200Response extends HttpResp } /** Get properties of a worker pool. */ -export interface AppServiceEnvironmentsGetWorkerPooldefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetWorkerPoolDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1333,9 +1312,9 @@ export interface AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response exten } /** Create or update a worker pool. */ -export interface AppServiceEnvironmentsCreateOrUpdateWorkerPooldefaultResponse +export interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1352,8 +1331,8 @@ export interface AppServiceEnvironmentsUpdateWorkerPool202Response extends HttpR } /** Create or update a worker pool. */ -export interface AppServiceEnvironmentsUpdateWorkerPooldefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1365,9 +1344,9 @@ export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions20 } /** Get metric definitions for a specific instance of a worker pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsdefaultResponse +export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1379,9 +1358,9 @@ export interface AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response } /** Get metric definitions for a worker pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsdefaultResponse +export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1392,8 +1371,8 @@ export interface AppServiceEnvironmentsListWorkerPoolSkus200Response extends Htt } /** Get available SKUs for scaling a worker pool. */ -export interface AppServiceEnvironmentsListWorkerPoolSkusdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1404,8 +1383,8 @@ export interface AppServiceEnvironmentsListWebWorkerUsages200Response extends Ht } /** Get usage metrics for a worker pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListWebWorkerUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1416,8 +1395,8 @@ export interface AppServicePlansList200Response extends HttpResponse { } /** Get all App Service plans for a subscription. */ -export interface AppServicePlansListdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1428,8 +1407,8 @@ export interface AppServicePlansListByResourceGroup200Response extends HttpRespo } /** Get all App Service plans in a resource group. */ -export interface AppServicePlansListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1442,12 +1421,11 @@ export interface AppServicePlansGet200Response extends HttpResponse { /** Get an App Service plan. */ export interface AppServicePlansGet404Response extends HttpResponse { status: "404"; - body: Record; } /** Get an App Service plan. */ -export interface AppServicePlansGetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1464,26 +1442,24 @@ export interface AppServicePlansCreateOrUpdate202Response extends HttpResponse { } /** Creates or updates an App Service Plan. */ -export interface AppServicePlansCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete an App Service plan. */ export interface AppServicePlansDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete an App Service plan. */ export interface AppServicePlansDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an App Service plan. */ -export interface AppServicePlansDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1500,8 +1476,8 @@ export interface AppServicePlansUpdate202Response extends HttpResponse { } /** Creates or updates an App Service Plan. */ -export interface AppServicePlansUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1512,8 +1488,8 @@ export interface AppServicePlansListCapabilities200Response extends HttpResponse } /** List all capabilities of an App Service plan. */ -export interface AppServicePlansListCapabilitiesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListCapabilitiesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1524,26 +1500,24 @@ export interface AppServicePlansGetHybridConnection200Response extends HttpRespo } /** Retrieve a Hybrid Connection in use in an App Service plan. */ -export interface AppServicePlansGetHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a Hybrid Connection in use in an App Service plan. */ export interface AppServicePlansDeleteHybridConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Hybrid Connection in use in an App Service plan. */ export interface AppServicePlansDeleteHybridConnection204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Hybrid Connection in use in an App Service plan. */ -export interface AppServicePlansDeleteHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansDeleteHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1554,8 +1528,8 @@ export interface AppServicePlansListHybridConnectionKeys200Response extends Http } /** Get the send key name and value of a Hybrid Connection. */ -export interface AppServicePlansListHybridConnectionKeysdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListHybridConnectionKeysDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1566,8 +1540,8 @@ export interface AppServicePlansListWebAppsByHybridConnection200Response extends } /** Get all apps that use a Hybrid Connection in an App Service Plan. */ -export interface AppServicePlansListWebAppsByHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListWebAppsByHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1578,8 +1552,8 @@ export interface AppServicePlansGetHybridConnectionPlanLimit200Response extends } /** Get the maximum number of Hybrid Connections allowed in an App Service plan. */ -export interface AppServicePlansGetHybridConnectionPlanLimitdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetHybridConnectionPlanLimitDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1590,20 +1564,19 @@ export interface AppServicePlansListHybridConnections200Response extends HttpRes } /** Retrieve all Hybrid Connections in use in an App Service plan. */ -export interface AppServicePlansListHybridConnectionsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListHybridConnectionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restart all apps in an App Service plan. */ export interface AppServicePlansRestartWebApps204Response extends HttpResponse { status: "204"; - body: Record; } /** Restart all apps in an App Service plan. */ -export interface AppServicePlansRestartWebAppsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansRestartWebAppsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1614,8 +1587,8 @@ export interface AppServicePlansListWebApps200Response extends HttpResponse { } /** Get all apps associated with an App Service plan. */ -export interface AppServicePlansListWebAppsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListWebAppsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1626,8 +1599,8 @@ export interface AppServicePlansGetServerFarmSkus200Response extends HttpRespons } /** Gets all selectable SKUs for a given App Service Plan */ -export interface AppServicePlansGetServerFarmSkusdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetServerFarmSkusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1638,8 +1611,8 @@ export interface AppServicePlansListUsages200Response extends HttpResponse { } /** Gets server farm usage information */ -export interface AppServicePlansListUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1650,8 +1623,8 @@ export interface AppServicePlansListVnets200Response extends HttpResponse { } /** Get all Virtual Networks associated with an App Service plan. */ -export interface AppServicePlansListVnetsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListVnetsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1664,12 +1637,11 @@ export interface AppServicePlansGetVnetFromServerFarm200Response extends HttpRes /** Get a Virtual Network associated with an App Service plan. */ export interface AppServicePlansGetVnetFromServerFarm404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a Virtual Network associated with an App Service plan. */ -export interface AppServicePlansGetVnetFromServerFarmdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetVnetFromServerFarmDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1680,8 +1652,8 @@ export interface AppServicePlansGetVnetGateway200Response extends HttpResponse { } /** Get a Virtual Network gateway. */ -export interface AppServicePlansGetVnetGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetVnetGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1692,8 +1664,8 @@ export interface AppServicePlansUpdateVnetGateway200Response extends HttpRespons } /** Update a Virtual Network gateway. */ -export interface AppServicePlansUpdateVnetGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansUpdateVnetGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1704,8 +1676,8 @@ export interface AppServicePlansListRoutesForVnet200Response extends HttpRespons } /** Get all routes that are associated with a Virtual Network in an App Service plan. */ -export interface AppServicePlansListRoutesForVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListRoutesForVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1718,12 +1690,11 @@ export interface AppServicePlansGetRouteForVnet200Response extends HttpResponse /** Get a Virtual Network route in an App Service plan. */ export interface AppServicePlansGetRouteForVnet404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a Virtual Network route in an App Service plan. */ -export interface AppServicePlansGetRouteForVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetRouteForVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1736,36 +1707,32 @@ export interface AppServicePlansCreateOrUpdateVnetRoute200Response extends HttpR /** Create or update a Virtual Network route in an App Service plan. */ export interface AppServicePlansCreateOrUpdateVnetRoute400Response extends HttpResponse { status: "400"; - body: Record; } /** Create or update a Virtual Network route in an App Service plan. */ export interface AppServicePlansCreateOrUpdateVnetRoute404Response extends HttpResponse { status: "404"; - body: Record; } /** Create or update a Virtual Network route in an App Service plan. */ -export interface AppServicePlansCreateOrUpdateVnetRoutedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansCreateOrUpdateVnetRouteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a Virtual Network route in an App Service plan. */ export interface AppServicePlansDeleteVnetRoute200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Virtual Network route in an App Service plan. */ export interface AppServicePlansDeleteVnetRoute404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a Virtual Network route in an App Service plan. */ -export interface AppServicePlansDeleteVnetRoutedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansDeleteVnetRouteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1778,30 +1745,27 @@ export interface AppServicePlansUpdateVnetRoute200Response extends HttpResponse /** Create or update a Virtual Network route in an App Service plan. */ export interface AppServicePlansUpdateVnetRoute400Response extends HttpResponse { status: "400"; - body: Record; } /** Create or update a Virtual Network route in an App Service plan. */ export interface AppServicePlansUpdateVnetRoute404Response extends HttpResponse { status: "404"; - body: Record; } /** Create or update a Virtual Network route in an App Service plan. */ -export interface AppServicePlansUpdateVnetRoutedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansUpdateVnetRouteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reboot a worker machine in an App Service plan. */ export interface AppServicePlansRebootWorker204Response extends HttpResponse { status: "204"; - body: Record; } /** Reboot a worker machine in an App Service plan. */ -export interface AppServicePlansRebootWorkerdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansRebootWorkerDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1812,8 +1776,8 @@ export interface CertificatesList200Response extends HttpResponse { } /** Get all certificates for a subscription. */ -export interface CertificatesListdefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1824,8 +1788,8 @@ export interface CertificatesListByResourceGroup200Response extends HttpResponse } /** Get all certificates in a resource group. */ -export interface CertificatesListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1836,8 +1800,8 @@ export interface CertificatesGet200Response extends HttpResponse { } /** Get a certificate. */ -export interface CertificatesGetdefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1848,26 +1812,24 @@ export interface CertificatesCreateOrUpdate200Response extends HttpResponse { } /** Create or update a certificate. */ -export interface CertificatesCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a certificate. */ export interface CertificatesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a certificate. */ export interface CertificatesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a certificate. */ -export interface CertificatesDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1878,8 +1840,8 @@ export interface CertificatesUpdate200Response extends HttpResponse { } /** Create or update a certificate. */ -export interface CertificatesUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1890,8 +1852,8 @@ export interface ContainerAppsListBySubscription200Response extends HttpResponse } /** Get the Container Apps in a given subscription. */ -export interface ContainerAppsListBySubscriptiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsListBySubscriptionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1902,8 +1864,8 @@ export interface ContainerAppsListByResourceGroup200Response extends HttpRespons } /** Get the Container Apps in a given resource group. */ -export interface ContainerAppsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1916,12 +1878,11 @@ export interface ContainerAppsGet200Response extends HttpResponse { /** Get the properties of a Container App. */ export interface ContainerAppsGet404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the properties of a Container App. */ -export interface ContainerAppsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1938,32 +1899,29 @@ export interface ContainerAppsCreateOrUpdate201Response extends HttpResponse { } /** Create or update a Container App. */ -export interface ContainerAppsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a Container App. */ export interface ContainerAppsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Container App. */ export interface ContainerAppsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Container App. */ export interface ContainerAppsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Container App. */ -export interface ContainerAppsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1974,8 +1932,8 @@ export interface ContainerAppsListSecrets200Response extends HttpResponse { } /** List secrets for a container app */ -export interface ContainerAppsListSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsListSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1986,8 +1944,8 @@ export interface ContainerAppsRevisionsListRevisions200Response extends HttpResp } /** Get the Revisions for a given Container App. */ -export interface ContainerAppsRevisionsListRevisionsdefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsListRevisionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1998,44 +1956,41 @@ export interface ContainerAppsRevisionsGetRevision200Response extends HttpRespon } /** Get a revision of a Container App. */ -export interface ContainerAppsRevisionsGetRevisiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsGetRevisionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Activates a revision for a Container App */ export interface ContainerAppsRevisionsActivateRevision200Response extends HttpResponse { status: "200"; - body: Record; } /** Activates a revision for a Container App */ -export interface ContainerAppsRevisionsActivateRevisiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsActivateRevisionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deactivates a revision for a Container App */ export interface ContainerAppsRevisionsDeactivateRevision200Response extends HttpResponse { status: "200"; - body: Record; } /** Deactivates a revision for a Container App */ -export interface ContainerAppsRevisionsDeactivateRevisiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsDeactivateRevisionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restarts a revision for a Container App */ export interface ContainerAppsRevisionsRestartRevision200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts a revision for a Container App */ -export interface ContainerAppsRevisionsRestartRevisiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsRestartRevisionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2046,8 +2001,8 @@ export interface DeletedWebAppsList200Response extends HttpResponse { } /** Get all deleted apps for a subscription. */ -export interface DeletedWebAppsListdefaultResponse extends HttpResponse { - status: "500"; +export interface DeletedWebAppsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2058,8 +2013,8 @@ export interface DeletedWebAppsListByLocation200Response extends HttpResponse { } /** Get all deleted apps for a subscription at location */ -export interface DeletedWebAppsListByLocationdefaultResponse extends HttpResponse { - status: "500"; +export interface DeletedWebAppsListByLocationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2070,8 +2025,8 @@ export interface DeletedWebAppsGetDeletedWebAppByLocation200Response extends Htt } /** Get deleted app for a subscription at location. */ -export interface DeletedWebAppsGetDeletedWebAppByLocationdefaultResponse extends HttpResponse { - status: "500"; +export interface DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2083,9 +2038,9 @@ export interface DiagnosticsListHostingEnvironmentDetectorResponses200Response } /** List Hosting Environment Detector Responses */ -export interface DiagnosticsListHostingEnvironmentDetectorResponsesdefaultResponse +export interface DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2096,9 +2051,9 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponse200Response ext } /** Get Hosting Environment Detector Response */ -export interface DiagnosticsGetHostingEnvironmentDetectorResponsedefaultResponse +export interface DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2109,8 +2064,8 @@ export interface DiagnosticsListSiteDetectorResponses200Response extends HttpRes } /** List Site Detector Responses */ -export interface DiagnosticsListSiteDetectorResponsesdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDetectorResponsesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2121,8 +2076,8 @@ export interface DiagnosticsGetSiteDetectorResponse200Response extends HttpRespo } /** Get site detector response */ -export interface DiagnosticsGetSiteDetectorResponsedefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDetectorResponseDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2133,8 +2088,8 @@ export interface DiagnosticsListSiteDiagnosticCategories200Response extends Http } /** Get Diagnostics Categories */ -export interface DiagnosticsListSiteDiagnosticCategoriesdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDiagnosticCategoriesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2145,8 +2100,8 @@ export interface DiagnosticsGetSiteDiagnosticCategory200Response extends HttpRes } /** Get Diagnostics Category */ -export interface DiagnosticsGetSiteDiagnosticCategorydefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDiagnosticCategoryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2157,8 +2112,8 @@ export interface DiagnosticsListSiteAnalyses200Response extends HttpResponse { } /** Get Site Analyses */ -export interface DiagnosticsListSiteAnalysesdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteAnalysesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2169,8 +2124,8 @@ export interface DiagnosticsGetSiteAnalysis200Response extends HttpResponse { } /** Get Site Analysis */ -export interface DiagnosticsGetSiteAnalysisdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteAnalysisDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2181,8 +2136,8 @@ export interface DiagnosticsExecuteSiteAnalysis200Response extends HttpResponse } /** Execute Analysis */ -export interface DiagnosticsExecuteSiteAnalysisdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsExecuteSiteAnalysisDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2193,8 +2148,8 @@ export interface DiagnosticsListSiteDetectors200Response extends HttpResponse { } /** Get Detectors */ -export interface DiagnosticsListSiteDetectorsdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDetectorsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2205,8 +2160,8 @@ export interface DiagnosticsGetSiteDetector200Response extends HttpResponse { } /** Get Detector */ -export interface DiagnosticsGetSiteDetectordefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDetectorDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2217,8 +2172,8 @@ export interface DiagnosticsExecuteSiteDetector200Response extends HttpResponse } /** Execute Detector */ -export interface DiagnosticsExecuteSiteDetectordefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsExecuteSiteDetectorDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2229,8 +2184,8 @@ export interface DiagnosticsListSiteDetectorResponsesSlot200Response extends Htt } /** List Site Detector Responses */ -export interface DiagnosticsListSiteDetectorResponsesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDetectorResponsesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2241,8 +2196,8 @@ export interface DiagnosticsGetSiteDetectorResponseSlot200Response extends HttpR } /** Get site detector response */ -export interface DiagnosticsGetSiteDetectorResponseSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDetectorResponseSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2253,8 +2208,8 @@ export interface DiagnosticsListSiteDiagnosticCategoriesSlot200Response extends } /** Get Diagnostics Categories */ -export interface DiagnosticsListSiteDiagnosticCategoriesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2265,8 +2220,8 @@ export interface DiagnosticsGetSiteDiagnosticCategorySlot200Response extends Htt } /** Get Diagnostics Category */ -export interface DiagnosticsGetSiteDiagnosticCategorySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2277,8 +2232,8 @@ export interface DiagnosticsListSiteAnalysesSlot200Response extends HttpResponse } /** Get Site Analyses */ -export interface DiagnosticsListSiteAnalysesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteAnalysesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2289,8 +2244,8 @@ export interface DiagnosticsGetSiteAnalysisSlot200Response extends HttpResponse } /** Get Site Analysis */ -export interface DiagnosticsGetSiteAnalysisSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteAnalysisSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2301,8 +2256,8 @@ export interface DiagnosticsExecuteSiteAnalysisSlot200Response extends HttpRespo } /** Execute Analysis */ -export interface DiagnosticsExecuteSiteAnalysisSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsExecuteSiteAnalysisSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2313,8 +2268,8 @@ export interface DiagnosticsListSiteDetectorsSlot200Response extends HttpRespons } /** Get Detectors */ -export interface DiagnosticsListSiteDetectorsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDetectorsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2325,8 +2280,8 @@ export interface DiagnosticsGetSiteDetectorSlot200Response extends HttpResponse } /** Get Detector */ -export interface DiagnosticsGetSiteDetectorSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDetectorSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2337,8 +2292,8 @@ export interface DiagnosticsExecuteSiteDetectorSlot200Response extends HttpRespo } /** Execute Detector */ -export interface DiagnosticsExecuteSiteDetectorSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsExecuteSiteDetectorSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2349,8 +2304,8 @@ export interface GlobalGetDeletedWebApp200Response extends HttpResponse { } /** Get deleted app for a subscription. */ -export interface GlobalGetDeletedWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface GlobalGetDeletedWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2361,21 +2316,20 @@ export interface GlobalGetDeletedWebAppSnapshots200Response extends HttpResponse } /** Get all deleted apps for a subscription. */ -export interface GlobalGetDeletedWebAppSnapshotsdefaultResponse extends HttpResponse { - status: "500"; +export interface GlobalGetDeletedWebAppSnapshotsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Gets an operation in a subscription and given region */ export interface GlobalGetSubscriptionOperationWithAsyncResponse204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets an operation in a subscription and given region */ -export interface GlobalGetSubscriptionOperationWithAsyncResponsedefaultResponse +export interface GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2386,8 +2340,8 @@ export interface KubeEnvironmentsListBySubscription200Response extends HttpRespo } /** Get all Kubernetes Environments for a subscription. */ -export interface KubeEnvironmentsListBySubscriptiondefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsListBySubscriptionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2398,8 +2352,8 @@ export interface KubeEnvironmentsListByResourceGroup200Response extends HttpResp } /** Get all the Kubernetes Environments in a resource group. */ -export interface KubeEnvironmentsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2410,8 +2364,8 @@ export interface KubeEnvironmentsGet200Response extends HttpResponse { } /** Get the properties of a Kubernetes Environment. */ -export interface KubeEnvironmentsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2428,32 +2382,29 @@ export interface KubeEnvironmentsCreateOrUpdate201Response extends HttpResponse } /** Creates or updates a Kubernetes Environment. */ -export interface KubeEnvironmentsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a Kubernetes Environment. */ export interface KubeEnvironmentsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Kubernetes Environment. */ export interface KubeEnvironmentsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Kubernetes Environment. */ export interface KubeEnvironmentsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Kubernetes Environment. */ -export interface KubeEnvironmentsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2470,8 +2421,8 @@ export interface KubeEnvironmentsUpdate201Response extends HttpResponse { } /** Creates or updates a Kubernetes Environment. */ -export interface KubeEnvironmentsUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2482,8 +2433,8 @@ export interface ProviderGetAvailableStacks200Response extends HttpResponse { } /** Get available application frameworks and their versions */ -export interface ProviderGetAvailableStacksdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetAvailableStacksDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2494,8 +2445,8 @@ export interface ProviderGetFunctionAppStacks200Response extends HttpResponse { } /** Get available Function app frameworks and their versions */ -export interface ProviderGetFunctionAppStacksdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetFunctionAppStacksDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2506,8 +2457,8 @@ export interface ProviderGetFunctionAppStacksForLocation200Response extends Http } /** Get available Function app frameworks and their versions for location */ -export interface ProviderGetFunctionAppStacksForLocationdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetFunctionAppStacksForLocationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2518,8 +2469,8 @@ export interface ProviderGetWebAppStacksForLocation200Response extends HttpRespo } /** Get available Web app frameworks and their versions for location */ -export interface ProviderGetWebAppStacksForLocationdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetWebAppStacksForLocationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2530,8 +2481,8 @@ export interface ProviderListOperations200Response extends HttpResponse { } /** Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions */ -export interface ProviderListOperationsdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderListOperationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2542,8 +2493,8 @@ export interface ProviderGetWebAppStacks200Response extends HttpResponse { } /** Get available Web app frameworks and their versions */ -export interface ProviderGetWebAppStacksdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetWebAppStacksDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2554,8 +2505,8 @@ export interface ProviderGetAvailableStacksOnPrem200Response extends HttpRespons } /** Get available application frameworks and their versions */ -export interface ProviderGetAvailableStacksOnPremdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetAvailableStacksOnPremDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2566,20 +2517,19 @@ export interface RecommendationsList200Response extends HttpResponse { } /** List all recommendations for a subscription. */ -export interface RecommendationsListdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reset all recommendation opt-out settings for a subscription. */ export interface RecommendationsResetAllFilters204Response extends HttpResponse { status: "204"; - body: Record; } /** Reset all recommendation opt-out settings for a subscription. */ -export interface RecommendationsResetAllFiltersdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsResetAllFiltersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2587,13 +2537,12 @@ export interface RecommendationsResetAllFiltersdefaultResponse extends HttpRespo export interface RecommendationsDisableRecommendationForSubscription200Response extends HttpResponse { status: "200"; - body: Record; } /** Disables the specified rule so it will not apply to a subscription in the future. */ -export interface RecommendationsDisableRecommendationForSubscriptiondefaultResponse +export interface RecommendationsDisableRecommendationForSubscriptionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2604,9 +2553,9 @@ export interface RecommendationsListHistoryForHostingEnvironment200Response exte } /** Get past recommendations for an app, optionally specified by the time range. */ -export interface RecommendationsListHistoryForHostingEnvironmentdefaultResponse +export interface RecommendationsListHistoryForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2618,22 +2567,21 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironment200Resp } /** Get all recommendations for a hosting environment. */ -export interface RecommendationsListRecommendedRulesForHostingEnvironmentdefaultResponse +export interface RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Disable all recommendations for an app. */ export interface RecommendationsDisableAllForHostingEnvironment204Response extends HttpResponse { status: "204"; - body: Record; } /** Disable all recommendations for an app. */ -export interface RecommendationsDisableAllForHostingEnvironmentdefaultResponse +export interface RecommendationsDisableAllForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2641,13 +2589,12 @@ export interface RecommendationsDisableAllForHostingEnvironmentdefaultResponse export interface RecommendationsResetAllFiltersForHostingEnvironment204Response extends HttpResponse { status: "204"; - body: Record; } /** Reset all recommendation opt-out settings for an app. */ -export interface RecommendationsResetAllFiltersForHostingEnvironmentdefaultResponse +export interface RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2658,9 +2605,9 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironment200Response ex } /** Get a recommendation rule for an app. */ -export interface RecommendationsGetRuleDetailsByHostingEnvironmentdefaultResponse +export interface RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2668,13 +2615,12 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironmentdefaultRespons export interface RecommendationsDisableRecommendationForHostingEnvironment200Response extends HttpResponse { status: "200"; - body: Record; } /** Disables the specific rule for a web site permanently. */ -export interface RecommendationsDisableRecommendationForHostingEnvironmentdefaultResponse +export interface RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2685,8 +2631,8 @@ export interface RecommendationsListHistoryForWebApp200Response extends HttpResp } /** Get past recommendations for an app, optionally specified by the time range. */ -export interface RecommendationsListHistoryForWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsListHistoryForWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2697,32 +2643,30 @@ export interface RecommendationsListRecommendedRulesForWebApp200Response extends } /** Get all recommendations for an app. */ -export interface RecommendationsListRecommendedRulesForWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsListRecommendedRulesForWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Disable all recommendations for an app. */ export interface RecommendationsDisableAllForWebApp204Response extends HttpResponse { status: "204"; - body: Record; } /** Disable all recommendations for an app. */ -export interface RecommendationsDisableAllForWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsDisableAllForWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reset all recommendation opt-out settings for an app. */ export interface RecommendationsResetAllFiltersForWebApp204Response extends HttpResponse { status: "204"; - body: Record; } /** Reset all recommendation opt-out settings for an app. */ -export interface RecommendationsResetAllFiltersForWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsResetAllFiltersForWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2733,20 +2677,19 @@ export interface RecommendationsGetRuleDetailsByWebApp200Response extends HttpRe } /** Get a recommendation rule for an app. */ -export interface RecommendationsGetRuleDetailsByWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsGetRuleDetailsByWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Disables the specific rule for a web site permanently. */ export interface RecommendationsDisableRecommendationForSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Disables the specific rule for a web site permanently. */ -export interface RecommendationsDisableRecommendationForSitedefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsDisableRecommendationForSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2757,8 +2700,8 @@ export interface ResourceHealthMetadataList200Response extends HttpResponse { } /** List all ResourceHealthMetadata for all sites in the subscription. */ -export interface ResourceHealthMetadataListdefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2769,8 +2712,8 @@ export interface ResourceHealthMetadataListByResourceGroup200Response extends Ht } /** List all ResourceHealthMetadata for all sites in the resource group in the subscription. */ -export interface ResourceHealthMetadataListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2781,8 +2724,8 @@ export interface ResourceHealthMetadataListBySite200Response extends HttpRespons } /** Gets the category of ResourceHealthMetadata to use for the given site as a collection */ -export interface ResourceHealthMetadataListBySitedefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataListBySiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2793,8 +2736,8 @@ export interface ResourceHealthMetadataGetBySite200Response extends HttpResponse } /** Gets the category of ResourceHealthMetadata to use for the given site */ -export interface ResourceHealthMetadataGetBySitedefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataGetBySiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2805,8 +2748,8 @@ export interface ResourceHealthMetadataListBySiteSlot200Response extends HttpRes } /** Gets the category of ResourceHealthMetadata to use for the given site as a collection */ -export interface ResourceHealthMetadataListBySiteSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataListBySiteSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2817,8 +2760,8 @@ export interface ResourceHealthMetadataGetBySiteSlot200Response extends HttpResp } /** Gets the category of ResourceHealthMetadata to use for the given site */ -export interface ResourceHealthMetadataGetBySiteSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataGetBySiteSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2829,8 +2772,8 @@ export interface GetPublishingUser200Response extends HttpResponse { } /** Gets publishing user */ -export interface GetPublishingUserdefaultResponse extends HttpResponse { - status: "500"; +export interface GetPublishingUserDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2841,8 +2784,8 @@ export interface UpdatePublishingUser200Response extends HttpResponse { } /** Updates publishing user */ -export interface UpdatePublishingUserdefaultResponse extends HttpResponse { - status: "500"; +export interface UpdatePublishingUserDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2853,8 +2796,8 @@ export interface ListSourceControls200Response extends HttpResponse { } /** Gets the source controls available for Azure websites. */ -export interface ListSourceControlsdefaultResponse extends HttpResponse { - status: "500"; +export interface ListSourceControlsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2865,8 +2808,8 @@ export interface GetSourceControl200Response extends HttpResponse { } /** Gets source control token */ -export interface GetSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface GetSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2877,8 +2820,8 @@ export interface UpdateSourceControl200Response extends HttpResponse { } /** Updates source control token */ -export interface UpdateSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface UpdateSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2889,8 +2832,8 @@ export interface ListBillingMeters200Response extends HttpResponse { } /** Gets a list of meters for a given location. */ -export interface ListBillingMetersdefaultResponse extends HttpResponse { - status: "500"; +export interface ListBillingMetersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2901,8 +2844,8 @@ export interface CheckNameAvailability200Response extends HttpResponse { } /** Check if a resource name is available. */ -export interface CheckNameAvailabilitydefaultResponse extends HttpResponse { - status: "500"; +export interface CheckNameAvailabilityDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2913,8 +2856,8 @@ export interface ListCustomHostNameSites200Response extends HttpResponse { } /** Get custom hostnames under this subscription */ -export interface ListCustomHostNameSitesdefaultResponse extends HttpResponse { - status: "500"; +export interface ListCustomHostNameSitesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2925,8 +2868,8 @@ export interface GetSubscriptionDeploymentLocations200Response extends HttpRespo } /** Gets list of available geo regions plus ministamps */ -export interface GetSubscriptionDeploymentLocationsdefaultResponse extends HttpResponse { - status: "500"; +export interface GetSubscriptionDeploymentLocationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2937,8 +2880,8 @@ export interface ListGeoRegions200Response extends HttpResponse { } /** Get a list of available geographical regions. */ -export interface ListGeoRegionsdefaultResponse extends HttpResponse { - status: "500"; +export interface ListGeoRegionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2949,8 +2892,8 @@ export interface ListSiteIdentifiersAssignedToHostName200Response extends HttpRe } /** List all apps that are assigned to a hostname. */ -export interface ListSiteIdentifiersAssignedToHostNamedefaultResponse extends HttpResponse { - status: "500"; +export interface ListSiteIdentifiersAssignedToHostNameDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2961,8 +2904,8 @@ export interface ListPremierAddOnOffers200Response extends HttpResponse { } /** List all premier add-on offers. */ -export interface ListPremierAddOnOffersdefaultResponse extends HttpResponse { - status: "500"; +export interface ListPremierAddOnOffersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2973,8 +2916,8 @@ export interface ListSkus200Response extends HttpResponse { } /** List all SKUs. */ -export interface ListSkusdefaultResponse extends HttpResponse { - status: "500"; +export interface ListSkusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2985,20 +2928,19 @@ export interface VerifyHostingEnvironmentVnet200Response extends HttpResponse { } /** Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. */ -export interface VerifyHostingEnvironmentVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface VerifyHostingEnvironmentVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Move resources between resource groups. */ export interface Move204Response extends HttpResponse { status: "204"; - body: Record; } /** Move resources between resource groups. */ -export interface MovedefaultResponse extends HttpResponse { - status: "500"; +export interface MoveDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3009,20 +2951,19 @@ export interface Validate200Response extends HttpResponse { } /** Validate if a resource can be created. */ -export interface ValidatedefaultResponse extends HttpResponse { - status: "500"; +export interface ValidateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Validate whether a resource can be moved. */ export interface ValidateMove204Response extends HttpResponse { status: "204"; - body: Record; } /** Validate whether a resource can be moved. */ -export interface ValidateMovedefaultResponse extends HttpResponse { - status: "500"; +export interface ValidateMoveDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3033,8 +2974,8 @@ export interface StaticSitesPreviewWorkflow200Response extends HttpResponse { } /** Generates a preview workflow file for the static site */ -export interface StaticSitesPreviewWorkflowdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesPreviewWorkflowDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3045,8 +2986,8 @@ export interface StaticSitesList200Response extends HttpResponse { } /** Get all Static Sites for a subscription. */ -export interface StaticSitesListdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3057,8 +2998,8 @@ export interface StaticSitesGetStaticSitesByResourceGroup200Response extends Htt } /** Gets all static sites in the specified resource group. */ -export interface StaticSitesGetStaticSitesByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSitesByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3069,8 +3010,8 @@ export interface StaticSitesGetStaticSite200Response extends HttpResponse { } /** Gets the details of a static site. */ -export interface StaticSitesGetStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3087,26 +3028,24 @@ export interface StaticSitesCreateOrUpdateStaticSite202Response extends HttpResp } /** Creates a new static site in an existing resource group, or updates an existing static site. */ -export interface StaticSitesCreateOrUpdateStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesCreateOrUpdateStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a static site. */ export interface StaticSitesDeleteStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a static site. */ export interface StaticSitesDeleteStaticSite202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a static site. */ -export interface StaticSitesDeleteStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeleteStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3123,8 +3062,8 @@ export interface StaticSitesUpdateStaticSite202Response extends HttpResponse { } /** Creates a new static site in an existing resource group, or updates an existing static site. */ -export interface StaticSitesUpdateStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesUpdateStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3135,20 +3074,19 @@ export interface StaticSitesListStaticSiteUsers200Response extends HttpResponse } /** Gets the list of users of a static site. */ -export interface StaticSitesListStaticSiteUsersdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteUsersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the user entry from the static site. */ export interface StaticSitesDeleteStaticSiteUser200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the user entry from the static site. */ -export interface StaticSitesDeleteStaticSiteUserdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeleteStaticSiteUserDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3159,8 +3097,8 @@ export interface StaticSitesUpdateStaticSiteUser200Response extends HttpResponse } /** Updates a user entry with the listed roles */ -export interface StaticSitesUpdateStaticSiteUserdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesUpdateStaticSiteUserDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3171,8 +3109,8 @@ export interface StaticSitesGetStaticSiteBuilds200Response extends HttpResponse } /** Gets all static site builds for a particular static site. */ -export interface StaticSitesGetStaticSiteBuildsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSiteBuildsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3183,32 +3121,29 @@ export interface StaticSitesGetStaticSiteBuild200Response extends HttpResponse { } /** Gets the details of a static site build. */ -export interface StaticSitesGetStaticSiteBuilddefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSiteBuildDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a static site build. */ export interface StaticSitesDeleteStaticSiteBuild200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a static site build. */ export interface StaticSitesDeleteStaticSiteBuild202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a static site build. */ export interface StaticSitesDeleteStaticSiteBuild204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a static site build. */ -export interface StaticSitesDeleteStaticSiteBuilddefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeleteStaticSiteBuildDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3220,9 +3155,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response } /** Creates or updates the app settings of a static site build. */ -export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsdefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3234,9 +3169,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200R } /** Creates or updates the function app settings of a static site build. */ -export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsdefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3247,8 +3182,8 @@ export interface StaticSitesListStaticSiteBuildFunctions200Response extends Http } /** Gets the functions of a particular static site build. */ -export interface StaticSitesListStaticSiteBuildFunctionsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteBuildFunctionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3259,8 +3194,8 @@ export interface StaticSitesListStaticSiteBuildAppSettings200Response extends Ht } /** Gets the application settings of a static site build. */ -export interface StaticSitesListStaticSiteBuildAppSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteBuildAppSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3271,9 +3206,9 @@ export interface StaticSitesListStaticSiteBuildFunctionAppSettings200Response ex } /** Gets the application settings of a static site build. */ -export interface StaticSitesListStaticSiteBuildFunctionAppSettingsdefaultResponse +export interface StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3285,9 +3220,9 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Resp } /** Gets the details of the user provided function apps registered with a static site build */ -export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuilddefaultResponse +export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3299,9 +3234,9 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Respo } /** Gets the details of the user provided function app registered with a static site build */ -export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuilddefaultResponse +export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3320,9 +3255,9 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild20 } /** Register a user provided function app with a static site build */ -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuilddefaultResponse +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3330,39 +3265,35 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildde export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response extends HttpResponse { status: "200"; - body: Record; } /** Detach the user provided function app from the static site build */ export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response extends HttpResponse { status: "204"; - body: Record; } /** Detach the user provided function app from the static site build */ -export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuilddefaultResponse +export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deploys zipped content to a specific environment of a static site. */ export interface StaticSitesCreateZipDeploymentForStaticSiteBuild200Response extends HttpResponse { status: "200"; - body: Record; } /** Deploys zipped content to a specific environment of a static site. */ export interface StaticSitesCreateZipDeploymentForStaticSiteBuild202Response extends HttpResponse { status: "202"; - body: Record; } /** Deploys zipped content to a specific environment of a static site. */ -export interface StaticSitesCreateZipDeploymentForStaticSiteBuilddefaultResponse +export interface StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3373,9 +3304,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteAppSettings200Response exten } /** Creates or updates the app settings of a static site. */ -export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsdefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3387,9 +3318,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Respon } /** Creates or updates the function app settings of a static site. */ -export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsdefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3400,8 +3331,8 @@ export interface StaticSitesCreateUserRolesInvitationLink200Response extends Htt } /** Creates an invitation link for a user with the role */ -export interface StaticSitesCreateUserRolesInvitationLinkdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesCreateUserRolesInvitationLinkDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3412,8 +3343,8 @@ export interface StaticSitesListStaticSiteCustomDomains200Response extends HttpR } /** Gets all static site custom domains for a particular static site. */ -export interface StaticSitesListStaticSiteCustomDomainsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteCustomDomainsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3424,8 +3355,8 @@ export interface StaticSitesGetStaticSiteCustomDomain200Response extends HttpRes } /** Gets an existing custom domain for a particular static site. */ -export interface StaticSitesGetStaticSiteCustomDomaindefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSiteCustomDomainDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3442,27 +3373,25 @@ export interface StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response exte } /** Creates a new static site custom domain in an existing resource group and static site. */ -export interface StaticSitesCreateOrUpdateStaticSiteCustomDomaindefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a custom domain. */ export interface StaticSitesDeleteStaticSiteCustomDomain200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a custom domain. */ export interface StaticSitesDeleteStaticSiteCustomDomain202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a custom domain. */ -export interface StaticSitesDeleteStaticSiteCustomDomaindefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeleteStaticSiteCustomDomainDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3470,38 +3399,34 @@ export interface StaticSitesDeleteStaticSiteCustomDomaindefaultResponse extends export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Validates a particular custom domain can be added to a static site. */ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response extends HttpResponse { status: "202"; - body: Record; } /** Validates a particular custom domain can be added to a static site. */ -export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSitedefaultResponse +export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Detaches a static site. */ export interface StaticSitesDetachStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Detaches a static site. */ export interface StaticSitesDetachStaticSite202Response extends HttpResponse { status: "202"; - body: Record; } /** Detaches a static site. */ -export interface StaticSitesDetachStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDetachStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3512,8 +3437,8 @@ export interface StaticSitesListStaticSiteFunctions200Response extends HttpRespo } /** Gets the functions of a static site. */ -export interface StaticSitesListStaticSiteFunctionsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteFunctionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3524,8 +3449,8 @@ export interface StaticSitesListStaticSiteAppSettings200Response extends HttpRes } /** Gets the application settings of a static site. */ -export interface StaticSitesListStaticSiteAppSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteAppSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3536,8 +3461,8 @@ export interface StaticSitesListStaticSiteConfiguredRoles200Response extends Htt } /** Lists the roles configured for the static site. */ -export interface StaticSitesListStaticSiteConfiguredRolesdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteConfiguredRolesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3548,8 +3473,8 @@ export interface StaticSitesListStaticSiteFunctionAppSettings200Response extends } /** Gets the application settings of a static site. */ -export interface StaticSitesListStaticSiteFunctionAppSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3560,8 +3485,8 @@ export interface StaticSitesListStaticSiteSecrets200Response extends HttpRespons } /** Lists the secrets for an existing static site. */ -export interface StaticSitesListStaticSiteSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3572,8 +3497,8 @@ export interface StaticSitesGetPrivateEndpointConnectionList200Response extends } /** Gets the list of private endpoint connections associated with a static site */ -export interface StaticSitesGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3584,8 +3509,8 @@ export interface StaticSitesGetPrivateEndpointConnection200Response extends Http } /** Gets a private endpoint connection */ -export interface StaticSitesGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3604,9 +3529,9 @@ export interface StaticSitesApproveOrRejectPrivateEndpointConnection202Response } /** Approves or rejects a private endpoint connection */ -export interface StaticSitesApproveOrRejectPrivateEndpointConnectiondefaultResponse +export interface StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3629,8 +3554,8 @@ export interface StaticSitesDeletePrivateEndpointConnection204Response extends H } /** Deletes a private endpoint connection */ -export interface StaticSitesDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3641,20 +3566,19 @@ export interface StaticSitesGetPrivateLinkResources200Response extends HttpRespo } /** Gets the private link resources */ -export interface StaticSitesGetPrivateLinkResourcesdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetPrivateLinkResourcesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Resets the api key for an existing static site. */ export interface StaticSitesResetStaticSiteApiKey200Response extends HttpResponse { status: "200"; - body: Record; } /** Resets the api key for an existing static site. */ -export interface StaticSitesResetStaticSiteApiKeydefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesResetStaticSiteApiKeyDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3666,9 +3590,9 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response } /** Gets the details of the user provided function apps registered with a static site */ -export interface StaticSitesGetUserProvidedFunctionAppsForStaticSitedefaultResponse +export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3680,9 +3604,9 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSite200Response } /** Gets the details of the user provided function app registered with a static site */ -export interface StaticSitesGetUserProvidedFunctionAppForStaticSitedefaultResponse +export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3701,9 +3625,9 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Resp } /** Register a user provided function app with a static site */ -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefaultResponse +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3711,38 +3635,34 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefault export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Detach the user provided function app from the static site */ export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response extends HttpResponse { status: "204"; - body: Record; } /** Detach the user provided function app from the static site */ -export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSitedefaultResponse +export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deploys zipped content to a static site. */ export interface StaticSitesCreateZipDeploymentForStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Deploys zipped content to a static site. */ export interface StaticSitesCreateZipDeploymentForStaticSite202Response extends HttpResponse { status: "202"; - body: Record; } /** Deploys zipped content to a static site. */ -export interface StaticSitesCreateZipDeploymentForStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3753,8 +3673,8 @@ export interface WebAppsList200Response extends HttpResponse { } /** Get all apps for a subscription. */ -export interface WebAppsListdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3765,8 +3685,8 @@ export interface WebAppsListByResourceGroup200Response extends HttpResponse { } /** Gets all web, mobile, and API apps in the specified resource group. */ -export interface WebAppsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3779,12 +3699,11 @@ export interface WebAppsGet200Response extends HttpResponse { /** Gets the details of a web, mobile, or API app. */ export interface WebAppsGet404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets the details of a web, mobile, or API app. */ -export interface WebAppsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3801,32 +3720,29 @@ export interface WebAppsCreateOrUpdate202Response extends HttpResponse { } /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ -export interface WebAppsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDelete404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ -export interface WebAppsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3843,8 +3759,8 @@ export interface WebAppsUpdate202Response extends HttpResponse { } /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ -export interface WebAppsUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3855,20 +3771,19 @@ export interface WebAppsAnalyzeCustomHostname200Response extends HttpResponse { } /** Analyze a custom hostname. */ -export interface WebAppsAnalyzeCustomHostnamedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsAnalyzeCustomHostnameDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Applies the configuration settings from the target slot onto the current slot. */ export interface WebAppsApplySlotConfigToProduction200Response extends HttpResponse { status: "200"; - body: Record; } /** Applies the configuration settings from the target slot onto the current slot. */ -export interface WebAppsApplySlotConfigToProductiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsApplySlotConfigToProductionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3879,8 +3794,8 @@ export interface WebAppsBackup200Response extends HttpResponse { } /** Creates a backup of an app. */ -export interface WebAppsBackupdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsBackupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3891,8 +3806,8 @@ export interface WebAppsListBackups200Response extends HttpResponse { } /** Gets existing backups of an app. */ -export interface WebAppsListBackupsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBackupsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3903,26 +3818,24 @@ export interface WebAppsGetBackupStatus200Response extends HttpResponse { } /** Gets a backup of an app by its ID. */ -export interface WebAppsGetBackupStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetBackupStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a backup of an app by its ID. */ export interface WebAppsDeleteBackup200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a backup of an app by its ID. */ export interface WebAppsDeleteBackup404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a backup of an app by its ID. */ -export interface WebAppsDeleteBackupdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteBackupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3933,26 +3846,24 @@ export interface WebAppsListBackupStatusSecrets200Response extends HttpResponse } /** Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. */ -export interface WebAppsListBackupStatusSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBackupStatusSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a specific backup to another app (or deployment slot, if specified). */ export interface WebAppsRestore200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a specific backup to another app (or deployment slot, if specified). */ export interface WebAppsRestore202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a specific backup to another app (or deployment slot, if specified). */ -export interface WebAppsRestoredefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3963,8 +3874,8 @@ export interface WebAppsListBasicPublishingCredentialsPolicies200Response extend } /** Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. */ -export interface WebAppsListBasicPublishingCredentialsPoliciesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3975,8 +3886,8 @@ export interface WebAppsGetFtpAllowed200Response extends HttpResponse { } /** Returns whether FTP is allowed on the site or not. */ -export interface WebAppsGetFtpAlloweddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFtpAllowedDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3987,8 +3898,8 @@ export interface WebAppsUpdateFtpAllowed200Response extends HttpResponse { } /** Updates whether FTP is allowed on the site or not. */ -export interface WebAppsUpdateFtpAlloweddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateFtpAllowedDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3999,8 +3910,8 @@ export interface WebAppsGetScmAllowed200Response extends HttpResponse { } /** Returns whether Scm basic auth is allowed on the site or not. */ -export interface WebAppsGetScmAlloweddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetScmAllowedDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4011,8 +3922,8 @@ export interface WebAppsUpdateScmAllowed200Response extends HttpResponse { } /** Updates whether user publishing credentials are allowed on the site or not. */ -export interface WebAppsUpdateScmAlloweddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateScmAllowedDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4023,8 +3934,8 @@ export interface WebAppsListConfigurations200Response extends HttpResponse { } /** List the configurations of an app */ -export interface WebAppsListConfigurationsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConfigurationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4035,8 +3946,8 @@ export interface WebAppsUpdateApplicationSettings200Response extends HttpRespons } /** Replaces the application settings of an app. */ -export interface WebAppsUpdateApplicationSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateApplicationSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4047,8 +3958,8 @@ export interface WebAppsListApplicationSettings200Response extends HttpResponse } /** Gets the application settings of an app. */ -export interface WebAppsListApplicationSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListApplicationSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4059,8 +3970,8 @@ export interface WebAppsUpdateAuthSettings200Response extends HttpResponse { } /** Updates the Authentication / Authorization settings associated with web app. */ -export interface WebAppsUpdateAuthSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAuthSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4071,8 +3982,8 @@ export interface WebAppsGetAuthSettings200Response extends HttpResponse { } /** Gets the Authentication/Authorization settings of an app. */ -export interface WebAppsGetAuthSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4083,8 +3994,8 @@ export interface WebAppsGetAuthSettingsV2WithoutSecrets200Response extends HttpR } /** Gets site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsGetAuthSettingsV2WithoutSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4095,8 +4006,8 @@ export interface WebAppsUpdateAuthSettingsV2200Response extends HttpResponse { } /** Updates site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsUpdateAuthSettingsV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAuthSettingsV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4107,8 +4018,8 @@ export interface WebAppsGetAuthSettingsV2200Response extends HttpResponse { } /** Gets site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsGetAuthSettingsV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4119,8 +4030,8 @@ export interface WebAppsUpdateAzureStorageAccounts200Response extends HttpRespon } /** Updates the Azure storage account configurations of an app. */ -export interface WebAppsUpdateAzureStorageAccountsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAzureStorageAccountsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4131,8 +4042,8 @@ export interface WebAppsListAzureStorageAccounts200Response extends HttpResponse } /** Gets the Azure storage account configurations of an app. */ -export interface WebAppsListAzureStorageAccountsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListAzureStorageAccountsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4143,20 +4054,19 @@ export interface WebAppsUpdateBackupConfiguration200Response extends HttpRespons } /** Updates the backup configuration of an app. */ -export interface WebAppsUpdateBackupConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateBackupConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the backup configuration of an app. */ export interface WebAppsDeleteBackupConfiguration200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the backup configuration of an app. */ -export interface WebAppsDeleteBackupConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteBackupConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4167,8 +4077,8 @@ export interface WebAppsGetBackupConfiguration200Response extends HttpResponse { } /** Gets the backup configuration of an app. */ -export interface WebAppsGetBackupConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetBackupConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4179,8 +4089,8 @@ export interface WebAppsGetAppSettingsKeyVaultReferences200Response extends Http } /** Gets the config reference app settings and status of an app */ -export interface WebAppsGetAppSettingsKeyVaultReferencesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4191,8 +4101,8 @@ export interface WebAppsGetAppSettingKeyVaultReference200Response extends HttpRe } /** Gets the config reference and status of an app */ -export interface WebAppsGetAppSettingKeyVaultReferencedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAppSettingKeyVaultReferenceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4203,9 +4113,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferences200Response ext } /** Gets the config reference app settings and status of an app */ -export interface WebAppsGetSiteConnectionStringKeyVaultReferencesdefaultResponse +export interface WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -4216,9 +4126,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReference200Response exte } /** Gets the config reference and status of an app */ -export interface WebAppsGetSiteConnectionStringKeyVaultReferencedefaultResponse +export interface WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -4229,8 +4139,8 @@ export interface WebAppsUpdateConnectionStrings200Response extends HttpResponse } /** Replaces the connection strings of an app. */ -export interface WebAppsUpdateConnectionStringsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateConnectionStringsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4241,8 +4151,8 @@ export interface WebAppsListConnectionStrings200Response extends HttpResponse { } /** Gets the connection strings of an app. */ -export interface WebAppsListConnectionStringsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConnectionStringsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4253,8 +4163,8 @@ export interface WebAppsGetDiagnosticLogsConfiguration200Response extends HttpRe } /** Gets the logging configuration of an app. */ -export interface WebAppsGetDiagnosticLogsConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDiagnosticLogsConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4265,8 +4175,8 @@ export interface WebAppsUpdateDiagnosticLogsConfig200Response extends HttpRespon } /** Updates the logging configuration of an app. */ -export interface WebAppsUpdateDiagnosticLogsConfigdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDiagnosticLogsConfigDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4277,8 +4187,8 @@ export interface WebAppsUpdateMetadata200Response extends HttpResponse { } /** Replaces the metadata of an app. */ -export interface WebAppsUpdateMetadatadefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateMetadataDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4289,8 +4199,8 @@ export interface WebAppsListMetadata200Response extends HttpResponse { } /** Gets the metadata of an app. */ -export interface WebAppsListMetadatadefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListMetadataDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4301,8 +4211,8 @@ export interface WebAppsListPublishingCredentials200Response extends HttpRespons } /** Gets the Git/FTP publishing credentials of an app. */ -export interface WebAppsListPublishingCredentialsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublishingCredentialsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4313,8 +4223,8 @@ export interface WebAppsUpdateSitePushSettings200Response extends HttpResponse { } /** Updates the Push settings associated with web app. */ -export interface WebAppsUpdateSitePushSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSitePushSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4325,8 +4235,8 @@ export interface WebAppsListSitePushSettings200Response extends HttpResponse { } /** Gets the Push settings associated with web app. */ -export interface WebAppsListSitePushSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSitePushSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4337,8 +4247,8 @@ export interface WebAppsListSlotConfigurationNames200Response extends HttpRespon } /** Gets the names of app settings and connection strings that stick to the slot (not swapped). */ -export interface WebAppsListSlotConfigurationNamesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSlotConfigurationNamesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4349,8 +4259,8 @@ export interface WebAppsUpdateSlotConfigurationNames200Response extends HttpResp } /** Updates the names of application settings and connection string that remain with the slot during swap operation. */ -export interface WebAppsUpdateSlotConfigurationNamesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSlotConfigurationNamesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4361,8 +4271,8 @@ export interface WebAppsGetConfiguration200Response extends HttpResponse { } /** Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. */ -export interface WebAppsGetConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4373,8 +4283,8 @@ export interface WebAppsCreateOrUpdateConfiguration200Response extends HttpRespo } /** Updates the configuration of an app. */ -export interface WebAppsCreateOrUpdateConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4385,8 +4295,8 @@ export interface WebAppsUpdateConfiguration200Response extends HttpResponse { } /** Updates the configuration of an app. */ -export interface WebAppsUpdateConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4397,8 +4307,8 @@ export interface WebAppsListConfigurationSnapshotInfo200Response extends HttpRes } /** Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. */ -export interface WebAppsListConfigurationSnapshotInfodefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConfigurationSnapshotInfoDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4409,20 +4319,19 @@ export interface WebAppsGetConfigurationSnapshot200Response extends HttpResponse } /** Gets a snapshot of the configuration of an app at a previous point in time. */ -export interface WebAppsGetConfigurationSnapshotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetConfigurationSnapshotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reverts the configuration of an app to a previous snapshot. */ export interface WebAppsRecoverSiteConfigurationSnapshot204Response extends HttpResponse { status: "204"; - body: Record; } /** Reverts the configuration of an app to a previous snapshot. */ -export interface WebAppsRecoverSiteConfigurationSnapshotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRecoverSiteConfigurationSnapshotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4436,13 +4345,11 @@ export interface WebAppsGetWebSiteContainerLogs200Response extends HttpResponse /** Gets the last lines of docker logs for the given site */ export interface WebAppsGetWebSiteContainerLogs204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets the last lines of docker logs for the given site */ -export interface WebAppsGetWebSiteContainerLogsdefaultResponse extends HttpResponse { - status: "500"; - body: Record; +export interface WebAppsGetWebSiteContainerLogsDefaultResponse extends HttpResponse { + status: string; } /** Gets the ZIP archived docker log files for the given site */ @@ -4455,13 +4362,11 @@ export interface WebAppsGetContainerLogsZip200Response extends HttpResponse { /** Gets the ZIP archived docker log files for the given site */ export interface WebAppsGetContainerLogsZip204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets the ZIP archived docker log files for the given site */ -export interface WebAppsGetContainerLogsZipdefaultResponse extends HttpResponse { - status: "500"; - body: Record; +export interface WebAppsGetContainerLogsZipDefaultResponse extends HttpResponse { + status: string; } /** List continuous web jobs for an app, or a deployment slot. */ @@ -4471,8 +4376,8 @@ export interface WebAppsListContinuousWebJobs200Response extends HttpResponse { } /** List continuous web jobs for an app, or a deployment slot. */ -export interface WebAppsListContinuousWebJobsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListContinuousWebJobsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4485,66 +4390,59 @@ export interface WebAppsGetContinuousWebJob200Response extends HttpResponse { /** Gets a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsGetContinuousWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a continuous web job by its ID for an app, or a deployment slot. */ -export interface WebAppsGetContinuousWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetContinuousWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteContinuousWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteContinuousWebJob204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteContinuousWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteContinuousWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Start a continuous web job for an app, or a deployment slot. */ export interface WebAppsStartContinuousWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Start a continuous web job for an app, or a deployment slot. */ export interface WebAppsStartContinuousWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Start a continuous web job for an app, or a deployment slot. */ -export interface WebAppsStartContinuousWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartContinuousWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop a continuous web job for an app, or a deployment slot. */ export interface WebAppsStopContinuousWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop a continuous web job for an app, or a deployment slot. */ export interface WebAppsStopContinuousWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Stop a continuous web job for an app, or a deployment slot. */ -export interface WebAppsStopContinuousWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopContinuousWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4555,8 +4453,8 @@ export interface WebAppsListDeployments200Response extends HttpResponse { } /** List deployments for an app, or a deployment slot. */ -export interface WebAppsListDeploymentsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDeploymentsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4567,8 +4465,8 @@ export interface WebAppsGetDeployment200Response extends HttpResponse { } /** Get a deployment by its ID for an app, or a deployment slot. */ -export interface WebAppsGetDeploymentdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDeploymentDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4579,26 +4477,24 @@ export interface WebAppsCreateDeployment200Response extends HttpResponse { } /** Create a deployment for an app, or a deployment slot. */ -export interface WebAppsCreateDeploymentdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateDeploymentDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a deployment by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteDeployment200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a deployment by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteDeployment204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a deployment by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteDeploymentdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDeploymentDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4609,8 +4505,8 @@ export interface WebAppsListDeploymentLog200Response extends HttpResponse { } /** List deployment log for specific deployment for an app, or a deployment slot. */ -export interface WebAppsListDeploymentLogdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDeploymentLogDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4621,8 +4517,8 @@ export interface WebAppsDiscoverBackup200Response extends HttpResponse { } /** Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. */ -export interface WebAppsDiscoverBackupdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDiscoverBackupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4633,8 +4529,8 @@ export interface WebAppsListDomainOwnershipIdentifiers200Response extends HttpRe } /** Lists ownership identifiers for domain associated with web app. */ -export interface WebAppsListDomainOwnershipIdentifiersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDomainOwnershipIdentifiersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4645,8 +4541,8 @@ export interface WebAppsGetDomainOwnershipIdentifier200Response extends HttpResp } /** Get domain ownership identifier for web app. */ -export interface WebAppsGetDomainOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDomainOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4657,27 +4553,25 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response exten } /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ -export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierdefaultResponse +export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a domain ownership identifier for a web app. */ export interface WebAppsDeleteDomainOwnershipIdentifier200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a domain ownership identifier for a web app. */ export interface WebAppsDeleteDomainOwnershipIdentifier204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a domain ownership identifier for a web app. */ -export interface WebAppsDeleteDomainOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDomainOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4688,8 +4582,8 @@ export interface WebAppsUpdateDomainOwnershipIdentifier200Response extends HttpR } /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ -export interface WebAppsUpdateDomainOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDomainOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4700,8 +4594,8 @@ export interface WebAppsGetMSDeployStatus200Response extends HttpResponse { } /** Get the status of the last MSDeploy operation. */ -export interface WebAppsGetMSDeployStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMSDeployStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4714,12 +4608,11 @@ export interface WebAppsCreateMSDeployOperation201Response extends HttpResponse /** Invoke the MSDeploy web app extension. */ export interface WebAppsCreateMSDeployOperation409Response extends HttpResponse { status: "409"; - body: Record; } /** Invoke the MSDeploy web app extension. */ -export interface WebAppsCreateMSDeployOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateMSDeployOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4732,12 +4625,11 @@ export interface WebAppsGetMSDeployLog200Response extends HttpResponse { /** Get the MSDeploy Log for the last MSDeploy operation. */ export interface WebAppsGetMSDeployLog404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the MSDeploy Log for the last MSDeploy operation. */ -export interface WebAppsGetMSDeployLogdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMSDeployLogDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4748,8 +4640,8 @@ export interface WebAppsGetOneDeployStatus200Response extends HttpResponse { } /** Invoke onedeploy status API /api/deployments and gets the deployment status for the site */ -export interface WebAppsGetOneDeployStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetOneDeployStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4760,8 +4652,8 @@ export interface WebAppsCreateOneDeployOperation200Response extends HttpResponse } /** Invoke the OneDeploy publish web app extension. */ -export interface WebAppsCreateOneDeployOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOneDeployOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4774,12 +4666,11 @@ export interface WebAppsListFunctions200Response extends HttpResponse { /** List the functions for a web site, or a deployment slot. */ export interface WebAppsListFunctions404Response extends HttpResponse { status: "404"; - body: Record; } /** List the functions for a web site, or a deployment slot. */ -export interface WebAppsListFunctionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4790,8 +4681,8 @@ export interface WebAppsGetFunctionsAdminToken200Response extends HttpResponse { } /** Fetch a short lived token that can be exchanged for a master key. */ -export interface WebAppsGetFunctionsAdminTokendefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFunctionsAdminTokenDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4804,12 +4695,11 @@ export interface WebAppsGetFunction200Response extends HttpResponse { /** Get function information by its ID for web site, or a deployment slot. */ export interface WebAppsGetFunction404Response extends HttpResponse { status: "404"; - body: Record; } /** Get function information by its ID for web site, or a deployment slot. */ -export interface WebAppsGetFunctiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFunctionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4820,26 +4710,24 @@ export interface WebAppsCreateFunction201Response extends HttpResponse { } /** Create function for web site, or a deployment slot. */ -export interface WebAppsCreateFunctiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateFunctionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a function for web site, or a deployment slot. */ export interface WebAppsDeleteFunction204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a function for web site, or a deployment slot. */ export interface WebAppsDeleteFunction404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a function for web site, or a deployment slot. */ -export interface WebAppsDeleteFunctiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteFunctionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4856,26 +4744,24 @@ export interface WebAppsCreateOrUpdateFunctionSecret201Response extends HttpResp } /** Add or update a function secret. */ -export interface WebAppsCreateOrUpdateFunctionSecretdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateFunctionSecretDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a function secret. */ export interface WebAppsDeleteFunctionSecret204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a function secret. */ export interface WebAppsDeleteFunctionSecret404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a function secret. */ -export interface WebAppsDeleteFunctionSecretdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteFunctionSecretDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4886,8 +4772,8 @@ export interface WebAppsListFunctionKeys200Response extends HttpResponse { } /** Get function keys for a function in a web site, or a deployment slot. */ -export interface WebAppsListFunctionKeysdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionKeysDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4898,8 +4784,8 @@ export interface WebAppsListFunctionSecrets200Response extends HttpResponse { } /** Get function secrets for a function in a web site, or a deployment slot. */ -export interface WebAppsListFunctionSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4910,32 +4796,30 @@ export interface WebAppsListHostKeys200Response extends HttpResponse { } /** Get host secrets for a function app. */ -export interface WebAppsListHostKeysdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHostKeysDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** This is to allow calling via powershell and ARM template. */ export interface WebAppsListSyncStatus204Response extends HttpResponse { status: "204"; - body: Record; } /** This is to allow calling via powershell and ARM template. */ -export interface WebAppsListSyncStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSyncStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Syncs function trigger metadata to the management database */ export interface WebAppsSyncFunctions204Response extends HttpResponse { status: "204"; - body: Record; } /** Syncs function trigger metadata to the management database */ -export interface WebAppsSyncFunctionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncFunctionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4952,26 +4836,24 @@ export interface WebAppsCreateOrUpdateHostSecret201Response extends HttpResponse } /** Add or update a host level secret. */ -export interface WebAppsCreateOrUpdateHostSecretdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHostSecretDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a host level secret. */ export interface WebAppsDeleteHostSecret204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a host level secret. */ export interface WebAppsDeleteHostSecret404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a host level secret. */ -export interface WebAppsDeleteHostSecretdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHostSecretDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4982,8 +4864,8 @@ export interface WebAppsListHostNameBindings200Response extends HttpResponse { } /** Get hostname bindings for an app or a deployment slot. */ -export interface WebAppsListHostNameBindingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHostNameBindingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4994,8 +4876,8 @@ export interface WebAppsGetHostNameBinding200Response extends HttpResponse { } /** Get the named hostname binding for an app (or deployment slot, if specified). */ -export interface WebAppsGetHostNameBindingdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetHostNameBindingDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5006,26 +4888,24 @@ export interface WebAppsCreateOrUpdateHostNameBinding200Response extends HttpRes } /** Creates a hostname binding for an app. */ -export interface WebAppsCreateOrUpdateHostNameBindingdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHostNameBindingDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeleteHostNameBinding200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeleteHostNameBinding204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a hostname binding for an app. */ -export interface WebAppsDeleteHostNameBindingdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHostNameBindingDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5036,8 +4916,8 @@ export interface WebAppsGetHybridConnection200Response extends HttpResponse { } /** Retrieves a specific Service Bus Hybrid Connection used by this Web App. */ -export interface WebAppsGetHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5048,26 +4928,24 @@ export interface WebAppsCreateOrUpdateHybridConnection200Response extends HttpRe } /** Creates a new Hybrid Connection using a Service Bus relay. */ -export interface WebAppsCreateOrUpdateHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Removes a Hybrid Connection from this site. */ export interface WebAppsDeleteHybridConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Removes a Hybrid Connection from this site. */ export interface WebAppsDeleteHybridConnection404Response extends HttpResponse { status: "404"; - body: Record; } /** Removes a Hybrid Connection from this site. */ -export interface WebAppsDeleteHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5078,8 +4956,8 @@ export interface WebAppsUpdateHybridConnection200Response extends HttpResponse { } /** Creates a new Hybrid Connection using a Service Bus relay. */ -export interface WebAppsUpdateHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5090,8 +4968,8 @@ export interface WebAppsListHybridConnections200Response extends HttpResponse { } /** Retrieves all Service Bus Hybrid Connections used by this Web App. */ -export interface WebAppsListHybridConnectionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHybridConnectionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5102,8 +4980,8 @@ export interface WebAppsListRelayServiceConnections200Response extends HttpRespo } /** Gets hybrid connections configured for an app (or deployment slot, if specified). */ -export interface WebAppsListRelayServiceConnectionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListRelayServiceConnectionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5114,8 +4992,8 @@ export interface WebAppsGetRelayServiceConnection200Response extends HttpRespons } /** Gets a hybrid connection configuration by its name. */ -export interface WebAppsGetRelayServiceConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetRelayServiceConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5126,26 +5004,24 @@ export interface WebAppsCreateOrUpdateRelayServiceConnection200Response extends } /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ -export interface WebAppsCreateOrUpdateRelayServiceConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a relay service connection by its name. */ export interface WebAppsDeleteRelayServiceConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a relay service connection by its name. */ export interface WebAppsDeleteRelayServiceConnection404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a relay service connection by its name. */ -export interface WebAppsDeleteRelayServiceConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteRelayServiceConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5156,8 +5032,8 @@ export interface WebAppsUpdateRelayServiceConnection200Response extends HttpResp } /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ -export interface WebAppsUpdateRelayServiceConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateRelayServiceConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5168,8 +5044,8 @@ export interface WebAppsListInstanceIdentifiers200Response extends HttpResponse } /** Gets all scale-out instances of an app. */ -export interface WebAppsListInstanceIdentifiersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceIdentifiersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5180,8 +5056,8 @@ export interface WebAppsGetInstanceInfo200Response extends HttpResponse { } /** Gets all scale-out instances of an app. */ -export interface WebAppsGetInstanceInfodefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceInfoDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5192,8 +5068,8 @@ export interface WebAppsGetInstanceMsDeployStatus200Response extends HttpRespons } /** Get the status of the last MSDeploy operation. */ -export interface WebAppsGetInstanceMsDeployStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceMsDeployStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5206,12 +5082,11 @@ export interface WebAppsCreateInstanceMSDeployOperation201Response extends HttpR /** Invoke the MSDeploy web app extension. */ export interface WebAppsCreateInstanceMSDeployOperation409Response extends HttpResponse { status: "409"; - body: Record; } /** Invoke the MSDeploy web app extension. */ -export interface WebAppsCreateInstanceMSDeployOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateInstanceMSDeployOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5224,12 +5099,11 @@ export interface WebAppsGetInstanceMSDeployLog200Response extends HttpResponse { /** Get the MSDeploy Log for the last MSDeploy operation. */ export interface WebAppsGetInstanceMSDeployLog404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the MSDeploy Log for the last MSDeploy operation. */ -export interface WebAppsGetInstanceMSDeployLogdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceMSDeployLogDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5242,12 +5116,11 @@ export interface WebAppsListInstanceProcesses200Response extends HttpResponse { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcesses404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5260,30 +5133,27 @@ export interface WebAppsGetInstanceProcess200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcess404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteInstanceProcess204Response extends HttpResponse { status: "204"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteInstanceProcess404Response extends HttpResponse { status: "404"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ -export interface WebAppsDeleteInstanceProcessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteInstanceProcessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5297,12 +5167,11 @@ export interface WebAppsGetInstanceProcessDump200Response extends HttpResponse { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessDump404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessDumpdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessDumpDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5315,12 +5184,11 @@ export interface WebAppsListInstanceProcessModules200Response extends HttpRespon /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessModules404Response extends HttpResponse { status: "404"; - body: Record; } /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessModulesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessModulesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5333,12 +5201,11 @@ export interface WebAppsGetInstanceProcessModule200Response extends HttpResponse /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessModule404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessModuledefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessModuleDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5351,12 +5218,11 @@ export interface WebAppsListInstanceProcessThreads200Response extends HttpRespon /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessThreads404Response extends HttpResponse { status: "404"; - body: Record; } /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessThreadsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessThreadsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5367,8 +5233,8 @@ export interface WebAppsIsCloneable200Response extends HttpResponse { } /** Shows whether an app can be cloned to another resource group or subscription. */ -export interface WebAppsIsCloneabledefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsIsCloneableDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5379,8 +5245,8 @@ export interface WebAppsListSiteBackups200Response extends HttpResponse { } /** Gets existing backups of an app. */ -export interface WebAppsListSiteBackupsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSiteBackupsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5391,8 +5257,8 @@ export interface WebAppsListSyncFunctionTriggers200Response extends HttpResponse } /** This is to allow calling via powershell and ARM template. */ -export interface WebAppsListSyncFunctionTriggersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSyncFunctionTriggersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5403,8 +5269,8 @@ export interface WebAppsMigrateStorage200Response extends HttpResponse { } /** Restores a web app. */ -export interface WebAppsMigrateStoragedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsMigrateStorageDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5415,8 +5281,8 @@ export interface WebAppsMigrateMySql200Response extends HttpResponse { } /** Migrates a local (in-app) MySql database to a remote MySql database. */ -export interface WebAppsMigrateMySqldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsMigrateMySqlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5427,8 +5293,8 @@ export interface WebAppsGetMigrateMySqlStatus200Response extends HttpResponse { } /** Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled */ -export interface WebAppsGetMigrateMySqlStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMigrateMySqlStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5439,8 +5305,8 @@ export interface WebAppsGetSwiftVirtualNetworkConnection200Response extends Http } /** Gets a Swift Virtual Network connection. */ -export interface WebAppsGetSwiftVirtualNetworkConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5458,27 +5324,25 @@ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200R * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. */ -export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse +export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ export interface WebAppsDeleteSwiftVirtualNetwork200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ export interface WebAppsDeleteSwiftVirtualNetwork404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ -export interface WebAppsDeleteSwiftVirtualNetworkdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSwiftVirtualNetworkDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5496,9 +5360,9 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. */ -export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse +export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -5511,12 +5375,11 @@ export interface WebAppsListNetworkFeatures200Response extends HttpResponse { /** Gets all network features used by the app (or deployment slot, if specified). */ export interface WebAppsListNetworkFeatures404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets all network features used by the app (or deployment slot, if specified). */ -export interface WebAppsListNetworkFeaturesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListNetworkFeaturesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5533,8 +5396,8 @@ export interface WebAppsGetNetworkTraceOperation202Response extends HttpResponse } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTraceOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTraceOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5545,8 +5408,8 @@ export interface WebAppsStartWebSiteNetworkTrace200Response extends HttpResponse } /** Start capturing network packets for the site (To be deprecated). */ -export interface WebAppsStartWebSiteNetworkTracedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartWebSiteNetworkTraceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5563,26 +5426,24 @@ export interface WebAppsStartWebSiteNetworkTraceOperation202Response extends Htt } /** Start capturing network packets for the site. */ -export interface WebAppsStartWebSiteNetworkTraceOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartWebSiteNetworkTraceOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopWebSiteNetworkTrace200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopWebSiteNetworkTrace204Response extends HttpResponse { status: "204"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ -export interface WebAppsStopWebSiteNetworkTracedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopWebSiteNetworkTraceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5593,8 +5454,8 @@ export interface WebAppsGetNetworkTraces200Response extends HttpResponse { } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTracesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTracesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5611,8 +5472,8 @@ export interface WebAppsGetNetworkTraceOperationV2202Response extends HttpRespon } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTraceOperationV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTraceOperationV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5623,26 +5484,24 @@ export interface WebAppsGetNetworkTracesV2200Response extends HttpResponse { } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTracesV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTracesV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ export interface WebAppsGenerateNewSitePublishingPassword200Response extends HttpResponse { status: "200"; - body: Record; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ export interface WebAppsGenerateNewSitePublishingPassword204Response extends HttpResponse { status: "204"; - body: Record; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ -export interface WebAppsGenerateNewSitePublishingPassworddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGenerateNewSitePublishingPasswordDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5653,8 +5512,8 @@ export interface WebAppsListPerfMonCounters200Response extends HttpResponse { } /** Gets perfmon counters for web app. */ -export interface WebAppsListPerfMonCountersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPerfMonCountersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5665,8 +5524,8 @@ export interface WebAppsGetSitePhpErrorLogFlag200Response extends HttpResponse { } /** Gets web app's event logs. */ -export interface WebAppsGetSitePhpErrorLogFlagdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSitePhpErrorLogFlagDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5677,8 +5536,8 @@ export interface WebAppsListPremierAddOns200Response extends HttpResponse { } /** Gets the premier add-ons of an app. */ -export interface WebAppsListPremierAddOnsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPremierAddOnsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5689,8 +5548,8 @@ export interface WebAppsGetPremierAddOn200Response extends HttpResponse { } /** Gets a named add-on of an app. */ -export interface WebAppsGetPremierAddOndefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPremierAddOnDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5701,20 +5560,19 @@ export interface WebAppsAddPremierAddOn200Response extends HttpResponse { } /** Updates a named add-on of an app. */ -export interface WebAppsAddPremierAddOndefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsAddPremierAddOnDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a premier add-on from an app. */ export interface WebAppsDeletePremierAddOn200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a premier add-on from an app. */ -export interface WebAppsDeletePremierAddOndefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePremierAddOnDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5725,8 +5583,8 @@ export interface WebAppsUpdatePremierAddOn200Response extends HttpResponse { } /** Updates a named add-on of an app. */ -export interface WebAppsUpdatePremierAddOndefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdatePremierAddOnDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5737,8 +5595,8 @@ export interface WebAppsGetPrivateAccess200Response extends HttpResponse { } /** Gets data around private site access enablement and authorized Virtual Networks that can access the site. */ -export interface WebAppsGetPrivateAccessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateAccessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5749,8 +5607,8 @@ export interface WebAppsPutPrivateAccessVnet200Response extends HttpResponse { } /** Sets data around private site access enablement and authorized Virtual Networks that can access the site. */ -export interface WebAppsPutPrivateAccessVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsPutPrivateAccessVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5761,8 +5619,8 @@ export interface WebAppsGetPrivateEndpointConnectionList200Response extends Http } /** Gets the list of private endpoint connections associated with a site */ -export interface WebAppsGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5773,8 +5631,8 @@ export interface WebAppsGetPrivateEndpointConnection200Response extends HttpResp } /** Gets a private endpoint connection */ -export interface WebAppsGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5791,9 +5649,9 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnection202Response exte } /** Approves or rejects a private endpoint connection */ -export interface WebAppsApproveOrRejectPrivateEndpointConnectiondefaultResponse +export interface WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -5816,8 +5674,8 @@ export interface WebAppsDeletePrivateEndpointConnection204Response extends HttpR } /** Deletes a private endpoint connection */ -export interface WebAppsDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5828,8 +5686,8 @@ export interface WebAppsGetPrivateLinkResources200Response extends HttpResponse } /** Gets the private link resources */ -export interface WebAppsGetPrivateLinkResourcesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateLinkResourcesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5842,12 +5700,11 @@ export interface WebAppsListProcesses200Response extends HttpResponse { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ export interface WebAppsListProcesses404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5860,30 +5717,27 @@ export interface WebAppsGetProcess200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcess404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteProcess204Response extends HttpResponse { status: "204"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteProcess404Response extends HttpResponse { status: "404"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ -export interface WebAppsDeleteProcessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteProcessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5897,12 +5751,11 @@ export interface WebAppsGetProcessDump200Response extends HttpResponse { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessDump404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessDumpdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessDumpDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5915,12 +5768,11 @@ export interface WebAppsListProcessModules200Response extends HttpResponse { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessModules404Response extends HttpResponse { status: "404"; - body: Record; } /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessModulesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessModulesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5933,12 +5785,11 @@ export interface WebAppsGetProcessModule200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessModule404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessModuledefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessModuleDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5951,12 +5802,11 @@ export interface WebAppsListProcessThreads200Response extends HttpResponse { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessThreads404Response extends HttpResponse { status: "404"; - body: Record; } /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessThreadsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessThreadsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5967,8 +5817,8 @@ export interface WebAppsListPublicCertificates200Response extends HttpResponse { } /** Get public certificates for an app or a deployment slot. */ -export interface WebAppsListPublicCertificatesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublicCertificatesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5979,8 +5829,8 @@ export interface WebAppsGetPublicCertificate200Response extends HttpResponse { } /** Get the named public certificate for an app (or deployment slot, if specified). */ -export interface WebAppsGetPublicCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPublicCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5991,26 +5841,24 @@ export interface WebAppsCreateOrUpdatePublicCertificate200Response extends HttpR } /** Creates a hostname binding for an app. */ -export interface WebAppsCreateOrUpdatePublicCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdatePublicCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeletePublicCertificate200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeletePublicCertificate204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a hostname binding for an app. */ -export interface WebAppsDeletePublicCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePublicCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6022,86 +5870,78 @@ export interface WebAppsListPublishingProfileXmlWithSecrets200Response extends H } /** Gets the publishing profile for an app (or deployment slot, if specified). */ -export interface WebAppsListPublishingProfileXmlWithSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublishingProfileXmlWithSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ export interface WebAppsResetProductionSlotConfig200Response extends HttpResponse { status: "200"; - body: Record; } /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ -export interface WebAppsResetProductionSlotConfigdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsResetProductionSlotConfigDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restarts an app (or deployment slot, if specified). */ export interface WebAppsRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts an app (or deployment slot, if specified). */ -export interface WebAppsRestartdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestartDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores an app from a backup blob in Azure Storage. */ export interface WebAppsRestoreFromBackupBlob200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores an app from a backup blob in Azure Storage. */ export interface WebAppsRestoreFromBackupBlob202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores an app from a backup blob in Azure Storage. */ -export interface WebAppsRestoreFromBackupBlobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreFromBackupBlobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a deleted web app to this web app. */ export interface WebAppsRestoreFromDeletedApp200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a deleted web app to this web app. */ export interface WebAppsRestoreFromDeletedApp202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a deleted web app to this web app. */ -export interface WebAppsRestoreFromDeletedAppdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreFromDeletedAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a web app from a snapshot. */ export interface WebAppsRestoreSnapshot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a web app from a snapshot. */ export interface WebAppsRestoreSnapshot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a web app from a snapshot. */ -export interface WebAppsRestoreSnapshotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreSnapshotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6114,12 +5954,11 @@ export interface WebAppsListSiteExtensions200Response extends HttpResponse { /** Get list of siteextensions for a web site, or a deployment slot. */ export interface WebAppsListSiteExtensions404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of siteextensions for a web site, or a deployment slot. */ -export interface WebAppsListSiteExtensionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSiteExtensionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6132,12 +5971,11 @@ export interface WebAppsGetSiteExtension200Response extends HttpResponse { /** Get site extension information by its ID for a web site, or a deployment slot. */ export interface WebAppsGetSiteExtension404Response extends HttpResponse { status: "404"; - body: Record; } /** Get site extension information by its ID for a web site, or a deployment slot. */ -export interface WebAppsGetSiteExtensiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSiteExtensionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6156,30 +5994,27 @@ export interface WebAppsInstallSiteExtension201Response extends HttpResponse { /** Install site extension on a web site, or a deployment slot. */ export interface WebAppsInstallSiteExtension429Response extends HttpResponse { status: "429"; - body: Record; } /** Install site extension on a web site, or a deployment slot. */ -export interface WebAppsInstallSiteExtensiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsInstallSiteExtensionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Remove a site extension from a web site, or a deployment slot. */ export interface WebAppsDeleteSiteExtension204Response extends HttpResponse { status: "204"; - body: Record; } /** Remove a site extension from a web site, or a deployment slot. */ export interface WebAppsDeleteSiteExtension404Response extends HttpResponse { status: "404"; - body: Record; } /** Remove a site extension from a web site, or a deployment slot. */ -export interface WebAppsDeleteSiteExtensiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSiteExtensionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6190,8 +6025,8 @@ export interface WebAppsListSlots200Response extends HttpResponse { } /** Gets an app's deployment slots. */ -export interface WebAppsListSlotsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSlotsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6204,12 +6039,11 @@ export interface WebAppsGetSlot200Response extends HttpResponse { /** Gets the details of a web, mobile, or API app. */ export interface WebAppsGetSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets the details of a web, mobile, or API app. */ -export interface WebAppsGetSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6226,32 +6060,29 @@ export interface WebAppsCreateOrUpdateSlot202Response extends HttpResponse { } /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ -export interface WebAppsCreateOrUpdateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDeleteSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDeleteSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDeleteSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ -export interface WebAppsDeleteSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6268,8 +6099,8 @@ export interface WebAppsUpdateSlot202Response extends HttpResponse { } /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ -export interface WebAppsUpdateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6280,20 +6111,19 @@ export interface WebAppsAnalyzeCustomHostnameSlot200Response extends HttpRespons } /** Analyze a custom hostname. */ -export interface WebAppsAnalyzeCustomHostnameSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsAnalyzeCustomHostnameSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Applies the configuration settings from the target slot onto the current slot. */ export interface WebAppsApplySlotConfigurationSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Applies the configuration settings from the target slot onto the current slot. */ -export interface WebAppsApplySlotConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsApplySlotConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6304,8 +6134,8 @@ export interface WebAppsBackupSlot200Response extends HttpResponse { } /** Creates a backup of an app. */ -export interface WebAppsBackupSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsBackupSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6316,8 +6146,8 @@ export interface WebAppsListBackupsSlot200Response extends HttpResponse { } /** Gets existing backups of an app. */ -export interface WebAppsListBackupsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBackupsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6328,26 +6158,24 @@ export interface WebAppsGetBackupStatusSlot200Response extends HttpResponse { } /** Gets a backup of an app by its ID. */ -export interface WebAppsGetBackupStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetBackupStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a backup of an app by its ID. */ export interface WebAppsDeleteBackupSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a backup of an app by its ID. */ export interface WebAppsDeleteBackupSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a backup of an app by its ID. */ -export interface WebAppsDeleteBackupSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteBackupSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6358,26 +6186,24 @@ export interface WebAppsListBackupStatusSecretsSlot200Response extends HttpRespo } /** Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. */ -export interface WebAppsListBackupStatusSecretsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBackupStatusSecretsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a specific backup to another app (or deployment slot, if specified). */ export interface WebAppsRestoreSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a specific backup to another app (or deployment slot, if specified). */ export interface WebAppsRestoreSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a specific backup to another app (or deployment slot, if specified). */ -export interface WebAppsRestoreSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6388,9 +6214,9 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesSlot200Response ex } /** Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. */ -export interface WebAppsListBasicPublishingCredentialsPoliciesSlotdefaultResponse +export interface WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -6401,8 +6227,8 @@ export interface WebAppsGetFtpAllowedSlot200Response extends HttpResponse { } /** Returns whether FTP is allowed on the site or not. */ -export interface WebAppsGetFtpAllowedSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFtpAllowedSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6413,8 +6239,8 @@ export interface WebAppsUpdateFtpAllowedSlot200Response extends HttpResponse { } /** Updates whether FTP is allowed on the site or not. */ -export interface WebAppsUpdateFtpAllowedSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateFtpAllowedSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6425,8 +6251,8 @@ export interface WebAppsGetScmAllowedSlot200Response extends HttpResponse { } /** Returns whether Scm basic auth is allowed on the site or not. */ -export interface WebAppsGetScmAllowedSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetScmAllowedSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6437,8 +6263,8 @@ export interface WebAppsUpdateScmAllowedSlot200Response extends HttpResponse { } /** Updates whether user publishing credentials are allowed on the site or not. */ -export interface WebAppsUpdateScmAllowedSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateScmAllowedSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6449,8 +6275,8 @@ export interface WebAppsListConfigurationsSlot200Response extends HttpResponse { } /** List the configurations of an app */ -export interface WebAppsListConfigurationsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConfigurationsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6461,8 +6287,8 @@ export interface WebAppsUpdateApplicationSettingsSlot200Response extends HttpRes } /** Replaces the application settings of an app. */ -export interface WebAppsUpdateApplicationSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateApplicationSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6473,8 +6299,8 @@ export interface WebAppsListApplicationSettingsSlot200Response extends HttpRespo } /** Gets the application settings of an app. */ -export interface WebAppsListApplicationSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListApplicationSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6485,8 +6311,8 @@ export interface WebAppsUpdateAuthSettingsSlot200Response extends HttpResponse { } /** Updates the Authentication / Authorization settings associated with web app. */ -export interface WebAppsUpdateAuthSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAuthSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6497,8 +6323,8 @@ export interface WebAppsGetAuthSettingsSlot200Response extends HttpResponse { } /** Gets the Authentication/Authorization settings of an app. */ -export interface WebAppsGetAuthSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6509,8 +6335,8 @@ export interface WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response extends H } /** Gets site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6521,8 +6347,8 @@ export interface WebAppsUpdateAuthSettingsV2Slot200Response extends HttpResponse } /** Updates site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsUpdateAuthSettingsV2SlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAuthSettingsV2SlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6533,8 +6359,8 @@ export interface WebAppsGetAuthSettingsV2Slot200Response extends HttpResponse { } /** Gets site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsGetAuthSettingsV2SlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsV2SlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6545,8 +6371,8 @@ export interface WebAppsUpdateAzureStorageAccountsSlot200Response extends HttpRe } /** Updates the Azure storage account configurations of an app. */ -export interface WebAppsUpdateAzureStorageAccountsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAzureStorageAccountsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6557,8 +6383,8 @@ export interface WebAppsListAzureStorageAccountsSlot200Response extends HttpResp } /** Gets the Azure storage account configurations of an app. */ -export interface WebAppsListAzureStorageAccountsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListAzureStorageAccountsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6569,20 +6395,19 @@ export interface WebAppsUpdateBackupConfigurationSlot200Response extends HttpRes } /** Updates the backup configuration of an app. */ -export interface WebAppsUpdateBackupConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateBackupConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the backup configuration of an app. */ export interface WebAppsDeleteBackupConfigurationSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the backup configuration of an app. */ -export interface WebAppsDeleteBackupConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteBackupConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6593,8 +6418,8 @@ export interface WebAppsGetBackupConfigurationSlot200Response extends HttpRespon } /** Gets the backup configuration of an app. */ -export interface WebAppsGetBackupConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetBackupConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6605,8 +6430,8 @@ export interface WebAppsGetAppSettingsKeyVaultReferencesSlot200Response extends } /** Gets the config reference app settings and status of an app */ -export interface WebAppsGetAppSettingsKeyVaultReferencesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6617,8 +6442,8 @@ export interface WebAppsGetAppSettingKeyVaultReferenceSlot200Response extends Ht } /** Gets the config reference and status of an app */ -export interface WebAppsGetAppSettingKeyVaultReferenceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6630,9 +6455,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response } /** Gets the config reference app settings and status of an app */ -export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotdefaultResponse +export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -6644,9 +6469,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response } /** Gets the config reference and status of an app */ -export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotdefaultResponse +export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -6657,8 +6482,8 @@ export interface WebAppsUpdateConnectionStringsSlot200Response extends HttpRespo } /** Replaces the connection strings of an app. */ -export interface WebAppsUpdateConnectionStringsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateConnectionStringsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6669,8 +6494,8 @@ export interface WebAppsListConnectionStringsSlot200Response extends HttpRespons } /** Gets the connection strings of an app. */ -export interface WebAppsListConnectionStringsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConnectionStringsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6681,8 +6506,8 @@ export interface WebAppsGetDiagnosticLogsConfigurationSlot200Response extends Ht } /** Gets the logging configuration of an app. */ -export interface WebAppsGetDiagnosticLogsConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6693,8 +6518,8 @@ export interface WebAppsUpdateDiagnosticLogsConfigSlot200Response extends HttpRe } /** Updates the logging configuration of an app. */ -export interface WebAppsUpdateDiagnosticLogsConfigSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6705,8 +6530,8 @@ export interface WebAppsUpdateMetadataSlot200Response extends HttpResponse { } /** Replaces the metadata of an app. */ -export interface WebAppsUpdateMetadataSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateMetadataSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6717,8 +6542,8 @@ export interface WebAppsListMetadataSlot200Response extends HttpResponse { } /** Gets the metadata of an app. */ -export interface WebAppsListMetadataSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListMetadataSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6729,8 +6554,8 @@ export interface WebAppsListPublishingCredentialsSlot200Response extends HttpRes } /** Gets the Git/FTP publishing credentials of an app. */ -export interface WebAppsListPublishingCredentialsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublishingCredentialsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6741,8 +6566,8 @@ export interface WebAppsUpdateSitePushSettingsSlot200Response extends HttpRespon } /** Updates the Push settings associated with web app. */ -export interface WebAppsUpdateSitePushSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSitePushSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6753,8 +6578,8 @@ export interface WebAppsListSitePushSettingsSlot200Response extends HttpResponse } /** Gets the Push settings associated with web app. */ -export interface WebAppsListSitePushSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSitePushSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6765,8 +6590,8 @@ export interface WebAppsGetConfigurationSlot200Response extends HttpResponse { } /** Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. */ -export interface WebAppsGetConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6777,8 +6602,8 @@ export interface WebAppsCreateOrUpdateConfigurationSlot200Response extends HttpR } /** Updates the configuration of an app. */ -export interface WebAppsCreateOrUpdateConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6789,8 +6614,8 @@ export interface WebAppsUpdateConfigurationSlot200Response extends HttpResponse } /** Updates the configuration of an app. */ -export interface WebAppsUpdateConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6801,8 +6626,8 @@ export interface WebAppsListConfigurationSnapshotInfoSlot200Response extends Htt } /** Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. */ -export interface WebAppsListConfigurationSnapshotInfoSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConfigurationSnapshotInfoSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6813,20 +6638,19 @@ export interface WebAppsGetConfigurationSnapshotSlot200Response extends HttpResp } /** Gets a snapshot of the configuration of an app at a previous point in time. */ -export interface WebAppsGetConfigurationSnapshotSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetConfigurationSnapshotSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reverts the configuration of an app to a previous snapshot. */ export interface WebAppsRecoverSiteConfigurationSnapshotSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Reverts the configuration of an app to a previous snapshot. */ -export interface WebAppsRecoverSiteConfigurationSnapshotSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6840,13 +6664,11 @@ export interface WebAppsGetWebSiteContainerLogsSlot200Response extends HttpRespo /** Gets the last lines of docker logs for the given site */ export interface WebAppsGetWebSiteContainerLogsSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets the last lines of docker logs for the given site */ -export interface WebAppsGetWebSiteContainerLogsSlotdefaultResponse extends HttpResponse { - status: "500"; - body: Record; +export interface WebAppsGetWebSiteContainerLogsSlotDefaultResponse extends HttpResponse { + status: string; } /** Gets the ZIP archived docker log files for the given site */ @@ -6859,13 +6681,11 @@ export interface WebAppsGetContainerLogsZipSlot200Response extends HttpResponse /** Gets the ZIP archived docker log files for the given site */ export interface WebAppsGetContainerLogsZipSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets the ZIP archived docker log files for the given site */ -export interface WebAppsGetContainerLogsZipSlotdefaultResponse extends HttpResponse { - status: "500"; - body: Record; +export interface WebAppsGetContainerLogsZipSlotDefaultResponse extends HttpResponse { + status: string; } /** List continuous web jobs for an app, or a deployment slot. */ @@ -6875,8 +6695,8 @@ export interface WebAppsListContinuousWebJobsSlot200Response extends HttpRespons } /** List continuous web jobs for an app, or a deployment slot. */ -export interface WebAppsListContinuousWebJobsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListContinuousWebJobsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6889,66 +6709,59 @@ export interface WebAppsGetContinuousWebJobSlot200Response extends HttpResponse /** Gets a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsGetContinuousWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a continuous web job by its ID for an app, or a deployment slot. */ -export interface WebAppsGetContinuousWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetContinuousWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteContinuousWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteContinuousWebJobSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteContinuousWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteContinuousWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Start a continuous web job for an app, or a deployment slot. */ export interface WebAppsStartContinuousWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Start a continuous web job for an app, or a deployment slot. */ export interface WebAppsStartContinuousWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Start a continuous web job for an app, or a deployment slot. */ -export interface WebAppsStartContinuousWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartContinuousWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop a continuous web job for an app, or a deployment slot. */ export interface WebAppsStopContinuousWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop a continuous web job for an app, or a deployment slot. */ export interface WebAppsStopContinuousWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Stop a continuous web job for an app, or a deployment slot. */ -export interface WebAppsStopContinuousWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopContinuousWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6959,8 +6772,8 @@ export interface WebAppsListDeploymentsSlot200Response extends HttpResponse { } /** List deployments for an app, or a deployment slot. */ -export interface WebAppsListDeploymentsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDeploymentsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6971,8 +6784,8 @@ export interface WebAppsGetDeploymentSlot200Response extends HttpResponse { } /** Get a deployment by its ID for an app, or a deployment slot. */ -export interface WebAppsGetDeploymentSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDeploymentSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6983,26 +6796,24 @@ export interface WebAppsCreateDeploymentSlot200Response extends HttpResponse { } /** Create a deployment for an app, or a deployment slot. */ -export interface WebAppsCreateDeploymentSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateDeploymentSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a deployment by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteDeploymentSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a deployment by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteDeploymentSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a deployment by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteDeploymentSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDeploymentSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7013,8 +6824,8 @@ export interface WebAppsListDeploymentLogSlot200Response extends HttpResponse { } /** List deployment log for specific deployment for an app, or a deployment slot. */ -export interface WebAppsListDeploymentLogSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDeploymentLogSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7025,8 +6836,8 @@ export interface WebAppsDiscoverBackupSlot200Response extends HttpResponse { } /** Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. */ -export interface WebAppsDiscoverBackupSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDiscoverBackupSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7037,8 +6848,8 @@ export interface WebAppsListDomainOwnershipIdentifiersSlot200Response extends Ht } /** Lists ownership identifiers for domain associated with web app. */ -export interface WebAppsListDomainOwnershipIdentifiersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7049,8 +6860,8 @@ export interface WebAppsGetDomainOwnershipIdentifierSlot200Response extends Http } /** Get domain ownership identifier for web app. */ -export interface WebAppsGetDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7062,27 +6873,25 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response } /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ -export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotdefaultResponse +export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a domain ownership identifier for a web app. */ export interface WebAppsDeleteDomainOwnershipIdentifierSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a domain ownership identifier for a web app. */ export interface WebAppsDeleteDomainOwnershipIdentifierSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a domain ownership identifier for a web app. */ -export interface WebAppsDeleteDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7093,8 +6902,8 @@ export interface WebAppsUpdateDomainOwnershipIdentifierSlot200Response extends H } /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ -export interface WebAppsUpdateDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7105,8 +6914,8 @@ export interface WebAppsGetMSDeployStatusSlot200Response extends HttpResponse { } /** Get the status of the last MSDeploy operation. */ -export interface WebAppsGetMSDeployStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMSDeployStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7119,12 +6928,11 @@ export interface WebAppsCreateMSDeployOperationSlot201Response extends HttpRespo /** Invoke the MSDeploy web app extension. */ export interface WebAppsCreateMSDeployOperationSlot409Response extends HttpResponse { status: "409"; - body: Record; } /** Invoke the MSDeploy web app extension. */ -export interface WebAppsCreateMSDeployOperationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateMSDeployOperationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7137,12 +6945,11 @@ export interface WebAppsGetMSDeployLogSlot200Response extends HttpResponse { /** Get the MSDeploy Log for the last MSDeploy operation. */ export interface WebAppsGetMSDeployLogSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the MSDeploy Log for the last MSDeploy operation. */ -export interface WebAppsGetMSDeployLogSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMSDeployLogSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7155,12 +6962,11 @@ export interface WebAppsListInstanceFunctionsSlot200Response extends HttpRespons /** List the functions for a web site, or a deployment slot. */ export interface WebAppsListInstanceFunctionsSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List the functions for a web site, or a deployment slot. */ -export interface WebAppsListInstanceFunctionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceFunctionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7171,8 +6977,8 @@ export interface WebAppsGetFunctionsAdminTokenSlot200Response extends HttpRespon } /** Fetch a short lived token that can be exchanged for a master key. */ -export interface WebAppsGetFunctionsAdminTokenSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFunctionsAdminTokenSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7185,12 +6991,11 @@ export interface WebAppsGetInstanceFunctionSlot200Response extends HttpResponse /** Get function information by its ID for web site, or a deployment slot. */ export interface WebAppsGetInstanceFunctionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get function information by its ID for web site, or a deployment slot. */ -export interface WebAppsGetInstanceFunctionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceFunctionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7201,26 +7006,24 @@ export interface WebAppsCreateInstanceFunctionSlot201Response extends HttpRespon } /** Create function for web site, or a deployment slot. */ -export interface WebAppsCreateInstanceFunctionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateInstanceFunctionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a function for web site, or a deployment slot. */ export interface WebAppsDeleteInstanceFunctionSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a function for web site, or a deployment slot. */ export interface WebAppsDeleteInstanceFunctionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a function for web site, or a deployment slot. */ -export interface WebAppsDeleteInstanceFunctionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteInstanceFunctionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7237,26 +7040,24 @@ export interface WebAppsCreateOrUpdateFunctionSecretSlot201Response extends Http } /** Add or update a function secret. */ -export interface WebAppsCreateOrUpdateFunctionSecretSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a function secret. */ export interface WebAppsDeleteFunctionSecretSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a function secret. */ export interface WebAppsDeleteFunctionSecretSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a function secret. */ -export interface WebAppsDeleteFunctionSecretSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteFunctionSecretSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7267,8 +7068,8 @@ export interface WebAppsListFunctionKeysSlot200Response extends HttpResponse { } /** Get function keys for a function in a web site, or a deployment slot. */ -export interface WebAppsListFunctionKeysSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionKeysSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7279,8 +7080,8 @@ export interface WebAppsListFunctionSecretsSlot200Response extends HttpResponse } /** Get function secrets for a function in a web site, or a deployment slot. */ -export interface WebAppsListFunctionSecretsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionSecretsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7291,32 +7092,30 @@ export interface WebAppsListHostKeysSlot200Response extends HttpResponse { } /** Get host secrets for a function app. */ -export interface WebAppsListHostKeysSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHostKeysSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** This is to allow calling via powershell and ARM template. */ export interface WebAppsListSyncStatusSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** This is to allow calling via powershell and ARM template. */ -export interface WebAppsListSyncStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSyncStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Syncs function trigger metadata to the management database */ export interface WebAppsSyncFunctionsSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Syncs function trigger metadata to the management database */ -export interface WebAppsSyncFunctionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncFunctionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7333,26 +7132,24 @@ export interface WebAppsCreateOrUpdateHostSecretSlot201Response extends HttpResp } /** Add or update a host level secret. */ -export interface WebAppsCreateOrUpdateHostSecretSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHostSecretSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a host level secret. */ export interface WebAppsDeleteHostSecretSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a host level secret. */ export interface WebAppsDeleteHostSecretSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a host level secret. */ -export interface WebAppsDeleteHostSecretSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHostSecretSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7363,8 +7160,8 @@ export interface WebAppsListHostNameBindingsSlot200Response extends HttpResponse } /** Get hostname bindings for an app or a deployment slot. */ -export interface WebAppsListHostNameBindingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHostNameBindingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7375,8 +7172,8 @@ export interface WebAppsGetHostNameBindingSlot200Response extends HttpResponse { } /** Get the named hostname binding for an app (or deployment slot, if specified). */ -export interface WebAppsGetHostNameBindingSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetHostNameBindingSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7387,26 +7184,24 @@ export interface WebAppsCreateOrUpdateHostNameBindingSlot200Response extends Htt } /** Creates a hostname binding for an app. */ -export interface WebAppsCreateOrUpdateHostNameBindingSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeleteHostNameBindingSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeleteHostNameBindingSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a hostname binding for an app. */ -export interface WebAppsDeleteHostNameBindingSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHostNameBindingSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7417,8 +7212,8 @@ export interface WebAppsGetHybridConnectionSlot200Response extends HttpResponse } /** Retrieves a specific Service Bus Hybrid Connection used by this Web App. */ -export interface WebAppsGetHybridConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetHybridConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7429,26 +7224,24 @@ export interface WebAppsCreateOrUpdateHybridConnectionSlot200Response extends Ht } /** Creates a new Hybrid Connection using a Service Bus relay. */ -export interface WebAppsCreateOrUpdateHybridConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Removes a Hybrid Connection from this site. */ export interface WebAppsDeleteHybridConnectionSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Removes a Hybrid Connection from this site. */ export interface WebAppsDeleteHybridConnectionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Removes a Hybrid Connection from this site. */ -export interface WebAppsDeleteHybridConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHybridConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7459,8 +7252,8 @@ export interface WebAppsUpdateHybridConnectionSlot200Response extends HttpRespon } /** Creates a new Hybrid Connection using a Service Bus relay. */ -export interface WebAppsUpdateHybridConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateHybridConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7471,8 +7264,8 @@ export interface WebAppsListHybridConnectionsSlot200Response extends HttpRespons } /** Retrieves all Service Bus Hybrid Connections used by this Web App. */ -export interface WebAppsListHybridConnectionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHybridConnectionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7483,8 +7276,8 @@ export interface WebAppsListRelayServiceConnectionsSlot200Response extends HttpR } /** Gets hybrid connections configured for an app (or deployment slot, if specified). */ -export interface WebAppsListRelayServiceConnectionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListRelayServiceConnectionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7495,8 +7288,8 @@ export interface WebAppsGetRelayServiceConnectionSlot200Response extends HttpRes } /** Gets a hybrid connection configuration by its name. */ -export interface WebAppsGetRelayServiceConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetRelayServiceConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7507,27 +7300,25 @@ export interface WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response exte } /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ -export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotdefaultResponse +export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a relay service connection by its name. */ export interface WebAppsDeleteRelayServiceConnectionSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a relay service connection by its name. */ export interface WebAppsDeleteRelayServiceConnectionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a relay service connection by its name. */ -export interface WebAppsDeleteRelayServiceConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteRelayServiceConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7538,8 +7329,8 @@ export interface WebAppsUpdateRelayServiceConnectionSlot200Response extends Http } /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ -export interface WebAppsUpdateRelayServiceConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateRelayServiceConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7550,8 +7341,8 @@ export interface WebAppsListInstanceIdentifiersSlot200Response extends HttpRespo } /** Gets all scale-out instances of an app. */ -export interface WebAppsListInstanceIdentifiersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceIdentifiersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7562,8 +7353,8 @@ export interface WebAppsGetInstanceInfoSlot200Response extends HttpResponse { } /** Gets all scale-out instances of an app. */ -export interface WebAppsGetInstanceInfoSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceInfoSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7574,8 +7365,8 @@ export interface WebAppsGetInstanceMsDeployStatusSlot200Response extends HttpRes } /** Get the status of the last MSDeploy operation. */ -export interface WebAppsGetInstanceMsDeployStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceMsDeployStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7588,12 +7379,11 @@ export interface WebAppsCreateInstanceMSDeployOperationSlot201Response extends H /** Invoke the MSDeploy web app extension. */ export interface WebAppsCreateInstanceMSDeployOperationSlot409Response extends HttpResponse { status: "409"; - body: Record; } /** Invoke the MSDeploy web app extension. */ -export interface WebAppsCreateInstanceMSDeployOperationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7606,12 +7396,11 @@ export interface WebAppsGetInstanceMSDeployLogSlot200Response extends HttpRespon /** Get the MSDeploy Log for the last MSDeploy operation. */ export interface WebAppsGetInstanceMSDeployLogSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the MSDeploy Log for the last MSDeploy operation. */ -export interface WebAppsGetInstanceMSDeployLogSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceMSDeployLogSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7624,12 +7413,11 @@ export interface WebAppsListInstanceProcessesSlot200Response extends HttpRespons /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7642,30 +7430,27 @@ export interface WebAppsGetInstanceProcessSlot200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteInstanceProcessSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteInstanceProcessSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ -export interface WebAppsDeleteInstanceProcessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteInstanceProcessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7679,12 +7464,11 @@ export interface WebAppsGetInstanceProcessDumpSlot200Response extends HttpRespon /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessDumpSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessDumpSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessDumpSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7697,12 +7481,11 @@ export interface WebAppsListInstanceProcessModulesSlot200Response extends HttpRe /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessModulesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessModulesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessModulesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7715,12 +7498,11 @@ export interface WebAppsGetInstanceProcessModuleSlot200Response extends HttpResp /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessModuleSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessModuleSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessModuleSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7733,12 +7515,11 @@ export interface WebAppsListInstanceProcessThreadsSlot200Response extends HttpRe /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessThreadsSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessThreadsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessThreadsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7749,8 +7530,8 @@ export interface WebAppsIsCloneableSlot200Response extends HttpResponse { } /** Shows whether an app can be cloned to another resource group or subscription. */ -export interface WebAppsIsCloneableSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsIsCloneableSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7761,8 +7542,8 @@ export interface WebAppsListSiteBackupsSlot200Response extends HttpResponse { } /** Gets existing backups of an app. */ -export interface WebAppsListSiteBackupsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSiteBackupsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7773,8 +7554,8 @@ export interface WebAppsListSyncFunctionTriggersSlot200Response extends HttpResp } /** This is to allow calling via powershell and ARM template. */ -export interface WebAppsListSyncFunctionTriggersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSyncFunctionTriggersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7785,8 +7566,8 @@ export interface WebAppsGetMigrateMySqlStatusSlot200Response extends HttpRespons } /** Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled */ -export interface WebAppsGetMigrateMySqlStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMigrateMySqlStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7797,8 +7578,8 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot200Response extends } /** Gets a Swift Virtual Network connection. */ -export interface WebAppsGetSwiftVirtualNetworkConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7816,27 +7597,25 @@ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. */ -export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse +export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ export interface WebAppsDeleteSwiftVirtualNetworkSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ export interface WebAppsDeleteSwiftVirtualNetworkSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ -export interface WebAppsDeleteSwiftVirtualNetworkSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7854,9 +7633,9 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Respo * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. */ -export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse +export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -7869,12 +7648,11 @@ export interface WebAppsListNetworkFeaturesSlot200Response extends HttpResponse /** Gets all network features used by the app (or deployment slot, if specified). */ export interface WebAppsListNetworkFeaturesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets all network features used by the app (or deployment slot, if specified). */ -export interface WebAppsListNetworkFeaturesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListNetworkFeaturesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7891,8 +7669,8 @@ export interface WebAppsGetNetworkTraceOperationSlot202Response extends HttpResp } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTraceOperationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTraceOperationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7903,8 +7681,8 @@ export interface WebAppsStartWebSiteNetworkTraceSlot200Response extends HttpResp } /** Start capturing network packets for the site (To be deprecated). */ -export interface WebAppsStartWebSiteNetworkTraceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartWebSiteNetworkTraceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7921,26 +7699,24 @@ export interface WebAppsStartWebSiteNetworkTraceOperationSlot202Response extends } /** Start capturing network packets for the site. */ -export interface WebAppsStartWebSiteNetworkTraceOperationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopWebSiteNetworkTraceSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopWebSiteNetworkTraceSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ -export interface WebAppsStopWebSiteNetworkTraceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopWebSiteNetworkTraceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7951,8 +7727,8 @@ export interface WebAppsGetNetworkTracesSlot200Response extends HttpResponse { } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTracesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTracesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7969,8 +7745,8 @@ export interface WebAppsGetNetworkTraceOperationSlotV2202Response extends HttpRe } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTraceOperationSlotV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTraceOperationSlotV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7981,26 +7757,24 @@ export interface WebAppsGetNetworkTracesSlotV2200Response extends HttpResponse { } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTracesSlotV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTracesSlotV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ export interface WebAppsGenerateNewSitePublishingPasswordSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ export interface WebAppsGenerateNewSitePublishingPasswordSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ -export interface WebAppsGenerateNewSitePublishingPasswordSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8011,8 +7785,8 @@ export interface WebAppsListPerfMonCountersSlot200Response extends HttpResponse } /** Gets perfmon counters for web app. */ -export interface WebAppsListPerfMonCountersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPerfMonCountersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8023,8 +7797,8 @@ export interface WebAppsGetSitePhpErrorLogFlagSlot200Response extends HttpRespon } /** Gets web app's event logs. */ -export interface WebAppsGetSitePhpErrorLogFlagSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8035,8 +7809,8 @@ export interface WebAppsListPremierAddOnsSlot200Response extends HttpResponse { } /** Gets the premier add-ons of an app. */ -export interface WebAppsListPremierAddOnsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPremierAddOnsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8047,8 +7821,8 @@ export interface WebAppsGetPremierAddOnSlot200Response extends HttpResponse { } /** Gets a named add-on of an app. */ -export interface WebAppsGetPremierAddOnSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPremierAddOnSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8059,20 +7833,19 @@ export interface WebAppsAddPremierAddOnSlot200Response extends HttpResponse { } /** Updates a named add-on of an app. */ -export interface WebAppsAddPremierAddOnSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsAddPremierAddOnSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a premier add-on from an app. */ export interface WebAppsDeletePremierAddOnSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a premier add-on from an app. */ -export interface WebAppsDeletePremierAddOnSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePremierAddOnSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8083,8 +7856,8 @@ export interface WebAppsUpdatePremierAddOnSlot200Response extends HttpResponse { } /** Updates a named add-on of an app. */ -export interface WebAppsUpdatePremierAddOnSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdatePremierAddOnSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8095,8 +7868,8 @@ export interface WebAppsGetPrivateAccessSlot200Response extends HttpResponse { } /** Gets data around private site access enablement and authorized Virtual Networks that can access the site. */ -export interface WebAppsGetPrivateAccessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateAccessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8107,8 +7880,8 @@ export interface WebAppsPutPrivateAccessVnetSlot200Response extends HttpResponse } /** Sets data around private site access enablement and authorized Virtual Networks that can access the site. */ -export interface WebAppsPutPrivateAccessVnetSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsPutPrivateAccessVnetSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8119,8 +7892,8 @@ export interface WebAppsGetPrivateEndpointConnectionListSlot200Response extends } /** Gets the list of private endpoint connections associated with a site */ -export interface WebAppsGetPrivateEndpointConnectionListSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8131,8 +7904,8 @@ export interface WebAppsGetPrivateEndpointConnectionSlot200Response extends Http } /** Gets a private endpoint connection */ -export interface WebAppsGetPrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8151,9 +7924,9 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response } /** Approves or rejects a private endpoint connection */ -export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotdefaultResponse +export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -8176,8 +7949,8 @@ export interface WebAppsDeletePrivateEndpointConnectionSlot204Response extends H } /** Deletes a private endpoint connection */ -export interface WebAppsDeletePrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8188,8 +7961,8 @@ export interface WebAppsGetPrivateLinkResourcesSlot200Response extends HttpRespo } /** Gets the private link resources */ -export interface WebAppsGetPrivateLinkResourcesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateLinkResourcesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8202,12 +7975,11 @@ export interface WebAppsListProcessesSlot200Response extends HttpResponse { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8220,30 +7992,27 @@ export interface WebAppsGetProcessSlot200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteProcessSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteProcessSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ -export interface WebAppsDeleteProcessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteProcessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8257,12 +8026,11 @@ export interface WebAppsGetProcessDumpSlot200Response extends HttpResponse { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessDumpSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessDumpSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessDumpSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8275,12 +8043,11 @@ export interface WebAppsListProcessModulesSlot200Response extends HttpResponse { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessModulesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessModulesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessModulesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8293,12 +8060,11 @@ export interface WebAppsGetProcessModuleSlot200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessModuleSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessModuleSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessModuleSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8311,12 +8077,11 @@ export interface WebAppsListProcessThreadsSlot200Response extends HttpResponse { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessThreadsSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessThreadsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessThreadsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8327,8 +8092,8 @@ export interface WebAppsListPublicCertificatesSlot200Response extends HttpRespon } /** Get public certificates for an app or a deployment slot. */ -export interface WebAppsListPublicCertificatesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublicCertificatesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8339,8 +8104,8 @@ export interface WebAppsGetPublicCertificateSlot200Response extends HttpResponse } /** Get the named public certificate for an app (or deployment slot, if specified). */ -export interface WebAppsGetPublicCertificateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPublicCertificateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8351,26 +8116,24 @@ export interface WebAppsCreateOrUpdatePublicCertificateSlot200Response extends H } /** Creates a hostname binding for an app. */ -export interface WebAppsCreateOrUpdatePublicCertificateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeletePublicCertificateSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeletePublicCertificateSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a hostname binding for an app. */ -export interface WebAppsDeletePublicCertificateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePublicCertificateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8382,87 +8145,79 @@ export interface WebAppsListPublishingProfileXmlWithSecretsSlot200Response exten } /** Gets the publishing profile for an app (or deployment slot, if specified). */ -export interface WebAppsListPublishingProfileXmlWithSecretsSlotdefaultResponse +export interface WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ export interface WebAppsResetSlotConfigurationSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ -export interface WebAppsResetSlotConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsResetSlotConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restarts an app (or deployment slot, if specified). */ export interface WebAppsRestartSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts an app (or deployment slot, if specified). */ -export interface WebAppsRestartSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestartSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores an app from a backup blob in Azure Storage. */ export interface WebAppsRestoreFromBackupBlobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores an app from a backup blob in Azure Storage. */ export interface WebAppsRestoreFromBackupBlobSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores an app from a backup blob in Azure Storage. */ -export interface WebAppsRestoreFromBackupBlobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreFromBackupBlobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a deleted web app to this web app. */ export interface WebAppsRestoreFromDeletedAppSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a deleted web app to this web app. */ export interface WebAppsRestoreFromDeletedAppSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a deleted web app to this web app. */ -export interface WebAppsRestoreFromDeletedAppSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreFromDeletedAppSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a web app from a snapshot. */ export interface WebAppsRestoreSnapshotSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a web app from a snapshot. */ export interface WebAppsRestoreSnapshotSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a web app from a snapshot. */ -export interface WebAppsRestoreSnapshotSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreSnapshotSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8475,12 +8230,11 @@ export interface WebAppsListSiteExtensionsSlot200Response extends HttpResponse { /** Get list of siteextensions for a web site, or a deployment slot. */ export interface WebAppsListSiteExtensionsSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of siteextensions for a web site, or a deployment slot. */ -export interface WebAppsListSiteExtensionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSiteExtensionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8493,12 +8247,11 @@ export interface WebAppsGetSiteExtensionSlot200Response extends HttpResponse { /** Get site extension information by its ID for a web site, or a deployment slot. */ export interface WebAppsGetSiteExtensionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get site extension information by its ID for a web site, or a deployment slot. */ -export interface WebAppsGetSiteExtensionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSiteExtensionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8517,30 +8270,27 @@ export interface WebAppsInstallSiteExtensionSlot201Response extends HttpResponse /** Install site extension on a web site, or a deployment slot. */ export interface WebAppsInstallSiteExtensionSlot429Response extends HttpResponse { status: "429"; - body: Record; } /** Install site extension on a web site, or a deployment slot. */ -export interface WebAppsInstallSiteExtensionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsInstallSiteExtensionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Remove a site extension from a web site, or a deployment slot. */ export interface WebAppsDeleteSiteExtensionSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Remove a site extension from a web site, or a deployment slot. */ export interface WebAppsDeleteSiteExtensionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Remove a site extension from a web site, or a deployment slot. */ -export interface WebAppsDeleteSiteExtensionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSiteExtensionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8551,26 +8301,24 @@ export interface WebAppsListSlotDifferencesSlot200Response extends HttpResponse } /** Get the difference in configuration settings between two web app slots. */ -export interface WebAppsListSlotDifferencesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSlotDifferencesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Swaps two deployment slots of an app. */ export interface WebAppsSwapSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Swaps two deployment slots of an app. */ export interface WebAppsSwapSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Swaps two deployment slots of an app. */ -export interface WebAppsSwapSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSwapSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8581,8 +8329,8 @@ export interface WebAppsListSnapshotsSlot200Response extends HttpResponse { } /** Returns all Snapshots to the user. */ -export interface WebAppsListSnapshotsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSnapshotsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8593,8 +8341,8 @@ export interface WebAppsListSnapshotsFromDRSecondarySlot200Response extends Http } /** Returns all Snapshots to the user from DRSecondary endpoint. */ -export interface WebAppsListSnapshotsFromDRSecondarySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8617,8 +8365,8 @@ export interface WebAppsGetSourceControlSlot202Response extends HttpResponse { } /** Gets the source control configuration of an app. */ -export interface WebAppsGetSourceControlSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSourceControlSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8641,32 +8389,29 @@ export interface WebAppsCreateOrUpdateSourceControlSlot202Response extends HttpR } /** Updates the source control configuration of an app. */ -export interface WebAppsCreateOrUpdateSourceControlSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateSourceControlSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControlSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControlSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControlSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes the source control configuration of an app. */ -export interface WebAppsDeleteSourceControlSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSourceControlSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8689,20 +8434,19 @@ export interface WebAppsUpdateSourceControlSlot202Response extends HttpResponse } /** Updates the source control configuration of an app. */ -export interface WebAppsUpdateSourceControlSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSourceControlSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Starts an app (or deployment slot, if specified). */ export interface WebAppsStartSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts an app (or deployment slot, if specified). */ -export interface WebAppsStartSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8719,62 +8463,57 @@ export interface WebAppsStartNetworkTraceSlot202Response extends HttpResponse { } /** Start capturing network packets for the site. */ -export interface WebAppsStartNetworkTraceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartNetworkTraceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stops an app (or deployment slot, if specified). */ export interface WebAppsStopSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Stops an app (or deployment slot, if specified). */ -export interface WebAppsStopSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopNetworkTraceSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopNetworkTraceSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ -export interface WebAppsStopNetworkTraceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopNetworkTraceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Sync web app repository. */ export interface WebAppsSyncRepositorySlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Sync web app repository. */ -export interface WebAppsSyncRepositorySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncRepositorySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Syncs function trigger metadata to the management database */ export interface WebAppsSyncFunctionTriggersSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Syncs function trigger metadata to the management database */ -export interface WebAppsSyncFunctionTriggersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncFunctionTriggersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8785,8 +8524,8 @@ export interface WebAppsListTriggeredWebJobsSlot200Response extends HttpResponse } /** List triggered web jobs for an app, or a deployment slot. */ -export interface WebAppsListTriggeredWebJobsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListTriggeredWebJobsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8799,30 +8538,27 @@ export interface WebAppsGetTriggeredWebJobSlot200Response extends HttpResponse { /** Gets a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsGetTriggeredWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a triggered web job by its ID for an app, or a deployment slot. */ -export interface WebAppsGetTriggeredWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetTriggeredWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteTriggeredWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteTriggeredWebJobSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteTriggeredWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteTriggeredWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8835,12 +8571,11 @@ export interface WebAppsListTriggeredWebJobHistorySlot200Response extends HttpRe /** List a triggered web job's history for an app, or a deployment slot. */ export interface WebAppsListTriggeredWebJobHistorySlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List a triggered web job's history for an app, or a deployment slot. */ -export interface WebAppsListTriggeredWebJobHistorySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListTriggeredWebJobHistorySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8853,30 +8588,27 @@ export interface WebAppsGetTriggeredWebJobHistorySlot200Response extends HttpRes /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ export interface WebAppsGetTriggeredWebJobHistorySlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ -export interface WebAppsGetTriggeredWebJobHistorySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetTriggeredWebJobHistorySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Run a triggered web job for an app, or a deployment slot. */ export interface WebAppsRunTriggeredWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Run a triggered web job for an app, or a deployment slot. */ export interface WebAppsRunTriggeredWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Run a triggered web job for an app, or a deployment slot. */ -export interface WebAppsRunTriggeredWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRunTriggeredWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8887,8 +8619,8 @@ export interface WebAppsListUsagesSlot200Response extends HttpResponse { } /** Gets the quota usage information of an app (or deployment slot, if specified). */ -export interface WebAppsListUsagesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListUsagesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8899,8 +8631,8 @@ export interface WebAppsListVnetConnectionsSlot200Response extends HttpResponse } /** Gets the virtual networks the app (or deployment slot) is connected to. */ -export interface WebAppsListVnetConnectionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListVnetConnectionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8911,8 +8643,8 @@ export interface WebAppsGetVnetConnectionSlot200Response extends HttpResponse { } /** Gets a virtual network the app (or deployment slot) is connected to by name. */ -export interface WebAppsGetVnetConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetVnetConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8923,26 +8655,24 @@ export interface WebAppsCreateOrUpdateVnetConnectionSlot200Response extends Http } /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ -export interface WebAppsCreateOrUpdateVnetConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ export interface WebAppsDeleteVnetConnectionSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ export interface WebAppsDeleteVnetConnectionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ -export interface WebAppsDeleteVnetConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteVnetConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8953,8 +8683,8 @@ export interface WebAppsUpdateVnetConnectionSlot200Response extends HttpResponse } /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ -export interface WebAppsUpdateVnetConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateVnetConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8967,12 +8697,11 @@ export interface WebAppsGetVnetConnectionGatewaySlot200Response extends HttpResp /** Gets an app's Virtual Network gateway. */ export interface WebAppsGetVnetConnectionGatewaySlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets an app's Virtual Network gateway. */ -export interface WebAppsGetVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8983,9 +8712,9 @@ export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response exten } /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ -export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotdefaultResponse +export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -8996,8 +8725,8 @@ export interface WebAppsUpdateVnetConnectionGatewaySlot200Response extends HttpR } /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ -export interface WebAppsUpdateVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9008,8 +8737,8 @@ export interface WebAppsListWebJobsSlot200Response extends HttpResponse { } /** List webjobs for an app, or a deployment slot. */ -export interface WebAppsListWebJobsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListWebJobsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9020,8 +8749,8 @@ export interface WebAppsGetWebJobSlot200Response extends HttpResponse { } /** Get webjob information for an app, or a deployment slot. */ -export interface WebAppsGetWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9032,26 +8761,24 @@ export interface WebAppsListSlotDifferencesFromProduction200Response extends Htt } /** Get the difference in configuration settings between two web app slots. */ -export interface WebAppsListSlotDifferencesFromProductiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSlotDifferencesFromProductionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Swaps two deployment slots of an app. */ export interface WebAppsSwapSlotWithProduction200Response extends HttpResponse { status: "200"; - body: Record; } /** Swaps two deployment slots of an app. */ export interface WebAppsSwapSlotWithProduction202Response extends HttpResponse { status: "202"; - body: Record; } /** Swaps two deployment slots of an app. */ -export interface WebAppsSwapSlotWithProductiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSwapSlotWithProductionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9062,8 +8789,8 @@ export interface WebAppsListSnapshots200Response extends HttpResponse { } /** Returns all Snapshots to the user. */ -export interface WebAppsListSnapshotsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSnapshotsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9074,8 +8801,8 @@ export interface WebAppsListSnapshotsFromDRSecondary200Response extends HttpResp } /** Returns all Snapshots to the user from DRSecondary endpoint. */ -export interface WebAppsListSnapshotsFromDRSecondarydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSnapshotsFromDRSecondaryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9098,8 +8825,8 @@ export interface WebAppsGetSourceControl202Response extends HttpResponse { } /** Gets the source control configuration of an app. */ -export interface WebAppsGetSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9122,32 +8849,29 @@ export interface WebAppsCreateOrUpdateSourceControl202Response extends HttpRespo } /** Updates the source control configuration of an app. */ -export interface WebAppsCreateOrUpdateSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControl200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControl202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControl404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes the source control configuration of an app. */ -export interface WebAppsDeleteSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9170,20 +8894,19 @@ export interface WebAppsUpdateSourceControl202Response extends HttpResponse { } /** Updates the source control configuration of an app. */ -export interface WebAppsUpdateSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Starts an app (or deployment slot, if specified). */ export interface WebAppsStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts an app (or deployment slot, if specified). */ -export interface WebAppsStartdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9200,62 +8923,57 @@ export interface WebAppsStartNetworkTrace202Response extends HttpResponse { } /** Start capturing network packets for the site. */ -export interface WebAppsStartNetworkTracedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartNetworkTraceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stops an app (or deployment slot, if specified). */ export interface WebAppsStop200Response extends HttpResponse { status: "200"; - body: Record; } /** Stops an app (or deployment slot, if specified). */ -export interface WebAppsStopdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopNetworkTrace200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopNetworkTrace204Response extends HttpResponse { status: "204"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ -export interface WebAppsStopNetworkTracedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopNetworkTraceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Sync web app repository. */ export interface WebAppsSyncRepository200Response extends HttpResponse { status: "200"; - body: Record; } /** Sync web app repository. */ -export interface WebAppsSyncRepositorydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncRepositoryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Syncs function trigger metadata to the management database */ export interface WebAppsSyncFunctionTriggers204Response extends HttpResponse { status: "204"; - body: Record; } /** Syncs function trigger metadata to the management database */ -export interface WebAppsSyncFunctionTriggersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncFunctionTriggersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9266,8 +8984,8 @@ export interface WebAppsListTriggeredWebJobs200Response extends HttpResponse { } /** List triggered web jobs for an app, or a deployment slot. */ -export interface WebAppsListTriggeredWebJobsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListTriggeredWebJobsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9280,30 +8998,27 @@ export interface WebAppsGetTriggeredWebJob200Response extends HttpResponse { /** Gets a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsGetTriggeredWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a triggered web job by its ID for an app, or a deployment slot. */ -export interface WebAppsGetTriggeredWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetTriggeredWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteTriggeredWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteTriggeredWebJob204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteTriggeredWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteTriggeredWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9316,12 +9031,11 @@ export interface WebAppsListTriggeredWebJobHistory200Response extends HttpRespon /** List a triggered web job's history for an app, or a deployment slot. */ export interface WebAppsListTriggeredWebJobHistory404Response extends HttpResponse { status: "404"; - body: Record; } /** List a triggered web job's history for an app, or a deployment slot. */ -export interface WebAppsListTriggeredWebJobHistorydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListTriggeredWebJobHistoryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9334,30 +9048,27 @@ export interface WebAppsGetTriggeredWebJobHistory200Response extends HttpRespons /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ export interface WebAppsGetTriggeredWebJobHistory404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ -export interface WebAppsGetTriggeredWebJobHistorydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetTriggeredWebJobHistoryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Run a triggered web job for an app, or a deployment slot. */ export interface WebAppsRunTriggeredWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Run a triggered web job for an app, or a deployment slot. */ export interface WebAppsRunTriggeredWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Run a triggered web job for an app, or a deployment slot. */ -export interface WebAppsRunTriggeredWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRunTriggeredWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9368,8 +9079,8 @@ export interface WebAppsListUsages200Response extends HttpResponse { } /** Gets the quota usage information of an app (or deployment slot, if specified). */ -export interface WebAppsListUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9380,8 +9091,8 @@ export interface WebAppsListVnetConnections200Response extends HttpResponse { } /** Gets the virtual networks the app (or deployment slot) is connected to. */ -export interface WebAppsListVnetConnectionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListVnetConnectionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9392,8 +9103,8 @@ export interface WebAppsGetVnetConnection200Response extends HttpResponse { } /** Gets a virtual network the app (or deployment slot) is connected to by name. */ -export interface WebAppsGetVnetConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetVnetConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9404,26 +9115,24 @@ export interface WebAppsCreateOrUpdateVnetConnection200Response extends HttpResp } /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ -export interface WebAppsCreateOrUpdateVnetConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateVnetConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ export interface WebAppsDeleteVnetConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ export interface WebAppsDeleteVnetConnection404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ -export interface WebAppsDeleteVnetConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteVnetConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9434,8 +9143,8 @@ export interface WebAppsUpdateVnetConnection200Response extends HttpResponse { } /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ -export interface WebAppsUpdateVnetConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateVnetConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9448,12 +9157,11 @@ export interface WebAppsGetVnetConnectionGateway200Response extends HttpResponse /** Gets an app's Virtual Network gateway. */ export interface WebAppsGetVnetConnectionGateway404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets an app's Virtual Network gateway. */ -export interface WebAppsGetVnetConnectionGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetVnetConnectionGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9464,8 +9172,8 @@ export interface WebAppsCreateOrUpdateVnetConnectionGateway200Response extends H } /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ -export interface WebAppsCreateOrUpdateVnetConnectionGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9476,8 +9184,8 @@ export interface WebAppsUpdateVnetConnectionGateway200Response extends HttpRespo } /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ -export interface WebAppsUpdateVnetConnectionGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateVnetConnectionGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9488,8 +9196,8 @@ export interface WebAppsListWebJobs200Response extends HttpResponse { } /** List webjobs for an app, or a deployment slot. */ -export interface WebAppsListWebJobsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListWebJobsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9500,7 +9208,7 @@ export interface WebAppsGetWebJob200Response extends HttpResponse { } /** Get webjob information for an app, or a deployment slot. */ -export interface WebAppsGetWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } diff --git a/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts index 96a148405690..689979aa3ee6 100644 --- a/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts @@ -3,23 +3,27 @@ import type { ClientOptions } from "@azure-rest/core-client"; import { getClient } from "@azure-rest/core-client"; +import { logger } from "./logger"; import type { TokenCredential } from "@azure/core-auth"; import type { WebSiteManagementClient } from "./clientDefinitions"; +/** The optional parameters for the client */ +export interface WebSiteManagementClientOptions extends ClientOptions { + /** The api version option of the client */ + apiVersion?: string; +} + +/** + * Initialize a new instance of `WebSiteManagementClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters + */ export default function createClient( credentials: TokenCredential, - options: ClientOptions = {}, + { apiVersion = "2021-03-01", ...options }: WebSiteManagementClientOptions = {}, ): WebSiteManagementClient { - const baseUrl = options.baseUrl ?? "https://management.azure.com"; - options.apiVersion = options.apiVersion ?? "2021-03-01"; - options = { - ...options, - credentials: { - scopes: ["https://management.azure.com/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-arm-appservice-rest/1.0.0-beta.1`; + const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-appservice-rest/1.0.0-beta.3`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` @@ -29,9 +33,31 @@ export default function createClient( userAgentOptions: { userAgentPrefix, }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? ["user_impersonation"], + }, }; + const client = getClient(endpointUrl, credentials, options) as WebSiteManagementClient; + + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + client.pipeline.addPolicy({ + name: "ClientApiVersionPolicy", + sendRequest: (req, next) => { + // Use the apiVersion defined in request url directly + // Append one if there is no apiVersion and we have one at client options + const url = new URL(req.url); + if (!url.searchParams.get("api-version") && apiVersion) { + req.url = `${req.url}${ + Array.from(url.searchParams.keys()).length > 0 ? "&" : "?" + }api-version=${apiVersion}`; + } - const client = getClient(baseUrl, credentials, options) as WebSiteManagementClient; + return next(req); + }, + }); return client; } diff --git a/sdk/appservice/arm-appservice-rest/swagger/README.md b/sdk/appservice/arm-appservice-rest/swagger/README.md index c660a4d0ee49..7b74519b93f9 100644 --- a/sdk/appservice/arm-appservice-rest/swagger/README.md +++ b/sdk/appservice/arm-appservice-rest/swagger/README.md @@ -5,6 +5,8 @@ ## Configuration ```yaml +flavor: azure +openapi-type: arm package-name: "@azure-rest/arm-appservice" title: WebSiteManagementClient description: App Service Client @@ -15,10 +17,10 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ source-code-folder-path: ./src require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/078b90617e5e08137d0395963bd4119f4561a910/specification/web/resource-manager/readme.md -package-version: 1.0.0-beta.2 +package-version: 1.0.0-beta.3 rest-level-client: true add-credentials: true credential-scopes: "https://management.azure.com/.default" use-extension: - "@autorest/typescript": "6.0.0-beta.20" + "@autorest/typescript": "latest" ``` diff --git a/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts b/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts index 5ad733e7ffae..b0f25804ac32 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts @@ -56,7 +56,7 @@ describe("Web test", () => { }, }, }); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const res = await poller.pollUntilDone(); assert.strictEqual(res.status, "200"); assert.isTrue(res.body !== undefined); @@ -97,7 +97,7 @@ describe("Web test", () => { }, }, }); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const res = await poller.pollUntilDone(); assert.strictEqual(res.status, "200"); assert.isTrue(res.body !== undefined); diff --git a/sdk/appservice/arm-appservice-rest/test/public/sampleTest.spec.ts b/sdk/appservice/arm-appservice-rest/test/public/sampleTest.spec.ts deleted file mode 100644 index 707dd944309e..000000000000 --- a/sdk/appservice/arm-appservice-rest/test/public/sampleTest.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { Recorder } from "@azure-tools/test-recorder"; -import { assert } from "chai"; -import { createRecorder } from "./utils/recordedClient"; -import type { Context } from "mocha"; - -describe("My test", () => { - let recorder: Recorder; - - beforeEach(async function (this: Context) { - recorder = await createRecorder(this); - }); - - afterEach(async function () { - await recorder.stop(); - }); - - it("sample test", async function () { - assert.equal(1, 1); - }); -}); diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/env.browser.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/env.browser.ts deleted file mode 100644 index fc36ab244fad..000000000000 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/env.browser.ts +++ /dev/null @@ -1,2 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/env.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/env.ts deleted file mode 100644 index 866412f4082d..000000000000 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/env.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import * as dotenv from "dotenv"; - -dotenv.config(); diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts index 31a90eb757e5..0028290afe0b 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts @@ -9,7 +9,7 @@ import { createTestCredential } from "@azure-tools/test-credential"; import type { WebSiteManagementClient } from "../../../src/index"; import WebSiteClient from "../../../src/index"; -const envSetupForPlayback: { [k: string]: string } = { +const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", AZURE_CLIENT_ID: "azure_client_id", AZURE_CLIENT_SECRET: "azure_client_secret", @@ -20,6 +20,10 @@ const envSetupForPlayback: { [k: string]: string } = { const recorderEnvSetup: RecorderStartOptions = { envSetupForPlayback, + removeCentralSanitizers: [ + "AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section + "AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section + ], }; /** @@ -27,6 +31,7 @@ const recorderEnvSetup: RecorderStartOptions = { * Should be called first in the test suite to make sure environment variables are * read before they are being used. */ + export async function createRecorder(context: Context): Promise { const recorder = new Recorder(context.currentTest); await recorder.start(recorderEnvSetup); From 841721c3a073013fc433344edc0cb8fb797d5d42 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:06:03 +0800 Subject: [PATCH 02/73] update --- sdk/compute/arm-compute-rest/karma.conf.js | 2 +- sdk/compute/arm-compute-rest/package.json | 5 +- .../review/arm-compute.api.md | 1395 +++++--------- ...apacityReservationsCreateOrUpdateSample.ts | 2 +- .../capacityReservationsDeleteSample.ts | 4 +- .../capacityReservationsUpdateSample.ts | 4 +- .../cloudServiceRoleInstancesDeleteSample.ts | 2 +- .../cloudServiceRoleInstancesRebuildSample.ts | 2 +- .../cloudServiceRoleInstancesReimageSample.ts | 2 +- .../cloudServiceRoleInstancesRestartSample.ts | 2 +- .../cloudServicesCreateOrUpdateSample.ts | 8 +- .../cloudServicesDeleteInstancesSample.ts | 2 +- .../samples-dev/cloudServicesDeleteSample.ts | 2 +- .../cloudServicesPowerOffSample.ts | 2 +- .../samples-dev/cloudServicesRebuildSample.ts | 2 +- .../samples-dev/cloudServicesReimageSample.ts | 2 +- .../samples-dev/cloudServicesRestartSample.ts | 2 +- .../samples-dev/cloudServicesStartSample.ts | 2 +- ...vicesUpdateDomainWalkUpdateDomainSample.ts | 2 +- .../samples-dev/cloudServicesUpdateSample.ts | 2 +- .../dedicatedHostGroupsUpdateSample.ts | 18 - .../dedicatedHostsCreateOrUpdateSample.ts | 2 +- .../samples-dev/dedicatedHostsDeleteSample.ts | 4 +- .../dedicatedHostsRestartSample.ts | 2 +- .../samples-dev/dedicatedHostsUpdateSample.ts | 18 +- .../diskAccessesCreateOrUpdateSample.ts | 2 +- ...sDeleteAPrivateEndpointConnectionSample.ts | 2 +- .../samples-dev/diskAccessesDeleteSample.ts | 2 +- ...sUpdateAPrivateEndpointConnectionSample.ts | 2 +- .../samples-dev/diskAccessesUpdateSample.ts | 2 +- .../diskEncryptionSetsCreateOrUpdateSample.ts | 6 +- .../diskEncryptionSetsDeleteSample.ts | 2 +- .../diskEncryptionSetsUpdateSample.ts | 6 +- .../diskRestorePointGrantAccessSample.ts | 2 +- .../diskRestorePointRevokeAccessSample.ts | 2 +- .../samples-dev/disksCreateOrUpdateSample.ts | 48 +- .../samples-dev/disksDeleteSample.ts | 2 +- .../samples-dev/disksGrantAccessSample.ts | 4 +- .../samples-dev/disksRevokeAccessSample.ts | 2 +- .../samples-dev/disksUpdateSample.ts | 20 +- .../galleriesCreateOrUpdateSample.ts | 8 +- .../samples-dev/galleriesDeleteSample.ts | 2 +- .../samples-dev/galleriesUpdateSample.ts | 2 +- ...ApplicationVersionsCreateOrUpdateSample.ts | 2 +- .../galleryApplicationVersionsDeleteSample.ts | 2 +- .../galleryApplicationVersionsUpdateSample.ts | 2 +- ...galleryApplicationsCreateOrUpdateSample.ts | 2 +- .../galleryApplicationsDeleteSample.ts | 2 +- .../galleryApplicationsUpdateSample.ts | 2 +- ...alleryImageVersionsCreateOrUpdateSample.ts | 16 +- .../galleryImageVersionsDeleteSample.ts | 2 +- .../galleryImageVersionsUpdateSample.ts | 4 +- .../galleryImagesCreateOrUpdateSample.ts | 2 +- .../samples-dev/galleryImagesDeleteSample.ts | 2 +- .../samples-dev/galleryImagesUpdateSample.ts | 2 +- .../gallerySharingProfileUpdateSample.ts | 6 +- .../samples-dev/imagesCreateOrUpdateSample.ts | 20 +- .../samples-dev/imagesDeleteSample.ts | 4 +- .../samples-dev/imagesUpdateSample.ts | 2 +- ...lyticsExportRequestRateByIntervalSample.ts | 2 +- ...gAnalyticsExportThrottledRequestsSample.ts | 2 +- .../restorePointCollectionsDeleteSample.ts | 4 +- .../samples-dev/restorePointsCreateSample.ts | 4 +- .../samples-dev/restorePointsDeleteSample.ts | 4 +- .../snapshotsCreateOrUpdateSample.ts | 8 +- .../samples-dev/snapshotsDeleteSample.ts | 2 +- .../samples-dev/snapshotsGrantAccessSample.ts | 2 +- .../snapshotsRevokeAccessSample.ts | 2 +- .../samples-dev/snapshotsUpdateSample.ts | 4 +- ...alMachineExtensionsCreateOrUpdateSample.ts | 4 +- .../virtualMachineExtensionsDeleteSample.ts | 4 +- .../virtualMachineExtensionsUpdateSample.ts | 2 +- ...lMachineRunCommandsCreateOrUpdateSample.ts | 2 +- .../virtualMachineRunCommandsDeleteSample.ts | 2 +- .../virtualMachineRunCommandsUpdateSample.ts | 2 +- ...eScaleSetExtensionsCreateOrUpdateSample.ts | 4 +- ...alMachineScaleSetExtensionsDeleteSample.ts | 4 +- ...alMachineScaleSetExtensionsUpdateSample.ts | 4 +- ...hineScaleSetRollingUpgradesCancelSample.ts | 4 +- ...lingUpgradesStartExtensionUpgradeSample.ts | 2 +- ...eSetRollingUpgradesStartOSUpgradeSample.ts | 4 +- ...caleSetVMExtensionsCreateOrUpdateSample.ts | 2 +- ...MachineScaleSetVMExtensionsDeleteSample.ts | 2 +- ...MachineScaleSetVMExtensionsUpdateSample.ts | 2 +- ...aleSetVMRunCommandsCreateOrUpdateSample.ts | 2 +- ...achineScaleSetVMRunCommandsDeleteSample.ts | 2 +- ...achineScaleSetVMRunCommandsUpdateSample.ts | 2 +- ...rtualMachineScaleSetVMSDeallocateSample.ts | 4 +- .../virtualMachineScaleSetVMSDeleteSample.ts | 2 +- ...hineScaleSetVMSPerformMaintenanceSample.ts | 4 +- ...virtualMachineScaleSetVMSPowerOffSample.ts | 4 +- ...virtualMachineScaleSetVMSRedeploySample.ts | 4 +- ...rtualMachineScaleSetVMSReimageAllSample.ts | 4 +- .../virtualMachineScaleSetVMSReimageSample.ts | 4 +- .../virtualMachineScaleSetVMSRestartSample.ts | 4 +- ...rtualMachineScaleSetVMSRunCommandSample.ts | 2 +- .../virtualMachineScaleSetVMSStartSample.ts | 4 +- .../virtualMachineScaleSetVMSUpdateSample.ts | 128 +- ...ualMachineScaleSetsCreateOrUpdateSample.ts | 72 +- ...virtualMachineScaleSetsDeallocateSample.ts | 4 +- ...alMachineScaleSetsDeleteInstancesSample.ts | 4 +- .../virtualMachineScaleSetsDeleteSample.ts | 2 +- ...achineScaleSetsPerformMaintenanceSample.ts | 4 +- .../virtualMachineScaleSetsPowerOffSample.ts | 4 +- .../virtualMachineScaleSetsRedeploySample.ts | 4 +- ...virtualMachineScaleSetsReimageAllSample.ts | 4 +- .../virtualMachineScaleSetsReimageSample.ts | 4 +- .../virtualMachineScaleSetsRestartSample.ts | 4 +- ...eSetsSetOrchestrationServiceStateSample.ts | 4 +- .../virtualMachineScaleSetsStartSample.ts | 4 +- ...alMachineScaleSetsUpdateInstancesSample.ts | 4 +- .../virtualMachineScaleSetsUpdateSample.ts | 4 +- .../virtualMachinesAssessPatchesSample.ts | 2 +- .../virtualMachinesCaptureSample.ts | 4 +- ...tualMachinesConvertToManagedDisksSample.ts | 4 +- .../virtualMachinesCreateOrUpdateSample.ts | 86 +- .../virtualMachinesDeallocateSample.ts | 4 +- .../virtualMachinesDeleteSample.ts | 2 +- .../virtualMachinesInstallPatchesSample.ts | 2 +- ...virtualMachinesPerformMaintenanceSample.ts | 4 +- .../virtualMachinesPowerOffSample.ts | 4 +- .../virtualMachinesReapplySample.ts | 2 +- .../virtualMachinesRedeploySample.ts | 4 +- .../virtualMachinesReimageSample.ts | 2 +- .../virtualMachinesRestartSample.ts | 4 +- .../virtualMachinesRunCommandSample.ts | 2 +- .../samples-dev/virtualMachinesStartSample.ts | 4 +- .../virtualMachinesUpdateSample.ts | 4 +- .../availabilitySetsCreateOrUpdateSample.js | 2 +- .../availabilitySetsDeleteSample.js | 4 +- .../javascript/availabilitySetsGetSample.js | 4 +- ...vailabilitySetsListAvailableSizesSample.js | 4 +- ...vailabilitySetsListBySubscriptionSample.js | 2 +- .../javascript/availabilitySetsListSample.js | 4 +- .../availabilitySetsUpdateSample.js | 4 +- ...tyReservationGroupsCreateOrUpdateSample.js | 2 +- .../capacityReservationGroupsDeleteSample.js | 4 +- .../capacityReservationGroupsGetSample.js | 2 +- ...ervationGroupsListByResourceGroupSample.js | 2 +- ...servationGroupsListBySubscriptionSample.js | 2 +- .../capacityReservationGroupsUpdateSample.js | 4 +- ...apacityReservationsCreateOrUpdateSample.js | 4 +- .../capacityReservationsDeleteSample.js | 8 +- .../capacityReservationsGetSample.js | 2 +- ...onsListByCapacityReservationGroupSample.js | 2 +- .../capacityReservationsUpdateSample.js | 8 +- ...erviceOperatingSystemsGetOSFamilySample.js | 2 +- ...rviceOperatingSystemsGetOSVersionSample.js | 2 +- ...iceOperatingSystemsListOSFamiliesSample.js | 2 +- ...iceOperatingSystemsListOSVersionsSample.js | 2 +- .../cloudServiceRoleInstancesDeleteSample.js | 4 +- ...rviceRoleInstancesGetInstanceViewSample.js | 2 +- ...RoleInstancesGetRemoteDesktopFileSample.js | 2 +- .../cloudServiceRoleInstancesGetSample.js | 2 +- .../cloudServiceRoleInstancesListSample.js | 2 +- .../cloudServiceRoleInstancesRebuildSample.js | 4 +- .../cloudServiceRoleInstancesReimageSample.js | 4 +- .../cloudServiceRoleInstancesRestartSample.js | 4 +- .../javascript/cloudServiceRolesGetSample.js | 2 +- .../javascript/cloudServiceRolesListSample.js | 2 +- .../cloudServicesCreateOrUpdateSample.js | 16 +- .../cloudServicesDeleteInstancesSample.js | 4 +- .../javascript/cloudServicesDeleteSample.js | 4 +- .../cloudServicesGetInstanceViewSample.js | 2 +- .../javascript/cloudServicesGetSample.js | 2 +- .../javascript/cloudServicesListAllSample.js | 2 +- .../javascript/cloudServicesListSample.js | 2 +- .../javascript/cloudServicesPowerOffSample.js | 4 +- .../javascript/cloudServicesRebuildSample.js | 4 +- .../javascript/cloudServicesReimageSample.js | 4 +- .../javascript/cloudServicesRestartSample.js | 4 +- .../javascript/cloudServicesStartSample.js | 4 +- ...rvicesUpdateDomainGetUpdateDomainSample.js | 2 +- ...icesUpdateDomainListUpdateDomainsSample.js | 2 +- ...vicesUpdateDomainWalkUpdateDomainSample.js | 4 +- .../javascript/cloudServicesUpdateSample.js | 4 +- .../javascript/communityGalleriesGetSample.js | 2 +- .../communityGalleryImageVersionsGetSample.js | 2 +- ...communityGalleryImageVersionsListSample.js | 2 +- .../communityGalleryImagesGetSample.js | 2 +- .../communityGalleryImagesListSample.js | 2 +- ...dedicatedHostGroupsCreateOrUpdateSample.js | 4 +- .../dedicatedHostGroupsDeleteSample.js | 4 +- .../dedicatedHostGroupsGetSample.js | 4 +- ...atedHostGroupsListByResourceGroupSample.js | 4 +- .../dedicatedHostGroupsUpdateSample.js | 4 +- .../dedicatedHostsCreateOrUpdateSample.js | 4 +- .../javascript/dedicatedHostsDeleteSample.js | 8 +- .../javascript/dedicatedHostsGetSample.js | 2 +- .../dedicatedHostsListByHostGroupSample.js | 4 +- .../javascript/dedicatedHostsRestartSample.js | 4 +- .../javascript/dedicatedHostsUpdateSample.js | 8 +- .../diskAccessesCreateOrUpdateSample.js | 4 +- ...sDeleteAPrivateEndpointConnectionSample.js | 4 +- .../javascript/diskAccessesDeleteSample.js | 4 +- ...ssesGetAPrivateEndpointConnectionSample.js | 2 +- ...skAccessesGetPrivateLinkResourcesSample.js | 2 +- .../javascript/diskAccessesGetSample.js | 4 +- .../diskAccessesListByResourceGroupSample.js | 2 +- ...sesListPrivateEndpointConnectionsSample.js | 2 +- .../javascript/diskAccessesListSample.js | 2 +- ...sUpdateAPrivateEndpointConnectionSample.js | 4 +- .../javascript/diskAccessesUpdateSample.js | 4 +- .../diskEncryptionSetsCreateOrUpdateSample.js | 12 +- .../diskEncryptionSetsDeleteSample.js | 4 +- .../javascript/diskEncryptionSetsGetSample.js | 4 +- ...yptionSetsListAssociatedResourcesSample.js | 2 +- ...EncryptionSetsListByResourceGroupSample.js | 2 +- .../diskEncryptionSetsListSample.js | 2 +- .../diskEncryptionSetsUpdateSample.js | 16 +- .../javascript/diskRestorePointGetSample.js | 4 +- .../diskRestorePointGrantAccessSample.js | 4 +- ...iskRestorePointListByRestorePointSample.js | 2 +- .../diskRestorePointRevokeAccessSample.js | 4 +- .../javascript/disksCreateOrUpdateSample.js | 96 +- .../v1-beta/javascript/disksDeleteSample.js | 4 +- .../v1-beta/javascript/disksGetSample.js | 2 +- .../javascript/disksGrantAccessSample.js | 8 +- .../disksListByResourceGroupSample.js | 2 +- .../javascript/disksRevokeAccessSample.js | 4 +- .../v1-beta/javascript/disksUpdateSample.js | 40 +- .../galleriesCreateOrUpdateSample.js | 16 +- .../javascript/galleriesDeleteSample.js | 4 +- .../v1-beta/javascript/galleriesGetSample.js | 8 +- .../galleriesListByResourceGroupSample.js | 2 +- .../javascript/galleriesUpdateSample.js | 4 +- ...ApplicationVersionsCreateOrUpdateSample.js | 4 +- .../galleryApplicationVersionsDeleteSample.js | 4 +- .../galleryApplicationVersionsGetSample.js | 4 +- ...nVersionsListByGalleryApplicationSample.js | 2 +- .../galleryApplicationVersionsUpdateSample.js | 4 +- ...galleryApplicationsCreateOrUpdateSample.js | 4 +- .../galleryApplicationsDeleteSample.js | 4 +- .../galleryApplicationsGetSample.js | 2 +- .../galleryApplicationsListByGallerySample.js | 2 +- .../galleryApplicationsUpdateSample.js | 4 +- ...alleryImageVersionsCreateOrUpdateSample.js | 32 +- .../galleryImageVersionsDeleteSample.js | 4 +- .../galleryImageVersionsGetSample.js | 8 +- ...ryImageVersionsListByGalleryImageSample.js | 2 +- .../galleryImageVersionsUpdateSample.js | 8 +- .../galleryImagesCreateOrUpdateSample.js | 4 +- .../javascript/galleryImagesDeleteSample.js | 4 +- .../javascript/galleryImagesGetSample.js | 2 +- .../galleryImagesListByGallerySample.js | 2 +- .../javascript/galleryImagesUpdateSample.js | 4 +- .../gallerySharingProfileUpdateSample.js | 12 +- .../javascript/imagesCreateOrUpdateSample.js | 40 +- .../v1-beta/javascript/imagesDeleteSample.js | 8 +- .../v1-beta/javascript/imagesGetSample.js | 2 +- .../imagesListByResourceGroupSample.js | 2 +- .../v1-beta/javascript/imagesUpdateSample.js | 4 +- ...lyticsExportRequestRateByIntervalSample.js | 6 +- ...gAnalyticsExportThrottledRequestsSample.js | 6 +- .../samples/v1-beta/javascript/package.json | 2 +- ...mityPlacementGroupsCreateOrUpdateSample.js | 2 +- .../proximityPlacementGroupsDeleteSample.js | 2 +- .../proximityPlacementGroupsGetSample.js | 2 +- ...lacementGroupsListByResourceGroupSample.js | 2 +- ...PlacementGroupsListBySubscriptionSample.js | 2 +- .../proximityPlacementGroupsUpdateSample.js | 2 +- ...orePointCollectionsCreateOrUpdateSample.js | 4 +- .../restorePointCollectionsDeleteSample.js | 8 +- .../restorePointCollectionsGetSample.js | 8 +- .../restorePointCollectionsListAllSample.js | 2 +- .../restorePointCollectionsListSample.js | 2 +- .../restorePointCollectionsUpdateSample.js | 4 +- .../javascript/restorePointsCreateSample.js | 8 +- .../javascript/restorePointsDeleteSample.js | 8 +- .../javascript/restorePointsGetSample.js | 4 +- .../javascript/sharedGalleriesGetSample.js | 2 +- .../javascript/sharedGalleriesListSample.js | 2 +- .../sharedGalleryImageVersionsGetSample.js | 2 +- .../sharedGalleryImageVersionsListSample.js | 2 +- .../sharedGalleryImagesGetSample.js | 2 +- .../sharedGalleryImagesListSample.js | 2 +- .../snapshotsCreateOrUpdateSample.js | 18 +- .../javascript/snapshotsDeleteSample.js | 4 +- .../v1-beta/javascript/snapshotsGetSample.js | 4 +- .../javascript/snapshotsGrantAccessSample.js | 4 +- .../snapshotsListByResourceGroupSample.js | 2 +- .../javascript/snapshotsRevokeAccessSample.js | 4 +- .../javascript/snapshotsUpdateSample.js | 8 +- .../javascript/sshPublicKeysCreateSample.js | 2 +- .../javascript/sshPublicKeysDeleteSample.js | 4 +- .../sshPublicKeysGenerateKeyPairSample.js | 2 +- .../javascript/sshPublicKeysGetSample.js | 2 +- .../sshPublicKeysListByResourceGroupSample.js | 4 +- .../sshPublicKeysListBySubscriptionSample.js | 4 +- .../javascript/sshPublicKeysUpdateSample.js | 4 +- .../v1-beta/javascript/usageListSample.js | 4 +- .../virtualMachineExtensionImagesGetSample.js | 4 +- ...alMachineExtensionImagesListTypesSample.js | 4 +- ...achineExtensionImagesListVersionsSample.js | 4 +- ...alMachineExtensionsCreateOrUpdateSample.js | 8 +- .../virtualMachineExtensionsDeleteSample.js | 8 +- .../virtualMachineExtensionsGetSample.js | 4 +- .../virtualMachineExtensionsListSample.js | 4 +- .../virtualMachineExtensionsUpdateSample.js | 4 +- .../virtualMachineImagesEdgeZoneGetSample.js | 4 +- ...alMachineImagesEdgeZoneListOffersSample.js | 4 +- ...chineImagesEdgeZoneListPublishersSample.js | 4 +- .../virtualMachineImagesEdgeZoneListSample.js | 4 +- ...tualMachineImagesEdgeZoneListSkusSample.js | 4 +- .../virtualMachineImagesGetSample.js | 4 +- ...irtualMachineImagesListByEdgeZoneSample.js | 4 +- .../virtualMachineImagesListOffersSample.js | 4 +- ...irtualMachineImagesListPublishersSample.js | 4 +- .../virtualMachineImagesListSample.js | 4 +- .../virtualMachineImagesListSkusSample.js | 4 +- ...lMachineRunCommandsCreateOrUpdateSample.js | 4 +- .../virtualMachineRunCommandsDeleteSample.js | 4 +- ...ineRunCommandsGetByVirtualMachineSample.js | 2 +- .../virtualMachineRunCommandsGetSample.js | 2 +- ...neRunCommandsListByVirtualMachineSample.js | 2 +- .../virtualMachineRunCommandsListSample.js | 2 +- .../virtualMachineRunCommandsUpdateSample.js | 4 +- ...eScaleSetExtensionsCreateOrUpdateSample.js | 8 +- ...alMachineScaleSetExtensionsDeleteSample.js | 8 +- ...rtualMachineScaleSetExtensionsGetSample.js | 4 +- ...tualMachineScaleSetExtensionsListSample.js | 4 +- ...alMachineScaleSetExtensionsUpdateSample.js | 8 +- ...hineScaleSetRollingUpgradesCancelSample.js | 8 +- ...eScaleSetRollingUpgradesGetLatestSample.js | 4 +- ...lingUpgradesStartExtensionUpgradeSample.js | 4 +- ...eSetRollingUpgradesStartOSUpgradeSample.js | 8 +- ...caleSetVMExtensionsCreateOrUpdateSample.js | 4 +- ...MachineScaleSetVMExtensionsDeleteSample.js | 4 +- ...ualMachineScaleSetVMExtensionsGetSample.js | 2 +- ...alMachineScaleSetVMExtensionsListSample.js | 2 +- ...MachineScaleSetVMExtensionsUpdateSample.js | 4 +- ...aleSetVMRunCommandsCreateOrUpdateSample.js | 4 +- ...achineScaleSetVMRunCommandsDeleteSample.js | 4 +- ...alMachineScaleSetVMRunCommandsGetSample.js | 2 +- ...lMachineScaleSetVMRunCommandsListSample.js | 2 +- ...achineScaleSetVMRunCommandsUpdateSample.js | 4 +- ...rtualMachineScaleSetVMSDeallocateSample.js | 8 +- .../virtualMachineScaleSetVMSDeleteSample.js | 4 +- ...MachineScaleSetVMSGetInstanceViewSample.js | 4 +- .../virtualMachineScaleSetVMSGetSample.js | 4 +- .../virtualMachineScaleSetVMSListSample.js | 4 +- ...hineScaleSetVMSPerformMaintenanceSample.js | 8 +- ...virtualMachineScaleSetVMSPowerOffSample.js | 8 +- ...virtualMachineScaleSetVMSRedeploySample.js | 8 +- ...rtualMachineScaleSetVMSReimageAllSample.js | 8 +- .../virtualMachineScaleSetVMSReimageSample.js | 8 +- .../virtualMachineScaleSetVMSRestartSample.js | 8 +- ...SetVMSRetrieveBootDiagnosticsDataSample.js | 2 +- ...rtualMachineScaleSetVMSRunCommandSample.js | 4 +- ...achineScaleSetVMSSimulateEvictionSample.js | 2 +- .../virtualMachineScaleSetVMSStartSample.js | 8 +- .../virtualMachineScaleSetVMSUpdateSample.js | 8 +- ...SetsConvertToSinglePlacementGroupSample.js | 4 +- ...ualMachineScaleSetsCreateOrUpdateSample.js | 144 +- ...virtualMachineScaleSetsDeallocateSample.js | 8 +- ...alMachineScaleSetsDeleteInstancesSample.js | 8 +- .../virtualMachineScaleSetsDeleteSample.js | 4 +- ...iceFabricPlatformUpdateDomainWalkSample.js | 8 +- ...alMachineScaleSetsGetInstanceViewSample.js | 4 +- ...chineScaleSetsGetOSUpgradeHistorySample.js | 4 +- .../virtualMachineScaleSetsGetSample.js | 10 +- .../virtualMachineScaleSetsListAllSample.js | 4 +- ...ualMachineScaleSetsListByLocationSample.js | 2 +- .../virtualMachineScaleSetsListSample.js | 4 +- .../virtualMachineScaleSetsListSkusSample.js | 4 +- ...achineScaleSetsPerformMaintenanceSample.js | 8 +- .../virtualMachineScaleSetsPowerOffSample.js | 8 +- .../virtualMachineScaleSetsRedeploySample.js | 8 +- ...virtualMachineScaleSetsReimageAllSample.js | 8 +- .../virtualMachineScaleSetsReimageSample.js | 8 +- .../virtualMachineScaleSetsRestartSample.js | 8 +- ...eSetsSetOrchestrationServiceStateSample.js | 8 +- .../virtualMachineScaleSetsStartSample.js | 8 +- ...alMachineScaleSetsUpdateInstancesSample.js | 8 +- .../virtualMachineScaleSetsUpdateSample.js | 8 +- .../virtualMachineSizesListSample.js | 4 +- .../virtualMachinesAssessPatchesSample.js | 4 +- .../virtualMachinesCaptureSample.js | 8 +- ...tualMachinesConvertToManagedDisksSample.js | 8 +- .../virtualMachinesCreateOrUpdateSample.js | 182 +- .../virtualMachinesDeallocateSample.js | 8 +- .../javascript/virtualMachinesDeleteSample.js | 4 +- .../virtualMachinesGeneralizeSample.js | 2 +- .../javascript/virtualMachinesGetSample.js | 8 +- .../virtualMachinesInstallPatchesSample.js | 4 +- .../virtualMachinesInstanceViewSample.js | 6 +- .../virtualMachinesListAllSample.js | 4 +- ...virtualMachinesListAvailableSizesSample.js | 4 +- .../virtualMachinesListByLocationSample.js | 4 +- .../javascript/virtualMachinesListSample.js | 4 +- ...virtualMachinesPerformMaintenanceSample.js | 8 +- .../virtualMachinesPowerOffSample.js | 8 +- .../virtualMachinesReapplySample.js | 4 +- .../virtualMachinesRedeploySample.js | 8 +- .../virtualMachinesReimageSample.js | 4 +- .../virtualMachinesRestartSample.js | 8 +- ...chinesRetrieveBootDiagnosticsDataSample.js | 2 +- .../virtualMachinesRunCommandSample.js | 4 +- .../virtualMachinesSimulateEvictionSample.js | 2 +- .../javascript/virtualMachinesStartSample.js | 8 +- .../javascript/virtualMachinesUpdateSample.js | 8 +- .../samples/v1-beta/typescript/package.json | 4 +- .../availabilitySetsCreateOrUpdateSample.ts | 8 +- .../src/availabilitySetsDeleteSample.ts | 10 +- .../src/availabilitySetsGetSample.ts | 10 +- ...vailabilitySetsListAvailableSizesSample.ts | 10 +- ...vailabilitySetsListBySubscriptionSample.ts | 8 +- .../src/availabilitySetsListSample.ts | 10 +- .../src/availabilitySetsUpdateSample.ts | 22 +- ...tyReservationGroupsCreateOrUpdateSample.ts | 8 +- .../capacityReservationGroupsDeleteSample.ts | 10 +- .../src/capacityReservationGroupsGetSample.ts | 6 +- ...ervationGroupsListByResourceGroupSample.ts | 8 +- ...servationGroupsListBySubscriptionSample.ts | 8 +- .../capacityReservationGroupsUpdateSample.ts | 10 +- ...apacityReservationsCreateOrUpdateSample.ts | 10 +- .../src/capacityReservationsDeleteSample.ts | 14 +- .../src/capacityReservationsGetSample.ts | 6 +- ...onsListByCapacityReservationGroupSample.ts | 6 +- .../src/capacityReservationsUpdateSample.ts | 24 +- ...erviceOperatingSystemsGetOSFamilySample.ts | 6 +- ...rviceOperatingSystemsGetOSVersionSample.ts | 6 +- ...iceOperatingSystemsListOSFamiliesSample.ts | 6 +- ...iceOperatingSystemsListOSVersionsSample.ts | 6 +- .../cloudServiceRoleInstancesDeleteSample.ts | 8 +- ...rviceRoleInstancesGetInstanceViewSample.ts | 6 +- ...RoleInstancesGetRemoteDesktopFileSample.ts | 6 +- .../src/cloudServiceRoleInstancesGetSample.ts | 6 +- .../cloudServiceRoleInstancesListSample.ts | 6 +- .../cloudServiceRoleInstancesRebuildSample.ts | 8 +- .../cloudServiceRoleInstancesReimageSample.ts | 8 +- .../cloudServiceRoleInstancesRestartSample.ts | 8 +- .../src/cloudServiceRolesGetSample.ts | 6 +- .../src/cloudServiceRolesListSample.ts | 6 +- .../src/cloudServicesCreateOrUpdateSample.ts | 164 +- .../src/cloudServicesDeleteInstancesSample.ts | 8 +- .../src/cloudServicesDeleteSample.ts | 8 +- .../src/cloudServicesGetInstanceViewSample.ts | 6 +- .../typescript/src/cloudServicesGetSample.ts | 8 +- .../src/cloudServicesListAllSample.ts | 6 +- .../typescript/src/cloudServicesListSample.ts | 6 +- .../src/cloudServicesPowerOffSample.ts | 8 +- .../src/cloudServicesRebuildSample.ts | 8 +- .../src/cloudServicesReimageSample.ts | 8 +- .../src/cloudServicesRestartSample.ts | 8 +- .../src/cloudServicesStartSample.ts | 8 +- ...rvicesUpdateDomainGetUpdateDomainSample.ts | 6 +- ...icesUpdateDomainListUpdateDomainsSample.ts | 6 +- ...vicesUpdateDomainWalkUpdateDomainSample.ts | 8 +- .../src/cloudServicesUpdateSample.ts | 8 +- .../src/communityGalleriesGetSample.ts | 6 +- .../communityGalleryImageVersionsGetSample.ts | 6 +- ...communityGalleryImageVersionsListSample.ts | 6 +- .../src/communityGalleryImagesGetSample.ts | 6 +- .../src/communityGalleryImagesListSample.ts | 6 +- ...dedicatedHostGroupsCreateOrUpdateSample.ts | 18 +- .../src/dedicatedHostGroupsDeleteSample.ts | 10 +- .../src/dedicatedHostGroupsGetSample.ts | 10 +- ...atedHostGroupsListByResourceGroupSample.ts | 10 +- ...catedHostGroupsListBySubscriptionSample.ts | 16 +- .../src/dedicatedHostGroupsUpdateSample.ts | 26 +- .../src/dedicatedHostsCreateOrUpdateSample.ts | 10 +- .../src/dedicatedHostsDeleteSample.ts | 14 +- .../typescript/src/dedicatedHostsGetSample.ts | 6 +- .../dedicatedHostsListByHostGroupSample.ts | 10 +- .../src/dedicatedHostsRestartSample.ts | 8 +- .../src/dedicatedHostsUpdateSample.ts | 26 +- .../src/diskAccessesCreateOrUpdateSample.ts | 8 +- ...sDeleteAPrivateEndpointConnectionSample.ts | 8 +- .../src/diskAccessesDeleteSample.ts | 8 +- ...ssesGetAPrivateEndpointConnectionSample.ts | 10 +- ...skAccessesGetPrivateLinkResourcesSample.ts | 10 +- .../typescript/src/diskAccessesGetSample.ts | 16 +- .../diskAccessesListByResourceGroupSample.ts | 6 +- ...sesListPrivateEndpointConnectionsSample.ts | 10 +- .../typescript/src/diskAccessesListSample.ts | 6 +- ...sUpdateAPrivateEndpointConnectionSample.ts | 18 +- .../src/diskAccessesUpdateSample.ts | 8 +- .../diskEncryptionSetsCreateOrUpdateSample.ts | 52 +- .../src/diskEncryptionSetsDeleteSample.ts | 8 +- .../src/diskEncryptionSetsGetSample.ts | 14 +- ...yptionSetsListAssociatedResourcesSample.ts | 10 +- ...EncryptionSetsListByResourceGroupSample.ts | 6 +- .../src/diskEncryptionSetsListSample.ts | 6 +- .../src/diskEncryptionSetsUpdateSample.ts | 50 +- .../src/diskRestorePointGetSample.ts | 20 +- .../src/diskRestorePointGrantAccessSample.ts | 11 +- ...iskRestorePointListByRestorePointSample.ts | 6 +- .../src/diskRestorePointRevokeAccessSample.ts | 11 +- .../src/disksCreateOrUpdateSample.ts | 321 ++-- .../typescript/src/disksDeleteSample.ts | 8 +- .../v1-beta/typescript/src/disksGetSample.ts | 8 +- .../typescript/src/disksGrantAccessSample.ts | 16 +- .../src/disksListByResourceGroupSample.ts | 6 +- .../v1-beta/typescript/src/disksListSample.ts | 9 +- .../typescript/src/disksRevokeAccessSample.ts | 8 +- .../typescript/src/disksUpdateSample.ts | 72 +- .../src/galleriesCreateOrUpdateSample.ts | 44 +- .../typescript/src/galleriesDeleteSample.ts | 8 +- .../typescript/src/galleriesGetSample.ts | 22 +- .../src/galleriesListByResourceGroupSample.ts | 6 +- .../typescript/src/galleriesListSample.ts | 9 +- .../typescript/src/galleriesUpdateSample.ts | 8 +- ...ApplicationVersionsCreateOrUpdateSample.ts | 22 +- .../galleryApplicationVersionsDeleteSample.ts | 8 +- .../galleryApplicationVersionsGetSample.ts | 12 +- ...nVersionsListByGalleryApplicationSample.ts | 10 +- .../galleryApplicationVersionsUpdateSample.ts | 22 +- ...galleryApplicationsCreateOrUpdateSample.ts | 12 +- .../src/galleryApplicationsDeleteSample.ts | 8 +- .../src/galleryApplicationsGetSample.ts | 6 +- .../galleryApplicationsListByGallerySample.ts | 6 +- .../src/galleryApplicationsUpdateSample.ts | 12 +- ...alleryImageVersionsCreateOrUpdateSample.ts | 361 ++-- .../src/galleryImageVersionsDeleteSample.ts | 8 +- .../src/galleryImageVersionsGetSample.ts | 20 +- ...ryImageVersionsListByGalleryImageSample.ts | 6 +- .../src/galleryImageVersionsUpdateSample.ts | 39 +- .../src/galleryImagesCreateOrUpdateSample.ts | 14 +- .../src/galleryImagesDeleteSample.ts | 8 +- .../typescript/src/galleryImagesGetSample.ts | 8 +- .../src/galleryImagesListByGallerySample.ts | 6 +- .../src/galleryImagesUpdateSample.ts | 14 +- .../src/gallerySharingProfileUpdateSample.ts | 29 +- .../src/imagesCreateOrUpdateSample.ts | 218 +-- .../typescript/src/imagesDeleteSample.ts | 14 +- .../v1-beta/typescript/src/imagesGetSample.ts | 8 +- .../src/imagesListByResourceGroupSample.ts | 6 +- .../typescript/src/imagesListSample.ts | 9 +- .../typescript/src/imagesUpdateSample.ts | 15 +- ...lyticsExportRequestRateByIntervalSample.ts | 12 +- ...gAnalyticsExportThrottledRequestsSample.ts | 12 +- .../typescript/src/operationsListSample.ts | 16 +- ...mityPlacementGroupsCreateOrUpdateSample.ts | 10 +- .../proximityPlacementGroupsDeleteSample.ts | 6 +- .../src/proximityPlacementGroupsGetSample.ts | 6 +- ...lacementGroupsListByResourceGroupSample.ts | 6 +- ...PlacementGroupsListBySubscriptionSample.ts | 6 +- .../proximityPlacementGroupsUpdateSample.ts | 6 +- .../typescript/src/resourceSkusListSample.ts | 31 +- ...orePointCollectionsCreateOrUpdateSample.ts | 24 +- .../restorePointCollectionsDeleteSample.ts | 14 +- .../src/restorePointCollectionsGetSample.ts | 14 +- .../restorePointCollectionsListAllSample.ts | 6 +- .../src/restorePointCollectionsListSample.ts | 6 +- .../restorePointCollectionsUpdateSample.ts | 17 +- .../src/restorePointsCreateSample.ts | 30 +- .../src/restorePointsDeleteSample.ts | 14 +- .../typescript/src/restorePointsGetSample.ts | 12 +- .../src/sharedGalleriesGetSample.ts | 6 +- .../src/sharedGalleriesListSample.ts | 6 +- .../sharedGalleryImageVersionsGetSample.ts | 6 +- .../sharedGalleryImageVersionsListSample.ts | 6 +- .../src/sharedGalleryImagesGetSample.ts | 6 +- .../src/sharedGalleryImagesListSample.ts | 6 +- .../src/snapshotsCreateOrUpdateSample.ts | 68 +- .../typescript/src/snapshotsDeleteSample.ts | 8 +- .../typescript/src/snapshotsGetSample.ts | 12 +- .../src/snapshotsGrantAccessSample.ts | 8 +- .../src/snapshotsListByResourceGroupSample.ts | 6 +- .../typescript/src/snapshotsListSample.ts | 9 +- .../src/snapshotsRevokeAccessSample.ts | 8 +- .../typescript/src/snapshotsUpdateSample.ts | 20 +- .../src/sshPublicKeysCreateSample.ts | 8 +- .../src/sshPublicKeysDeleteSample.ts | 10 +- .../src/sshPublicKeysGenerateKeyPairSample.ts | 6 +- .../typescript/src/sshPublicKeysGetSample.ts | 8 +- .../sshPublicKeysListByResourceGroupSample.ts | 10 +- .../sshPublicKeysListBySubscriptionSample.ts | 10 +- .../src/sshPublicKeysUpdateSample.ts | 12 +- .../v1-beta/typescript/src/usageListSample.ts | 10 +- .../virtualMachineExtensionImagesGetSample.ts | 10 +- ...alMachineExtensionImagesListTypesSample.ts | 10 +- ...achineExtensionImagesListVersionsSample.ts | 12 +- ...alMachineExtensionsCreateOrUpdateSample.ts | 28 +- .../virtualMachineExtensionsDeleteSample.ts | 14 +- .../src/virtualMachineExtensionsGetSample.ts | 10 +- .../src/virtualMachineExtensionsListSample.ts | 12 +- .../virtualMachineExtensionsUpdateSample.ts | 17 +- .../virtualMachineImagesEdgeZoneGetSample.ts | 10 +- ...alMachineImagesEdgeZoneListOffersSample.ts | 10 +- ...chineImagesEdgeZoneListPublishersSample.ts | 10 +- .../virtualMachineImagesEdgeZoneListSample.ts | 12 +- ...tualMachineImagesEdgeZoneListSkusSample.ts | 10 +- .../src/virtualMachineImagesGetSample.ts | 10 +- ...irtualMachineImagesListByEdgeZoneSample.ts | 10 +- .../virtualMachineImagesListOffersSample.ts | 10 +- ...irtualMachineImagesListPublishersSample.ts | 10 +- .../src/virtualMachineImagesListSample.ts | 12 +- .../src/virtualMachineImagesListSkusSample.ts | 10 +- ...lMachineRunCommandsCreateOrUpdateSample.ts | 14 +- .../virtualMachineRunCommandsDeleteSample.ts | 8 +- ...ineRunCommandsGetByVirtualMachineSample.ts | 6 +- .../src/virtualMachineRunCommandsGetSample.ts | 6 +- ...neRunCommandsListByVirtualMachineSample.ts | 6 +- .../virtualMachineRunCommandsListSample.ts | 6 +- .../virtualMachineRunCommandsUpdateSample.ts | 10 +- ...eScaleSetExtensionsCreateOrUpdateSample.ts | 26 +- ...alMachineScaleSetExtensionsDeleteSample.ts | 14 +- ...rtualMachineScaleSetExtensionsGetSample.ts | 10 +- ...tualMachineScaleSetExtensionsListSample.ts | 10 +- ...alMachineScaleSetExtensionsUpdateSample.ts | 18 +- ...hineScaleSetRollingUpgradesCancelSample.ts | 14 +- ...eScaleSetRollingUpgradesGetLatestSample.ts | 18 +- ...lingUpgradesStartExtensionUpgradeSample.ts | 8 +- ...eSetRollingUpgradesStartOSUpgradeSample.ts | 22 +- ...caleSetVMExtensionsCreateOrUpdateSample.ts | 12 +- ...MachineScaleSetVMExtensionsDeleteSample.ts | 8 +- ...ualMachineScaleSetVMExtensionsGetSample.ts | 6 +- ...alMachineScaleSetVMExtensionsListSample.ts | 6 +- ...MachineScaleSetVMExtensionsUpdateSample.ts | 12 +- ...aleSetVMRunCommandsCreateOrUpdateSample.ts | 14 +- ...achineScaleSetVMRunCommandsDeleteSample.ts | 8 +- ...alMachineScaleSetVMRunCommandsGetSample.ts | 6 +- ...lMachineScaleSetVMRunCommandsListSample.ts | 6 +- ...achineScaleSetVMRunCommandsUpdateSample.ts | 10 +- ...rtualMachineScaleSetVMSDeallocateSample.ts | 14 +- .../virtualMachineScaleSetVMSDeleteSample.ts | 8 +- ...MachineScaleSetVMSGetInstanceViewSample.ts | 8 +- .../src/virtualMachineScaleSetVMSGetSample.ts | 10 +- .../virtualMachineScaleSetVMSListSample.ts | 12 +- ...hineScaleSetVMSPerformMaintenanceSample.ts | 14 +- ...virtualMachineScaleSetVMSPowerOffSample.ts | 14 +- ...virtualMachineScaleSetVMSRedeploySample.ts | 14 +- ...rtualMachineScaleSetVMSReimageAllSample.ts | 14 +- .../virtualMachineScaleSetVMSReimageSample.ts | 14 +- .../virtualMachineScaleSetVMSRestartSample.ts | 14 +- ...SetVMSRetrieveBootDiagnosticsDataSample.ts | 8 +- ...rtualMachineScaleSetVMSRunCommandSample.ts | 10 +- ...achineScaleSetVMSSimulateEvictionSample.ts | 6 +- .../virtualMachineScaleSetVMSStartSample.ts | 14 +- .../virtualMachineScaleSetVMSUpdateSample.ts | 274 ++- ...SetsConvertToSinglePlacementGroupSample.ts | 18 +- ...ualMachineScaleSetsCreateOrUpdateSample.ts | 1520 +++++++-------- ...virtualMachineScaleSetsDeallocateSample.ts | 14 +- ...alMachineScaleSetsDeleteInstancesSample.ts | 14 +- .../virtualMachineScaleSetsDeleteSample.ts | 8 +- ...iceFabricPlatformUpdateDomainWalkSample.ts | 24 +- ...alMachineScaleSetsGetInstanceViewSample.ts | 10 +- ...chineScaleSetsGetOSUpgradeHistorySample.ts | 10 +- .../src/virtualMachineScaleSetsGetSample.ts | 20 +- .../virtualMachineScaleSetsListAllSample.ts | 10 +- ...ualMachineScaleSetsListByLocationSample.ts | 10 +- .../src/virtualMachineScaleSetsListSample.ts | 10 +- .../virtualMachineScaleSetsListSkusSample.ts | 10 +- ...achineScaleSetsPerformMaintenanceSample.ts | 14 +- .../virtualMachineScaleSetsPowerOffSample.ts | 14 +- .../virtualMachineScaleSetsRedeploySample.ts | 14 +- ...virtualMachineScaleSetsReimageAllSample.ts | 14 +- .../virtualMachineScaleSetsReimageSample.ts | 14 +- .../virtualMachineScaleSetsRestartSample.ts | 14 +- ...eSetsSetOrchestrationServiceStateSample.ts | 22 +- .../src/virtualMachineScaleSetsStartSample.ts | 14 +- ...alMachineScaleSetsUpdateInstancesSample.ts | 14 +- .../virtualMachineScaleSetsUpdateSample.ts | 155 +- .../src/virtualMachineSizesListSample.ts | 10 +- .../src/virtualMachinesAssessPatchesSample.ts | 8 +- .../src/virtualMachinesCaptureSample.ts | 18 +- ...tualMachinesConvertToManagedDisksSample.ts | 14 +- .../virtualMachinesCreateOrUpdateSample.ts | 1392 +++++++------- .../src/virtualMachinesDeallocateSample.ts | 14 +- .../src/virtualMachinesDeleteSample.ts | 8 +- .../src/virtualMachinesGeneralizeSample.ts | 6 +- .../src/virtualMachinesGetSample.ts | 22 +- .../virtualMachinesInstallPatchesSample.ts | 12 +- .../src/virtualMachinesInstanceViewSample.ts | 12 +- .../src/virtualMachinesListAllSample.ts | 12 +- ...virtualMachinesListAvailableSizesSample.ts | 8 +- .../virtualMachinesListByLocationSample.ts | 8 +- .../src/virtualMachinesListSample.ts | 12 +- ...virtualMachinesPerformMaintenanceSample.ts | 14 +- .../src/virtualMachinesPowerOffSample.ts | 14 +- .../src/virtualMachinesReapplySample.ts | 8 +- .../src/virtualMachinesRedeploySample.ts | 14 +- .../src/virtualMachinesReimageSample.ts | 8 +- .../src/virtualMachinesRestartSample.ts | 14 +- ...chinesRetrieveBootDiagnosticsDataSample.ts | 8 +- .../src/virtualMachinesRunCommandSample.ts | 8 +- .../virtualMachinesSimulateEvictionSample.ts | 6 +- .../src/virtualMachinesStartSample.ts | 14 +- .../src/virtualMachinesUpdateSample.ts | 68 +- .../samples/v1-beta/typescript/tsconfig.json | 2 +- .../arm-compute-rest/src/clientDefinitions.ts | 1682 ++++++++--------- .../src/computeManagementClient.ts | 36 +- .../arm-compute-rest/src/isUnexpected.ts | 1429 +++++++------- sdk/compute/arm-compute-rest/src/logger.ts | 5 + sdk/compute/arm-compute-rest/src/models.ts | 492 +---- .../arm-compute-rest/src/outputModels.ts | 800 ++++---- .../arm-compute-rest/src/paginateHelper.ts | 146 +- .../arm-compute-rest/src/parameters.ts | 104 +- .../arm-compute-rest/src/pollingHelper.ts | 164 +- sdk/compute/arm-compute-rest/src/responses.ts | 383 +--- .../arm-compute-rest/swagger/README.md | 6 +- .../test/public/compute-rest-sample.spec.ts | 6 +- 694 files changed, 7707 insertions(+), 9111 deletions(-) create mode 100644 sdk/compute/arm-compute-rest/src/logger.ts diff --git a/sdk/compute/arm-compute-rest/karma.conf.js b/sdk/compute/arm-compute-rest/karma.conf.js index 782c9d1621b0..4fdf26c79ac0 100644 --- a/sdk/compute/arm-compute-rest/karma.conf.js +++ b/sdk/compute/arm-compute-rest/karma.conf.js @@ -52,13 +52,13 @@ module.exports = function (config) { }, envPreprocessor: [ - "RECORDINGS_RELATIVE_PATH", "TEST_MODE", "ENDPOINT", "AZURE_CLIENT_SECRET", "AZURE_CLIENT_ID", "AZURE_TENANT_ID", "SUBSCRIPTION_ID", + "RECORDINGS_RELATIVE_PATH", ], // test results reporter to use diff --git a/sdk/compute/arm-compute-rest/package.json b/sdk/compute/arm-compute-rest/package.json index 1f7875e23044..3979701fad78 100644 --- a/sdk/compute/arm-compute-rest/package.json +++ b/sdk/compute/arm-compute-rest/package.json @@ -63,11 +63,12 @@ "dependencies": { "@azure-rest/core-client": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^2.2.0", + "@azure/core-lro": "^3.1.0", "@azure/core-paging": "^1.2.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", - "tslib": "^2.2.0" + "tslib": "^2.2.0", + "@azure/abort-controller": "^2.1.2" }, "devDependencies": { "@azure-tools/test-credential": "^1.0.0", diff --git a/sdk/compute/arm-compute-rest/review/arm-compute.api.md b/sdk/compute/arm-compute-rest/review/arm-compute.api.md index fbcf6d59ac8d..8309645a5714 100644 --- a/sdk/compute/arm-compute-rest/review/arm-compute.api.md +++ b/sdk/compute/arm-compute-rest/review/arm-compute.api.md @@ -4,22 +4,22 @@ ```ts +import type { AbortSignalLike } from '@azure/abort-controller'; +import type { CancelOnProgress } from '@azure/core-lro'; import type { Client } from '@azure-rest/core-client'; import type { ClientOptions } from '@azure-rest/core-client'; +import type { CreateHttpPollerOptions } from '@azure/core-lro'; import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PagedAsyncIterableIterator } from '@azure/core-paging'; +import type { OperationState } from '@azure/core-lro'; import type { PathUncheckedResponse } from '@azure-rest/core-client'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; import type { RequestParameters } from '@azure-rest/core-client'; import type { StreamableMethod } from '@azure-rest/core-client'; import type { TokenCredential } from '@azure/core-auth'; // @public export interface AccessUriOutput { - accessSAS?: string; - securityDataAccessSAS?: string; + readonly accessSAS?: string; + readonly securityDataAccessSAS?: string; } // @public @@ -163,7 +163,6 @@ export interface AvailabilitySetProperties { platformFaultDomainCount?: number; platformUpdateDomainCount?: number; proximityPlacementGroup?: SubResource; - statuses?: Array; virtualMachines?: Array; } @@ -172,7 +171,7 @@ export interface AvailabilitySetPropertiesOutput { platformFaultDomainCount?: number; platformUpdateDomainCount?: number; proximityPlacementGroup?: SubResourceOutput; - statuses?: Array; + readonly statuses?: Array; virtualMachines?: Array; } @@ -226,16 +225,12 @@ export interface AvailabilitySetsCreateOrUpdateQueryParamProperties { // @public export interface AvailabilitySetsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AvailabilitySetsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -446,26 +441,18 @@ export interface AvailabilitySetUpdate extends UpdateResource { // @public export interface AvailablePatchSummary { - assessmentActivityId?: string; - criticalAndSecurityPatchCount?: number; - error?: ApiError; - lastModifiedTime?: Date | string; - otherPatchCount?: number; - rebootPending?: boolean; - startTime?: Date | string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public export interface AvailablePatchSummaryOutput { - assessmentActivityId?: string; - criticalAndSecurityPatchCount?: number; - error?: ApiErrorOutput; - lastModifiedTime?: string; - otherPatchCount?: number; - rebootPending?: boolean; - startTime?: string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly assessmentActivityId?: string; + readonly criticalAndSecurityPatchCount?: number; + readonly error?: ApiErrorOutput; + readonly lastModifiedTime?: string; + readonly otherPatchCount?: number; + readonly rebootPending?: boolean; + readonly startTime?: string; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public @@ -486,16 +473,13 @@ export interface BootDiagnostics { // @public export interface BootDiagnosticsInstanceView { - consoleScreenshotBlobUri?: string; - serialConsoleLogBlobUri?: string; - status?: InstanceViewStatus; } // @public export interface BootDiagnosticsInstanceViewOutput { - consoleScreenshotBlobUri?: string; - serialConsoleLogBlobUri?: string; - status?: InstanceViewStatusOutput; + readonly consoleScreenshotBlobUri?: string; + readonly serialConsoleLogBlobUri?: string; + readonly status?: InstanceViewStatusOutput; } // @public @@ -519,12 +503,11 @@ export interface CapacityReservationGroup extends Resource { // @public (undocumented) export interface CapacityReservationGroupInstanceView { - capacityReservations?: Array; } // @public (undocumented) export interface CapacityReservationGroupInstanceViewOutput { - capacityReservations?: Array; + readonly capacityReservations?: Array; } // @public @@ -541,16 +524,13 @@ export interface CapacityReservationGroupOutput extends ResourceOutput { // @public export interface CapacityReservationGroupProperties { - capacityReservations?: Array; - instanceView?: CapacityReservationGroupInstanceView; - virtualMachinesAssociated?: Array; } // @public export interface CapacityReservationGroupPropertiesOutput { - capacityReservations?: Array; - instanceView?: CapacityReservationGroupInstanceViewOutput; - virtualMachinesAssociated?: Array; + readonly capacityReservations?: Array; + readonly instanceView?: CapacityReservationGroupInstanceViewOutput; + readonly virtualMachinesAssociated?: Array; } // @public (undocumented) @@ -611,16 +591,12 @@ export interface CapacityReservationGroupsCreateOrUpdateQueryParamProperties { // @public export interface CapacityReservationGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CapacityReservationGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -809,12 +785,11 @@ export interface CapacityReservationInstanceViewOutput { // @public export interface CapacityReservationInstanceViewWithName extends CapacityReservationInstanceView { - name?: string; } // @public export interface CapacityReservationInstanceViewWithNameOutput extends CapacityReservationInstanceViewOutput { - name?: string; + readonly name?: string; } // @public @@ -842,24 +817,17 @@ export interface CapacityReservationProfileOutput { // @public export interface CapacityReservationProperties { - instanceView?: CapacityReservationInstanceView; - platformFaultDomainCount?: number; - provisioningState?: string; - provisioningTime?: Date | string; - reservationId?: string; - timeCreated?: Date | string; - virtualMachinesAssociated?: Array; } // @public export interface CapacityReservationPropertiesOutput { - instanceView?: CapacityReservationInstanceViewOutput; - platformFaultDomainCount?: number; - provisioningState?: string; - provisioningTime?: string; - reservationId?: string; - timeCreated?: string; - virtualMachinesAssociated?: Array; + readonly instanceView?: CapacityReservationInstanceViewOutput; + readonly platformFaultDomainCount?: number; + readonly provisioningState?: string; + readonly provisioningTime?: string; + readonly reservationId?: string; + readonly timeCreated?: string; + readonly virtualMachinesAssociated?: Array; } // @public (undocumented) @@ -920,24 +888,18 @@ export interface CapacityReservationsCreateOrUpdateQueryParamProperties { // @public export interface CapacityReservationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CapacityReservationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface CapacityReservationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1040,8 +1002,6 @@ export interface CapacityReservationsUpdate200Response extends HttpResponse { // @public export interface CapacityReservationsUpdate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1086,14 +1046,12 @@ export interface CapacityReservationUpdate extends UpdateResource { // @public export interface CapacityReservationUtilization { - currentCapacity?: number; - virtualMachinesAllocated?: Array; } // @public export interface CapacityReservationUtilizationOutput { - currentCapacity?: number; - virtualMachinesAllocated?: Array; + readonly currentCapacity?: number; + readonly virtualMachinesAllocated?: Array; } // @public @@ -1103,13 +1061,10 @@ export interface CloudErrorOutput { // @public export interface CloudService { - id?: string; location: string; - name?: string; properties?: CloudServiceProperties; systemData?: SystemData; tags?: Record; - type?: string; } // @public @@ -1128,7 +1083,6 @@ export interface CloudServiceExtensionProperties { forceUpdateTag?: string; protectedSettings?: any; protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReference; - provisioningState?: string; publisher?: string; rolesAppliedTo?: Array; settings?: any; @@ -1142,7 +1096,7 @@ export interface CloudServiceExtensionPropertiesOutput { forceUpdateTag?: string; protectedSettings?: any; protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReferenceOutput; - provisioningState?: string; + readonly provisioningState?: string; publisher?: string; rolesAppliedTo?: Array; settings?: any; @@ -1152,11 +1106,11 @@ export interface CloudServiceExtensionPropertiesOutput { // @public export interface CloudServiceInstanceViewOutput { - privateIds?: Array; + readonly privateIds?: Array; roleInstance?: InstanceViewStatusesSummaryOutput; - sdkVersion?: string; + readonly sdkVersion?: string; // (undocumented) - statuses?: Array; + readonly statuses?: Array; } // @public @@ -1331,13 +1285,13 @@ export interface CloudServiceOsProfileOutput { // @public export interface CloudServiceOutput { - id?: string; + readonly id?: string; location: string; - name?: string; + readonly name?: string; properties?: CloudServicePropertiesOutput; systemData?: SystemDataOutput; tags?: Record; - type?: string; + readonly type?: string; } // @public @@ -1349,10 +1303,8 @@ export interface CloudServiceProperties { networkProfile?: CloudServiceNetworkProfile; osProfile?: CloudServiceOsProfile; packageUrl?: string; - provisioningState?: string; roleProfile?: CloudServiceRoleProfile; startCloudService?: boolean; - uniqueId?: string; upgradeMode?: "Auto" | "Manual" | "Simultaneous"; } @@ -1365,10 +1317,10 @@ export interface CloudServicePropertiesOutput { networkProfile?: CloudServiceNetworkProfileOutput; osProfile?: CloudServiceOsProfileOutput; packageUrl?: string; - provisioningState?: string; + readonly provisioningState?: string; roleProfile?: CloudServiceRoleProfileOutput; startCloudService?: boolean; - uniqueId?: string; + readonly uniqueId?: string; upgradeMode?: "Auto" | "Manual" | "Simultaneous"; } @@ -1380,24 +1332,18 @@ export interface CloudServiceRoleInstancesDelete { // @public export interface CloudServiceRoleInstancesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServiceRoleInstancesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface CloudServiceRoleInstancesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1504,8 +1450,6 @@ export interface CloudServiceRoleInstancesGetRemoteDesktopFile200Response extend // @public export interface CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: string; } @@ -1567,16 +1511,12 @@ export interface CloudServiceRoleInstancesRebuild { // @public export interface CloudServiceRoleInstancesRebuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServiceRoleInstancesRebuild202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1610,16 +1550,12 @@ export interface CloudServiceRoleInstancesReimage { // @public export interface CloudServiceRoleInstancesReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServiceRoleInstancesReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1653,16 +1589,12 @@ export interface CloudServiceRoleInstancesRestart { // @public export interface CloudServiceRoleInstancesRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServiceRoleInstancesRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1697,12 +1629,12 @@ export interface CloudServiceRoleListResultOutput { // @public export interface CloudServiceRoleOutput { - id?: string; - location?: string; - name?: string; + readonly id?: string; + readonly location?: string; + readonly name?: string; properties?: CloudServiceRolePropertiesOutput; sku?: CloudServiceRoleSkuOutput; - type?: string; + readonly type?: string; } // @public @@ -1729,7 +1661,7 @@ export interface CloudServiceRoleProfilePropertiesOutput { // @public export interface CloudServiceRolePropertiesOutput { - uniqueId?: string; + readonly uniqueId?: string; } // @public (undocumented) @@ -1874,24 +1806,18 @@ export interface CloudServicesCreateOrUpdateQueryParamProperties { // @public export interface CloudServicesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface CloudServicesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1911,16 +1837,12 @@ export interface CloudServicesDeleteInstances { // @public export interface CloudServicesDeleteInstances200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesDeleteInstances202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2113,16 +2035,12 @@ export interface CloudServicesPowerOff { // @public export interface CloudServicesPowerOff200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesPowerOff202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2156,16 +2074,12 @@ export interface CloudServicesRebuild { // @public export interface CloudServicesRebuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesRebuild202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2209,16 +2123,12 @@ export interface CloudServicesReimage { // @public export interface CloudServicesReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2262,16 +2172,12 @@ export interface CloudServicesRestart { // @public export interface CloudServicesRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2315,16 +2221,12 @@ export interface CloudServicesStart { // @public export interface CloudServicesStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2445,16 +2347,12 @@ export interface CloudServicesUpdateDomainWalkUpdateDomain { // @public export interface CloudServicesUpdateDomainWalkUpdateDomain200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesUpdateDomainWalkUpdateDomain202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2777,20 +2675,18 @@ export interface CommunityGalleryImageVersionsListQueryParamProperties { // @public export interface CommunityGalleryInfo { - communityGalleryEnabled?: boolean; eula?: string; publicNamePrefix?: string; - publicNames?: Array; publisherContact?: string; publisherUri?: string; } // @public export interface CommunityGalleryInfoOutput { - communityGalleryEnabled?: boolean; + readonly communityGalleryEnabled?: boolean; eula?: string; publicNamePrefix?: string; - publicNames?: Array; + readonly publicNames?: Array; publisherContact?: string; publisherUri?: string; } @@ -2804,24 +2700,28 @@ export type ComputeManagementClient = Client & { path: Routes; }; +// @public +export interface ComputeManagementClientOptions extends ClientOptions { +} + // @public export interface ComputeOperationListResultOutput { - value?: Array; + readonly value?: Array; } // @public export interface ComputeOperationValueDisplayOutput { - description?: string; - operation?: string; - provider?: string; - resource?: string; + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; } // @public export interface ComputeOperationValueOutput { display?: ComputeOperationValueDisplayOutput; - name?: string; - origin?: string; + readonly name?: string; + readonly origin?: string; } // @public @@ -2837,7 +2737,7 @@ export interface CopyCompletionErrorOutput { } // @public -function createClient(credentials: TokenCredential, options?: ClientOptions): ComputeManagementClient; +function createClient(credentials: TokenCredential, options?: ComputeManagementClientOptions): ComputeManagementClient; export default createClient; // @public @@ -2849,7 +2749,6 @@ export interface CreationData { performancePlus?: boolean; securityDataUri?: string; sourceResourceId?: string; - sourceUniqueId?: string; sourceUri?: string; storageAccountId?: string; uploadSizeBytes?: number; @@ -2864,7 +2763,7 @@ export interface CreationDataOutput { performancePlus?: boolean; securityDataUri?: string; sourceResourceId?: string; - sourceUniqueId?: string; + readonly sourceUniqueId?: string; sourceUri?: string; storageAccountId?: string; uploadSizeBytes?: number; @@ -2876,8 +2775,6 @@ export interface DataDisk { createOption: "FromImage" | "Empty" | "Attach"; deleteOption?: "Delete" | "Detach"; detachOption?: "ForceDetach"; - diskIOPSReadWrite?: number; - diskMBpsReadWrite?: number; diskSizeGB?: number; image?: VirtualHardDisk; lun: number; @@ -2890,7 +2787,6 @@ export interface DataDisk { // @public export interface DataDiskImage { - lun?: number; } // @public @@ -2905,7 +2801,7 @@ export interface DataDiskImageEncryptionOutput extends DiskImageEncryptionOutput // @public export interface DataDiskImageOutput { - lun?: number; + readonly lun?: number; } // @public @@ -2914,8 +2810,8 @@ export interface DataDiskOutput { createOption: "FromImage" | "Empty" | "Attach"; deleteOption?: "Delete" | "Detach"; detachOption?: "ForceDetach"; - diskIOPSReadWrite?: number; - diskMBpsReadWrite?: number; + readonly diskIOPSReadWrite?: number; + readonly diskMBpsReadWrite?: number; diskSizeGB?: number; image?: VirtualHardDiskOutput; lun: number; @@ -2985,8 +2881,6 @@ export interface DedicatedHostGroupOutput extends ResourceOutput { // @public export interface DedicatedHostGroupProperties { additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; - hosts?: Array; - instanceView?: DedicatedHostGroupInstanceView; platformFaultDomainCount: number; supportAutomaticPlacement?: boolean; } @@ -3004,8 +2898,8 @@ export interface DedicatedHostGroupPropertiesAdditionalCapabilitiesOutput { // @public export interface DedicatedHostGroupPropertiesOutput { additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilitiesOutput; - hosts?: Array; - instanceView?: DedicatedHostGroupInstanceViewOutput; + readonly hosts?: Array; + readonly instanceView?: DedicatedHostGroupInstanceViewOutput; platformFaultDomainCount: number; supportAutomaticPlacement?: boolean; } @@ -3068,16 +2962,12 @@ export interface DedicatedHostGroupsCreateOrUpdateQueryParamProperties { // @public export interface DedicatedHostGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DedicatedHostGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -3253,26 +3143,24 @@ export interface DedicatedHostGroupUpdate extends UpdateResource { // @public export interface DedicatedHostInstanceView { - assetId?: string; availableCapacity?: DedicatedHostAvailableCapacity; statuses?: Array; } // @public export interface DedicatedHostInstanceViewOutput { - assetId?: string; + readonly assetId?: string; availableCapacity?: DedicatedHostAvailableCapacityOutput; statuses?: Array; } // @public export interface DedicatedHostInstanceViewWithName extends DedicatedHostInstanceView { - name?: string; } // @public export interface DedicatedHostInstanceViewWithNameOutput extends DedicatedHostInstanceViewOutput { - name?: string; + readonly name?: string; } // @public @@ -3290,27 +3178,21 @@ export interface DedicatedHostOutput extends ResourceOutput { // @public export interface DedicatedHostProperties { autoReplaceOnFailure?: boolean; - hostId?: string; - instanceView?: DedicatedHostInstanceView; licenseType?: "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; platformFaultDomain?: number; - provisioningState?: string; - provisioningTime?: Date | string; - timeCreated?: Date | string; - virtualMachines?: Array; } // @public export interface DedicatedHostPropertiesOutput { autoReplaceOnFailure?: boolean; - hostId?: string; - instanceView?: DedicatedHostInstanceViewOutput; + readonly hostId?: string; + readonly instanceView?: DedicatedHostInstanceViewOutput; licenseType?: "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; platformFaultDomain?: number; - provisioningState?: string; - provisioningTime?: string; - timeCreated?: string; - virtualMachines?: Array; + readonly provisioningState?: string; + readonly provisioningTime?: string; + readonly timeCreated?: string; + readonly virtualMachines?: Array; } // @public (undocumented) @@ -3371,24 +3253,18 @@ export interface DedicatedHostsCreateOrUpdateQueryParamProperties { // @public export interface DedicatedHostsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DedicatedHostsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DedicatedHostsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -3488,8 +3364,6 @@ export interface DedicatedHostsRestart { // @public export interface DedicatedHostsRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -3606,8 +3480,6 @@ export interface DisallowedOutput { // @public export interface Disk extends Resource { extendedLocation?: ExtendedLocation; - managedBy?: string; - managedByExtended?: Array; properties?: DiskProperties; sku?: DiskSku; zones?: Array; @@ -3678,48 +3550,36 @@ export interface DiskAccessesCreateOrUpdateQueryParamProperties { // @public export interface DiskAccessesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DiskAccessesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DiskAccessesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface DiskAccessesDeleteAPrivateEndpointConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DiskAccessesDeleteAPrivateEndpointConnection202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DiskAccessesDeleteAPrivateEndpointConnection204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -4078,16 +3938,13 @@ export interface DiskAccessOutput extends ResourceOutput { // @public (undocumented) export interface DiskAccessProperties { - privateEndpointConnections?: Array; - provisioningState?: string; - timeCreated?: Date | string; } // @public (undocumented) export interface DiskAccessPropertiesOutput { - privateEndpointConnections?: Array; - provisioningState?: string; - timeCreated?: string; + readonly privateEndpointConnections?: Array; + readonly provisioningState?: string; + readonly timeCreated?: string; } // @public @@ -4181,24 +4038,18 @@ export interface DiskEncryptionSetsCreateOrUpdateQueryParamProperties { // @public export interface DiskEncryptionSetsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DiskEncryptionSetsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DiskEncryptionSetsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -4470,8 +4321,8 @@ export interface DiskListOutput { // @public export interface DiskOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; - managedBy?: string; - managedByExtended?: Array; + readonly managedBy?: string; + readonly managedByExtended?: Array; properties?: DiskPropertiesOutput; sku?: DiskSkuOutput; zones?: Array; @@ -4480,7 +4331,6 @@ export interface DiskOutput extends ResourceOutput { // @public export interface DiskProperties { burstingEnabled?: boolean; - burstingEnabledTime?: Date | string; completionPercent?: number; creationData: CreationData; dataAccessAuthMode?: "AzureActiveDirectory" | "None"; @@ -4489,9 +4339,7 @@ export interface DiskProperties { diskIOPSReadWrite?: number; diskMBpsReadOnly?: number; diskMBpsReadWrite?: number; - diskSizeBytes?: number; diskSizeGB?: number; - diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; encryption?: Encryption; encryptionSettingsCollection?: EncryptionSettingsCollection; hyperVGeneration?: "V1" | "V2"; @@ -4499,23 +4347,18 @@ export interface DiskProperties { networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; optimizedForFrequentAttach?: boolean; osType?: "Windows" | "Linux"; - propertyUpdatesInProgress?: PropertyUpdatesInProgress; - provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGenerated; securityProfile?: DiskSecurityProfile; - shareInfo?: Array; supportedCapabilities?: SupportedCapabilities; supportsHibernation?: boolean; tier?: string; - timeCreated?: Date | string; - uniqueId?: string; } // @public export interface DiskPropertiesOutput { burstingEnabled?: boolean; - burstingEnabledTime?: string; + readonly burstingEnabledTime?: string; completionPercent?: number; creationData: CreationDataOutput; dataAccessAuthMode?: "AzureActiveDirectory" | "None"; @@ -4524,9 +4367,9 @@ export interface DiskPropertiesOutput { diskIOPSReadWrite?: number; diskMBpsReadOnly?: number; diskMBpsReadWrite?: number; - diskSizeBytes?: number; + readonly diskSizeBytes?: number; diskSizeGB?: number; - diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; + readonly diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; encryption?: EncryptionOutput; encryptionSettingsCollection?: EncryptionSettingsCollectionOutput; hyperVGeneration?: "V1" | "V2"; @@ -4534,17 +4377,17 @@ export interface DiskPropertiesOutput { networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; optimizedForFrequentAttach?: boolean; osType?: "Windows" | "Linux"; - propertyUpdatesInProgress?: PropertyUpdatesInProgressOutput; - provisioningState?: string; + readonly propertyUpdatesInProgress?: PropertyUpdatesInProgressOutput; + readonly provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGeneratedOutput; securityProfile?: DiskSecurityProfileOutput; - shareInfo?: Array; + readonly shareInfo?: Array; supportedCapabilities?: SupportedCapabilitiesOutput; supportsHibernation?: boolean; tier?: string; - timeCreated?: string; - uniqueId?: string; + readonly timeCreated?: string; + readonly uniqueId?: string; } // @public (undocumented) @@ -4597,8 +4440,6 @@ export interface DiskRestorePointGrantAccess200Response extends HttpResponse { // @public export interface DiskRestorePointGrantAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4697,21 +4538,21 @@ export interface DiskRestorePointOutput extends ProxyOnlyResourceOutput { export interface DiskRestorePointPropertiesOutput { completionPercent?: number; diskAccessId?: string; - encryption?: EncryptionOutput; - familyId?: string; + readonly encryption?: EncryptionOutput; + readonly familyId?: string; hyperVGeneration?: "V1" | "V2"; networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; - osType?: "Windows" | "Linux"; + readonly osType?: "Windows" | "Linux"; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGeneratedOutput; - replicationState?: string; + readonly replicationState?: string; securityProfile?: DiskSecurityProfileOutput; - sourceResourceId?: string; - sourceResourceLocation?: string; - sourceUniqueId?: string; + readonly sourceResourceId?: string; + readonly sourceResourceLocation?: string; + readonly sourceUniqueId?: string; supportedCapabilities?: SupportedCapabilitiesOutput; supportsHibernation?: boolean; - timeCreated?: string; + readonly timeCreated?: string; } // @public @@ -4733,16 +4574,12 @@ export interface DiskRestorePointRevokeAccess { // @public export interface DiskRestorePointRevokeAccess200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DiskRestorePointRevokeAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4819,24 +4656,18 @@ export interface DisksCreateOrUpdateQueryParamProperties { // @public export interface DisksDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DisksDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DisksDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -4904,8 +4735,6 @@ export interface DisksGrantAccess200Response extends HttpResponse { // @public export interface DisksGrantAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4937,13 +4766,12 @@ export interface DisksGrantAccessQueryParamProperties { // @public export interface DiskSku { name?: "Standard_LRS" | "Premium_LRS" | "StandardSSD_LRS" | "UltraSSD_LRS" | "Premium_ZRS" | "StandardSSD_ZRS" | "PremiumV2_LRS"; - tier?: string; } // @public export interface DiskSkuOutput { name?: "Standard_LRS" | "Premium_LRS" | "StandardSSD_LRS" | "UltraSSD_LRS" | "Premium_ZRS" | "StandardSSD_ZRS" | "PremiumV2_LRS"; - tier?: string; + readonly tier?: string; } // @public (undocumented) @@ -5007,16 +4835,12 @@ export interface DisksRevokeAccess { // @public export interface DisksRevokeAccess200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DisksRevokeAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -5098,7 +4922,6 @@ export interface DiskUpdateProperties { networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; optimizedForFrequentAttach?: boolean; osType?: "Windows" | "Linux"; - propertyUpdatesInProgress?: PropertyUpdatesInProgress; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGenerated; supportedCapabilities?: SupportedCapabilities; @@ -5132,16 +4955,14 @@ export interface EncryptionOutput { // @public export interface EncryptionSetIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface EncryptionSetIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } @@ -5149,24 +4970,20 @@ export interface EncryptionSetIdentityOutput { // @public (undocumented) export interface EncryptionSetProperties { activeKey?: KeyForDiskEncryptionSet; - autoKeyRotationError?: ApiError; encryptionType?: "EncryptionAtRestWithCustomerKey" | "EncryptionAtRestWithPlatformAndCustomerKeys" | "ConfidentialVmEncryptedWithCustomerKey"; federatedClientId?: string; - lastKeyRotationTimestamp?: Date | string; - previousKeys?: Array; - provisioningState?: string; rotationToLatestKeyVersionEnabled?: boolean; } // @public (undocumented) export interface EncryptionSetPropertiesOutput { activeKey?: KeyForDiskEncryptionSetOutput; - autoKeyRotationError?: ApiErrorOutput; + readonly autoKeyRotationError?: ApiErrorOutput; encryptionType?: "EncryptionAtRestWithCustomerKey" | "EncryptionAtRestWithPlatformAndCustomerKeys" | "ConfidentialVmEncryptedWithCustomerKey"; federatedClientId?: string; - lastKeyRotationTimestamp?: string; - previousKeys?: Array; - provisioningState?: string; + readonly lastKeyRotationTimestamp?: string; + readonly previousKeys?: Array; + readonly provisioningState?: string; rotationToLatestKeyVersionEnabled?: boolean; } @@ -5286,24 +5103,18 @@ export interface GalleriesCreateOrUpdateQueryParamProperties { // @public export interface GalleriesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleriesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleriesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -5579,24 +5390,18 @@ export interface GalleryApplicationsCreateOrUpdateQueryParamProperties { // @public export interface GalleryApplicationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleryApplicationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleryApplicationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -5751,16 +5556,14 @@ export interface GalleryApplicationVersionOutput extends ResourceOutput { // @public export interface GalleryApplicationVersionProperties { - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; publishingProfile: GalleryApplicationVersionPublishingProfile; - replicationStatus?: ReplicationStatus; } // @public export interface GalleryApplicationVersionPropertiesOutput { - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; publishingProfile: GalleryApplicationVersionPublishingProfileOutput; - replicationStatus?: ReplicationStatusOutput; + readonly replicationStatus?: ReplicationStatusOutput; } // @public @@ -5849,24 +5652,18 @@ export interface GalleryApplicationVersionsCreateOrUpdateQueryParamProperties { // @public export interface GalleryApplicationVersionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleryApplicationVersionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleryApplicationVersionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6008,7 +5805,6 @@ export interface GalleryApplicationVersionUpdate extends UpdateResourceDefinitio export interface GalleryArtifactPublishingProfileBase { endOfLifeDate?: Date | string; excludeFromLatest?: boolean; - publishedDate?: Date | string; replicaCount?: number; replicationMode?: "Full" | "Shallow"; storageAccountType?: "Standard_LRS" | "Standard_ZRS" | "Premium_LRS"; @@ -6020,7 +5816,7 @@ export interface GalleryArtifactPublishingProfileBase { export interface GalleryArtifactPublishingProfileBaseOutput { endOfLifeDate?: string; excludeFromLatest?: boolean; - publishedDate?: string; + readonly publishedDate?: string; replicaCount?: number; replicationMode?: "Full" | "Shallow"; storageAccountType?: "Standard_LRS" | "Standard_ZRS" | "Premium_LRS"; @@ -6053,14 +5849,13 @@ export interface GalleryDataDiskImageOutput extends GalleryDiskImageOutput { // @public export interface GalleryDiskImage { hostCaching?: "None" | "ReadOnly" | "ReadWrite"; - sizeInGB?: number; source?: GalleryArtifactVersionSource; } // @public export interface GalleryDiskImageOutput { hostCaching?: "None" | "ReadOnly" | "ReadWrite"; - sizeInGB?: number; + readonly sizeInGB?: number; source?: GalleryArtifactVersionSourceOutput; } @@ -6080,12 +5875,11 @@ export interface GalleryExtendedLocationOutput { // @public export interface GalleryIdentifier { - uniqueName?: string; } // @public export interface GalleryIdentifierOutput { - uniqueName?: string; + readonly uniqueName?: string; } // @public @@ -6143,7 +5937,6 @@ export interface GalleryImageProperties { osState: "Generalized" | "Specialized"; osType: "Windows" | "Linux"; privacyStatementUri?: string; - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; purchasePlan?: ImagePurchasePlan; recommended?: RecommendedMachineConfiguration; releaseNoteUri?: string; @@ -6162,7 +5955,7 @@ export interface GalleryImagePropertiesOutput { osState: "Generalized" | "Specialized"; osType: "Windows" | "Linux"; privacyStatementUri?: string; - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; purchasePlan?: ImagePurchasePlanOutput; recommended?: RecommendedMachineConfigurationOutput; releaseNoteUri?: string; @@ -6234,24 +6027,18 @@ export interface GalleryImagesCreateOrUpdateQueryParamProperties { // @public export interface GalleryImagesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleryImagesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleryImagesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6406,17 +6193,15 @@ export interface GalleryImageVersionOutput extends ResourceOutput { // @public export interface GalleryImageVersionProperties { - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; publishingProfile?: GalleryImageVersionPublishingProfile; - replicationStatus?: ReplicationStatus; storageProfile: GalleryImageVersionStorageProfile; } // @public export interface GalleryImageVersionPropertiesOutput { - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; publishingProfile?: GalleryImageVersionPublishingProfileOutput; - replicationStatus?: ReplicationStatusOutput; + readonly replicationStatus?: ReplicationStatusOutput; storageProfile: GalleryImageVersionStorageProfileOutput; } @@ -6494,24 +6279,18 @@ export interface GalleryImageVersionsCreateOrUpdateQueryParamProperties { // @public export interface GalleryImageVersionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleryImageVersionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleryImageVersionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6686,9 +6465,7 @@ export interface GalleryOutput extends ResourceOutput { export interface GalleryProperties { description?: string; identifier?: GalleryIdentifier; - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; sharingProfile?: SharingProfile; - sharingStatus?: SharingStatus; softDeletePolicy?: SoftDeletePolicy; } @@ -6696,9 +6473,9 @@ export interface GalleryProperties { export interface GalleryPropertiesOutput { description?: string; identifier?: GalleryIdentifierOutput; - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; sharingProfile?: SharingProfileOutput; - sharingStatus?: SharingStatusOutput; + readonly sharingStatus?: SharingStatusOutput; softDeletePolicy?: SoftDeletePolicyOutput; } @@ -6782,10 +6559,10 @@ export interface GalleryUpdate extends UpdateResourceDefinition { export type GetArrayType = T extends Array ? TData : never; // @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; +export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public -export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; @@ -6891,7 +6668,6 @@ export interface ImageOutput extends ResourceOutput { // @public export interface ImageProperties { hyperVGeneration?: "V1" | "V2"; - provisioningState?: string; sourceVirtualMachine?: SubResource; storageProfile?: ImageStorageProfile; } @@ -6899,7 +6675,7 @@ export interface ImageProperties { // @public export interface ImagePropertiesOutput { hyperVGeneration?: "V1" | "V2"; - provisioningState?: string; + readonly provisioningState?: string; sourceVirtualMachine?: SubResourceOutput; storageProfile?: ImageStorageProfileOutput; } @@ -6921,7 +6697,6 @@ export interface ImagePurchasePlanOutput { // @public export interface ImageReference extends SubResource { communityGalleryImageId?: string; - exactVersion?: string; offer?: string; publisher?: string; sharedGalleryImageId?: string; @@ -6932,7 +6707,7 @@ export interface ImageReference extends SubResource { // @public export interface ImageReferenceOutput extends SubResourceOutput { communityGalleryImageId?: string; - exactVersion?: string; + readonly exactVersion?: string; offer?: string; publisher?: string; sharedGalleryImageId?: string; @@ -6998,24 +6773,18 @@ export interface ImagesCreateOrUpdateQueryParamProperties { // @public export interface ImagesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ImagesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ImagesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -7224,8 +6993,8 @@ export interface InnerErrorOutput { // @public export interface InstanceSkuOutput { - name?: string; - tier?: string; + readonly name?: string; + readonly tier?: string; } // @public @@ -7239,7 +7008,7 @@ export interface InstanceViewStatus { // @public export interface InstanceViewStatusesSummaryOutput { - statusesSummary?: Array; + readonly statusesSummary?: Array; } // @public @@ -8084,32 +7853,21 @@ export interface KeyVaultSecretReferenceOutput { // @public export interface LastPatchInstallationSummary { - error?: ApiError; - excludedPatchCount?: number; - failedPatchCount?: number; - installationActivityId?: string; - installedPatchCount?: number; - lastModifiedTime?: Date | string; - maintenanceWindowExceeded?: boolean; - notSelectedPatchCount?: number; - pendingPatchCount?: number; - startTime?: Date | string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public export interface LastPatchInstallationSummaryOutput { - error?: ApiErrorOutput; - excludedPatchCount?: number; - failedPatchCount?: number; - installationActivityId?: string; - installedPatchCount?: number; - lastModifiedTime?: string; - maintenanceWindowExceeded?: boolean; - notSelectedPatchCount?: number; - pendingPatchCount?: number; - startTime?: string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly error?: ApiErrorOutput; + readonly excludedPatchCount?: number; + readonly failedPatchCount?: number; + readonly installationActivityId?: string; + readonly installedPatchCount?: number; + readonly lastModifiedTime?: string; + readonly maintenanceWindowExceeded?: boolean; + readonly notSelectedPatchCount?: number; + readonly pendingPatchCount?: number; + readonly startTime?: string; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public @@ -8233,8 +7991,6 @@ export interface LogAnalyticsExportRequestRateByInterval200Response extends Http // @public export interface LogAnalyticsExportRequestRateByInterval202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -8286,8 +8042,6 @@ export interface LogAnalyticsExportThrottledRequests200Response extends HttpResp // @public export interface LogAnalyticsExportThrottledRequests202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -8338,12 +8092,12 @@ export interface LogAnalyticsInputBase { // @public export interface LogAnalyticsOperationResultOutput { - properties?: LogAnalyticsOutputOutput; + readonly properties?: LogAnalyticsOutputOutput; } // @public export interface LogAnalyticsOutputOutput { - output?: string; + readonly output?: string; } // @public @@ -8461,8 +8215,8 @@ export interface OrchestrationServiceStateInput { // @public export interface OrchestrationServiceSummaryOutput { - serviceName?: "AutomaticRepairs"; - serviceState?: "NotRunning" | "Running" | "Suspended"; + readonly serviceName?: "AutomaticRepairs"; + readonly serviceState?: "NotRunning" | "Running" | "Suspended"; } // @public @@ -8537,18 +8291,18 @@ export interface OSFamilyListResultOutput { // @public export interface OSFamilyOutput { - id?: string; - location?: string; - name?: string; + readonly id?: string; + readonly location?: string; + readonly name?: string; properties?: OSFamilyPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface OSFamilyPropertiesOutput { - label?: string; - name?: string; - versions?: Array; + readonly label?: string; + readonly name?: string; + readonly versions?: Array; } // @public @@ -8585,29 +8339,41 @@ export interface OSVersionListResultOutput { // @public export interface OSVersionOutput { - id?: string; - location?: string; - name?: string; + readonly id?: string; + readonly location?: string; + readonly name?: string; properties?: OSVersionPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface OSVersionPropertiesBaseOutput { - isActive?: boolean; - isDefault?: boolean; - label?: string; - version?: string; + readonly isActive?: boolean; + readonly isDefault?: boolean; + readonly label?: string; + readonly version?: string; } // @public export interface OSVersionPropertiesOutput { - family?: string; - familyLabel?: string; - isActive?: boolean; - isDefault?: boolean; - label?: string; - version?: string; + readonly family?: string; + readonly familyLabel?: string; + readonly isActive?: boolean; + readonly isDefault?: boolean; + readonly label?: string; + readonly version?: string; +} + +// @public +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator; + next(): Promise>; +} + +// @public +export interface PageSettings { + continuationToken?: string; } // @public @@ -8627,12 +8393,12 @@ export interface PagingOptions { // @public export interface PatchInstallationDetailOutput { - classifications?: Array; - installationState?: "Unknown" | "Installed" | "Failed" | "Excluded" | "NotSelected" | "Pending"; - kbId?: string; - name?: string; - patchId?: string; - version?: string; + readonly classifications?: Array; + readonly installationState?: "Unknown" | "Installed" | "Failed" | "Excluded" | "NotSelected" | "Pending"; + readonly kbId?: string; + readonly name?: string; + readonly patchId?: string; + readonly version?: string; } // @public @@ -8654,15 +8420,15 @@ export interface PatchSettingsOutput { // @public export interface PirCommunityGalleryResourceOutput { identifier?: CommunityGalleryIdentifierOutput; - location?: string; - name?: string; - type?: string; + readonly location?: string; + readonly name?: string; + readonly type?: string; } // @public export interface PirResourceOutput { - location?: string; - name?: string; + readonly location?: string; + readonly name?: string; } // @public @@ -8700,15 +8466,11 @@ export interface PriorityMixPolicyOutput { // @public export interface PrivateEndpoint { - id?: string; } // @public export interface PrivateEndpointConnection { - id?: string; - name?: string; properties?: PrivateEndpointConnectionProperties; - type?: string; } // @public @@ -8719,29 +8481,27 @@ export interface PrivateEndpointConnectionListResultOutput { // @public export interface PrivateEndpointConnectionOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties?: PrivateEndpointConnectionPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface PrivateEndpointConnectionProperties { - privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } // @public export interface PrivateEndpointConnectionPropertiesOutput { - privateEndpoint?: PrivateEndpointOutput; + readonly privateEndpoint?: PrivateEndpointOutput; privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } // @public export interface PrivateEndpointOutput { - id?: string; + readonly id?: string; } // @public @@ -8751,16 +8511,16 @@ export interface PrivateLinkResourceListResultOutput { // @public export interface PrivateLinkResourceOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties?: PrivateLinkResourcePropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface PrivateLinkResourcePropertiesOutput { - groupId?: string; - requiredMembers?: Array; + readonly groupId?: string; + readonly requiredMembers?: Array; requiredZoneNames?: Array; } @@ -8808,12 +8568,9 @@ export interface ProximityPlacementGroupOutput extends ResourceOutput { // @public export interface ProximityPlacementGroupProperties { - availabilitySets?: Array; colocationStatus?: InstanceViewStatus; intent?: ProximityPlacementGroupPropertiesIntent; proximityPlacementGroupType?: "Standard" | "Ultra"; - virtualMachines?: Array; - virtualMachineScaleSets?: Array; } // @public @@ -8828,12 +8585,12 @@ export interface ProximityPlacementGroupPropertiesIntentOutput { // @public export interface ProximityPlacementGroupPropertiesOutput { - availabilitySets?: Array; + readonly availabilitySets?: Array; colocationStatus?: InstanceViewStatusOutput; intent?: ProximityPlacementGroupPropertiesIntentOutput; proximityPlacementGroupType?: "Standard" | "Ultra"; - virtualMachines?: Array; - virtualMachineScaleSets?: Array; + readonly virtualMachines?: Array; + readonly virtualMachineScaleSets?: Array; } // @public (undocumented) @@ -8894,8 +8651,6 @@ export interface ProximityPlacementGroupsCreateOrUpdateQueryParamProperties { // @public export interface ProximityPlacementGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -9069,23 +8824,20 @@ export interface ProximityPlacementGroupUpdate extends UpdateResource { // @public export interface ProxyOnlyResourceOutput { - id?: string; - name?: string; - type?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; } // @public export interface ProxyResource { - id?: string; - name?: string; - type?: string; } // @public export interface ProxyResourceOutput { - id?: string; - name?: string; - type?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; } // @public @@ -9144,50 +8896,43 @@ export interface RecommendedMachineConfigurationOutput { // @public export interface RecoveryWalkResponseOutput { - nextPlatformUpdateDomain?: number; - walkPerformed?: boolean; + readonly nextPlatformUpdateDomain?: number; + readonly walkPerformed?: boolean; } // @public export interface RegionalReplicationStatus { - details?: string; - progress?: number; - region?: string; - state?: "Unknown" | "Replicating" | "Completed" | "Failed"; } // @public export interface RegionalReplicationStatusOutput { - details?: string; - progress?: number; - region?: string; - state?: "Unknown" | "Replicating" | "Completed" | "Failed"; + readonly details?: string; + readonly progress?: number; + readonly region?: string; + readonly state?: "Unknown" | "Replicating" | "Completed" | "Failed"; } // @public export interface RegionalSharingStatus { details?: string; region?: string; - state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; } // @public export interface RegionalSharingStatusOutput { details?: string; region?: string; - state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; + readonly state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; } // @public export interface ReplicationStatus { - aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; - summary?: Array; } // @public export interface ReplicationStatusOutput { - aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; - summary?: Array; + readonly aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; + readonly summary?: Array; } // @public @@ -9197,29 +8942,26 @@ export interface RequestRateByIntervalInput extends LogAnalyticsInputBase { // @public export interface Resource { - id?: string; location: string; - name?: string; tags?: Record; - type?: string; } // @public export interface ResourceInstanceViewStatusOutput { - code?: string; - displayStatus?: string; + readonly code?: string; + readonly displayStatus?: string; level?: "Info" | "Warning" | "Error"; - message?: string; - time?: string; + readonly message?: string; + readonly time?: string; } // @public export interface ResourceOutput { - id?: string; + readonly id?: string; location: string; - name?: string; + readonly name?: string; tags?: Record; - type?: string; + readonly type?: string; } // @public @@ -9236,63 +8978,63 @@ export interface ResourceRangeOutput { // @public export interface ResourceSkuCapabilitiesOutput { - name?: string; - value?: string; + readonly name?: string; + readonly value?: string; } // @public export interface ResourceSkuCapacityOutput { - default?: number; - maximum?: number; - minimum?: number; - scaleType?: "Automatic" | "Manual" | "None"; + readonly default?: number; + readonly maximum?: number; + readonly minimum?: number; + readonly scaleType?: "Automatic" | "Manual" | "None"; } // @public export interface ResourceSkuCostsOutput { - extendedUnit?: string; - meterID?: string; - quantity?: number; + readonly extendedUnit?: string; + readonly meterID?: string; + readonly quantity?: number; } // @public export interface ResourceSkuLocationInfoOutput { - extendedLocations?: Array; - location?: string; - type?: "EdgeZone"; - zoneDetails?: Array; - zones?: Array; + readonly extendedLocations?: Array; + readonly location?: string; + readonly type?: "EdgeZone"; + readonly zoneDetails?: Array; + readonly zones?: Array; } // @public export interface ResourceSkuOutput { - apiVersions?: Array; - capabilities?: Array; - capacity?: ResourceSkuCapacityOutput; - costs?: Array; - family?: string; - kind?: string; - locationInfo?: Array; - locations?: Array; - name?: string; - resourceType?: string; - restrictions?: Array; - size?: string; - tier?: string; + readonly apiVersions?: Array; + readonly capabilities?: Array; + readonly capacity?: ResourceSkuCapacityOutput; + readonly costs?: Array; + readonly family?: string; + readonly kind?: string; + readonly locationInfo?: Array; + readonly locations?: Array; + readonly name?: string; + readonly resourceType?: string; + readonly restrictions?: Array; + readonly size?: string; + readonly tier?: string; } // @public export interface ResourceSkuRestrictionInfoOutput { - locations?: Array; - zones?: Array; + readonly locations?: Array; + readonly zones?: Array; } // @public export interface ResourceSkuRestrictionsOutput { - reasonCode?: "QuotaId" | "NotAvailableForSubscription"; - restrictionInfo?: ResourceSkuRestrictionInfoOutput; - type?: "Location" | "Zone"; - values?: Array; + readonly reasonCode?: "QuotaId" | "NotAvailableForSubscription"; + readonly restrictionInfo?: ResourceSkuRestrictionInfoOutput; + readonly type?: "Location" | "Zone"; + readonly values?: Array; } // @public (undocumented) @@ -9332,8 +9074,8 @@ export interface ResourceSkusResultOutput { // @public export interface ResourceSkuZoneDetailsOutput { - capabilities?: Array; - name?: Array; + readonly capabilities?: Array; + readonly name?: Array; } // @public @@ -9344,20 +9086,17 @@ export interface ResourceUriListOutput { // @public export interface ResourceWithOptionalLocation { - id?: string; location?: string; - name?: string; tags?: Record; - type?: string; } // @public export interface ResourceWithOptionalLocationOutput { - id?: string; + readonly id?: string; location?: string; - name?: string; + readonly name?: string; tags?: Record; - type?: string; + readonly type?: string; } // @public @@ -9383,17 +9122,14 @@ export interface RestorePointCollectionOutput extends ResourceOutput { // @public export interface RestorePointCollectionProperties { - provisioningState?: string; - restorePointCollectionId?: string; - restorePoints?: Array; source?: RestorePointCollectionSourceProperties; } // @public export interface RestorePointCollectionPropertiesOutput { - provisioningState?: string; - restorePointCollectionId?: string; - restorePoints?: Array; + readonly provisioningState?: string; + readonly restorePointCollectionId?: string; + readonly restorePoints?: Array; source?: RestorePointCollectionSourcePropertiesOutput; } @@ -9455,24 +9191,18 @@ export interface RestorePointCollectionsCreateOrUpdateQueryParamProperties { // @public export interface RestorePointCollectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RestorePointCollectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RestorePointCollectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -9603,13 +9333,12 @@ export interface RestorePointCollectionsListQueryParamProperties { // @public export interface RestorePointCollectionSourceProperties { id?: string; - location?: string; } // @public export interface RestorePointCollectionSourcePropertiesOutput { id?: string; - location?: string; + readonly location?: string; } // @public @@ -9678,9 +9407,6 @@ export interface RestorePointOutput extends ProxyResourceOutput { export interface RestorePointProperties { consistencyMode?: "CrashConsistent" | "FileSystemConsistent" | "ApplicationConsistent"; excludeDisks?: Array; - instanceView?: RestorePointInstanceView; - provisioningState?: string; - sourceMetadata?: RestorePointSourceMetadata; sourceRestorePoint?: ApiEntityReference; timeCreated?: Date | string; } @@ -9689,9 +9415,9 @@ export interface RestorePointProperties { export interface RestorePointPropertiesOutput { consistencyMode?: "CrashConsistent" | "FileSystemConsistent" | "ApplicationConsistent"; excludeDisks?: Array; - instanceView?: RestorePointInstanceViewOutput; - provisioningState?: string; - sourceMetadata?: RestorePointSourceMetadataOutput; + readonly instanceView?: RestorePointInstanceViewOutput; + readonly provisioningState?: string; + readonly sourceMetadata?: RestorePointSourceMetadataOutput; sourceRestorePoint?: ApiEntityReferenceOutput; timeCreated?: string; } @@ -9745,24 +9471,18 @@ export interface RestorePointsCreateQueryParamProperties { // @public export interface RestorePointsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RestorePointsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RestorePointsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -9900,8 +9620,8 @@ export interface RestorePointSourceVMStorageProfileOutput { // @public export interface RetrieveBootDiagnosticsDataResultOutput { - consoleScreenshotBlobUri?: string; - serialConsoleLogBlobUri?: string; + readonly consoleScreenshotBlobUri?: string; + readonly serialConsoleLogBlobUri?: string; } // @public @@ -9912,18 +9632,18 @@ export interface RoleInstanceListResultOutput { // @public export interface RoleInstanceNetworkProfileOutput { - networkInterfaces?: Array; + readonly networkInterfaces?: Array; } // @public export interface RoleInstanceOutput { - id?: string; - location?: string; - name?: string; + readonly id?: string; + readonly location?: string; + readonly name?: string; properties?: RoleInstancePropertiesOutput; sku?: InstanceSkuOutput; - tags?: Record; - type?: string; + readonly tags?: Record; + readonly type?: string; } // @public @@ -9939,18 +9659,18 @@ export interface RoleInstances { // @public export interface RoleInstanceViewOutput { - platformFaultDomain?: number; - platformUpdateDomain?: number; - privateId?: string; + readonly platformFaultDomain?: number; + readonly platformUpdateDomain?: number; + readonly privateId?: string; // (undocumented) - statuses?: Array; + readonly statuses?: Array; } // @public export interface RollbackStatusInfoOutput { - failedRolledbackInstanceCount?: number; - rollbackError?: ApiErrorOutput; - successfullyRolledbackInstanceCount?: number; + readonly failedRolledbackInstanceCount?: number; + readonly rollbackError?: ApiErrorOutput; + readonly successfullyRolledbackInstanceCount?: number; } // @public @@ -9975,34 +9695,26 @@ export interface RollingUpgradePolicyOutput { // @public export interface RollingUpgradeProgressInfo { - failedInstanceCount?: number; - inProgressInstanceCount?: number; - pendingInstanceCount?: number; - successfulInstanceCount?: number; } // @public export interface RollingUpgradeProgressInfoOutput { - failedInstanceCount?: number; - inProgressInstanceCount?: number; - pendingInstanceCount?: number; - successfulInstanceCount?: number; + readonly failedInstanceCount?: number; + readonly inProgressInstanceCount?: number; + readonly pendingInstanceCount?: number; + readonly successfulInstanceCount?: number; } // @public export interface RollingUpgradeRunningStatus { - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; - lastAction?: "Start" | "Cancel"; - lastActionTime?: Date | string; - startTime?: Date | string; } // @public export interface RollingUpgradeRunningStatusOutput { - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; - lastAction?: "Start" | "Cancel"; - lastActionTime?: string; - startTime?: string; + readonly code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; + readonly lastAction?: "Start" | "Cancel"; + readonly lastActionTime?: string; + readonly startTime?: string; } // @public @@ -10017,18 +9729,14 @@ export interface RollingUpgradeStatusInfoOutput extends ResourceOutput { // @public export interface RollingUpgradeStatusInfoProperties { - error?: ApiError; - policy?: RollingUpgradePolicy; - progress?: RollingUpgradeProgressInfo; - runningStatus?: RollingUpgradeRunningStatus; } // @public export interface RollingUpgradeStatusInfoPropertiesOutput { - error?: ApiErrorOutput; - policy?: RollingUpgradePolicyOutput; - progress?: RollingUpgradeProgressInfoOutput; - runningStatus?: RollingUpgradeRunningStatusOutput; + readonly error?: ApiErrorOutput; + readonly policy?: RollingUpgradePolicyOutput; + readonly progress?: RollingUpgradeProgressInfoOutput; + readonly runningStatus?: RollingUpgradeRunningStatusOutput; } // @public (undocumented) @@ -10395,7 +10103,7 @@ export interface SharedGalleryDataDiskImageOutput extends SharedGalleryDiskImage // @public export interface SharedGalleryDiskImageOutput { - diskSizeGB?: number; + readonly diskSizeGB?: number; hostCaching?: "None" | "ReadOnly" | "ReadWrite"; } @@ -10612,18 +10320,16 @@ export interface SharedGalleryOutput extends PirSharedGalleryResourceOutput { // @public (undocumented) export interface ShareInfoElement { - vmUri?: string; } // @public (undocumented) export interface ShareInfoElementOutput { - vmUri?: string; + readonly vmUri?: string; } // @public export interface SharingProfile { communityGalleryInfo?: CommunityGalleryInfo; - groups?: Array; permissions?: "Private" | "Groups" | "Community"; } @@ -10642,19 +10348,18 @@ export interface SharingProfileGroupOutput { // @public export interface SharingProfileOutput { communityGalleryInfo?: CommunityGalleryInfoOutput; - groups?: Array; + readonly groups?: Array; permissions?: "Private" | "Groups" | "Community"; } // @public export interface SharingStatus { - aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; summary?: Array; } // @public export interface SharingStatusOutput { - aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; + readonly aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; summary?: Array; } @@ -10670,6 +10375,28 @@ export interface SharingUpdateOutput { operationType: "Add" | "Remove" | "Reset" | "EnableCommunity"; } +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + // @public export interface Sku { capacity?: number; @@ -10687,7 +10414,6 @@ export interface SkuOutput { // @public export interface Snapshot extends Resource { extendedLocation?: ExtendedLocation; - managedBy?: string; properties?: SnapshotProperties; sku?: SnapshotSku; } @@ -10701,7 +10427,7 @@ export interface SnapshotListOutput { // @public export interface SnapshotOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; - managedBy?: string; + readonly managedBy?: string; properties?: SnapshotPropertiesOutput; sku?: SnapshotSkuOutput; } @@ -10713,24 +10439,18 @@ export interface SnapshotProperties { creationData: CreationData; dataAccessAuthMode?: "AzureActiveDirectory" | "None"; diskAccessId?: string; - diskSizeBytes?: number; diskSizeGB?: number; - diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; encryption?: Encryption; encryptionSettingsCollection?: EncryptionSettingsCollection; hyperVGeneration?: "V1" | "V2"; incremental?: boolean; - incrementalSnapshotFamilyId?: string; networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; osType?: "Windows" | "Linux"; - provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGenerated; securityProfile?: DiskSecurityProfile; supportedCapabilities?: SupportedCapabilities; supportsHibernation?: boolean; - timeCreated?: Date | string; - uniqueId?: string; } // @public @@ -10740,24 +10460,24 @@ export interface SnapshotPropertiesOutput { creationData: CreationDataOutput; dataAccessAuthMode?: "AzureActiveDirectory" | "None"; diskAccessId?: string; - diskSizeBytes?: number; + readonly diskSizeBytes?: number; diskSizeGB?: number; - diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; + readonly diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; encryption?: EncryptionOutput; encryptionSettingsCollection?: EncryptionSettingsCollectionOutput; hyperVGeneration?: "V1" | "V2"; incremental?: boolean; - incrementalSnapshotFamilyId?: string; + readonly incrementalSnapshotFamilyId?: string; networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; osType?: "Windows" | "Linux"; - provisioningState?: string; + readonly provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGeneratedOutput; securityProfile?: DiskSecurityProfileOutput; supportedCapabilities?: SupportedCapabilitiesOutput; supportsHibernation?: boolean; - timeCreated?: string; - uniqueId?: string; + readonly timeCreated?: string; + readonly uniqueId?: string; } // @public (undocumented) @@ -10810,24 +10530,18 @@ export interface SnapshotsCreateOrUpdateQueryParamProperties { // @public export interface SnapshotsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SnapshotsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface SnapshotsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -10883,8 +10597,6 @@ export interface SnapshotsGrantAccess200Response extends HttpResponse { // @public export interface SnapshotsGrantAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -10916,13 +10628,12 @@ export interface SnapshotsGrantAccessQueryParamProperties { // @public export interface SnapshotSku { name?: "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"; - tier?: string; } // @public export interface SnapshotSkuOutput { name?: "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"; - tier?: string; + readonly tier?: string; } // @public (undocumented) @@ -10986,16 +10697,12 @@ export interface SnapshotsRevokeAccess { // @public export interface SnapshotsRevokeAccess200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SnapshotsRevokeAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -11214,16 +10921,12 @@ export interface SshPublicKeysCreateQueryParamProperties { // @public export interface SshPublicKeysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SshPublicKeysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -11438,8 +11141,8 @@ export interface SshPublicKeyUpdateResource extends UpdateResource { // @public export interface StatusCodeCountOutput { - code?: string; - count?: number; + readonly code?: string; + readonly count?: number; } // @public @@ -11470,12 +11173,11 @@ export interface SubResourceOutput { // @public (undocumented) export interface SubResourceReadOnly { - id?: string; } // @public (undocumented) export interface SubResourceReadOnlyOutput { - id?: string; + readonly id?: string; } // @public (undocumented) @@ -11504,14 +11206,12 @@ export interface SupportedCapabilitiesOutput { // @public export interface SystemData { - createdAt?: Date | string; - lastModifiedAt?: Date | string; } // @public export interface SystemDataOutput { - createdAt?: string; - lastModifiedAt?: string; + readonly createdAt?: string; + readonly lastModifiedAt?: string; } // @public @@ -11560,8 +11260,6 @@ export interface UefiSettingsOutput { // @public export interface UpdateDomain { - id?: string; - name?: string; } // @public @@ -11572,8 +11270,8 @@ export interface UpdateDomainListResultOutput { // @public export interface UpdateDomainOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; } // @public @@ -11583,34 +11281,31 @@ export interface UpdateResource { // @public export interface UpdateResourceDefinition { - id?: string; - name?: string; tags?: Record; - type?: string; } // @public export interface UpgradeOperationHistoricalStatusInfoOutput { - location?: string; - properties?: UpgradeOperationHistoricalStatusInfoPropertiesOutput; - type?: string; + readonly location?: string; + readonly properties?: UpgradeOperationHistoricalStatusInfoPropertiesOutput; + readonly type?: string; } // @public export interface UpgradeOperationHistoricalStatusInfoPropertiesOutput { - error?: ApiErrorOutput; - progress?: RollingUpgradeProgressInfoOutput; - rollbackInfo?: RollbackStatusInfoOutput; - runningStatus?: UpgradeOperationHistoryStatusOutput; - startedBy?: "Unknown" | "User" | "Platform"; - targetImageReference?: ImageReferenceOutput; + readonly error?: ApiErrorOutput; + readonly progress?: RollingUpgradeProgressInfoOutput; + readonly rollbackInfo?: RollbackStatusInfoOutput; + readonly runningStatus?: UpgradeOperationHistoryStatusOutput; + readonly startedBy?: "Unknown" | "User" | "Platform"; + readonly targetImageReference?: ImageReferenceOutput; } // @public export interface UpgradeOperationHistoryStatusOutput { - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; - endTime?: string; - startTime?: string; + readonly code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; + readonly endTime?: string; + readonly startTime?: string; } // @public @@ -11716,14 +11411,12 @@ export interface UserArtifactSourceOutput { // @public (undocumented) export interface UserAssignedIdentitiesValue { - clientId?: string; - principalId?: string; } // @public (undocumented) export interface UserAssignedIdentitiesValueOutput { - clientId?: string; - principalId?: string; + readonly clientId?: string; + readonly principalId?: string; } // @public @@ -11766,7 +11459,6 @@ export interface VirtualMachine extends Resource { identity?: VirtualMachineIdentity; plan?: Plan; properties?: VirtualMachineProperties; - resources?: Array; zones?: Array; } @@ -11786,14 +11478,14 @@ export interface VirtualMachineAgentInstanceViewOutput { // @public export interface VirtualMachineAssessPatchesResultOutput { - assessmentActivityId?: string; - availablePatches?: Array; - criticalAndSecurityPatchCount?: number; - error?: ApiErrorOutput; - otherPatchCount?: number; - rebootPending?: boolean; - startDateTime?: string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly assessmentActivityId?: string; + readonly availablePatches?: Array; + readonly criticalAndSecurityPatchCount?: number; + readonly error?: ApiErrorOutput; + readonly otherPatchCount?: number; + readonly rebootPending?: boolean; + readonly startDateTime?: string; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public @@ -11805,18 +11497,14 @@ export interface VirtualMachineCaptureParameters { // @public export interface VirtualMachineCaptureResult extends SubResource { - $schema?: string; - contentVersion?: string; - parameters?: any; - resources?: Array; } // @public export interface VirtualMachineCaptureResultOutput extends SubResourceOutput { - $schema?: string; - contentVersion?: string; - parameters?: any; - resources?: Array; + readonly $schema?: string; + readonly contentVersion?: string; + readonly parameters?: any; + readonly resources?: Array; } // @public @@ -12007,7 +11695,6 @@ export interface VirtualMachineExtensionProperties { instanceView?: VirtualMachineExtensionInstanceView; protectedSettings?: any; protectedSettingsFromKeyVault?: KeyVaultSecretReference; - provisioningState?: string; publisher?: string; settings?: any; suppressFailures?: boolean; @@ -12023,7 +11710,7 @@ export interface VirtualMachineExtensionPropertiesOutput { instanceView?: VirtualMachineExtensionInstanceViewOutput; protectedSettings?: any; protectedSettingsFromKeyVault?: KeyVaultSecretReferenceOutput; - provisioningState?: string; + readonly provisioningState?: string; publisher?: string; settings?: any; suppressFailures?: boolean; @@ -12089,24 +11776,18 @@ export interface VirtualMachineExtensionsCreateOrUpdateQueryParamProperties { // @public export interface VirtualMachineExtensionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineExtensionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineExtensionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -12280,26 +11961,23 @@ export interface VirtualMachineExtensionUpdatePropertiesOutput { // @public export interface VirtualMachineHealthStatus { - status?: InstanceViewStatus; } // @public export interface VirtualMachineHealthStatusOutput { - status?: InstanceViewStatusOutput; + readonly status?: InstanceViewStatusOutput; } // @public export interface VirtualMachineIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface VirtualMachineIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } @@ -12773,23 +12451,22 @@ export interface VirtualMachineInstallPatchesParameters { // @public export interface VirtualMachineInstallPatchesResultOutput { - error?: ApiErrorOutput; - excludedPatchCount?: number; - failedPatchCount?: number; - installationActivityId?: string; - installedPatchCount?: number; - maintenanceWindowExceeded?: boolean; - notSelectedPatchCount?: number; - patches?: Array; - pendingPatchCount?: number; - rebootStatus?: "Unknown" | "NotNeeded" | "Required" | "Started" | "Failed" | "Completed"; - startDateTime?: string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly error?: ApiErrorOutput; + readonly excludedPatchCount?: number; + readonly failedPatchCount?: number; + readonly installationActivityId?: string; + readonly installedPatchCount?: number; + readonly maintenanceWindowExceeded?: boolean; + readonly notSelectedPatchCount?: number; + readonly patches?: Array; + readonly pendingPatchCount?: number; + readonly rebootStatus?: "Unknown" | "NotNeeded" | "Required" | "Started" | "Failed" | "Completed"; + readonly startDateTime?: string; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public export interface VirtualMachineInstanceView { - assignedHost?: string; bootDiagnostics?: BootDiagnosticsInstanceView; computerName?: string; disks?: Array; @@ -12804,12 +12481,11 @@ export interface VirtualMachineInstanceView { rdpThumbPrint?: string; statuses?: Array; vmAgent?: VirtualMachineAgentInstanceView; - vmHealth?: VirtualMachineHealthStatus; } // @public export interface VirtualMachineInstanceViewOutput { - assignedHost?: string; + readonly assignedHost?: string; bootDiagnostics?: BootDiagnosticsInstanceViewOutput; computerName?: string; disks?: Array; @@ -12824,7 +12500,7 @@ export interface VirtualMachineInstanceViewOutput { rdpThumbPrint?: string; statuses?: Array; vmAgent?: VirtualMachineAgentInstanceViewOutput; - vmHealth?: VirtualMachineHealthStatusOutput; + readonly vmHealth?: VirtualMachineHealthStatusOutput; } // @public @@ -12937,21 +12613,20 @@ export interface VirtualMachineOutput extends ResourceOutput { identity?: VirtualMachineIdentityOutput; plan?: PlanOutput; properties?: VirtualMachinePropertiesOutput; - resources?: Array; + readonly resources?: Array; zones?: Array; } // @public export interface VirtualMachinePatchStatus { availablePatchSummary?: AvailablePatchSummary; - configurationStatuses?: Array; lastPatchInstallationSummary?: LastPatchInstallationSummary; } // @public export interface VirtualMachinePatchStatusOutput { availablePatchSummary?: AvailablePatchSummaryOutput; - configurationStatuses?: Array; + readonly configurationStatuses?: Array; lastPatchInstallationSummary?: LastPatchInstallationSummaryOutput; } @@ -12968,21 +12643,17 @@ export interface VirtualMachineProperties { hardwareProfile?: HardwareProfile; host?: SubResource; hostGroup?: SubResource; - instanceView?: VirtualMachineInstanceView; licenseType?: string; networkProfile?: NetworkProfile; osProfile?: OSProfile; platformFaultDomain?: number; priority?: "Regular" | "Low" | "Spot"; - provisioningState?: string; proximityPlacementGroup?: SubResource; scheduledEventsProfile?: ScheduledEventsProfile; securityProfile?: SecurityProfile; storageProfile?: StorageProfile; - timeCreated?: Date | string; userData?: string; virtualMachineScaleSet?: SubResource; - vmId?: string; } // @public @@ -12998,21 +12669,21 @@ export interface VirtualMachinePropertiesOutput { hardwareProfile?: HardwareProfileOutput; host?: SubResourceOutput; hostGroup?: SubResourceOutput; - instanceView?: VirtualMachineInstanceViewOutput; + readonly instanceView?: VirtualMachineInstanceViewOutput; licenseType?: string; networkProfile?: NetworkProfileOutput; osProfile?: OSProfileOutput; platformFaultDomain?: number; priority?: "Regular" | "Low" | "Spot"; - provisioningState?: string; + readonly provisioningState?: string; proximityPlacementGroup?: SubResourceOutput; scheduledEventsProfile?: ScheduledEventsProfileOutput; securityProfile?: SecurityProfileOutput; storageProfile?: StorageProfileOutput; - timeCreated?: string; + readonly timeCreated?: string; userData?: string; virtualMachineScaleSet?: SubResourceOutput; - vmId?: string; + readonly vmId?: string; } // @public @@ -13104,11 +12775,9 @@ export interface VirtualMachineRunCommandOutput extends ResourceOutput { export interface VirtualMachineRunCommandProperties { asyncExecution?: boolean; errorBlobUri?: string; - instanceView?: VirtualMachineRunCommandInstanceView; outputBlobUri?: string; parameters?: Array; protectedParameters?: Array; - provisioningState?: string; runAsPassword?: string; runAsUser?: string; source?: VirtualMachineRunCommandScriptSource; @@ -13119,11 +12788,11 @@ export interface VirtualMachineRunCommandProperties { export interface VirtualMachineRunCommandPropertiesOutput { asyncExecution?: boolean; errorBlobUri?: string; - instanceView?: VirtualMachineRunCommandInstanceViewOutput; + readonly instanceView?: VirtualMachineRunCommandInstanceViewOutput; outputBlobUri?: string; parameters?: Array; protectedParameters?: Array; - provisioningState?: string; + readonly provisioningState?: string; runAsPassword?: string; runAsUser?: string; source?: VirtualMachineRunCommandScriptSourceOutput; @@ -13202,24 +12871,18 @@ export interface VirtualMachineRunCommandScriptSourceOutput { // @public export interface VirtualMachineRunCommandsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineRunCommandsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineRunCommandsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -13433,8 +13096,6 @@ export interface VirtualMachinesAssessPatches200Response extends HttpResponse { // @public export interface VirtualMachinesAssessPatches202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -13503,7 +13164,6 @@ export interface VirtualMachineScaleSetDataDiskOutput { export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly { name?: string; properties?: VirtualMachineScaleSetExtensionProperties; - type?: string; } // @public @@ -13516,7 +13176,7 @@ export interface VirtualMachineScaleSetExtensionListResultOutput { export interface VirtualMachineScaleSetExtensionOutput extends SubResourceReadOnlyOutput { name?: string; properties?: VirtualMachineScaleSetExtensionPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -13539,7 +13199,6 @@ export interface VirtualMachineScaleSetExtensionProperties { protectedSettings?: any; protectedSettingsFromKeyVault?: KeyVaultSecretReference; provisionAfterExtensions?: Array; - provisioningState?: string; publisher?: string; settings?: any; suppressFailures?: boolean; @@ -13555,7 +13214,7 @@ export interface VirtualMachineScaleSetExtensionPropertiesOutput { protectedSettings?: any; protectedSettingsFromKeyVault?: KeyVaultSecretReferenceOutput; provisionAfterExtensions?: Array; - provisioningState?: string; + readonly provisioningState?: string; publisher?: string; settings?: any; suppressFailures?: boolean; @@ -13621,24 +13280,18 @@ export interface VirtualMachineScaleSetExtensionsCreateOrUpdateQueryParamPropert // @public export interface VirtualMachineScaleSetExtensionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetExtensionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetExtensionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -13781,16 +13434,14 @@ export interface VirtualMachineScaleSetExtensionsUpdateQueryParamProperties { // @public export interface VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOnly { - name?: string; properties?: VirtualMachineScaleSetExtensionProperties; - type?: string; } // @public export interface VirtualMachineScaleSetExtensionUpdateOutput extends SubResourceReadOnlyOutput { - name?: string; + readonly name?: string; properties?: VirtualMachineScaleSetExtensionPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -13805,31 +13456,29 @@ export interface VirtualMachineScaleSetHardwareProfileOutput { // @public export interface VirtualMachineScaleSetIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface VirtualMachineScaleSetIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface VirtualMachineScaleSetInstanceViewOutput { - extensions?: Array; - orchestrationServices?: Array; + readonly extensions?: Array; + readonly orchestrationServices?: Array; statuses?: Array; - virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummaryOutput; + readonly virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummaryOutput; } // @public export interface VirtualMachineScaleSetInstanceViewStatusesSummaryOutput { - statusesSummary?: Array; + readonly statusesSummary?: Array; } // @public @@ -14054,13 +13703,10 @@ export interface VirtualMachineScaleSetProperties { overprovision?: boolean; platformFaultDomainCount?: number; priorityMixPolicy?: PriorityMixPolicy; - provisioningState?: string; proximityPlacementGroup?: SubResource; scaleInPolicy?: ScaleInPolicy; singlePlacementGroup?: boolean; spotRestorePolicy?: SpotRestorePolicy; - timeCreated?: Date | string; - uniqueId?: string; upgradePolicy?: UpgradePolicy; virtualMachineProfile?: VirtualMachineScaleSetVMProfile; zoneBalance?: boolean; @@ -14076,13 +13722,13 @@ export interface VirtualMachineScaleSetPropertiesOutput { overprovision?: boolean; platformFaultDomainCount?: number; priorityMixPolicy?: PriorityMixPolicyOutput; - provisioningState?: string; + readonly provisioningState?: string; proximityPlacementGroup?: SubResourceOutput; scaleInPolicy?: ScaleInPolicyOutput; singlePlacementGroup?: boolean; spotRestorePolicy?: SpotRestorePolicyOutput; - timeCreated?: string; - uniqueId?: string; + readonly timeCreated?: string; + readonly uniqueId?: string; upgradePolicy?: UpgradePolicyOutput; virtualMachineProfile?: VirtualMachineScaleSetVMProfileOutput; zoneBalance?: boolean; @@ -14144,16 +13790,12 @@ export interface VirtualMachineScaleSetRollingUpgradesCancel { // @public export interface VirtualMachineScaleSetRollingUpgradesCancel200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetRollingUpgradesCancel202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14222,16 +13864,12 @@ export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade { // @public export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14265,16 +13903,12 @@ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade { // @public export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14308,8 +13942,6 @@ export interface VirtualMachineScaleSetsConvertToSinglePlacementGroup { // @public export interface VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -14409,16 +14041,12 @@ export interface VirtualMachineScaleSetsDeallocate { // @public export interface VirtualMachineScaleSetsDeallocate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsDeallocate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14457,24 +14085,18 @@ export interface VirtualMachineScaleSetsDeallocateQueryParamProperties { // @public export interface VirtualMachineScaleSetsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -14494,16 +14116,12 @@ export interface VirtualMachineScaleSetsDeleteInstances { // @public export interface VirtualMachineScaleSetsDeleteInstances200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsDeleteInstances202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14697,17 +14315,17 @@ export interface VirtualMachineScaleSetsGetQueryParamProperties { // @public export interface VirtualMachineScaleSetSkuCapacityOutput { - defaultCapacity?: number; - maximum?: number; - minimum?: number; - scaleType?: "Automatic" | "None"; + readonly defaultCapacity?: number; + readonly maximum?: number; + readonly minimum?: number; + readonly scaleType?: "Automatic" | "None"; } // @public export interface VirtualMachineScaleSetSkuOutput { - capacity?: VirtualMachineScaleSetSkuCapacityOutput; - resourceType?: string; - sku?: SkuOutput; + readonly capacity?: VirtualMachineScaleSetSkuCapacityOutput; + readonly resourceType?: string; + readonly sku?: SkuOutput; } // @public (undocumented) @@ -14857,16 +14475,12 @@ export interface VirtualMachineScaleSetsPerformMaintenance { // @public export interface VirtualMachineScaleSetsPerformMaintenance200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsPerformMaintenance202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14910,16 +14524,12 @@ export interface VirtualMachineScaleSetsPowerOff { // @public export interface VirtualMachineScaleSetsPowerOff200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsPowerOff202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14964,16 +14574,12 @@ export interface VirtualMachineScaleSetsRedeploy { // @public export interface VirtualMachineScaleSetsRedeploy200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsRedeploy202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15017,16 +14623,12 @@ export interface VirtualMachineScaleSetsReimage { // @public export interface VirtualMachineScaleSetsReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15038,16 +14640,12 @@ export interface VirtualMachineScaleSetsReimageAll { // @public export interface VirtualMachineScaleSetsReimageAll200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsReimageAll202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15123,16 +14721,12 @@ export interface VirtualMachineScaleSetsRestart { // @public export interface VirtualMachineScaleSetsRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15176,16 +14770,12 @@ export interface VirtualMachineScaleSetsSetOrchestrationServiceState { // @public export interface VirtualMachineScaleSetsSetOrchestrationServiceState200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsSetOrchestrationServiceState202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15229,16 +14819,12 @@ export interface VirtualMachineScaleSetsStart { // @public export interface VirtualMachineScaleSetsStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15321,16 +14907,12 @@ export interface VirtualMachineScaleSetsUpdateInstances { // @public export interface VirtualMachineScaleSetsUpdateInstances200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsUpdateInstances202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15562,26 +15144,20 @@ export interface VirtualMachineScaleSetUpdateVMProfile { // @public export interface VirtualMachineScaleSetVM extends Resource { identity?: VirtualMachineIdentity; - instanceId?: string; plan?: Plan; properties?: VirtualMachineScaleSetVMProperties; - resources?: Array; - sku?: Sku; - zones?: Array; } // @public export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly { - name?: string; properties?: VirtualMachineExtensionProperties; - type?: string; } // @public export interface VirtualMachineScaleSetVMExtensionOutput extends SubResourceReadOnlyOutput { - name?: string; + readonly name?: string; properties?: VirtualMachineExtensionPropertiesOutput; - type?: string; + readonly type?: string; } // @public (undocumented) @@ -15642,24 +15218,18 @@ export interface VirtualMachineScaleSetVMExtensionsCreateOrUpdateQueryParamPrope // @public export interface VirtualMachineScaleSetVMExtensionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMExtensionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetVMExtensionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -15760,8 +15330,8 @@ export interface VirtualMachineScaleSetVMExtensionsListResultOutput { // @public export interface VirtualMachineScaleSetVMExtensionsSummaryOutput { - name?: string; - statusesSummary?: Array; + readonly name?: string; + readonly statusesSummary?: Array; } // @public @@ -15806,16 +15376,14 @@ export interface VirtualMachineScaleSetVMExtensionsUpdateQueryParamProperties { // @public export interface VirtualMachineScaleSetVMExtensionUpdate extends SubResourceReadOnly { - name?: string; properties?: VirtualMachineExtensionUpdateProperties; - type?: string; } // @public export interface VirtualMachineScaleSetVMExtensionUpdateOutput extends SubResourceReadOnlyOutput { - name?: string; + readonly name?: string; properties?: VirtualMachineExtensionUpdatePropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -15830,7 +15398,6 @@ export interface VirtualMachineScaleSetVMInstanceRequiredIDs { // @public export interface VirtualMachineScaleSetVMInstanceView { - assignedHost?: string; bootDiagnostics?: BootDiagnosticsInstanceView; disks?: Array; extensions?: Array; @@ -15841,12 +15408,11 @@ export interface VirtualMachineScaleSetVMInstanceView { rdpThumbPrint?: string; statuses?: Array; vmAgent?: VirtualMachineAgentInstanceView; - vmHealth?: VirtualMachineHealthStatus; } // @public export interface VirtualMachineScaleSetVMInstanceViewOutput { - assignedHost?: string; + readonly assignedHost?: string; bootDiagnostics?: BootDiagnosticsInstanceViewOutput; disks?: Array; extensions?: Array; @@ -15857,7 +15423,7 @@ export interface VirtualMachineScaleSetVMInstanceViewOutput { rdpThumbPrint?: string; statuses?: Array; vmAgent?: VirtualMachineAgentInstanceViewOutput; - vmHealth?: VirtualMachineHealthStatusOutput; + readonly vmHealth?: VirtualMachineHealthStatusOutput; } // @public @@ -15879,12 +15445,12 @@ export interface VirtualMachineScaleSetVMNetworkProfileConfigurationOutput { // @public export interface VirtualMachineScaleSetVMOutput extends ResourceOutput { identity?: VirtualMachineIdentityOutput; - instanceId?: string; + readonly instanceId?: string; plan?: PlanOutput; properties?: VirtualMachineScaleSetVMPropertiesOutput; - resources?: Array; - sku?: SkuOutput; - zones?: Array; + readonly resources?: Array; + readonly sku?: SkuOutput; + readonly zones?: Array; } // @public @@ -15931,19 +15497,14 @@ export interface VirtualMachineScaleSetVMProperties { availabilitySet?: SubResource; diagnosticsProfile?: DiagnosticsProfile; hardwareProfile?: HardwareProfile; - instanceView?: VirtualMachineScaleSetVMInstanceView; - latestModelApplied?: boolean; licenseType?: string; - modelDefinitionApplied?: string; networkProfile?: NetworkProfile; networkProfileConfiguration?: VirtualMachineScaleSetVMNetworkProfileConfiguration; osProfile?: OSProfile; protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicy; - provisioningState?: string; securityProfile?: SecurityProfile; storageProfile?: StorageProfile; userData?: string; - vmId?: string; } // @public @@ -15952,19 +15513,19 @@ export interface VirtualMachineScaleSetVMPropertiesOutput { availabilitySet?: SubResourceOutput; diagnosticsProfile?: DiagnosticsProfileOutput; hardwareProfile?: HardwareProfileOutput; - instanceView?: VirtualMachineScaleSetVMInstanceViewOutput; - latestModelApplied?: boolean; + readonly instanceView?: VirtualMachineScaleSetVMInstanceViewOutput; + readonly latestModelApplied?: boolean; licenseType?: string; - modelDefinitionApplied?: string; + readonly modelDefinitionApplied?: string; networkProfile?: NetworkProfileOutput; networkProfileConfiguration?: VirtualMachineScaleSetVMNetworkProfileConfigurationOutput; osProfile?: OSProfileOutput; protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicyOutput; - provisioningState?: string; + readonly provisioningState?: string; securityProfile?: SecurityProfileOutput; storageProfile?: StorageProfileOutput; userData?: string; - vmId?: string; + readonly vmId?: string; } // @public @@ -16041,24 +15602,18 @@ export interface VirtualMachineScaleSetVMRunCommandsCreateOrUpdateQueryParamProp // @public export interface VirtualMachineScaleSetVMRunCommandsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMRunCommandsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetVMRunCommandsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -16199,16 +15754,12 @@ export interface VirtualMachineScaleSetVMsDeallocate { // @public export interface VirtualMachineScaleSetVMsDeallocate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsDeallocate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16237,24 +15788,18 @@ export interface VirtualMachineScaleSetVMsDeallocateQueryParamProperties { // @public export interface VirtualMachineScaleSetVMsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetVMsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -16393,16 +15938,12 @@ export interface VirtualMachineScaleSetVMsPerformMaintenance { // @public export interface VirtualMachineScaleSetVMsPerformMaintenance200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsPerformMaintenance202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16436,16 +15977,12 @@ export interface VirtualMachineScaleSetVMsPowerOff { // @public export interface VirtualMachineScaleSetVMsPowerOff200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsPowerOff202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16480,16 +16017,12 @@ export interface VirtualMachineScaleSetVMsRedeploy { // @public export interface VirtualMachineScaleSetVMsRedeploy200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsRedeploy202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16523,16 +16056,12 @@ export interface VirtualMachineScaleSetVMsReimage { // @public export interface VirtualMachineScaleSetVMsReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16544,16 +16073,12 @@ export interface VirtualMachineScaleSetVMsReimageAll { // @public export interface VirtualMachineScaleSetVMsReimageAll200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsReimageAll202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16619,16 +16144,12 @@ export interface VirtualMachineScaleSetVMsRestart { // @public export interface VirtualMachineScaleSetVMsRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16706,8 +16227,6 @@ export interface VirtualMachineScaleSetVMsRunCommand200Response extends HttpResp // @public export interface VirtualMachineScaleSetVMsRunCommand202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16743,8 +16262,6 @@ export interface VirtualMachineScaleSetVMsSimulateEviction { // @public export interface VirtualMachineScaleSetVMsSimulateEviction204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -16778,16 +16295,12 @@ export interface VirtualMachineScaleSetVMsStart { // @public export interface VirtualMachineScaleSetVMsStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16884,8 +16397,6 @@ export interface VirtualMachinesCapture200Response extends HttpResponse { // @public export interface VirtualMachinesCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16929,16 +16440,12 @@ export interface VirtualMachinesConvertToManagedDisks { // @public export interface VirtualMachinesConvertToManagedDisks200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesConvertToManagedDisks202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17028,16 +16535,12 @@ export interface VirtualMachinesDeallocate { // @public export interface VirtualMachinesDeallocate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesDeallocate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17067,24 +16570,18 @@ export interface VirtualMachinesDeallocateQueryParamProperties { // @public export interface VirtualMachinesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachinesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -17119,8 +16616,6 @@ export interface VirtualMachinesGeneralize { // @public export interface VirtualMachinesGeneralize200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -17193,8 +16688,6 @@ export interface VirtualMachinesInstallPatches200Response extends HttpResponse { // @public export interface VirtualMachinesInstallPatches202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17461,16 +16954,16 @@ export interface VirtualMachinesListQueryParamProperties { // @public export interface VirtualMachineSoftwarePatchPropertiesOutput { - activityId?: string; - assessmentState?: "Unknown" | "Available"; - classifications?: Array; - kbId?: string; - lastModifiedDateTime?: string; - name?: string; - patchId?: string; - publishedDate?: string; - rebootBehavior?: "Unknown" | "NeverReboots" | "AlwaysRequiresReboot" | "CanRequestReboot"; - version?: string; + readonly activityId?: string; + readonly assessmentState?: "Unknown" | "Available"; + readonly classifications?: Array; + readonly kbId?: string; + readonly lastModifiedDateTime?: string; + readonly name?: string; + readonly patchId?: string; + readonly publishedDate?: string; + readonly rebootBehavior?: "Unknown" | "NeverReboots" | "AlwaysRequiresReboot" | "CanRequestReboot"; + readonly version?: string; } // @public (undocumented) @@ -17480,16 +16973,12 @@ export interface VirtualMachinesPerformMaintenance { // @public export interface VirtualMachinesPerformMaintenance200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesPerformMaintenance202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17523,16 +17012,12 @@ export interface VirtualMachinesPowerOff { // @public export interface VirtualMachinesPowerOff200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesPowerOff202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17567,16 +17052,12 @@ export interface VirtualMachinesReapply { // @public export interface VirtualMachinesReapply200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesReapply202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17610,16 +17091,12 @@ export interface VirtualMachinesRedeploy { // @public export interface VirtualMachinesRedeploy200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesRedeploy202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17653,16 +17130,12 @@ export interface VirtualMachinesReimage { // @public export interface VirtualMachinesReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17706,16 +17179,12 @@ export interface VirtualMachinesRestart { // @public export interface VirtualMachinesRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17793,8 +17262,6 @@ export interface VirtualMachinesRunCommand200Response extends HttpResponse { // @public export interface VirtualMachinesRunCommand202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17830,8 +17297,6 @@ export interface VirtualMachinesSimulateEviction { // @public export interface VirtualMachinesSimulateEviction204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -17865,16 +17330,12 @@ export interface VirtualMachinesStart { // @public export interface VirtualMachinesStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17903,8 +17364,8 @@ export interface VirtualMachinesStartQueryParamProperties { // @public export interface VirtualMachineStatusCodeCountOutput { - code?: string; - count?: number; + readonly code?: string; + readonly count?: number; } // @public diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts index 3c6e1fb266f9..dfa871bc13a3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts @@ -43,7 +43,7 @@ async function createOrUpdateACapacityReservation() { capacityReservationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts index 796b3dbd254b..40c4c71c92ba 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts @@ -37,7 +37,7 @@ async function capacityReservationsDeleteMaximumSetGen() { capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function capacityReservationsDeleteMinimumSetGen() { capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts index 22bbf9b33a98..b2bce85f1d45 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts @@ -55,7 +55,7 @@ async function capacityReservationsUpdateMaximumSetGen() { capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -87,7 +87,7 @@ async function capacityReservationsUpdateMinimumSetGen() { capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts index fe35b3ec07cf..fee7158c69c9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts @@ -37,7 +37,7 @@ async function deleteCloudServiceRoleInstance() { roleInstanceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts index 636b8d81b160..545afe4c9220 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts @@ -37,7 +37,7 @@ async function rebuildCloudServiceRoleInstance() { roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts index 033c69dda6d0..5e71666ebfb7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts @@ -37,7 +37,7 @@ async function reimageCloudServiceRoleInstance() { roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts index 73bb4372e526..2031811eb744 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts @@ -37,7 +37,7 @@ async function restartCloudServiceRoleInstance() { roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts index 2f0d93e2800a..8c0bc310317b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts @@ -74,7 +74,7 @@ async function createNewCloudServiceWithMultipleRoles() { cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -138,7 +138,7 @@ async function createNewCloudServiceWithSingleRole() { cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -217,7 +217,7 @@ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -297,7 +297,7 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts index 47a0d5a95952..bda660a0d240 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts @@ -36,7 +36,7 @@ async function deleteCloudServiceRoleInstancesInACloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts index 032b4c9bc06e..d0bf092097a8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteCloudService() { cloudServiceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts index 36009860838e..3fa2793c05b3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts @@ -35,7 +35,7 @@ async function stopOrPowerOffCloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts index 953c1587f60f..20edf0f56d53 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts @@ -36,7 +36,7 @@ async function rebuildCloudServiceRoleInstancesInACloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts index 78928b321e2a..28dafd3a5b01 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts @@ -36,7 +36,7 @@ async function reimageCloudServiceRoleInstancesInACloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts index f35ccc889611..cd0dccf17740 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts @@ -36,7 +36,7 @@ async function restartCloudServiceRoleInstancesInACloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts index 6ad2dfc56ca2..129c97676e74 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts @@ -35,7 +35,7 @@ async function startCloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts index 3745c446c991..01102aa024fb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts @@ -37,7 +37,7 @@ async function updateCloudServiceToSpecifiedDomain() { updateDomain, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts index a2e956486532..3a1481300cf9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts @@ -36,7 +36,7 @@ async function updateExistingCloudServiceToAddTags() { cloudServiceName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts index 8975a5a95344..526202ff3007 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts @@ -26,24 +26,6 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { const options: DedicatedHostGroupsUpdateParameters = { body: { properties: { - instanceView: { - hosts: [ - { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - }, platformFaultDomainCount: 3, supportAutomaticPlacement: true, }, diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts index a1108bc6b09d..91dddbeeb5a1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts @@ -43,7 +43,7 @@ async function createOrUpdateADedicatedHost() { hostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts index 00095973b88a..c9565162c2fb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts @@ -37,7 +37,7 @@ async function dedicatedHostsDeleteMaximumSetGen() { hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function dedicatedHostsDeleteMinimumSetGen() { hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts index 40112baab2c9..8bcf3db0b925 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts @@ -37,7 +37,7 @@ async function restartDedicatedHost() { hostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts index 721fb4871b51..6acace77885a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts @@ -29,20 +29,6 @@ async function dedicatedHostsUpdateMaximumSetGen() { body: { properties: { autoReplaceOnFailure: true, - instanceView: { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, licenseType: "Windows_Server_Hybrid", platformFaultDomain: 1, }, @@ -59,7 +45,7 @@ async function dedicatedHostsUpdateMaximumSetGen() { hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -91,7 +77,7 @@ async function dedicatedHostsUpdateMinimumSetGen() { hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts index 6857a8a76880..0da39131440e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts @@ -36,7 +36,7 @@ async function createADiskAccessResource() { diskAccessName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts index 3e1369a6d87a..c5b52c2a1ed4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts @@ -37,7 +37,7 @@ async function deleteAPrivateEndpointConnectionUnderADiskAccessResource() { privateEndpointConnectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts index 036f8923e3bc..63b233321913 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteADiskAccessResource() { diskAccessName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts index 2f02ac246ef0..28eb7914e02b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts @@ -45,7 +45,7 @@ async function approveAPrivateEndpointConnectionUnderADiskAccessResource() { privateEndpointConnectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts index 6a3695532036..a164c84aa787 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts @@ -36,7 +36,7 @@ async function updateADiskAccessResource() { diskAccessName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts index 4b2c3395672f..2bf1349b83c1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts @@ -45,7 +45,7 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentSubscription() diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -91,7 +91,7 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentTenant() { diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -133,7 +133,7 @@ async function createADiskEncryptionSet() { diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts index b87690896b83..c06148a95b4c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteADiskEncryptionSet() { diskEncryptionSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts index c5068739f93b..3380547bdc5c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts @@ -45,7 +45,7 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -86,7 +86,7 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -129,7 +129,7 @@ async function updateADiskEncryptionSet() { diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts index 6469498b8282..540c0fc0b969 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts @@ -40,7 +40,7 @@ async function grantsAccessToADiskRestorePoint() { diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts index b32b12c342cd..dcd3cdf9511d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts @@ -39,7 +39,7 @@ async function revokesAccessToADiskRestorePoint() { diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts index ba53a5f7c7d8..a0cbad9b0a18 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts @@ -52,7 +52,7 @@ async function createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -91,7 +91,7 @@ async function createAManagedDiskAndAssociateWithDiskAccessResource() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -131,7 +131,7 @@ async function createAManagedDiskAndAssociateWithDiskEncryptionSet() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -170,7 +170,7 @@ async function createAManagedDiskByCopyingASnapshot() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,7 +210,7 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscri diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -248,7 +248,7 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscripti diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -293,7 +293,7 @@ async function createAManagedDiskFromImportSecureCreateOption() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -333,7 +333,7 @@ async function createAManagedDiskFromUploadPreparedSecureCreateOption() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -374,7 +374,7 @@ async function createAManagedDiskFromAPlatformImage() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -416,7 +416,7 @@ async function createAManagedDiskFromAnAzureComputeGalleryCommunityImage() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -458,7 +458,7 @@ async function createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -499,7 +499,7 @@ async function createAManagedDiskFromAnAzureComputeGalleryImage() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -538,7 +538,7 @@ async function createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSu diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -575,7 +575,7 @@ async function createAManagedDiskWithDataAccessAuthMode() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -612,7 +612,7 @@ async function createAManagedDiskWithOptimizedForFrequentAttach() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -647,7 +647,7 @@ async function createAManagedDiskWithPerformancePlus() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -686,7 +686,7 @@ async function createAManagedDiskWithPremiumV2AccountType() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -728,7 +728,7 @@ async function createAManagedDiskWithSecurityProfile() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -762,7 +762,7 @@ async function createAManagedDiskWithSsdZrsAccountType() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -802,7 +802,7 @@ async function createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -837,7 +837,7 @@ async function createAManagedUploadDisk() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -871,7 +871,7 @@ async function createAnEmptyManagedDiskInExtendedLocation() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -904,7 +904,7 @@ async function createAnEmptyManagedDisk() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -941,7 +941,7 @@ async function createAnUltraManagedDiskWithLogicalSectorSize512E() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts index 4f8eddd8a1f4..091113a6218e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteAManagedDisk() { diskName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts index c84c9ebf3a7e..75d38d496c59 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts @@ -36,7 +36,7 @@ async function getASasOnAManagedDisk() { diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -70,7 +70,7 @@ async function getSasOnManagedDiskAndVMGuestState() { diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts index 15f1794cf4ff..54172ffc568f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts @@ -35,7 +35,7 @@ async function revokeAccessToAManagedDisk() { diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts index 715c361167cd..4ef3bc96b975 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts @@ -36,7 +36,7 @@ async function createOrUpdateABurstingEnabledManagedDisk() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function updateAManagedDiskToAddAcceleratedNetworking() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -98,7 +98,7 @@ async function updateAManagedDiskToAddArchitecture() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -137,7 +137,7 @@ async function updateAManagedDiskToAddPurchasePlan() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -167,7 +167,7 @@ async function updateAManagedDiskToAddSupportsHibernation() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -197,7 +197,7 @@ async function updateAManagedDiskToChangeTier() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -227,7 +227,7 @@ async function updateAManagedDiskToDisableBursting() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -257,7 +257,7 @@ async function updateAManagedDiskToDisableOptimizedForFrequentAttach() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -289,7 +289,7 @@ async function updateAManagedDiskWithDiskControllerTypes() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -319,7 +319,7 @@ async function updateManagedDiskToRemoveDiskAccessResourceAssociation() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts index 78dcb00abaee..7f07cc1c3987 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts @@ -50,7 +50,7 @@ async function createACommunityGallery() { galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -86,7 +86,7 @@ async function createOrUpdateASimpleGalleryWithSharingProfile() { galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -122,7 +122,7 @@ async function createOrUpdateASimpleGalleryWithSoftDeletionEnabled() { galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -155,7 +155,7 @@ async function createOrUpdateASimpleGallery() { galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts index 76a7725beb8d..cfa3083d9849 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteAGallery() { galleryName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts index 8d492f208523..b8e85330ca76 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts @@ -36,7 +36,7 @@ async function updateASimpleGallery() { galleryName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts index 9acdbc04fc77..d7599a4eb3b6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts @@ -65,7 +65,7 @@ async function createOrUpdateASimpleGalleryApplicationVersion() { galleryApplicationVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts index 136655ee932d..a65cb7ef27fe 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts @@ -39,7 +39,7 @@ async function deleteAGalleryApplicationVersion() { galleryApplicationVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts index 30a395a92898..f51462cbe91a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts @@ -64,7 +64,7 @@ async function updateASimpleGalleryApplicationVersion() { galleryApplicationVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts index ab58f8d482bb..652e12986363 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts @@ -47,7 +47,7 @@ async function createOrUpdateASimpleGalleryApplication() { galleryApplicationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts index 577cdd8714d1..5eab563c02f8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts @@ -37,7 +37,7 @@ async function deleteAGalleryApplication() { galleryApplicationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts index 1afc010e6672..0c33bf09eb20 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts @@ -46,7 +46,7 @@ async function updateASimpleGalleryApplication() { galleryApplicationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts index a9f3c1e75ea5..2c803719ca5e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts @@ -98,7 +98,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -190,7 +190,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -284,7 +284,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -331,7 +331,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMo galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -423,7 +423,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -517,7 +517,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -600,7 +600,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -692,7 +692,7 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts index 3ee35478f53c..3ebb631ca8e8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts @@ -39,7 +39,7 @@ async function deleteAGalleryImageVersion() { galleryImageVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts index b18aa05291bc..8d573768eb33 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts @@ -58,7 +58,7 @@ async function updateASimpleGalleryImageVersionManagedImageAsSource() { galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -106,7 +106,7 @@ async function updateASimpleGalleryImageVersionWithoutSourceId() { galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts index eb88cbc2c356..8a3c6b242264 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts @@ -50,7 +50,7 @@ async function createOrUpdateASimpleGalleryImage() { galleryImageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts index 382315306f94..6a058d12d554 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts @@ -37,7 +37,7 @@ async function deleteAGalleryImage() { galleryImageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts index ce367b20b0b2..5227cb70cecb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts @@ -49,7 +49,7 @@ async function updateASimpleGalleryImage() { galleryImageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts index e9189d131044..84f31a93e143 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts @@ -45,7 +45,7 @@ async function addSharingIdToTheSharingProfileOfAGallery() { galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -75,7 +75,7 @@ async function resetSharingProfileOfAGallery() { galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -105,7 +105,7 @@ async function shareAGalleryToCommunity() { galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts index 06d5ea8a187e..d5234762d980 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts @@ -50,7 +50,7 @@ async function createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource( imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -92,7 +92,7 @@ async function createAVirtualMachineImageFromABlob() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -138,7 +138,7 @@ async function createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetRe imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -182,7 +182,7 @@ async function createAVirtualMachineImageFromAManagedDisk() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -228,7 +228,7 @@ async function createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResou imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -272,7 +272,7 @@ async function createAVirtualMachineImageFromASnapshot() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -309,7 +309,7 @@ async function createAVirtualMachineImageFromAnExistingVirtualMachine() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -357,7 +357,7 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromABlob() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -409,7 +409,7 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk() imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -461,7 +461,7 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromASnapshot() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts index 23af6e691c6a..bb12c58df393 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts @@ -35,7 +35,7 @@ async function imagesDeleteMaximumSetGen() { imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function imagesDeleteMinimumSetGen() { imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts index d003b36f0f10..a969d4be0be5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts @@ -44,7 +44,7 @@ async function updatesTagsOfAnImage() { imageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts index 525a1eb87ac1..7b5a6488ea77 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts @@ -40,7 +40,7 @@ async function exportLogsWhichContainAllApiRequestsMadeToComputeResourceProvider location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts index 397a0aee3c01..f3b7177e3c8a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts @@ -42,7 +42,7 @@ async function exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourc location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts index f41c44839b30..286536adf60f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts @@ -35,7 +35,7 @@ async function restorePointCollectionsDeleteMaximumSetGen() { restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function restorePointCollectionsDeleteMinimumSetGen() { restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts index 7d4f1c2a6fc7..ace5b267068b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts @@ -44,7 +44,7 @@ async function copyARestorePointToADifferentRegion() { restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,7 +84,7 @@ async function createARestorePoint() { restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts index 5facddf6bb54..833ac47221e0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts @@ -37,7 +37,7 @@ async function restorePointsDeleteMaximumSetGen() { restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function restorePointsDeleteMinimumSetGen() { restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts index 23a6443bcf23..e7fc6a5b2ae4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts @@ -46,7 +46,7 @@ async function createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscripti snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,7 +84,7 @@ async function createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription( snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -123,7 +123,7 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -164,7 +164,7 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts index a6d776bfcf3e..82f0a13e8f16 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteASnapshot() { snapshotName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts index e243cb06516f..948a9289367b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts @@ -36,7 +36,7 @@ async function getASasOnASnapshot() { snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts index 7501a1e45015..3b57b8b07340 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts @@ -35,7 +35,7 @@ async function revokeAccessToASnapshot() { snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts index 6c3f46b6528e..3762eb1c04e7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts @@ -42,7 +42,7 @@ async function updateASnapshotWithAcceleratedNetworking() { snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -75,7 +75,7 @@ async function updateASnapshot() { snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts index 35b17594caa9..813550aae7e1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts @@ -75,7 +75,7 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -107,7 +107,7 @@ async function virtualMachineExtensionsCreateOrUpdateMinimumSetGen() { vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts index 4a4229ded957..d27c182dceb8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts @@ -37,7 +37,7 @@ async function virtualMachineExtensionsDeleteMaximumSetGen() { vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineExtensionsDeleteMinimumSetGen() { vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts index 8b1395a17ef0..a9dc31267814 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts @@ -54,7 +54,7 @@ async function updateVMExtension() { vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts index 89a29e34a398..42d46fae10a8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts @@ -51,7 +51,7 @@ async function createOrUpdateARunCommand() { runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts index 869bd225d4ad..3b1d24061b58 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts @@ -37,7 +37,7 @@ async function deleteARunCommand() { runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts index b19e8dae3e7b..289575790329 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts @@ -40,7 +40,7 @@ async function updateARunCommand() { runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts index 949618c633db..5ac5eeb2bdbb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts @@ -52,7 +52,7 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen() { vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,7 +84,7 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen() { vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts index e13e804f67d5..4d093bea280d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts @@ -37,7 +37,7 @@ async function virtualMachineScaleSetExtensionsDeleteMaximumSetGen() { vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineScaleSetExtensionsDeleteMinimumSetGen() { vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts index b28d947898e3..2e9c8edf1d81 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts @@ -51,7 +51,7 @@ async function virtualMachineScaleSetExtensionsUpdateMaximumSetGen() { vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -83,7 +83,7 @@ async function virtualMachineScaleSetExtensionsUpdateMinimumSetGen() { vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts index 1a825bafc4d3..24ccea83d07c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts @@ -35,7 +35,7 @@ async function virtualMachineScaleSetRollingUpgradesCancelMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachineScaleSetRollingUpgradesCancelMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts index 3e6ebf7bdcf5..d6c4a10ded79 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts @@ -35,7 +35,7 @@ async function startAnExtensionRollingUpgrade() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts index 12d37558b9f9..78b229a6eea7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts @@ -35,7 +35,7 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen( vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen( vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts index 34daca6849a0..b05290f11fd6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts @@ -48,7 +48,7 @@ async function createVirtualMachineScaleSetVMExtension() { vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts index 03b7bdaee954..37194b488676 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts @@ -39,7 +39,7 @@ async function deleteVirtualMachineScaleSetVMExtension() { vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts index d70685d96f5d..3c032eed1c8b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts @@ -48,7 +48,7 @@ async function updateVirtualMachineScaleSetVMExtension() { vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts index fa653bd27c5d..327ec96f1eb4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts @@ -53,7 +53,7 @@ async function createVirtualMachineScaleSetVMRunCommand() { runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts index a0996eabff5d..e0508ebcd9f1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts @@ -39,7 +39,7 @@ async function deleteVirtualMachineScaleSetVMRunCommand() { runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts index 9b5a05a882c7..10b77b0f721d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts @@ -42,7 +42,7 @@ async function updateVirtualMachineScaleSetVMRunCommand() { runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts index 3bada09939ed..a94712f51314 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts @@ -37,7 +37,7 @@ async function virtualMachineScaleSetVMSDeallocateMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineScaleSetVMSDeallocateMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts index f5afe541a302..c1a3444b4c94 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts @@ -37,7 +37,7 @@ async function forceDeleteAVirtualMachineFromAVMScaleSet() { instanceId, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts index 429f7dc5926d..d4faeb4ec8ba 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts @@ -37,7 +37,7 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts index f4bf6c0abccc..bfce495fed8c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts @@ -37,7 +37,7 @@ async function virtualMachineScaleSetVMSPowerOffMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineScaleSetVMSPowerOffMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts index 1d83fbb06ded..ae26d1303715 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts @@ -37,7 +37,7 @@ async function virtualMachineScaleSetVMSRedeployMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineScaleSetVMSRedeployMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts index ffef68b8d60d..3336fd755edd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts @@ -37,7 +37,7 @@ async function virtualMachineScaleSetVMSReimageAllMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineScaleSetVMSReimageAllMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts index 031c78b7a0d1..5f4081dd75f7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts @@ -38,7 +38,7 @@ async function virtualMachineScaleSetVMSReimageMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -69,7 +69,7 @@ async function virtualMachineScaleSetVMSReimageMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts index a8cc5909841b..9ca1aff195f3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts @@ -37,7 +37,7 @@ async function virtualMachineScaleSetVMSRestartMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineScaleSetVMSRestartMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts index effe3cb4c5d9..7ba83798e4a1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts @@ -41,7 +41,7 @@ async function virtualMachineScaleSetVMSRunCommand() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts index 2493d3d2f85a..ac4ec742fb50 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts @@ -37,7 +37,7 @@ async function virtualMachineScaleSetVMSStartMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +68,7 @@ async function virtualMachineScaleSetVMSStartMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts index 68813fdb4fe1..bbbc1b7ca41c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts @@ -49,129 +49,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { vmSize: "Basic_A0", vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 }, }, - instanceView: { - bootDiagnostics: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - disks: [ - { - name: "aaaaaaaaaaa", - encryptionSettings: [ - { - diskEncryptionKey: { - secretUrl: "aaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - enabled: true, - keyEncryptionKey: { - keyUrl: "aaaaaaaaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - maintenanceRedeployStatus: { - isCustomerInitiatedMaintenanceAllowed: true, - lastOperationMessage: "aaaaaa", - lastOperationResultCode: "None", - maintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - maintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - }, - placementGroupId: "aaa", - platformFaultDomain: 14, - platformUpdateDomain: 23, - rdpThumbPrint: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgent: { - extensionHandlers: [ - { - type: "aaaaaaaaaaaaa", - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - typeHandlerVersion: "aaaaa", - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgentVersion: "aaaaaaaaaaaaaaaaaaaaaaa", - }, - vmHealth: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - extensions: [ - { - name: "aaaaaaaaaaaaaaaaa", - type: "aaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - substatuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa", - }, - ], - }, licenseType: "aaaaaaaaaa", networkProfile: { networkApiVersion: "2020-11-01", @@ -443,7 +320,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { }, userData: "RXhhbXBsZSBVc2VyRGF0YQ==", }, - sku: { name: "Classic", capacity: 29, tier: "aaaaaaaaaaaaaa" }, tags: {}, }, queryParameters: { "api-version": "2022-08-01" }, @@ -457,7 +333,7 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -489,7 +365,7 @@ async function virtualMachineScaleSetVMSUpdateMinimumSetGen() { instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts index 3204a530d085..dbf91350b023 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts @@ -105,7 +105,7 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,7 +210,7 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -285,7 +285,7 @@ async function createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -370,7 +370,7 @@ async function createAPlatformImageScaleSetWithUnmanagedOSDisks() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -445,7 +445,7 @@ async function createAScaleSetFromACustomImage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -520,7 +520,7 @@ async function createAScaleSetFromAGeneralizedSharedImage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -590,7 +590,7 @@ async function createAScaleSetFromASpecializedSharedImage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -688,7 +688,7 @@ async function createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -784,7 +784,7 @@ async function createAScaleSetWithApplicationProfile() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -867,7 +867,7 @@ async function createAScaleSetWithDiskControllerType() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -961,7 +961,7 @@ async function createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk() vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1057,7 +1057,7 @@ async function createAScaleSetWithFpgaNetworkInterfaces() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1141,7 +1141,7 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1226,7 +1226,7 @@ async function createAScaleSetWithSecurityTypeAsConfidentialVM() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1308,7 +1308,7 @@ async function createAScaleSetWithUefiSettingsOfSecureBootAndVTpm() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1391,7 +1391,7 @@ async function createAScaleSetWithAMarketplaceImagePlan() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1474,7 +1474,7 @@ async function createAScaleSetWithAnAzureApplicationGateway() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1566,7 +1566,7 @@ async function createAScaleSetWithAnAzureLoadBalancer() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1645,7 +1645,7 @@ async function createAScaleSetWithAutomaticRepairsEnabled() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1729,7 +1729,7 @@ async function createAScaleSetWithBootDiagnostics() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1812,7 +1812,7 @@ async function createAScaleSetWithEmptyDataDisksOnEachVM() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1896,7 +1896,7 @@ async function createAScaleSetWithEphemeralOSDisksUsingPlacementProperty() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1980,7 +1980,7 @@ async function createAScaleSetWithEphemeralOSDisks() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2079,7 +2079,7 @@ async function createAScaleSetWithExtensionTimeBudget() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2158,7 +2158,7 @@ async function createAScaleSetWithManagedBootDiagnostics() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2236,7 +2236,7 @@ async function createAScaleSetWithPasswordAuthentication() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2314,7 +2314,7 @@ async function createAScaleSetWithPremiumStorage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2399,7 +2399,7 @@ async function createAScaleSetWithPriorityMixPolicy() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2478,7 +2478,7 @@ async function createAScaleSetWithScaleInPolicy() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2560,7 +2560,7 @@ async function createAScaleSetWithSpotRestorePolicy() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2649,7 +2649,7 @@ async function createAScaleSetWithSshAuthentication() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2733,7 +2733,7 @@ async function createAScaleSetWithTerminateScheduledEventsEnabled() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2812,7 +2812,7 @@ async function createAScaleSetWithUserData() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2896,7 +2896,7 @@ async function createAScaleSetWithVirtualMachinesInDifferentZones() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2978,7 +2978,7 @@ async function createAScaleSetWithVMSizeProperties() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -3061,7 +3061,7 @@ async function createOrUpdateAScaleSetWithCapacityReservation() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts index e9247638d7a0..767da02f62ba 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsDeallocateMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +65,7 @@ async function virtualMachineScaleSetsDeallocateMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts index ad4e8f9925ad..dc89b5279f94 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsDeleteInstancesMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -66,7 +66,7 @@ async function virtualMachineScaleSetsDeleteInstancesMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts index d4a234c33da0..bb53151586ef 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts @@ -35,7 +35,7 @@ async function forceDeleteAVMScaleSet() { vmScaleSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts index f3b54d4efe38..5480bd9fb942 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsPerformMaintenanceMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +65,7 @@ async function virtualMachineScaleSetsPerformMaintenanceMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts index cfff35f9beba..513d6301cece 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsPowerOffMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +65,7 @@ async function virtualMachineScaleSetsPowerOffMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts index 5afcd0345a00..bf45f28baff4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsRedeployMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +65,7 @@ async function virtualMachineScaleSetsRedeployMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts index 348f5bfc13af..ccae3e53ecce 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsReimageAllMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +65,7 @@ async function virtualMachineScaleSetsReimageAllMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts index 75dcdf2bc4ff..ef7c71043274 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsReimageMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +65,7 @@ async function virtualMachineScaleSetsReimageMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts index 134514ef40af..869c73f68f48 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsRestartMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +65,7 @@ async function virtualMachineScaleSetsRestartMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts index d11b11709770..56bfac88316b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen( vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -66,7 +66,7 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen( vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts index abd30b755f7f..0830095574e0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsStartMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +65,7 @@ async function virtualMachineScaleSetsStartMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts index 2f069b38f154..c0b752c70de7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts @@ -36,7 +36,7 @@ async function virtualMachineScaleSetsUpdateInstancesMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -66,7 +66,7 @@ async function virtualMachineScaleSetsUpdateInstancesMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts index 90068a1e59a7..707bb7ff1907 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts @@ -280,7 +280,7 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -310,7 +310,7 @@ async function virtualMachineScaleSetsUpdateMinimumSetGen() { vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts index 002a9a35b3bd..3d13163c463a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts @@ -35,7 +35,7 @@ async function assessPatchStateOfAVirtualMachine() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts index 47f836eea7d5..2cb3990cd87f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts @@ -40,7 +40,7 @@ async function virtualMachinesCaptureMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -74,7 +74,7 @@ async function virtualMachinesCaptureMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts index fb4fba122fe2..e7acea1198e0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts @@ -35,7 +35,7 @@ async function virtualMachinesConvertToManagedDisksMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachinesConvertToManagedDisksMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts index 08cf3697cb63..bbb3e6226a0b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts @@ -72,7 +72,7 @@ async function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -142,7 +142,7 @@ async function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndA vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,7 +210,7 @@ async function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -279,7 +279,7 @@ async function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAu vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -341,7 +341,7 @@ async function createAVMFromACommunityGalleryImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -401,7 +401,7 @@ async function createAVMFromASharedGalleryImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -471,7 +471,7 @@ async function createAVMWithDiskControllerType() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -540,7 +540,7 @@ async function createAVMWithHibernationEnabled() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -606,7 +606,7 @@ async function createAVMWithUefiSettingsOfSecureBootAndVTpm() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -675,7 +675,7 @@ async function createAVMWithUserData() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -747,7 +747,7 @@ async function createAVMWithVMSizeProperties() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -829,7 +829,7 @@ async function createAVMWithNetworkInterfaceConfiguration() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -903,7 +903,7 @@ async function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -974,7 +974,7 @@ async function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1041,7 +1041,7 @@ async function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1108,7 +1108,7 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1179,7 +1179,7 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1251,7 +1251,7 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1320,7 +1320,7 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfManual() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1390,7 +1390,7 @@ async function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToA vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1454,7 +1454,7 @@ async function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1536,7 +1536,7 @@ async function createAPlatformImageVMWithUnmanagedOSAndDataDisks() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1595,7 +1595,7 @@ async function createAVMFromACustomImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1654,7 +1654,7 @@ async function createAVMFromAGeneralizedSharedImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1708,7 +1708,7 @@ async function createAVMFromASpecializedSharedImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1774,7 +1774,7 @@ async function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFau vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1839,7 +1839,7 @@ async function createAVMInAnAvailabilitySet() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1919,7 +1919,7 @@ async function createAVMWithApplicationProfile() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2010,7 +2010,7 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2078,7 +2078,7 @@ async function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2152,7 +2152,7 @@ async function createAVMWithScheduledEventsProfile() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2219,7 +2219,7 @@ async function createAVMWithAMarketplaceImagePlan() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2288,7 +2288,7 @@ async function createAVMWithAnExtensionsTimeBudget() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2356,7 +2356,7 @@ async function createAVMWithBootDiagnostics() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2422,7 +2422,7 @@ async function createAVMWithEmptyDataDisks() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2490,7 +2490,7 @@ async function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacement vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2558,7 +2558,7 @@ async function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacem vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2626,7 +2626,7 @@ async function createAVMWithEphemeralOSDisk() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2689,7 +2689,7 @@ async function createAVMWithManagedBootDiagnostics() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2751,7 +2751,7 @@ async function createAVMWithPasswordAuthentication() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2813,7 +2813,7 @@ async function createAVMWithPremiumStorage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2886,7 +2886,7 @@ async function createAVMWithSshAuthentication() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2958,7 +2958,7 @@ async function createOrUpdateAVMWithCapacityReservation() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts index 7666a53f4bd8..c45f3792870d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts @@ -35,7 +35,7 @@ async function virtualMachinesDeallocateMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachinesDeallocateMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts index 13abbbb8a1c3..e93f146dfcd2 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts @@ -35,7 +35,7 @@ async function forceDeleteAVM() { vmName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts index a898781abe30..192bb14a253a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts @@ -43,7 +43,7 @@ async function installPatchStateOfAVirtualMachine() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts index 334e145a457c..d83e683759a3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts @@ -35,7 +35,7 @@ async function virtualMachinesPerformMaintenanceMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachinesPerformMaintenanceMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts index 9e3ae2b00857..44bf3af53c4e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts @@ -35,7 +35,7 @@ async function virtualMachinesPowerOffMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachinesPowerOffMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts index 1972ee8d0014..2ee2651000a5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts @@ -35,7 +35,7 @@ async function reapplyTheStateOfAVirtualMachine() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts index c35687233293..674e0978c5f0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts @@ -35,7 +35,7 @@ async function virtualMachinesRedeployMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachinesRedeployMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts index 33e82a19c431..7d6dcc83a3ff 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts @@ -36,7 +36,7 @@ async function reimageAVirtualMachine() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts index 1bb7267dd157..b99a42c38975 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts @@ -35,7 +35,7 @@ async function virtualMachinesRestartMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachinesRestartMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts index 7709ad0d9a07..7c4b8e959364 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts @@ -36,7 +36,7 @@ async function virtualMachineRunCommand() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts index 5ad1c4f05ed7..2212e8d4590e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts @@ -35,7 +35,7 @@ async function virtualMachinesStartMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +64,7 @@ async function virtualMachinesStartMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts index f443f3a702bb..95e528dbcabd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts @@ -81,7 +81,7 @@ async function updateAVMByDetachingDataDisk() { vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -157,7 +157,7 @@ async function updateAVMByForceDetachingDataDisk() { vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsCreateOrUpdateSample.js index 87ff041261e2..fc1f65b83102 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsCreateOrUpdateSample.js @@ -31,7 +31,7 @@ async function createAnAvailabilitySet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsDeleteSample.js index 1fad36fd1d12..9529778f6eec 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsDeleteSample.js @@ -27,7 +27,7 @@ async function availabilitySetsDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .delete(options); console.log(result); @@ -54,7 +54,7 @@ async function availabilitySetsDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsGetSample.js index d81a4e2d4a51..d40b88d80ecf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsGetSample.js @@ -27,7 +27,7 @@ async function availabilitySetsGetMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function availabilitySetsGetMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListAvailableSizesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListAvailableSizesSample.js index d64857906847..dea3dd7c9516 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListAvailableSizesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListAvailableSizesSample.js @@ -28,7 +28,7 @@ async function availabilitySetsListAvailableSizesMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function availabilitySetsListAvailableSizesMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListBySubscriptionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListBySubscriptionSample.js index 52dae0cffa31..5a28277d274a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListBySubscriptionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListBySubscriptionSample.js @@ -27,7 +27,7 @@ async function listAvailabilitySetsInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListSample.js index 104a4c743b2d..57798a443983 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListSample.js @@ -26,7 +26,7 @@ async function availabilitySetsListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function availabilitySetsListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsUpdateSample.js index e6851ef0d23c..9130a0ee6fdd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsUpdateSample.js @@ -43,7 +43,7 @@ async function availabilitySetsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .patch(options); console.log(result); @@ -71,7 +71,7 @@ async function availabilitySetsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsCreateOrUpdateSample.js index 3fece8f5ff1b..25d17b9e12b1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsCreateOrUpdateSample.js @@ -32,7 +32,7 @@ async function createOrUpdateACapacityReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsDeleteSample.js index e0db598880fb..621c7fa40743 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsDeleteSample.js @@ -27,7 +27,7 @@ async function capacityReservationGroupsDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .delete(options); console.log(result); @@ -54,7 +54,7 @@ async function capacityReservationGroupsDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsGetSample.js index 2cf47dbc6b48..2e23d0235cd1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsGetSample.js @@ -27,7 +27,7 @@ async function getACapacityReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListByResourceGroupSample.js index 371e46ed20e0..8c80e7072d78 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListByResourceGroupSample.js @@ -29,7 +29,7 @@ async function listCapacityReservationGroupsInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListBySubscriptionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListBySubscriptionSample.js index c9c5c95193cc..0598a289bf71 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListBySubscriptionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListBySubscriptionSample.js @@ -27,7 +27,7 @@ async function listCapacityReservationGroupsInSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsUpdateSample.js index 192639e93b01..d4b8ef1be254 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsUpdateSample.js @@ -28,7 +28,7 @@ async function capacityReservationGroupsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .patch(options); console.log(result); @@ -56,7 +56,7 @@ async function capacityReservationGroupsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsCreateOrUpdateSample.js index ece295784e16..9a711c20fc51 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsCreateOrUpdateSample.js @@ -36,10 +36,10 @@ async function createOrUpdateACapacityReservation() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsDeleteSample.js index 071ead34eaa3..2ea657ba1fce 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsDeleteSample.js @@ -30,10 +30,10 @@ async function capacityReservationsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function capacityReservationsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsGetSample.js index 54306bb67d2e..728aba9f7be0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsGetSample.js @@ -29,7 +29,7 @@ async function getACapacityReservation() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsListByCapacityReservationGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsListByCapacityReservationGroupSample.js index 7c9f1dbed125..45d06996fc1d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsListByCapacityReservationGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsListByCapacityReservationGroupSample.js @@ -28,7 +28,7 @@ async function listCapacityReservationsInReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsUpdateSample.js index 6e754bb7557e..066af26aa6fa 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsUpdateSample.js @@ -48,10 +48,10 @@ async function capacityReservationsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -80,10 +80,10 @@ async function capacityReservationsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js index caaf03db9861..0c7632b9ccfb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js @@ -27,7 +27,7 @@ async function getCloudServiceOSFamily() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}", subscriptionId, location, - osFamilyName + osFamilyName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js index 37e88c499ad0..13949b0fc2a7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js @@ -27,7 +27,7 @@ async function getCloudServiceOSVersion() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}", subscriptionId, location, - osVersionName + osVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js index 692ac313e418..2b7580b81ab9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js @@ -26,7 +26,7 @@ async function listCloudServiceOSFamiliesInASubscription() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js index aa0aa2fa0573..5ed31e79c8df 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js @@ -26,7 +26,7 @@ async function listCloudServiceOSVersionsInASubscription() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesDeleteSample.js index 34ec265bbb6c..b72c8e952945 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesDeleteSample.js @@ -30,10 +30,10 @@ async function deleteCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js index 49318cee3b55..a676922cbfef 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js @@ -29,7 +29,7 @@ async function getInstanceViewOfCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js index 0cd4d20dff40..0f3a8e1a2714 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js @@ -29,7 +29,7 @@ async function getCloudServiceRole() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetSample.js index 7bb34f8b2f08..014fe5c64bc4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetSample.js @@ -29,7 +29,7 @@ async function getCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesListSample.js index 47d1326eeb04..8d07f1729830 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesListSample.js @@ -28,7 +28,7 @@ async function listRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRebuildSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRebuildSample.js index 78c09d38782b..9e82666e7607 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRebuildSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRebuildSample.js @@ -30,10 +30,10 @@ async function rebuildCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesReimageSample.js index 87e6e2d26097..bb7be00d9e5d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesReimageSample.js @@ -30,10 +30,10 @@ async function reimageCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRestartSample.js index dd088878c3b7..74f6b2084bcf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRestartSample.js @@ -30,10 +30,10 @@ async function restartCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesGetSample.js index 0e4ab8b9b880..b8bc2256c789 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesGetSample.js @@ -29,7 +29,7 @@ async function getCloudServiceRole() { subscriptionId, resourceGroupName, cloudServiceName, - roleName + roleName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesListSample.js index 563f5517795e..3228aa28a569 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesListSample.js @@ -28,7 +28,7 @@ async function listRolesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesCreateOrUpdateSample.js index 30461d4b53f5..f2b4aebb3742 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesCreateOrUpdateSample.js @@ -67,10 +67,10 @@ async function createNewCloudServiceWithMultipleRoles() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -131,10 +131,10 @@ async function createNewCloudServiceWithSingleRole() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,10 +210,10 @@ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -290,10 +290,10 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteInstancesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteInstancesSample.js index af429a69d325..5bf7ff99f015 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteInstancesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteInstancesSample.js @@ -29,10 +29,10 @@ async function deleteCloudServiceRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteSample.js index 61b22c545104..37dc719134fa 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteSample.js @@ -28,10 +28,10 @@ async function deleteCloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetInstanceViewSample.js index 58bce1b7939b..8a9d1c082a8f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetInstanceViewSample.js @@ -27,7 +27,7 @@ async function getCloudServiceInstanceViewWithMultipleRoles() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/instanceView", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetSample.js index cb0744a17a77..99c1cfb17737 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetSample.js @@ -27,7 +27,7 @@ async function getCloudServiceWithMultipleRolesAndRdpExtension() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListAllSample.js index c3069a535982..221d09d6d96b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListAllSample.js @@ -24,7 +24,7 @@ async function listCloudServicesInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListSample.js index 10a253683abf..9f10e78d03a1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListSample.js @@ -26,7 +26,7 @@ async function listCloudServicesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesPowerOffSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesPowerOffSample.js index aaf8a516b373..46d91b791f83 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesPowerOffSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesPowerOffSample.js @@ -28,10 +28,10 @@ async function stopOrPowerOffCloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRebuildSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRebuildSample.js index 48c4557ee40a..3138b288ef04 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRebuildSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRebuildSample.js @@ -29,10 +29,10 @@ async function rebuildCloudServiceRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesReimageSample.js index 6a061b6fa2ad..369867d6c810 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesReimageSample.js @@ -29,10 +29,10 @@ async function reimageCloudServiceRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRestartSample.js index 1726cb0665b0..bb18a671cb6f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRestartSample.js @@ -29,10 +29,10 @@ async function restartCloudServiceRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesStartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesStartSample.js index 3122b2e91e4c..05ee6ed03395 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesStartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesStartSample.js @@ -28,10 +28,10 @@ async function startCloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js index cc66a27871ce..679be52d919c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js @@ -29,7 +29,7 @@ async function getCloudServiceUpdateDomain() { subscriptionId, resourceGroupName, cloudServiceName, - updateDomain + updateDomain, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js index be010c4619cc..aa07eb168cbd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js @@ -28,7 +28,7 @@ async function listUpdateDomainsInCloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js index 7975bf22c7cb..bf89642ff79b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js @@ -30,10 +30,10 @@ async function updateCloudServiceToSpecifiedDomain() { subscriptionId, resourceGroupName, cloudServiceName, - updateDomain + updateDomain, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateSample.js index afbde700de9a..5cf899f356fe 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateSample.js @@ -29,10 +29,10 @@ async function updateExistingCloudServiceToAddTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleriesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleriesGetSample.js index 8f77279a3d42..cc31c7f9c2ba 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleriesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleriesGetSample.js @@ -27,7 +27,7 @@ async function getACommunityGallery() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}", subscriptionId, location, - publicGalleryName + publicGalleryName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsGetSample.js index 03827d69897a..ab394f54257f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsGetSample.js @@ -31,7 +31,7 @@ async function getACommunityGalleryImageVersion() { location, publicGalleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsListSample.js index 36764b4f6988..040ed11122e2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsListSample.js @@ -30,7 +30,7 @@ async function listCommunityGalleryImageVersions() { subscriptionId, location, publicGalleryName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesGetSample.js index 7ce30aa99018..124aa7f515e9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesGetSample.js @@ -29,7 +29,7 @@ async function getACommunityGalleryImage() { subscriptionId, location, publicGalleryName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesListSample.js index 1d347238e22c..f59bc1ddcd51 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesListSample.js @@ -28,7 +28,7 @@ async function listCommunityGalleryImages() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images", subscriptionId, location, - publicGalleryName + publicGalleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsCreateOrUpdateSample.js index 55b7c2fd2c41..e9cd32f58613 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsCreateOrUpdateSample.js @@ -37,7 +37,7 @@ async function createOrUpdateADedicatedHostGroupWithUltraSsdSupport() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .put(options); console.log(result); @@ -73,7 +73,7 @@ async function createOrUpdateADedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsDeleteSample.js index c67b58d51ef4..400878d76166 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsDeleteSample.js @@ -27,7 +27,7 @@ async function dedicatedHostGroupsDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .delete(options); console.log(result); @@ -54,7 +54,7 @@ async function dedicatedHostGroupsDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsGetSample.js index 2a1063e2e513..3e028171e830 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsGetSample.js @@ -27,7 +27,7 @@ async function createADedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function createAnUltraSsdEnabledDedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsListByResourceGroupSample.js index 289b92f4e840..625ab52ad225 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function dedicatedHostGroupsListByResourceGroupMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function dedicatedHostGroupsListByResourceGroupMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js index 27d444c8fcde..cd0edee65dfe 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js @@ -53,7 +53,7 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .patch(options); console.log(result); @@ -81,7 +81,7 @@ async function dedicatedHostGroupsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsCreateOrUpdateSample.js index 863b42d8577f..e0a93a7da795 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsCreateOrUpdateSample.js @@ -36,10 +36,10 @@ async function createOrUpdateADedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsDeleteSample.js index 3df05482d97d..4f05a37a5846 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsDeleteSample.js @@ -30,10 +30,10 @@ async function dedicatedHostsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function dedicatedHostsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsGetSample.js index 59f8de948df1..571efef65fa3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsGetSample.js @@ -29,7 +29,7 @@ async function getADedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsListByHostGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsListByHostGroupSample.js index 04fa73141fb1..49640ca12211 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsListByHostGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsListByHostGroupSample.js @@ -28,7 +28,7 @@ async function dedicatedHostsListByHostGroupMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function dedicatedHostsListByHostGroupMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsRestartSample.js index db041846d46e..70c06919d5ab 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsRestartSample.js @@ -30,10 +30,10 @@ async function restartDedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js index c16b24f514c2..336b3178bf2a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js @@ -52,10 +52,10 @@ async function dedicatedHostsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,10 +84,10 @@ async function dedicatedHostsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesCreateOrUpdateSample.js index 96a25ba67d27..d99f4aab843c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesCreateOrUpdateSample.js @@ -29,10 +29,10 @@ async function createADiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteAPrivateEndpointConnectionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteAPrivateEndpointConnectionSample.js index a398ed19435f..fc45426d2334 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteAPrivateEndpointConnectionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteAPrivateEndpointConnectionSample.js @@ -30,10 +30,10 @@ async function deleteAPrivateEndpointConnectionUnderADiskAccessResource() { subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteSample.js index bc4e584c40d3..8095aeee751e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteSample.js @@ -28,10 +28,10 @@ async function deleteADiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetAPrivateEndpointConnectionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetAPrivateEndpointConnectionSample.js index 20e02b1f90f8..3271d62adfe4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetAPrivateEndpointConnectionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetAPrivateEndpointConnectionSample.js @@ -29,7 +29,7 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetPrivateLinkResourcesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetPrivateLinkResourcesSample.js index 9bb0d1c2051a..3209fb27b0b4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetPrivateLinkResourcesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetPrivateLinkResourcesSample.js @@ -27,7 +27,7 @@ async function listAllPossiblePrivateLinkResourcesUnderDiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetSample.js index 6f3d7349d0df..f9f898a7a4ca 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutADiskAccessResourceWithPrivateEndpoints() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getInformationAboutADiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListByResourceGroupSample.js index 1b790b9873b1..e543c05c30a6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllDiskAccessResourcesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListPrivateEndpointConnectionsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListPrivateEndpointConnectionsSample.js index 9296a425d0da..9f9dbb3a020f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListPrivateEndpointConnectionsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListPrivateEndpointConnectionsSample.js @@ -28,7 +28,7 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListSample.js index a8bf1cf3f036..f5fa0458b80b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListSample.js @@ -24,7 +24,7 @@ async function listAllDiskAccessResourcesInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateAPrivateEndpointConnectionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateAPrivateEndpointConnectionSample.js index 12f6d4c6b592..2fc6ee9c91a0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateAPrivateEndpointConnectionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateAPrivateEndpointConnectionSample.js @@ -38,10 +38,10 @@ async function approveAPrivateEndpointConnectionUnderADiskAccessResource() { subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateSample.js index 5f09f0d60493..411fc3166043 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateSample.js @@ -29,10 +29,10 @@ async function updateADiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsCreateOrUpdateSample.js index 125fc79bdcba..990eb14e6d02 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsCreateOrUpdateSample.js @@ -38,10 +38,10 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentSubscription() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,10 +84,10 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentTenant() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -126,10 +126,10 @@ async function createADiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsDeleteSample.js index effc3d83f4b1..02fda2f57fee 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsDeleteSample.js @@ -28,10 +28,10 @@ async function deleteADiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsGetSample.js index 87f4f293f89d..6844bc2d3f25 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getInformationAboutADiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListAssociatedResourcesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListAssociatedResourcesSample.js index 0f537e4f7bcb..73a732ce49f1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListAssociatedResourcesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListAssociatedResourcesSample.js @@ -28,7 +28,7 @@ async function listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}/associatedResources", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListByResourceGroupSample.js index d6bf9afc5de3..0319cabd614f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllDiskEncryptionSetsInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListSample.js index 995b3834674e..f17d10ef0f7a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListSample.js @@ -24,7 +24,7 @@ async function listAllDiskEncryptionSetsInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsUpdateSample.js index 7c56e22a7389..7c24eb6e65e5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsUpdateSample.js @@ -38,16 +38,16 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueSucceeded().catch( - console.error + console.error, ); /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -79,16 +79,16 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueUpdating().catch( - console.error + console.error, ); /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -122,10 +122,10 @@ async function updateADiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGetSample.js index 9a65f85ad5c3..5986eec29549 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGetSample.js @@ -31,7 +31,7 @@ async function getAnIncrementalDiskRestorePointResource() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .get(options); console.log(result); @@ -62,7 +62,7 @@ async function getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferen resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGrantAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGrantAccessSample.js index 9bb1843c2659..a2701815585a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGrantAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGrantAccessSample.js @@ -33,10 +33,10 @@ async function grantsAccessToADiskRestorePoint() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointListByRestorePointSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointListByRestorePointSample.js index 849b4499c8eb..c730fc1cef9c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointListByRestorePointSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointListByRestorePointSample.js @@ -30,7 +30,7 @@ async function getAnIncrementalDiskRestorePointResource() { subscriptionId, resourceGroupName, restorePointCollectionName, - vmRestorePointName + vmRestorePointName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointRevokeAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointRevokeAccessSample.js index bce84061ecb5..add1f123496d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointRevokeAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointRevokeAccessSample.js @@ -32,10 +32,10 @@ async function revokesAccessToADiskRestorePoint() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksCreateOrUpdateSample.js index 8c1245934f24..e01860e5f9cb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksCreateOrUpdateSample.js @@ -45,10 +45,10 @@ async function createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,10 +84,10 @@ async function createAManagedDiskAndAssociateWithDiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -124,10 +124,10 @@ async function createAManagedDiskAndAssociateWithDiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -163,10 +163,10 @@ async function createAManagedDiskByCopyingASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -203,10 +203,10 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscri "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -241,10 +241,10 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscripti "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -286,10 +286,10 @@ async function createAManagedDiskFromImportSecureCreateOption() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -326,10 +326,10 @@ async function createAManagedDiskFromUploadPreparedSecureCreateOption() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -367,10 +367,10 @@ async function createAManagedDiskFromAPlatformImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -409,10 +409,10 @@ async function createAManagedDiskFromAnAzureComputeGalleryCommunityImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -451,10 +451,10 @@ async function createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -492,10 +492,10 @@ async function createAManagedDiskFromAnAzureComputeGalleryImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -531,10 +531,10 @@ async function createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSu "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -568,10 +568,10 @@ async function createAManagedDiskWithDataAccessAuthMode() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -605,10 +605,10 @@ async function createAManagedDiskWithOptimizedForFrequentAttach() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -640,10 +640,10 @@ async function createAManagedDiskWithPerformancePlus() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -679,10 +679,10 @@ async function createAManagedDiskWithPremiumV2AccountType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -721,10 +721,10 @@ async function createAManagedDiskWithSecurityProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -755,10 +755,10 @@ async function createAManagedDiskWithSsdZrsAccountType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -795,10 +795,10 @@ async function createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -830,10 +830,10 @@ async function createAManagedUploadDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -864,10 +864,10 @@ async function createAnEmptyManagedDiskInExtendedLocation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -897,10 +897,10 @@ async function createAnEmptyManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -934,10 +934,10 @@ async function createAnUltraManagedDiskWithLogicalSectorSize512E() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksDeleteSample.js index 286a9a02ea2b..a8b155d0195d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksDeleteSample.js @@ -28,10 +28,10 @@ async function deleteAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGetSample.js index b653c9773e83..ee5b7bd721be 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGrantAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGrantAccessSample.js index 1b291d19e19e..b9a9c3396dfd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGrantAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGrantAccessSample.js @@ -29,10 +29,10 @@ async function getASasOnAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -63,10 +63,10 @@ async function getSasOnManagedDiskAndVMGuestState() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksListByResourceGroupSample.js index f07a420f4a78..340ac3a281e7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllManagedDisksInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksRevokeAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksRevokeAccessSample.js index f31191721266..26bee2f7a151 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksRevokeAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksRevokeAccessSample.js @@ -28,10 +28,10 @@ async function revokeAccessToAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksUpdateSample.js index 7d050ec0a51b..6ea99d5e6f13 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksUpdateSample.js @@ -29,10 +29,10 @@ async function createOrUpdateABurstingEnabledManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function updateAManagedDiskToAddAcceleratedNetworking() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -91,10 +91,10 @@ async function updateAManagedDiskToAddArchitecture() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -130,10 +130,10 @@ async function updateAManagedDiskToAddPurchasePlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -160,10 +160,10 @@ async function updateAManagedDiskToAddSupportsHibernation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -190,10 +190,10 @@ async function updateAManagedDiskToChangeTier() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -220,10 +220,10 @@ async function updateAManagedDiskToDisableBursting() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -250,10 +250,10 @@ async function updateAManagedDiskToDisableOptimizedForFrequentAttach() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -282,10 +282,10 @@ async function updateAManagedDiskWithDiskControllerTypes() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -312,10 +312,10 @@ async function updateManagedDiskToRemoveDiskAccessResourceAssociation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesCreateOrUpdateSample.js index 9453b54e3580..1030e6c8aa93 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesCreateOrUpdateSample.js @@ -43,10 +43,10 @@ async function createACommunityGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -79,10 +79,10 @@ async function createOrUpdateASimpleGalleryWithSharingProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -115,10 +115,10 @@ async function createOrUpdateASimpleGalleryWithSoftDeletionEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -148,10 +148,10 @@ async function createOrUpdateASimpleGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesDeleteSample.js index 87c3df074cf7..0ad624627d9d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesDeleteSample.js @@ -28,10 +28,10 @@ async function deleteAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesGetSample.js index 1cac805992ca..3d4b24c455eb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesGetSample.js @@ -27,7 +27,7 @@ async function getACommunityGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -57,7 +57,7 @@ async function getAGalleryWithExpandSharingProfileGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -84,7 +84,7 @@ async function getAGalleryWithSelectPermissions() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -111,7 +111,7 @@ async function getAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesListByResourceGroupSample.js index dd264a822f82..f459513b0863 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listGalleriesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesUpdateSample.js index b4ad91c8c55c..2b4762f1a2f6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesUpdateSample.js @@ -29,10 +29,10 @@ async function updateASimpleGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsCreateOrUpdateSample.js index 41a775b6fc34..e3362f33f638 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsCreateOrUpdateSample.js @@ -58,10 +58,10 @@ async function createOrUpdateASimpleGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsDeleteSample.js index 07b310bff604..b8c2483891cc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsDeleteSample.js @@ -32,10 +32,10 @@ async function deleteAGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsGetSample.js index 8d12d250f92e..bf0ed747768c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsGetSample.js @@ -34,7 +34,7 @@ async function getAGalleryApplicationVersionWithReplicationStatus() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .get(options); console.log(result); @@ -65,7 +65,7 @@ async function getAGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsListByGalleryApplicationSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsListByGalleryApplicationSample.js index 2be1c741b225..e876a096b728 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsListByGalleryApplicationSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsListByGalleryApplicationSample.js @@ -30,7 +30,7 @@ async function listGalleryApplicationVersionsInAGalleryApplicationDefinition() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsUpdateSample.js index 14be2f904a3a..75a4451bc946 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsUpdateSample.js @@ -57,10 +57,10 @@ async function updateASimpleGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsCreateOrUpdateSample.js index efcbb05ce681..e2254246b48c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsCreateOrUpdateSample.js @@ -40,10 +40,10 @@ async function createOrUpdateASimpleGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsDeleteSample.js index dbba524797c6..d66de0f6775b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsDeleteSample.js @@ -30,10 +30,10 @@ async function deleteAGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsGetSample.js index 7905523e6fa2..193908372dde 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsGetSample.js @@ -29,7 +29,7 @@ async function getAGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsListByGallerySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsListByGallerySample.js index 4ee11a29fada..c27ee7235f20 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsListByGallerySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsListByGallerySample.js @@ -28,7 +28,7 @@ async function listGalleryApplicationsInAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsUpdateSample.js index 894d060b69ce..8355814c87c3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsUpdateSample.js @@ -39,10 +39,10 @@ async function updateASimpleGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsCreateOrUpdateSample.js index 03872737bac4..ffdb8029f231 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsCreateOrUpdateSample.js @@ -91,10 +91,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -183,10 +183,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -277,10 +277,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -324,10 +324,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMo resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -416,10 +416,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -510,10 +510,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -593,10 +593,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -685,10 +685,10 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsDeleteSample.js index c19b1fc233d9..277f5b26fc7f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsDeleteSample.js @@ -32,10 +32,10 @@ async function deleteAGalleryImageVersion() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsGetSample.js index 09b49c6cbee6..d3726ee52ee6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsGetSample.js @@ -34,7 +34,7 @@ async function getAGalleryImageVersionWithReplicationStatus() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -65,7 +65,7 @@ async function getAGalleryImageVersionWithSnapshotsAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -96,7 +96,7 @@ async function getAGalleryImageVersionWithVhdAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -127,7 +127,7 @@ async function getAGalleryImageVersion() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsListByGalleryImageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsListByGalleryImageSample.js index 4a2271967f84..5b09ba6bb970 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsListByGalleryImageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsListByGalleryImageSample.js @@ -30,7 +30,7 @@ async function listGalleryImageVersionsInAGalleryImageDefinition() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsUpdateSample.js index 65127dc8ef28..855ff66282a6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsUpdateSample.js @@ -51,10 +51,10 @@ async function updateASimpleGalleryImageVersionManagedImageAsSource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -99,10 +99,10 @@ async function updateASimpleGalleryImageVersionWithoutSourceId() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesCreateOrUpdateSample.js index 3bb9d59c6abe..8fa1380671e7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesCreateOrUpdateSample.js @@ -43,10 +43,10 @@ async function createOrUpdateASimpleGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesDeleteSample.js index 71e81e1f25ac..3b338e212f43 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesDeleteSample.js @@ -30,10 +30,10 @@ async function deleteAGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesGetSample.js index b97e02facae8..4844af540fd5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesGetSample.js @@ -29,7 +29,7 @@ async function getAGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesListByGallerySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesListByGallerySample.js index 410fff96e684..48720c67852b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesListByGallerySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesListByGallerySample.js @@ -28,7 +28,7 @@ async function listGalleryImagesInAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesUpdateSample.js index 323c407bc45a..260db36ae645 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesUpdateSample.js @@ -42,10 +42,10 @@ async function updateASimpleGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/gallerySharingProfileUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/gallerySharingProfileUpdateSample.js index 73945930d2b7..483f19c17d75 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/gallerySharingProfileUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/gallerySharingProfileUpdateSample.js @@ -38,10 +38,10 @@ async function addSharingIdToTheSharingProfileOfAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,10 +68,10 @@ async function resetSharingProfileOfAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -98,10 +98,10 @@ async function shareAGalleryToCommunity() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesCreateOrUpdateSample.js index 44ee2026a6f7..fb7c11954f9b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesCreateOrUpdateSample.js @@ -43,10 +43,10 @@ async function createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -85,10 +85,10 @@ async function createAVirtualMachineImageFromABlob() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -131,10 +131,10 @@ async function createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetRe "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -175,10 +175,10 @@ async function createAVirtualMachineImageFromAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -221,10 +221,10 @@ async function createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResou "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -265,10 +265,10 @@ async function createAVirtualMachineImageFromASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -302,10 +302,10 @@ async function createAVirtualMachineImageFromAnExistingVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -350,10 +350,10 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromABlob() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -402,10 +402,10 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -454,10 +454,10 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesDeleteSample.js index dfaf5aaa3e2a..f230f0f11f88 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesDeleteSample.js @@ -28,10 +28,10 @@ async function imagesDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function imagesDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesGetSample.js index 029537913560..22979547f707 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutAVirtualMachineImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesListByResourceGroupSample.js index 0440a03456df..9e0ff40a79c0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllVirtualMachineImagesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesUpdateSample.js index a2a36ba90f24..618c10e8ae97 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesUpdateSample.js @@ -37,10 +37,10 @@ async function updatesTagsOfAnImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportRequestRateByIntervalSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportRequestRateByIntervalSample.js index 5186ac6a0197..2bb7c487d527 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportRequestRateByIntervalSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportRequestRateByIntervalSample.js @@ -33,14 +33,14 @@ async function exportLogsWhichContainAllApiRequestsMadeToComputeResourceProvider .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval", subscriptionId, - location + location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } exportLogsWhichContainAllApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriodBrokenDownByIntervals().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportThrottledRequestsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportThrottledRequestsSample.js index f22ed7725b8a..7b4b572d41d2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportThrottledRequestsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportThrottledRequestsSample.js @@ -35,14 +35,14 @@ async function exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourc .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests", subscriptionId, - location + location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriod().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/package.json b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/package.json index 75c61a400fe7..4f52da4014b7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/package.json +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/package.json @@ -28,6 +28,6 @@ "dependencies": { "@azure-rest/arm-compute": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" } } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsCreateOrUpdateSample.js index c7c7cb735ad3..58341e9d0e94 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsCreateOrUpdateSample.js @@ -35,7 +35,7 @@ async function createOrUpdateAProximityPlacementGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsDeleteSample.js index 885f12276542..ae50e2887b3d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsDeleteSample.js @@ -27,7 +27,7 @@ async function createAProximityPlacementGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsGetSample.js index 085c9421b5bc..d56c3e778864 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsGetSample.js @@ -27,7 +27,7 @@ async function createAProximityPlacementGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListByResourceGroupSample.js index 3e36d95803de..49449a0cba7d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function createAProximityPlacementGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListBySubscriptionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListBySubscriptionSample.js index 73a2fa05106f..e4375fe2190e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListBySubscriptionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListBySubscriptionSample.js @@ -24,7 +24,7 @@ async function createAProximityPlacementGroup() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsUpdateSample.js index bc10ce221ac6..5505a455de4a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsUpdateSample.js @@ -28,7 +28,7 @@ async function createAProximityPlacementGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsCreateOrUpdateSample.js index 4c2f4d43bb4b..e013fa80aab3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsCreateOrUpdateSample.js @@ -36,7 +36,7 @@ async function createOrUpdateARestorePointCollectionForCrossRegionCopy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .put(options); console.log(result); @@ -72,7 +72,7 @@ async function createOrUpdateARestorePointCollection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsDeleteSample.js index b18c1d107c73..be7286eed5cb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsDeleteSample.js @@ -28,10 +28,10 @@ async function restorePointCollectionsDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function restorePointCollectionsDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsGetSample.js index 8451055aa2bc..9946bc167f96 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsGetSample.js @@ -27,14 +27,14 @@ async function getARestorePointCollectionButNotTheRestorePointsContainedInTheRes "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .get(options); console.log(result); } getARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to get the restore point collection. @@ -56,12 +56,12 @@ async function getARestorePointCollectionIncludingTheRestorePointsContainedInThe "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .get(options); console.log(result); } getARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListAllSample.js index dce67fbdb04e..6967cf9b7398 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListAllSample.js @@ -24,7 +24,7 @@ async function getsTheListOfRestorePointCollectionsInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListSample.js index 14b114e8884f..8c484cef57d7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListSample.js @@ -26,7 +26,7 @@ async function getsTheListOfRestorePointCollectionsInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsUpdateSample.js index 2ffa24387d04..d6051bffac05 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsUpdateSample.js @@ -35,7 +35,7 @@ async function restorePointCollectionsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .patch(options); console.log(result); @@ -63,7 +63,7 @@ async function restorePointCollectionsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsCreateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsCreateSample.js index c278c7abb841..5ced66db6cde 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsCreateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsCreateSample.js @@ -37,10 +37,10 @@ async function copyARestorePointToADifferentRegion() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -77,10 +77,10 @@ async function createARestorePoint() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsDeleteSample.js index 78f7c97fdd48..5bf9cd3d2461 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsDeleteSample.js @@ -30,10 +30,10 @@ async function restorePointsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function restorePointsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsGetSample.js index 24799693a663..b07c8a6e68af 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsGetSample.js @@ -29,7 +29,7 @@ async function getARestorePoint() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function getRestorePointWithInstanceView() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesGetSample.js index 189da0a7f9ac..28013c15caa5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesGetSample.js @@ -27,7 +27,7 @@ async function getASharedGallery() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}", subscriptionId, location, - galleryUniqueName + galleryUniqueName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesListSample.js index fa13a9fe0dd6..ac87e28a5277 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesListSample.js @@ -26,7 +26,7 @@ async function listSharedGalleries() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsGetSample.js index 8141b584f99c..667a403f479b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsGetSample.js @@ -31,7 +31,7 @@ async function getASharedGalleryImageVersion() { location, galleryUniqueName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsListSample.js index 9a8feb4ae4e2..cd3f617b5e01 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsListSample.js @@ -30,7 +30,7 @@ async function listSharedGalleryImageVersions() { subscriptionId, location, galleryUniqueName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesGetSample.js index 5b9815816aa6..017e95a7c62d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesGetSample.js @@ -29,7 +29,7 @@ async function getASharedGalleryImage() { subscriptionId, location, galleryUniqueName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesListSample.js index 03ff38eb2297..c978eea00d60 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesListSample.js @@ -28,7 +28,7 @@ async function listSharedGalleryImages() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images", subscriptionId, location, - galleryUniqueName + galleryUniqueName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsCreateOrUpdateSample.js index 013ac2ed09b5..26388d72f9d5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsCreateOrUpdateSample.js @@ -39,10 +39,10 @@ async function createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscripti "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -77,10 +77,10 @@ async function createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -116,16 +116,16 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscriptionInADifferentRegion().catch( - console.error + console.error, ); /** * This sample demonstrates how to Creates or updates a snapshot. @@ -157,10 +157,10 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsDeleteSample.js index 316fbea9782f..ddd5d5c198ad 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsDeleteSample.js @@ -28,10 +28,10 @@ async function deleteASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGetSample.js index 853105f5a5d4..bb5c6b08ce3e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getInformationAboutAnIncrementalSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGrantAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGrantAccessSample.js index d35d9fed2dbf..a7640850a307 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGrantAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGrantAccessSample.js @@ -29,10 +29,10 @@ async function getASasOnASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsListByResourceGroupSample.js index 9370e7ab85a9..d97ead78e004 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllSnapshotsInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsRevokeAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsRevokeAccessSample.js index 0342c39e0f4f..6ef05c850590 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsRevokeAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsRevokeAccessSample.js @@ -28,10 +28,10 @@ async function revokeAccessToASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsUpdateSample.js index 3e215f02f8d1..d2c4ad4cfa1f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsUpdateSample.js @@ -35,10 +35,10 @@ async function updateASnapshotWithAcceleratedNetworking() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,10 +68,10 @@ async function updateASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysCreateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysCreateSample.js index a2647a163724..7bbdbc8bec82 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysCreateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysCreateSample.js @@ -31,7 +31,7 @@ async function createANewSshPublicKeyResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysDeleteSample.js index 81e6f00d773c..98e978211956 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysDeleteSample.js @@ -27,7 +27,7 @@ async function sshPublicKeysDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .delete(options); console.log(result); @@ -54,7 +54,7 @@ async function sshPublicKeysDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGenerateKeyPairSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGenerateKeyPairSample.js index b667f7eca488..a92350aee979 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGenerateKeyPairSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGenerateKeyPairSample.js @@ -27,7 +27,7 @@ async function generateAnSshKeyPair() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}/generateKeyPair", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGetSample.js index 28d93e1177e5..8b4df30616ec 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGetSample.js @@ -27,7 +27,7 @@ async function getAnSshPublicKey() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListByResourceGroupSample.js index 278a02e9234e..d3e86588721a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function sshPublicKeysListByResourceGroupMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function sshPublicKeysListByResourceGroupMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListBySubscriptionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListBySubscriptionSample.js index a3d3234111ab..990d313d846c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListBySubscriptionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListBySubscriptionSample.js @@ -24,7 +24,7 @@ async function sshPublicKeysListBySubscriptionMaximumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -52,7 +52,7 @@ async function sshPublicKeysListBySubscriptionMinimumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysUpdateSample.js index b19b7ed9b5b8..91018032f4e5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysUpdateSample.js @@ -31,7 +31,7 @@ async function sshPublicKeysUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .patch(options); console.log(result); @@ -59,7 +59,7 @@ async function sshPublicKeysUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/usageListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/usageListSample.js index f8351190c7c7..4ae0895a21a6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/usageListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/usageListSample.js @@ -26,7 +26,7 @@ async function usageListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function usageListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesGetSample.js index 4324c30f0563..54d46550226e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesGetSample.js @@ -31,7 +31,7 @@ async function virtualMachineExtensionImagesGetMaximumSetGen() { location, publisherName, type, - version + version, ) .get(options); console.log(result); @@ -62,7 +62,7 @@ async function virtualMachineExtensionImagesGetMinimumSetGen() { location, publisherName, type, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListTypesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListTypesSample.js index 82308a36e5c5..632784c2fa12 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListTypesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListTypesSample.js @@ -27,7 +27,7 @@ async function virtualMachineExtensionImagesListTypesMaximumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineExtensionImagesListTypesMinimumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListVersionsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListVersionsSample.js index 6080729dcfb7..a6c87def2d9f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListVersionsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListVersionsSample.js @@ -34,7 +34,7 @@ async function virtualMachineExtensionImagesListVersionsMaximumSetGen() { subscriptionId, location, publisherName, - type + type, ) .get(options); console.log(result); @@ -63,7 +63,7 @@ async function virtualMachineExtensionImagesListVersionsMinimumSetGen() { subscriptionId, location, publisherName, - type + type, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsCreateOrUpdateSample.js index 7b23be25c894..a2aa839283c9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsCreateOrUpdateSample.js @@ -68,10 +68,10 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -100,10 +100,10 @@ async function virtualMachineExtensionsCreateOrUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsDeleteSample.js index 02e5a65778e6..8f0df5b8f720 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsDeleteSample.js @@ -30,10 +30,10 @@ async function virtualMachineExtensionsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineExtensionsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsGetSample.js index 1c855d02e87d..30156f8bd213 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsGetSample.js @@ -29,7 +29,7 @@ async function virtualMachineExtensionsGetMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function virtualMachineExtensionsGetMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsListSample.js index d1873f6b0673..770b5e40bac7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsListSample.js @@ -30,7 +30,7 @@ async function virtualMachineExtensionsListMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -57,7 +57,7 @@ async function virtualMachineExtensionsListMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsUpdateSample.js index 11c6e8e2c8d0..156c21c656d1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsUpdateSample.js @@ -47,10 +47,10 @@ async function updateVMExtension() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneGetSample.js index 09770429efb4..281ab147cb76 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneGetSample.js @@ -35,7 +35,7 @@ async function virtualMachineImagesEdgeZoneGetMaximumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); @@ -70,7 +70,7 @@ async function virtualMachineImagesEdgeZoneGetMinimumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListOffersSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListOffersSample.js index d48d9ccced13..da1099d358b3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListOffersSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListOffersSample.js @@ -29,7 +29,7 @@ async function virtualMachineImagesEdgeZoneListOffersMaximumSetGen() { subscriptionId, location, edgeZone, - publisherName + publisherName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function virtualMachineImagesEdgeZoneListOffersMinimumSetGen() { subscriptionId, location, edgeZone, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListPublishersSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListPublishersSample.js index 206daf3721a1..c56876d56690 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListPublishersSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListPublishersSample.js @@ -27,7 +27,7 @@ async function virtualMachineImagesEdgeZoneListPublishersMaximumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineImagesEdgeZoneListPublishersMinimumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSample.js index 288f955f7508..cd047251adb5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSample.js @@ -38,7 +38,7 @@ async function virtualMachineImagesEdgeZoneListMaximumSetGen() { edgeZone, publisherName, offer, - skus + skus, ) .get(options); console.log(result); @@ -71,7 +71,7 @@ async function virtualMachineImagesEdgeZoneListMinimumSetGen() { edgeZone, publisherName, offer, - skus + skus, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSkusSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSkusSample.js index f5fbb228c9ef..2da159c3836b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSkusSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSkusSample.js @@ -31,7 +31,7 @@ async function virtualMachineImagesEdgeZoneListSkusMaximumSetGen() { location, edgeZone, publisherName, - offer + offer, ) .get(options); console.log(result); @@ -62,7 +62,7 @@ async function virtualMachineImagesEdgeZoneListSkusMinimumSetGen() { location, edgeZone, publisherName, - offer + offer, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesGetSample.js index 382152f405da..195a4341eed5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesGetSample.js @@ -33,7 +33,7 @@ async function virtualMachineImagesGetMaximumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); @@ -66,7 +66,7 @@ async function virtualMachineImagesGetMinimumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListByEdgeZoneSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListByEdgeZoneSample.js index e9840b89e667..cd988fc5e0df 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListByEdgeZoneSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListByEdgeZoneSample.js @@ -27,7 +27,7 @@ async function virtualMachineImagesEdgeZoneListByEdgeZoneMaximumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineImagesEdgeZoneListByEdgeZoneMinimumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListOffersSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListOffersSample.js index 0202ee17ef16..91b8516f9776 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListOffersSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListOffersSample.js @@ -27,7 +27,7 @@ async function virtualMachineImagesListOffersMaximumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineImagesListOffersMinimumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListPublishersSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListPublishersSample.js index ab2a595ab3c3..32fc89da0710 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListPublishersSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListPublishersSample.js @@ -25,7 +25,7 @@ async function virtualMachineImagesListPublishersMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", subscriptionId, - location + location, ) .get(options); console.log(result); @@ -50,7 +50,7 @@ async function virtualMachineImagesListPublishersMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSample.js index ef762abeea56..3d779b9a592a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSample.js @@ -36,7 +36,7 @@ async function virtualMachineImagesListMaximumSetGen() { location, publisherName, offer, - skus + skus, ) .get(options); console.log(result); @@ -67,7 +67,7 @@ async function virtualMachineImagesListMinimumSetGen() { location, publisherName, offer, - skus + skus, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSkusSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSkusSample.js index cca70edbe4b3..e00bfb8c5250 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSkusSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSkusSample.js @@ -29,7 +29,7 @@ async function virtualMachineImagesListSkusMaximumSetGen() { subscriptionId, location, publisherName, - offer + offer, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function virtualMachineImagesListSkusMinimumSetGen() { subscriptionId, location, publisherName, - offer + offer, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsCreateOrUpdateSample.js index 3a046b26f086..29d1b09bbf5a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsCreateOrUpdateSample.js @@ -44,10 +44,10 @@ async function createOrUpdateARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsDeleteSample.js index 5d1874d9ba44..984e4673dc27 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsDeleteSample.js @@ -30,10 +30,10 @@ async function deleteARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetByVirtualMachineSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetByVirtualMachineSample.js index 9b5657b57d3f..ce48be9a25c8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetByVirtualMachineSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetByVirtualMachineSample.js @@ -29,7 +29,7 @@ async function getARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetSample.js index 5f1643db4232..a7d6d7b32a73 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetSample.js @@ -27,7 +27,7 @@ async function virtualMachineRunCommandGet() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}", subscriptionId, location, - commandId + commandId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListByVirtualMachineSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListByVirtualMachineSample.js index 8cbe2300616d..1f9f2d10787f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListByVirtualMachineSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListByVirtualMachineSample.js @@ -28,7 +28,7 @@ async function listRunCommandsInAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListSample.js index d44264c6acf7..3ce0218760e8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListSample.js @@ -26,7 +26,7 @@ async function virtualMachineRunCommandList() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsUpdateSample.js index 7db3f68c2f2a..6b81c312d788 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsUpdateSample.js @@ -33,10 +33,10 @@ async function updateARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js index 4bf77927db32..3de1bd4b4bfb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js @@ -45,10 +45,10 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -77,10 +77,10 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsDeleteSample.js index 248dad752bc8..c740ad01b158 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsDeleteSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetExtensionsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetExtensionsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsGetSample.js index 5b2c79d826b8..3fb66ff7cc13 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsGetSample.js @@ -29,7 +29,7 @@ async function virtualMachineScaleSetExtensionsGetMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function virtualMachineScaleSetExtensionsGetMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsListSample.js index 41a68616e0d4..ea80a1e31d1c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsListSample.js @@ -28,7 +28,7 @@ async function virtualMachineScaleSetExtensionsListMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function virtualMachineScaleSetExtensionsListMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsUpdateSample.js index df02ee902f39..aa8020682399 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsUpdateSample.js @@ -44,10 +44,10 @@ async function virtualMachineScaleSetExtensionsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -76,10 +76,10 @@ async function virtualMachineScaleSetExtensionsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesCancelSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesCancelSample.js index 7546d1f1e6ad..5a9fa9e77a87 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesCancelSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesCancelSample.js @@ -28,10 +28,10 @@ async function virtualMachineScaleSetRollingUpgradesCancelMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachineScaleSetRollingUpgradesCancelMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesGetLatestSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesGetLatestSample.js index b5d8a41c8bc4..b266fc0ec38e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesGetLatestSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesGetLatestSample.js @@ -27,7 +27,7 @@ async function virtualMachineScaleSetRollingUpgradesGetLatestMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineScaleSetRollingUpgradesGetLatestMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js index f4ee79ce4eb3..2815c2deced6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js @@ -28,10 +28,10 @@ async function startAnExtensionRollingUpgrade() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js index f8c6e3fbdd18..3dae3b486e7a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js @@ -28,10 +28,10 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js index c6aa32bd67cb..b9d59c97ff40 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js @@ -41,10 +41,10 @@ async function createVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsDeleteSample.js index 3eb81ab622e2..958c9d89e8a0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsDeleteSample.js @@ -32,10 +32,10 @@ async function deleteVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsGetSample.js index 753842a1294d..08537da526c4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsGetSample.js @@ -31,7 +31,7 @@ async function getVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsListSample.js index 151f6cab5c04..ccaee26badaf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsListSample.js @@ -29,7 +29,7 @@ async function listExtensionsInVmssInstance() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsUpdateSample.js index 67079d97e85a..3ff32ddae923 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsUpdateSample.js @@ -41,10 +41,10 @@ async function updateVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js index a67007c14e77..fa3b07c95252 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js @@ -46,10 +46,10 @@ async function createVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsDeleteSample.js index 1c800a561c2c..0a81c5a3375e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsDeleteSample.js @@ -32,10 +32,10 @@ async function deleteVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsGetSample.js index 59a7b492f228..030a6b1def65 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsGetSample.js @@ -31,7 +31,7 @@ async function getVirtualMachineScaleSetVMRunCommands() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsListSample.js index 146b5af6a21f..2b0ac767f587 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsListSample.js @@ -30,7 +30,7 @@ async function listRunCommandsInVmssInstance() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsUpdateSample.js index ff1926eb288c..cffb14b56a39 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsUpdateSample.js @@ -35,10 +35,10 @@ async function updateVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeallocateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeallocateSample.js index fd521f25963e..83a71b7cc891 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeallocateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeallocateSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSDeallocateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSDeallocateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeleteSample.js index eb75fc67847c..c820b3325cb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeleteSample.js @@ -30,10 +30,10 @@ async function forceDeleteAVirtualMachineFromAVMScaleSet() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetInstanceViewSample.js index d61c2cf7f4d0..2b316cbe9503 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetInstanceViewSample.js @@ -29,12 +29,12 @@ async function getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicated subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); } getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetSample.js index 8646b9fb12bc..3ad9adf3f235 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetSample.js @@ -29,7 +29,7 @@ async function getVMScaleSetVMWithUserData() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function getVMScaleSetVMWithVMSizeProperties() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSListSample.js index ab4193748ecc..80a6b2f81227 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSListSample.js @@ -33,7 +33,7 @@ async function virtualMachineScaleSetVMSListMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -65,7 +65,7 @@ async function virtualMachineScaleSetVMSListMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPerformMaintenanceSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPerformMaintenanceSample.js index f062075e8ce0..fce52fa8e3bc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPerformMaintenanceSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPerformMaintenanceSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPowerOffSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPowerOffSample.js index 115cd295c641..0fb3d1d91e54 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPowerOffSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPowerOffSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSPowerOffMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSPowerOffMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRedeploySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRedeploySample.js index 627f33a10907..efe8219507a1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRedeploySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRedeploySample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSRedeployMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSRedeployMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageAllSample.js index 74cf65725aa7..9203c960f0ed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageAllSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSReimageAllMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSReimageAllMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageSample.js index d2e61b582954..2a2f81bff444 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageSample.js @@ -31,10 +31,10 @@ async function virtualMachineScaleSetVMSReimageMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -62,10 +62,10 @@ async function virtualMachineScaleSetVMSReimageMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRestartSample.js index 3e9a578f880e..3eecb7258e6c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRestartSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSRestartMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSRestartMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js index ffe640e37274..db25bb92fbc7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js @@ -32,7 +32,7 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRunCommandSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRunCommandSample.js index ba691818a9e7..b9ec99ba025d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRunCommandSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRunCommandSample.js @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSRunCommand() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSSimulateEvictionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSSimulateEvictionSample.js index f8c1f5d1b71d..6fac83626222 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSSimulateEvictionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSSimulateEvictionSample.js @@ -29,7 +29,7 @@ async function simulateEvictionAVirtualMachine() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSStartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSStartSample.js index 58837713d2bf..8881556d4a2e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSStartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSStartSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSStartMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSStartMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js index 08d7c4213b6d..8d63afa53a57 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js @@ -450,10 +450,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -482,10 +482,10 @@ async function virtualMachineScaleSetVMSUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js index 520880ca613a..9b047549e3c6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js @@ -28,7 +28,7 @@ async function virtualMachineScaleSetsConvertToSinglePlacementGroupMaximumSetGen "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); @@ -56,7 +56,7 @@ async function virtualMachineScaleSetsConvertToSinglePlacementGroupMinimumSetGen "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsCreateOrUpdateSample.js index 8f1ead6b69a7..5fc8a868b213 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsCreateOrUpdateSample.js @@ -98,10 +98,10 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -203,10 +203,10 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -278,10 +278,10 @@ async function createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -363,10 +363,10 @@ async function createAPlatformImageScaleSetWithUnmanagedOSDisks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -438,10 +438,10 @@ async function createAScaleSetFromACustomImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -513,10 +513,10 @@ async function createAScaleSetFromAGeneralizedSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -583,10 +583,10 @@ async function createAScaleSetFromASpecializedSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -681,10 +681,10 @@ async function createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -777,10 +777,10 @@ async function createAScaleSetWithApplicationProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -860,10 +860,10 @@ async function createAScaleSetWithDiskControllerType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -954,10 +954,10 @@ async function createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1050,10 +1050,10 @@ async function createAScaleSetWithFpgaNetworkInterfaces() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1134,10 +1134,10 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1219,10 +1219,10 @@ async function createAScaleSetWithSecurityTypeAsConfidentialVM() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1301,10 +1301,10 @@ async function createAScaleSetWithUefiSettingsOfSecureBootAndVTpm() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1384,10 +1384,10 @@ async function createAScaleSetWithAMarketplaceImagePlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1467,10 +1467,10 @@ async function createAScaleSetWithAnAzureApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1559,10 +1559,10 @@ async function createAScaleSetWithAnAzureLoadBalancer() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1638,10 +1638,10 @@ async function createAScaleSetWithAutomaticRepairsEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1722,10 +1722,10 @@ async function createAScaleSetWithBootDiagnostics() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1805,10 +1805,10 @@ async function createAScaleSetWithEmptyDataDisksOnEachVM() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1889,10 +1889,10 @@ async function createAScaleSetWithEphemeralOSDisksUsingPlacementProperty() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1973,10 +1973,10 @@ async function createAScaleSetWithEphemeralOSDisks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2072,10 +2072,10 @@ async function createAScaleSetWithExtensionTimeBudget() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2151,10 +2151,10 @@ async function createAScaleSetWithManagedBootDiagnostics() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2229,10 +2229,10 @@ async function createAScaleSetWithPasswordAuthentication() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2307,10 +2307,10 @@ async function createAScaleSetWithPremiumStorage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2392,10 +2392,10 @@ async function createAScaleSetWithPriorityMixPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2471,10 +2471,10 @@ async function createAScaleSetWithScaleInPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2553,10 +2553,10 @@ async function createAScaleSetWithSpotRestorePolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2642,10 +2642,10 @@ async function createAScaleSetWithSshAuthentication() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2726,10 +2726,10 @@ async function createAScaleSetWithTerminateScheduledEventsEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2805,10 +2805,10 @@ async function createAScaleSetWithUserData() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2889,10 +2889,10 @@ async function createAScaleSetWithVirtualMachinesInDifferentZones() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2971,10 +2971,10 @@ async function createAScaleSetWithVMSizeProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -3054,10 +3054,10 @@ async function createOrUpdateAScaleSetWithCapacityReservation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeallocateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeallocateSample.js index 4459aa25c9d5..139ba208d7a8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeallocateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeallocateSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsDeallocateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsDeallocateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteInstancesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteInstancesSample.js index 716a459b9911..8ca1072ade60 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteInstancesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteInstancesSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsDeleteInstancesMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -59,10 +59,10 @@ async function virtualMachineScaleSetsDeleteInstancesMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteSample.js index 0f6023986c69..132393991643 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteSample.js @@ -28,10 +28,10 @@ async function forceDeleteAVMScaleSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js index b105a3341bee..c2b3b7fc6366 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js @@ -27,14 +27,14 @@ async function virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDo "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkMaximumSetGen().catch( - console.error + console.error, ); /** * This sample demonstrates how to Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. @@ -56,12 +56,12 @@ async function virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDo "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkMinimumSetGen().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetInstanceViewSample.js index 276957e413af..0109544d25c5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetInstanceViewSample.js @@ -27,7 +27,7 @@ async function virtualMachineScaleSetsGetInstanceViewMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineScaleSetsGetInstanceViewMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetOSUpgradeHistorySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetOSUpgradeHistorySample.js index 6117595d3a19..b48d42f5cfc1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetOSUpgradeHistorySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetOSUpgradeHistorySample.js @@ -28,7 +28,7 @@ async function virtualMachineScaleSetsGetOSUpgradeHistoryMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function virtualMachineScaleSetsGetOSUpgradeHistoryMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetSample.js index aa65e8a05652..13c61b8e7338 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetSample.js @@ -27,7 +27,7 @@ async function getVMScaleSetVMWithDiskControllerType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getAVirtualMachineScaleSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -81,14 +81,14 @@ async function getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutom "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); } getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); /** * This sample demonstrates how to Display information about a virtual machine scale set. @@ -110,7 +110,7 @@ async function getAVirtualMachineScaleSetWithUserData() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListAllSample.js index 86c4dae20bdb..572b3f6283c6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListAllSample.js @@ -24,7 +24,7 @@ async function virtualMachineScaleSetsListAllMaximumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -52,7 +52,7 @@ async function virtualMachineScaleSetsListAllMinimumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListByLocationSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListByLocationSample.js index c0169ae85894..9cb83b3eb6b8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListByLocationSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListByLocationSample.js @@ -26,7 +26,7 @@ async function listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifie .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSample.js index 4177ff99cb58..0a9f35df767b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSample.js @@ -26,7 +26,7 @@ async function virtualMachineScaleSetsListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function virtualMachineScaleSetsListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSkusSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSkusSample.js index 7eb658b8cfc2..4dbbe72c1928 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSkusSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSkusSample.js @@ -28,7 +28,7 @@ async function virtualMachineScaleSetsListSkusMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function virtualMachineScaleSetsListSkusMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPerformMaintenanceSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPerformMaintenanceSample.js index 530bfb8e6107..673bd532b6a2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPerformMaintenanceSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPerformMaintenanceSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsPerformMaintenanceMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsPerformMaintenanceMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPowerOffSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPowerOffSample.js index 4c8521072031..9e53e294ab8a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPowerOffSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPowerOffSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsPowerOffMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsPowerOffMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRedeploySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRedeploySample.js index edf7a27849d6..d6d3c3f85f1e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRedeploySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRedeploySample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsRedeployMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsRedeployMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageAllSample.js index 89dd09d2cd8e..6e9b10b38540 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageAllSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsReimageAllMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsReimageAllMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageSample.js index 2b48848af73e..aec70bc11485 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsReimageMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsReimageMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRestartSample.js index a4b09dfac01d..89f1a38d83eb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRestartSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsRestartMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsRestartMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js index f3adb95f30e3..4ef127d5f6fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -59,10 +59,10 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsStartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsStartSample.js index 8a814931c82e..eb8bb6697545 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsStartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsStartSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsStartMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsStartMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateInstancesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateInstancesSample.js index 778bbc49e41c..2f62f328899a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateInstancesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateInstancesSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsUpdateInstancesMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -59,10 +59,10 @@ async function virtualMachineScaleSetsUpdateInstancesMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateSample.js index e553799f5da1..8400b865b804 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateSample.js @@ -273,10 +273,10 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -303,10 +303,10 @@ async function virtualMachineScaleSetsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineSizesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineSizesListSample.js index 6154a6f0033e..15b57333d07d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineSizesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineSizesListSample.js @@ -26,7 +26,7 @@ async function virtualMachineSizesListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function virtualMachineSizesListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesAssessPatchesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesAssessPatchesSample.js index 4afeceb4aad5..02435c626acc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesAssessPatchesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesAssessPatchesSample.js @@ -28,10 +28,10 @@ async function assessPatchStateOfAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCaptureSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCaptureSample.js index b58dfca4a02c..a23996e329e4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCaptureSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCaptureSample.js @@ -33,10 +33,10 @@ async function virtualMachinesCaptureMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -67,10 +67,10 @@ async function virtualMachinesCaptureMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesConvertToManagedDisksSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesConvertToManagedDisksSample.js index ff8a116a712e..3580489c0116 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesConvertToManagedDisksSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesConvertToManagedDisksSample.js @@ -28,10 +28,10 @@ async function virtualMachinesConvertToManagedDisksMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesConvertToManagedDisksMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCreateOrUpdateSample.js index d09ad7ee6a59..17cdd831430a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCreateOrUpdateSample.js @@ -65,10 +65,10 @@ async function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -135,16 +135,16 @@ async function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndA "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -203,10 +203,10 @@ async function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -272,16 +272,16 @@ async function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAu "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -334,10 +334,10 @@ async function createAVMFromACommunityGalleryImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -394,10 +394,10 @@ async function createAVMFromASharedGalleryImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -464,10 +464,10 @@ async function createAVMWithDiskControllerType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -533,10 +533,10 @@ async function createAVMWithHibernationEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -599,10 +599,10 @@ async function createAVMWithUefiSettingsOfSecureBootAndVTpm() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -668,10 +668,10 @@ async function createAVMWithUserData() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -740,10 +740,10 @@ async function createAVMWithVMSizeProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -822,10 +822,10 @@ async function createAVMWithNetworkInterfaceConfiguration() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -896,10 +896,10 @@ async function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -967,10 +967,10 @@ async function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1034,10 +1034,10 @@ async function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1101,10 +1101,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1172,16 +1172,16 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1244,16 +1244,16 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1313,10 +1313,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfManual() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1383,16 +1383,16 @@ async function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToA "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1447,10 +1447,10 @@ async function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1529,10 +1529,10 @@ async function createAPlatformImageVMWithUnmanagedOSAndDataDisks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1588,10 +1588,10 @@ async function createAVMFromACustomImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1647,10 +1647,10 @@ async function createAVMFromAGeneralizedSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1701,10 +1701,10 @@ async function createAVMFromASpecializedSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1767,10 +1767,10 @@ async function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFau "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1832,10 +1832,10 @@ async function createAVMInAnAvailabilitySet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1912,10 +1912,10 @@ async function createAVMWithApplicationProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2003,10 +2003,10 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2071,10 +2071,10 @@ async function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2145,10 +2145,10 @@ async function createAVMWithScheduledEventsProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2212,10 +2212,10 @@ async function createAVMWithAMarketplaceImagePlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2281,10 +2281,10 @@ async function createAVMWithAnExtensionsTimeBudget() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2349,10 +2349,10 @@ async function createAVMWithBootDiagnostics() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2415,10 +2415,10 @@ async function createAVMWithEmptyDataDisks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2483,10 +2483,10 @@ async function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacement "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2551,10 +2551,10 @@ async function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacem "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2619,10 +2619,10 @@ async function createAVMWithEphemeralOSDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2682,10 +2682,10 @@ async function createAVMWithManagedBootDiagnostics() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2744,10 +2744,10 @@ async function createAVMWithPasswordAuthentication() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2806,10 +2806,10 @@ async function createAVMWithPremiumStorage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2879,10 +2879,10 @@ async function createAVMWithSshAuthentication() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2951,10 +2951,10 @@ async function createOrUpdateAVMWithCapacityReservation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeallocateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeallocateSample.js index 3b093b0309af..22b9bd7f0842 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeallocateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeallocateSample.js @@ -28,10 +28,10 @@ async function virtualMachinesDeallocateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesDeallocateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeleteSample.js index 545768f02efc..6a9852551b5b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeleteSample.js @@ -28,10 +28,10 @@ async function forceDeleteAVM() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGeneralizeSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGeneralizeSample.js index a1abfafc308c..010909bbeb5a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGeneralizeSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGeneralizeSample.js @@ -27,7 +27,7 @@ async function generalizeAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGetSample.js index e451707eb7c1..86ec70d7ebdd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGetSample.js @@ -27,7 +27,7 @@ async function getAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlac "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -81,7 +81,7 @@ async function getAVirtualMachineWithDiskControllerTypeProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -108,7 +108,7 @@ async function getAVirtualMachineWithVMSizeProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstallPatchesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstallPatchesSample.js index 9fc4b36edf0a..379f99f88eb8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstallPatchesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstallPatchesSample.js @@ -36,10 +36,10 @@ async function installPatchStateOfAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstanceViewSample.js index 675435735ec0..a3389e26ec24 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstanceViewSample.js @@ -27,7 +27,7 @@ async function getVirtualMachineInstanceView() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -54,12 +54,12 @@ async function getInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroug "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); } getInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAllSample.js index 0b70137905ed..2e111af5d0b3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAllSample.js @@ -28,7 +28,7 @@ async function virtualMachinesListAllMaximumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function virtualMachinesListAllMinimumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAvailableSizesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAvailableSizesSample.js index 0486672bf54a..926213d617b8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAvailableSizesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAvailableSizesSample.js @@ -28,7 +28,7 @@ async function listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMac "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -40,5 +40,5 @@ async function listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMac } listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMachineCanBeResized().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListByLocationSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListByLocationSample.js index 70e60ff6aff5..d61ba88abf0f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListByLocationSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListByLocationSample.js @@ -26,7 +26,7 @@ async function listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpec .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -38,5 +38,5 @@ async function listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpec } listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpecifiedLocation().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListSample.js index b20deb8e8e01..a6ddf25a8a2c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListSample.js @@ -29,7 +29,7 @@ async function virtualMachinesListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -59,7 +59,7 @@ async function virtualMachinesListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPerformMaintenanceSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPerformMaintenanceSample.js index 08c7239f8274..a20ca5108555 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPerformMaintenanceSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPerformMaintenanceSample.js @@ -28,10 +28,10 @@ async function virtualMachinesPerformMaintenanceMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesPerformMaintenanceMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPowerOffSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPowerOffSample.js index 9c9a62dd2c47..72acaafc5c39 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPowerOffSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPowerOffSample.js @@ -28,10 +28,10 @@ async function virtualMachinesPowerOffMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesPowerOffMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReapplySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReapplySample.js index e6e580c8e680..c2af74144fb6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReapplySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReapplySample.js @@ -28,10 +28,10 @@ async function reapplyTheStateOfAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRedeploySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRedeploySample.js index 41e6c90d6d37..44b33cc49070 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRedeploySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRedeploySample.js @@ -28,10 +28,10 @@ async function virtualMachinesRedeployMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesRedeployMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReimageSample.js index 9af755007519..77e4ccffde12 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReimageSample.js @@ -29,10 +29,10 @@ async function reimageAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRestartSample.js index 2bbb600116b1..8eaa8877e3ec 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRestartSample.js @@ -28,10 +28,10 @@ async function virtualMachinesRestartMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesRestartMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRetrieveBootDiagnosticsDataSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRetrieveBootDiagnosticsDataSample.js index 104f5654868e..e2d6f7ea7dd3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRetrieveBootDiagnosticsDataSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRetrieveBootDiagnosticsDataSample.js @@ -30,7 +30,7 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRunCommandSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRunCommandSample.js index 91f0f1029985..51813875344d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRunCommandSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRunCommandSample.js @@ -29,10 +29,10 @@ async function virtualMachineRunCommand() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js index 844d11db03f0..2939bff23b80 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js @@ -27,7 +27,7 @@ async function simulateEvictionAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js index 0f7a569554ad..0f65281e4148 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js @@ -28,10 +28,10 @@ async function virtualMachinesStartMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesStartMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js index 24654963a7f3..403db06db38a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js @@ -74,10 +74,10 @@ async function updateAVMByDetachingDataDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -150,10 +150,10 @@ async function updateAVMByForceDetachingDataDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/package.json b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/package.json index a98ba7651e9c..4512c0d7015a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/package.json +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/package.json @@ -32,11 +32,11 @@ "dependencies": { "@azure-rest/arm-compute": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" }, "devDependencies": { "@types/node": "^18.0.0", - "typescript": "~5.7.2", + "typescript": "~5.6.2", "rimraf": "latest" } } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts index 6d762f831a91..0e20f897e7a9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - AvailabilitySetsCreateOrUpdateParameters + AvailabilitySetsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,16 +26,16 @@ async function createAnAvailabilitySet() { const options: AvailabilitySetsCreateOrUpdateParameters = { body: { location: "westus", - properties: { platformFaultDomainCount: 2, platformUpdateDomainCount: 20 } + properties: { platformFaultDomainCount: 2, platformUpdateDomainCount: 20 }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts index a216770c5080..45a5838d46aa 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - AvailabilitySetsDeleteParameters + AvailabilitySetsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function availabilitySetsDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaaaaaaaaaaa"; const options: AvailabilitySetsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .delete(options); console.log(result); @@ -51,14 +51,14 @@ async function availabilitySetsDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaa"; const options: AvailabilitySetsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts index a68fba91a08c..bb172c59a7e4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - AvailabilitySetsGetParameters + AvailabilitySetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function availabilitySetsGetMaximumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaaa"; const options: AvailabilitySetsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); console.log(result); @@ -51,14 +51,14 @@ async function availabilitySetsGetMinimumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaaaaaaaaaaa"; const options: AvailabilitySetsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts index 021906db4cb3..168987927e18 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { AvailabilitySetsListAvailableSizesParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function availabilitySetsListAvailableSizesMaximumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaaaaaaaaaaa"; const options: AvailabilitySetsListAvailableSizesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +57,14 @@ async function availabilitySetsListAvailableSizesMinimumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aa"; const options: AvailabilitySetsListAvailableSizesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts index 93e58c24a95b..ed41ed49d0d4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { AvailabilitySetsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,13 +25,13 @@ async function listAvailabilitySetsInASubscription() { const options: AvailabilitySetsListBySubscriptionParameters = { queryParameters: { "api-version": "2022-08-01", - $expand: "virtualMachines$ref" - } + $expand: "virtualMachines$ref", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts index c771478b2b05..6cd594b4ee8d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { AvailabilitySetsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function availabilitySetsListMaximumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: AvailabilitySetsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +54,13 @@ async function availabilitySetsListMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: AvailabilitySetsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts index 97ca29bcc3dd..3c94caafeafd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - AvailabilitySetsUpdateParameters + AvailabilitySetsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,27 +29,25 @@ async function availabilitySetsUpdateMaximumSetGen() { platformFaultDomainCount: 2, platformUpdateDomainCount: 20, proximityPlacementGroup: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, virtualMachines: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - ] + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, + ], }, sku: { name: "DSv3-Type1", capacity: 7, tier: "aaa" }, - tags: { key2574: "aaaaaaaa" } + tags: { key2574: "aaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .patch(options); console.log(result); @@ -70,14 +68,14 @@ async function availabilitySetsUpdateMinimumSetGen() { const availabilitySetName = "aaaaaaaaaaaaaaaaaaaa"; const options: AvailabilitySetsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts index 1f998ac6d179..df6922d1be1f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationGroupsCreateOrUpdateParameters + CapacityReservationGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,16 +27,16 @@ async function createOrUpdateACapacityReservationGroup() { body: { location: "westus", tags: { department: "finance" }, - zones: ["1", "2"] + zones: ["1", "2"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts index cc3b19a0fc9c..16f30a807e0c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationGroupsDeleteParameters + CapacityReservationGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function capacityReservationGroupsDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const capacityReservationGroupName = "a"; const options: CapacityReservationGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .delete(options); console.log(result); @@ -51,14 +51,14 @@ async function capacityReservationGroupsDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const capacityReservationGroupName = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: CapacityReservationGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts index b0c727dbaaa6..7e17cdfb0db5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationGroupsGetParameters + CapacityReservationGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getACapacityReservationGroup() { const resourceGroupName = "myResourceGroup"; const capacityReservationGroupName = "myCapacityReservationGroup"; const options: CapacityReservationGroupsGetParameters = { - queryParameters: { $expand: "instanceView", "api-version": "2022-08-01" } + queryParameters: { $expand: "instanceView", "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts index 845181ec886d..3cca5efe770d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationGroupsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,14 +26,14 @@ async function listCapacityReservationGroupsInResourceGroup() { const options: CapacityReservationGroupsListByResourceGroupParameters = { queryParameters: { "api-version": "2022-08-01", - $expand: "virtualMachines/$ref" - } + $expand: "virtualMachines/$ref", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts index f2cbcb239b66..7d9fa23a9d4e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationGroupsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,13 +25,13 @@ async function listCapacityReservationGroupsInSubscription() { const options: CapacityReservationGroupsListBySubscriptionParameters = { queryParameters: { "api-version": "2022-08-01", - $expand: "virtualMachines/$ref" - } + $expand: "virtualMachines/$ref", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts index 709d3abd2e47..b56f5041808a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationGroupsUpdateParameters + CapacityReservationGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function capacityReservationGroupsUpdateMaximumSetGen() { const capacityReservationGroupName = "aaaaaaaaaaaaaaaaaaaaaa"; const options: CapacityReservationGroupsUpdateParameters = { body: { properties: { instanceView: {} }, tags: { key5355: "aaa" } }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .patch(options); console.log(result); @@ -53,14 +53,14 @@ async function capacityReservationGroupsUpdateMinimumSetGen() { const capacityReservationGroupName = "aaaaaaaaaaaaaaaaaaaaaa"; const options: CapacityReservationGroupsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts index 5df91ea966e5..dfa871bc13a3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,9 +30,9 @@ async function createOrUpdateACapacityReservation() { location: "westus", sku: { name: "Standard_DS1_v2", capacity: 4 }, tags: { department: "HR" }, - zones: ["1"] + zones: ["1"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -40,10 +40,10 @@ async function createOrUpdateACapacityReservation() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts index cfe4d06d050a..40c4c71c92ba 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function capacityReservationsDeleteMaximumSetGen() { const capacityReservationGroupName = "aaaaaaaaaaa"; const capacityReservationName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: CapacityReservationsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function capacityReservationsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function capacityReservationsDeleteMinimumSetGen() { const capacityReservationGroupName = "aaa"; const capacityReservationName = "aaaaaa"; const options: CapacityReservationsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function capacityReservationsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts index 30972afed916..0091b636faad 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationsGetParameters + CapacityReservationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getACapacityReservation() { const capacityReservationGroupName = "myCapacityReservationGroup"; const capacityReservationName = "myCapacityReservation"; const options: CapacityReservationsGetParameters = { - queryParameters: { $expand: "instanceView", "api-version": "2022-08-01" } + queryParameters: { $expand: "instanceView", "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getACapacityReservation() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts index 577fc32ec573..aab6b58afa56 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationsListByCapacityReservationGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listCapacityReservationsInReservationGroup() { const resourceGroupName = "myResourceGroup"; const capacityReservationGroupName = "myCapacityReservationGroup"; const options: CapacityReservationsListByCapacityReservationGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts index cf0ffea271d3..b2bce85f1d45 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -35,16 +35,16 @@ async function capacityReservationsUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], - utilizationInfo: {} - } + utilizationInfo: {}, + }, }, sku: { name: "Standard_DS1_v2", capacity: 7, tier: "aaa" }, - tags: { key4974: "aaaaaaaaaaaaaaaa" } + tags: { key4974: "aaaaaaaaaaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -52,10 +52,10 @@ async function capacityReservationsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -76,7 +76,7 @@ async function capacityReservationsUpdateMinimumSetGen() { const capacityReservationName = "aaa"; const options: CapacityReservationsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -84,10 +84,10 @@ async function capacityReservationsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts index de0b6f618775..5a7ce1b231ed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceOperatingSystemsGetOSFamilyParameters + CloudServiceOperatingSystemsGetOSFamilyParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getCloudServiceOSFamily() { const location = "westus2"; const osFamilyName = "3"; const options: CloudServiceOperatingSystemsGetOSFamilyParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}", subscriptionId, location, - osFamilyName + osFamilyName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts index 4e2df0536604..342fa8af5048 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceOperatingSystemsGetOSVersionParameters + CloudServiceOperatingSystemsGetOSVersionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getCloudServiceOSVersion() { const location = "westus2"; const osVersionName = "WA-GUEST-OS-3.90_202010-02"; const options: CloudServiceOperatingSystemsGetOSVersionParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}", subscriptionId, location, - osVersionName + osVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts index 150476d06995..a863c17a9cbc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceOperatingSystemsListOSFamiliesParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listCloudServiceOSFamiliesInASubscription() { const subscriptionId = ""; const location = "westus2"; const options: CloudServiceOperatingSystemsListOSFamiliesParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts index 02a71eaf3c4e..f1946864f10b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceOperatingSystemsListOSVersionsParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listCloudServiceOSVersionsInASubscription() { const subscriptionId = ""; const location = "westus2"; const options: CloudServiceOperatingSystemsListOSVersionsParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts index e00388f85d7d..fee7158c69c9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function deleteCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesDeleteParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function deleteCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts index 21f5418a5359..e3a2fcd42ff1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceRoleInstancesGetInstanceViewParameters + CloudServiceRoleInstancesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getInstanceViewOfCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getInstanceViewOfCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts index 90999feb91f8..716fe501ce31 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceRoleInstancesGetRemoteDesktopFileParameters + CloudServiceRoleInstancesGetRemoteDesktopFileParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getCloudServiceRole() { const cloudServiceName = "aaaa"; const roleInstanceName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: CloudServiceRoleInstancesGetRemoteDesktopFileParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getCloudServiceRole() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts index ea58ae38980a..29bac85f73bd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceRoleInstancesGetParameters + CloudServiceRoleInstancesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesGetParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts index 43551711c856..1e337750aca4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listRoleInstancesInACloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServiceRoleInstancesListParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts index e899b0db0fa1..545afe4c9220 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesRebuildParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function rebuildCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesRebuildParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function rebuildCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts index 827bbf498006..5e71666ebfb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function reimageCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesReimageParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function reimageCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts index 0bfe8c6156bd..2031811eb744 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function restartCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesRestartParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function restartCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts index fd7722b48d99..0e1aea3fa5e7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceRolesGetParameters + CloudServiceRolesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getCloudServiceRole() { const cloudServiceName = "{cs-name}"; const roleName = "{role-name}"; const options: CloudServiceRolesGetParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getCloudServiceRole() { subscriptionId, resourceGroupName, cloudServiceName, - roleName + roleName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts index 9bbb8951e707..ed953c2c83a2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRolesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listRolesInACloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServiceRolesListParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts index 6f37f2b81cde..8c0bc310317b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -39,43 +39,42 @@ async function createNewCloudServiceWithMultipleRoles() { name: "contosofe", properties: { publicIPAddress: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" - } - } - } - ] - } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip", + }, + }, + }, + ], + }, + }, + ], }, packageUrl: "{PackageUrl}", roleProfile: { roles: [ { name: "ContosoFrontend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, }, { name: "ContosoBackend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } - } - ] + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, + }, + ], }, - upgradeMode: "Auto" - } + upgradeMode: "Auto", + }, }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -108,39 +107,38 @@ async function createNewCloudServiceWithSingleRole() { name: "myfe", properties: { publicIPAddress: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP" - } - } - } - ] - } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP", + }, + }, + }, + ], + }, + }, + ], }, packageUrl: "{PackageUrl}", roleProfile: { roles: [ { name: "ContosoFrontend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } - } - ] + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, + }, + ], }, - upgradeMode: "Auto" - } + upgradeMode: "Auto", + }, }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -173,62 +171,58 @@ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { name: "contosofe", properties: { publicIPAddress: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" - } - } - } - ] - } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip", + }, + }, + }, + ], + }, + }, + ], }, osProfile: { secrets: [ { sourceVault: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}", }, vaultCertificates: [ { certificateUrl: - "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}" - } - ] - } - ] + "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}", + }, + ], + }, + ], }, packageUrl: "{PackageUrl}", roleProfile: { roles: [ { name: "ContosoFrontend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } - } - ] + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, + }, + ], }, - upgradeMode: "Auto" - } + upgradeMode: "Auto", + }, }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault().catch( - console.error -); +createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault().catch(console.error); /** * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * @@ -253,15 +247,14 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { properties: { type: "RDP", autoUpgradeMinorVersion: false, - protectedSettings: - "{password}", + protectedSettings: "{password}", publisher: "Microsoft.Windows.Azure.Extensions", settings: "UserAzure10/22/2021 15:05:45", - typeHandlerVersion: "1.2" - } - } - ] + typeHandlerVersion: "1.2", + }, + }, + ], }, networkProfile: { loadBalancerConfigurations: [ @@ -273,39 +266,38 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { name: "contosofe", properties: { publicIPAddress: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" - } - } - } - ] - } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip", + }, + }, + }, + ], + }, + }, + ], }, packageUrl: "{PackageUrl}", roleProfile: { roles: [ { name: "ContosoFrontend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } - } - ] + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, + }, + ], }, - upgradeMode: "Auto" - } + upgradeMode: "Auto", + }, }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts index 7c7c6959c916..bda660a0d240 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesDeleteInstancesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function deleteCloudServiceRoleInstancesInACloudService() { const cloudServiceName = "{cs-name}"; const options: CloudServicesDeleteInstancesParameters = { body: { roleInstances: ["ContosoFrontend_IN_0", "ContosoBackend_IN_1"] }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts index 6c561ea8662a..d0bf092097a8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function deleteCloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesDeleteParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts index 0f8c2f2764f1..2716f904b084 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServicesGetInstanceViewParameters + CloudServicesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getCloudServiceInstanceViewWithMultipleRoles() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/instanceView", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts index e448f53b7cd1..1411a538acc1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - CloudServicesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { CloudServicesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +22,14 @@ async function getCloudServiceWithMultipleRolesAndRdpExtension() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesGetParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts index eaf659a48395..9881104f9dd8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,12 +23,12 @@ async function listCloudServicesInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: CloudServicesListAllParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts index e672ae1c337c..6286d80ecdab 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listCloudServicesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "ConstosoRG"; const options: CloudServicesListParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts index 07cda56c9dc0..3fa2793c05b3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesPowerOffParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function stopOrPowerOffCloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesPowerOffParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts index facd5c119f80..20edf0f56d53 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesRebuildParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function rebuildCloudServiceRoleInstancesInACloudService() { const cloudServiceName = "{cs-name}"; const options: CloudServicesRebuildParameters = { body: { roleInstances: ["ContosoFrontend_IN_0", "ContosoBackend_IN_1"] }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts index d5fcca1ae3b5..28dafd3a5b01 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function reimageCloudServiceRoleInstancesInACloudService() { const cloudServiceName = "{cs-name}"; const options: CloudServicesReimageParameters = { body: { roleInstances: ["ContosoFrontend_IN_0", "ContosoBackend_IN_1"] }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts index 9320ca38316f..cd0dccf17740 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function restartCloudServiceRoleInstancesInACloudService() { const cloudServiceName = "{cs-name}"; const options: CloudServicesRestartParameters = { body: { roleInstances: ["ContosoFrontend_IN_0", "ContosoBackend_IN_1"] }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts index e27a7babfe94..129c97676e74 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function startCloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesStartParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts index 1fa4fad240fc..95e1efb8c46f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServicesUpdateDomainGetUpdateDomainParameters + CloudServicesUpdateDomainGetUpdateDomainParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getCloudServiceUpdateDomain() { const cloudServiceName = "{cs-name}"; const updateDomain = 1; const options: CloudServicesUpdateDomainGetUpdateDomainParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getCloudServiceUpdateDomain() { subscriptionId, resourceGroupName, cloudServiceName, - updateDomain + updateDomain, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts index 6183634e7919..f4c8e0aa24f8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesUpdateDomainListUpdateDomainsParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listUpdateDomainsInCloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesUpdateDomainListUpdateDomainsParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts index ee1f9c5625e9..01102aa024fb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesUpdateDomainWalkUpdateDomainParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function updateCloudServiceToSpecifiedDomain() { const cloudServiceName = "{cs-name}"; const updateDomain = 1; const options: CloudServicesUpdateDomainWalkUpdateDomainParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function updateCloudServiceToSpecifiedDomain() { subscriptionId, resourceGroupName, cloudServiceName, - updateDomain + updateDomain, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts index d3f0ba918afe..3a1481300cf9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function updateExistingCloudServiceToAddTags() { const cloudServiceName = "{cs-name}"; const options: CloudServicesUpdateParameters = { body: { tags: { Documentation: "RestAPI" } }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts index 35fc48e4b3e1..db1b042e8eb0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CommunityGalleriesGetParameters + CommunityGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getACommunityGallery() { const location = "myLocation"; const publicGalleryName = "publicGalleryName"; const options: CommunityGalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}", subscriptionId, location, - publicGalleryName + publicGalleryName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts index fc56b89d4f64..569abf43d071 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CommunityGalleryImageVersionsGetParameters + CommunityGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function getACommunityGalleryImageVersion() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "myGalleryImageVersionName"; const options: CommunityGalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -35,7 +35,7 @@ async function getACommunityGalleryImageVersion() { location, publicGalleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts index 6da21c58ff8c..926fcc5d49e0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CommunityGalleryImageVersionsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function listCommunityGalleryImageVersions() { const publicGalleryName = "publicGalleryName"; const galleryImageName = "myGalleryImageName"; const options: CommunityGalleryImageVersionsListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listCommunityGalleryImageVersions() { subscriptionId, location, publicGalleryName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts index 3a9afccdd63d..0cab53121839 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CommunityGalleryImagesGetParameters + CommunityGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getACommunityGalleryImage() { const publicGalleryName = "publicGalleryName"; const galleryImageName = "myGalleryImageName"; const options: CommunityGalleryImagesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getACommunityGalleryImage() { subscriptionId, location, publicGalleryName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts index 0006a4e970e2..e909d5527fee 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CommunityGalleryImagesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listCommunityGalleryImages() { const location = "myLocation"; const publicGalleryName = "publicGalleryName"; const options: CommunityGalleryImagesListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images", subscriptionId, location, - publicGalleryName + publicGalleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts index 8954845b3a9a..c13b7b7185ef 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostGroupsCreateOrUpdateParameters + DedicatedHostGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,19 +29,19 @@ async function createOrUpdateADedicatedHostGroupWithUltraSsdSupport() { properties: { additionalCapabilities: { ultraSSDEnabled: true }, platformFaultDomainCount: 3, - supportAutomaticPlacement: true + supportAutomaticPlacement: true, }, tags: { department: "finance" }, - zones: ["1"] + zones: ["1"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .put(options); console.log(result); @@ -65,19 +65,19 @@ async function createOrUpdateADedicatedHostGroup() { location: "westus", properties: { platformFaultDomainCount: 3, - supportAutomaticPlacement: true + supportAutomaticPlacement: true, }, tags: { department: "finance" }, - zones: ["1"] + zones: ["1"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts index 82f8c8fd61ee..037cacfa9748 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostGroupsDeleteParameters + DedicatedHostGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function dedicatedHostGroupsDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const hostGroupName = "a"; const options: DedicatedHostGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .delete(options); console.log(result); @@ -51,14 +51,14 @@ async function dedicatedHostGroupsDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const hostGroupName = "aaaa"; const options: DedicatedHostGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts index e65d23771775..671c788fe16c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostGroupsGetParameters + DedicatedHostGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function createADedicatedHostGroup() { const resourceGroupName = "myResourceGroup"; const hostGroupName = "myDedicatedHostGroup"; const options: DedicatedHostGroupsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); console.log(result); @@ -51,14 +51,14 @@ async function createAnUltraSsdEnabledDedicatedHostGroup() { const resourceGroupName = "myResourceGroup"; const hostGroupName = "myDedicatedHostGroup"; const options: DedicatedHostGroupsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts index a8df7d8acc6c..096d0edb9c63 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostGroupsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function dedicatedHostGroupsListByResourceGroupMaximumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: DedicatedHostGroupsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +54,13 @@ async function dedicatedHostGroupsListByResourceGroupMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: DedicatedHostGroupsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts index d1d58e194a6d..7781bf867447 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostGroupsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,13 +23,10 @@ async function dedicatedHostGroupsListBySubscriptionMaximumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DedicatedHostGroupsListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; @@ -51,13 +48,10 @@ async function dedicatedHostGroupsListBySubscriptionMinimumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DedicatedHostGroupsListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts index a1847ddfaef1..8975a5a95344 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostGroupsUpdateParameters + DedicatedHostGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,7 +30,7 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { hosts: [ { availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }] + allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], }, statuses: [ { @@ -38,26 +38,26 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ] - } - ] + time: new Date("2021-11-30T12:58:26.522Z"), + }, + ], + }, + ], }, platformFaultDomainCount: 3, - supportAutomaticPlacement: true + supportAutomaticPlacement: true, }, tags: { key9921: "aaaaaaaaaa" }, - zones: ["aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"] + zones: ["aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .patch(options); console.log(result); @@ -78,14 +78,14 @@ async function dedicatedHostGroupsUpdateMinimumSetGen() { const hostGroupName = "aaaaaaaaaaa"; const options: DedicatedHostGroupsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts index ffa7ca21a90c..91dddbeeb5a1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,9 +30,9 @@ async function createOrUpdateADedicatedHost() { location: "westus", properties: { platformFaultDomain: 1 }, sku: { name: "DSv3-Type1" }, - tags: { department: "HR" } + tags: { department: "HR" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -40,10 +40,10 @@ async function createOrUpdateADedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts index 3ba1ef6f9c53..c9565162c2fb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function dedicatedHostsDeleteMaximumSetGen() { const hostGroupName = "aaaaaa"; const hostName = "aaaaaaaaaaaaaaa"; const options: DedicatedHostsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function dedicatedHostsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function dedicatedHostsDeleteMinimumSetGen() { const hostGroupName = "aaaaaaaaaaaaaaa"; const hostName = "aaaaa"; const options: DedicatedHostsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function dedicatedHostsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts index 2f061a707210..3a81ac33fed6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostsGetParameters + DedicatedHostsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getADedicatedHost() { const hostGroupName = "myDedicatedHostGroup"; const hostName = "myHost"; const options: DedicatedHostsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getADedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts index 63e2e748b4d0..667953be0f99 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsListByHostGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function dedicatedHostsListByHostGroupMaximumSetGen() { const resourceGroupName = "rgcompute"; const hostGroupName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: DedicatedHostsListByHostGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +57,14 @@ async function dedicatedHostsListByHostGroupMinimumSetGen() { const resourceGroupName = "rgcompute"; const hostGroupName = "aaaa"; const options: DedicatedHostsListByHostGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts index 08346181fff1..8bcf3db0b925 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function restartDedicatedHost() { const hostGroupName = "myDedicatedHostGroup"; const hostName = "myHost"; const options: DedicatedHostsRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function restartDedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts index c22c89fffe15..f4a501d1f888 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -31,7 +31,7 @@ async function dedicatedHostsUpdateMaximumSetGen() { autoReplaceOnFailure: true, instanceView: { availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }] + allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], }, statuses: [ { @@ -39,16 +39,16 @@ async function dedicatedHostsUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ] + time: new Date("2021-11-30T12:58:26.522Z"), + }, + ], }, licenseType: "Windows_Server_Hybrid", - platformFaultDomain: 1 + platformFaultDomain: 1, }, - tags: { key8813: "aaaaaaaaaaaaaaaaaaaaaaaaaaa" } + tags: { key8813: "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -56,10 +56,10 @@ async function dedicatedHostsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -80,7 +80,7 @@ async function dedicatedHostsUpdateMinimumSetGen() { const hostName = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: DedicatedHostsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -88,10 +88,10 @@ async function dedicatedHostsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts index 5015104f09f4..0da39131440e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function createADiskAccessResource() { const diskAccessName = "myDiskAccess"; const options: DiskAccessesCreateOrUpdateParameters = { body: { location: "West US" }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts index acadf839c591..c5b52c2a1ed4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesDeleteAPrivateEndpointConnectionParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function deleteAPrivateEndpointConnectionUnderADiskAccessResource() { const diskAccessName = "myDiskAccess"; const privateEndpointConnectionName = "myPrivateEndpointConnection"; const options: DiskAccessesDeleteAPrivateEndpointConnectionParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function deleteAPrivateEndpointConnectionUnderADiskAccessResource() { subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts index 97f0ae297733..63b233321913 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function deleteADiskAccessResource() { const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesDeleteParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts index 2b17541e4c08..f7daa326e4f9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DiskAccessesGetAPrivateEndpointConnectionParameters + DiskAccessesGetAPrivateEndpointConnectionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso const diskAccessName = "myDiskAccess"; const privateEndpointConnectionName = "myPrivateEndpointConnection"; const options: DiskAccessesGetAPrivateEndpointConnectionParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( @@ -33,12 +33,10 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .get(options); console.log(result); } -getInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource().catch( - console.error -); +getInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts index caca014e4a45..1152091cdea7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DiskAccessesGetPrivateLinkResourcesParameters + DiskAccessesGetPrivateLinkResourcesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,19 +24,17 @@ async function listAllPossiblePrivateLinkResourcesUnderDiskAccessResource() { const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesGetPrivateLinkResourcesParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); } -listAllPossiblePrivateLinkResourcesUnderDiskAccessResource().catch( - console.error -); +listAllPossiblePrivateLinkResourcesUnderDiskAccessResource().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts index e2a51dd41016..26623bcb5b1e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - DiskAccessesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { DiskAccessesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,22 +22,20 @@ async function getInformationAboutADiskAccessResourceWithPrivateEndpoints() { const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); } -getInformationAboutADiskAccessResourceWithPrivateEndpoints().catch( - console.error -); +getInformationAboutADiskAccessResourceWithPrivateEndpoints().catch(console.error); /** * This sample demonstrates how to Gets information about a disk access resource. * @@ -53,14 +49,14 @@ async function getInformationAboutADiskAccessResource() { const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts index db69241b1857..54e08a92d0ce 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listAllDiskAccessResourcesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: DiskAccessesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts index 5c9dde381f1a..0e8880fd2985 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesListPrivateEndpointConnectionsParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesListPrivateEndpointConnectionsParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -43,6 +43,4 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso console.log(result); } -getInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource().catch( - console.error -); +getInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts index 6b6406dc00a6..869d0ea31878 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,12 +23,12 @@ async function listAllDiskAccessResourcesInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DiskAccessesListParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts index 1f3ca64136b7..28eb7914e02b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesUpdateAPrivateEndpointConnectionParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,11 +30,11 @@ async function approveAPrivateEndpointConnectionUnderADiskAccessResource() { properties: { privateLinkServiceConnectionState: { description: "Approving myPrivateEndpointConnection", - status: "Approved" - } - } + status: "Approved", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -42,14 +42,12 @@ async function approveAPrivateEndpointConnectionUnderADiskAccessResource() { subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -approveAPrivateEndpointConnectionUnderADiskAccessResource().catch( - console.error -); +approveAPrivateEndpointConnectionUnderADiskAccessResource().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts index 287d187312d4..a164c84aa787 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function updateADiskAccessResource() { const diskAccessName = "myDiskAccess"; const options: DiskAccessesUpdateParameters = { body: { tags: { department: "Development", project: "PrivateEndpoints" } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts index 3af2370c0651..2bf1349b83c1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,30 +30,27 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentSubscription() location: "West US", properties: { activeKey: { - keyUrl: - "https://myvaultdifferentsub.vault-int.azure-int.net/keys/{key}" + keyUrl: "https://myvaultdifferentsub.vault-int.azure-int.net/keys/{key}", }, - encryptionType: "EncryptionAtRestWithCustomerKey" - } + encryptionType: "EncryptionAtRestWithCustomerKey", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createADiskEncryptionSetWithKeyVaultFromADifferentSubscription().catch( - console.error -); +createADiskEncryptionSetWithKeyVaultFromADifferentSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk encryption set * @@ -71,30 +68,30 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentTenant() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}": {} - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}": + {}, + }, }, location: "West US", properties: { activeKey: { - keyUrl: - "https://myvaultdifferenttenant.vault-int.azure-int.net/keys/{key}" + keyUrl: "https://myvaultdifferenttenant.vault-int.azure-int.net/keys/{key}", }, encryptionType: "EncryptionAtRestWithCustomerKey", - federatedClientId: "00000000-0000-0000-0000-000000000000" - } + federatedClientId: "00000000-0000-0000-0000-000000000000", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -120,24 +117,23 @@ async function createADiskEncryptionSet() { activeKey: { keyUrl: "https://myvmvault.vault-int.azure-int.net/keys/{key}", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault", + }, }, - encryptionType: "EncryptionAtRestWithCustomerKey" - } + encryptionType: "EncryptionAtRestWithCustomerKey", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts index 0909c3687811..c06148a95b4c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function deleteADiskEncryptionSet() { const resourceGroupName = "myResourceGroup"; const diskEncryptionSetName = "myDiskEncryptionSet"; const options: DiskEncryptionSetsDeleteParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts index b5b9f96a377f..0063f7b08aaf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DiskEncryptionSetsGetParameters + DiskEncryptionSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,22 +24,20 @@ async function getInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed() const resourceGroupName = "myResourceGroup"; const diskEncryptionSetName = "myDiskEncryptionSet"; const options: DiskEncryptionSetsGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); console.log(result); } -getInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed().catch( - console.error -); +getInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed().catch(console.error); /** * This sample demonstrates how to Gets information about a disk encryption set. * @@ -53,14 +51,14 @@ async function getInformationAboutADiskEncryptionSet() { const resourceGroupName = "myResourceGroup"; const diskEncryptionSetName = "myDiskEncryptionSet"; const options: DiskEncryptionSetsGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts index 160da2b724ed..454e740c2e4e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsListAssociatedResourcesParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet() { const resourceGroupName = "myResourceGroup"; const diskEncryptionSetName = "myDiskEncryptionSet"; const options: DiskEncryptionSetsListAssociatedResourcesParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}/associatedResources", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -43,6 +43,4 @@ async function listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet() { console.log(result); } -listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet().catch( - console.error -); +listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts index 10325ec16a84..702606bd5043 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listAllDiskEncryptionSetsInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: DiskEncryptionSetsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts index dd9295658b5b..354c66075119 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,12 +23,12 @@ async function listAllDiskEncryptionSetsInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DiskEncryptionSetsListParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts index a218d50cd17c..3380547bdc5c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,30 +29,29 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT identity: { type: "SystemAssigned" }, properties: { activeKey: { - keyUrl: - "https://myvaultdifferentsub.vault-int.azure-int.net/keys/keyName/keyVersion1" + keyUrl: "https://myvaultdifferentsub.vault-int.azure-int.net/keys/keyName/keyVersion1", }, encryptionType: "EncryptionAtRestWithCustomerKey", - rotationToLatestKeyVersionEnabled: true - } + rotationToLatestKeyVersionEnabled: true, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueSucceeded().catch( - console.error + console.error, ); /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -71,30 +70,29 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT identity: { type: "SystemAssigned" }, properties: { activeKey: { - keyUrl: - "https://myvaultdifferentsub.vault-int.azure-int.net/keys/keyName/keyVersion1" + keyUrl: "https://myvaultdifferentsub.vault-int.azure-int.net/keys/keyName/keyVersion1", }, encryptionType: "EncryptionAtRestWithCustomerKey", - rotationToLatestKeyVersionEnabled: true - } + rotationToLatestKeyVersionEnabled: true, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueUpdating().catch( - console.error + console.error, ); /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -112,28 +110,26 @@ async function updateADiskEncryptionSet() { body: { properties: { activeKey: { - keyUrl: - "https://myvmvault.vault-int.azure-int.net/keys/keyName/keyVersion", + keyUrl: "https://myvmvault.vault-int.azure-int.net/keys/keyName/keyVersion", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault", + }, }, - encryptionType: "EncryptionAtRestWithCustomerKey" + encryptionType: "EncryptionAtRestWithCustomerKey", }, - tags: { department: "Development", project: "Encryption" } + tags: { department: "Development", project: "Encryption" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts index 1729966b01ba..4793f972a961 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DiskRestorePointGetParameters + DiskRestorePointGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,10 +24,9 @@ async function getAnIncrementalDiskRestorePointResource() { const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; - const diskRestorePointName = - "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; + const diskRestorePointName = "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; const options: DiskRestorePointGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( @@ -36,7 +35,7 @@ async function getAnIncrementalDiskRestorePointResource() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .get(options); console.log(result); @@ -56,10 +55,9 @@ async function getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferen const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; - const diskRestorePointName = - "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; + const diskRestorePointName = "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; const options: DiskRestorePointGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( @@ -68,12 +66,10 @@ async function getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferen resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .get(options); console.log(result); } -getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion().catch( - console.error -); +getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts index 69a844e7a02f..540c0fc0b969 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskRestorePointGrantAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,11 +25,10 @@ async function grantsAccessToADiskRestorePoint() { const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; - const diskRestorePointName = - "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; + const diskRestorePointName = "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; const options: DiskRestorePointGrantAccessParameters = { body: { access: "Read", durationInSeconds: 300 }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -38,10 +37,10 @@ async function grantsAccessToADiskRestorePoint() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts index 9fb17c1802dd..90607c373848 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskRestorePointListByRestorePointParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function getAnIncrementalDiskRestorePointResource() { const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; const options: DiskRestorePointListByRestorePointParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function getAnIncrementalDiskRestorePointResource() { subscriptionId, resourceGroupName, restorePointCollectionName, - vmRestorePointName + vmRestorePointName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts index c2d590b6ef40..dcd3cdf9511d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskRestorePointRevokeAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,10 +25,9 @@ async function revokesAccessToADiskRestorePoint() { const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; - const diskRestorePointName = - "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; + const diskRestorePointName = "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; const options: DiskRestorePointRevokeAccessParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -37,10 +36,10 @@ async function revokesAccessToADiskRestorePoint() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts index 013681b6ce14..a0cbad9b0a18 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -31,36 +31,33 @@ async function createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey creationData: { createOption: "FromImage", imageReference: { - id: - "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0" - } + id: "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0", + }, }, osType: "Windows", securityProfile: { secureVMDiskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", - securityType: "ConfidentialVM_DiskEncryptedWithCustomerKey" - } - } + securityType: "ConfidentialVM_DiskEncryptedWithCustomerKey", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey().catch( - console.error -); +createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -81,20 +78,20 @@ async function createAManagedDiskAndAssociateWithDiskAccessResource() { diskAccessId: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/{existing-diskAccess-name}", diskSizeGB: 200, - networkAccessPolicy: "AllowPrivate" - } + networkAccessPolicy: "AllowPrivate", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -120,21 +117,21 @@ async function createAManagedDiskAndAssociateWithDiskEncryptionSet() { diskSizeGB: 200, encryption: { diskEncryptionSetId: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" - } - } + "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -159,21 +156,21 @@ async function createAManagedDiskByCopyingASnapshot() { creationData: { createOption: "Copy", sourceResourceId: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } - } + "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -197,31 +194,28 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscri properties: { creationData: { createOption: "Import", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", storageAccountId: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount" - } - } + "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription().catch( - console.error -); +createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -240,29 +234,26 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscripti properties: { creationData: { createOption: "Import", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd" - } - } + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription().catch( - console.error -); +createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -281,31 +272,28 @@ async function createAManagedDiskFromImportSecureCreateOption() { properties: { creationData: { createOption: "ImportSecure", - securityDataUri: - "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + securityDataUri: "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd", + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", storageAccountId: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount" + "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount", }, osType: "Windows", securityProfile: { - securityType: - "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey" - } - } + securityType: "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -329,23 +317,23 @@ async function createAManagedDiskFromUploadPreparedSecureCreateOption() { properties: { creationData: { createOption: "UploadPreparedSecure", - uploadSizeBytes: 10737418752 + uploadSizeBytes: 10737418752, }, osType: "Windows", - securityProfile: { securityType: "TrustedLaunch" } - } + securityProfile: { securityType: "TrustedLaunch" }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -370,24 +358,23 @@ async function createAManagedDiskFromAPlatformImage() { creationData: { createOption: "FromImage", imageReference: { - id: - "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0" - } + id: "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0", + }, }, - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -413,30 +400,28 @@ async function createAManagedDiskFromAnAzureComputeGalleryCommunityImage() { createOption: "FromImage", galleryImageReference: { communityGalleryImageId: - "/CommunityGalleries/{communityGalleryPublicGalleryName}/Images/{imageName}/Versions/1.0.0" - } + "/CommunityGalleries/{communityGalleryPublicGalleryName}/Images/{imageName}/Versions/1.0.0", + }, }, - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskFromAnAzureComputeGalleryCommunityImage().catch( - console.error -); +createAManagedDiskFromAnAzureComputeGalleryCommunityImage().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -457,30 +442,28 @@ async function createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage() { createOption: "FromImage", galleryImageReference: { sharedGalleryImageId: - "/SharedGalleries/{sharedGalleryUniqueName}/Images/{imageName}/Versions/1.0.0" - } + "/SharedGalleries/{sharedGalleryUniqueName}/Images/{imageName}/Versions/1.0.0", + }, }, - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage().catch( - console.error -); +createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -500,24 +483,23 @@ async function createAManagedDiskFromAnAzureComputeGalleryImage() { creationData: { createOption: "FromImage", galleryImageReference: { - id: - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Providers/Microsoft.Compute/Galleries/{galleryName}/Images/{imageName}/Versions/1.0.0" - } + id: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Providers/Microsoft.Compute/Galleries/{galleryName}/Images/{imageName}/Versions/1.0.0", + }, }, - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -542,28 +524,26 @@ async function createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSu creationData: { createOption: "Copy", sourceResourceId: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1" - } - } + "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSubscription().catch( - console.error -); +createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -582,20 +562,20 @@ async function createAManagedDiskWithDataAccessAuthMode() { properties: { creationData: { createOption: "Empty" }, dataAccessAuthMode: "AzureActiveDirectory", - diskSizeGB: 200 - } + diskSizeGB: 200, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -619,20 +599,20 @@ async function createAManagedDiskWithOptimizedForFrequentAttach() { properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200, - optimizedForFrequentAttach: true - } + optimizedForFrequentAttach: true, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -654,20 +634,20 @@ async function createAManagedDiskWithPerformancePlus() { body: { location: "West US", properties: { - creationData: { createOption: "Upload", performancePlus: true } - } + creationData: { createOption: "Upload", performancePlus: true }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -692,21 +672,21 @@ async function createAManagedDiskWithPremiumV2AccountType() { creationData: { createOption: "Empty" }, diskIOPSReadWrite: 125, diskMBpsReadWrite: 3000, - diskSizeGB: 200 + diskSizeGB: 200, }, - sku: { name: "PremiumV2_LRS" } + sku: { name: "PremiumV2_LRS" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -731,25 +711,24 @@ async function createAManagedDiskWithSecurityProfile() { creationData: { createOption: "FromImage", imageReference: { - id: - "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}" - } + id: "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}", + }, }, osType: "Windows", - securityProfile: { securityType: "TrustedLaunch" } - } + securityProfile: { securityType: "TrustedLaunch" }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -771,19 +750,19 @@ async function createAManagedDiskWithSsdZrsAccountType() { body: { location: "West US", properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 }, - sku: { name: "Premium_ZRS" } + sku: { name: "Premium_ZRS" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -809,28 +788,26 @@ async function createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet() { diskIOPSReadWrite: 125, diskMBpsReadWrite: 3000, diskSizeGB: 200, - encryption: { type: "EncryptionAtRestWithPlatformKey" } + encryption: { type: "EncryptionAtRestWithPlatformKey" }, }, - sku: { name: "UltraSSD_LRS" } + sku: { name: "UltraSSD_LRS" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet().catch( - console.error -); +createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -847,20 +824,20 @@ async function createAManagedUploadDisk() { body: { location: "West US", properties: { - creationData: { createOption: "Upload", uploadSizeBytes: 10737418752 } - } + creationData: { createOption: "Upload", uploadSizeBytes: 10737418752 }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -882,19 +859,19 @@ async function createAnEmptyManagedDiskInExtendedLocation() { body: { extendedLocation: { name: "{edge-zone-id}", type: "EdgeZone" }, location: "West US", - properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 } + properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -915,19 +892,19 @@ async function createAnEmptyManagedDisk() { const options: DisksCreateOrUpdateParameters = { body: { location: "West US", - properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 } + properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -950,21 +927,21 @@ async function createAnUltraManagedDiskWithLogicalSectorSize512E() { location: "West US", properties: { creationData: { createOption: "Empty", logicalSectorSize: 512 }, - diskSizeGB: 200 + diskSizeGB: 200, }, - sku: { name: "UltraSSD_LRS" } + sku: { name: "UltraSSD_LRS" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts index 048f0995b082..091113a6218e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function deleteAManagedDisk() { const resourceGroupName = "myResourceGroup"; const diskName = "myDisk"; const options: DisksDeleteParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts index 3c7c83797d68..22ffd0e3b8b3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - DisksGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { DisksGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +22,14 @@ async function getInformationAboutAManagedDisk() { const resourceGroupName = "myResourceGroup"; const diskName = "myManagedDisk"; const options: DisksGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts index 9d0f501eff54..75d38d496c59 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksGrantAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function getASasOnAManagedDisk() { const diskName = "myDisk"; const options: DisksGrantAccessParameters = { body: { access: "Read", durationInSeconds: 300 }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,19 +58,19 @@ async function getSasOnManagedDiskAndVMGuestState() { body: { access: "Read", durationInSeconds: 300, - getSecureVMGuestStateSAS: true + getSecureVMGuestStateSAS: true, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts index f31b0c446606..fc77b39eade5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listAllManagedDisksInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: DisksListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts index 0b3841df0e58..ebb4db122125 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,13 +23,10 @@ async function listAllManagedDisksInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DisksListParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts index e610f71ad75c..54172ffc568f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksRevokeAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function revokeAccessToAManagedDisk() { const resourceGroupName = "myResourceGroup"; const diskName = "myDisk"; const options: DisksRevokeAccessParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts index 5d96736f4299..4ef3bc96b975 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function createOrUpdateABurstingEnabledManagedDisk() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { burstingEnabled: true, diskSizeGB: 1024 } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -56,19 +56,19 @@ async function updateAManagedDiskToAddAcceleratedNetworking() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { - properties: { supportedCapabilities: { acceleratedNetwork: false } } + properties: { supportedCapabilities: { acceleratedNetwork: false } }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -88,17 +88,17 @@ async function updateAManagedDiskToAddArchitecture() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { supportedCapabilities: { architecture: "Arm64" } } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -123,21 +123,21 @@ async function updateAManagedDiskToAddPurchasePlan() { name: "myPurchasePlanName", product: "myPurchasePlanProduct", promotionCode: "myPurchasePlanPromotionCode", - publisher: "myPurchasePlanPublisher" - } - } + publisher: "myPurchasePlanPublisher", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -157,17 +157,17 @@ async function updateAManagedDiskToAddSupportsHibernation() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { supportsHibernation: true } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -187,17 +187,17 @@ async function updateAManagedDiskToChangeTier() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { tier: "P30" } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -217,17 +217,17 @@ async function updateAManagedDiskToDisableBursting() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { burstingEnabled: false } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -247,17 +247,17 @@ async function updateAManagedDiskToDisableOptimizedForFrequentAttach() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { optimizedForFrequentAttach: false } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -277,19 +277,19 @@ async function updateAManagedDiskWithDiskControllerTypes() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { - properties: { supportedCapabilities: { diskControllerTypes: "SCSI" } } + properties: { supportedCapabilities: { diskControllerTypes: "SCSI" } }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -309,17 +309,17 @@ async function updateManagedDiskToRemoveDiskAccessResourceAssociation() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { networkAccessPolicy: "AllowAll" } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts index 41b9609970d4..7f07cc1c3987 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -34,23 +34,23 @@ async function createACommunityGallery() { eula: "eula", publicNamePrefix: "PirPublic", publisherContact: "pir@microsoft.com", - publisherUri: "uri" + publisherUri: "uri", }, - permissions: "Community" - } - } + permissions: "Community", + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -73,20 +73,20 @@ async function createOrUpdateASimpleGalleryWithSharingProfile() { location: "West US", properties: { description: "This is the gallery description.", - sharingProfile: { permissions: "Groups" } - } + sharingProfile: { permissions: "Groups" }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -109,20 +109,20 @@ async function createOrUpdateASimpleGalleryWithSoftDeletionEnabled() { location: "West US", properties: { description: "This is the gallery description.", - softDeletePolicy: { isSoftDeleteEnabled: true } - } + softDeletePolicy: { isSoftDeleteEnabled: true }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -143,19 +143,19 @@ async function createOrUpdateASimpleGallery() { const options: GalleriesCreateOrUpdateParameters = { body: { location: "West US", - properties: { description: "This is the gallery description." } + properties: { description: "This is the gallery description." }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts index b345b1d43ce8..cfa3083d9849 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function deleteAGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleriesDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts index 6b6afb12e3ee..6820dfcfffb0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - GalleriesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { GalleriesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +22,14 @@ async function getACommunityGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -53,15 +51,15 @@ async function getAGalleryWithExpandSharingProfileGroups() { const options: GalleriesGetParameters = { queryParameters: { "api-version": "2022-01-03", - $expand: "SharingProfile/Groups" - } + $expand: "SharingProfile/Groups", + }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -81,14 +79,14 @@ async function getAGalleryWithSelectPermissions() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03", $select: "Permissions" } + queryParameters: { "api-version": "2022-01-03", $select: "Permissions" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -108,14 +106,14 @@ async function getAGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts index de9a8ea9bf6b..5afb1998c198 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listGalleriesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: GalleriesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts index 8726e73519e6..fd2bbfe95cf7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,13 +23,10 @@ async function listGalleriesInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: GalleriesListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts index d0b474f1b697..b8e85330ca76 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function updateASimpleGallery() { const galleryName = "myGalleryName"; const options: GalleriesUpdateParameters = { body: { properties: { description: "This is the gallery description." } }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts index 4ebbf0aa9066..d7599a4eb3b6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationVersionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -35,25 +35,25 @@ async function createOrUpdateASimpleGalleryApplicationVersion() { manageActions: { install: 'powershell -command "Expand-Archive -Path package.zip -DestinationPath C:package"', - remove: "del C:package " + remove: "del C:package ", }, replicaCount: 1, source: { mediaLink: - "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}", }, storageAccountType: "Standard_LRS", targetRegions: [ { name: "West US", regionalReplicaCount: 1, - storageAccountType: "Standard_LRS" - } - ] - } - } + storageAccountType: "Standard_LRS", + }, + ], + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -62,10 +62,10 @@ async function createOrUpdateASimpleGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts index 7bcf17c34742..a65cb7ef27fe 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationVersionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,7 +27,7 @@ async function deleteAGalleryApplicationVersion() { const galleryApplicationName = "myGalleryApplicationName"; const galleryApplicationVersionName = "1.0.0"; const options: GalleryApplicationVersionsDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -36,10 +36,10 @@ async function deleteAGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts index d0a06fa9ea2d..f618e7883dee 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - GalleryApplicationVersionsGetParameters + GalleryApplicationVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,8 +28,8 @@ async function getAGalleryApplicationVersionWithReplicationStatus() { const options: GalleryApplicationVersionsGetParameters = { queryParameters: { $expand: "ReplicationStatus", - "api-version": "2022-01-03" - } + "api-version": "2022-01-03", + }, }; const result = await client .path( @@ -38,7 +38,7 @@ async function getAGalleryApplicationVersionWithReplicationStatus() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .get(options); console.log(result); @@ -60,7 +60,7 @@ async function getAGalleryApplicationVersion() { const galleryApplicationName = "myGalleryApplicationName"; const galleryApplicationVersionName = "1.0.0"; const options: GalleryApplicationVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -69,7 +69,7 @@ async function getAGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts index 15b28f87fbde..c01fbd0ef575 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationVersionsListByGalleryApplicationParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function listGalleryApplicationVersionsInAGalleryApplicationDefinition() { const galleryName = "myGalleryName"; const galleryApplicationName = "myGalleryApplicationName"; const options: GalleryApplicationVersionsListByGalleryApplicationParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listGalleryApplicationVersionsInAGalleryApplicationDefinition() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -45,6 +45,4 @@ async function listGalleryApplicationVersionsInAGalleryApplicationDefinition() { console.log(result); } -listGalleryApplicationVersionsInAGalleryApplicationDefinition().catch( - console.error -); +listGalleryApplicationVersionsInAGalleryApplicationDefinition().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts index 8ee8adb4a3dc..f51462cbe91a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationVersionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -34,25 +34,25 @@ async function updateASimpleGalleryApplicationVersion() { manageActions: { install: 'powershell -command "Expand-Archive -Path package.zip -DestinationPath C:package"', - remove: "del C:package " + remove: "del C:package ", }, replicaCount: 1, source: { mediaLink: - "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}", }, storageAccountType: "Standard_LRS", targetRegions: [ { name: "West US", regionalReplicaCount: 1, - storageAccountType: "Standard_LRS" - } - ] - } - } + storageAccountType: "Standard_LRS", + }, + ], + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -61,10 +61,10 @@ async function updateASimpleGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts index b2f818529407..652e12986363 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -33,10 +33,10 @@ async function createOrUpdateASimpleGalleryApplication() { eula: "This is the gallery application EULA.", privacyStatementUri: "myPrivacyStatementUri}", releaseNoteUri: "myReleaseNoteUri", - supportedOSType: "Windows" - } + supportedOSType: "Windows", + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -44,10 +44,10 @@ async function createOrUpdateASimpleGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts index d3915ccbd280..5eab563c02f8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function deleteAGalleryApplication() { const galleryName = "myGalleryName"; const galleryApplicationName = "myGalleryApplicationName"; const options: GalleryApplicationsDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function deleteAGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts index a78c6165b6b8..f8baa5e9dc01 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - GalleryApplicationsGetParameters + GalleryApplicationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getAGalleryApplication() { const galleryName = "myGalleryName"; const galleryApplicationName = "myGalleryApplicationName"; const options: GalleryApplicationsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getAGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts index 29ff6af14a44..75d1174452d2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationsListByGalleryParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listGalleryApplicationsInAGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleryApplicationsListByGalleryParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts index c3e921fe78df..0c33bf09eb20 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -32,10 +32,10 @@ async function updateASimpleGalleryApplication() { eula: "This is the gallery application EULA.", privacyStatementUri: "myPrivacyStatementUri}", releaseNoteUri: "myReleaseNoteUri", - supportedOSType: "Windows" - } + supportedOSType: "Windows", + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -43,10 +43,10 @@ async function updateASimpleGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts index 9fdb0f439483..2c803719ca5e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImageVersionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -39,20 +39,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 2 + regionalReplicaCount: 2, }, { name: "East US", @@ -61,33 +61,32 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -96,10 +95,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -132,20 +131,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -154,33 +153,32 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -189,17 +187,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -227,15 +223,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -244,18 +240,18 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { dataDiskImages: [ @@ -263,22 +259,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho hostCaching: "None", lun: 1, source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}", + }, + }, ], osDiskImage: { hostCaching: "ReadOnly", source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - } - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -287,17 +281,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapshotsAsASource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapshotsAsASource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -318,17 +310,16 @@ async function createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMo properties: { publishingProfile: { replicationMode: "Shallow", - targetRegions: [{ name: "West US", regionalReplicaCount: 1 }] + targetRegions: [{ name: "West US", regionalReplicaCount: 1 }], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -337,17 +328,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMo resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMode().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMode().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -375,20 +364,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -397,33 +386,32 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -432,17 +420,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -470,15 +456,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -487,18 +473,18 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { dataDiskImages: [ @@ -506,22 +492,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() hostCaching: "None", lun: 1, source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}", + }, + }, ], osDiskImage: { hostCaching: "ReadOnly", source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - } - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -530,17 +514,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -568,22 +550,22 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { dataDiskImages: [ @@ -591,26 +573,22 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { hostCaching: "None", lun: 1, source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - uri: - "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", + uri: "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd", + }, + }, ], osDiskImage: { hostCaching: "ReadOnly", source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - uri: - "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - } - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", + uri: "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -619,17 +597,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -657,20 +633,20 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -679,33 +655,32 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -714,14 +689,12 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocationsSpecified().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocationsSpecified().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts index 99b4f69b21b6..3ebb631ca8e8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImageVersionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,7 +27,7 @@ async function deleteAGalleryImageVersion() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "1.0.0"; const options: GalleryImageVersionsDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -36,10 +36,10 @@ async function deleteAGalleryImageVersion() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts index 0dadb769fd70..c0dd98b652ef 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - GalleryImageVersionsGetParameters + GalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,8 +28,8 @@ async function getAGalleryImageVersionWithReplicationStatus() { const options: GalleryImageVersionsGetParameters = { queryParameters: { $expand: "ReplicationStatus", - "api-version": "2022-01-03" - } + "api-version": "2022-01-03", + }, }; const result = await client .path( @@ -38,7 +38,7 @@ async function getAGalleryImageVersionWithReplicationStatus() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -60,7 +60,7 @@ async function getAGalleryImageVersionWithSnapshotsAsASource() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "1.0.0"; const options: GalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -69,7 +69,7 @@ async function getAGalleryImageVersionWithSnapshotsAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -91,7 +91,7 @@ async function getAGalleryImageVersionWithVhdAsASource() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "1.0.0"; const options: GalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -100,7 +100,7 @@ async function getAGalleryImageVersionWithVhdAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -122,7 +122,7 @@ async function getAGalleryImageVersion() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "1.0.0"; const options: GalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -131,7 +131,7 @@ async function getAGalleryImageVersion() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts index 88a277c928bf..03e6c665d070 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImageVersionsListByGalleryImageParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function listGalleryImageVersionsInAGalleryImageDefinition() { const galleryName = "myGalleryName"; const galleryImageName = "myGalleryImageName"; const options: GalleryImageVersionsListByGalleryImageParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listGalleryImageVersionsInAGalleryImageDefinition() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts index e337a91f63f9..8d573768eb33 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImageVersionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -35,19 +35,18 @@ async function updateASimpleGalleryImageVersionManagedImageAsSource() { { name: "East US", regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -56,10 +55,10 @@ async function updateASimpleGalleryImageVersionManagedImageAsSource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -88,14 +87,14 @@ async function updateASimpleGalleryImageVersionWithoutSourceId() { { name: "East US", regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, - storageProfile: {} - } + storageProfile: {}, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -104,10 +103,10 @@ async function updateASimpleGalleryImageVersionWithoutSourceId() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts index e6dcf161fda1..8a3c6b242264 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -33,13 +33,13 @@ async function createOrUpdateASimpleGalleryImage() { identifier: { offer: "myOfferName", publisher: "myPublisherName", - sku: "mySkuName" + sku: "mySkuName", }, osState: "Generalized", - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -47,10 +47,10 @@ async function createOrUpdateASimpleGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts index 798e4a8644c6..6a058d12d554 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function deleteAGalleryImage() { const galleryName = "myGalleryName"; const galleryImageName = "myGalleryImageName"; const options: GalleryImagesDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function deleteAGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts index 613a74d53539..739e64a8e952 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - GalleryImagesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { GalleryImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +23,7 @@ async function getAGalleryImage() { const galleryName = "myGalleryName"; const galleryImageName = "myGalleryImageName"; const options: GalleryImagesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getAGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts index f2ba9931f580..2da771ad04b2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesListByGalleryParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listGalleryImagesInAGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleryImagesListByGalleryParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts index 574f68d8a2ca..5227cb70cecb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -32,13 +32,13 @@ async function updateASimpleGalleryImage() { identifier: { offer: "myOfferName", publisher: "myPublisherName", - sku: "mySkuName" + sku: "mySkuName", }, osState: "Generalized", - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -46,10 +46,10 @@ async function updateASimpleGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts index 2be6e9e34fc5..84f31a93e143 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GallerySharingProfileUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,26 +29,23 @@ async function addSharingIdToTheSharingProfileOfAGallery() { groups: [ { type: "Subscriptions", - ids: [ - "34a4ab42-0d72-47d9-bd1a-aed207386dac", - "380fd389-260b-41aa-bad9-0a83108c370b" - ] + ids: ["34a4ab42-0d72-47d9-bd1a-aed207386dac", "380fd389-260b-41aa-bad9-0a83108c370b"], }, - { type: "AADTenants", ids: ["c24c76aa-8897-4027-9b03-8f7928b54ff6"] } + { type: "AADTenants", ids: ["c24c76aa-8897-4027-9b03-8f7928b54ff6"] }, ], - operationType: "Add" + operationType: "Add", }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,17 +65,17 @@ async function resetSharingProfileOfAGallery() { const galleryName = "myGalleryName"; const options: GallerySharingProfileUpdateParameters = { body: { operationType: "Reset" }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -98,17 +95,17 @@ async function shareAGalleryToCommunity() { const galleryName = "myGalleryName"; const options: GallerySharingProfileUpdateParameters = { body: { operationType: "EnableCommunity" }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts index 1b0287d8e5bd..d5234762d980 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,36 +30,32 @@ async function createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource( properties: { storageProfile: { osDisk: { - blobUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + blobUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, osState: "Generalized", - osType: "Linux" - } - } - } + osType: "Linux", + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource().catch( - console.error -); +createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource().catch(console.error); /** * This sample demonstrates how to Create or update an image. * @@ -78,26 +74,25 @@ async function createAVirtualMachineImageFromABlob() { properties: { storageProfile: { osDisk: { - blobUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + blobUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", osState: "Generalized", - osType: "Linux" + osType: "Linux", }, - zoneResilient: true - } - } + zoneResilient: true, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -122,37 +117,33 @@ async function createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetRe storageProfile: { osDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, osState: "Generalized", osType: "Linux", snapshot: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } - } - } - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetResource().catch( - console.error -); +createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetResource().catch(console.error); /** * This sample demonstrates how to Create or update an image. * @@ -172,27 +163,26 @@ async function createAVirtualMachineImageFromAManagedDisk() { storageProfile: { osDisk: { managedDisk: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk", }, osState: "Generalized", - osType: "Linux" + osType: "Linux", }, - zoneResilient: true - } - } + zoneResilient: true, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -217,37 +207,33 @@ async function createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResou storageProfile: { osDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, managedDisk: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk", }, osState: "Generalized", - osType: "Linux" - } - } - } + osType: "Linux", + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResource().catch( - console.error -); +createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResource().catch(console.error); /** * This sample demonstrates how to Create or update an image. * @@ -269,25 +255,24 @@ async function createAVirtualMachineImageFromASnapshot() { osState: "Generalized", osType: "Linux", snapshot: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, }, - zoneResilient: false - } - } + zoneResilient: false, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -310,22 +295,21 @@ async function createAVirtualMachineImageFromAnExistingVirtualMachine() { location: "West US", properties: { sourceVirtualMachine: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -350,32 +334,30 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromABlob() { storageProfile: { dataDisks: [ { - blobUri: - "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd", - lun: 1 - } + blobUri: "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd", + lun: 1, + }, ], osDisk: { - blobUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + blobUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", osState: "Generalized", - osType: "Linux" + osType: "Linux", }, - zoneResilient: false - } - } + zoneResilient: false, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -402,41 +384,37 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk() { lun: 1, managedDisk: { - id: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2" - } - } + id: "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2", + }, + }, ], osDisk: { managedDisk: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk", }, osState: "Generalized", - osType: "Linux" + osType: "Linux", }, - zoneResilient: false - } - } + zoneResilient: false, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk().catch( - console.error -); +createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk().catch(console.error); /** * This sample demonstrates how to Create or update an image. * @@ -458,38 +436,34 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromASnapshot() { { lun: 1, snapshot: { - id: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2" - } - } + id: "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2", + }, + }, ], osDisk: { osState: "Generalized", osType: "Linux", snapshot: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, }, - zoneResilient: true - } - } + zoneResilient: true, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageThatIncludesADataDiskFromASnapshot().catch( - console.error -); +createAVirtualMachineImageThatIncludesADataDiskFromASnapshot().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts index 7feefc8cee22..bb12c58df393 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function imagesDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const imageName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: ImagesDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function imagesDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const imageName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: ImagesDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts index aaf06e17ce65..3f3b16c6e9c5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - ImagesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { ImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +22,14 @@ async function getInformationAboutAVirtualMachineImage() { const resourceGroupName = "myResourceGroup"; const imageName = "myImage"; const options: ImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts index 9a3f37dab0c2..5055cc811370 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listAllVirtualMachineImagesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: ImagesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts index 5d7237dcff3c..b2d9df169af6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,13 +23,10 @@ async function listAllVirtualMachineImagesInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: ImagesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts index 4d001dcbeae6..a969d4be0be5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,23 +29,22 @@ async function updatesTagsOfAnImage() { properties: { hyperVGeneration: "V1", sourceVirtualMachine: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + }, }, - tags: { department: "HR" } + tags: { department: "HR" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts index 85dc95d0a592..7b5a6488ea77 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { LogAnalyticsExportRequestRateByIntervalParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,22 +29,22 @@ async function exportLogsWhichContainAllApiRequestsMadeToComputeResourceProvider fromTime: new Date("2018-01-21T01:54:06.862601Z"), groupByResourceName: true, intervalLength: "FiveMins", - toTime: new Date("2018-01-23T01:54:06.862601Z") + toTime: new Date("2018-01-23T01:54:06.862601Z"), }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval", subscriptionId, - location + location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } exportLogsWhichContainAllApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriodBrokenDownByIntervals().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts index 501155da8dad..f3b7177e3c8a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { LogAnalyticsExportThrottledRequestsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -31,22 +31,22 @@ async function exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourc groupByOperationName: true, groupByResourceName: false, groupByUserAgent: false, - toTime: new Date("2018-01-23T01:54:06.862601Z") + toTime: new Date("2018-01-23T01:54:06.862601Z"), }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests", subscriptionId, - location + location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriod().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts index 635c70cd3e2e..5f12e45ac6f4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts @@ -5,9 +5,9 @@ // Licensed under the MIT License. import createComputeManagementClient, { OperationsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; -import { DefaultAzureCredential } from "@azure/identity" +import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; dotenv.config(); @@ -22,11 +22,9 @@ async function operationsListMaximumSetGen() { const credential = new DefaultAzureCredential(); const client = createComputeManagementClient(credential); const options: OperationsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; - const initialResponse = await client - .path("/providers/Microsoft.Compute/operations") - .get(options); + const initialResponse = await client.path("/providers/Microsoft.Compute/operations").get(options); const pageData = paginate(client, initialResponse); const result = []; for await (const item of pageData) { @@ -46,11 +44,9 @@ async function operationsListMinimumSetGen() { const credential = new DefaultAzureCredential(); const client = createComputeManagementClient(credential); const options: OperationsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; - const initialResponse = await client - .path("/providers/Microsoft.Compute/operations") - .get(options); + const initialResponse = await client.path("/providers/Microsoft.Compute/operations").get(options); const pageData = paginate(client, initialResponse); const result = []; for await (const item of pageData) { diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts index 3c50ea33521f..975b51487505 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - ProximityPlacementGroupsCreateOrUpdateParameters + ProximityPlacementGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,18 +28,18 @@ async function createOrUpdateAProximityPlacementGroup() { location: "westus", properties: { intent: { vmSizes: ["Basic_A0", "Basic_A2"] }, - proximityPlacementGroupType: "Standard" + proximityPlacementGroupType: "Standard", }, - zones: ["1"] + zones: ["1"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts index 4df0fcb21ac9..658f54035aa2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - ProximityPlacementGroupsDeleteParameters + ProximityPlacementGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function createAProximityPlacementGroup() { const resourceGroupName = "myResourceGroup"; const proximityPlacementGroupName = "myProximityPlacementGroup"; const options: ProximityPlacementGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts index f4cae2e33c82..ede122640e35 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - ProximityPlacementGroupsGetParameters + ProximityPlacementGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function createAProximityPlacementGroup() { const resourceGroupName = "myResourceGroup"; const proximityPlacementGroupName = "myProximityPlacementGroup"; const options: ProximityPlacementGroupsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts index 802eed9c5f4d..2ac6f9c6d21f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ProximityPlacementGroupsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function createAProximityPlacementGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: ProximityPlacementGroupsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts index 392f66226ec5..978d5fd91c1f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ProximityPlacementGroupsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,12 +23,12 @@ async function createAProximityPlacementGroup() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: ProximityPlacementGroupsListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts index db72d56f61bf..884fcb99e724 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - ProximityPlacementGroupsUpdateParameters + ProximityPlacementGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function createAProximityPlacementGroup() { const proximityPlacementGroupName = "myProximityPlacementGroup"; const options: ProximityPlacementGroupsUpdateParameters = { body: { tags: { additionalProp1: "string" } }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts index 9e05de25d59e..b5f036ebecd3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ResourceSkusListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,13 +23,10 @@ async function listsAllAvailableResourceSkUs() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: ResourceSkusListParameters = { - queryParameters: { "api-version": "2021-07-01" } + queryParameters: { "api-version": "2021-07-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; @@ -53,14 +50,11 @@ async function listsAllAvailableResourceSkUsForTheSpecifiedRegion() { const options: ResourceSkusListParameters = { queryParameters: { "api-version": "2021-07-01", - $filter: "location eq 'westus'" - } + $filter: "location eq 'westus'", + }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; @@ -84,14 +78,11 @@ async function listsAllAvailableResourceSkUsWithExtendedLocationInformation() { const options: ResourceSkusListParameters = { queryParameters: { "api-version": "2021-07-01", - includeExtendedLocations: "true" - } + includeExtendedLocations: "true", + }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; @@ -101,6 +92,4 @@ async function listsAllAvailableResourceSkUsWithExtendedLocationInformation() { console.log(result); } -listsAllAvailableResourceSkUsWithExtendedLocationInformation().catch( - console.error -); +listsAllAvailableResourceSkUsWithExtendedLocationInformation().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts index e8f59f4d9ffb..5d72ff7f9f07 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - RestorePointCollectionsCreateOrUpdateParameters + RestorePointCollectionsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,20 +28,19 @@ async function createOrUpdateARestorePointCollectionForCrossRegionCopy() { location: "norwayeast", properties: { source: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/sourceRpcName" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/sourceRpcName", + }, }, - tags: { myTag1: "tagValue1" } + tags: { myTag1: "tagValue1" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .put(options); console.log(result); @@ -65,20 +64,19 @@ async function createOrUpdateARestorePointCollection() { location: "norwayeast", properties: { source: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + }, }, - tags: { myTag1: "tagValue1" } + tags: { myTag1: "tagValue1" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts index 84a104657a9d..286536adf60f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointCollectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function restorePointCollectionsDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const restorePointCollectionName = "aaaaaaaaaaaaaaaaa"; const options: RestorePointCollectionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function restorePointCollectionsDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const restorePointCollectionName = "aaaaaaaaaaaaaaaaaaaa"; const options: RestorePointCollectionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts index 45bc47689bae..5012c2a93641 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - RestorePointCollectionsGetParameters + RestorePointCollectionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,21 +24,21 @@ async function getARestorePointCollectionButNotTheRestorePointsContainedInTheRes const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "myRpc"; const options: RestorePointCollectionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .get(options); console.log(result); } getARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to get the restore point collection. @@ -53,19 +53,19 @@ async function getARestorePointCollectionIncludingTheRestorePointsContainedInThe const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpcName"; const options: RestorePointCollectionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .get(options); console.log(result); } getARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts index bea6ce6781b6..ceefafbe59a5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointCollectionsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,12 +23,12 @@ async function getsTheListOfRestorePointCollectionsInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: RestorePointCollectionsListAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts index cd10fa2b8f26..6c7b3788a546 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointCollectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function getsTheListOfRestorePointCollectionsInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: RestorePointCollectionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts index 9384f1eca45f..ea666164481e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - RestorePointCollectionsUpdateParameters + RestorePointCollectionsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,20 +27,19 @@ async function restorePointCollectionsUpdateMaximumSetGen() { body: { properties: { source: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + }, }, - tags: { key8536: "aaaaaaaaaaaaaaaaaaa" } + tags: { key8536: "aaaaaaaaaaaaaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .patch(options); console.log(result); @@ -61,14 +60,14 @@ async function restorePointCollectionsUpdateMinimumSetGen() { const restorePointCollectionName = "aaaaaaaaaaaaaaaaaa"; const options: RestorePointCollectionsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts index 5d32151e31cd..ace5b267068b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointsCreateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,12 +29,11 @@ async function copyARestorePointToADifferentRegion() { body: { properties: { sourceRestorePoint: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/sourceRpcName/restorePoints/sourceRpName" - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/sourceRpcName/restorePoints/sourceRpName", + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -42,10 +41,10 @@ async function copyARestorePointToADifferentRegion() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -69,13 +68,12 @@ async function createARestorePoint() { properties: { excludeDisks: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123" - } - ] - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123", + }, + ], + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -83,10 +81,10 @@ async function createARestorePoint() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts index a250c2230e18..833ac47221e0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function restorePointsDeleteMaximumSetGen() { const restorePointCollectionName = "aaaaaaaaaaaaaaaaaaaaaa"; const restorePointName = "a"; const options: RestorePointsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function restorePointsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function restorePointsDeleteMinimumSetGen() { const restorePointCollectionName = "aaaaaaaaaaaaaaaaa"; const restorePointName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: RestorePointsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function restorePointsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts index 1e990d14d523..5b419b5d265d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - RestorePointsGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { RestorePointsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +23,7 @@ async function getARestorePoint() { const restorePointCollectionName = "rpcName"; const restorePointName = "rpName"; const options: RestorePointsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getARestorePoint() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .get(options); console.log(result); @@ -54,7 +52,7 @@ async function getRestorePointWithInstanceView() { const restorePointCollectionName = "rpcName"; const restorePointName = "rpName"; const options: RestorePointsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +60,7 @@ async function getRestorePointWithInstanceView() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts index c18741400a0a..ab40ababb9ca 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SharedGalleriesGetParameters + SharedGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getASharedGallery() { const location = "myLocation"; const galleryUniqueName = "galleryUniqueName"; const options: SharedGalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}", subscriptionId, location, - galleryUniqueName + galleryUniqueName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts index 7bf41936ce58..fb21f60b0995 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SharedGalleriesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listSharedGalleries() { const subscriptionId = ""; const location = "myLocation"; const options: SharedGalleriesListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts index fb9ed6e1a0c1..83f149946b6d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SharedGalleryImageVersionsGetParameters + SharedGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function getASharedGalleryImageVersion() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "myGalleryImageVersionName"; const options: SharedGalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -35,7 +35,7 @@ async function getASharedGalleryImageVersion() { location, galleryUniqueName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts index a1b51c01216c..ffd860eaad8f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SharedGalleryImageVersionsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function listSharedGalleryImageVersions() { const galleryUniqueName = "galleryUniqueName"; const galleryImageName = "myGalleryImageName"; const options: SharedGalleryImageVersionsListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listSharedGalleryImageVersions() { subscriptionId, location, galleryUniqueName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts index 07c4db370ba3..ce191cd07a5f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SharedGalleryImagesGetParameters + SharedGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getASharedGalleryImage() { const galleryUniqueName = "galleryUniqueName"; const galleryImageName = "myGalleryImageName"; const options: SharedGalleryImagesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getASharedGalleryImage() { subscriptionId, location, galleryUniqueName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts index 5a5d6a29bda3..550d47bcf487 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SharedGalleryImagesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listSharedGalleryImages() { const location = "myLocation"; const galleryUniqueName = "galleryUniqueName"; const options: SharedGalleryImagesListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images", subscriptionId, location, - galleryUniqueName + galleryUniqueName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts index e96e63d0868b..e7fc6a5b2ae4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,31 +30,28 @@ async function createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscripti properties: { creationData: { createOption: "Import", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", storageAccountId: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount" - } - } + "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription().catch( - console.error -); +createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a snapshot. * @@ -73,29 +70,26 @@ async function createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription( properties: { creationData: { createOption: "Import", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd" - } - } + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription().catch( - console.error -); +createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a snapshot. * @@ -115,27 +109,27 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri creationData: { createOption: "CopyStart", sourceResourceId: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1" - } - } + "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscriptionInADifferentRegion().catch( - console.error + console.error, ); /** * This sample demonstrates how to Creates or updates a snapshot. @@ -156,25 +150,23 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri creationData: { createOption: "Copy", sourceResourceId: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1" - } - } + "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscription().catch( - console.error -); +createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscription().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts index bf7db55a1433..82f0a13e8f16 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function deleteASnapshot() { const resourceGroupName = "myResourceGroup"; const snapshotName = "mySnapshot"; const options: SnapshotsDeleteParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts index 5d47821d87f1..1a1f15cb15f6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - SnapshotsGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { SnapshotsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +22,14 @@ async function getInformationAboutASnapshot() { const resourceGroupName = "myResourceGroup"; const snapshotName = "mySnapshot"; const options: SnapshotsGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function getInformationAboutAnIncrementalSnapshot() { const resourceGroupName = "myResourceGroup"; const snapshotName = "myIncrementalSnapshot"; const options: SnapshotsGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts index 3c17e4499a64..948a9289367b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsGrantAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function getASasOnASnapshot() { const snapshotName = "mySnapshot"; const options: SnapshotsGrantAccessParameters = { body: { access: "Read", durationInSeconds: 300 }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts index 8eb58e41bd1f..3362638df750 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listAllSnapshotsInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: SnapshotsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts index 382be48952fb..c8ab6fcbaac1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,13 +23,10 @@ async function listAllSnapshotsInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: SnapshotsListParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts index 6a0e2010167c..3b57b8b07340 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsRevokeAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function revokeAccessToASnapshot() { const resourceGroupName = "myResourceGroup"; const snapshotName = "mySnapshot"; const options: SnapshotsRevokeAccessParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts index a702f689d3ae..3762eb1c04e7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,21 +28,21 @@ async function updateASnapshotWithAcceleratedNetworking() { body: { properties: { diskSizeGB: 20, - supportedCapabilities: { acceleratedNetwork: false } + supportedCapabilities: { acceleratedNetwork: false }, }, - tags: { department: "Development", project: "UpdateSnapshots" } + tags: { department: "Development", project: "UpdateSnapshots" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -63,19 +63,19 @@ async function updateASnapshot() { const options: SnapshotsUpdateParameters = { body: { properties: { diskSizeGB: 20 }, - tags: { department: "Development", project: "UpdateSnapshots" } + tags: { department: "Development", project: "UpdateSnapshots" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts index 9f00219c7a54..4154b5cbff40 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SshPublicKeysCreateParameters + SshPublicKeysCreateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,16 +26,16 @@ async function createANewSshPublicKeyResource() { const options: SshPublicKeysCreateParameters = { body: { location: "westus", - properties: { publicKey: "{ssh-rsa public key}" } + properties: { publicKey: "{ssh-rsa public key}" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts index 34f4a8178de6..e2902cf7671a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SshPublicKeysDeleteParameters + SshPublicKeysDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function sshPublicKeysDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const sshPublicKeyName = "aaaaaaaaaa"; const options: SshPublicKeysDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .delete(options); console.log(result); @@ -51,14 +51,14 @@ async function sshPublicKeysDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const sshPublicKeyName = "aaaaaaaaaaaaaaaaaaa"; const options: SshPublicKeysDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts index 5d0e3eee2e6d..403501ea4305 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SshPublicKeysGenerateKeyPairParameters + SshPublicKeysGenerateKeyPairParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function generateAnSshKeyPair() { const resourceGroupName = "myResourceGroup"; const sshPublicKeyName = "mySshPublicKeyName"; const options: SshPublicKeysGenerateKeyPairParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}/generateKeyPair", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts index 06308cc92020..bfad167b4b1e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - SshPublicKeysGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { SshPublicKeysGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +22,14 @@ async function getAnSshPublicKey() { const resourceGroupName = "myResourceGroup"; const sshPublicKeyName = "mySshPublicKeyName"; const options: SshPublicKeysGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts index 82848d8f9d51..1b3b1ad388fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SshPublicKeysListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function sshPublicKeysListByResourceGroupMaximumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: SshPublicKeysListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +54,13 @@ async function sshPublicKeysListByResourceGroupMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: SshPublicKeysListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts index ec386d77fa05..be2ffa53eeb6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SshPublicKeysListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,12 +23,12 @@ async function sshPublicKeysListBySubscriptionMaximumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: SshPublicKeysListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -51,12 +51,12 @@ async function sshPublicKeysListBySubscriptionMinimumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: SshPublicKeysListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts index e1e3b83d1660..ffa597095874 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SshPublicKeysUpdateParameters + SshPublicKeysUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,16 +26,16 @@ async function sshPublicKeysUpdateMaximumSetGen() { const options: SshPublicKeysUpdateParameters = { body: { properties: { publicKey: "{ssh-rsa public key}" }, - tags: { key2854: "a" } + tags: { key2854: "a" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .patch(options); console.log(result); @@ -56,14 +56,14 @@ async function sshPublicKeysUpdateMinimumSetGen() { const sshPublicKeyName = "aaaaaaaaaaa"; const options: SshPublicKeysUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts index 04f9e7161e17..ebae19a56925 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { UsageListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function usageListMaximumSetGen() { const subscriptionId = ""; const location = "4_."; const options: UsageListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +54,13 @@ async function usageListMinimumSetGen() { const subscriptionId = ""; const location = "_--"; const options: UsageListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts index 4d1dd2ff2fb8..3f6951c90c0f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionImagesGetParameters + VirtualMachineExtensionImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineExtensionImagesGetMaximumSetGen() { const type = "aaaaaaaaaaaaaaaaaa"; const version = "aaaaaaaaaaaaaa"; const options: VirtualMachineExtensionImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -35,7 +35,7 @@ async function virtualMachineExtensionImagesGetMaximumSetGen() { location, publisherName, type, - version + version, ) .get(options); console.log(result); @@ -57,7 +57,7 @@ async function virtualMachineExtensionImagesGetMinimumSetGen() { const type = "aa"; const version = "aaa"; const options: VirtualMachineExtensionImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -66,7 +66,7 @@ async function virtualMachineExtensionImagesGetMinimumSetGen() { location, publisherName, type, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts index db0c83671b3c..9697cdec4121 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionImagesListTypesParameters + VirtualMachineExtensionImagesListTypesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function virtualMachineExtensionImagesListTypesMaximumSetGen() { const location = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionImagesListTypesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); @@ -51,14 +51,14 @@ async function virtualMachineExtensionImagesListTypesMinimumSetGen() { const location = "aaaa"; const publisherName = "aa"; const options: VirtualMachineExtensionImagesListTypesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts index 01a685742cee..6c89cca40c00 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionImagesListVersionsParameters + VirtualMachineExtensionImagesListVersionsParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,8 +29,8 @@ async function virtualMachineExtensionImagesListVersionsMaximumSetGen() { $filter: "aaaaaaaaaaaaaaaaaaaaaaaaa", $top: 22, $orderby: "a", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( @@ -38,7 +38,7 @@ async function virtualMachineExtensionImagesListVersionsMaximumSetGen() { subscriptionId, location, publisherName, - type + type, ) .get(options); console.log(result); @@ -59,7 +59,7 @@ async function virtualMachineExtensionImagesListVersionsMinimumSetGen() { const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const type = "aaaa"; const options: VirtualMachineExtensionImagesListVersionsParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -67,7 +67,7 @@ async function virtualMachineExtensionImagesListVersionsMinimumSetGen() { subscriptionId, location, publisherName, - type + type, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts index 4b813914100a..813550aae7e1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineExtensionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -42,8 +42,8 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], substatuses: [ { @@ -51,20 +51,20 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa" + typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa", }, protectedSettings: {}, publisher: "extPublisher", settings: {}, suppressFailures: true, - typeHandlerVersion: "1.2" + typeHandlerVersion: "1.2", }, - tags: { key9183: "aa" } + tags: { key9183: "aa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -72,10 +72,10 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -96,7 +96,7 @@ async function virtualMachineExtensionsCreateOrUpdateMinimumSetGen() { const vmExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionsCreateOrUpdateParameters = { body: { location: "westus" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -104,10 +104,10 @@ async function virtualMachineExtensionsCreateOrUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts index 8f2c3e04ea19..d27c182dceb8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineExtensionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineExtensionsDeleteMaximumSetGen() { const vmName = "aaaaaaaaaaaaa"; const vmExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineExtensionsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineExtensionsDeleteMinimumSetGen() { const vmName = "aaaaaaaaaaaaaaaaaaaaaaaaa"; const vmExtensionName = "aa"; const options: VirtualMachineExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineExtensionsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts index 4021ac45f0d9..b753aca29f74 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionsGetParameters + VirtualMachineExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function virtualMachineExtensionsGetMaximumSetGen() { const vmName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const vmExtensionName = "aaaaaaa"; const options: VirtualMachineExtensionsGetParameters = { - queryParameters: { $expand: "aaaaaa", "api-version": "2022-08-01" } + queryParameters: { $expand: "aaaaaa", "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function virtualMachineExtensionsGetMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineExtensionsGetMinimumSetGen() { const vmName = "a"; const vmExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +62,7 @@ async function virtualMachineExtensionsGetMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts index 3b06ef4d32c8..574cb08f7240 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionsListParameters + VirtualMachineExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,15 +26,15 @@ async function virtualMachineExtensionsListMaximumSetGen() { const options: VirtualMachineExtensionsListParameters = { queryParameters: { $expand: "aaaaaaaaaaaaaaaaa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -54,14 +54,14 @@ async function virtualMachineExtensionsListMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts index 4feb9daf4313..a9dc31267814 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineExtensionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -34,17 +34,16 @@ async function updateVMExtension() { secretUrl: "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e", sourceVault: { - id: - "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName" - } + id: "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName", + }, }, publisher: "extPublisher", settings: { UserName: "xyz@microsoft.com" }, suppressFailures: true, - typeHandlerVersion: "1.2" - } + typeHandlerVersion: "1.2", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -52,10 +51,10 @@ async function updateVMExtension() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts index f937068c4971..45597194aada 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneGetParameters + VirtualMachineImagesEdgeZoneGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,7 +28,7 @@ async function virtualMachineImagesEdgeZoneGetMaximumSetGen() { const skus = "aaaaaaaaaa"; const version = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -39,7 +39,7 @@ async function virtualMachineImagesEdgeZoneGetMaximumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); @@ -63,7 +63,7 @@ async function virtualMachineImagesEdgeZoneGetMinimumSetGen() { const skus = "aaaaaaaaaaaaaaaaaa"; const version = "aa"; const options: VirtualMachineImagesEdgeZoneGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -74,7 +74,7 @@ async function virtualMachineImagesEdgeZoneGetMinimumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts index 6cf204e84bb7..9152b629595f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneListOffersParameters + VirtualMachineImagesEdgeZoneListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function virtualMachineImagesEdgeZoneListOffersMaximumSetGen() { const edgeZone = "aaaaaaaaaaaaaaaaaaa"; const publisherName = "aaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListOffersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function virtualMachineImagesEdgeZoneListOffersMaximumSetGen() { subscriptionId, location, edgeZone, - publisherName + publisherName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineImagesEdgeZoneListOffersMinimumSetGen() { const edgeZone = "aaaaaaaaaaaaaaaaaaaaa"; const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListOffersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +62,7 @@ async function virtualMachineImagesEdgeZoneListOffersMinimumSetGen() { subscriptionId, location, edgeZone, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts index c4a080d51743..14e7ec840ac7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneListPublishersParameters + VirtualMachineImagesEdgeZoneListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function virtualMachineImagesEdgeZoneListPublishersMaximumSetGen() { const location = "aaaaaa"; const edgeZone = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListPublishersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); @@ -51,14 +51,14 @@ async function virtualMachineImagesEdgeZoneListPublishersMinimumSetGen() { const location = "aaaa"; const edgeZone = "aaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListPublishersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts index 836decadcbc8..730ce983840c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneListParameters + VirtualMachineImagesEdgeZoneListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -31,8 +31,8 @@ async function virtualMachineImagesEdgeZoneListMaximumSetGen() { $expand: "aaaaaaaaaaaaaaaaaaaaaaaa", $top: 12, $orderby: "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( @@ -42,7 +42,7 @@ async function virtualMachineImagesEdgeZoneListMaximumSetGen() { edgeZone, publisherName, offer, - skus + skus, ) .get(options); console.log(result); @@ -65,7 +65,7 @@ async function virtualMachineImagesEdgeZoneListMinimumSetGen() { const offer = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const skus = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -75,7 +75,7 @@ async function virtualMachineImagesEdgeZoneListMinimumSetGen() { edgeZone, publisherName, offer, - skus + skus, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts index 40e30fabe4eb..95ba0b01be39 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneListSkusParameters + VirtualMachineImagesEdgeZoneListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineImagesEdgeZoneListSkusMaximumSetGen() { const publisherName = "aaaaaaaaaaaa"; const offer = "aaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -35,7 +35,7 @@ async function virtualMachineImagesEdgeZoneListSkusMaximumSetGen() { location, edgeZone, publisherName, - offer + offer, ) .get(options); console.log(result); @@ -57,7 +57,7 @@ async function virtualMachineImagesEdgeZoneListSkusMinimumSetGen() { const publisherName = "aaaaaaaaa"; const offer = "aaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -66,7 +66,7 @@ async function virtualMachineImagesEdgeZoneListSkusMinimumSetGen() { location, edgeZone, publisherName, - offer + offer, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts index ae7e21105063..5478231a176d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesGetParameters + VirtualMachineImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,7 +27,7 @@ async function virtualMachineImagesGetMaximumSetGen() { const skus = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const version = "aaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -37,7 +37,7 @@ async function virtualMachineImagesGetMaximumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); @@ -60,7 +60,7 @@ async function virtualMachineImagesGetMinimumSetGen() { const skus = "aaaaaaaaa"; const version = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -70,7 +70,7 @@ async function virtualMachineImagesGetMinimumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts index 1c030372ea93..03d5e7a0375e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListByEdgeZoneParameters + VirtualMachineImagesListByEdgeZoneParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function virtualMachineImagesEdgeZoneListByEdgeZoneMaximumSetGen() { const location = "WestUS"; const edgeZone = "microsoftlosangeles1"; const options: VirtualMachineImagesListByEdgeZoneParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); @@ -51,14 +51,14 @@ async function virtualMachineImagesEdgeZoneListByEdgeZoneMinimumSetGen() { const location = "WestUS"; const edgeZone = "microsoftlosangeles1"; const options: VirtualMachineImagesListByEdgeZoneParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts index 278067aa9626..6372cc6f6f16 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListOffersParameters + VirtualMachineImagesListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function virtualMachineImagesListOffersMaximumSetGen() { const location = "aaaaaaa"; const publisherName = "aaaaaaaa"; const options: VirtualMachineImagesListOffersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); @@ -51,14 +51,14 @@ async function virtualMachineImagesListOffersMinimumSetGen() { const location = "aaaaaaaaaaaaaaaaa"; const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesListOffersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts index b1dcf2774266..8462a86ade57 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListPublishersParameters + VirtualMachineImagesListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,13 +23,13 @@ async function virtualMachineImagesListPublishersMaximumSetGen() { const subscriptionId = ""; const location = "aaaaa"; const options: VirtualMachineImagesListPublishersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", subscriptionId, - location + location, ) .get(options); console.log(result); @@ -48,13 +48,13 @@ async function virtualMachineImagesListPublishersMinimumSetGen() { const subscriptionId = ""; const location = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesListPublishersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts index 482b142b1d3b..1411adab5f06 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListParameters + VirtualMachineImagesListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,8 +30,8 @@ async function virtualMachineImagesListMaximumSetGen() { $expand: "aaaaaaaaaaaaaaaaaaaaaaaa", $top: 18, $orderby: "aa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( @@ -40,7 +40,7 @@ async function virtualMachineImagesListMaximumSetGen() { location, publisherName, offer, - skus + skus, ) .get(options); console.log(result); @@ -62,7 +62,7 @@ async function virtualMachineImagesListMinimumSetGen() { const offer = "aaaaaaaaaa"; const skus = "aaaaaa"; const options: VirtualMachineImagesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -71,7 +71,7 @@ async function virtualMachineImagesListMinimumSetGen() { location, publisherName, offer, - skus + skus, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts index eb2c438f351a..70e74c708cbd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListSkusParameters + VirtualMachineImagesListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function virtualMachineImagesListSkusMaximumSetGen() { const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const offer = "aaaaaaa"; const options: VirtualMachineImagesListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function virtualMachineImagesListSkusMaximumSetGen() { subscriptionId, location, publisherName, - offer + offer, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineImagesListSkusMinimumSetGen() { const publisherName = "aaaaaaaaaaaaa"; const offer = "aaaaaaa"; const options: VirtualMachineImagesListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +62,7 @@ async function virtualMachineImagesListSkusMinimumSetGen() { subscriptionId, location, publisherName, - offer + offer, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts index 04734361f412..42d46fae10a8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -32,15 +32,15 @@ async function createOrUpdateARunCommand() { asyncExecution: false, parameters: [ { name: "param1", value: "value1" }, - { name: "param2", value: "value2" } + { name: "param2", value: "value2" }, ], runAsPassword: "", runAsUser: "user1", source: { script: "Write-Host Hello World!" }, - timeoutInSeconds: 3600 - } + timeoutInSeconds: 3600, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -48,10 +48,10 @@ async function createOrUpdateARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts index a6d79113a377..3b1d24061b58 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function deleteARunCommand() { const vmName = "myVM"; const runCommandName = "myRunCommand"; const options: VirtualMachineRunCommandsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function deleteARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts index e7fc95d07eac..a4a30135ce1e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineRunCommandsGetByVirtualMachineParameters + VirtualMachineRunCommandsGetByVirtualMachineParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getARunCommand() { const vmName = "myVM"; const runCommandName = "myRunCommand"; const options: VirtualMachineRunCommandsGetByVirtualMachineParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts index 24b29c10ac09..293557d63351 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineRunCommandsGetParameters + VirtualMachineRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function virtualMachineRunCommandGet() { const location = "SoutheastAsia"; const commandId = "RunPowerShellScript"; const options: VirtualMachineRunCommandsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}", subscriptionId, location, - commandId + commandId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts index ab348940e7c1..a3b30b73ef1e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsListByVirtualMachineParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listRunCommandsInAVirtualMachine() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachineRunCommandsListByVirtualMachineParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts index 071f6db76dce..465383be0997 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function virtualMachineRunCommandList() { const subscriptionId = ""; const location = "SoutheastAsia"; const options: VirtualMachineRunCommandsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts index 0241086f2402..289575790329 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,9 +27,9 @@ async function updateARunCommand() { const runCommandName = "myRunCommand"; const options: VirtualMachineRunCommandsUpdateParameters = { body: { - properties: { source: { script: "Write-Host Script Source Updated!" } } + properties: { source: { script: "Write-Host Script Source Updated!" } }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -37,10 +37,10 @@ async function updateARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts index ae9c6f3cf58e..5ac5eeb2bdbb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetExtensionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -38,10 +38,10 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen() { publisher: "{extension-Publisher}", settings: {}, suppressFailures: true, - typeHandlerVersion: "{handler-version}" - } + typeHandlerVersion: "{handler-version}", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -49,17 +49,15 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen().catch(console.error); /** * This sample demonstrates how to The operation to create or update an extension. * @@ -75,7 +73,7 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen() { const vmssExtensionName = "aaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsCreateOrUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -83,14 +81,12 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts index 0b294375038a..4d093bea280d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetExtensionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineScaleSetExtensionsDeleteMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const vmssExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineScaleSetExtensionsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineScaleSetExtensionsDeleteMinimumSetGen() { const vmScaleSetName = "aaaa"; const vmssExtensionName = "aaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineScaleSetExtensionsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts index 0f75927626e8..58cd3123342c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetExtensionsGetParameters + VirtualMachineScaleSetExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function virtualMachineScaleSetExtensionsGetMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const vmssExtensionName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsGetParameters = { - queryParameters: { $expand: "aaaaaaa", "api-version": "2022-08-01" } + queryParameters: { $expand: "aaaaaaa", "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function virtualMachineScaleSetExtensionsGetMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineScaleSetExtensionsGetMinimumSetGen() { const vmScaleSetName = "a"; const vmssExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +62,7 @@ async function virtualMachineScaleSetExtensionsGetMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts index 488c93916194..e33d15ddffac 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetExtensionsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function virtualMachineScaleSetExtensionsListMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +57,14 @@ async function virtualMachineScaleSetExtensionsListMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts index c75869a8e7e9..2e9c8edf1d81 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetExtensionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -37,10 +37,10 @@ async function virtualMachineScaleSetExtensionsUpdateMaximumSetGen() { publisher: "{extension-Publisher}", settings: {}, suppressFailures: true, - typeHandlerVersion: "{handler-version}" - } + typeHandlerVersion: "{handler-version}", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -48,10 +48,10 @@ async function virtualMachineScaleSetExtensionsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -72,7 +72,7 @@ async function virtualMachineScaleSetExtensionsUpdateMinimumSetGen() { const vmssExtensionName = "aa"; const options: VirtualMachineScaleSetExtensionsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -80,10 +80,10 @@ async function virtualMachineScaleSetExtensionsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts index 60373804d70e..24ccea83d07c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesCancelParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function virtualMachineScaleSetRollingUpgradesCancelMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaa"; const options: VirtualMachineScaleSetRollingUpgradesCancelParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function virtualMachineScaleSetRollingUpgradesCancelMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaa"; const options: VirtualMachineScaleSetRollingUpgradesCancelParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts index 7b00126e2ed9..9235ffa70513 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetRollingUpgradesGetLatestParameters + VirtualMachineScaleSetRollingUpgradesGetLatestParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,22 +24,20 @@ async function virtualMachineScaleSetRollingUpgradesGetLatestMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetRollingUpgradesGetLatestParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); } -virtualMachineScaleSetRollingUpgradesGetLatestMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetRollingUpgradesGetLatestMaximumSetGen().catch(console.error); /** * This sample demonstrates how to Gets the status of the latest virtual machine scale set rolling upgrade. * @@ -53,19 +51,17 @@ async function virtualMachineScaleSetRollingUpgradesGetLatestMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetRollingUpgradesGetLatestParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); } -virtualMachineScaleSetRollingUpgradesGetLatestMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetRollingUpgradesGetLatestMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts index 64f412d2b688..d6c4a10ded79 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function startAnExtensionRollingUpgrade() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "{vmss-name}"; const options: VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts index ed3f93c067bd..78b229a6eea7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,24 +25,22 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen( const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaa"; const options: VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen().catch(console.error); /** * This sample demonstrates how to Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. * @@ -56,21 +54,19 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen( const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts index 21f433b06584..b05290f11fd6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -33,10 +33,10 @@ async function createVirtualMachineScaleSetVMExtension() { autoUpgradeMinorVersion: true, publisher: "extPublisher", settings: { UserName: "xyz@microsoft.com" }, - typeHandlerVersion: "1.2" - } + typeHandlerVersion: "1.2", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -45,10 +45,10 @@ async function createVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts index 8bb806167c2f..37194b488676 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,7 +27,7 @@ async function deleteVirtualMachineScaleSetVMExtension() { const instanceId = "0"; const vmExtensionName = "myVMExtension"; const options: VirtualMachineScaleSetVMExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -36,10 +36,10 @@ async function deleteVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts index e3bad66fcc5f..b3cf3c708b36 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMExtensionsGetParameters + VirtualMachineScaleSetVMExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function getVirtualMachineScaleSetVMExtension() { const instanceId = "0"; const vmExtensionName = "myVMExtension"; const options: VirtualMachineScaleSetVMExtensionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -35,7 +35,7 @@ async function getVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts index 78e30512d452..7058b0c53b01 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMExtensionsListParameters + VirtualMachineScaleSetVMExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function listExtensionsInVmssInstance() { const vmScaleSetName = "myvmScaleSet"; const instanceId = "0"; const options: VirtualMachineScaleSetVMExtensionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function listExtensionsInVmssInstance() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts index aa0aa4db889c..3c032eed1c8b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -33,10 +33,10 @@ async function updateVirtualMachineScaleSetVMExtension() { autoUpgradeMinorVersion: true, publisher: "extPublisher", settings: { UserName: "xyz@microsoft.com" }, - typeHandlerVersion: "1.2" - } + typeHandlerVersion: "1.2", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -45,10 +45,10 @@ async function updateVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts index 72a6e696a2f2..327ec96f1eb4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -33,15 +33,15 @@ async function createVirtualMachineScaleSetVMRunCommand() { asyncExecution: false, parameters: [ { name: "param1", value: "value1" }, - { name: "param2", value: "value2" } + { name: "param2", value: "value2" }, ], runAsPassword: "", runAsUser: "user1", source: { script: "Write-Host Hello World!" }, - timeoutInSeconds: 3600 - } + timeoutInSeconds: 3600, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -50,10 +50,10 @@ async function createVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts index 43bba69bf4f3..e0508ebcd9f1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,7 +27,7 @@ async function deleteVirtualMachineScaleSetVMRunCommand() { const instanceId = "0"; const runCommandName = "myRunCommand"; const options: VirtualMachineScaleSetVMRunCommandsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -36,10 +36,10 @@ async function deleteVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts index 259640631c00..4f32e519fd6f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMRunCommandsGetParameters + VirtualMachineScaleSetVMRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function getVirtualMachineScaleSetVMRunCommands() { const instanceId = "0"; const runCommandName = "myRunCommand"; const options: VirtualMachineScaleSetVMRunCommandsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -35,7 +35,7 @@ async function getVirtualMachineScaleSetVMRunCommands() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts index c05cbd0a9dc2..7f9454ec79e1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function listRunCommandsInVmssInstance() { const vmScaleSetName = "myvmScaleSet"; const instanceId = "0"; const options: VirtualMachineScaleSetVMRunCommandsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listRunCommandsInVmssInstance() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts index 5eeb70951ca6..10b77b0f721d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,9 +28,9 @@ async function updateVirtualMachineScaleSetVMRunCommand() { const runCommandName = "myRunCommand"; const options: VirtualMachineScaleSetVMRunCommandsUpdateParameters = { body: { - properties: { source: { script: "Write-Host Script Source Updated!" } } + properties: { source: { script: "Write-Host Script Source Updated!" } }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -39,10 +39,10 @@ async function updateVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts index 7a544381e003..a94712f51314 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsDeallocateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineScaleSetVMSDeallocateMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsDeallocateParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSDeallocateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineScaleSetVMSDeallocateMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaa"; const options: VirtualMachineScaleSetVMsDeallocateParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineScaleSetVMSDeallocateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts index 31ac1162c527..c1a3444b4c94 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function forceDeleteAVirtualMachineFromAVMScaleSet() { const vmScaleSetName = "myvmScaleSet"; const instanceId = "0"; const options: VirtualMachineScaleSetVMsDeleteParameters = { - queryParameters: { forceDeletion: true, "api-version": "2022-08-01" } + queryParameters: { forceDeletion: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function forceDeleteAVirtualMachineFromAVMScaleSet() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts index ec077a30b01a..087a558996ca 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMsGetInstanceViewParameters + VirtualMachineScaleSetVMsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicated const vmScaleSetName = "myVirtualMachineScaleSet"; const instanceId = "0"; const options: VirtualMachineScaleSetVMsGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,12 +33,12 @@ async function getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicated subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); } getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts index 2d9a277b1c2c..bd69684f05d0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMsGetParameters + VirtualMachineScaleSetVMsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function getVMScaleSetVMWithUserData() { const vmScaleSetName = "{vmss-name}"; const instanceId = "0"; const options: VirtualMachineScaleSetVMsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getVMScaleSetVMWithUserData() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getVMScaleSetVMWithVMSizeProperties() { const vmScaleSetName = "{vmss-name}"; const instanceId = "0"; const options: VirtualMachineScaleSetVMsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +62,7 @@ async function getVMScaleSetVMWithVMSizeProperties() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts index d941301ce696..f3e221d4a0f6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -29,15 +29,15 @@ async function virtualMachineScaleSetVMSListMaximumSetGen() { $filter: "aaaaaaaaaaaaaa", $select: "aaaaaaaaaaaaaaaaaaaaa", $expand: "aaaaaaaaaaaaa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -62,14 +62,14 @@ async function virtualMachineScaleSetVMSListMinimumSetGen() { const resourceGroupName = "rgcompute"; const virtualMachineScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts index de2db7c19e98..d4faeb4ec8ba 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsPerformMaintenanceParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaa"; const instanceId = "aaaa"; const options: VirtualMachineScaleSetVMsPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts index 0f0cabf94d67..bfce495fed8c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsPowerOffParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineScaleSetVMSPowerOffMaximumSetGen() { const vmScaleSetName = "aaaaaa"; const instanceId = "aaaaaaaaa"; const options: VirtualMachineScaleSetVMsPowerOffParameters = { - queryParameters: { skipShutdown: true, "api-version": "2022-08-01" } + queryParameters: { skipShutdown: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSPowerOffMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineScaleSetVMSPowerOffMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsPowerOffParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineScaleSetVMSPowerOffMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts index 71050e79f479..ae26d1303715 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsRedeployParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineScaleSetVMSRedeployMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSRedeployMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineScaleSetVMSRedeployMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineScaleSetVMSRedeployMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts index a5ff38a138ae..3336fd755edd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsReimageAllParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineScaleSetVMSReimageAllMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsReimageAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSReimageAllMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineScaleSetVMSReimageAllMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsReimageAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineScaleSetVMSReimageAllMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts index f02d3d682114..5f4081dd75f7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,7 +27,7 @@ async function virtualMachineScaleSetVMSReimageMaximumSetGen() { const instanceId = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsReimageParameters = { body: { tempDisk: true }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -35,10 +35,10 @@ async function virtualMachineScaleSetVMSReimageMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,7 +58,7 @@ async function virtualMachineScaleSetVMSReimageMinimumSetGen() { const vmScaleSetName = "aaaaaaa"; const instanceId = "aaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsReimageParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -66,10 +66,10 @@ async function virtualMachineScaleSetVMSReimageMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts index 58b6ebf6eda3..9ca1aff195f3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineScaleSetVMSRestartMaximumSetGen() { const vmScaleSetName = "aa"; const instanceId = "aaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSRestartMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineScaleSetVMSRestartMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaa"; const instanceId = "aaaaaa"; const options: VirtualMachineScaleSetVMsRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineScaleSetVMSRestartMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts index 03ad9d1b0a83..33671ced99f3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters + VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -27,8 +27,8 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { const options: VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters = { queryParameters: { sasUriExpirationTimeInMinutes: 60, - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( @@ -36,7 +36,7 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts index d9e5c308cbc3..7ba83798e4a1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsRunCommandParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,9 +28,9 @@ async function virtualMachineScaleSetVMSRunCommand() { const options: VirtualMachineScaleSetVMsRunCommandParameters = { body: { commandId: "RunPowerShellScript", - script: ["Write-Host Hello World!"] + script: ["Write-Host Hello World!"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -38,10 +38,10 @@ async function virtualMachineScaleSetVMSRunCommand() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts index 5f40c912b392..0965721f3ea2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMsSimulateEvictionParameters + VirtualMachineScaleSetVMsSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,7 +25,7 @@ async function simulateEvictionAVirtualMachine() { const vmScaleSetName = "VmScaleSetName"; const instanceId = "InstanceId"; const options: VirtualMachineScaleSetVMsSimulateEvictionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function simulateEvictionAVirtualMachine() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts index d75470d57901..ac4ec742fb50 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,7 +26,7 @@ async function virtualMachineScaleSetVMSStartMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSStartMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +57,7 @@ async function virtualMachineScaleSetVMSStartMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +65,10 @@ async function virtualMachineScaleSetVMSStartMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts index f29824825c8a..c95a8bc297bb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -32,23 +32,22 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { name: "aaaaaaaaaa", product: "aaaaaaaaaaaaaaaaaaaa", promotionCode: "aaaaaaaaaaaaaaaaaaaa", - publisher: "aaaaaaaaaaaaaaaaaaaaaa" + publisher: "aaaaaaaaaaaaaaaaaaaaaa", }, properties: { additionalCapabilities: { hibernationEnabled: true, - ultraSSDEnabled: true + ultraSSDEnabled: true, }, availabilitySet: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, diagnosticsProfile: { - bootDiagnostics: { enabled: true, storageUri: "aaaaaaaaaaaaa" } + bootDiagnostics: { enabled: true, storageUri: "aaaaaaaaaaaaa" }, }, hardwareProfile: { vmSize: "Basic_A0", - vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 } + vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 }, }, instanceView: { bootDiagnostics: { @@ -57,8 +56,8 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, }, disks: [ { @@ -68,19 +67,17 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { diskEncryptionKey: { secretUrl: "aaaaaaaa", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, }, enabled: true, keyEncryptionKey: { keyUrl: "aaaaaaaaaaaaaa", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, + }, + }, ], statuses: [ { @@ -88,10 +85,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ] - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, + ], + }, ], maintenanceRedeployStatus: { isCustomerInitiatedMaintenanceAllowed: true, @@ -100,7 +97,7 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { maintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), maintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), preMaintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z") + preMaintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), }, placementGroupId: "aaa", platformFaultDomain: 14, @@ -112,8 +109,8 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], vmAgent: { extensionHandlers: [ @@ -124,10 +121,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") + time: new Date("2021-11-30T12:58:26.522Z"), }, - typeHandlerVersion: "aaaaa" - } + typeHandlerVersion: "aaaaa", + }, ], statuses: [ { @@ -135,10 +132,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], - vmAgentVersion: "aaaaaaaaaaaaaaaaaaaaaaa" + vmAgentVersion: "aaaaaaaaaaaaaaaaaaaaaaa", }, vmHealth: { status: { @@ -146,8 +143,8 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, }, extensions: [ { @@ -159,8 +156,8 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], substatuses: [ { @@ -168,12 +165,12 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - ] + typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa", + }, + ], }, licenseType: "aaaaaaaaaa", networkProfile: { @@ -185,8 +182,7 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { deleteOption: "Delete", dnsSettings: { dnsServers: ["aaaaaa"] }, dscpConfiguration: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, enableAcceleratedNetworking: true, enableFpga: true, @@ -197,21 +193,18 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { properties: { applicationGatewayBackendAddressPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], applicationSecurityGroups: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], loadBalancerBackendAddressPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], primary: true, privateIPAddressVersion: "IPv4", @@ -220,46 +213,42 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { properties: { deleteOption: "Delete", dnsSettings: { - domainNameLabel: "aaaaaaaaaaaaaaaaaaaaaaaaa" + domainNameLabel: "aaaaaaaaaaaaaaaaaaaaaaaaa", }, idleTimeoutInMinutes: 2, ipTags: [ { ipTagType: "aaaaaaaaaaaaaaaaaaaaaaaaa", - tag: "aaaaaaaaaaaaaaaaaaaa" - } + tag: "aaaaaaaaaaaaaaaaaaaa", + }, ], publicIPAddressVersion: "IPv4", publicIPAllocationMethod: "Dynamic", publicIPPrefix: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, }, - sku: { name: "Basic", tier: "Regional" } + sku: { name: "Basic", tier: "Regional" }, }, subnet: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, + }, + }, ], networkSecurityGroup: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, - primary: true - } - } + primary: true, + }, + }, ], networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}/virtualMachines/0/networkInterfaces/vmsstestnetconfig5415", - properties: { deleteOption: "Delete", primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}/virtualMachines/0/networkInterfaces/vmsstestnetconfig5415", + properties: { deleteOption: "Delete", primary: true }, + }, + ], }, networkProfileConfiguration: { networkInterfaceConfigurations: [ @@ -279,27 +268,23 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { properties: { applicationGatewayBackendAddressPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], applicationSecurityGroups: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], loadBalancerBackendAddressPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], loadBalancerInboundNatPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], primary: true, privateIPAddressVersion: "IPv4", @@ -308,38 +293,35 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { properties: { deleteOption: "Delete", dnsSettings: { - domainNameLabel: "aaaaaaaaaaaaaaaaaa" + domainNameLabel: "aaaaaaaaaaaaaaaaaa", }, idleTimeoutInMinutes: 18, ipTags: [ { ipTagType: "aaaaaaa", - tag: "aaaaaaaaaaaaaaaaaaaaaaaaaaa" - } + tag: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + }, ], publicIPAddressVersion: "IPv4", publicIPPrefix: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, }, - sku: { name: "Basic", tier: "Regional" } + sku: { name: "Basic", tier: "Regional" }, }, subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/vn4071/subnets/sn5503" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/vn4071/subnets/sn5503", + }, + }, + }, ], networkSecurityGroup: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "aaaaaaaaaaaaaaaa", @@ -351,10 +333,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { disablePasswordAuthentication: true, patchSettings: { assessmentMode: "ImageDefault", - patchMode: "ImageDefault" + patchMode: "ImageDefault", }, provisionVMAgent: true, - ssh: { publicKeys: [{ path: "aaa", keyData: "aaaaaa" }] } + ssh: { publicKeys: [{ path: "aaa", keyData: "aaaaaa" }] }, }, requireGuestProvisionSignal: true, secrets: [], @@ -364,61 +346,55 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { componentName: "Microsoft-Windows-Shell-Setup", content: "aaaaaaaaaaaaaaaaaaaa", passName: "OobeSystem", - settingName: "AutoLogon" - } + settingName: "AutoLogon", + }, ], enableAutomaticUpdates: true, patchSettings: { assessmentMode: "ImageDefault", enableHotpatching: true, - patchMode: "Manual" + patchMode: "Manual", }, provisionVMAgent: true, timeZone: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", winRM: { - listeners: [ - { certificateUrl: "aaaaaaaaaaaaaaaaaaaaaa", protocol: "Http" } - ] - } - } + listeners: [{ certificateUrl: "aaaaaaaaaaaaaaaaaaaaaa", protocol: "Http" }], + }, + }, }, protectionPolicy: { protectFromScaleIn: true, - protectFromScaleSetActions: true + protectFromScaleSetActions: true, }, securityProfile: { encryptionAtHost: true, securityType: "TrustedLaunch", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { dataDisks: [ { - name: - "vmss3176_vmss3176_0_disk2_6c4f554bdafa49baa780eb2d128ff39d", + name: "vmss3176_vmss3176_0_disk2_6c4f554bdafa49baa780eb2d128ff39d", caching: "None", createOption: "Empty", deleteOption: "Delete", detachOption: "ForceDetach", diskSizeGB: 128, image: { - uri: - "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + uri: "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd", }, lun: 1, managedDisk: { diskEncryptionSet: { id: "aaaaaaaaaaaa" }, - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vmss3176_vmss3176_0_disk2_6c4f554bdafa49baa780eb2d128ff39d", - storageAccountType: "Standard_LRS" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vmss3176_vmss3176_0_disk2_6c4f554bdafa49baa780eb2d128ff39d", + storageAccountType: "Standard_LRS", }, toBeDetached: true, vhd: { - uri: - "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + uri: "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd", }, - writeAcceleratorEnabled: true - } + writeAcceleratorEnabled: true, + }, ], imageReference: { id: "a", @@ -426,11 +402,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { publisher: "MicrosoftWindowsServer", sharedGalleryImageId: "aaaaaaaaaaaaaaaaaaaa", sku: "2012-R2-Datacenter", - version: "4.127.20180315" + version: "4.127.20180315", }, osDisk: { - name: - "vmss3176_vmss3176_0_OsDisk_1_6d72b805e50e4de6830303c5055077fc", + name: "vmss3176_vmss3176_0_OsDisk_1_6d72b805e50e4de6830303c5055077fc", caching: "None", createOption: "FromImage", deleteOption: "Delete", @@ -440,43 +415,38 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { diskEncryptionKey: { secretUrl: "aaaaaaaa", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, }, enabled: true, keyEncryptionKey: { keyUrl: "aaaaaaaaaaaaaa", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, + }, }, image: { - uri: - "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + uri: "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd", }, managedDisk: { diskEncryptionSet: { id: "aaaaaaaaaaaa" }, - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vmss3176_vmss3176_0_OsDisk_1_6d72b805e50e4de6830303c5055077fc", - storageAccountType: "Standard_LRS" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vmss3176_vmss3176_0_OsDisk_1_6d72b805e50e4de6830303c5055077fc", + storageAccountType: "Standard_LRS", }, osType: "Windows", vhd: { - uri: - "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + uri: "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd", }, - writeAcceleratorEnabled: true - } + writeAcceleratorEnabled: true, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", }, sku: { name: "Classic", capacity: 29, tier: "aaaaaaaaaaaaaa" }, - tags: {} + tags: {}, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -484,10 +454,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -508,7 +478,7 @@ async function virtualMachineScaleSetVMSUpdateMinimumSetGen() { const instanceId = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsUpdateParameters = { body: { location: "westus" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -516,10 +486,10 @@ async function virtualMachineScaleSetVMSUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts index e75338dfc02d..5d4ea28895bd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters + VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,22 +25,20 @@ async function virtualMachineScaleSetsConvertToSinglePlacementGroupMaximumSetGen const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters = { body: { activePlacementGroupId: "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } -virtualMachineScaleSetsConvertToSinglePlacementGroupMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetsConvertToSinglePlacementGroupMaximumSetGen().catch(console.error); /** * This sample demonstrates how to Converts SinglePlacementGroup property to false for a existing virtual machine scale set. * @@ -55,19 +53,17 @@ async function virtualMachineScaleSetsConvertToSinglePlacementGroupMinimumSetGen const vmScaleSetName = "aaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } -virtualMachineScaleSetsConvertToSinglePlacementGroupMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetsConvertToSinglePlacementGroupMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts index 45c75625db28..dbf91350b023 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -34,9 +34,8 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionProfile: { extensions: [ @@ -48,10 +47,10 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { publisher: "{extension-Publisher}", settings: {}, suppressFailures: true, - typeHandlerVersion: "{handler-version}" - } - } - ] + typeHandlerVersion: "{handler-version}", + }, + }, + ], }, networkProfile: { networkInterfaceConfigurations: [ @@ -64,50 +63,49 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -135,9 +133,8 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionProfile: { extensions: [ @@ -150,16 +147,15 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { secretUrl: "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e", sourceVault: { - id: - "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName" - } + id: "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName", + }, }, publisher: "{extension-Publisher}", settings: {}, - typeHandlerVersion: "{handler-version}" - } - } - ] + typeHandlerVersion: "{handler-version}", + }, + }, + ], }, networkProfile: { networkInterfaceConfigurations: [ @@ -172,57 +168,54 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault().catch( - console.error -); +createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -253,21 +246,20 @@ async function createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { osDisk: { @@ -275,33 +267,30 @@ async function createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage() { caching: "ReadWrite", createOption: "FromImage", image: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd" - } - } - } - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd", + }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage().catch( - console.error -); +createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -332,28 +321,27 @@ async function createAPlatformImageScaleSetWithUnmanagedOSDisks() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "osDisk", @@ -364,25 +352,25 @@ async function createAPlatformImageScaleSetWithUnmanagedOSDisks() { "http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer", "http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer", "http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer", - "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer" - ] - } - } - } + "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer", + ], + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -418,48 +406,46 @@ async function createAScaleSetFromACustomImage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -495,48 +481,46 @@ async function createAScaleSetFromAGeneralizedSharedImage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -572,43 +556,41 @@ async function createAScaleSetFromASpecializedSharedImage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -646,14 +628,13 @@ async function createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } + primary: true, + }, }, { name: "{nicConfig2-name}", @@ -668,55 +649,51 @@ async function createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() primary: true, privateIPAddressVersion: "IPv4", subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}", + }, + }, + }, ], - primary: false - } - } - ] + primary: false, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty().catch( - console.error -); +createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -746,13 +723,13 @@ async function createAScaleSetWithApplicationProfile() { packageReferenceId: "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0", tags: "myTag1", - treatFailureAsDeploymentFailure: true + treatFailureAsDeploymentFailure: true, }, { packageReferenceId: - "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1" - } - ] + "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1", + }, + ], }, networkProfile: { networkInterfaceConfigurations: [ @@ -765,50 +742,49 @@ async function createAScaleSetWithApplicationProfile() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -834,7 +810,7 @@ async function createAScaleSetWithDiskControllerType() { upgradePolicy: { mode: "Manual" }, virtualMachineProfile: { hardwareProfile: { - vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 } + vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 }, }, networkProfile: { networkInterfaceConfigurations: [ @@ -847,21 +823,20 @@ async function createAScaleSetWithDiskControllerType() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { diskControllerType: "NVMe", @@ -869,30 +844,30 @@ async function createAScaleSetWithDiskControllerType() { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" - } + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -928,21 +903,20 @@ async function createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk() name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { dataDisks: [ @@ -953,51 +927,46 @@ async function createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk() lun: 0, managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - storageAccountType: "Standard_LRS" - } - } + storageAccountType: "Standard_LRS", + }, + }, ], imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - storageAccountType: "Standard_LRS" - } - } - } - } + storageAccountType: "Standard_LRS", + }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk().catch( - console.error -); +createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -1028,14 +997,13 @@ async function createAScaleSetWithFpgaNetworkInterfaces() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } + primary: true, + }, }, { name: "{fpgaNic-Name}", @@ -1050,48 +1018,46 @@ async function createAScaleSetWithFpgaNetworkInterfaces() { primary: true, privateIPAddressVersion: "IPv4", subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}", + }, + }, + }, ], - primary: false - } - } - ] + primary: false, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1115,7 +1081,7 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { overprovision: true, @@ -1132,21 +1098,20 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, securityProfile: { encryptionAtHost: true }, storageProfile: { @@ -1154,36 +1119,34 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty().catch( - console.error -); +createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -1214,57 +1177,56 @@ async function createAScaleSetWithSecurityTypeAsConfidentialVM() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, securityProfile: { securityType: "ConfidentialVM", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "2019-datacenter-cvm", publisher: "MicrosoftWindowsServer", sku: "windows-cvm", - version: "17763.2183.2109130127" + version: "17763.2183.2109130127", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", managedDisk: { securityProfile: { securityEncryptionType: "VMGuestStateOnly" }, - storageAccountType: "StandardSSD_LRS" - } - } - } - } + storageAccountType: "StandardSSD_LRS", + }, + }, + }, + }, }, - sku: { name: "Standard_DC2as_v5", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DC2as_v5", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1300,54 +1262,53 @@ async function createAScaleSetWithUefiSettingsOfSecureBootAndVTpm() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, securityProfile: { securityType: "TrustedLaunch", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "windowsserver-gen2preview-preview", publisher: "MicrosoftWindowsServer", sku: "windows10-tvm", - version: "18363.592.2001092016" + version: "18363.592.2001092016", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "StandardSSD_LRS" } - } - } - } + managedDisk: { storageAccountType: "StandardSSD_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D2s_v3", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D2s_v3", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1371,7 +1332,7 @@ async function createAScaleSetWithAMarketplaceImagePlan() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { overprovision: true, @@ -1388,50 +1349,49 @@ async function createAScaleSetWithAMarketplaceImagePlan() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1468,55 +1428,53 @@ async function createAScaleSetWithAnAzureApplicationGateway() { properties: { applicationGatewayBackendAddressPools: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}", + }, ], subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1553,65 +1511,62 @@ async function createAScaleSetWithAnAzureLoadBalancer() { properties: { loadBalancerBackendAddressPools: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}", + }, ], loadBalancerInboundNatPools: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}", + }, ], publicIPAddressConfiguration: { name: "{vmss-name}", - properties: { publicIPAddressVersion: "IPv4" } + properties: { publicIPAddressVersion: "IPv4" }, }, subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1648,50 +1603,49 @@ async function createAScaleSetWithAutomaticRepairsEnabled() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1719,9 +1673,8 @@ async function createAScaleSetWithBootDiagnostics() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, networkProfile: { networkInterfaceConfigurations: [ @@ -1734,50 +1687,49 @@ async function createAScaleSetWithBootDiagnostics() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1813,55 +1765,54 @@ async function createAScaleSetWithEmptyDataDisksOnEachVM() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { dataDisks: [ { createOption: "Empty", diskSizeGB: 1023, lun: 0 }, - { createOption: "Empty", diskSizeGB: 1023, lun: 1 } + { createOption: "Empty", diskSizeGB: 1023, lun: 1 }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", diskSizeGB: 512, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D2_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D2_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1885,7 +1836,7 @@ async function createAScaleSetWithEphemeralOSDisksUsingPlacementProperty() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { overprovision: true, @@ -1902,58 +1853,55 @@ async function createAScaleSetWithEphemeralOSDisksUsingPlacementProperty() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local", placement: "ResourceDisk" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAScaleSetWithEphemeralOSDisksUsingPlacementProperty().catch( - console.error -); +createAScaleSetWithEphemeralOSDisksUsingPlacementProperty().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -1972,7 +1920,7 @@ async function createAScaleSetWithEphemeralOSDisks() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { overprovision: true, @@ -1989,51 +1937,50 @@ async function createAScaleSetWithEphemeralOSDisks() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2061,9 +2008,8 @@ async function createAScaleSetWithExtensionTimeBudget() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionProfile: { extensionsTimeBudget: "PT1H20M", @@ -2075,10 +2021,10 @@ async function createAScaleSetWithExtensionTimeBudget() { autoUpgradeMinorVersion: false, publisher: "{extension-Publisher}", settings: {}, - typeHandlerVersion: "{handler-version}" - } - } - ] + typeHandlerVersion: "{handler-version}", + }, + }, + ], }, networkProfile: { networkInterfaceConfigurations: [ @@ -2091,50 +2037,49 @@ async function createAScaleSetWithExtensionTimeBudget() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2171,50 +2116,49 @@ async function createAScaleSetWithManagedBootDiagnostics() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2250,50 +2194,49 @@ async function createAScaleSetWithPasswordAuthentication() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2329,50 +2272,49 @@ async function createAScaleSetWithPremiumStorage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2397,7 +2339,7 @@ async function createAScaleSetWithPriorityMixPolicy() { orchestrationMode: "Flexible", priorityMixPolicy: { baseRegularPriorityCount: 4, - regularPriorityPercentageAboveBase: 50 + regularPriorityPercentageAboveBase: 50, }, singlePlacementGroup: false, virtualMachineProfile: { @@ -2414,21 +2356,20 @@ async function createAScaleSetWithPriorityMixPolicy() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, priority: "Spot", storageProfile: { @@ -2436,29 +2377,29 @@ async function createAScaleSetWithPriorityMixPolicy() { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_A8m_v2", capacity: 10, tier: "Standard" } + sku: { name: "Standard_A8m_v2", capacity: 10, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2495,50 +2436,49 @@ async function createAScaleSetWithScaleInPolicy() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2577,21 +2517,20 @@ async function createAScaleSetWithSpotRestorePolicy() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, priority: "Spot", storageProfile: { @@ -2599,29 +2538,29 @@ async function createAScaleSetWithSpotRestorePolicy() { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_A8m_v2", capacity: 2, tier: "Standard" } + sku: { name: "Standard_A8m_v2", capacity: 2, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2657,16 +2596,15 @@ async function createAScaleSetWithSshAuthentication() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminUsername: "{your-username}", @@ -2678,40 +2616,40 @@ async function createAScaleSetWithSshAuthentication() { { path: "/home/{your-username}/.ssh/authorized_keys", keyData: - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1" - } - ] - } - } + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1", + }, + ], + }, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2747,56 +2685,55 @@ async function createAScaleSetWithTerminateScheduledEventsEnabled() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, scheduledEventsProfile: { terminateNotificationProfile: { enable: true, - notBeforeTimeout: "PT5M" - } + notBeforeTimeout: "PT5M", + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2832,51 +2769,50 @@ async function createAScaleSetWithUserData() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" - } + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2912,56 +2848,55 @@ async function createAScaleSetWithVirtualMachinesInDifferentZones() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { dataDisks: [ { createOption: "Empty", diskSizeGB: 1023, lun: 0 }, - { createOption: "Empty", diskSizeGB: 1023, lun: 1 } + { createOption: "Empty", diskSizeGB: 1023, lun: 1 }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", diskSizeGB: 512, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, sku: { name: "Standard_A1_v2", capacity: 2, tier: "Standard" }, - zones: ["1", "3"] + zones: ["1", "3"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2987,7 +2922,7 @@ async function createAScaleSetWithVMSizeProperties() { upgradePolicy: { mode: "Manual" }, virtualMachineProfile: { hardwareProfile: { - vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 } + vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 }, }, networkProfile: { networkInterfaceConfigurations: [ @@ -3000,51 +2935,50 @@ async function createAScaleSetWithVMSizeProperties() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" - } + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -3071,9 +3005,8 @@ async function createOrUpdateAScaleSetWithCapacityReservation() { virtualMachineProfile: { capacityReservation: { capacityReservationGroup: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}", + }, }, networkProfile: { networkInterfaceConfigurations: [ @@ -3086,50 +3019,49 @@ async function createOrUpdateAScaleSetWithCapacityReservation() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts index a86dbab51a4f..767da02f62ba 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsDeallocateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsDeallocateMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsDeallocateParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +55,17 @@ async function virtualMachineScaleSetsDeallocateMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsDeallocateParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts index 3b81f28fbd78..dc89b5279f94 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsDeleteInstancesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsDeleteInstancesMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsDeleteInstancesParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaaaaaaaaaa"] }, - queryParameters: { forceDeletion: true, "api-version": "2022-08-01" } + queryParameters: { forceDeletion: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -56,17 +56,17 @@ async function virtualMachineScaleSetsDeleteInstancesMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsDeleteInstancesParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts index 6acda00dff0e..bb53151586ef 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function forceDeleteAVMScaleSet() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myvmScaleSet"; const options: VirtualMachineScaleSetsDeleteParameters = { - queryParameters: { forceDeletion: true, "api-version": "2022-08-01" } + queryParameters: { forceDeletion: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts index 0ef74495f113..8b3b55865eab 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,22 +23,23 @@ async function virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDo const subscriptionId = ""; const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaa"; - const options: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters = { - queryParameters: { "api-version": "2022-08-01", platformUpdateDomain: 30 } - }; + const options: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters = + { + queryParameters: { "api-version": "2022-08-01", platformUpdateDomain: 30 }, + }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkMaximumSetGen().catch( - console.error + console.error, ); /** * This sample demonstrates how to Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. @@ -52,20 +53,21 @@ async function virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDo const subscriptionId = ""; const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaa"; - const options: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters = { - queryParameters: { "api-version": "2022-08-01", platformUpdateDomain: 9 } - }; + const options: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters = + { + queryParameters: { "api-version": "2022-08-01", platformUpdateDomain: 9 }, + }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkMinimumSetGen().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts index c3d47148e162..d72faa9284cf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetsGetInstanceViewParameters + VirtualMachineScaleSetsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function virtualMachineScaleSetsGetInstanceViewMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -51,14 +51,14 @@ async function virtualMachineScaleSetsGetInstanceViewMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts index 16f012b9dc89..293e7352f193 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsGetOSUpgradeHistoryParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function virtualMachineScaleSetsGetOSUpgradeHistoryMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaa"; const options: VirtualMachineScaleSetsGetOSUpgradeHistoryParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +57,14 @@ async function virtualMachineScaleSetsGetOSUpgradeHistoryMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsGetOSUpgradeHistoryParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts index 4e2d6ab5e251..8e95948a64cd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetsGetParameters + VirtualMachineScaleSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getVMScaleSetVMWithDiskControllerType() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myVirtualMachineScaleSet"; const options: VirtualMachineScaleSetsGetParameters = { - queryParameters: { "api-version": "2022-08-01", $expand: "userData" } + queryParameters: { "api-version": "2022-08-01", $expand: "userData" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -51,14 +51,14 @@ async function getAVirtualMachineScaleSet() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myVirtualMachineScaleSet"; const options: VirtualMachineScaleSetsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -78,21 +78,21 @@ async function getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutom const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myVirtualMachineScaleSet"; const options: VirtualMachineScaleSetsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); } getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); /** * This sample demonstrates how to Display information about a virtual machine scale set. @@ -107,14 +107,14 @@ async function getAVirtualMachineScaleSetWithUserData() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myVirtualMachineScaleSet"; const options: VirtualMachineScaleSetsGetParameters = { - queryParameters: { "api-version": "2022-08-01", $expand: "userData" } + queryParameters: { "api-version": "2022-08-01", $expand: "userData" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts index 9f52fa333e7a..5a8347c36e80 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -23,12 +23,12 @@ async function virtualMachineScaleSetsListAllMaximumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: VirtualMachineScaleSetsListAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -51,12 +51,12 @@ async function virtualMachineScaleSetsListAllMinimumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: VirtualMachineScaleSetsListAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts index a5950deefc5f..12d73064bec1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsListByLocationParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifie const subscriptionId = ""; const location = "eastus"; const options: VirtualMachineScaleSetsListByLocationParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -41,6 +41,4 @@ async function listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifie console.log(result); } -listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifiedLocation().catch( - console.error -); +listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifiedLocation().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts index 6b248dc36c1b..642f21f76129 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function virtualMachineScaleSetsListMaximumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: VirtualMachineScaleSetsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +54,13 @@ async function virtualMachineScaleSetsListMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: VirtualMachineScaleSetsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts index e210d387f17d..94bd801a62b7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsListSkusParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function virtualMachineScaleSetsListSkusMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaa"; const options: VirtualMachineScaleSetsListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +57,14 @@ async function virtualMachineScaleSetsListSkusMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts index 9babaf5d924c..5480bd9fb942 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsPerformMaintenanceParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsPerformMaintenanceMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaa"; const options: VirtualMachineScaleSetsPerformMaintenanceParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +55,17 @@ async function virtualMachineScaleSetsPerformMaintenanceMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aa"; const options: VirtualMachineScaleSetsPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts index 9af5e738a322..513d6301cece 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsPowerOffParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsPowerOffMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsPowerOffParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { skipShutdown: true, "api-version": "2022-08-01" } + queryParameters: { skipShutdown: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +55,17 @@ async function virtualMachineScaleSetsPowerOffMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "a"; const options: VirtualMachineScaleSetsPowerOffParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts index be0378653f06..bf45f28baff4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsRedeployParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsRedeployMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsRedeployParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +55,17 @@ async function virtualMachineScaleSetsRedeployMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts index 7963598a38a2..ccae3e53ecce 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsReimageAllParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsReimageAllMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaa"; const options: VirtualMachineScaleSetsReimageAllParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +55,17 @@ async function virtualMachineScaleSetsReimageAllMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsReimageAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts index 1acb2145183e..ef7c71043274 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsReimageMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsReimageParameters = { body: { instanceIds: ["aaaaaaaaaa"], tempDisk: true }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +55,17 @@ async function virtualMachineScaleSetsReimageMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsReimageParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts index a07d53b05076..869c73f68f48 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsRestartMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsRestartParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +55,17 @@ async function virtualMachineScaleSetsRestartMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaa"; const options: VirtualMachineScaleSetsRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts index 005a8350e71b..56bfac88316b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsSetOrchestrationServiceStateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,24 +26,22 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen( const vmScaleSetName = "aaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsSetOrchestrationServiceStateParameters = { body: { action: "Resume", serviceName: "AutomaticRepairs" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen().catch(console.error); /** * This sample demonstrates how to Changes ServiceState property for a given service * @@ -58,21 +56,19 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen( const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsSetOrchestrationServiceStateParameters = { body: { action: "Resume", serviceName: "AutomaticRepairs" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts index 83cc5072cd7e..0830095574e0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsStartMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsStartParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +55,17 @@ async function virtualMachineScaleSetsStartMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts index b31e43024f8c..c0b752c70de7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsUpdateInstancesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineScaleSetsUpdateInstancesMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsUpdateInstancesParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -56,17 +56,17 @@ async function virtualMachineScaleSetsUpdateInstancesMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsUpdateInstancesParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts index f292f3b7539c..707bb7ff1907 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,32 +28,31 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { body: { identity: { type: "SystemAssigned", - userAssignedIdentities: { key3951: {} } + userAssignedIdentities: { key3951: {} }, }, plan: { name: "windows2016", product: "windows-data-science-vm", promotionCode: "aaaaaaaaaa", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { additionalCapabilities: { hibernationEnabled: true, - ultraSSDEnabled: true + ultraSSDEnabled: true, }, automaticRepairsPolicy: { enabled: true, gracePeriod: "PT30M" }, doNotRunExtensionsOnOverprovisionedVMs: true, overprovision: true, proximityPlacementGroup: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", }, scaleInPolicy: { forceDeletion: true, rules: ["OldestVM"] }, singlePlacementGroup: true, upgradePolicy: { automaticOSUpgradePolicy: { disableAutomaticRollback: true, - enableAutomaticOSUpgrade: true + enableAutomaticOSUpgrade: true, }, mode: "Manual", rollingUpgradePolicy: { @@ -62,17 +61,16 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { maxUnhealthyInstancePercent: 81, maxUnhealthyUpgradedInstancePercent: 98, pauseTimeBetweenBatches: "aaaaaaaaaaaaaaa", - prioritizeUnhealthyInstances: true - } + prioritizeUnhealthyInstances: true, + }, }, virtualMachineProfile: { billingProfile: { maxPrice: -1 }, diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionProfile: { extensionsTimeBudget: "PT1H20M", @@ -89,16 +87,15 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { publisher: "{extension-Publisher}", settings: {}, suppressFailures: true, - typeHandlerVersion: "{handler-version}" - } - } - ] + typeHandlerVersion: "{handler-version}", + }, + }, + ], }, licenseType: "aaaaaaaaaaaa", networkProfile: { healthProbe: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123", }, networkApiVersion: "2020-11-01", networkInterfaceConfigurations: [ @@ -118,27 +115,23 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { properties: { applicationGatewayBackendAddressPools: [ { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, ], applicationSecurityGroups: [ { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, ], loadBalancerBackendAddressPools: [ { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, ], loadBalancerInboundNatPools: [ { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, ], primary: true, privateIPAddressVersion: "IPv4", @@ -147,26 +140,24 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { properties: { deleteOption: "Delete", dnsSettings: { - domainNameLabel: "aaaaaaaaaaaaaaaaaa" + domainNameLabel: "aaaaaaaaaaaaaaaaaa", }, - idleTimeoutInMinutes: 3 - } + idleTimeoutInMinutes: 3, + }, }, subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123", + }, + }, + }, ], networkSecurityGroup: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", }, - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { customData: "aaaaaaaaaaaaaaaaaaaaaaaaaa", @@ -174,7 +165,7 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { disablePasswordAuthentication: true, patchSettings: { assessmentMode: "ImageDefault", - patchMode: "ImageDefault" + patchMode: "ImageDefault", }, provisionVMAgent: true, ssh: { @@ -182,24 +173,23 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { { path: "/home/{your-username}/.ssh/authorized_keys", keyData: - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1" - } - ] - } + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1", + }, + ], + }, }, secrets: [ { sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, vaultCertificates: [ { certificateStore: "aaaaaaaaaaaaaaaaaaaaaaaaa", - certificateUrl: "aaaaaaa" - } - ] - } + certificateUrl: "aaaaaaa", + }, + ], + }, ], windowsConfiguration: { additionalUnattendContent: [ @@ -207,35 +197,33 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { componentName: "Microsoft-Windows-Shell-Setup", content: "aaaaaaaaaaaaaaaaaaaa", passName: "OobeSystem", - settingName: "AutoLogon" - } + settingName: "AutoLogon", + }, ], enableAutomaticUpdates: true, patchSettings: { assessmentMode: "ImageDefault", automaticByPlatformSettings: { rebootSetting: "Never" }, enableHotpatching: true, - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, provisionVMAgent: true, timeZone: "aaaaaaaaaaaaaaaa", winRM: { - listeners: [ - { certificateUrl: "aaaaaaaaaaaaaaaaaaaaaa", protocol: "Http" } - ] - } - } + listeners: [{ certificateUrl: "aaaaaaaaaaaaaaaaaaaaaa", protocol: "Http" }], + }, + }, }, scheduledEventsProfile: { terminateNotificationProfile: { enable: true, - notBeforeTimeout: "PT10M" - } + notBeforeTimeout: "PT10M", + }, }, securityProfile: { encryptionAtHost: true, securityType: "TrustedLaunch", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { dataDisks: [ @@ -249,10 +237,10 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { lun: 26, managedDisk: { diskEncryptionSet: { id: "aaaaaaaaaaaa" }, - storageAccountType: "Standard_LRS" + storageAccountType: "Standard_LRS", }, - writeAcceleratorEnabled: true - } + writeAcceleratorEnabled: true, + }, ], imageReference: { id: "aaaaaaaaaaaaaaaaaaa", @@ -260,40 +248,39 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { publisher: "MicrosoftWindowsServer", sharedGalleryImageId: "aaaaaa", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", diskSizeGB: 6, image: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd" + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd", }, managedDisk: { diskEncryptionSet: { id: "aaaaaaaaaaaa" }, - storageAccountType: "Standard_LRS" + storageAccountType: "Standard_LRS", }, vhdContainers: ["aa"], - writeAcceleratorEnabled: true - } + writeAcceleratorEnabled: true, + }, }, - userData: "aaaaaaaaaaaaa" - } + userData: "aaaaaaaaaaaaa", + }, }, sku: { name: "DSv3-Type1", capacity: 7, tier: "aaa" }, - tags: { key246: "aaaaaaaaaaaaaaaaaaaaaaaa" } + tags: { key246: "aaaaaaaaaaaaaaaaaaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -313,17 +300,17 @@ async function virtualMachineScaleSetsUpdateMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts index edda146f3c2b..bc1b7939a930 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineSizesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function virtualMachineSizesListMaximumSetGen() { const subscriptionId = ""; const location = "-e"; const options: VirtualMachineSizesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +54,13 @@ async function virtualMachineSizesListMinimumSetGen() { const subscriptionId = ""; const location = "._.."; const options: VirtualMachineSizesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts index cfba931b7f03..3d13163c463a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesAssessPatchesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function assessPatchStateOfAVirtualMachine() { const resourceGroupName = "myResourceGroupName"; const vmName = "myVMName"; const options: VirtualMachinesAssessPatchesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts index abfffba2dd7e..2cb3990cd87f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -28,19 +28,19 @@ async function virtualMachinesCaptureMaximumSetGen() { body: { destinationContainerName: "aaaaaaa", overwriteVhds: true, - vhdPrefix: "aaaaaaaaa" + vhdPrefix: "aaaaaaaaa", }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -62,19 +62,19 @@ async function virtualMachinesCaptureMinimumSetGen() { body: { destinationContainerName: "aaaaaaa", overwriteVhds: true, - vhdPrefix: "aaaaaaaaa" + vhdPrefix: "aaaaaaaaa", }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts index 8ac467c9d3a3..e7acea1198e0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesConvertToManagedDisksParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function virtualMachinesConvertToManagedDisksMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaa"; const options: VirtualMachinesConvertToManagedDisksParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function virtualMachinesConvertToManagedDisksMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaa"; const options: VirtualMachinesConvertToManagedDisksParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts index 47cadc1cc7cf..bbb3e6226a0b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -32,11 +32,10 @@ async function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -44,43 +43,41 @@ async function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() { computerName: "myVM", linuxConfiguration: { patchSettings: { assessmentMode: "ImageDefault" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "UbuntuServer", publisher: "Canonical", sku: "16.04-LTS", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault().catch( - console.error -); +createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -101,11 +98,10 @@ async function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndA networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -115,44 +111,44 @@ async function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndA patchSettings: { assessmentMode: "AutomaticByPlatform", automaticByPlatformSettings: { rebootSetting: "Never" }, - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "UbuntuServer", publisher: "Canonical", sku: "16.04-LTS", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -174,11 +170,10 @@ async function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -186,36 +181,36 @@ async function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() { computerName: "myVM", linuxConfiguration: { patchSettings: { patchMode: "ImageDefault" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "UbuntuServer", publisher: "Canonical", sku: "16.04-LTS", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -241,11 +236,10 @@ async function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAu networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -254,44 +248,44 @@ async function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAu linuxConfiguration: { patchSettings: { assessmentMode: "AutomaticByPlatform", - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "UbuntuServer", publisher: "Canonical", sku: "16.04-LTS", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -313,42 +307,41 @@ async function createAVMFromACommunityGalleryImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { communityGalleryImageId: - "/CommunityGalleries/galleryPublicName/Images/communityGalleryImageName/Versions/communityGalleryImageVersionName" + "/CommunityGalleries/galleryPublicName/Images/communityGalleryImageName/Versions/communityGalleryImageVersionName", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -374,42 +367,41 @@ async function createAVMFromASharedGalleryImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { sharedGalleryImageId: - "/SharedGalleries/sharedGalleryName/Images/sharedGalleryImageName/Versions/sharedGalleryImageVersionName" + "/SharedGalleries/sharedGalleryName/Images/sharedGalleryImageName/Versions/sharedGalleryImageVersionName", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -434,24 +426,22 @@ async function createAVMWithDiskControllerType() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D4_v3" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { diskControllerType: "NVMe", @@ -459,29 +449,29 @@ async function createAVMWithDiskControllerType() { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "U29tZSBDdXN0b20gRGF0YQ==" - } + userData: "U29tZSBDdXN0b20gRGF0YQ==", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -507,52 +497,50 @@ async function createAVMWithHibernationEnabled() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D2s_v3" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "{vm-name}" + computerName: "{vm-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2019-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "vmOSdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -578,48 +566,47 @@ async function createAVMWithUefiSettingsOfSecureBootAndVTpm() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, securityProfile: { securityType: "TrustedLaunch", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "windowsserver-gen2preview-preview", publisher: "MicrosoftWindowsServer", sku: "windows10-tvm", - version: "18363.592.2001092016" + version: "18363.592.2001092016", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "StandardSSD_LRS" } - } - } - } + managedDisk: { storageAccountType: "StandardSSD_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -644,53 +631,51 @@ async function createAVMWithUserData() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "{vm-name}" + computerName: "{vm-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "vmOSdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" - } + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -715,56 +700,54 @@ async function createAVMWithVMSizeProperties() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D4_v3", - vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 } + vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 }, }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "U29tZSBDdXN0b20gRGF0YQ==" - } + userData: "U29tZSBDdXN0b20gRGF0YQ==", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -803,50 +786,50 @@ async function createAVMWithNetworkInterfaceConfiguration() { name: "{publicIP-config-name}", properties: { deleteOption: "Detach", - publicIPAllocationMethod: "Static" + publicIPAllocationMethod: "Static", }, - sku: { name: "Basic", tier: "Global" } - } - } - } + sku: { name: "Basic", tier: "Global" }, + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -872,27 +855,26 @@ async function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, securityProfile: { securityType: "ConfidentialVM", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "2019-datacenter-cvm", publisher: "MicrosoftWindowsServer", sku: "windows-cvm", - version: "17763.2183.2109130127" + version: "17763.2183.2109130127", }, osDisk: { name: "myVMosdisk", @@ -901,35 +883,32 @@ async function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() managedDisk: { securityProfile: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - securityEncryptionType: "DiskWithVMGuestState" + securityEncryptionType: "DiskWithVMGuestState", }, - storageAccountType: "StandardSSD_LRS" - } - } - } - } + storageAccountType: "StandardSSD_LRS", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys().catch( - console.error -); +createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -950,27 +929,26 @@ async function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, securityProfile: { securityType: "ConfidentialVM", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "2019-datacenter-cvm", publisher: "MicrosoftWindowsServer", sku: "windows-cvm", - version: "17763.2183.2109130127" + version: "17763.2183.2109130127", }, osDisk: { name: "myVMosdisk", @@ -978,32 +956,30 @@ async function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() createOption: "FromImage", managedDisk: { securityProfile: { - securityEncryptionType: "DiskWithVMGuestState" + securityEncryptionType: "DiskWithVMGuestState", }, - storageAccountType: "StandardSSD_LRS" - } - } - } - } + storageAccountType: "StandardSSD_LRS", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys().catch( - console.error -); +createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -1024,11 +1000,10 @@ async function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1037,43 +1012,41 @@ async function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() { windowsConfiguration: { enableAutomaticUpdates: true, patchSettings: { assessmentMode: "ImageDefault" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault().catch( - console.error -); +createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -1094,11 +1067,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1107,43 +1079,41 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() { windowsConfiguration: { enableAutomaticUpdates: true, patchSettings: { patchMode: "AutomaticByOS" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS().catch( - console.error -); +createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -1164,11 +1134,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1179,44 +1148,44 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn patchSettings: { assessmentMode: "AutomaticByPlatform", automaticByPlatformSettings: { rebootSetting: "Never" }, - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1238,11 +1207,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1252,44 +1220,44 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn enableAutomaticUpdates: true, patchSettings: { enableHotpatching: true, - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1311,11 +1279,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfManual() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1324,36 +1291,36 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfManual() { windowsConfiguration: { enableAutomaticUpdates: true, patchSettings: { patchMode: "Manual" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1379,11 +1346,10 @@ async function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToA networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1393,44 +1359,44 @@ async function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToA enableAutomaticUpdates: true, patchSettings: { assessmentMode: "AutomaticByPlatform", - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1452,16 +1418,15 @@ async function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { osDisk: { @@ -1469,29 +1434,27 @@ async function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() { caching: "ReadWrite", createOption: "FromImage", image: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd" + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd", }, osType: "Windows", vhd: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd" - } - } - } - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1517,16 +1480,15 @@ async function createAPlatformImageVMWithUnmanagedOSAndDataDisks() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ @@ -1535,49 +1497,46 @@ async function createAPlatformImageVMWithUnmanagedOSAndDataDisks() { diskSizeGB: 1023, lun: 0, vhd: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd" - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd", + }, }, { createOption: "Empty", diskSizeGB: 1023, lun: 1, vhd: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd" - } - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd", + }, + }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", vhd: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd" - } - } - } - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1603,42 +1562,40 @@ async function createAVMFromACustomImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1664,42 +1621,40 @@ async function createAVMFromAGeneralizedSharedImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1725,37 +1680,35 @@ async function createAVMFromASpecializedSharedImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1781,16 +1734,15 @@ async function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFau networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, platformFaultDomain: 1, storageProfile: { @@ -1798,39 +1750,36 @@ async function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFau offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, virtualMachineScaleSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}" - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}", + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain().catch( - console.error -); +createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -1848,51 +1797,49 @@ async function createAVMInAnAvailabilitySet() { location: "westus", properties: { availabilitySet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}", }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1924,56 +1871,55 @@ async function createAVMWithApplicationProfile() { packageReferenceId: "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0", tags: "myTag1", - treatFailureAsDeploymentFailure: false + treatFailureAsDeploymentFailure: false, }, { packageReferenceId: - "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1" - } - ] + "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1", + }, + ], }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "{image_offer}", publisher: "{image_publisher}", sku: "{image_sku}", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1999,16 +1945,15 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ @@ -2019,11 +1964,10 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() lun: 0, managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - storageAccountType: "Standard_LRS" - } + storageAccountType: "Standard_LRS", + }, }, { caching: "ReadWrite", @@ -2032,18 +1976,15 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() lun: 1, managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}", - storageAccountType: "Standard_LRS" - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}", + storageAccountType: "Standard_LRS", + }, + }, ], imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { name: "myVMosdisk", @@ -2051,33 +1992,30 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() createOption: "FromImage", managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - storageAccountType: "Standard_LRS" - } - } - } - } + storageAccountType: "Standard_LRS", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk().catch( - console.error -); +createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -2096,23 +2034,22 @@ async function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, securityProfile: { encryptionAtHost: true }, storageProfile: { @@ -2120,28 +2057,28 @@ async function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2166,58 +2103,56 @@ async function createAVMWithScheduledEventsProfile() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, scheduledEventsProfile: { terminateNotificationProfile: { enable: true, - notBeforeTimeout: "PT10M" - } + notBeforeTimeout: "PT10M", + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2241,51 +2176,50 @@ async function createAVMWithAMarketplaceImagePlan() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2310,53 +2244,51 @@ async function createAVMWithAnExtensionsTimeBudget() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionsTimeBudget: "PT30M", hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2381,52 +2313,50 @@ async function createAVMWithBootDiagnostics() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2452,48 +2382,47 @@ async function createAVMWithEmptyDataDisks() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ { createOption: "Empty", diskSizeGB: 1023, lun: 0 }, - { createOption: "Empty", diskSizeGB: 1023, lun: 1 } + { createOption: "Empty", diskSizeGB: 1023, lun: 1 }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2517,59 +2446,56 @@ async function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacement plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local", placement: "CacheDisk" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProperty().catch( - console.error -); +createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProperty().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -2588,59 +2514,56 @@ async function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacem plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local", placement: "ResourceDisk" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementProperty().catch( - console.error -); +createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementProperty().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -2659,52 +2582,51 @@ async function createAVMWithEphemeralOSDisk() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2731,44 +2653,43 @@ async function createAVMWithManagedBootDiagnostics() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2794,44 +2715,43 @@ async function createAVMWithPasswordAuthentication() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2857,44 +2777,43 @@ async function createAVMWithPremiumStorage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2920,11 +2839,10 @@ async function createAVMWithSshAuthentication() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminUsername: "{your-username}", @@ -2936,39 +2854,39 @@ async function createAVMWithSshAuthentication() { { path: "/home/{your-username}/.ssh/authorized_keys", keyData: - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1" - } - ] - } - } + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1", + }, + ], + }, + }, }, storageProfile: { imageReference: { offer: "{image_offer}", publisher: "{image_publisher}", sku: "{image_sku}", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2992,57 +2910,55 @@ async function createOrUpdateAVMWithCapacityReservation() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { capacityReservation: { capacityReservationGroup: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}", + }, }, hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts index 1ae7a0fe7858..c45f3792870d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesDeallocateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function virtualMachinesDeallocateMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaa"; const options: VirtualMachinesDeallocateParameters = { - queryParameters: { hibernate: true, "api-version": "2022-08-01" } + queryParameters: { hibernate: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function virtualMachinesDeallocateMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaa"; const options: VirtualMachinesDeallocateParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts index 562ab68f06ad..e93f146dfcd2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function forceDeleteAVM() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesDeleteParameters = { - queryParameters: { forceDeletion: true, "api-version": "2022-08-01" } + queryParameters: { forceDeletion: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts index 2f7407130774..cd480471e076 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesGeneralizeParameters + VirtualMachinesGeneralizeParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function generalizeAVirtualMachine() { const resourceGroupName = "myResourceGroup"; const vmName = "myVMName"; const options: VirtualMachinesGeneralizeParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts index b09e25ecafbe..e66933c41af7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesGetParameters + VirtualMachinesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getAVirtualMachine() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesGetParameters = { - queryParameters: { $expand: "userData", "api-version": "2022-08-01" } + queryParameters: { $expand: "userData", "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -51,22 +51,20 @@ async function getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlac const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); } -getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error -); +getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch(console.error); /** * This sample demonstrates how to Retrieves information about the model view or the instance view of a virtual machine. * @@ -80,14 +78,14 @@ async function getAVirtualMachineWithDiskControllerTypeProperties() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesGetParameters = { - queryParameters: { $expand: "userData", "api-version": "2022-08-01" } + queryParameters: { $expand: "userData", "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -107,14 +105,14 @@ async function getAVirtualMachineWithVMSizeProperties() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts index 84b95f6c6312..192bb14a253a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesInstallPatchesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -30,20 +30,20 @@ async function installPatchStateOfAVirtualMachine() { rebootSetting: "IfRequired", windowsParameters: { classificationsToInclude: ["Critical", "Security"], - maxPatchPublishDate: new Date("2020-11-19T02:36:43.0539904+00:00") - } + maxPatchPublishDate: new Date("2020-11-19T02:36:43.0539904+00:00"), + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts index bb0acdd15233..2620815bf3cd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesInstanceViewParameters + VirtualMachinesInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function getVirtualMachineInstanceView() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -51,19 +51,19 @@ async function getInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroug const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); } getInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts index 31b27ae2088f..03d1c9e8d57c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,13 +26,13 @@ async function virtualMachinesListAllMaximumSetGen() { queryParameters: { "api-version": "2022-08-01", statusOnly: "aaaaaa", - $filter: "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } + $filter: "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -55,12 +55,12 @@ async function virtualMachinesListAllMinimumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: VirtualMachinesListAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts index f0e9e8d4d62d..ad2d55c095a3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesListAvailableSizesParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,14 +25,14 @@ async function listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMac const resourceGroupName = "myResourceGroup"; const vmName = "myVmName"; const options: VirtualMachinesListAvailableSizesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -44,5 +44,5 @@ async function listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMac } listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMachineCanBeResized().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts index 4664644add39..0770414d893e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesListByLocationParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,13 +24,13 @@ async function listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpec const subscriptionId = ""; const location = "eastus"; const options: VirtualMachinesListByLocationParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -42,5 +42,5 @@ async function listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpec } listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpecifiedLocation().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts index 8eeefd4ed064..78013a1094d0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,14 +26,14 @@ async function virtualMachinesListMaximumSetGen() { const options: VirtualMachinesListParameters = { queryParameters: { $filter: "aaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,13 +57,13 @@ async function virtualMachinesListMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: VirtualMachinesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts index 874bdebc3467..d83e683759a3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesPerformMaintenanceParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function virtualMachinesPerformMaintenanceMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaa"; const options: VirtualMachinesPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function virtualMachinesPerformMaintenanceMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaa"; const options: VirtualMachinesPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts index 0b907b6c8653..44bf3af53c4e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesPowerOffParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function virtualMachinesPowerOffMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachinesPowerOffParameters = { - queryParameters: { skipShutdown: true, "api-version": "2022-08-01" } + queryParameters: { skipShutdown: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function virtualMachinesPowerOffMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaa"; const options: VirtualMachinesPowerOffParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts index 42e27d786960..2ee2651000a5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesReapplyParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function reapplyTheStateOfAVirtualMachine() { const resourceGroupName = "ResourceGroup"; const vmName = "VMName"; const options: VirtualMachinesReapplyParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts index 0743f4272afc..674e0978c5f0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesRedeployParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function virtualMachinesRedeployMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "a"; const options: VirtualMachinesRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function virtualMachinesRedeployMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaa"; const options: VirtualMachinesRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts index ebf1ec305813..7d6dcc83a3ff 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function reimageAVirtualMachine() { const vmName = "myVMName"; const options: VirtualMachinesReimageParameters = { body: { tempDisk: true }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts index d2d83ad6a674..b99a42c38975 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function virtualMachinesRestartMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachinesRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function virtualMachinesRestartMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaa"; const options: VirtualMachinesRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts index cb759f49fe12..2872a5ac3b4f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesRetrieveBootDiagnosticsDataParameters + VirtualMachinesRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,15 +26,15 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { const options: VirtualMachinesRetrieveBootDiagnosticsDataParameters = { queryParameters: { sasUriExpirationTimeInMinutes: 60, - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts index 3fc26411f2a0..7c4b8e959364 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesRunCommandParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -26,17 +26,17 @@ async function virtualMachineRunCommand() { const vmName = "vm3036"; const options: VirtualMachinesRunCommandParameters = { body: { commandId: "RunPowerShellScript" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts index 7472592a3c9e..22fabee00fa0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesSimulateEvictionParameters + VirtualMachinesSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -24,14 +24,14 @@ async function simulateEvictionAVirtualMachine() { const resourceGroupName = "ResourceGroup"; const vmName = "VMName"; const options: VirtualMachinesSimulateEvictionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts index 3d205c3ecee3..2212e8d4590e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -25,17 +25,17 @@ async function virtualMachinesStartMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachinesStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +54,17 @@ async function virtualMachinesStartMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaa"; const options: VirtualMachinesStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts index d1841b7e1fa9..95e528dbcabd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; import * as dotenv from "dotenv"; @@ -31,16 +31,15 @@ async function updateAVMByDetachingDataDisk() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ @@ -48,41 +47,41 @@ async function updateAVMByDetachingDataDisk() { createOption: "Empty", diskSizeGB: 1023, lun: 0, - toBeDetached: true + toBeDetached: true, }, { createOption: "Empty", diskSizeGB: 1023, lun: 1, - toBeDetached: false - } + toBeDetached: false, + }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -107,16 +106,15 @@ async function updateAVMByForceDetachingDataDisk() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ @@ -125,41 +123,41 @@ async function updateAVMByForceDetachingDataDisk() { detachOption: "ForceDetach", diskSizeGB: 1023, lun: 0, - toBeDetached: true + toBeDetached: true, }, { createOption: "Empty", diskSizeGB: 1023, lun: 1, - toBeDetached: false - } + toBeDetached: false, + }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/tsconfig.json b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/tsconfig.json index ad5ff9a19d36..984eed535aa8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/tsconfig.json +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2020", "module": "commonjs", "moduleResolution": "node", "resolveJsonModule": true, diff --git a/sdk/compute/arm-compute-rest/src/clientDefinitions.ts b/sdk/compute/arm-compute-rest/src/clientDefinitions.ts index ca568ac43ff1..c430b706133e 100644 --- a/sdk/compute/arm-compute-rest/src/clientDefinitions.ts +++ b/sdk/compute/arm-compute-rest/src/clientDefinitions.ts @@ -2,753 +2,359 @@ // Licensed under the MIT License. import type { + OperationsListParameters, + UsageListParameters, + VirtualMachineSizesListParameters, + VirtualMachineScaleSetsListByLocationParameters, + VirtualMachineScaleSetsCreateOrUpdateParameters, + VirtualMachineScaleSetsUpdateParameters, + VirtualMachineScaleSetsDeleteParameters, + VirtualMachineScaleSetsGetParameters, + VirtualMachineScaleSetsDeallocateParameters, + VirtualMachineScaleSetsDeleteInstancesParameters, + VirtualMachineScaleSetsGetInstanceViewParameters, + VirtualMachineScaleSetsListParameters, + VirtualMachineScaleSetsListAllParameters, + VirtualMachineScaleSetsListSkusParameters, + VirtualMachineScaleSetsGetOSUpgradeHistoryParameters, + VirtualMachineScaleSetsPowerOffParameters, + VirtualMachineScaleSetsRestartParameters, + VirtualMachineScaleSetsStartParameters, + VirtualMachineScaleSetsRedeployParameters, + VirtualMachineScaleSetsPerformMaintenanceParameters, + VirtualMachineScaleSetsUpdateInstancesParameters, + VirtualMachineScaleSetsReimageParameters, + VirtualMachineScaleSetsReimageAllParameters, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, + VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, + VirtualMachineScaleSetsSetOrchestrationServiceStateParameters, + VirtualMachineScaleSetExtensionsCreateOrUpdateParameters, + VirtualMachineScaleSetExtensionsUpdateParameters, + VirtualMachineScaleSetExtensionsDeleteParameters, + VirtualMachineScaleSetExtensionsGetParameters, + VirtualMachineScaleSetExtensionsListParameters, + VirtualMachineScaleSetRollingUpgradesCancelParameters, + VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeParameters, + VirtualMachineScaleSetRollingUpgradesGetLatestParameters, + VirtualMachineScaleSetVMExtensionsCreateOrUpdateParameters, + VirtualMachineScaleSetVMExtensionsUpdateParameters, + VirtualMachineScaleSetVMExtensionsDeleteParameters, + VirtualMachineScaleSetVMExtensionsGetParameters, + VirtualMachineScaleSetVMExtensionsListParameters, + VirtualMachineScaleSetVMsReimageParameters, + VirtualMachineScaleSetVMsReimageAllParameters, + VirtualMachineScaleSetVMsDeallocateParameters, + VirtualMachineScaleSetVMsUpdateParameters, + VirtualMachineScaleSetVMsDeleteParameters, + VirtualMachineScaleSetVMsGetParameters, + VirtualMachineScaleSetVMsGetInstanceViewParameters, + VirtualMachineScaleSetVMsListParameters, + VirtualMachineScaleSetVMsPowerOffParameters, + VirtualMachineScaleSetVMsRestartParameters, + VirtualMachineScaleSetVMsStartParameters, + VirtualMachineScaleSetVMsRedeployParameters, + VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, + VirtualMachineScaleSetVMsPerformMaintenanceParameters, + VirtualMachineScaleSetVMsSimulateEvictionParameters, + VirtualMachineScaleSetVMsRunCommandParameters, + VirtualMachineExtensionsCreateOrUpdateParameters, + VirtualMachineExtensionsUpdateParameters, + VirtualMachineExtensionsDeleteParameters, + VirtualMachineExtensionsGetParameters, + VirtualMachineExtensionsListParameters, + VirtualMachinesListByLocationParameters, + VirtualMachinesCaptureParameters, + VirtualMachinesCreateOrUpdateParameters, + VirtualMachinesUpdateParameters, + VirtualMachinesDeleteParameters, + VirtualMachinesGetParameters, + VirtualMachinesInstanceViewParameters, + VirtualMachinesConvertToManagedDisksParameters, + VirtualMachinesDeallocateParameters, + VirtualMachinesGeneralizeParameters, + VirtualMachinesListParameters, + VirtualMachinesListAllParameters, + VirtualMachinesListAvailableSizesParameters, + VirtualMachinesPowerOffParameters, + VirtualMachinesReapplyParameters, + VirtualMachinesRestartParameters, + VirtualMachinesStartParameters, + VirtualMachinesRedeployParameters, + VirtualMachinesReimageParameters, + VirtualMachinesRetrieveBootDiagnosticsDataParameters, + VirtualMachinesPerformMaintenanceParameters, + VirtualMachinesSimulateEvictionParameters, + VirtualMachinesAssessPatchesParameters, + VirtualMachinesInstallPatchesParameters, + VirtualMachinesRunCommandParameters, + VirtualMachineImagesGetParameters, + VirtualMachineImagesListParameters, + VirtualMachineImagesListOffersParameters, + VirtualMachineImagesListPublishersParameters, + VirtualMachineImagesListSkusParameters, + VirtualMachineImagesListByEdgeZoneParameters, + VirtualMachineImagesEdgeZoneGetParameters, + VirtualMachineImagesEdgeZoneListParameters, + VirtualMachineImagesEdgeZoneListOffersParameters, + VirtualMachineImagesEdgeZoneListPublishersParameters, + VirtualMachineImagesEdgeZoneListSkusParameters, + VirtualMachineExtensionImagesGetParameters, + VirtualMachineExtensionImagesListTypesParameters, + VirtualMachineExtensionImagesListVersionsParameters, AvailabilitySetsCreateOrUpdateParameters, + AvailabilitySetsUpdateParameters, AvailabilitySetsDeleteParameters, AvailabilitySetsGetParameters, - AvailabilitySetsListAvailableSizesParameters, AvailabilitySetsListBySubscriptionParameters, AvailabilitySetsListParameters, - AvailabilitySetsUpdateParameters, - CapacityReservationGroupsCreateOrUpdateParameters, - CapacityReservationGroupsDeleteParameters, - CapacityReservationGroupsGetParameters, - CapacityReservationGroupsListByResourceGroupParameters, - CapacityReservationGroupsListBySubscriptionParameters, - CapacityReservationGroupsUpdateParameters, - CapacityReservationsCreateOrUpdateParameters, - CapacityReservationsDeleteParameters, - CapacityReservationsGetParameters, - CapacityReservationsListByCapacityReservationGroupParameters, - CapacityReservationsUpdateParameters, - CloudServiceOperatingSystemsGetOSFamilyParameters, - CloudServiceOperatingSystemsGetOSVersionParameters, - CloudServiceOperatingSystemsListOSFamiliesParameters, - CloudServiceOperatingSystemsListOSVersionsParameters, - CloudServiceRoleInstancesDeleteParameters, - CloudServiceRoleInstancesGetInstanceViewParameters, - CloudServiceRoleInstancesGetParameters, - CloudServiceRoleInstancesGetRemoteDesktopFileParameters, - CloudServiceRoleInstancesListParameters, - CloudServiceRoleInstancesRebuildParameters, - CloudServiceRoleInstancesReimageParameters, - CloudServiceRoleInstancesRestartParameters, - CloudServiceRolesGetParameters, - CloudServiceRolesListParameters, - CloudServicesCreateOrUpdateParameters, - CloudServicesDeleteInstancesParameters, - CloudServicesDeleteParameters, - CloudServicesGetInstanceViewParameters, - CloudServicesGetParameters, - CloudServicesListAllParameters, - CloudServicesListParameters, - CloudServicesPowerOffParameters, - CloudServicesRebuildParameters, - CloudServicesReimageParameters, - CloudServicesRestartParameters, - CloudServicesStartParameters, - CloudServicesUpdateDomainGetUpdateDomainParameters, - CloudServicesUpdateDomainListUpdateDomainsParameters, - CloudServicesUpdateDomainWalkUpdateDomainParameters, - CloudServicesUpdateParameters, - CommunityGalleriesGetParameters, - CommunityGalleryImageVersionsGetParameters, - CommunityGalleryImageVersionsListParameters, - CommunityGalleryImagesGetParameters, - CommunityGalleryImagesListParameters, + AvailabilitySetsListAvailableSizesParameters, + ProximityPlacementGroupsCreateOrUpdateParameters, + ProximityPlacementGroupsUpdateParameters, + ProximityPlacementGroupsDeleteParameters, + ProximityPlacementGroupsGetParameters, + ProximityPlacementGroupsListBySubscriptionParameters, + ProximityPlacementGroupsListByResourceGroupParameters, DedicatedHostGroupsCreateOrUpdateParameters, + DedicatedHostGroupsUpdateParameters, DedicatedHostGroupsDeleteParameters, DedicatedHostGroupsGetParameters, DedicatedHostGroupsListByResourceGroupParameters, DedicatedHostGroupsListBySubscriptionParameters, - DedicatedHostGroupsUpdateParameters, DedicatedHostsCreateOrUpdateParameters, + DedicatedHostsUpdateParameters, DedicatedHostsDeleteParameters, DedicatedHostsGetParameters, DedicatedHostsListByHostGroupParameters, DedicatedHostsRestartParameters, - DedicatedHostsUpdateParameters, + SshPublicKeysListBySubscriptionParameters, + SshPublicKeysListByResourceGroupParameters, + SshPublicKeysCreateParameters, + SshPublicKeysUpdateParameters, + SshPublicKeysDeleteParameters, + SshPublicKeysGetParameters, + SshPublicKeysGenerateKeyPairParameters, + ImagesCreateOrUpdateParameters, + ImagesUpdateParameters, + ImagesDeleteParameters, + ImagesGetParameters, + ImagesListByResourceGroupParameters, + ImagesListParameters, + RestorePointCollectionsCreateOrUpdateParameters, + RestorePointCollectionsUpdateParameters, + RestorePointCollectionsDeleteParameters, + RestorePointCollectionsGetParameters, + RestorePointCollectionsListParameters, + RestorePointCollectionsListAllParameters, + RestorePointsCreateParameters, + RestorePointsDeleteParameters, + RestorePointsGetParameters, + CapacityReservationGroupsCreateOrUpdateParameters, + CapacityReservationGroupsUpdateParameters, + CapacityReservationGroupsDeleteParameters, + CapacityReservationGroupsGetParameters, + CapacityReservationGroupsListByResourceGroupParameters, + CapacityReservationGroupsListBySubscriptionParameters, + CapacityReservationsCreateOrUpdateParameters, + CapacityReservationsUpdateParameters, + CapacityReservationsDeleteParameters, + CapacityReservationsGetParameters, + CapacityReservationsListByCapacityReservationGroupParameters, + LogAnalyticsExportRequestRateByIntervalParameters, + LogAnalyticsExportThrottledRequestsParameters, + VirtualMachineRunCommandsListParameters, + VirtualMachineRunCommandsGetParameters, + VirtualMachineRunCommandsCreateOrUpdateParameters, + VirtualMachineRunCommandsUpdateParameters, + VirtualMachineRunCommandsDeleteParameters, + VirtualMachineRunCommandsGetByVirtualMachineParameters, + VirtualMachineRunCommandsListByVirtualMachineParameters, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdateParameters, + VirtualMachineScaleSetVMRunCommandsUpdateParameters, + VirtualMachineScaleSetVMRunCommandsDeleteParameters, + VirtualMachineScaleSetVMRunCommandsGetParameters, + VirtualMachineScaleSetVMRunCommandsListParameters, + DisksCreateOrUpdateParameters, + DisksUpdateParameters, + DisksGetParameters, + DisksDeleteParameters, + DisksListByResourceGroupParameters, + DisksListParameters, + DisksGrantAccessParameters, + DisksRevokeAccessParameters, DiskAccessesCreateOrUpdateParameters, - DiskAccessesDeleteAPrivateEndpointConnectionParameters, - DiskAccessesDeleteParameters, - DiskAccessesGetAPrivateEndpointConnectionParameters, + DiskAccessesUpdateParameters, DiskAccessesGetParameters, - DiskAccessesGetPrivateLinkResourcesParameters, + DiskAccessesDeleteParameters, DiskAccessesListByResourceGroupParameters, DiskAccessesListParameters, - DiskAccessesListPrivateEndpointConnectionsParameters, + DiskAccessesGetPrivateLinkResourcesParameters, DiskAccessesUpdateAPrivateEndpointConnectionParameters, - DiskAccessesUpdateParameters, + DiskAccessesGetAPrivateEndpointConnectionParameters, + DiskAccessesDeleteAPrivateEndpointConnectionParameters, + DiskAccessesListPrivateEndpointConnectionsParameters, DiskEncryptionSetsCreateOrUpdateParameters, - DiskEncryptionSetsDeleteParameters, + DiskEncryptionSetsUpdateParameters, DiskEncryptionSetsGetParameters, - DiskEncryptionSetsListAssociatedResourcesParameters, + DiskEncryptionSetsDeleteParameters, DiskEncryptionSetsListByResourceGroupParameters, DiskEncryptionSetsListParameters, - DiskEncryptionSetsUpdateParameters, + DiskEncryptionSetsListAssociatedResourcesParameters, DiskRestorePointGetParameters, - DiskRestorePointGrantAccessParameters, DiskRestorePointListByRestorePointParameters, + DiskRestorePointGrantAccessParameters, DiskRestorePointRevokeAccessParameters, - DisksCreateOrUpdateParameters, - DisksDeleteParameters, - DisksGetParameters, - DisksGrantAccessParameters, - DisksListByResourceGroupParameters, - DisksListParameters, - DisksRevokeAccessParameters, - DisksUpdateParameters, + SnapshotsCreateOrUpdateParameters, + SnapshotsUpdateParameters, + SnapshotsGetParameters, + SnapshotsDeleteParameters, + SnapshotsListByResourceGroupParameters, + SnapshotsListParameters, + SnapshotsGrantAccessParameters, + SnapshotsRevokeAccessParameters, + ResourceSkusListParameters, GalleriesCreateOrUpdateParameters, - GalleriesDeleteParameters, + GalleriesUpdateParameters, GalleriesGetParameters, + GalleriesDeleteParameters, GalleriesListByResourceGroupParameters, GalleriesListParameters, - GalleriesUpdateParameters, - GalleryApplicationVersionsCreateOrUpdateParameters, - GalleryApplicationVersionsDeleteParameters, - GalleryApplicationVersionsGetParameters, - GalleryApplicationVersionsListByGalleryApplicationParameters, - GalleryApplicationVersionsUpdateParameters, - GalleryApplicationsCreateOrUpdateParameters, - GalleryApplicationsDeleteParameters, - GalleryApplicationsGetParameters, - GalleryApplicationsListByGalleryParameters, - GalleryApplicationsUpdateParameters, - GalleryImageVersionsCreateOrUpdateParameters, - GalleryImageVersionsDeleteParameters, - GalleryImageVersionsGetParameters, - GalleryImageVersionsListByGalleryImageParameters, - GalleryImageVersionsUpdateParameters, GalleryImagesCreateOrUpdateParameters, - GalleryImagesDeleteParameters, + GalleryImagesUpdateParameters, GalleryImagesGetParameters, + GalleryImagesDeleteParameters, GalleryImagesListByGalleryParameters, - GalleryImagesUpdateParameters, + GalleryImageVersionsCreateOrUpdateParameters, + GalleryImageVersionsUpdateParameters, + GalleryImageVersionsGetParameters, + GalleryImageVersionsDeleteParameters, + GalleryImageVersionsListByGalleryImageParameters, + GalleryApplicationsCreateOrUpdateParameters, + GalleryApplicationsUpdateParameters, + GalleryApplicationsGetParameters, + GalleryApplicationsDeleteParameters, + GalleryApplicationsListByGalleryParameters, + GalleryApplicationVersionsCreateOrUpdateParameters, + GalleryApplicationVersionsUpdateParameters, + GalleryApplicationVersionsGetParameters, + GalleryApplicationVersionsDeleteParameters, + GalleryApplicationVersionsListByGalleryApplicationParameters, GallerySharingProfileUpdateParameters, - ImagesCreateOrUpdateParameters, - ImagesDeleteParameters, - ImagesGetParameters, - ImagesListByResourceGroupParameters, - ImagesListParameters, - ImagesUpdateParameters, - LogAnalyticsExportRequestRateByIntervalParameters, - LogAnalyticsExportThrottledRequestsParameters, - OperationsListParameters, - ProximityPlacementGroupsCreateOrUpdateParameters, - ProximityPlacementGroupsDeleteParameters, - ProximityPlacementGroupsGetParameters, - ProximityPlacementGroupsListByResourceGroupParameters, - ProximityPlacementGroupsListBySubscriptionParameters, - ProximityPlacementGroupsUpdateParameters, - ResourceSkusListParameters, - RestorePointCollectionsCreateOrUpdateParameters, - RestorePointCollectionsDeleteParameters, - RestorePointCollectionsGetParameters, - RestorePointCollectionsListAllParameters, - RestorePointCollectionsListParameters, - RestorePointCollectionsUpdateParameters, - RestorePointsCreateParameters, - RestorePointsDeleteParameters, - RestorePointsGetParameters, - SharedGalleriesGetParameters, SharedGalleriesListParameters, - SharedGalleryImageVersionsGetParameters, - SharedGalleryImageVersionsListParameters, - SharedGalleryImagesGetParameters, + SharedGalleriesGetParameters, SharedGalleryImagesListParameters, - SnapshotsCreateOrUpdateParameters, - SnapshotsDeleteParameters, - SnapshotsGetParameters, - SnapshotsGrantAccessParameters, - SnapshotsListByResourceGroupParameters, - SnapshotsListParameters, - SnapshotsRevokeAccessParameters, - SnapshotsUpdateParameters, - SshPublicKeysCreateParameters, - SshPublicKeysDeleteParameters, - SshPublicKeysGenerateKeyPairParameters, - SshPublicKeysGetParameters, - SshPublicKeysListByResourceGroupParameters, - SshPublicKeysListBySubscriptionParameters, - SshPublicKeysUpdateParameters, - UsageListParameters, - VirtualMachineExtensionImagesGetParameters, - VirtualMachineExtensionImagesListTypesParameters, - VirtualMachineExtensionImagesListVersionsParameters, - VirtualMachineExtensionsCreateOrUpdateParameters, - VirtualMachineExtensionsDeleteParameters, - VirtualMachineExtensionsGetParameters, - VirtualMachineExtensionsListParameters, - VirtualMachineExtensionsUpdateParameters, - VirtualMachineImagesEdgeZoneGetParameters, - VirtualMachineImagesEdgeZoneListOffersParameters, - VirtualMachineImagesEdgeZoneListParameters, - VirtualMachineImagesEdgeZoneListPublishersParameters, - VirtualMachineImagesEdgeZoneListSkusParameters, - VirtualMachineImagesGetParameters, - VirtualMachineImagesListByEdgeZoneParameters, - VirtualMachineImagesListOffersParameters, - VirtualMachineImagesListParameters, - VirtualMachineImagesListPublishersParameters, - VirtualMachineImagesListSkusParameters, - VirtualMachineRunCommandsCreateOrUpdateParameters, - VirtualMachineRunCommandsDeleteParameters, - VirtualMachineRunCommandsGetByVirtualMachineParameters, - VirtualMachineRunCommandsGetParameters, - VirtualMachineRunCommandsListByVirtualMachineParameters, - VirtualMachineRunCommandsListParameters, - VirtualMachineRunCommandsUpdateParameters, - VirtualMachineScaleSetExtensionsCreateOrUpdateParameters, - VirtualMachineScaleSetExtensionsDeleteParameters, - VirtualMachineScaleSetExtensionsGetParameters, - VirtualMachineScaleSetExtensionsListParameters, - VirtualMachineScaleSetExtensionsUpdateParameters, - VirtualMachineScaleSetRollingUpgradesCancelParameters, - VirtualMachineScaleSetRollingUpgradesGetLatestParameters, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeParameters, - VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters, - VirtualMachineScaleSetVMExtensionsCreateOrUpdateParameters, - VirtualMachineScaleSetVMExtensionsDeleteParameters, - VirtualMachineScaleSetVMExtensionsGetParameters, - VirtualMachineScaleSetVMExtensionsListParameters, - VirtualMachineScaleSetVMExtensionsUpdateParameters, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdateParameters, - VirtualMachineScaleSetVMRunCommandsDeleteParameters, - VirtualMachineScaleSetVMRunCommandsGetParameters, - VirtualMachineScaleSetVMRunCommandsListParameters, - VirtualMachineScaleSetVMRunCommandsUpdateParameters, - VirtualMachineScaleSetVMsDeallocateParameters, - VirtualMachineScaleSetVMsDeleteParameters, - VirtualMachineScaleSetVMsGetInstanceViewParameters, - VirtualMachineScaleSetVMsGetParameters, - VirtualMachineScaleSetVMsListParameters, - VirtualMachineScaleSetVMsPerformMaintenanceParameters, - VirtualMachineScaleSetVMsPowerOffParameters, - VirtualMachineScaleSetVMsRedeployParameters, - VirtualMachineScaleSetVMsReimageAllParameters, - VirtualMachineScaleSetVMsReimageParameters, - VirtualMachineScaleSetVMsRestartParameters, - VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, - VirtualMachineScaleSetVMsRunCommandParameters, - VirtualMachineScaleSetVMsSimulateEvictionParameters, - VirtualMachineScaleSetVMsStartParameters, - VirtualMachineScaleSetVMsUpdateParameters, - VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, - VirtualMachineScaleSetsCreateOrUpdateParameters, - VirtualMachineScaleSetsDeallocateParameters, - VirtualMachineScaleSetsDeleteInstancesParameters, - VirtualMachineScaleSetsDeleteParameters, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, - VirtualMachineScaleSetsGetInstanceViewParameters, - VirtualMachineScaleSetsGetOSUpgradeHistoryParameters, - VirtualMachineScaleSetsGetParameters, - VirtualMachineScaleSetsListAllParameters, - VirtualMachineScaleSetsListByLocationParameters, - VirtualMachineScaleSetsListParameters, - VirtualMachineScaleSetsListSkusParameters, - VirtualMachineScaleSetsPerformMaintenanceParameters, - VirtualMachineScaleSetsPowerOffParameters, - VirtualMachineScaleSetsRedeployParameters, - VirtualMachineScaleSetsReimageAllParameters, - VirtualMachineScaleSetsReimageParameters, - VirtualMachineScaleSetsRestartParameters, - VirtualMachineScaleSetsSetOrchestrationServiceStateParameters, - VirtualMachineScaleSetsStartParameters, - VirtualMachineScaleSetsUpdateInstancesParameters, - VirtualMachineScaleSetsUpdateParameters, - VirtualMachineSizesListParameters, - VirtualMachinesAssessPatchesParameters, - VirtualMachinesCaptureParameters, - VirtualMachinesConvertToManagedDisksParameters, - VirtualMachinesCreateOrUpdateParameters, - VirtualMachinesDeallocateParameters, - VirtualMachinesDeleteParameters, - VirtualMachinesGeneralizeParameters, - VirtualMachinesGetParameters, - VirtualMachinesInstallPatchesParameters, - VirtualMachinesInstanceViewParameters, - VirtualMachinesListAllParameters, - VirtualMachinesListAvailableSizesParameters, - VirtualMachinesListByLocationParameters, - VirtualMachinesListParameters, - VirtualMachinesPerformMaintenanceParameters, - VirtualMachinesPowerOffParameters, - VirtualMachinesReapplyParameters, - VirtualMachinesRedeployParameters, - VirtualMachinesReimageParameters, - VirtualMachinesRestartParameters, - VirtualMachinesRetrieveBootDiagnosticsDataParameters, - VirtualMachinesRunCommandParameters, - VirtualMachinesSimulateEvictionParameters, - VirtualMachinesStartParameters, - VirtualMachinesUpdateParameters, + SharedGalleryImagesGetParameters, + SharedGalleryImageVersionsListParameters, + SharedGalleryImageVersionsGetParameters, + CommunityGalleriesGetParameters, + CommunityGalleryImagesGetParameters, + CommunityGalleryImagesListParameters, + CommunityGalleryImageVersionsGetParameters, + CommunityGalleryImageVersionsListParameters, + CloudServiceRoleInstancesDeleteParameters, + CloudServiceRoleInstancesGetParameters, + CloudServiceRoleInstancesGetInstanceViewParameters, + CloudServiceRoleInstancesListParameters, + CloudServiceRoleInstancesRestartParameters, + CloudServiceRoleInstancesReimageParameters, + CloudServiceRoleInstancesRebuildParameters, + CloudServiceRoleInstancesGetRemoteDesktopFileParameters, + CloudServiceRolesGetParameters, + CloudServiceRolesListParameters, + CloudServicesCreateOrUpdateParameters, + CloudServicesUpdateParameters, + CloudServicesDeleteParameters, + CloudServicesGetParameters, + CloudServicesGetInstanceViewParameters, + CloudServicesListAllParameters, + CloudServicesListParameters, + CloudServicesStartParameters, + CloudServicesPowerOffParameters, + CloudServicesRestartParameters, + CloudServicesReimageParameters, + CloudServicesRebuildParameters, + CloudServicesDeleteInstancesParameters, + CloudServicesUpdateDomainWalkUpdateDomainParameters, + CloudServicesUpdateDomainGetUpdateDomainParameters, + CloudServicesUpdateDomainListUpdateDomainsParameters, + CloudServiceOperatingSystemsGetOSVersionParameters, + CloudServiceOperatingSystemsListOSVersionsParameters, + CloudServiceOperatingSystemsGetOSFamilyParameters, + CloudServiceOperatingSystemsListOSFamiliesParameters, } from "./parameters"; import type { - AvailabilitySetsCreateOrUpdate200Response, - AvailabilitySetsCreateOrUpdateDefaultResponse, - AvailabilitySetsDelete200Response, - AvailabilitySetsDelete204Response, - AvailabilitySetsDeleteDefaultResponse, - AvailabilitySetsGet200Response, - AvailabilitySetsGetDefaultResponse, - AvailabilitySetsList200Response, - AvailabilitySetsListAvailableSizes200Response, - AvailabilitySetsListAvailableSizesDefaultResponse, - AvailabilitySetsListBySubscription200Response, - AvailabilitySetsListBySubscriptionDefaultResponse, - AvailabilitySetsListDefaultResponse, - AvailabilitySetsUpdate200Response, - AvailabilitySetsUpdateDefaultResponse, - CapacityReservationGroupsCreateOrUpdate200Response, - CapacityReservationGroupsCreateOrUpdate201Response, - CapacityReservationGroupsCreateOrUpdateDefaultResponse, - CapacityReservationGroupsDelete200Response, - CapacityReservationGroupsDelete204Response, - CapacityReservationGroupsDeleteDefaultResponse, - CapacityReservationGroupsGet200Response, - CapacityReservationGroupsGetDefaultResponse, - CapacityReservationGroupsListByResourceGroup200Response, - CapacityReservationGroupsListByResourceGroupDefaultResponse, - CapacityReservationGroupsListBySubscription200Response, - CapacityReservationGroupsListBySubscriptionDefaultResponse, - CapacityReservationGroupsUpdate200Response, - CapacityReservationGroupsUpdateDefaultResponse, - CapacityReservationsCreateOrUpdate200Response, - CapacityReservationsCreateOrUpdate201Response, - CapacityReservationsCreateOrUpdateDefaultResponse, - CapacityReservationsDelete200Response, - CapacityReservationsDelete202Response, - CapacityReservationsDelete204Response, - CapacityReservationsDeleteDefaultResponse, - CapacityReservationsGet200Response, - CapacityReservationsGetDefaultResponse, - CapacityReservationsListByCapacityReservationGroup200Response, - CapacityReservationsListByCapacityReservationGroupDefaultResponse, - CapacityReservationsUpdate200Response, - CapacityReservationsUpdate202Response, - CapacityReservationsUpdateDefaultResponse, - CloudServiceOperatingSystemsGetOSFamily200Response, - CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, - CloudServiceOperatingSystemsGetOSVersion200Response, - CloudServiceOperatingSystemsGetOSVersionDefaultResponse, - CloudServiceOperatingSystemsListOSFamilies200Response, - CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, - CloudServiceOperatingSystemsListOSVersions200Response, - CloudServiceOperatingSystemsListOSVersionsDefaultResponse, - CloudServiceRoleInstancesDelete200Response, - CloudServiceRoleInstancesDelete202Response, - CloudServiceRoleInstancesDelete204Response, - CloudServiceRoleInstancesDeleteDefaultResponse, - CloudServiceRoleInstancesGet200Response, - CloudServiceRoleInstancesGetDefaultResponse, - CloudServiceRoleInstancesGetInstanceView200Response, - CloudServiceRoleInstancesGetInstanceViewDefaultResponse, - CloudServiceRoleInstancesGetRemoteDesktopFile200Response, - CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse, - CloudServiceRoleInstancesList200Response, - CloudServiceRoleInstancesListDefaultResponse, - CloudServiceRoleInstancesRebuild200Response, - CloudServiceRoleInstancesRebuild202Response, - CloudServiceRoleInstancesRebuildDefaultResponse, - CloudServiceRoleInstancesReimage200Response, - CloudServiceRoleInstancesReimage202Response, - CloudServiceRoleInstancesReimageDefaultResponse, - CloudServiceRoleInstancesRestart200Response, - CloudServiceRoleInstancesRestart202Response, - CloudServiceRoleInstancesRestartDefaultResponse, - CloudServiceRolesGet200Response, - CloudServiceRolesGetDefaultResponse, - CloudServiceRolesList200Response, - CloudServiceRolesListDefaultResponse, - CloudServicesCreateOrUpdate200Response, - CloudServicesCreateOrUpdate201Response, - CloudServicesCreateOrUpdateDefaultResponse, - CloudServicesDelete200Response, - CloudServicesDelete202Response, - CloudServicesDelete204Response, - CloudServicesDeleteDefaultResponse, - CloudServicesDeleteInstances200Response, - CloudServicesDeleteInstances202Response, - CloudServicesDeleteInstancesDefaultResponse, - CloudServicesGet200Response, - CloudServicesGetDefaultResponse, - CloudServicesGetInstanceView200Response, - CloudServicesGetInstanceViewDefaultResponse, - CloudServicesList200Response, - CloudServicesListAll200Response, - CloudServicesListAllDefaultResponse, - CloudServicesListDefaultResponse, - CloudServicesPowerOff200Response, - CloudServicesPowerOff202Response, - CloudServicesPowerOffDefaultResponse, - CloudServicesRebuild200Response, - CloudServicesRebuild202Response, - CloudServicesRebuildDefaultResponse, - CloudServicesReimage200Response, - CloudServicesReimage202Response, - CloudServicesReimageDefaultResponse, - CloudServicesRestart200Response, - CloudServicesRestart202Response, - CloudServicesRestartDefaultResponse, - CloudServicesStart200Response, - CloudServicesStart202Response, - CloudServicesStartDefaultResponse, - CloudServicesUpdate200Response, - CloudServicesUpdateDefaultResponse, - CloudServicesUpdateDomainGetUpdateDomain200Response, - CloudServicesUpdateDomainGetUpdateDomainDefaultResponse, - CloudServicesUpdateDomainListUpdateDomains200Response, - CloudServicesUpdateDomainListUpdateDomainsDefaultResponse, - CloudServicesUpdateDomainWalkUpdateDomain200Response, - CloudServicesUpdateDomainWalkUpdateDomain202Response, - CloudServicesUpdateDomainWalkUpdateDomainDefaultResponse, - CommunityGalleriesGet200Response, - CommunityGalleriesGetDefaultResponse, - CommunityGalleryImageVersionsGet200Response, - CommunityGalleryImageVersionsGetDefaultResponse, - CommunityGalleryImageVersionsList200Response, - CommunityGalleryImageVersionsListDefaultResponse, - CommunityGalleryImagesGet200Response, - CommunityGalleryImagesGetDefaultResponse, - CommunityGalleryImagesList200Response, - CommunityGalleryImagesListDefaultResponse, - DedicatedHostGroupsCreateOrUpdate200Response, - DedicatedHostGroupsCreateOrUpdate201Response, - DedicatedHostGroupsCreateOrUpdateDefaultResponse, - DedicatedHostGroupsDelete200Response, - DedicatedHostGroupsDelete204Response, - DedicatedHostGroupsDeleteDefaultResponse, - DedicatedHostGroupsGet200Response, - DedicatedHostGroupsGetDefaultResponse, - DedicatedHostGroupsListByResourceGroup200Response, - DedicatedHostGroupsListByResourceGroupDefaultResponse, - DedicatedHostGroupsListBySubscription200Response, - DedicatedHostGroupsListBySubscriptionDefaultResponse, - DedicatedHostGroupsUpdate200Response, - DedicatedHostGroupsUpdateDefaultResponse, - DedicatedHostsCreateOrUpdate200Response, - DedicatedHostsCreateOrUpdate201Response, - DedicatedHostsCreateOrUpdateDefaultResponse, - DedicatedHostsDelete200Response, - DedicatedHostsDelete202Response, - DedicatedHostsDelete204Response, - DedicatedHostsDeleteDefaultResponse, - DedicatedHostsGet200Response, - DedicatedHostsGetDefaultResponse, - DedicatedHostsListByHostGroup200Response, - DedicatedHostsListByHostGroupDefaultResponse, - DedicatedHostsRestart200Response, - DedicatedHostsRestartDefaultResponse, - DedicatedHostsUpdate200Response, - DedicatedHostsUpdateDefaultResponse, - DiskAccessesCreateOrUpdate200Response, - DiskAccessesCreateOrUpdate202Response, - DiskAccessesCreateOrUpdateDefaultResponse, - DiskAccessesDelete200Response, - DiskAccessesDelete202Response, - DiskAccessesDelete204Response, - DiskAccessesDeleteAPrivateEndpointConnection200Response, - DiskAccessesDeleteAPrivateEndpointConnection202Response, - DiskAccessesDeleteAPrivateEndpointConnection204Response, - DiskAccessesDeleteAPrivateEndpointConnectionDefaultResponse, - DiskAccessesDeleteDefaultResponse, - DiskAccessesGet200Response, - DiskAccessesGetAPrivateEndpointConnection200Response, - DiskAccessesGetAPrivateEndpointConnectionDefaultResponse, - DiskAccessesGetDefaultResponse, - DiskAccessesGetPrivateLinkResources200Response, - DiskAccessesList200Response, - DiskAccessesListByResourceGroup200Response, - DiskAccessesListByResourceGroupDefaultResponse, - DiskAccessesListDefaultResponse, - DiskAccessesListPrivateEndpointConnections200Response, - DiskAccessesListPrivateEndpointConnectionsDefaultResponse, - DiskAccessesUpdate200Response, - DiskAccessesUpdate202Response, - DiskAccessesUpdateAPrivateEndpointConnection200Response, - DiskAccessesUpdateAPrivateEndpointConnection202Response, - DiskAccessesUpdateAPrivateEndpointConnectionDefaultResponse, - DiskAccessesUpdateDefaultResponse, - DiskEncryptionSetsCreateOrUpdate200Response, - DiskEncryptionSetsCreateOrUpdate202Response, - DiskEncryptionSetsCreateOrUpdateDefaultResponse, - DiskEncryptionSetsDelete200Response, - DiskEncryptionSetsDelete202Response, - DiskEncryptionSetsDelete204Response, - DiskEncryptionSetsDeleteDefaultResponse, - DiskEncryptionSetsGet200Response, - DiskEncryptionSetsGetDefaultResponse, - DiskEncryptionSetsList200Response, - DiskEncryptionSetsListAssociatedResources200Response, - DiskEncryptionSetsListAssociatedResourcesDefaultResponse, - DiskEncryptionSetsListByResourceGroup200Response, - DiskEncryptionSetsListByResourceGroupDefaultResponse, - DiskEncryptionSetsListDefaultResponse, - DiskEncryptionSetsUpdate200Response, - DiskEncryptionSetsUpdate202Response, - DiskEncryptionSetsUpdateDefaultResponse, - DiskRestorePointGet200Response, - DiskRestorePointGetDefaultResponse, - DiskRestorePointGrantAccess200Response, - DiskRestorePointGrantAccess202Response, - DiskRestorePointGrantAccessDefaultResponse, - DiskRestorePointListByRestorePoint200Response, - DiskRestorePointListByRestorePointDefaultResponse, - DiskRestorePointRevokeAccess200Response, - DiskRestorePointRevokeAccess202Response, - DiskRestorePointRevokeAccessDefaultResponse, - DisksCreateOrUpdate200Response, - DisksCreateOrUpdate202Response, - DisksDelete200Response, - DisksDelete202Response, - DisksDelete204Response, - DisksGet200Response, - DisksGrantAccess200Response, - DisksGrantAccess202Response, - DisksList200Response, - DisksListByResourceGroup200Response, - DisksRevokeAccess200Response, - DisksRevokeAccess202Response, - DisksUpdate200Response, - DisksUpdate202Response, - GalleriesCreateOrUpdate200Response, - GalleriesCreateOrUpdate201Response, - GalleriesCreateOrUpdate202Response, - GalleriesCreateOrUpdateDefaultResponse, - GalleriesDelete200Response, - GalleriesDelete202Response, - GalleriesDelete204Response, - GalleriesDeleteDefaultResponse, - GalleriesGet200Response, - GalleriesGetDefaultResponse, - GalleriesList200Response, - GalleriesListByResourceGroup200Response, - GalleriesListByResourceGroupDefaultResponse, - GalleriesListDefaultResponse, - GalleriesUpdate200Response, - GalleriesUpdateDefaultResponse, - GalleryApplicationVersionsCreateOrUpdate200Response, - GalleryApplicationVersionsCreateOrUpdate201Response, - GalleryApplicationVersionsCreateOrUpdate202Response, - GalleryApplicationVersionsCreateOrUpdateDefaultResponse, - GalleryApplicationVersionsDelete200Response, - GalleryApplicationVersionsDelete202Response, - GalleryApplicationVersionsDelete204Response, - GalleryApplicationVersionsDeleteDefaultResponse, - GalleryApplicationVersionsGet200Response, - GalleryApplicationVersionsGetDefaultResponse, - GalleryApplicationVersionsListByGalleryApplication200Response, - GalleryApplicationVersionsListByGalleryApplicationDefaultResponse, - GalleryApplicationVersionsUpdate200Response, - GalleryApplicationVersionsUpdateDefaultResponse, - GalleryApplicationsCreateOrUpdate200Response, - GalleryApplicationsCreateOrUpdate201Response, - GalleryApplicationsCreateOrUpdate202Response, - GalleryApplicationsCreateOrUpdateDefaultResponse, - GalleryApplicationsDelete200Response, - GalleryApplicationsDelete202Response, - GalleryApplicationsDelete204Response, - GalleryApplicationsDeleteDefaultResponse, - GalleryApplicationsGet200Response, - GalleryApplicationsGetDefaultResponse, - GalleryApplicationsListByGallery200Response, - GalleryApplicationsListByGalleryDefaultResponse, - GalleryApplicationsUpdate200Response, - GalleryApplicationsUpdateDefaultResponse, - GalleryImageVersionsCreateOrUpdate200Response, - GalleryImageVersionsCreateOrUpdate201Response, - GalleryImageVersionsCreateOrUpdate202Response, - GalleryImageVersionsCreateOrUpdateDefaultResponse, - GalleryImageVersionsDelete200Response, - GalleryImageVersionsDelete202Response, - GalleryImageVersionsDelete204Response, - GalleryImageVersionsDeleteDefaultResponse, - GalleryImageVersionsGet200Response, - GalleryImageVersionsGetDefaultResponse, - GalleryImageVersionsListByGalleryImage200Response, - GalleryImageVersionsListByGalleryImageDefaultResponse, - GalleryImageVersionsUpdate200Response, - GalleryImageVersionsUpdateDefaultResponse, - GalleryImagesCreateOrUpdate200Response, - GalleryImagesCreateOrUpdate201Response, - GalleryImagesCreateOrUpdate202Response, - GalleryImagesCreateOrUpdateDefaultResponse, - GalleryImagesDelete200Response, - GalleryImagesDelete202Response, - GalleryImagesDelete204Response, - GalleryImagesDeleteDefaultResponse, - GalleryImagesGet200Response, - GalleryImagesGetDefaultResponse, - GalleryImagesListByGallery200Response, - GalleryImagesListByGalleryDefaultResponse, - GalleryImagesUpdate200Response, - GalleryImagesUpdateDefaultResponse, - GallerySharingProfileUpdate200Response, - GallerySharingProfileUpdate202Response, - GallerySharingProfileUpdateDefaultResponse, - ImagesCreateOrUpdate200Response, - ImagesCreateOrUpdate201Response, - ImagesCreateOrUpdateDefaultResponse, - ImagesDelete200Response, - ImagesDelete202Response, - ImagesDelete204Response, - ImagesDeleteDefaultResponse, - ImagesGet200Response, - ImagesGetDefaultResponse, - ImagesList200Response, - ImagesListByResourceGroup200Response, - ImagesListByResourceGroupDefaultResponse, - ImagesListDefaultResponse, - ImagesUpdate200Response, - ImagesUpdate201Response, - ImagesUpdateDefaultResponse, - LogAnalyticsExportRequestRateByInterval200Response, - LogAnalyticsExportRequestRateByInterval202Response, - LogAnalyticsExportRequestRateByIntervalDefaultResponse, - LogAnalyticsExportThrottledRequests200Response, - LogAnalyticsExportThrottledRequests202Response, - LogAnalyticsExportThrottledRequestsDefaultResponse, - OperationsList200Response, - OperationsListDefaultResponse, - ProximityPlacementGroupsCreateOrUpdate200Response, - ProximityPlacementGroupsCreateOrUpdate201Response, - ProximityPlacementGroupsCreateOrUpdateDefaultResponse, - ProximityPlacementGroupsDelete200Response, - ProximityPlacementGroupsDeleteDefaultResponse, - ProximityPlacementGroupsGet200Response, - ProximityPlacementGroupsGetDefaultResponse, - ProximityPlacementGroupsListByResourceGroup200Response, - ProximityPlacementGroupsListByResourceGroupDefaultResponse, - ProximityPlacementGroupsListBySubscription200Response, - ProximityPlacementGroupsListBySubscriptionDefaultResponse, - ProximityPlacementGroupsUpdate200Response, - ProximityPlacementGroupsUpdateDefaultResponse, - ResourceSkusList200Response, - RestorePointCollectionsCreateOrUpdate200Response, - RestorePointCollectionsCreateOrUpdate201Response, - RestorePointCollectionsCreateOrUpdateDefaultResponse, - RestorePointCollectionsDelete200Response, - RestorePointCollectionsDelete202Response, - RestorePointCollectionsDelete204Response, - RestorePointCollectionsDeleteDefaultResponse, - RestorePointCollectionsGet200Response, - RestorePointCollectionsGetDefaultResponse, - RestorePointCollectionsList200Response, - RestorePointCollectionsListAll200Response, - RestorePointCollectionsListAllDefaultResponse, - RestorePointCollectionsListDefaultResponse, - RestorePointCollectionsUpdate200Response, - RestorePointCollectionsUpdateDefaultResponse, - RestorePointsCreate201Response, - RestorePointsCreateDefaultResponse, - RestorePointsDelete200Response, - RestorePointsDelete202Response, - RestorePointsDelete204Response, - RestorePointsDeleteDefaultResponse, - RestorePointsGet200Response, - RestorePointsGetDefaultResponse, - SharedGalleriesGet200Response, - SharedGalleriesGetDefaultResponse, - SharedGalleriesList200Response, - SharedGalleriesListDefaultResponse, - SharedGalleryImageVersionsGet200Response, - SharedGalleryImageVersionsGetDefaultResponse, - SharedGalleryImageVersionsList200Response, - SharedGalleryImageVersionsListDefaultResponse, - SharedGalleryImagesGet200Response, - SharedGalleryImagesGetDefaultResponse, - SharedGalleryImagesList200Response, - SharedGalleryImagesListDefaultResponse, - SnapshotsCreateOrUpdate200Response, - SnapshotsCreateOrUpdate202Response, - SnapshotsDelete200Response, - SnapshotsDelete202Response, - SnapshotsDelete204Response, - SnapshotsGet200Response, - SnapshotsGrantAccess200Response, - SnapshotsGrantAccess202Response, - SnapshotsList200Response, - SnapshotsListByResourceGroup200Response, - SnapshotsRevokeAccess200Response, - SnapshotsRevokeAccess202Response, - SnapshotsUpdate200Response, - SnapshotsUpdate202Response, - SshPublicKeysCreate200Response, - SshPublicKeysCreate201Response, - SshPublicKeysCreateDefaultResponse, - SshPublicKeysDelete200Response, - SshPublicKeysDelete204Response, - SshPublicKeysDeleteDefaultResponse, - SshPublicKeysGenerateKeyPair200Response, - SshPublicKeysGenerateKeyPairDefaultResponse, - SshPublicKeysGet200Response, - SshPublicKeysGetDefaultResponse, - SshPublicKeysListByResourceGroup200Response, - SshPublicKeysListByResourceGroupDefaultResponse, - SshPublicKeysListBySubscription200Response, - SshPublicKeysListBySubscriptionDefaultResponse, - SshPublicKeysUpdate200Response, - SshPublicKeysUpdateDefaultResponse, - UsageList200Response, - UsageListDefaultResponse, - VirtualMachineExtensionImagesGet200Response, - VirtualMachineExtensionImagesGetDefaultResponse, - VirtualMachineExtensionImagesListTypes200Response, - VirtualMachineExtensionImagesListTypesDefaultResponse, - VirtualMachineExtensionImagesListVersions200Response, - VirtualMachineExtensionImagesListVersionsDefaultResponse, - VirtualMachineExtensionsCreateOrUpdate200Response, - VirtualMachineExtensionsCreateOrUpdate201Response, - VirtualMachineExtensionsCreateOrUpdateDefaultResponse, - VirtualMachineExtensionsDelete200Response, - VirtualMachineExtensionsDelete202Response, - VirtualMachineExtensionsDelete204Response, - VirtualMachineExtensionsDeleteDefaultResponse, - VirtualMachineExtensionsGet200Response, - VirtualMachineExtensionsGetDefaultResponse, - VirtualMachineExtensionsList200Response, - VirtualMachineExtensionsListDefaultResponse, - VirtualMachineExtensionsUpdate200Response, - VirtualMachineExtensionsUpdateDefaultResponse, - VirtualMachineImagesEdgeZoneGet200Response, - VirtualMachineImagesEdgeZoneGetDefaultResponse, - VirtualMachineImagesEdgeZoneList200Response, - VirtualMachineImagesEdgeZoneListDefaultResponse, - VirtualMachineImagesEdgeZoneListOffers200Response, - VirtualMachineImagesEdgeZoneListOffersDefaultResponse, - VirtualMachineImagesEdgeZoneListPublishers200Response, - VirtualMachineImagesEdgeZoneListPublishersDefaultResponse, - VirtualMachineImagesEdgeZoneListSkus200Response, - VirtualMachineImagesEdgeZoneListSkusDefaultResponse, - VirtualMachineImagesGet200Response, - VirtualMachineImagesGetDefaultResponse, - VirtualMachineImagesList200Response, - VirtualMachineImagesListByEdgeZone200Response, - VirtualMachineImagesListByEdgeZoneDefaultResponse, - VirtualMachineImagesListDefaultResponse, - VirtualMachineImagesListOffers200Response, - VirtualMachineImagesListOffersDefaultResponse, - VirtualMachineImagesListPublishers200Response, - VirtualMachineImagesListPublishersDefaultResponse, - VirtualMachineImagesListSkus200Response, - VirtualMachineImagesListSkusDefaultResponse, - VirtualMachineRunCommandsCreateOrUpdate200Response, - VirtualMachineRunCommandsCreateOrUpdate201Response, - VirtualMachineRunCommandsCreateOrUpdateDefaultResponse, - VirtualMachineRunCommandsDelete200Response, - VirtualMachineRunCommandsDelete202Response, - VirtualMachineRunCommandsDelete204Response, - VirtualMachineRunCommandsDeleteDefaultResponse, - VirtualMachineRunCommandsGet200Response, - VirtualMachineRunCommandsGetByVirtualMachine200Response, - VirtualMachineRunCommandsGetByVirtualMachineDefaultResponse, - VirtualMachineRunCommandsList200Response, - VirtualMachineRunCommandsListByVirtualMachine200Response, - VirtualMachineRunCommandsListByVirtualMachineDefaultResponse, - VirtualMachineRunCommandsUpdate200Response, - VirtualMachineRunCommandsUpdateDefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, + UsageList200Response, + UsageListDefaultResponse, + VirtualMachineSizesList200Response, + VirtualMachineSizesListDefaultResponse, + VirtualMachineScaleSetsListByLocation200Response, + VirtualMachineScaleSetsListByLocationDefaultResponse, + VirtualMachineScaleSetsCreateOrUpdate200Response, + VirtualMachineScaleSetsCreateOrUpdate201Response, + VirtualMachineScaleSetsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetsUpdate200Response, + VirtualMachineScaleSetsUpdateDefaultResponse, + VirtualMachineScaleSetsDelete200Response, + VirtualMachineScaleSetsDelete202Response, + VirtualMachineScaleSetsDelete204Response, + VirtualMachineScaleSetsDeleteDefaultResponse, + VirtualMachineScaleSetsGet200Response, + VirtualMachineScaleSetsGetDefaultResponse, + VirtualMachineScaleSetsDeallocate200Response, + VirtualMachineScaleSetsDeallocate202Response, + VirtualMachineScaleSetsDeallocateDefaultResponse, + VirtualMachineScaleSetsDeleteInstances200Response, + VirtualMachineScaleSetsDeleteInstances202Response, + VirtualMachineScaleSetsDeleteInstancesDefaultResponse, + VirtualMachineScaleSetsGetInstanceView200Response, + VirtualMachineScaleSetsGetInstanceViewDefaultResponse, + VirtualMachineScaleSetsList200Response, + VirtualMachineScaleSetsListDefaultResponse, + VirtualMachineScaleSetsListAll200Response, + VirtualMachineScaleSetsListAllDefaultResponse, + VirtualMachineScaleSetsListSkus200Response, + VirtualMachineScaleSetsListSkusDefaultResponse, + VirtualMachineScaleSetsGetOSUpgradeHistory200Response, + VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse, + VirtualMachineScaleSetsPowerOff200Response, + VirtualMachineScaleSetsPowerOff202Response, + VirtualMachineScaleSetsPowerOffDefaultResponse, + VirtualMachineScaleSetsRestart200Response, + VirtualMachineScaleSetsRestart202Response, + VirtualMachineScaleSetsRestartDefaultResponse, + VirtualMachineScaleSetsStart200Response, + VirtualMachineScaleSetsStart202Response, + VirtualMachineScaleSetsStartDefaultResponse, + VirtualMachineScaleSetsRedeploy200Response, + VirtualMachineScaleSetsRedeploy202Response, + VirtualMachineScaleSetsRedeployDefaultResponse, + VirtualMachineScaleSetsPerformMaintenance200Response, + VirtualMachineScaleSetsPerformMaintenance202Response, + VirtualMachineScaleSetsPerformMaintenanceDefaultResponse, + VirtualMachineScaleSetsUpdateInstances200Response, + VirtualMachineScaleSetsUpdateInstances202Response, + VirtualMachineScaleSetsUpdateInstancesDefaultResponse, + VirtualMachineScaleSetsReimage200Response, + VirtualMachineScaleSetsReimage202Response, + VirtualMachineScaleSetsReimageDefaultResponse, + VirtualMachineScaleSetsReimageAll200Response, + VirtualMachineScaleSetsReimageAll202Response, + VirtualMachineScaleSetsReimageAllDefaultResponse, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse, + VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response, + VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse, + VirtualMachineScaleSetsSetOrchestrationServiceState200Response, + VirtualMachineScaleSetsSetOrchestrationServiceState202Response, + VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse, VirtualMachineScaleSetExtensionsCreateOrUpdate200Response, VirtualMachineScaleSetExtensionsCreateOrUpdate201Response, VirtualMachineScaleSetExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetExtensionsUpdate200Response, + VirtualMachineScaleSetExtensionsUpdate201Response, + VirtualMachineScaleSetExtensionsUpdateDefaultResponse, VirtualMachineScaleSetExtensionsDelete200Response, VirtualMachineScaleSetExtensionsDelete202Response, VirtualMachineScaleSetExtensionsDelete204Response, @@ -757,23 +363,22 @@ import type { VirtualMachineScaleSetExtensionsGetDefaultResponse, VirtualMachineScaleSetExtensionsList200Response, VirtualMachineScaleSetExtensionsListDefaultResponse, - VirtualMachineScaleSetExtensionsUpdate200Response, - VirtualMachineScaleSetExtensionsUpdate201Response, - VirtualMachineScaleSetExtensionsUpdateDefaultResponse, VirtualMachineScaleSetRollingUpgradesCancel200Response, VirtualMachineScaleSetRollingUpgradesCancel202Response, VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse, - VirtualMachineScaleSetRollingUpgradesGetLatest200Response, - VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse, VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response, VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response, VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultResponse, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse, + VirtualMachineScaleSetRollingUpgradesGetLatest200Response, + VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse, VirtualMachineScaleSetVMExtensionsCreateOrUpdate200Response, VirtualMachineScaleSetVMExtensionsCreateOrUpdate201Response, VirtualMachineScaleSetVMExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetVMExtensionsUpdate200Response, + VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse, VirtualMachineScaleSetVMExtensionsDelete200Response, VirtualMachineScaleSetVMExtensionsDelete202Response, VirtualMachineScaleSetVMExtensionsDelete204Response, @@ -782,24 +387,18 @@ import type { VirtualMachineScaleSetVMExtensionsGetDefaultResponse, VirtualMachineScaleSetVMExtensionsList200Response, VirtualMachineScaleSetVMExtensionsListDefaultResponse, - VirtualMachineScaleSetVMExtensionsUpdate200Response, - VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdate200Response, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdate201Response, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetVMRunCommandsDelete200Response, - VirtualMachineScaleSetVMRunCommandsDelete202Response, - VirtualMachineScaleSetVMRunCommandsDelete204Response, - VirtualMachineScaleSetVMRunCommandsDeleteDefaultResponse, - VirtualMachineScaleSetVMRunCommandsGet200Response, - VirtualMachineScaleSetVMRunCommandsGetDefaultResponse, - VirtualMachineScaleSetVMRunCommandsList200Response, - VirtualMachineScaleSetVMRunCommandsListDefaultResponse, - VirtualMachineScaleSetVMRunCommandsUpdate200Response, - VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse, + VirtualMachineScaleSetVMsReimage200Response, + VirtualMachineScaleSetVMsReimage202Response, + VirtualMachineScaleSetVMsReimageDefaultResponse, + VirtualMachineScaleSetVMsReimageAll200Response, + VirtualMachineScaleSetVMsReimageAll202Response, + VirtualMachineScaleSetVMsReimageAllDefaultResponse, VirtualMachineScaleSetVMsDeallocate200Response, VirtualMachineScaleSetVMsDeallocate202Response, VirtualMachineScaleSetVMsDeallocateDefaultResponse, + VirtualMachineScaleSetVMsUpdate200Response, + VirtualMachineScaleSetVMsUpdate202Response, + VirtualMachineScaleSetVMsUpdateDefaultResponse, VirtualMachineScaleSetVMsDelete200Response, VirtualMachineScaleSetVMsDelete202Response, VirtualMachineScaleSetVMsDelete204Response, @@ -810,163 +409,564 @@ import type { VirtualMachineScaleSetVMsGetInstanceViewDefaultResponse, VirtualMachineScaleSetVMsList200Response, VirtualMachineScaleSetVMsListDefaultResponse, - VirtualMachineScaleSetVMsPerformMaintenance200Response, - VirtualMachineScaleSetVMsPerformMaintenance202Response, - VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse, VirtualMachineScaleSetVMsPowerOff200Response, VirtualMachineScaleSetVMsPowerOff202Response, VirtualMachineScaleSetVMsPowerOffDefaultResponse, - VirtualMachineScaleSetVMsRedeploy200Response, - VirtualMachineScaleSetVMsRedeploy202Response, - VirtualMachineScaleSetVMsRedeployDefaultResponse, - VirtualMachineScaleSetVMsReimage200Response, - VirtualMachineScaleSetVMsReimage202Response, - VirtualMachineScaleSetVMsReimageAll200Response, - VirtualMachineScaleSetVMsReimageAll202Response, - VirtualMachineScaleSetVMsReimageAllDefaultResponse, - VirtualMachineScaleSetVMsReimageDefaultResponse, VirtualMachineScaleSetVMsRestart200Response, VirtualMachineScaleSetVMsRestart202Response, VirtualMachineScaleSetVMsRestartDefaultResponse, + VirtualMachineScaleSetVMsStart200Response, + VirtualMachineScaleSetVMsStart202Response, + VirtualMachineScaleSetVMsStartDefaultResponse, + VirtualMachineScaleSetVMsRedeploy200Response, + VirtualMachineScaleSetVMsRedeploy202Response, + VirtualMachineScaleSetVMsRedeployDefaultResponse, VirtualMachineScaleSetVMsRetrieveBootDiagnosticsData200Response, VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResponse, - VirtualMachineScaleSetVMsRunCommand200Response, - VirtualMachineScaleSetVMsRunCommand202Response, + VirtualMachineScaleSetVMsPerformMaintenance200Response, + VirtualMachineScaleSetVMsPerformMaintenance202Response, + VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse, VirtualMachineScaleSetVMsSimulateEviction204Response, VirtualMachineScaleSetVMsSimulateEvictionDefaultResponse, - VirtualMachineScaleSetVMsStart200Response, - VirtualMachineScaleSetVMsStart202Response, - VirtualMachineScaleSetVMsStartDefaultResponse, - VirtualMachineScaleSetVMsUpdate200Response, - VirtualMachineScaleSetVMsUpdate202Response, - VirtualMachineScaleSetVMsUpdateDefaultResponse, - VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response, - VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse, - VirtualMachineScaleSetsCreateOrUpdate200Response, - VirtualMachineScaleSetsCreateOrUpdate201Response, - VirtualMachineScaleSetsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetsDeallocate200Response, - VirtualMachineScaleSetsDeallocate202Response, - VirtualMachineScaleSetsDeallocateDefaultResponse, - VirtualMachineScaleSetsDelete200Response, - VirtualMachineScaleSetsDelete202Response, - VirtualMachineScaleSetsDelete204Response, - VirtualMachineScaleSetsDeleteDefaultResponse, - VirtualMachineScaleSetsDeleteInstances200Response, - VirtualMachineScaleSetsDeleteInstances202Response, - VirtualMachineScaleSetsDeleteInstancesDefaultResponse, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse, - VirtualMachineScaleSetsGet200Response, - VirtualMachineScaleSetsGetDefaultResponse, - VirtualMachineScaleSetsGetInstanceView200Response, - VirtualMachineScaleSetsGetInstanceViewDefaultResponse, - VirtualMachineScaleSetsGetOSUpgradeHistory200Response, - VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse, - VirtualMachineScaleSetsList200Response, - VirtualMachineScaleSetsListAll200Response, - VirtualMachineScaleSetsListAllDefaultResponse, - VirtualMachineScaleSetsListByLocation200Response, - VirtualMachineScaleSetsListByLocationDefaultResponse, - VirtualMachineScaleSetsListDefaultResponse, - VirtualMachineScaleSetsListSkus200Response, - VirtualMachineScaleSetsListSkusDefaultResponse, - VirtualMachineScaleSetsPerformMaintenance200Response, - VirtualMachineScaleSetsPerformMaintenance202Response, - VirtualMachineScaleSetsPerformMaintenanceDefaultResponse, - VirtualMachineScaleSetsPowerOff200Response, - VirtualMachineScaleSetsPowerOff202Response, - VirtualMachineScaleSetsPowerOffDefaultResponse, - VirtualMachineScaleSetsRedeploy200Response, - VirtualMachineScaleSetsRedeploy202Response, - VirtualMachineScaleSetsRedeployDefaultResponse, - VirtualMachineScaleSetsReimage200Response, - VirtualMachineScaleSetsReimage202Response, - VirtualMachineScaleSetsReimageAll200Response, - VirtualMachineScaleSetsReimageAll202Response, - VirtualMachineScaleSetsReimageAllDefaultResponse, - VirtualMachineScaleSetsReimageDefaultResponse, - VirtualMachineScaleSetsRestart200Response, - VirtualMachineScaleSetsRestart202Response, - VirtualMachineScaleSetsRestartDefaultResponse, - VirtualMachineScaleSetsSetOrchestrationServiceState200Response, - VirtualMachineScaleSetsSetOrchestrationServiceState202Response, - VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse, - VirtualMachineScaleSetsStart200Response, - VirtualMachineScaleSetsStart202Response, - VirtualMachineScaleSetsStartDefaultResponse, - VirtualMachineScaleSetsUpdate200Response, - VirtualMachineScaleSetsUpdateDefaultResponse, - VirtualMachineScaleSetsUpdateInstances200Response, - VirtualMachineScaleSetsUpdateInstances202Response, - VirtualMachineScaleSetsUpdateInstancesDefaultResponse, - VirtualMachineSizesList200Response, - VirtualMachineSizesListDefaultResponse, - VirtualMachinesAssessPatches200Response, - VirtualMachinesAssessPatches202Response, - VirtualMachinesAssessPatchesDefaultResponse, + VirtualMachineScaleSetVMsRunCommand200Response, + VirtualMachineScaleSetVMsRunCommand202Response, + VirtualMachineExtensionsCreateOrUpdate200Response, + VirtualMachineExtensionsCreateOrUpdate201Response, + VirtualMachineExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineExtensionsUpdate200Response, + VirtualMachineExtensionsUpdateDefaultResponse, + VirtualMachineExtensionsDelete200Response, + VirtualMachineExtensionsDelete202Response, + VirtualMachineExtensionsDelete204Response, + VirtualMachineExtensionsDeleteDefaultResponse, + VirtualMachineExtensionsGet200Response, + VirtualMachineExtensionsGetDefaultResponse, + VirtualMachineExtensionsList200Response, + VirtualMachineExtensionsListDefaultResponse, + VirtualMachinesListByLocation200Response, + VirtualMachinesListByLocationDefaultResponse, VirtualMachinesCapture200Response, VirtualMachinesCapture202Response, - VirtualMachinesCaptureDefaultResponse, - VirtualMachinesConvertToManagedDisks200Response, - VirtualMachinesConvertToManagedDisks202Response, - VirtualMachinesConvertToManagedDisksDefaultResponse, + VirtualMachinesCaptureDefaultResponse, VirtualMachinesCreateOrUpdate200Response, VirtualMachinesCreateOrUpdate201Response, VirtualMachinesCreateOrUpdateDefaultResponse, - VirtualMachinesDeallocate200Response, - VirtualMachinesDeallocate202Response, - VirtualMachinesDeallocateDefaultResponse, + VirtualMachinesUpdate200Response, + VirtualMachinesUpdateDefaultResponse, VirtualMachinesDelete200Response, VirtualMachinesDelete202Response, VirtualMachinesDelete204Response, VirtualMachinesDeleteDefaultResponse, - VirtualMachinesGeneralize200Response, - VirtualMachinesGeneralizeDefaultResponse, VirtualMachinesGet200Response, VirtualMachinesGetDefaultResponse, - VirtualMachinesInstallPatches200Response, - VirtualMachinesInstallPatches202Response, - VirtualMachinesInstallPatchesDefaultResponse, VirtualMachinesInstanceView200Response, VirtualMachinesInstanceViewDefaultResponse, + VirtualMachinesConvertToManagedDisks200Response, + VirtualMachinesConvertToManagedDisks202Response, + VirtualMachinesConvertToManagedDisksDefaultResponse, + VirtualMachinesDeallocate200Response, + VirtualMachinesDeallocate202Response, + VirtualMachinesDeallocateDefaultResponse, + VirtualMachinesGeneralize200Response, + VirtualMachinesGeneralizeDefaultResponse, VirtualMachinesList200Response, + VirtualMachinesListDefaultResponse, VirtualMachinesListAll200Response, VirtualMachinesListAllDefaultResponse, VirtualMachinesListAvailableSizes200Response, VirtualMachinesListAvailableSizesDefaultResponse, - VirtualMachinesListByLocation200Response, - VirtualMachinesListByLocationDefaultResponse, - VirtualMachinesListDefaultResponse, - VirtualMachinesPerformMaintenance200Response, - VirtualMachinesPerformMaintenance202Response, - VirtualMachinesPerformMaintenanceDefaultResponse, VirtualMachinesPowerOff200Response, VirtualMachinesPowerOff202Response, VirtualMachinesPowerOffDefaultResponse, VirtualMachinesReapply200Response, VirtualMachinesReapply202Response, VirtualMachinesReapplyDefaultResponse, + VirtualMachinesRestart200Response, + VirtualMachinesRestart202Response, + VirtualMachinesRestartDefaultResponse, + VirtualMachinesStart200Response, + VirtualMachinesStart202Response, + VirtualMachinesStartDefaultResponse, VirtualMachinesRedeploy200Response, VirtualMachinesRedeploy202Response, VirtualMachinesRedeployDefaultResponse, VirtualMachinesReimage200Response, VirtualMachinesReimage202Response, VirtualMachinesReimageDefaultResponse, - VirtualMachinesRestart200Response, - VirtualMachinesRestart202Response, - VirtualMachinesRestartDefaultResponse, VirtualMachinesRetrieveBootDiagnosticsData200Response, VirtualMachinesRetrieveBootDiagnosticsDataDefaultResponse, - VirtualMachinesRunCommand200Response, - VirtualMachinesRunCommand202Response, + VirtualMachinesPerformMaintenance200Response, + VirtualMachinesPerformMaintenance202Response, + VirtualMachinesPerformMaintenanceDefaultResponse, VirtualMachinesSimulateEviction204Response, VirtualMachinesSimulateEvictionDefaultResponse, - VirtualMachinesStart200Response, - VirtualMachinesStart202Response, - VirtualMachinesStartDefaultResponse, - VirtualMachinesUpdate200Response, - VirtualMachinesUpdateDefaultResponse, + VirtualMachinesAssessPatches200Response, + VirtualMachinesAssessPatches202Response, + VirtualMachinesAssessPatchesDefaultResponse, + VirtualMachinesInstallPatches200Response, + VirtualMachinesInstallPatches202Response, + VirtualMachinesInstallPatchesDefaultResponse, + VirtualMachinesRunCommand200Response, + VirtualMachinesRunCommand202Response, + VirtualMachineImagesGet200Response, + VirtualMachineImagesGetDefaultResponse, + VirtualMachineImagesList200Response, + VirtualMachineImagesListDefaultResponse, + VirtualMachineImagesListOffers200Response, + VirtualMachineImagesListOffersDefaultResponse, + VirtualMachineImagesListPublishers200Response, + VirtualMachineImagesListPublishersDefaultResponse, + VirtualMachineImagesListSkus200Response, + VirtualMachineImagesListSkusDefaultResponse, + VirtualMachineImagesListByEdgeZone200Response, + VirtualMachineImagesListByEdgeZoneDefaultResponse, + VirtualMachineImagesEdgeZoneGet200Response, + VirtualMachineImagesEdgeZoneGetDefaultResponse, + VirtualMachineImagesEdgeZoneList200Response, + VirtualMachineImagesEdgeZoneListDefaultResponse, + VirtualMachineImagesEdgeZoneListOffers200Response, + VirtualMachineImagesEdgeZoneListOffersDefaultResponse, + VirtualMachineImagesEdgeZoneListPublishers200Response, + VirtualMachineImagesEdgeZoneListPublishersDefaultResponse, + VirtualMachineImagesEdgeZoneListSkus200Response, + VirtualMachineImagesEdgeZoneListSkusDefaultResponse, + VirtualMachineExtensionImagesGet200Response, + VirtualMachineExtensionImagesGetDefaultResponse, + VirtualMachineExtensionImagesListTypes200Response, + VirtualMachineExtensionImagesListTypesDefaultResponse, + VirtualMachineExtensionImagesListVersions200Response, + VirtualMachineExtensionImagesListVersionsDefaultResponse, + AvailabilitySetsCreateOrUpdate200Response, + AvailabilitySetsCreateOrUpdateDefaultResponse, + AvailabilitySetsUpdate200Response, + AvailabilitySetsUpdateDefaultResponse, + AvailabilitySetsDelete200Response, + AvailabilitySetsDelete204Response, + AvailabilitySetsDeleteDefaultResponse, + AvailabilitySetsGet200Response, + AvailabilitySetsGetDefaultResponse, + AvailabilitySetsListBySubscription200Response, + AvailabilitySetsListBySubscriptionDefaultResponse, + AvailabilitySetsList200Response, + AvailabilitySetsListDefaultResponse, + AvailabilitySetsListAvailableSizes200Response, + AvailabilitySetsListAvailableSizesDefaultResponse, + ProximityPlacementGroupsCreateOrUpdate200Response, + ProximityPlacementGroupsCreateOrUpdate201Response, + ProximityPlacementGroupsCreateOrUpdateDefaultResponse, + ProximityPlacementGroupsUpdate200Response, + ProximityPlacementGroupsUpdateDefaultResponse, + ProximityPlacementGroupsDelete200Response, + ProximityPlacementGroupsDeleteDefaultResponse, + ProximityPlacementGroupsGet200Response, + ProximityPlacementGroupsGetDefaultResponse, + ProximityPlacementGroupsListBySubscription200Response, + ProximityPlacementGroupsListBySubscriptionDefaultResponse, + ProximityPlacementGroupsListByResourceGroup200Response, + ProximityPlacementGroupsListByResourceGroupDefaultResponse, + DedicatedHostGroupsCreateOrUpdate200Response, + DedicatedHostGroupsCreateOrUpdate201Response, + DedicatedHostGroupsCreateOrUpdateDefaultResponse, + DedicatedHostGroupsUpdate200Response, + DedicatedHostGroupsUpdateDefaultResponse, + DedicatedHostGroupsDelete200Response, + DedicatedHostGroupsDelete204Response, + DedicatedHostGroupsDeleteDefaultResponse, + DedicatedHostGroupsGet200Response, + DedicatedHostGroupsGetDefaultResponse, + DedicatedHostGroupsListByResourceGroup200Response, + DedicatedHostGroupsListByResourceGroupDefaultResponse, + DedicatedHostGroupsListBySubscription200Response, + DedicatedHostGroupsListBySubscriptionDefaultResponse, + DedicatedHostsCreateOrUpdate200Response, + DedicatedHostsCreateOrUpdate201Response, + DedicatedHostsCreateOrUpdateDefaultResponse, + DedicatedHostsUpdate200Response, + DedicatedHostsUpdateDefaultResponse, + DedicatedHostsDelete200Response, + DedicatedHostsDelete202Response, + DedicatedHostsDelete204Response, + DedicatedHostsDeleteDefaultResponse, + DedicatedHostsGet200Response, + DedicatedHostsGetDefaultResponse, + DedicatedHostsListByHostGroup200Response, + DedicatedHostsListByHostGroupDefaultResponse, + DedicatedHostsRestart200Response, + DedicatedHostsRestartDefaultResponse, + SshPublicKeysListBySubscription200Response, + SshPublicKeysListBySubscriptionDefaultResponse, + SshPublicKeysListByResourceGroup200Response, + SshPublicKeysListByResourceGroupDefaultResponse, + SshPublicKeysCreate200Response, + SshPublicKeysCreate201Response, + SshPublicKeysCreateDefaultResponse, + SshPublicKeysUpdate200Response, + SshPublicKeysUpdateDefaultResponse, + SshPublicKeysDelete200Response, + SshPublicKeysDelete204Response, + SshPublicKeysDeleteDefaultResponse, + SshPublicKeysGet200Response, + SshPublicKeysGetDefaultResponse, + SshPublicKeysGenerateKeyPair200Response, + SshPublicKeysGenerateKeyPairDefaultResponse, + ImagesCreateOrUpdate200Response, + ImagesCreateOrUpdate201Response, + ImagesCreateOrUpdateDefaultResponse, + ImagesUpdate200Response, + ImagesUpdate201Response, + ImagesUpdateDefaultResponse, + ImagesDelete200Response, + ImagesDelete202Response, + ImagesDelete204Response, + ImagesDeleteDefaultResponse, + ImagesGet200Response, + ImagesGetDefaultResponse, + ImagesListByResourceGroup200Response, + ImagesListByResourceGroupDefaultResponse, + ImagesList200Response, + ImagesListDefaultResponse, + RestorePointCollectionsCreateOrUpdate200Response, + RestorePointCollectionsCreateOrUpdate201Response, + RestorePointCollectionsCreateOrUpdateDefaultResponse, + RestorePointCollectionsUpdate200Response, + RestorePointCollectionsUpdateDefaultResponse, + RestorePointCollectionsDelete200Response, + RestorePointCollectionsDelete202Response, + RestorePointCollectionsDelete204Response, + RestorePointCollectionsDeleteDefaultResponse, + RestorePointCollectionsGet200Response, + RestorePointCollectionsGetDefaultResponse, + RestorePointCollectionsList200Response, + RestorePointCollectionsListDefaultResponse, + RestorePointCollectionsListAll200Response, + RestorePointCollectionsListAllDefaultResponse, + RestorePointsCreate201Response, + RestorePointsCreateDefaultResponse, + RestorePointsDelete200Response, + RestorePointsDelete202Response, + RestorePointsDelete204Response, + RestorePointsDeleteDefaultResponse, + RestorePointsGet200Response, + RestorePointsGetDefaultResponse, + CapacityReservationGroupsCreateOrUpdate200Response, + CapacityReservationGroupsCreateOrUpdate201Response, + CapacityReservationGroupsCreateOrUpdateDefaultResponse, + CapacityReservationGroupsUpdate200Response, + CapacityReservationGroupsUpdateDefaultResponse, + CapacityReservationGroupsDelete200Response, + CapacityReservationGroupsDelete204Response, + CapacityReservationGroupsDeleteDefaultResponse, + CapacityReservationGroupsGet200Response, + CapacityReservationGroupsGetDefaultResponse, + CapacityReservationGroupsListByResourceGroup200Response, + CapacityReservationGroupsListByResourceGroupDefaultResponse, + CapacityReservationGroupsListBySubscription200Response, + CapacityReservationGroupsListBySubscriptionDefaultResponse, + CapacityReservationsCreateOrUpdate200Response, + CapacityReservationsCreateOrUpdate201Response, + CapacityReservationsCreateOrUpdateDefaultResponse, + CapacityReservationsUpdate200Response, + CapacityReservationsUpdate202Response, + CapacityReservationsUpdateDefaultResponse, + CapacityReservationsDelete200Response, + CapacityReservationsDelete202Response, + CapacityReservationsDelete204Response, + CapacityReservationsDeleteDefaultResponse, + CapacityReservationsGet200Response, + CapacityReservationsGetDefaultResponse, + CapacityReservationsListByCapacityReservationGroup200Response, + CapacityReservationsListByCapacityReservationGroupDefaultResponse, + LogAnalyticsExportRequestRateByInterval200Response, + LogAnalyticsExportRequestRateByInterval202Response, + LogAnalyticsExportRequestRateByIntervalDefaultResponse, + LogAnalyticsExportThrottledRequests200Response, + LogAnalyticsExportThrottledRequests202Response, + LogAnalyticsExportThrottledRequestsDefaultResponse, + VirtualMachineRunCommandsList200Response, + VirtualMachineRunCommandsGet200Response, + VirtualMachineRunCommandsCreateOrUpdate200Response, + VirtualMachineRunCommandsCreateOrUpdate201Response, + VirtualMachineRunCommandsCreateOrUpdateDefaultResponse, + VirtualMachineRunCommandsUpdate200Response, + VirtualMachineRunCommandsUpdateDefaultResponse, + VirtualMachineRunCommandsDelete200Response, + VirtualMachineRunCommandsDelete202Response, + VirtualMachineRunCommandsDelete204Response, + VirtualMachineRunCommandsDeleteDefaultResponse, + VirtualMachineRunCommandsGetByVirtualMachine200Response, + VirtualMachineRunCommandsGetByVirtualMachineDefaultResponse, + VirtualMachineRunCommandsListByVirtualMachine200Response, + VirtualMachineRunCommandsListByVirtualMachineDefaultResponse, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdate200Response, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdate201Response, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetVMRunCommandsUpdate200Response, + VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse, + VirtualMachineScaleSetVMRunCommandsDelete200Response, + VirtualMachineScaleSetVMRunCommandsDelete202Response, + VirtualMachineScaleSetVMRunCommandsDelete204Response, + VirtualMachineScaleSetVMRunCommandsDeleteDefaultResponse, + VirtualMachineScaleSetVMRunCommandsGet200Response, + VirtualMachineScaleSetVMRunCommandsGetDefaultResponse, + VirtualMachineScaleSetVMRunCommandsList200Response, + VirtualMachineScaleSetVMRunCommandsListDefaultResponse, + DisksCreateOrUpdate200Response, + DisksCreateOrUpdate202Response, + DisksUpdate200Response, + DisksUpdate202Response, + DisksGet200Response, + DisksDelete200Response, + DisksDelete202Response, + DisksDelete204Response, + DisksListByResourceGroup200Response, + DisksList200Response, + DisksGrantAccess200Response, + DisksGrantAccess202Response, + DisksRevokeAccess200Response, + DisksRevokeAccess202Response, + DiskAccessesCreateOrUpdate200Response, + DiskAccessesCreateOrUpdate202Response, + DiskAccessesCreateOrUpdateDefaultResponse, + DiskAccessesUpdate200Response, + DiskAccessesUpdate202Response, + DiskAccessesUpdateDefaultResponse, + DiskAccessesGet200Response, + DiskAccessesGetDefaultResponse, + DiskAccessesDelete200Response, + DiskAccessesDelete202Response, + DiskAccessesDelete204Response, + DiskAccessesDeleteDefaultResponse, + DiskAccessesListByResourceGroup200Response, + DiskAccessesListByResourceGroupDefaultResponse, + DiskAccessesList200Response, + DiskAccessesListDefaultResponse, + DiskAccessesGetPrivateLinkResources200Response, + DiskAccessesUpdateAPrivateEndpointConnection200Response, + DiskAccessesUpdateAPrivateEndpointConnection202Response, + DiskAccessesUpdateAPrivateEndpointConnectionDefaultResponse, + DiskAccessesGetAPrivateEndpointConnection200Response, + DiskAccessesGetAPrivateEndpointConnectionDefaultResponse, + DiskAccessesDeleteAPrivateEndpointConnection200Response, + DiskAccessesDeleteAPrivateEndpointConnection202Response, + DiskAccessesDeleteAPrivateEndpointConnection204Response, + DiskAccessesDeleteAPrivateEndpointConnectionDefaultResponse, + DiskAccessesListPrivateEndpointConnections200Response, + DiskAccessesListPrivateEndpointConnectionsDefaultResponse, + DiskEncryptionSetsCreateOrUpdate200Response, + DiskEncryptionSetsCreateOrUpdate202Response, + DiskEncryptionSetsCreateOrUpdateDefaultResponse, + DiskEncryptionSetsUpdate200Response, + DiskEncryptionSetsUpdate202Response, + DiskEncryptionSetsUpdateDefaultResponse, + DiskEncryptionSetsGet200Response, + DiskEncryptionSetsGetDefaultResponse, + DiskEncryptionSetsDelete200Response, + DiskEncryptionSetsDelete202Response, + DiskEncryptionSetsDelete204Response, + DiskEncryptionSetsDeleteDefaultResponse, + DiskEncryptionSetsListByResourceGroup200Response, + DiskEncryptionSetsListByResourceGroupDefaultResponse, + DiskEncryptionSetsList200Response, + DiskEncryptionSetsListDefaultResponse, + DiskEncryptionSetsListAssociatedResources200Response, + DiskEncryptionSetsListAssociatedResourcesDefaultResponse, + DiskRestorePointGet200Response, + DiskRestorePointGetDefaultResponse, + DiskRestorePointListByRestorePoint200Response, + DiskRestorePointListByRestorePointDefaultResponse, + DiskRestorePointGrantAccess200Response, + DiskRestorePointGrantAccess202Response, + DiskRestorePointGrantAccessDefaultResponse, + DiskRestorePointRevokeAccess200Response, + DiskRestorePointRevokeAccess202Response, + DiskRestorePointRevokeAccessDefaultResponse, + SnapshotsCreateOrUpdate200Response, + SnapshotsCreateOrUpdate202Response, + SnapshotsUpdate200Response, + SnapshotsUpdate202Response, + SnapshotsGet200Response, + SnapshotsDelete200Response, + SnapshotsDelete202Response, + SnapshotsDelete204Response, + SnapshotsListByResourceGroup200Response, + SnapshotsList200Response, + SnapshotsGrantAccess200Response, + SnapshotsGrantAccess202Response, + SnapshotsRevokeAccess200Response, + SnapshotsRevokeAccess202Response, + ResourceSkusList200Response, + GalleriesCreateOrUpdate200Response, + GalleriesCreateOrUpdate201Response, + GalleriesCreateOrUpdate202Response, + GalleriesCreateOrUpdateDefaultResponse, + GalleriesUpdate200Response, + GalleriesUpdateDefaultResponse, + GalleriesGet200Response, + GalleriesGetDefaultResponse, + GalleriesDelete200Response, + GalleriesDelete202Response, + GalleriesDelete204Response, + GalleriesDeleteDefaultResponse, + GalleriesListByResourceGroup200Response, + GalleriesListByResourceGroupDefaultResponse, + GalleriesList200Response, + GalleriesListDefaultResponse, + GalleryImagesCreateOrUpdate200Response, + GalleryImagesCreateOrUpdate201Response, + GalleryImagesCreateOrUpdate202Response, + GalleryImagesCreateOrUpdateDefaultResponse, + GalleryImagesUpdate200Response, + GalleryImagesUpdateDefaultResponse, + GalleryImagesGet200Response, + GalleryImagesGetDefaultResponse, + GalleryImagesDelete200Response, + GalleryImagesDelete202Response, + GalleryImagesDelete204Response, + GalleryImagesDeleteDefaultResponse, + GalleryImagesListByGallery200Response, + GalleryImagesListByGalleryDefaultResponse, + GalleryImageVersionsCreateOrUpdate200Response, + GalleryImageVersionsCreateOrUpdate201Response, + GalleryImageVersionsCreateOrUpdate202Response, + GalleryImageVersionsCreateOrUpdateDefaultResponse, + GalleryImageVersionsUpdate200Response, + GalleryImageVersionsUpdateDefaultResponse, + GalleryImageVersionsGet200Response, + GalleryImageVersionsGetDefaultResponse, + GalleryImageVersionsDelete200Response, + GalleryImageVersionsDelete202Response, + GalleryImageVersionsDelete204Response, + GalleryImageVersionsDeleteDefaultResponse, + GalleryImageVersionsListByGalleryImage200Response, + GalleryImageVersionsListByGalleryImageDefaultResponse, + GalleryApplicationsCreateOrUpdate200Response, + GalleryApplicationsCreateOrUpdate201Response, + GalleryApplicationsCreateOrUpdate202Response, + GalleryApplicationsCreateOrUpdateDefaultResponse, + GalleryApplicationsUpdate200Response, + GalleryApplicationsUpdateDefaultResponse, + GalleryApplicationsGet200Response, + GalleryApplicationsGetDefaultResponse, + GalleryApplicationsDelete200Response, + GalleryApplicationsDelete202Response, + GalleryApplicationsDelete204Response, + GalleryApplicationsDeleteDefaultResponse, + GalleryApplicationsListByGallery200Response, + GalleryApplicationsListByGalleryDefaultResponse, + GalleryApplicationVersionsCreateOrUpdate200Response, + GalleryApplicationVersionsCreateOrUpdate201Response, + GalleryApplicationVersionsCreateOrUpdate202Response, + GalleryApplicationVersionsCreateOrUpdateDefaultResponse, + GalleryApplicationVersionsUpdate200Response, + GalleryApplicationVersionsUpdateDefaultResponse, + GalleryApplicationVersionsGet200Response, + GalleryApplicationVersionsGetDefaultResponse, + GalleryApplicationVersionsDelete200Response, + GalleryApplicationVersionsDelete202Response, + GalleryApplicationVersionsDelete204Response, + GalleryApplicationVersionsDeleteDefaultResponse, + GalleryApplicationVersionsListByGalleryApplication200Response, + GalleryApplicationVersionsListByGalleryApplicationDefaultResponse, + GallerySharingProfileUpdate200Response, + GallerySharingProfileUpdate202Response, + GallerySharingProfileUpdateDefaultResponse, + SharedGalleriesList200Response, + SharedGalleriesListDefaultResponse, + SharedGalleriesGet200Response, + SharedGalleriesGetDefaultResponse, + SharedGalleryImagesList200Response, + SharedGalleryImagesListDefaultResponse, + SharedGalleryImagesGet200Response, + SharedGalleryImagesGetDefaultResponse, + SharedGalleryImageVersionsList200Response, + SharedGalleryImageVersionsListDefaultResponse, + SharedGalleryImageVersionsGet200Response, + SharedGalleryImageVersionsGetDefaultResponse, + CommunityGalleriesGet200Response, + CommunityGalleriesGetDefaultResponse, + CommunityGalleryImagesGet200Response, + CommunityGalleryImagesGetDefaultResponse, + CommunityGalleryImagesList200Response, + CommunityGalleryImagesListDefaultResponse, + CommunityGalleryImageVersionsGet200Response, + CommunityGalleryImageVersionsGetDefaultResponse, + CommunityGalleryImageVersionsList200Response, + CommunityGalleryImageVersionsListDefaultResponse, + CloudServiceRoleInstancesDelete200Response, + CloudServiceRoleInstancesDelete202Response, + CloudServiceRoleInstancesDelete204Response, + CloudServiceRoleInstancesDeleteDefaultResponse, + CloudServiceRoleInstancesGet200Response, + CloudServiceRoleInstancesGetDefaultResponse, + CloudServiceRoleInstancesGetInstanceView200Response, + CloudServiceRoleInstancesGetInstanceViewDefaultResponse, + CloudServiceRoleInstancesList200Response, + CloudServiceRoleInstancesListDefaultResponse, + CloudServiceRoleInstancesRestart200Response, + CloudServiceRoleInstancesRestart202Response, + CloudServiceRoleInstancesRestartDefaultResponse, + CloudServiceRoleInstancesReimage200Response, + CloudServiceRoleInstancesReimage202Response, + CloudServiceRoleInstancesReimageDefaultResponse, + CloudServiceRoleInstancesRebuild200Response, + CloudServiceRoleInstancesRebuild202Response, + CloudServiceRoleInstancesRebuildDefaultResponse, + CloudServiceRoleInstancesGetRemoteDesktopFile200Response, + CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse, + CloudServiceRolesGet200Response, + CloudServiceRolesGetDefaultResponse, + CloudServiceRolesList200Response, + CloudServiceRolesListDefaultResponse, + CloudServicesCreateOrUpdate200Response, + CloudServicesCreateOrUpdate201Response, + CloudServicesCreateOrUpdateDefaultResponse, + CloudServicesUpdate200Response, + CloudServicesUpdateDefaultResponse, + CloudServicesDelete200Response, + CloudServicesDelete202Response, + CloudServicesDelete204Response, + CloudServicesDeleteDefaultResponse, + CloudServicesGet200Response, + CloudServicesGetDefaultResponse, + CloudServicesGetInstanceView200Response, + CloudServicesGetInstanceViewDefaultResponse, + CloudServicesListAll200Response, + CloudServicesListAllDefaultResponse, + CloudServicesList200Response, + CloudServicesListDefaultResponse, + CloudServicesStart200Response, + CloudServicesStart202Response, + CloudServicesStartDefaultResponse, + CloudServicesPowerOff200Response, + CloudServicesPowerOff202Response, + CloudServicesPowerOffDefaultResponse, + CloudServicesRestart200Response, + CloudServicesRestart202Response, + CloudServicesRestartDefaultResponse, + CloudServicesReimage200Response, + CloudServicesReimage202Response, + CloudServicesReimageDefaultResponse, + CloudServicesRebuild200Response, + CloudServicesRebuild202Response, + CloudServicesRebuildDefaultResponse, + CloudServicesDeleteInstances200Response, + CloudServicesDeleteInstances202Response, + CloudServicesDeleteInstancesDefaultResponse, + CloudServicesUpdateDomainWalkUpdateDomain200Response, + CloudServicesUpdateDomainWalkUpdateDomain202Response, + CloudServicesUpdateDomainWalkUpdateDomainDefaultResponse, + CloudServicesUpdateDomainGetUpdateDomain200Response, + CloudServicesUpdateDomainGetUpdateDomainDefaultResponse, + CloudServicesUpdateDomainListUpdateDomains200Response, + CloudServicesUpdateDomainListUpdateDomainsDefaultResponse, + CloudServiceOperatingSystemsGetOSVersion200Response, + CloudServiceOperatingSystemsGetOSVersionDefaultResponse, + CloudServiceOperatingSystemsListOSVersions200Response, + CloudServiceOperatingSystemsListOSVersionsDefaultResponse, + CloudServiceOperatingSystemsGetOSFamily200Response, + CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, + CloudServiceOperatingSystemsListOSFamilies200Response, + CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, } from "./responses"; import type { Client, StreamableMethod } from "@azure-rest/core-client"; diff --git a/sdk/compute/arm-compute-rest/src/computeManagementClient.ts b/sdk/compute/arm-compute-rest/src/computeManagementClient.ts index 988004183db1..695d4116efa4 100644 --- a/sdk/compute/arm-compute-rest/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute-rest/src/computeManagementClient.ts @@ -3,26 +3,24 @@ import type { ClientOptions } from "@azure-rest/core-client"; import { getClient } from "@azure-rest/core-client"; +import { logger } from "./logger"; import type { TokenCredential } from "@azure/core-auth"; import type { ComputeManagementClient } from "./clientDefinitions"; +/** The optional parameters for the client */ +export interface ComputeManagementClientOptions extends ClientOptions {} + /** - * Initialize a new instance of the class ComputeManagementClient class. - * @param credentials type: TokenCredential + * Initialize a new instance of `ComputeManagementClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters */ export default function createClient( credentials: TokenCredential, - options: ClientOptions = {}, + options: ComputeManagementClientOptions = {}, ): ComputeManagementClient { - const baseUrl = options.baseUrl ?? `https://management.azure.com`; - options = { - ...options, - credentials: { - scopes: ["https://management.azure.com/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-arm-compute-rest/1.0.0-beta.1`; + const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-compute-rest/1.0.0-beta.3`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` @@ -32,9 +30,21 @@ export default function createClient( userAgentOptions: { userAgentPrefix, }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"], + }, }; + const client = getClient(endpointUrl, credentials, options) as ComputeManagementClient; - const client = getClient(baseUrl, credentials, options) as ComputeManagementClient; + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + if (options.apiVersion) { + logger.warning( + "This client does not support client api-version, please change it at the operation level", + ); + } return client; } diff --git a/sdk/compute/arm-compute-rest/src/isUnexpected.ts b/sdk/compute/arm-compute-rest/src/isUnexpected.ts index 7f70c2f69659..e4161e132087 100644 --- a/sdk/compute/arm-compute-rest/src/isUnexpected.ts +++ b/sdk/compute/arm-compute-rest/src/isUnexpected.ts @@ -2,137 +2,288 @@ // Licensed under the MIT License. import type { + OperationsList200Response, + OperationsListDefaultResponse, + UsageList200Response, + UsageListDefaultResponse, + VirtualMachineSizesList200Response, + VirtualMachineSizesListDefaultResponse, + VirtualMachineScaleSetsListByLocation200Response, + VirtualMachineScaleSetsListByLocationDefaultResponse, + VirtualMachineScaleSetsCreateOrUpdate200Response, + VirtualMachineScaleSetsCreateOrUpdate201Response, + VirtualMachineScaleSetsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetsUpdate200Response, + VirtualMachineScaleSetsUpdateDefaultResponse, + VirtualMachineScaleSetsDelete200Response, + VirtualMachineScaleSetsDelete202Response, + VirtualMachineScaleSetsDelete204Response, + VirtualMachineScaleSetsDeleteDefaultResponse, + VirtualMachineScaleSetsGet200Response, + VirtualMachineScaleSetsGetDefaultResponse, + VirtualMachineScaleSetsDeallocate200Response, + VirtualMachineScaleSetsDeallocate202Response, + VirtualMachineScaleSetsDeallocateDefaultResponse, + VirtualMachineScaleSetsDeleteInstances200Response, + VirtualMachineScaleSetsDeleteInstances202Response, + VirtualMachineScaleSetsDeleteInstancesDefaultResponse, + VirtualMachineScaleSetsGetInstanceView200Response, + VirtualMachineScaleSetsGetInstanceViewDefaultResponse, + VirtualMachineScaleSetsList200Response, + VirtualMachineScaleSetsListDefaultResponse, + VirtualMachineScaleSetsListAll200Response, + VirtualMachineScaleSetsListAllDefaultResponse, + VirtualMachineScaleSetsListSkus200Response, + VirtualMachineScaleSetsListSkusDefaultResponse, + VirtualMachineScaleSetsGetOSUpgradeHistory200Response, + VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse, + VirtualMachineScaleSetsPowerOff200Response, + VirtualMachineScaleSetsPowerOff202Response, + VirtualMachineScaleSetsPowerOffDefaultResponse, + VirtualMachineScaleSetsRestart200Response, + VirtualMachineScaleSetsRestart202Response, + VirtualMachineScaleSetsRestartDefaultResponse, + VirtualMachineScaleSetsStart200Response, + VirtualMachineScaleSetsStart202Response, + VirtualMachineScaleSetsStartDefaultResponse, + VirtualMachineScaleSetsRedeploy200Response, + VirtualMachineScaleSetsRedeploy202Response, + VirtualMachineScaleSetsRedeployDefaultResponse, + VirtualMachineScaleSetsPerformMaintenance200Response, + VirtualMachineScaleSetsPerformMaintenance202Response, + VirtualMachineScaleSetsPerformMaintenanceDefaultResponse, + VirtualMachineScaleSetsUpdateInstances200Response, + VirtualMachineScaleSetsUpdateInstances202Response, + VirtualMachineScaleSetsUpdateInstancesDefaultResponse, + VirtualMachineScaleSetsReimage200Response, + VirtualMachineScaleSetsReimage202Response, + VirtualMachineScaleSetsReimageDefaultResponse, + VirtualMachineScaleSetsReimageAll200Response, + VirtualMachineScaleSetsReimageAll202Response, + VirtualMachineScaleSetsReimageAllDefaultResponse, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse, + VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response, + VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse, + VirtualMachineScaleSetsSetOrchestrationServiceState200Response, + VirtualMachineScaleSetsSetOrchestrationServiceState202Response, + VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse, + VirtualMachineScaleSetExtensionsCreateOrUpdate200Response, + VirtualMachineScaleSetExtensionsCreateOrUpdate201Response, + VirtualMachineScaleSetExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetExtensionsUpdate200Response, + VirtualMachineScaleSetExtensionsUpdate201Response, + VirtualMachineScaleSetExtensionsUpdateDefaultResponse, + VirtualMachineScaleSetExtensionsDelete200Response, + VirtualMachineScaleSetExtensionsDelete202Response, + VirtualMachineScaleSetExtensionsDelete204Response, + VirtualMachineScaleSetExtensionsDeleteDefaultResponse, + VirtualMachineScaleSetExtensionsGet200Response, + VirtualMachineScaleSetExtensionsGetDefaultResponse, + VirtualMachineScaleSetExtensionsList200Response, + VirtualMachineScaleSetExtensionsListDefaultResponse, + VirtualMachineScaleSetRollingUpgradesCancel200Response, + VirtualMachineScaleSetRollingUpgradesCancel202Response, + VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse, + VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response, + VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response, + VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultResponse, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse, + VirtualMachineScaleSetRollingUpgradesGetLatest200Response, + VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse, + VirtualMachineScaleSetVMExtensionsCreateOrUpdate200Response, + VirtualMachineScaleSetVMExtensionsCreateOrUpdate201Response, + VirtualMachineScaleSetVMExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetVMExtensionsUpdate200Response, + VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse, + VirtualMachineScaleSetVMExtensionsDelete200Response, + VirtualMachineScaleSetVMExtensionsDelete202Response, + VirtualMachineScaleSetVMExtensionsDelete204Response, + VirtualMachineScaleSetVMExtensionsDeleteDefaultResponse, + VirtualMachineScaleSetVMExtensionsGet200Response, + VirtualMachineScaleSetVMExtensionsGetDefaultResponse, + VirtualMachineScaleSetVMExtensionsList200Response, + VirtualMachineScaleSetVMExtensionsListDefaultResponse, + VirtualMachineScaleSetVMsReimage200Response, + VirtualMachineScaleSetVMsReimage202Response, + VirtualMachineScaleSetVMsReimageDefaultResponse, + VirtualMachineScaleSetVMsReimageAll200Response, + VirtualMachineScaleSetVMsReimageAll202Response, + VirtualMachineScaleSetVMsReimageAllDefaultResponse, + VirtualMachineScaleSetVMsDeallocate200Response, + VirtualMachineScaleSetVMsDeallocate202Response, + VirtualMachineScaleSetVMsDeallocateDefaultResponse, + VirtualMachineScaleSetVMsUpdate200Response, + VirtualMachineScaleSetVMsUpdate202Response, + VirtualMachineScaleSetVMsUpdateDefaultResponse, + VirtualMachineScaleSetVMsDelete200Response, + VirtualMachineScaleSetVMsDelete202Response, + VirtualMachineScaleSetVMsDelete204Response, + VirtualMachineScaleSetVMsDeleteDefaultResponse, + VirtualMachineScaleSetVMsGet200Response, + VirtualMachineScaleSetVMsGetDefaultResponse, + VirtualMachineScaleSetVMsGetInstanceView200Response, + VirtualMachineScaleSetVMsGetInstanceViewDefaultResponse, + VirtualMachineScaleSetVMsList200Response, + VirtualMachineScaleSetVMsListDefaultResponse, + VirtualMachineScaleSetVMsPowerOff200Response, + VirtualMachineScaleSetVMsPowerOff202Response, + VirtualMachineScaleSetVMsPowerOffDefaultResponse, + VirtualMachineScaleSetVMsRestart200Response, + VirtualMachineScaleSetVMsRestart202Response, + VirtualMachineScaleSetVMsRestartDefaultResponse, + VirtualMachineScaleSetVMsStart200Response, + VirtualMachineScaleSetVMsStart202Response, + VirtualMachineScaleSetVMsStartDefaultResponse, + VirtualMachineScaleSetVMsRedeploy200Response, + VirtualMachineScaleSetVMsRedeploy202Response, + VirtualMachineScaleSetVMsRedeployDefaultResponse, + VirtualMachineScaleSetVMsRetrieveBootDiagnosticsData200Response, + VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResponse, + VirtualMachineScaleSetVMsPerformMaintenance200Response, + VirtualMachineScaleSetVMsPerformMaintenance202Response, + VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse, + VirtualMachineScaleSetVMsSimulateEviction204Response, + VirtualMachineScaleSetVMsSimulateEvictionDefaultResponse, + VirtualMachineExtensionsCreateOrUpdate200Response, + VirtualMachineExtensionsCreateOrUpdate201Response, + VirtualMachineExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineExtensionsUpdate200Response, + VirtualMachineExtensionsUpdateDefaultResponse, + VirtualMachineExtensionsDelete200Response, + VirtualMachineExtensionsDelete202Response, + VirtualMachineExtensionsDelete204Response, + VirtualMachineExtensionsDeleteDefaultResponse, + VirtualMachineExtensionsGet200Response, + VirtualMachineExtensionsGetDefaultResponse, + VirtualMachineExtensionsList200Response, + VirtualMachineExtensionsListDefaultResponse, + VirtualMachinesListByLocation200Response, + VirtualMachinesListByLocationDefaultResponse, + VirtualMachinesCapture200Response, + VirtualMachinesCapture202Response, + VirtualMachinesCaptureDefaultResponse, + VirtualMachinesCreateOrUpdate200Response, + VirtualMachinesCreateOrUpdate201Response, + VirtualMachinesCreateOrUpdateDefaultResponse, + VirtualMachinesUpdate200Response, + VirtualMachinesUpdateDefaultResponse, + VirtualMachinesDelete200Response, + VirtualMachinesDelete202Response, + VirtualMachinesDelete204Response, + VirtualMachinesDeleteDefaultResponse, + VirtualMachinesGet200Response, + VirtualMachinesGetDefaultResponse, + VirtualMachinesInstanceView200Response, + VirtualMachinesInstanceViewDefaultResponse, + VirtualMachinesConvertToManagedDisks200Response, + VirtualMachinesConvertToManagedDisks202Response, + VirtualMachinesConvertToManagedDisksDefaultResponse, + VirtualMachinesDeallocate200Response, + VirtualMachinesDeallocate202Response, + VirtualMachinesDeallocateDefaultResponse, + VirtualMachinesGeneralize200Response, + VirtualMachinesGeneralizeDefaultResponse, + VirtualMachinesList200Response, + VirtualMachinesListDefaultResponse, + VirtualMachinesListAll200Response, + VirtualMachinesListAllDefaultResponse, + VirtualMachinesListAvailableSizes200Response, + VirtualMachinesListAvailableSizesDefaultResponse, + VirtualMachinesPowerOff200Response, + VirtualMachinesPowerOff202Response, + VirtualMachinesPowerOffDefaultResponse, + VirtualMachinesReapply200Response, + VirtualMachinesReapply202Response, + VirtualMachinesReapplyDefaultResponse, + VirtualMachinesRestart200Response, + VirtualMachinesRestart202Response, + VirtualMachinesRestartDefaultResponse, + VirtualMachinesStart200Response, + VirtualMachinesStart202Response, + VirtualMachinesStartDefaultResponse, + VirtualMachinesRedeploy200Response, + VirtualMachinesRedeploy202Response, + VirtualMachinesRedeployDefaultResponse, + VirtualMachinesReimage200Response, + VirtualMachinesReimage202Response, + VirtualMachinesReimageDefaultResponse, + VirtualMachinesRetrieveBootDiagnosticsData200Response, + VirtualMachinesRetrieveBootDiagnosticsDataDefaultResponse, + VirtualMachinesPerformMaintenance200Response, + VirtualMachinesPerformMaintenance202Response, + VirtualMachinesPerformMaintenanceDefaultResponse, + VirtualMachinesSimulateEviction204Response, + VirtualMachinesSimulateEvictionDefaultResponse, + VirtualMachinesAssessPatches200Response, + VirtualMachinesAssessPatches202Response, + VirtualMachinesAssessPatchesDefaultResponse, + VirtualMachinesInstallPatches200Response, + VirtualMachinesInstallPatches202Response, + VirtualMachinesInstallPatchesDefaultResponse, + VirtualMachineImagesGet200Response, + VirtualMachineImagesGetDefaultResponse, + VirtualMachineImagesList200Response, + VirtualMachineImagesListDefaultResponse, + VirtualMachineImagesListOffers200Response, + VirtualMachineImagesListOffersDefaultResponse, + VirtualMachineImagesListPublishers200Response, + VirtualMachineImagesListPublishersDefaultResponse, + VirtualMachineImagesListSkus200Response, + VirtualMachineImagesListSkusDefaultResponse, + VirtualMachineImagesListByEdgeZone200Response, + VirtualMachineImagesListByEdgeZoneDefaultResponse, + VirtualMachineImagesEdgeZoneGet200Response, + VirtualMachineImagesEdgeZoneGetDefaultResponse, + VirtualMachineImagesEdgeZoneList200Response, + VirtualMachineImagesEdgeZoneListDefaultResponse, + VirtualMachineImagesEdgeZoneListOffers200Response, + VirtualMachineImagesEdgeZoneListOffersDefaultResponse, + VirtualMachineImagesEdgeZoneListPublishers200Response, + VirtualMachineImagesEdgeZoneListPublishersDefaultResponse, + VirtualMachineImagesEdgeZoneListSkus200Response, + VirtualMachineImagesEdgeZoneListSkusDefaultResponse, + VirtualMachineExtensionImagesGet200Response, + VirtualMachineExtensionImagesGetDefaultResponse, + VirtualMachineExtensionImagesListTypes200Response, + VirtualMachineExtensionImagesListTypesDefaultResponse, + VirtualMachineExtensionImagesListVersions200Response, + VirtualMachineExtensionImagesListVersionsDefaultResponse, AvailabilitySetsCreateOrUpdate200Response, AvailabilitySetsCreateOrUpdateDefaultResponse, + AvailabilitySetsUpdate200Response, + AvailabilitySetsUpdateDefaultResponse, AvailabilitySetsDelete200Response, AvailabilitySetsDelete204Response, AvailabilitySetsDeleteDefaultResponse, AvailabilitySetsGet200Response, AvailabilitySetsGetDefaultResponse, - AvailabilitySetsList200Response, - AvailabilitySetsListAvailableSizes200Response, - AvailabilitySetsListAvailableSizesDefaultResponse, AvailabilitySetsListBySubscription200Response, AvailabilitySetsListBySubscriptionDefaultResponse, + AvailabilitySetsList200Response, AvailabilitySetsListDefaultResponse, - AvailabilitySetsUpdate200Response, - AvailabilitySetsUpdateDefaultResponse, - CapacityReservationGroupsCreateOrUpdate200Response, - CapacityReservationGroupsCreateOrUpdate201Response, - CapacityReservationGroupsCreateOrUpdateDefaultResponse, - CapacityReservationGroupsDelete200Response, - CapacityReservationGroupsDelete204Response, - CapacityReservationGroupsDeleteDefaultResponse, - CapacityReservationGroupsGet200Response, - CapacityReservationGroupsGetDefaultResponse, - CapacityReservationGroupsListByResourceGroup200Response, - CapacityReservationGroupsListByResourceGroupDefaultResponse, - CapacityReservationGroupsListBySubscription200Response, - CapacityReservationGroupsListBySubscriptionDefaultResponse, - CapacityReservationGroupsUpdate200Response, - CapacityReservationGroupsUpdateDefaultResponse, - CapacityReservationsCreateOrUpdate200Response, - CapacityReservationsCreateOrUpdate201Response, - CapacityReservationsCreateOrUpdateDefaultResponse, - CapacityReservationsDelete200Response, - CapacityReservationsDelete202Response, - CapacityReservationsDelete204Response, - CapacityReservationsDeleteDefaultResponse, - CapacityReservationsGet200Response, - CapacityReservationsGetDefaultResponse, - CapacityReservationsListByCapacityReservationGroup200Response, - CapacityReservationsListByCapacityReservationGroupDefaultResponse, - CapacityReservationsUpdate200Response, - CapacityReservationsUpdate202Response, - CapacityReservationsUpdateDefaultResponse, - CloudServiceOperatingSystemsGetOSFamily200Response, - CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, - CloudServiceOperatingSystemsGetOSVersion200Response, - CloudServiceOperatingSystemsGetOSVersionDefaultResponse, - CloudServiceOperatingSystemsListOSFamilies200Response, - CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, - CloudServiceOperatingSystemsListOSVersions200Response, - CloudServiceOperatingSystemsListOSVersionsDefaultResponse, - CloudServiceRoleInstancesDelete200Response, - CloudServiceRoleInstancesDelete202Response, - CloudServiceRoleInstancesDelete204Response, - CloudServiceRoleInstancesDeleteDefaultResponse, - CloudServiceRoleInstancesGet200Response, - CloudServiceRoleInstancesGetDefaultResponse, - CloudServiceRoleInstancesGetInstanceView200Response, - CloudServiceRoleInstancesGetInstanceViewDefaultResponse, - CloudServiceRoleInstancesGetRemoteDesktopFile200Response, - CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse, - CloudServiceRoleInstancesList200Response, - CloudServiceRoleInstancesListDefaultResponse, - CloudServiceRoleInstancesRebuild200Response, - CloudServiceRoleInstancesRebuild202Response, - CloudServiceRoleInstancesRebuildDefaultResponse, - CloudServiceRoleInstancesReimage200Response, - CloudServiceRoleInstancesReimage202Response, - CloudServiceRoleInstancesReimageDefaultResponse, - CloudServiceRoleInstancesRestart200Response, - CloudServiceRoleInstancesRestart202Response, - CloudServiceRoleInstancesRestartDefaultResponse, - CloudServiceRolesGet200Response, - CloudServiceRolesGetDefaultResponse, - CloudServiceRolesList200Response, - CloudServiceRolesListDefaultResponse, - CloudServicesCreateOrUpdate200Response, - CloudServicesCreateOrUpdate201Response, - CloudServicesCreateOrUpdateDefaultResponse, - CloudServicesDelete200Response, - CloudServicesDelete202Response, - CloudServicesDelete204Response, - CloudServicesDeleteDefaultResponse, - CloudServicesDeleteInstances200Response, - CloudServicesDeleteInstances202Response, - CloudServicesDeleteInstancesDefaultResponse, - CloudServicesGet200Response, - CloudServicesGetDefaultResponse, - CloudServicesGetInstanceView200Response, - CloudServicesGetInstanceViewDefaultResponse, - CloudServicesList200Response, - CloudServicesListAll200Response, - CloudServicesListAllDefaultResponse, - CloudServicesListDefaultResponse, - CloudServicesPowerOff200Response, - CloudServicesPowerOff202Response, - CloudServicesPowerOffDefaultResponse, - CloudServicesRebuild200Response, - CloudServicesRebuild202Response, - CloudServicesRebuildDefaultResponse, - CloudServicesReimage200Response, - CloudServicesReimage202Response, - CloudServicesReimageDefaultResponse, - CloudServicesRestart200Response, - CloudServicesRestart202Response, - CloudServicesRestartDefaultResponse, - CloudServicesStart200Response, - CloudServicesStart202Response, - CloudServicesStartDefaultResponse, - CloudServicesUpdate200Response, - CloudServicesUpdateDefaultResponse, - CloudServicesUpdateDomainGetUpdateDomain200Response, - CloudServicesUpdateDomainGetUpdateDomainDefaultResponse, - CloudServicesUpdateDomainListUpdateDomains200Response, - CloudServicesUpdateDomainListUpdateDomainsDefaultResponse, - CloudServicesUpdateDomainWalkUpdateDomain200Response, - CloudServicesUpdateDomainWalkUpdateDomain202Response, - CloudServicesUpdateDomainWalkUpdateDomainDefaultResponse, - CommunityGalleriesGet200Response, - CommunityGalleriesGetDefaultResponse, - CommunityGalleryImageVersionsGet200Response, - CommunityGalleryImageVersionsGetDefaultResponse, - CommunityGalleryImageVersionsList200Response, - CommunityGalleryImageVersionsListDefaultResponse, - CommunityGalleryImagesGet200Response, - CommunityGalleryImagesGetDefaultResponse, - CommunityGalleryImagesList200Response, - CommunityGalleryImagesListDefaultResponse, + AvailabilitySetsListAvailableSizes200Response, + AvailabilitySetsListAvailableSizesDefaultResponse, + ProximityPlacementGroupsCreateOrUpdate200Response, + ProximityPlacementGroupsCreateOrUpdate201Response, + ProximityPlacementGroupsCreateOrUpdateDefaultResponse, + ProximityPlacementGroupsUpdate200Response, + ProximityPlacementGroupsUpdateDefaultResponse, + ProximityPlacementGroupsDelete200Response, + ProximityPlacementGroupsDeleteDefaultResponse, + ProximityPlacementGroupsGet200Response, + ProximityPlacementGroupsGetDefaultResponse, + ProximityPlacementGroupsListBySubscription200Response, + ProximityPlacementGroupsListBySubscriptionDefaultResponse, + ProximityPlacementGroupsListByResourceGroup200Response, + ProximityPlacementGroupsListByResourceGroupDefaultResponse, DedicatedHostGroupsCreateOrUpdate200Response, DedicatedHostGroupsCreateOrUpdate201Response, DedicatedHostGroupsCreateOrUpdateDefaultResponse, + DedicatedHostGroupsUpdate200Response, + DedicatedHostGroupsUpdateDefaultResponse, DedicatedHostGroupsDelete200Response, DedicatedHostGroupsDelete204Response, DedicatedHostGroupsDeleteDefaultResponse, @@ -142,11 +293,11 @@ import type { DedicatedHostGroupsListByResourceGroupDefaultResponse, DedicatedHostGroupsListBySubscription200Response, DedicatedHostGroupsListBySubscriptionDefaultResponse, - DedicatedHostGroupsUpdate200Response, - DedicatedHostGroupsUpdateDefaultResponse, DedicatedHostsCreateOrUpdate200Response, DedicatedHostsCreateOrUpdate201Response, DedicatedHostsCreateOrUpdateDefaultResponse, + DedicatedHostsUpdate200Response, + DedicatedHostsUpdateDefaultResponse, DedicatedHostsDelete200Response, DedicatedHostsDelete202Response, DedicatedHostsDelete204Response, @@ -157,60 +308,173 @@ import type { DedicatedHostsListByHostGroupDefaultResponse, DedicatedHostsRestart200Response, DedicatedHostsRestartDefaultResponse, - DedicatedHostsUpdate200Response, - DedicatedHostsUpdateDefaultResponse, + SshPublicKeysListBySubscription200Response, + SshPublicKeysListBySubscriptionDefaultResponse, + SshPublicKeysListByResourceGroup200Response, + SshPublicKeysListByResourceGroupDefaultResponse, + SshPublicKeysCreate200Response, + SshPublicKeysCreate201Response, + SshPublicKeysCreateDefaultResponse, + SshPublicKeysUpdate200Response, + SshPublicKeysUpdateDefaultResponse, + SshPublicKeysDelete200Response, + SshPublicKeysDelete204Response, + SshPublicKeysDeleteDefaultResponse, + SshPublicKeysGet200Response, + SshPublicKeysGetDefaultResponse, + SshPublicKeysGenerateKeyPair200Response, + SshPublicKeysGenerateKeyPairDefaultResponse, + ImagesCreateOrUpdate200Response, + ImagesCreateOrUpdate201Response, + ImagesCreateOrUpdateDefaultResponse, + ImagesUpdate200Response, + ImagesUpdate201Response, + ImagesUpdateDefaultResponse, + ImagesDelete200Response, + ImagesDelete202Response, + ImagesDelete204Response, + ImagesDeleteDefaultResponse, + ImagesGet200Response, + ImagesGetDefaultResponse, + ImagesListByResourceGroup200Response, + ImagesListByResourceGroupDefaultResponse, + ImagesList200Response, + ImagesListDefaultResponse, + RestorePointCollectionsCreateOrUpdate200Response, + RestorePointCollectionsCreateOrUpdate201Response, + RestorePointCollectionsCreateOrUpdateDefaultResponse, + RestorePointCollectionsUpdate200Response, + RestorePointCollectionsUpdateDefaultResponse, + RestorePointCollectionsDelete200Response, + RestorePointCollectionsDelete202Response, + RestorePointCollectionsDelete204Response, + RestorePointCollectionsDeleteDefaultResponse, + RestorePointCollectionsGet200Response, + RestorePointCollectionsGetDefaultResponse, + RestorePointCollectionsList200Response, + RestorePointCollectionsListDefaultResponse, + RestorePointCollectionsListAll200Response, + RestorePointCollectionsListAllDefaultResponse, + RestorePointsCreate201Response, + RestorePointsCreateDefaultResponse, + RestorePointsDelete200Response, + RestorePointsDelete202Response, + RestorePointsDelete204Response, + RestorePointsDeleteDefaultResponse, + RestorePointsGet200Response, + RestorePointsGetDefaultResponse, + CapacityReservationGroupsCreateOrUpdate200Response, + CapacityReservationGroupsCreateOrUpdate201Response, + CapacityReservationGroupsCreateOrUpdateDefaultResponse, + CapacityReservationGroupsUpdate200Response, + CapacityReservationGroupsUpdateDefaultResponse, + CapacityReservationGroupsDelete200Response, + CapacityReservationGroupsDelete204Response, + CapacityReservationGroupsDeleteDefaultResponse, + CapacityReservationGroupsGet200Response, + CapacityReservationGroupsGetDefaultResponse, + CapacityReservationGroupsListByResourceGroup200Response, + CapacityReservationGroupsListByResourceGroupDefaultResponse, + CapacityReservationGroupsListBySubscription200Response, + CapacityReservationGroupsListBySubscriptionDefaultResponse, + CapacityReservationsCreateOrUpdate200Response, + CapacityReservationsCreateOrUpdate201Response, + CapacityReservationsCreateOrUpdateDefaultResponse, + CapacityReservationsUpdate200Response, + CapacityReservationsUpdate202Response, + CapacityReservationsUpdateDefaultResponse, + CapacityReservationsDelete200Response, + CapacityReservationsDelete202Response, + CapacityReservationsDelete204Response, + CapacityReservationsDeleteDefaultResponse, + CapacityReservationsGet200Response, + CapacityReservationsGetDefaultResponse, + CapacityReservationsListByCapacityReservationGroup200Response, + CapacityReservationsListByCapacityReservationGroupDefaultResponse, + LogAnalyticsExportRequestRateByInterval200Response, + LogAnalyticsExportRequestRateByInterval202Response, + LogAnalyticsExportRequestRateByIntervalDefaultResponse, + LogAnalyticsExportThrottledRequests200Response, + LogAnalyticsExportThrottledRequests202Response, + LogAnalyticsExportThrottledRequestsDefaultResponse, + VirtualMachineRunCommandsCreateOrUpdate200Response, + VirtualMachineRunCommandsCreateOrUpdate201Response, + VirtualMachineRunCommandsCreateOrUpdateDefaultResponse, + VirtualMachineRunCommandsUpdate200Response, + VirtualMachineRunCommandsUpdateDefaultResponse, + VirtualMachineRunCommandsDelete200Response, + VirtualMachineRunCommandsDelete202Response, + VirtualMachineRunCommandsDelete204Response, + VirtualMachineRunCommandsDeleteDefaultResponse, + VirtualMachineRunCommandsGetByVirtualMachine200Response, + VirtualMachineRunCommandsGetByVirtualMachineDefaultResponse, + VirtualMachineRunCommandsListByVirtualMachine200Response, + VirtualMachineRunCommandsListByVirtualMachineDefaultResponse, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdate200Response, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdate201Response, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetVMRunCommandsUpdate200Response, + VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse, + VirtualMachineScaleSetVMRunCommandsDelete200Response, + VirtualMachineScaleSetVMRunCommandsDelete202Response, + VirtualMachineScaleSetVMRunCommandsDelete204Response, + VirtualMachineScaleSetVMRunCommandsDeleteDefaultResponse, + VirtualMachineScaleSetVMRunCommandsGet200Response, + VirtualMachineScaleSetVMRunCommandsGetDefaultResponse, + VirtualMachineScaleSetVMRunCommandsList200Response, + VirtualMachineScaleSetVMRunCommandsListDefaultResponse, DiskAccessesCreateOrUpdate200Response, DiskAccessesCreateOrUpdate202Response, DiskAccessesCreateOrUpdateDefaultResponse, - DiskAccessesDelete200Response, - DiskAccessesDelete202Response, - DiskAccessesDelete204Response, - DiskAccessesDeleteAPrivateEndpointConnection200Response, - DiskAccessesDeleteAPrivateEndpointConnection202Response, - DiskAccessesDeleteAPrivateEndpointConnection204Response, - DiskAccessesDeleteAPrivateEndpointConnectionDefaultResponse, - DiskAccessesDeleteDefaultResponse, + DiskAccessesUpdate200Response, + DiskAccessesUpdate202Response, + DiskAccessesUpdateDefaultResponse, DiskAccessesGet200Response, - DiskAccessesGetAPrivateEndpointConnection200Response, - DiskAccessesGetAPrivateEndpointConnectionDefaultResponse, DiskAccessesGetDefaultResponse, - DiskAccessesList200Response, + DiskAccessesDelete200Response, + DiskAccessesDelete202Response, + DiskAccessesDelete204Response, + DiskAccessesDeleteDefaultResponse, DiskAccessesListByResourceGroup200Response, DiskAccessesListByResourceGroupDefaultResponse, + DiskAccessesList200Response, DiskAccessesListDefaultResponse, - DiskAccessesListPrivateEndpointConnections200Response, - DiskAccessesListPrivateEndpointConnectionsDefaultResponse, - DiskAccessesUpdate200Response, - DiskAccessesUpdate202Response, DiskAccessesUpdateAPrivateEndpointConnection200Response, DiskAccessesUpdateAPrivateEndpointConnection202Response, DiskAccessesUpdateAPrivateEndpointConnectionDefaultResponse, - DiskAccessesUpdateDefaultResponse, + DiskAccessesGetAPrivateEndpointConnection200Response, + DiskAccessesGetAPrivateEndpointConnectionDefaultResponse, + DiskAccessesDeleteAPrivateEndpointConnection200Response, + DiskAccessesDeleteAPrivateEndpointConnection202Response, + DiskAccessesDeleteAPrivateEndpointConnection204Response, + DiskAccessesDeleteAPrivateEndpointConnectionDefaultResponse, + DiskAccessesListPrivateEndpointConnections200Response, + DiskAccessesListPrivateEndpointConnectionsDefaultResponse, DiskEncryptionSetsCreateOrUpdate200Response, DiskEncryptionSetsCreateOrUpdate202Response, DiskEncryptionSetsCreateOrUpdateDefaultResponse, + DiskEncryptionSetsUpdate200Response, + DiskEncryptionSetsUpdate202Response, + DiskEncryptionSetsUpdateDefaultResponse, + DiskEncryptionSetsGet200Response, + DiskEncryptionSetsGetDefaultResponse, DiskEncryptionSetsDelete200Response, DiskEncryptionSetsDelete202Response, DiskEncryptionSetsDelete204Response, DiskEncryptionSetsDeleteDefaultResponse, - DiskEncryptionSetsGet200Response, - DiskEncryptionSetsGetDefaultResponse, - DiskEncryptionSetsList200Response, - DiskEncryptionSetsListAssociatedResources200Response, - DiskEncryptionSetsListAssociatedResourcesDefaultResponse, DiskEncryptionSetsListByResourceGroup200Response, DiskEncryptionSetsListByResourceGroupDefaultResponse, + DiskEncryptionSetsList200Response, DiskEncryptionSetsListDefaultResponse, - DiskEncryptionSetsUpdate200Response, - DiskEncryptionSetsUpdate202Response, - DiskEncryptionSetsUpdateDefaultResponse, + DiskEncryptionSetsListAssociatedResources200Response, + DiskEncryptionSetsListAssociatedResourcesDefaultResponse, DiskRestorePointGet200Response, DiskRestorePointGetDefaultResponse, + DiskRestorePointListByRestorePoint200Response, + DiskRestorePointListByRestorePointDefaultResponse, DiskRestorePointGrantAccess200Response, DiskRestorePointGrantAccess202Response, DiskRestorePointGrantAccessDefaultResponse, - DiskRestorePointListByRestorePoint200Response, - DiskRestorePointListByRestorePointDefaultResponse, DiskRestorePointRevokeAccess200Response, DiskRestorePointRevokeAccess202Response, DiskRestorePointRevokeAccessDefaultResponse, @@ -218,438 +482,174 @@ import type { GalleriesCreateOrUpdate201Response, GalleriesCreateOrUpdate202Response, GalleriesCreateOrUpdateDefaultResponse, + GalleriesUpdate200Response, + GalleriesUpdateDefaultResponse, + GalleriesGet200Response, + GalleriesGetDefaultResponse, GalleriesDelete200Response, GalleriesDelete202Response, GalleriesDelete204Response, GalleriesDeleteDefaultResponse, - GalleriesGet200Response, - GalleriesGetDefaultResponse, - GalleriesList200Response, GalleriesListByResourceGroup200Response, GalleriesListByResourceGroupDefaultResponse, + GalleriesList200Response, GalleriesListDefaultResponse, - GalleriesUpdate200Response, - GalleriesUpdateDefaultResponse, - GalleryApplicationVersionsCreateOrUpdate200Response, - GalleryApplicationVersionsCreateOrUpdate201Response, - GalleryApplicationVersionsCreateOrUpdate202Response, - GalleryApplicationVersionsCreateOrUpdateDefaultResponse, - GalleryApplicationVersionsDelete200Response, - GalleryApplicationVersionsDelete202Response, - GalleryApplicationVersionsDelete204Response, - GalleryApplicationVersionsDeleteDefaultResponse, - GalleryApplicationVersionsGet200Response, - GalleryApplicationVersionsGetDefaultResponse, - GalleryApplicationVersionsListByGalleryApplication200Response, - GalleryApplicationVersionsListByGalleryApplicationDefaultResponse, - GalleryApplicationVersionsUpdate200Response, - GalleryApplicationVersionsUpdateDefaultResponse, - GalleryApplicationsCreateOrUpdate200Response, - GalleryApplicationsCreateOrUpdate201Response, - GalleryApplicationsCreateOrUpdate202Response, - GalleryApplicationsCreateOrUpdateDefaultResponse, - GalleryApplicationsDelete200Response, - GalleryApplicationsDelete202Response, - GalleryApplicationsDelete204Response, - GalleryApplicationsDeleteDefaultResponse, - GalleryApplicationsGet200Response, - GalleryApplicationsGetDefaultResponse, - GalleryApplicationsListByGallery200Response, - GalleryApplicationsListByGalleryDefaultResponse, - GalleryApplicationsUpdate200Response, - GalleryApplicationsUpdateDefaultResponse, - GalleryImageVersionsCreateOrUpdate200Response, - GalleryImageVersionsCreateOrUpdate201Response, - GalleryImageVersionsCreateOrUpdate202Response, - GalleryImageVersionsCreateOrUpdateDefaultResponse, - GalleryImageVersionsDelete200Response, - GalleryImageVersionsDelete202Response, - GalleryImageVersionsDelete204Response, - GalleryImageVersionsDeleteDefaultResponse, - GalleryImageVersionsGet200Response, - GalleryImageVersionsGetDefaultResponse, - GalleryImageVersionsListByGalleryImage200Response, - GalleryImageVersionsListByGalleryImageDefaultResponse, - GalleryImageVersionsUpdate200Response, - GalleryImageVersionsUpdateDefaultResponse, GalleryImagesCreateOrUpdate200Response, GalleryImagesCreateOrUpdate201Response, GalleryImagesCreateOrUpdate202Response, GalleryImagesCreateOrUpdateDefaultResponse, + GalleryImagesUpdate200Response, + GalleryImagesUpdateDefaultResponse, + GalleryImagesGet200Response, + GalleryImagesGetDefaultResponse, GalleryImagesDelete200Response, GalleryImagesDelete202Response, GalleryImagesDelete204Response, GalleryImagesDeleteDefaultResponse, - GalleryImagesGet200Response, - GalleryImagesGetDefaultResponse, GalleryImagesListByGallery200Response, GalleryImagesListByGalleryDefaultResponse, - GalleryImagesUpdate200Response, - GalleryImagesUpdateDefaultResponse, + GalleryImageVersionsCreateOrUpdate200Response, + GalleryImageVersionsCreateOrUpdate201Response, + GalleryImageVersionsCreateOrUpdate202Response, + GalleryImageVersionsCreateOrUpdateDefaultResponse, + GalleryImageVersionsUpdate200Response, + GalleryImageVersionsUpdateDefaultResponse, + GalleryImageVersionsGet200Response, + GalleryImageVersionsGetDefaultResponse, + GalleryImageVersionsDelete200Response, + GalleryImageVersionsDelete202Response, + GalleryImageVersionsDelete204Response, + GalleryImageVersionsDeleteDefaultResponse, + GalleryImageVersionsListByGalleryImage200Response, + GalleryImageVersionsListByGalleryImageDefaultResponse, + GalleryApplicationsCreateOrUpdate200Response, + GalleryApplicationsCreateOrUpdate201Response, + GalleryApplicationsCreateOrUpdate202Response, + GalleryApplicationsCreateOrUpdateDefaultResponse, + GalleryApplicationsUpdate200Response, + GalleryApplicationsUpdateDefaultResponse, + GalleryApplicationsGet200Response, + GalleryApplicationsGetDefaultResponse, + GalleryApplicationsDelete200Response, + GalleryApplicationsDelete202Response, + GalleryApplicationsDelete204Response, + GalleryApplicationsDeleteDefaultResponse, + GalleryApplicationsListByGallery200Response, + GalleryApplicationsListByGalleryDefaultResponse, + GalleryApplicationVersionsCreateOrUpdate200Response, + GalleryApplicationVersionsCreateOrUpdate201Response, + GalleryApplicationVersionsCreateOrUpdate202Response, + GalleryApplicationVersionsCreateOrUpdateDefaultResponse, + GalleryApplicationVersionsUpdate200Response, + GalleryApplicationVersionsUpdateDefaultResponse, + GalleryApplicationVersionsGet200Response, + GalleryApplicationVersionsGetDefaultResponse, + GalleryApplicationVersionsDelete200Response, + GalleryApplicationVersionsDelete202Response, + GalleryApplicationVersionsDelete204Response, + GalleryApplicationVersionsDeleteDefaultResponse, + GalleryApplicationVersionsListByGalleryApplication200Response, + GalleryApplicationVersionsListByGalleryApplicationDefaultResponse, GallerySharingProfileUpdate200Response, GallerySharingProfileUpdate202Response, GallerySharingProfileUpdateDefaultResponse, - ImagesCreateOrUpdate200Response, - ImagesCreateOrUpdate201Response, - ImagesCreateOrUpdateDefaultResponse, - ImagesDelete200Response, - ImagesDelete202Response, - ImagesDelete204Response, - ImagesDeleteDefaultResponse, - ImagesGet200Response, - ImagesGetDefaultResponse, - ImagesList200Response, - ImagesListByResourceGroup200Response, - ImagesListByResourceGroupDefaultResponse, - ImagesListDefaultResponse, - ImagesUpdate200Response, - ImagesUpdate201Response, - ImagesUpdateDefaultResponse, - LogAnalyticsExportRequestRateByInterval200Response, - LogAnalyticsExportRequestRateByInterval202Response, - LogAnalyticsExportRequestRateByIntervalDefaultResponse, - LogAnalyticsExportThrottledRequests200Response, - LogAnalyticsExportThrottledRequests202Response, - LogAnalyticsExportThrottledRequestsDefaultResponse, - OperationsList200Response, - OperationsListDefaultResponse, - ProximityPlacementGroupsCreateOrUpdate200Response, - ProximityPlacementGroupsCreateOrUpdate201Response, - ProximityPlacementGroupsCreateOrUpdateDefaultResponse, - ProximityPlacementGroupsDelete200Response, - ProximityPlacementGroupsDeleteDefaultResponse, - ProximityPlacementGroupsGet200Response, - ProximityPlacementGroupsGetDefaultResponse, - ProximityPlacementGroupsListByResourceGroup200Response, - ProximityPlacementGroupsListByResourceGroupDefaultResponse, - ProximityPlacementGroupsListBySubscription200Response, - ProximityPlacementGroupsListBySubscriptionDefaultResponse, - ProximityPlacementGroupsUpdate200Response, - ProximityPlacementGroupsUpdateDefaultResponse, - RestorePointCollectionsCreateOrUpdate200Response, - RestorePointCollectionsCreateOrUpdate201Response, - RestorePointCollectionsCreateOrUpdateDefaultResponse, - RestorePointCollectionsDelete200Response, - RestorePointCollectionsDelete202Response, - RestorePointCollectionsDelete204Response, - RestorePointCollectionsDeleteDefaultResponse, - RestorePointCollectionsGet200Response, - RestorePointCollectionsGetDefaultResponse, - RestorePointCollectionsList200Response, - RestorePointCollectionsListAll200Response, - RestorePointCollectionsListAllDefaultResponse, - RestorePointCollectionsListDefaultResponse, - RestorePointCollectionsUpdate200Response, - RestorePointCollectionsUpdateDefaultResponse, - RestorePointsCreate201Response, - RestorePointsCreateDefaultResponse, - RestorePointsDelete200Response, - RestorePointsDelete202Response, - RestorePointsDelete204Response, - RestorePointsDeleteDefaultResponse, - RestorePointsGet200Response, - RestorePointsGetDefaultResponse, - SharedGalleriesGet200Response, - SharedGalleriesGetDefaultResponse, SharedGalleriesList200Response, SharedGalleriesListDefaultResponse, - SharedGalleryImageVersionsGet200Response, - SharedGalleryImageVersionsGetDefaultResponse, - SharedGalleryImageVersionsList200Response, - SharedGalleryImageVersionsListDefaultResponse, - SharedGalleryImagesGet200Response, - SharedGalleryImagesGetDefaultResponse, + SharedGalleriesGet200Response, + SharedGalleriesGetDefaultResponse, SharedGalleryImagesList200Response, SharedGalleryImagesListDefaultResponse, - SshPublicKeysCreate200Response, - SshPublicKeysCreate201Response, - SshPublicKeysCreateDefaultResponse, - SshPublicKeysDelete200Response, - SshPublicKeysDelete204Response, - SshPublicKeysDeleteDefaultResponse, - SshPublicKeysGenerateKeyPair200Response, - SshPublicKeysGenerateKeyPairDefaultResponse, - SshPublicKeysGet200Response, - SshPublicKeysGetDefaultResponse, - SshPublicKeysListByResourceGroup200Response, - SshPublicKeysListByResourceGroupDefaultResponse, - SshPublicKeysListBySubscription200Response, - SshPublicKeysListBySubscriptionDefaultResponse, - SshPublicKeysUpdate200Response, - SshPublicKeysUpdateDefaultResponse, - UsageList200Response, - UsageListDefaultResponse, - VirtualMachineExtensionImagesGet200Response, - VirtualMachineExtensionImagesGetDefaultResponse, - VirtualMachineExtensionImagesListTypes200Response, - VirtualMachineExtensionImagesListTypesDefaultResponse, - VirtualMachineExtensionImagesListVersions200Response, - VirtualMachineExtensionImagesListVersionsDefaultResponse, - VirtualMachineExtensionsCreateOrUpdate200Response, - VirtualMachineExtensionsCreateOrUpdate201Response, - VirtualMachineExtensionsCreateOrUpdateDefaultResponse, - VirtualMachineExtensionsDelete200Response, - VirtualMachineExtensionsDelete202Response, - VirtualMachineExtensionsDelete204Response, - VirtualMachineExtensionsDeleteDefaultResponse, - VirtualMachineExtensionsGet200Response, - VirtualMachineExtensionsGetDefaultResponse, - VirtualMachineExtensionsList200Response, - VirtualMachineExtensionsListDefaultResponse, - VirtualMachineExtensionsUpdate200Response, - VirtualMachineExtensionsUpdateDefaultResponse, - VirtualMachineImagesEdgeZoneGet200Response, - VirtualMachineImagesEdgeZoneGetDefaultResponse, - VirtualMachineImagesEdgeZoneList200Response, - VirtualMachineImagesEdgeZoneListDefaultResponse, - VirtualMachineImagesEdgeZoneListOffers200Response, - VirtualMachineImagesEdgeZoneListOffersDefaultResponse, - VirtualMachineImagesEdgeZoneListPublishers200Response, - VirtualMachineImagesEdgeZoneListPublishersDefaultResponse, - VirtualMachineImagesEdgeZoneListSkus200Response, - VirtualMachineImagesEdgeZoneListSkusDefaultResponse, - VirtualMachineImagesGet200Response, - VirtualMachineImagesGetDefaultResponse, - VirtualMachineImagesList200Response, - VirtualMachineImagesListByEdgeZone200Response, - VirtualMachineImagesListByEdgeZoneDefaultResponse, - VirtualMachineImagesListDefaultResponse, - VirtualMachineImagesListOffers200Response, - VirtualMachineImagesListOffersDefaultResponse, - VirtualMachineImagesListPublishers200Response, - VirtualMachineImagesListPublishersDefaultResponse, - VirtualMachineImagesListSkus200Response, - VirtualMachineImagesListSkusDefaultResponse, - VirtualMachineRunCommandsCreateOrUpdate200Response, - VirtualMachineRunCommandsCreateOrUpdate201Response, - VirtualMachineRunCommandsCreateOrUpdateDefaultResponse, - VirtualMachineRunCommandsDelete200Response, - VirtualMachineRunCommandsDelete202Response, - VirtualMachineRunCommandsDelete204Response, - VirtualMachineRunCommandsDeleteDefaultResponse, - VirtualMachineRunCommandsGetByVirtualMachine200Response, - VirtualMachineRunCommandsGetByVirtualMachineDefaultResponse, - VirtualMachineRunCommandsListByVirtualMachine200Response, - VirtualMachineRunCommandsListByVirtualMachineDefaultResponse, - VirtualMachineRunCommandsUpdate200Response, - VirtualMachineRunCommandsUpdateDefaultResponse, - VirtualMachineScaleSetExtensionsCreateOrUpdate200Response, - VirtualMachineScaleSetExtensionsCreateOrUpdate201Response, - VirtualMachineScaleSetExtensionsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetExtensionsDelete200Response, - VirtualMachineScaleSetExtensionsDelete202Response, - VirtualMachineScaleSetExtensionsDelete204Response, - VirtualMachineScaleSetExtensionsDeleteDefaultResponse, - VirtualMachineScaleSetExtensionsGet200Response, - VirtualMachineScaleSetExtensionsGetDefaultResponse, - VirtualMachineScaleSetExtensionsList200Response, - VirtualMachineScaleSetExtensionsListDefaultResponse, - VirtualMachineScaleSetExtensionsUpdate200Response, - VirtualMachineScaleSetExtensionsUpdate201Response, - VirtualMachineScaleSetExtensionsUpdateDefaultResponse, - VirtualMachineScaleSetRollingUpgradesCancel200Response, - VirtualMachineScaleSetRollingUpgradesCancel202Response, - VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse, - VirtualMachineScaleSetRollingUpgradesGetLatest200Response, - VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse, - VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response, - VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response, - VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultResponse, - VirtualMachineScaleSetVMExtensionsCreateOrUpdate200Response, - VirtualMachineScaleSetVMExtensionsCreateOrUpdate201Response, - VirtualMachineScaleSetVMExtensionsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetVMExtensionsDelete200Response, - VirtualMachineScaleSetVMExtensionsDelete202Response, - VirtualMachineScaleSetVMExtensionsDelete204Response, - VirtualMachineScaleSetVMExtensionsDeleteDefaultResponse, - VirtualMachineScaleSetVMExtensionsGet200Response, - VirtualMachineScaleSetVMExtensionsGetDefaultResponse, - VirtualMachineScaleSetVMExtensionsList200Response, - VirtualMachineScaleSetVMExtensionsListDefaultResponse, - VirtualMachineScaleSetVMExtensionsUpdate200Response, - VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdate200Response, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdate201Response, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetVMRunCommandsDelete200Response, - VirtualMachineScaleSetVMRunCommandsDelete202Response, - VirtualMachineScaleSetVMRunCommandsDelete204Response, - VirtualMachineScaleSetVMRunCommandsDeleteDefaultResponse, - VirtualMachineScaleSetVMRunCommandsGet200Response, - VirtualMachineScaleSetVMRunCommandsGetDefaultResponse, - VirtualMachineScaleSetVMRunCommandsList200Response, - VirtualMachineScaleSetVMRunCommandsListDefaultResponse, - VirtualMachineScaleSetVMRunCommandsUpdate200Response, - VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse, - VirtualMachineScaleSetVMsDeallocate200Response, - VirtualMachineScaleSetVMsDeallocate202Response, - VirtualMachineScaleSetVMsDeallocateDefaultResponse, - VirtualMachineScaleSetVMsDelete200Response, - VirtualMachineScaleSetVMsDelete202Response, - VirtualMachineScaleSetVMsDelete204Response, - VirtualMachineScaleSetVMsDeleteDefaultResponse, - VirtualMachineScaleSetVMsGet200Response, - VirtualMachineScaleSetVMsGetDefaultResponse, - VirtualMachineScaleSetVMsGetInstanceView200Response, - VirtualMachineScaleSetVMsGetInstanceViewDefaultResponse, - VirtualMachineScaleSetVMsList200Response, - VirtualMachineScaleSetVMsListDefaultResponse, - VirtualMachineScaleSetVMsPerformMaintenance200Response, - VirtualMachineScaleSetVMsPerformMaintenance202Response, - VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse, - VirtualMachineScaleSetVMsPowerOff200Response, - VirtualMachineScaleSetVMsPowerOff202Response, - VirtualMachineScaleSetVMsPowerOffDefaultResponse, - VirtualMachineScaleSetVMsRedeploy200Response, - VirtualMachineScaleSetVMsRedeploy202Response, - VirtualMachineScaleSetVMsRedeployDefaultResponse, - VirtualMachineScaleSetVMsReimage200Response, - VirtualMachineScaleSetVMsReimage202Response, - VirtualMachineScaleSetVMsReimageAll200Response, - VirtualMachineScaleSetVMsReimageAll202Response, - VirtualMachineScaleSetVMsReimageAllDefaultResponse, - VirtualMachineScaleSetVMsReimageDefaultResponse, - VirtualMachineScaleSetVMsRestart200Response, - VirtualMachineScaleSetVMsRestart202Response, - VirtualMachineScaleSetVMsRestartDefaultResponse, - VirtualMachineScaleSetVMsRetrieveBootDiagnosticsData200Response, - VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResponse, - VirtualMachineScaleSetVMsSimulateEviction204Response, - VirtualMachineScaleSetVMsSimulateEvictionDefaultResponse, - VirtualMachineScaleSetVMsStart200Response, - VirtualMachineScaleSetVMsStart202Response, - VirtualMachineScaleSetVMsStartDefaultResponse, - VirtualMachineScaleSetVMsUpdate200Response, - VirtualMachineScaleSetVMsUpdate202Response, - VirtualMachineScaleSetVMsUpdateDefaultResponse, - VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response, - VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse, - VirtualMachineScaleSetsCreateOrUpdate200Response, - VirtualMachineScaleSetsCreateOrUpdate201Response, - VirtualMachineScaleSetsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetsDeallocate200Response, - VirtualMachineScaleSetsDeallocate202Response, - VirtualMachineScaleSetsDeallocateDefaultResponse, - VirtualMachineScaleSetsDelete200Response, - VirtualMachineScaleSetsDelete202Response, - VirtualMachineScaleSetsDelete204Response, - VirtualMachineScaleSetsDeleteDefaultResponse, - VirtualMachineScaleSetsDeleteInstances200Response, - VirtualMachineScaleSetsDeleteInstances202Response, - VirtualMachineScaleSetsDeleteInstancesDefaultResponse, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse, - VirtualMachineScaleSetsGet200Response, - VirtualMachineScaleSetsGetDefaultResponse, - VirtualMachineScaleSetsGetInstanceView200Response, - VirtualMachineScaleSetsGetInstanceViewDefaultResponse, - VirtualMachineScaleSetsGetOSUpgradeHistory200Response, - VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse, - VirtualMachineScaleSetsList200Response, - VirtualMachineScaleSetsListAll200Response, - VirtualMachineScaleSetsListAllDefaultResponse, - VirtualMachineScaleSetsListByLocation200Response, - VirtualMachineScaleSetsListByLocationDefaultResponse, - VirtualMachineScaleSetsListDefaultResponse, - VirtualMachineScaleSetsListSkus200Response, - VirtualMachineScaleSetsListSkusDefaultResponse, - VirtualMachineScaleSetsPerformMaintenance200Response, - VirtualMachineScaleSetsPerformMaintenance202Response, - VirtualMachineScaleSetsPerformMaintenanceDefaultResponse, - VirtualMachineScaleSetsPowerOff200Response, - VirtualMachineScaleSetsPowerOff202Response, - VirtualMachineScaleSetsPowerOffDefaultResponse, - VirtualMachineScaleSetsRedeploy200Response, - VirtualMachineScaleSetsRedeploy202Response, - VirtualMachineScaleSetsRedeployDefaultResponse, - VirtualMachineScaleSetsReimage200Response, - VirtualMachineScaleSetsReimage202Response, - VirtualMachineScaleSetsReimageAll200Response, - VirtualMachineScaleSetsReimageAll202Response, - VirtualMachineScaleSetsReimageAllDefaultResponse, - VirtualMachineScaleSetsReimageDefaultResponse, - VirtualMachineScaleSetsRestart200Response, - VirtualMachineScaleSetsRestart202Response, - VirtualMachineScaleSetsRestartDefaultResponse, - VirtualMachineScaleSetsSetOrchestrationServiceState200Response, - VirtualMachineScaleSetsSetOrchestrationServiceState202Response, - VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse, - VirtualMachineScaleSetsStart200Response, - VirtualMachineScaleSetsStart202Response, - VirtualMachineScaleSetsStartDefaultResponse, - VirtualMachineScaleSetsUpdate200Response, - VirtualMachineScaleSetsUpdateDefaultResponse, - VirtualMachineScaleSetsUpdateInstances200Response, - VirtualMachineScaleSetsUpdateInstances202Response, - VirtualMachineScaleSetsUpdateInstancesDefaultResponse, - VirtualMachineSizesList200Response, - VirtualMachineSizesListDefaultResponse, - VirtualMachinesAssessPatches200Response, - VirtualMachinesAssessPatches202Response, - VirtualMachinesAssessPatchesDefaultResponse, - VirtualMachinesCapture200Response, - VirtualMachinesCapture202Response, - VirtualMachinesCaptureDefaultResponse, - VirtualMachinesConvertToManagedDisks200Response, - VirtualMachinesConvertToManagedDisks202Response, - VirtualMachinesConvertToManagedDisksDefaultResponse, - VirtualMachinesCreateOrUpdate200Response, - VirtualMachinesCreateOrUpdate201Response, - VirtualMachinesCreateOrUpdateDefaultResponse, - VirtualMachinesDeallocate200Response, - VirtualMachinesDeallocate202Response, - VirtualMachinesDeallocateDefaultResponse, - VirtualMachinesDelete200Response, - VirtualMachinesDelete202Response, - VirtualMachinesDelete204Response, - VirtualMachinesDeleteDefaultResponse, - VirtualMachinesGeneralize200Response, - VirtualMachinesGeneralizeDefaultResponse, - VirtualMachinesGet200Response, - VirtualMachinesGetDefaultResponse, - VirtualMachinesInstallPatches200Response, - VirtualMachinesInstallPatches202Response, - VirtualMachinesInstallPatchesDefaultResponse, - VirtualMachinesInstanceView200Response, - VirtualMachinesInstanceViewDefaultResponse, - VirtualMachinesList200Response, - VirtualMachinesListAll200Response, - VirtualMachinesListAllDefaultResponse, - VirtualMachinesListAvailableSizes200Response, - VirtualMachinesListAvailableSizesDefaultResponse, - VirtualMachinesListByLocation200Response, - VirtualMachinesListByLocationDefaultResponse, - VirtualMachinesListDefaultResponse, - VirtualMachinesPerformMaintenance200Response, - VirtualMachinesPerformMaintenance202Response, - VirtualMachinesPerformMaintenanceDefaultResponse, - VirtualMachinesPowerOff200Response, - VirtualMachinesPowerOff202Response, - VirtualMachinesPowerOffDefaultResponse, - VirtualMachinesReapply200Response, - VirtualMachinesReapply202Response, - VirtualMachinesReapplyDefaultResponse, - VirtualMachinesRedeploy200Response, - VirtualMachinesRedeploy202Response, - VirtualMachinesRedeployDefaultResponse, - VirtualMachinesReimage200Response, - VirtualMachinesReimage202Response, - VirtualMachinesReimageDefaultResponse, - VirtualMachinesRestart200Response, - VirtualMachinesRestart202Response, - VirtualMachinesRestartDefaultResponse, - VirtualMachinesRetrieveBootDiagnosticsData200Response, - VirtualMachinesRetrieveBootDiagnosticsDataDefaultResponse, - VirtualMachinesSimulateEviction204Response, - VirtualMachinesSimulateEvictionDefaultResponse, - VirtualMachinesStart200Response, - VirtualMachinesStart202Response, - VirtualMachinesStartDefaultResponse, - VirtualMachinesUpdate200Response, - VirtualMachinesUpdateDefaultResponse, + SharedGalleryImagesGet200Response, + SharedGalleryImagesGetDefaultResponse, + SharedGalleryImageVersionsList200Response, + SharedGalleryImageVersionsListDefaultResponse, + SharedGalleryImageVersionsGet200Response, + SharedGalleryImageVersionsGetDefaultResponse, + CommunityGalleriesGet200Response, + CommunityGalleriesGetDefaultResponse, + CommunityGalleryImagesGet200Response, + CommunityGalleryImagesGetDefaultResponse, + CommunityGalleryImagesList200Response, + CommunityGalleryImagesListDefaultResponse, + CommunityGalleryImageVersionsGet200Response, + CommunityGalleryImageVersionsGetDefaultResponse, + CommunityGalleryImageVersionsList200Response, + CommunityGalleryImageVersionsListDefaultResponse, + CloudServiceRoleInstancesDelete200Response, + CloudServiceRoleInstancesDelete202Response, + CloudServiceRoleInstancesDelete204Response, + CloudServiceRoleInstancesDeleteDefaultResponse, + CloudServiceRoleInstancesGet200Response, + CloudServiceRoleInstancesGetDefaultResponse, + CloudServiceRoleInstancesGetInstanceView200Response, + CloudServiceRoleInstancesGetInstanceViewDefaultResponse, + CloudServiceRoleInstancesList200Response, + CloudServiceRoleInstancesListDefaultResponse, + CloudServiceRoleInstancesRestart200Response, + CloudServiceRoleInstancesRestart202Response, + CloudServiceRoleInstancesRestartDefaultResponse, + CloudServiceRoleInstancesReimage200Response, + CloudServiceRoleInstancesReimage202Response, + CloudServiceRoleInstancesReimageDefaultResponse, + CloudServiceRoleInstancesRebuild200Response, + CloudServiceRoleInstancesRebuild202Response, + CloudServiceRoleInstancesRebuildDefaultResponse, + CloudServiceRoleInstancesGetRemoteDesktopFile200Response, + CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse, + CloudServiceRolesGet200Response, + CloudServiceRolesGetDefaultResponse, + CloudServiceRolesList200Response, + CloudServiceRolesListDefaultResponse, + CloudServicesCreateOrUpdate200Response, + CloudServicesCreateOrUpdate201Response, + CloudServicesCreateOrUpdateDefaultResponse, + CloudServicesUpdate200Response, + CloudServicesUpdateDefaultResponse, + CloudServicesDelete200Response, + CloudServicesDelete202Response, + CloudServicesDelete204Response, + CloudServicesDeleteDefaultResponse, + CloudServicesGet200Response, + CloudServicesGetDefaultResponse, + CloudServicesGetInstanceView200Response, + CloudServicesGetInstanceViewDefaultResponse, + CloudServicesListAll200Response, + CloudServicesListAllDefaultResponse, + CloudServicesList200Response, + CloudServicesListDefaultResponse, + CloudServicesStart200Response, + CloudServicesStart202Response, + CloudServicesStartDefaultResponse, + CloudServicesPowerOff200Response, + CloudServicesPowerOff202Response, + CloudServicesPowerOffDefaultResponse, + CloudServicesRestart200Response, + CloudServicesRestart202Response, + CloudServicesRestartDefaultResponse, + CloudServicesReimage200Response, + CloudServicesReimage202Response, + CloudServicesReimageDefaultResponse, + CloudServicesRebuild200Response, + CloudServicesRebuild202Response, + CloudServicesRebuildDefaultResponse, + CloudServicesDeleteInstances200Response, + CloudServicesDeleteInstances202Response, + CloudServicesDeleteInstancesDefaultResponse, + CloudServicesUpdateDomainWalkUpdateDomain200Response, + CloudServicesUpdateDomainWalkUpdateDomain202Response, + CloudServicesUpdateDomainWalkUpdateDomainDefaultResponse, + CloudServicesUpdateDomainGetUpdateDomain200Response, + CloudServicesUpdateDomainGetUpdateDomainDefaultResponse, + CloudServicesUpdateDomainListUpdateDomains200Response, + CloudServicesUpdateDomainListUpdateDomainsDefaultResponse, + CloudServiceOperatingSystemsGetOSVersion200Response, + CloudServiceOperatingSystemsGetOSVersionDefaultResponse, + CloudServiceOperatingSystemsListOSVersions200Response, + CloudServiceOperatingSystemsListOSVersionsDefaultResponse, + CloudServiceOperatingSystemsGetOSFamily200Response, + CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, + CloudServiceOperatingSystemsListOSFamilies200Response, + CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, } from "./responses"; const responseMap: Record = { @@ -662,22 +662,22 @@ const responseMap: Record = { ], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": ["200", "202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets": @@ -689,134 +689,134 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk": ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": - ["200", "201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}": + ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/instanceView": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/retrieveBootDiagnosticsData": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/simulateEviction": ["204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": - ["200", "201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": @@ -825,28 +825,28 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": - ["200", "201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines": @@ -854,50 +854,50 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction": ["204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions": @@ -963,20 +963,20 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart": - ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart": ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart": + ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys": ["200"], @@ -990,10 +990,10 @@ const responseMap: Record = { ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}/generateKeyPair": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": @@ -1005,19 +1005,19 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}": + ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections": [ "200", ], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}": - ["201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}": + ["201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}": ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}": @@ -1033,52 +1033,52 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups": [ "200", ], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations": ["200"], - "POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": - ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": ["200", "202"], - "POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests": + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests": ["200", "202"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": + ["200", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": @@ -1086,18 +1086,18 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": + ["200", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": @@ -1107,18 +1107,18 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": + ["200", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": @@ -1132,18 +1132,18 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/beginGetAccess": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/beginGetAccess": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/endGetAccess": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/beginGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/endGetAccess": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/endGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": + ["200", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": @@ -1151,19 +1151,19 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": @@ -1171,50 +1171,50 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}": @@ -1237,36 +1237,36 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}": + ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/instanceView": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/remoteDesktopFile": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles/{roleName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": @@ -1276,34 +1276,34 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}": @@ -3491,59 +3491,70 @@ export function isUnexpected( const method = response.request.method; let pathDetails = responseMap[`${method} ${url.pathname}`]; if (!pathDetails) { - pathDetails = geParametrizedPathSuccess(url.pathname); + pathDetails = getParametrizedPathSuccess(method, url.pathname); } return !pathDetails.includes(response.status); } -function geParametrizedPathSuccess(path: string): string[] { +function getParametrizedPathSuccess(method: string, path: string): string[] { const pathParts = path.split("/"); + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + // Iterate the responseMap to find a match for (const [key, value] of Object.entries(responseMap)) { // Extracting the path from the map key which is in format // GET /path/foo + if (!key.startsWith(method)) { + continue; + } const candidatePath = getPathFromMapKey(key); // Get each part of the url path const candidateParts = candidatePath.split("/"); - // If the candidate and actual paths don't match in size - // we move on to the next candidate path - if (candidateParts.length === pathParts.length && hasParametrizedPath(key)) { - // track if we have found a match to return the values found. - let found = true; - for (let i = 0; i < candidateParts.length; i++) { - if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.endsWith("}")) { - // If the current part of the candidate is a "template" part - // it is a match with the actual path part on hand - // skip as the parameterized part can match anything - continue; - } + // track if we have found a match to return the values found. + let found = true; + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); - // If the candidate part is not a template and - // the parts don't match mark the candidate as not found - // to move on with the next candidate path. - if (candidateParts[i] !== pathParts[i]) { + if (!isMatched) { found = false; break; } + continue; } - // We finished evaluating the current candidate parts - // if all parts matched we return the success values form - // the path mapping. - if (found) { - return value; + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; } } - } - // No match was found, return an empty array. - return []; -} + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } -function hasParametrizedPath(path: string): boolean { - return path.includes("/{"); + return matchedValue; } function getPathFromMapKey(mapKey: string): string { diff --git a/sdk/compute/arm-compute-rest/src/logger.ts b/sdk/compute/arm-compute-rest/src/logger.ts new file mode 100644 index 000000000000..9d6b7aa92c6c --- /dev/null +++ b/sdk/compute/arm-compute-rest/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-compute"); diff --git a/sdk/compute/arm-compute-rest/src/models.ts b/sdk/compute/arm-compute-rest/src/models.ts index f7c760fa9027..965a5db66855 100644 --- a/sdk/compute/arm-compute-rest/src/models.ts +++ b/sdk/compute/arm-compute-rest/src/models.ts @@ -79,14 +79,10 @@ export interface VirtualMachineScaleSetProperties { automaticRepairsPolicy?: AutomaticRepairsPolicy; /** The virtual machine profile. */ virtualMachineProfile?: VirtualMachineScaleSetVMProfile; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** Specifies whether the Virtual Machine Scale Set should be overprovisioned. */ overprovision?: boolean; /** When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. */ doNotRunExtensionsOnOverprovisionedVMs?: boolean; - /** Specifies the ID which uniquely identifies a Virtual Machine Scale Set. */ - uniqueId?: string; /** When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. */ singlePlacementGroup?: boolean; /** Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set. */ @@ -107,8 +103,6 @@ export interface VirtualMachineScaleSetProperties { spotRestorePolicy?: SpotRestorePolicy; /** Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance. */ priorityMixPolicy?: PriorityMixPolicy; - /** Specifies the time at which the Virtual Machine Scale Set resource was created.

Minimum api-version: 2021-11-01. */ - timeCreated?: Date | string; } /** Describes an upgrade policy - automatic, manual, or rolling. */ @@ -359,8 +353,6 @@ export interface ImageReference extends SubResource { sku?: string; /** Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. */ version?: string; - /** Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. */ - exactVersion?: string; /** Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. */ sharedGalleryImageId?: string; /** Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. */ @@ -631,8 +623,6 @@ export interface VirtualMachineScaleSetExtensionProfile { export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly { /** The name of the extension. */ name?: string; - /** Resource type */ - type?: string; /** Describes the properties of a Virtual Machine Scale Set Extension. */ properties?: VirtualMachineScaleSetExtensionProperties; } @@ -655,8 +645,6 @@ export interface VirtualMachineScaleSetExtensionProperties { settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: any; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** Collection of extension names after which this extension needs to be provisioned. */ provisionAfterExtensions?: Array; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ @@ -673,10 +661,7 @@ export interface KeyVaultSecretReference { sourceVault: SubResource; } -export interface SubResourceReadOnly { - /** Resource Id */ - id?: string; -} +export interface SubResourceReadOnly {} /** Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01. */ export interface BillingProfile { @@ -772,22 +757,13 @@ export interface PriorityMixPolicy { /** Identity for the virtual machine scale set. */ export interface VirtualMachineScaleSetIdentity { - /** The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. */ - principalId?: string; - /** The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. */ - tenantId?: string; /** The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record; } -export interface UserAssignedIdentitiesValue { - /** The principal id of user assigned identity. */ - principalId?: string; - /** The client id of user assigned identity. */ - clientId?: string; -} +export interface UserAssignedIdentitiesValue {} /** The complex type of the extended location. */ export interface ExtendedLocation { @@ -799,12 +775,6 @@ export interface ExtendedLocation { /** The Resource model definition. */ export interface Resource { - /** Resource Id */ - id?: string; - /** Resource name */ - name?: string; - /** Resource type */ - type?: string; /** Resource location */ location: string; /** Resource tags */ @@ -1034,25 +1004,12 @@ export interface InstanceViewStatus { /** Describes a Virtual Machine Scale Set Extension. */ export interface VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOnly { - /** The name of the extension. */ - name?: string; - /** Resource type */ - type?: string; /** Describes the properties of a Virtual Machine Scale Set Extension. */ properties?: VirtualMachineScaleSetExtensionProperties; } /** Information about the number of virtual machine instances in each upgrade state. */ -export interface RollingUpgradeProgressInfo { - /** The number of instances that have been successfully upgraded. */ - successfulInstanceCount?: number; - /** The number of instances that have failed to be upgraded successfully. */ - failedInstanceCount?: number; - /** The number of instances that are currently being upgraded. */ - inProgressInstanceCount?: number; - /** The number of instances that have not yet begun to be upgraded. */ - pendingInstanceCount?: number; -} +export interface RollingUpgradeProgressInfo {} /** Describes a Virtual Machine Scale Set VM Reimage Parameters. */ export interface VirtualMachineScaleSetReimageParameters @@ -1078,28 +1035,10 @@ export interface RollingUpgradeStatusInfo extends Resource { } /** The status of the latest virtual machine scale set rolling upgrade. */ -export interface RollingUpgradeStatusInfoProperties { - /** The rolling upgrade policies applied for this upgrade. */ - policy?: RollingUpgradePolicy; - /** Information about the current running state of the overall upgrade. */ - runningStatus?: RollingUpgradeRunningStatus; - /** Information about the number of virtual machine instances in each upgrade state. */ - progress?: RollingUpgradeProgressInfo; - /** Error details for this upgrade, if there are any. */ - error?: ApiError; -} +export interface RollingUpgradeStatusInfoProperties {} /** Information about the current running state of the overall upgrade. */ -export interface RollingUpgradeRunningStatus { - /** Code indicating the current status of the upgrade. */ - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; - /** Start time of the upgrade. */ - startTime?: Date | string; - /** The last action performed on the rolling upgrade. */ - lastAction?: "Start" | "Cancel"; - /** Last action time of the upgrade. */ - lastActionTime?: Date | string; -} +export interface RollingUpgradeRunningStatus {} export interface VMScaleSetConvertToSinglePlacementGroupInput { /** Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances. */ @@ -1116,10 +1055,6 @@ export interface OrchestrationServiceStateInput { /** Describes a VMSS VM Extension. */ export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly { - /** The name of the extension. */ - name?: string; - /** Resource type */ - type?: string; /** Describes the properties of a Virtual Machine Extension. */ properties?: VirtualMachineExtensionProperties; } @@ -1142,8 +1077,6 @@ export interface VirtualMachineExtensionProperties { settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: any; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** The virtual machine extension instance view. */ instanceView?: VirtualMachineExtensionInstanceView; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ @@ -1168,10 +1101,6 @@ export interface VirtualMachineExtensionInstanceView { /** Describes a VMSS VM Extension. */ export interface VirtualMachineScaleSetVMExtensionUpdate extends SubResourceReadOnly { - /** The name of the extension. */ - name?: string; - /** Resource type */ - type?: string; /** Describes the properties of a Virtual Machine Extension. */ properties?: VirtualMachineExtensionUpdateProperties; } @@ -1202,30 +1131,16 @@ export interface VirtualMachineExtensionUpdateProperties { /** Describes a virtual machine scale set virtual machine. */ export interface VirtualMachineScaleSetVM extends Resource { - /** The virtual machine instance ID. */ - instanceId?: string; - /** The virtual machine SKU. */ - sku?: Sku; /** Describes the properties of a virtual machine scale set virtual machine. */ properties?: VirtualMachineScaleSetVMProperties; /** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. */ plan?: Plan; - /** The virtual machine child extension resources. */ - resources?: Array; - /** The virtual machine zones. */ - zones?: Array; /** The identity of the virtual machine, if configured. */ identity?: VirtualMachineIdentity; } /** Describes the properties of a virtual machine scale set virtual machine. */ export interface VirtualMachineScaleSetVMProperties { - /** Specifies whether the latest model has been applied to the virtual machine. */ - latestModelApplied?: boolean; - /** Azure VM unique ID. */ - vmId?: string; - /** The virtual machine instance view. */ - instanceView?: VirtualMachineScaleSetVMInstanceView; /** Specifies the hardware settings for the virtual machine. */ hardwareProfile?: HardwareProfile; /** Specifies the storage settings for the virtual machine disks. */ @@ -1244,12 +1159,8 @@ export interface VirtualMachineScaleSetVMProperties { diagnosticsProfile?: DiagnosticsProfile; /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

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

Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. */ availabilitySet?: SubResource; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 */ licenseType?: string; - /** Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. */ - modelDefinitionApplied?: string; /** Specifies the protection policy of the virtual machine. */ protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicy; /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

Minimum api-version: 2021-03-01 */ @@ -1272,14 +1183,10 @@ export interface VirtualMachineScaleSetVMInstanceView { disks?: Array; /** The extensions information. */ extensions?: Array; - /** The health status for the VM. */ - vmHealth?: VirtualMachineHealthStatus; /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ bootDiagnostics?: BootDiagnosticsInstanceView; /** The resource status information. */ statuses?: Array; - /** Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

Minimum api-version: 2020-06-01. */ - assignedHost?: string; /** The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId. */ placementGroupId?: string; } @@ -1351,20 +1258,10 @@ export interface KeyVaultKeyReference { } /** The health status of the VM. */ -export interface VirtualMachineHealthStatus { - /** The health status information for the VM. */ - status?: InstanceViewStatus; -} +export interface VirtualMachineHealthStatus {} /** The instance view of a virtual machine boot diagnostics. */ -export interface BootDiagnosticsInstanceView { - /** The console screenshot blob URI.

NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. */ - consoleScreenshotBlobUri?: string; - /** The serial console log blob Uri.

NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. */ - serialConsoleLogBlobUri?: string; - /** The boot diagnostics status information for the VM.

NOTE: It will be set only if there are errors encountered in enabling boot diagnostics. */ - status?: InstanceViewStatus; -} +export interface BootDiagnosticsInstanceView {} /** Specifies the hardware settings for the virtual machine. */ export interface HardwareProfile { @@ -1619,10 +1516,6 @@ export interface DataDisk { managedDisk?: ManagedDiskParameters; /** Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset */ toBeDetached?: boolean; - /** Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. */ - diskIOPSReadWrite?: number; - /** Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. */ - diskMBpsReadWrite?: number; /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.

detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.

This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ detachOption?: "ForceDetach"; /** Specifies whether data disk should be deleted or detached upon VM deletion.

Possible values:

**Delete** If this value is used, the data disk is deleted when VM is deleted.

**Detach** If this value is used, the data disk is retained after VM is deleted.

The default value is set to **detach** */ @@ -1804,22 +1697,12 @@ export interface VirtualMachineExtension extends ResourceWithOptionalLocation { export interface ResourceWithOptionalLocation { /** Resource location */ location?: string; - /** Resource Id */ - id?: string; - /** Resource name */ - name?: string; - /** Resource type */ - type?: string; /** Resource tags */ tags?: Record; } /** Identity for the virtual machine. */ export interface VirtualMachineIdentity { - /** The principal id of virtual machine identity. This property will only be provided for a system assigned identity. */ - principalId?: string; - /** The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. */ - tenantId?: string; /** The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -1838,8 +1721,6 @@ export interface VirtualMachine extends Resource { plan?: Plan; /** Describes the properties of a Virtual Machine. */ properties?: VirtualMachineProperties; - /** The virtual machine child extension resources. */ - resources?: Array; /** The identity of the virtual machine, if configured. */ identity?: VirtualMachineIdentity; /** The virtual machine zones. */ @@ -1880,14 +1761,8 @@ export interface VirtualMachineProperties { host?: SubResource; /** Specifies information about the dedicated host group that the virtual machine resides in.

Minimum api-version: 2020-06-01.

NOTE: User cannot specify both host and hostGroup properties. */ hostGroup?: SubResource; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The virtual machine instance view. */ - instanceView?: VirtualMachineInstanceView; /** Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 */ licenseType?: string; - /** Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. */ - vmId?: string; /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

Minimum api-version: 2020-06-01 */ extensionsTimeBudget?: string; /** Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01 */ @@ -1900,8 +1775,6 @@ export interface VirtualMachineProperties { capacityReservation?: CapacityReservationProfile; /** Specifies the gallery applications that should be made available to the VM/VMSS */ applicationProfile?: ApplicationProfile; - /** Specifies the time at which the Virtual Machine resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: Date | string; } /** The instance view of a virtual machine. */ @@ -1928,12 +1801,8 @@ export interface VirtualMachineInstanceView { disks?: Array; /** The extensions information. */ extensions?: Array; - /** The health status for the VM. */ - vmHealth?: VirtualMachineHealthStatus; /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

    You can easily view the output of your console log.

    Azure also enables you to see a screenshot of the VM from the hypervisor. */ bootDiagnostics?: BootDiagnosticsInstanceView; - /** Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

    Minimum api-version: 2020-06-01. */ - assignedHost?: string; /** The resource status information. */ statuses?: Array; /** [Preview Feature] The status of virtual machine patch operations. */ @@ -1946,55 +1815,13 @@ export interface VirtualMachinePatchStatus { availablePatchSummary?: AvailablePatchSummary; /** The installation summary of the latest installation operation for the virtual machine. */ lastPatchInstallationSummary?: LastPatchInstallationSummary; - /** The enablement status of the specified patchMode */ - configurationStatuses?: Array; } /** Describes the properties of an virtual machine instance view for available patch summary. */ -export interface AvailablePatchSummary { - /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; - /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - assessmentActivityId?: string; - /** The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. */ - rebootPending?: boolean; - /** The number of critical or security patches that have been detected as available and not yet installed. */ - criticalAndSecurityPatchCount?: number; - /** The number of all available patches excluding critical and security. */ - otherPatchCount?: number; - /** The UTC timestamp when the operation began. */ - startTime?: Date | string; - /** The UTC timestamp when the operation began. */ - lastModifiedTime?: Date | string; - /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiError; -} +export interface AvailablePatchSummary {} /** Describes the properties of the last installed patch summary. */ -export interface LastPatchInstallationSummary { - /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; - /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - installationActivityId?: string; - /** Describes whether the operation ran out of time before it completed all its intended actions */ - maintenanceWindowExceeded?: boolean; - /** The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. */ - notSelectedPatchCount?: number; - /** The number of all available patches but excluded explicitly by a customer-specified exclusion list match. */ - excludedPatchCount?: number; - /** The number of all available patches expected to be installed over the course of the patch installation operation. */ - pendingPatchCount?: number; - /** The count of patches that successfully installed. */ - installedPatchCount?: number; - /** The count of patches that failed installation. */ - failedPatchCount?: number; - /** The UTC timestamp when the operation began. */ - startTime?: Date | string; - /** The UTC timestamp when the operation began. */ - lastModifiedTime?: Date | string; - /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiError; -} +export interface LastPatchInstallationSummary {} /** Capture Virtual Machine parameters. */ export interface VirtualMachineCaptureParameters { @@ -2007,16 +1834,7 @@ export interface VirtualMachineCaptureParameters { } /** Output of virtual machine capture operation. */ -export interface VirtualMachineCaptureResult extends SubResource { - /** the schema of the captured virtual machine */ - $schema?: string; - /** the version of the content */ - contentVersion?: string; - /** parameters of the captured virtual machine */ - parameters?: any; - /** a list of resource items of the captured virtual machine */ - resources?: Array; -} +export interface VirtualMachineCaptureResult extends SubResource {} /** Describes a Virtual Machine Update. */ export interface VirtualMachineUpdate extends UpdateResource { @@ -2118,10 +1936,7 @@ export interface OSDiskImage { } /** Contains the data disk images information. */ -export interface DataDiskImage { - /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - lun?: number; -} +export interface DataDiskImage {} /** Describes automatic OS upgrade properties on the image. */ export interface AutomaticOSUpgradeProperties { @@ -2193,8 +2008,6 @@ export interface AvailabilitySetProperties { virtualMachines?: Array; /** Specifies information about the proximity placement group that the availability set should be assigned to.

    Minimum api-version: 2018-04-01. */ proximityPlacementGroup?: SubResource; - /** The resource status information. */ - statuses?: Array; } /** Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated. */ @@ -2217,12 +2030,6 @@ export interface ProximityPlacementGroup extends Resource { export interface ProximityPlacementGroupProperties { /** Specifies the type of the proximity placement group.

    Possible values are:

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

    **Ultra** : For future use. */ proximityPlacementGroupType?: "Standard" | "Ultra"; - /** A list of references to all virtual machines in the proximity placement group. */ - virtualMachines?: Array; - /** A list of references to all virtual machine scale sets in the proximity placement group. */ - virtualMachineScaleSets?: Array; - /** A list of references to all availability sets in the proximity placement group. */ - availabilitySets?: Array; /** Describes colocation status of the Proximity Placement Group. */ colocationStatus?: InstanceViewStatus; /** Specifies the user intent of the proximity placement group. */ @@ -2255,10 +2062,6 @@ export interface DedicatedHostGroup extends Resource { export interface DedicatedHostGroupProperties { /** Number of fault domains that the host group can span. */ platformFaultDomainCount: number; - /** A list of references to all dedicated hosts in the dedicated host group. */ - hosts?: Array; - /** The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. */ - instanceView?: DedicatedHostGroupInstanceView; /** Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

    Minimum api-version: 2020-06-01. */ supportAutomaticPlacement?: boolean; /** Enables or disables a capability on the dedicated host group.

    Minimum api-version: 2022-03-01. */ @@ -2271,15 +2074,10 @@ export interface DedicatedHostGroupInstanceView { } /** The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group. */ -export interface DedicatedHostInstanceViewWithName extends DedicatedHostInstanceView { - /** The name of the dedicated host. */ - name?: string; -} +export interface DedicatedHostInstanceViewWithName extends DedicatedHostInstanceView {} /** The instance view of a dedicated host. */ export interface DedicatedHostInstanceView { - /** Specifies the unique id of the dedicated physical machine on which the dedicated host resides. */ - assetId?: string; /** Unutilized capacity of the dedicated host. */ availableCapacity?: DedicatedHostAvailableCapacity; /** The resource status information. */ @@ -2328,20 +2126,8 @@ export interface DedicatedHostProperties { platformFaultDomain?: number; /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ autoReplaceOnFailure?: boolean; - /** A unique id generated and assigned to the dedicated host by the platform.

    Does not change throughout the lifetime of the host. */ - hostId?: string; - /** A list of references to all virtual machines in the Dedicated Host. */ - virtualMachines?: Array; /** Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

    Possible values are:

    **None**

    **Windows_Server_Hybrid**

    **Windows_Server_Perpetual**

    Default: **None** */ licenseType?: "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; - /** The date when the host was first provisioned. */ - provisioningTime?: Date | string; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The dedicated host instance view. */ - instanceView?: DedicatedHostInstanceView; - /** Specifies the time at which the Dedicated Host resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: Date | string; } /** Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated. */ @@ -2382,8 +2168,6 @@ export interface ImageProperties { sourceVirtualMachine?: SubResource; /** Specifies the storage settings for the virtual machine disks. */ storageProfile?: ImageStorageProfile; - /** The provisioning state. */ - provisioningState?: string; /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ hyperVGeneration?: "V1" | "V2"; } @@ -2453,18 +2237,10 @@ export interface RestorePointCollection extends Resource { export interface RestorePointCollectionProperties { /** The properties of the source resource that this restore point collection is created from. */ source?: RestorePointCollectionSourceProperties; - /** The provisioning state of the restore point collection. */ - provisioningState?: string; - /** The unique id of the restore point collection. */ - restorePointCollectionId?: string; - /** A list containing all restore points created under this restore point collection. */ - restorePoints?: Array; } /** The properties of the source resource that this restore point collection is created from. */ export interface RestorePointCollectionSourceProperties { - /** Location of the source resource used to create this restore point collection. */ - location?: string; /** Resource Id of the source resource used to create this restore point collection */ id?: string; } @@ -2479,18 +2255,12 @@ export interface RestorePoint extends ProxyResource { export interface RestorePointProperties { /** List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. */ excludeDisks?: Array; - /** Gets the details of the VM captured at the time of the restore point creation. */ - sourceMetadata?: RestorePointSourceMetadata; - /** Gets the provisioning state of the restore point. */ - provisioningState?: string; /** ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details. */ consistencyMode?: "CrashConsistent" | "FileSystemConsistent" | "ApplicationConsistent"; /** Gets the creation time of the restore point. */ timeCreated?: Date | string; /** Resource Id of the source restore point from which a copy needs to be created. */ sourceRestorePoint?: ApiEntityReference; - /** The restore point instance view. */ - instanceView?: RestorePointInstanceView; } /** Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. */ @@ -2580,14 +2350,7 @@ export interface DiskRestorePointReplicationStatus { } /** The resource model definition for an Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource { - /** Resource Id */ - id?: string; - /** Resource name */ - name?: string; - /** Resource type */ - type?: string; -} +export interface ProxyResource {} /** Update Restore Point collection parameters. */ export interface RestorePointCollectionUpdate extends UpdateResource { @@ -2604,25 +2367,12 @@ export interface CapacityReservationGroup extends Resource { } /** capacity reservation group Properties. */ -export interface CapacityReservationGroupProperties { - /** A list of all capacity reservation resource ids that belong to capacity reservation group. */ - capacityReservations?: Array; - /** A list of references to all virtual machines associated to the capacity reservation group. */ - virtualMachinesAssociated?: Array; - /** The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group. */ - instanceView?: CapacityReservationGroupInstanceView; -} +export interface CapacityReservationGroupProperties {} -export interface CapacityReservationGroupInstanceView { - /** List of instance view of the capacity reservations under the capacity reservation group. */ - capacityReservations?: Array; -} +export interface CapacityReservationGroupInstanceView {} /** The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group. */ -export interface CapacityReservationInstanceViewWithName extends CapacityReservationInstanceView { - /** The name of the capacity reservation. */ - name?: string; -} +export interface CapacityReservationInstanceViewWithName extends CapacityReservationInstanceView {} /** The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */ export interface CapacityReservationInstanceView { @@ -2633,12 +2383,7 @@ export interface CapacityReservationInstanceView { } /** Represents the capacity reservation utilization in terms of resources allocated. */ -export interface CapacityReservationUtilization { - /** The value provides the current capacity of the VM size which was reserved successfully and for which the customer is getting billed.

    Minimum api-version: 2022-08-01. */ - currentCapacity?: number; - /** A list of all virtual machines resource ids allocated against the capacity reservation. */ - virtualMachinesAllocated?: Array; -} +export interface CapacityReservationUtilization {} /** Specifies information about the capacity reservation group. Only tags can be updated. */ export interface CapacityReservationGroupUpdate extends UpdateResource { @@ -2657,22 +2402,7 @@ export interface CapacityReservation extends Resource { } /** Properties of the Capacity reservation. */ -export interface CapacityReservationProperties { - /** A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. */ - reservationId?: string; - /** Specifies the value of fault domain count that Capacity Reservation supports for requested VM size.
    NOTE: The fault domain count specified for a resource (like virtual machines scale set) must be less than or equal to this value if it deploys using capacity reservation.

    Minimum api-version: 2022-08-01. */ - platformFaultDomainCount?: number; - /** A list of all virtual machine resource ids that are associated with the capacity reservation. */ - virtualMachinesAssociated?: Array; - /** The date time when the capacity reservation was last updated. */ - provisioningTime?: Date | string; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The Capacity reservation instance view. */ - instanceView?: CapacityReservationInstanceView; - /** Specifies the time at which the Capacity Reservation resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: Date | string; -} +export interface CapacityReservationProperties {} /** Specifies information about the capacity reservation. Only tags and sku.capacity can be updated. */ export interface CapacityReservationUpdate extends UpdateResource { @@ -2755,10 +2485,6 @@ export interface VirtualMachineRunCommandProperties { outputBlobUri?: string; /** Specifies the Azure storage blob where script error stream will be uploaded. */ errorBlobUri?: string; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The virtual machine run command instance view. */ - instanceView?: VirtualMachineRunCommandInstanceView; } /** Describes the script sources for run command. */ @@ -2806,10 +2532,6 @@ export interface VirtualMachineRunCommandUpdate extends UpdateResource { /** Disk resource. */ export interface Disk extends Resource { - /** A relative URI containing the ID of the VM that has the disk attached. */ - managedBy?: string; - /** List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. */ - managedByExtended?: Array; /** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. */ sku?: DiskSku; /** The Logical zone list for Disk. */ @@ -2831,14 +2553,10 @@ export interface DiskSku { | "Premium_ZRS" | "StandardSSD_ZRS" | "PremiumV2_LRS"; - /** The sku tier. */ - tier?: string; } /** Disk resource properties. */ export interface DiskProperties { - /** The time when the disk was created. */ - timeCreated?: Date | string; /** The Operating System type. */ osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -2851,14 +2569,8 @@ export interface DiskProperties { creationData: CreationData; /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ diskSizeGB?: number; - /** The size of the disk in bytes. This field is read only. */ - diskSizeBytes?: number; - /** Unique Guid identifying the resource. */ - uniqueId?: string; /** Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ encryptionSettingsCollection?: EncryptionSettingsCollection; - /** The disk provisioning state. */ - provisioningState?: string; /** The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. */ diskIOPSReadWrite?: number; /** The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ @@ -2867,34 +2579,18 @@ export interface DiskProperties { diskIOPSReadOnly?: number; /** The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ diskMBpsReadOnly?: number; - /** The state of the disk. */ - diskState?: - | "Unattached" - | "Attached" - | "Reserved" - | "Frozen" - | "ActiveSAS" - | "ActiveSASFrozen" - | "ReadyToUpload" - | "ActiveUpload"; /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ encryption?: Encryption; /** The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. */ maxShares?: number; - /** Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. */ - shareInfo?: Array; /** Policy for accessing the disk via network. */ networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; /** ARM id of the DiskAccess resource for using private endpoints on disks. */ diskAccessId?: string; - /** Latest time when bursting was last enabled on a disk. */ - burstingEnabledTime?: Date | string; /** Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. */ tier?: string; /** Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. */ burstingEnabled?: boolean; - /** Properties of the disk for which update is pending. */ - propertyUpdatesInProgress?: PropertyUpdatesInProgress; /** Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; /** Contains the security related information for the resource. */ @@ -2955,8 +2651,6 @@ export interface CreationData { sourceUri?: string; /** If createOption is Copy, this is the ARM id of the source snapshot or disk. */ sourceResourceId?: string; - /** If this field is set, this is the unique id identifying the source of this resource. */ - sourceUniqueId?: string; /** If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). */ uploadSizeBytes?: number; /** Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. */ @@ -3030,10 +2724,7 @@ export interface Encryption { | "EncryptionAtRestWithPlatformAndCustomerKeys"; } -export interface ShareInfoElement { - /** A relative URI containing the ID of the VM that has the disk attached. */ - vmUri?: string; -} +export interface ShareInfoElement {} /** Properties of the disk for which update is pending. */ export interface PropertyUpdatesInProgress { @@ -3095,8 +2786,6 @@ export interface DiskUpdateProperties { purchasePlan?: PurchasePlanAutoGenerated; /** List of supported capabilities to be added on the OS disk. */ supportedCapabilities?: SupportedCapabilities; - /** Properties of the disk for which update is pending. */ - propertyUpdatesInProgress?: PropertyUpdatesInProgress; /** Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; /** Policy for controlling export on the disk. */ @@ -3123,42 +2812,22 @@ export interface DiskAccess extends Resource { extendedLocation?: ExtendedLocation; } -export interface DiskAccessProperties { - /** A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. */ - privateEndpointConnections?: Array; - /** The disk access resource provisioning state. */ - provisioningState?: string; - /** The time when the disk access was created. */ - timeCreated?: Date | string; -} +export interface DiskAccessProperties {} /** The Private Endpoint Connection resource. */ export interface PrivateEndpointConnection { /** Resource properties. */ properties?: PrivateEndpointConnectionProperties; - /** private endpoint connection Id */ - id?: string; - /** private endpoint connection name */ - name?: string; - /** private endpoint connection type */ - type?: string; } /** Properties of the PrivateEndpointConnectProperties. */ export interface PrivateEndpointConnectionProperties { - /** The resource of private end point. */ - privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between DiskAccess and Virtual Network. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; - /** The provisioning state of the private endpoint connection resource. */ - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } /** The Private Endpoint resource. */ -export interface PrivateEndpoint { - /** The ARM identifier for Private Endpoint */ - id?: string; -} +export interface PrivateEndpoint {} /** A collection of information about the state of the connection between service consumer and provider. */ export interface PrivateLinkServiceConnectionState { @@ -3187,10 +2856,6 @@ export interface DiskEncryptionSet extends Resource { export interface EncryptionSetIdentity { /** The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; - /** The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity */ - principalId?: string; - /** The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity */ - tenantId?: string; /** The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record; } @@ -3203,16 +2868,8 @@ export interface EncryptionSetProperties { | "ConfidentialVmEncryptedWithCustomerKey"; /** The key vault key which is currently used by this disk encryption set. */ activeKey?: KeyForDiskEncryptionSet; - /** A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. */ - previousKeys?: Array; - /** The disk encryption set provisioning state. */ - provisioningState?: string; /** Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. */ rotationToLatestKeyVersionEnabled?: boolean; - /** The time when the active key of this disk encryption set was updated. */ - lastKeyRotationTimestamp?: Date | string; - /** The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed. */ - autoKeyRotationError?: ApiError; /** Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property. */ federatedClientId?: string; } @@ -3252,8 +2909,6 @@ export interface DiskEncryptionSetUpdateProperties { /** Snapshot resource. */ export interface Snapshot extends Resource { - /** Unused. Always Null. */ - managedBy?: string; /** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ sku?: SnapshotSku; /** The extended location where the snapshot will be created. Extended location cannot be changed. */ @@ -3266,14 +2921,10 @@ export interface Snapshot extends Resource { export interface SnapshotSku { /** The sku name. */ name?: "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"; - /** The sku tier. */ - tier?: string; } /** Snapshot resource properties. */ export interface SnapshotProperties { - /** The time when the snapshot was created. */ - timeCreated?: Date | string; /** The Operating System type. */ osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -3286,28 +2937,10 @@ export interface SnapshotProperties { creationData: CreationData; /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ diskSizeGB?: number; - /** The size of the disk in bytes. This field is read only. */ - diskSizeBytes?: number; - /** The state of the snapshot. */ - diskState?: - | "Unattached" - | "Attached" - | "Reserved" - | "Frozen" - | "ActiveSAS" - | "ActiveSASFrozen" - | "ReadyToUpload" - | "ActiveUpload"; - /** Unique Guid identifying the resource. */ - uniqueId?: string; /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ encryptionSettingsCollection?: EncryptionSettingsCollection; - /** The disk provisioning state. */ - provisioningState?: string; /** Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. */ incremental?: boolean; - /** Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id. */ - incrementalSnapshotFamilyId?: string; /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ encryption?: Encryption; /** Policy for accessing the disk via network. */ @@ -3382,28 +3015,19 @@ export interface GalleryProperties { description?: string; /** Describes the gallery unique name. */ identifier?: GalleryIdentifier; - /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; /** Profile for gallery sharing to subscription or tenant */ sharingProfile?: SharingProfile; /** Contains information about the soft deletion policy of the gallery. */ softDeletePolicy?: SoftDeletePolicy; - /** Sharing status of current gallery. */ - sharingStatus?: SharingStatus; } /** Describes the gallery unique name. */ -export interface GalleryIdentifier { - /** The unique name of the Shared Image Gallery. This name is generated automatically by Azure. */ - uniqueName?: string; -} +export interface GalleryIdentifier {} /** Profile for gallery sharing to subscription or tenant */ export interface SharingProfile { /** This property allows you to specify the permission of sharing gallery.

    Possible values are:

    **Private**

    **Groups**

    **Community** */ permissions?: "Private" | "Groups" | "Community"; - /** A list of sharing profile groups. */ - groups?: Array; /** Information of community gallery if current gallery is shared to community. */ communityGalleryInfo?: CommunityGalleryInfo; } @@ -3426,10 +3050,6 @@ export interface CommunityGalleryInfo { eula?: string; /** The prefix of the gallery name that will be displayed publicly. Visible to all users. */ publicNamePrefix?: string; - /** Contains info about whether community gallery sharing is enabled. */ - communityGalleryEnabled?: boolean; - /** Community gallery public name list. */ - publicNames?: Array; } /** Contains information about the soft deletion policy of the gallery. */ @@ -3440,8 +3060,6 @@ export interface SoftDeletePolicy { /** Sharing status of current gallery. */ export interface SharingStatus { - /** Aggregated sharing state of current gallery. */ - aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; /** Summary of all regional sharing status. */ summary?: Array; } @@ -3450,8 +3068,6 @@ export interface SharingStatus { export interface RegionalSharingStatus { /** Region name */ region?: string; - /** Gallery sharing state in current region */ - state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; /** Details of gallery regional sharing failure. */ details?: string; } @@ -3464,12 +3080,6 @@ export interface GalleryUpdate extends UpdateResourceDefinition { /** The Update Resource model definition. */ export interface UpdateResourceDefinition { - /** Resource Id */ - id?: string; - /** Resource name */ - name?: string; - /** Resource type */ - type?: string; /** Resource tags */ tags?: Record; } @@ -3506,8 +3116,6 @@ export interface GalleryImageProperties { disallowed?: Disallowed; /** Describes the gallery image definition purchase plan. This is used by marketplace images. */ purchasePlan?: ImagePurchasePlan; - /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; /** A list of gallery image features. */ features?: Array; /** The architecture of the image. Applicable to OS disks only. */ @@ -3580,12 +3188,8 @@ export interface GalleryImageVersion extends Resource { export interface GalleryImageVersionProperties { /** The publishing profile of a gallery image Version. */ publishingProfile?: GalleryImageVersionPublishingProfile; - /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; /** This is the storage profile of a Gallery Image Version. */ storageProfile: GalleryImageVersionStorageProfile; - /** This is the replication status of the gallery image version. */ - replicationStatus?: ReplicationStatus; } /** The publishing profile of a gallery image Version. */ @@ -3600,8 +3204,6 @@ export interface GalleryArtifactPublishingProfileBase { replicaCount?: number; /** If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. */ excludeFromLatest?: boolean; - /** The timestamp for when the gallery image version is published. */ - publishedDate?: Date | string; /** The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */ endOfLifeDate?: Date | string; /** Specifies the storage account type to be used to store the image. This property is not updatable. */ @@ -3704,8 +3306,6 @@ export interface GalleryOSDiskImage extends GalleryDiskImage {} /** This is the disk image base class. */ export interface GalleryDiskImage { - /** This property indicates the size of the VHD to be created. */ - sizeInGB?: number; /** The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ hostCaching?: "None" | "ReadOnly" | "ReadWrite"; /** The gallery artifact version source. */ @@ -3719,24 +3319,10 @@ export interface GalleryDataDiskImage extends GalleryDiskImage { } /** This is the replication status of the gallery image version. */ -export interface ReplicationStatus { - /** This is the aggregated replication status based on all the regional replication status flags. */ - aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; - /** This is a summary of replication status for each region. */ - summary?: Array; -} +export interface ReplicationStatus {} /** This is the regional replication status. */ -export interface RegionalReplicationStatus { - /** The region to which the gallery image version is being replicated to. */ - region?: string; - /** This is the regional replication state. */ - state?: "Unknown" | "Replicating" | "Completed" | "Failed"; - /** The details of the replication status. */ - details?: string; - /** It indicates progress of the replication job. */ - progress?: number; -} +export interface RegionalReplicationStatus {} /** Specifies information about the gallery image version that you want to update. */ export interface GalleryImageVersionUpdate extends UpdateResourceDefinition { @@ -3782,10 +3368,6 @@ export interface GalleryApplicationVersion extends Resource { export interface GalleryApplicationVersionProperties { /** The publishing profile of a gallery image version. */ publishingProfile: GalleryApplicationVersionPublishingProfile; - /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; - /** This is the replication status of the gallery image version. */ - replicationStatus?: ReplicationStatus; } /** The publishing profile of a gallery image version. */ @@ -3853,12 +3435,6 @@ export interface CloudServiceRoleSku { /** Describes the cloud service. */ export interface CloudService { - /** Resource Id. */ - id?: string; - /** Resource name. */ - name?: string; - /** Resource type. */ - type?: string; /** Resource location. */ location: string; /** Resource tags. */ @@ -3907,10 +3483,6 @@ export interface CloudServiceProperties { networkProfile?: CloudServiceNetworkProfile; /** Describes a cloud service extension profile. */ extensionProfile?: CloudServiceExtensionProfile; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The unique identifier for the cloud service. */ - uniqueId?: string; } /** Describes the role profile for the cloud service. */ @@ -4033,8 +3605,6 @@ export interface CloudServiceExtensionProperties { * it is up to handler implementation whether to re-run it or not */ forceUpdateTag?: string; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. */ rolesAppliedTo?: Array; } @@ -4048,12 +3618,7 @@ export interface CloudServiceVaultAndSecretReference { } /** The system meta data relating to this resource. */ -export interface SystemData { - /** Specifies the time in UTC at which the Cloud Service (extended support) resource was created.
    Minimum api-version: 2022-04-04. */ - createdAt?: Date | string; - /** Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
    Minimum api-version: 2022-04-04. */ - lastModifiedAt?: Date | string; -} +export interface SystemData {} export interface CloudServiceUpdate { /** Resource tags */ @@ -4067,9 +3632,4 @@ export interface RoleInstances { } /** Defines an update domain for the cloud service. */ -export interface UpdateDomain { - /** Resource Id */ - id?: string; - /** Resource Name */ - name?: string; -} +export interface UpdateDomain {} diff --git a/sdk/compute/arm-compute-rest/src/outputModels.ts b/sdk/compute/arm-compute-rest/src/outputModels.ts index ef4c23a355af..1fe5be8bc87c 100644 --- a/sdk/compute/arm-compute-rest/src/outputModels.ts +++ b/sdk/compute/arm-compute-rest/src/outputModels.ts @@ -4,15 +4,15 @@ /** The List Compute Operation operation response. */ export interface ComputeOperationListResultOutput { /** The list of compute operations */ - value?: Array; + readonly value?: Array; } /** Describes the properties of a Compute Operation value. */ export interface ComputeOperationValueOutput { /** The origin of the compute operation. */ - origin?: string; + readonly origin?: string; /** The name of the compute operation. */ - name?: string; + readonly name?: string; /** Describes the properties of a Compute Operation Value Display. */ display?: ComputeOperationValueDisplayOutput; } @@ -20,13 +20,13 @@ export interface ComputeOperationValueOutput { /** Describes the properties of a Compute Operation Value Display. */ export interface ComputeOperationValueDisplayOutput { /** The display name of the compute operation. */ - operation?: string; + readonly operation?: string; /** The display name of the resource the operation applies to. */ - resource?: string; + readonly resource?: string; /** The description of the operation. */ - description?: string; + readonly description?: string; /** The resource provider for the operation. */ - provider?: string; + readonly provider?: string; } /** An error response from the Compute service. */ @@ -172,13 +172,13 @@ export interface VirtualMachineScaleSetPropertiesOutput { /** The virtual machine profile. */ virtualMachineProfile?: VirtualMachineScaleSetVMProfileOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** Specifies whether the Virtual Machine Scale Set should be overprovisioned. */ overprovision?: boolean; /** When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. */ doNotRunExtensionsOnOverprovisionedVMs?: boolean; /** Specifies the ID which uniquely identifies a Virtual Machine Scale Set. */ - uniqueId?: string; + readonly uniqueId?: string; /** When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. */ singlePlacementGroup?: boolean; /** Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set. */ @@ -200,7 +200,7 @@ export interface VirtualMachineScaleSetPropertiesOutput { /** Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance. */ priorityMixPolicy?: PriorityMixPolicyOutput; /** Specifies the time at which the Virtual Machine Scale Set resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: string; + readonly timeCreated?: string; } /** Describes an upgrade policy - automatic, manual, or rolling. */ @@ -452,7 +452,7 @@ export interface ImageReferenceOutput extends SubResourceOutput { /** Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. */ version?: string; /** Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. */ - exactVersion?: string; + readonly exactVersion?: string; /** Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. */ sharedGalleryImageId?: string; /** Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. */ @@ -724,7 +724,7 @@ export interface VirtualMachineScaleSetExtensionOutput extends SubResourceReadOn /** The name of the extension. */ name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Describes the properties of a Virtual Machine Scale Set Extension. */ properties?: VirtualMachineScaleSetExtensionPropertiesOutput; } @@ -748,7 +748,7 @@ export interface VirtualMachineScaleSetExtensionPropertiesOutput { /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: any; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** Collection of extension names after which this extension needs to be provisioned. */ provisionAfterExtensions?: Array; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ @@ -767,7 +767,7 @@ export interface KeyVaultSecretReferenceOutput { export interface SubResourceReadOnlyOutput { /** Resource Id */ - id?: string; + readonly id?: string; } /** Specifies the billing related details of a Azure Spot VM or VMSS.

    Minimum api-version: 2019-03-01. */ @@ -865,9 +865,9 @@ export interface PriorityMixPolicyOutput { /** Identity for the virtual machine scale set. */ export interface VirtualMachineScaleSetIdentityOutput { /** The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. */ - tenantId?: string; + readonly tenantId?: string; /** The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -876,9 +876,9 @@ export interface VirtualMachineScaleSetIdentityOutput { export interface UserAssignedIdentitiesValueOutput { /** The principal id of user assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The client id of user assigned identity. */ - clientId?: string; + readonly clientId?: string; } /** The complex type of the extended location. */ @@ -892,11 +892,11 @@ export interface ExtendedLocationOutput { /** The Resource model definition. */ export interface ResourceOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Resource location */ location: string; /** Resource tags */ @@ -984,35 +984,35 @@ export interface VirtualMachineScaleSetUpdatePublicIPAddressConfigurationPropert /** The instance view of a virtual machine scale set. */ export interface VirtualMachineScaleSetInstanceViewOutput { /** The instance view status summary for the virtual machine scale set. */ - virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummaryOutput; + readonly virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummaryOutput; /** The extensions information. */ - extensions?: Array; + readonly extensions?: Array; /** The resource status information. */ statuses?: Array; /** The orchestration services information. */ - orchestrationServices?: Array; + readonly orchestrationServices?: Array; } /** Instance view statuses summary for virtual machines of a virtual machine scale set. */ export interface VirtualMachineScaleSetInstanceViewStatusesSummaryOutput { /** The extensions information. */ - statusesSummary?: Array; + readonly statusesSummary?: Array; } /** The status code and count of the virtual machine scale set instance view status summary. */ export interface VirtualMachineStatusCodeCountOutput { /** The instance view status code. */ - code?: string; + readonly code?: string; /** The number of instances having a particular status code. */ - count?: number; + readonly count?: number; } /** Extensions summary for virtual machines of a virtual machine scale set. */ export interface VirtualMachineScaleSetVMExtensionsSummaryOutput { /** The extension name. */ - name?: string; + readonly name?: string; /** The extensions information. */ - statusesSummary?: Array; + readonly statusesSummary?: Array; } /** Instance view status. */ @@ -1032,17 +1032,17 @@ export interface InstanceViewStatusOutput { /** Summary for an orchestration service of a virtual machine scale set. */ export interface OrchestrationServiceSummaryOutput { /** The name of the service. */ - serviceName?: "AutomaticRepairs"; + readonly serviceName?: "AutomaticRepairs"; /** The current state of the service. */ - serviceState?: "NotRunning" | "Running" | "Suspended"; + readonly serviceState?: "NotRunning" | "Running" | "Suspended"; } /** Describes a Virtual Machine Scale Set Extension. */ export interface VirtualMachineScaleSetExtensionUpdateOutput extends SubResourceReadOnlyOutput { /** The name of the extension. */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Describes the properties of a Virtual Machine Scale Set Extension. */ properties?: VirtualMachineScaleSetExtensionPropertiesOutput; } @@ -1074,23 +1074,23 @@ export interface VirtualMachineScaleSetListSkusResultOutput { /** Describes an available virtual machine scale set sku. */ export interface VirtualMachineScaleSetSkuOutput { /** The type of resource the sku applies to. */ - resourceType?: string; + readonly resourceType?: string; /** The Sku. */ - sku?: SkuOutput; + readonly sku?: SkuOutput; /** Specifies the number of virtual machines in the scale set. */ - capacity?: VirtualMachineScaleSetSkuCapacityOutput; + readonly capacity?: VirtualMachineScaleSetSkuCapacityOutput; } /** Describes scaling information of a sku. */ export interface VirtualMachineScaleSetSkuCapacityOutput { /** The minimum capacity. */ - minimum?: number; + readonly minimum?: number; /** The maximum capacity that can be set. */ - maximum?: number; + readonly maximum?: number; /** The default capacity. */ - defaultCapacity?: number; + readonly defaultCapacity?: number; /** The scale type applicable to the sku. */ - scaleType?: "Automatic" | "None"; + readonly scaleType?: "Automatic" | "None"; } /** List of Virtual Machine Scale Set OS Upgrade History operation response. */ @@ -1104,59 +1104,59 @@ export interface VirtualMachineScaleSetListOSUpgradeHistoryOutput { /** Virtual Machine Scale Set OS Upgrade History operation response. */ export interface UpgradeOperationHistoricalStatusInfoOutput { /** Information about the properties of the upgrade operation. */ - properties?: UpgradeOperationHistoricalStatusInfoPropertiesOutput; + readonly properties?: UpgradeOperationHistoricalStatusInfoPropertiesOutput; /** Resource type */ - type?: string; + readonly type?: string; /** Resource location */ - location?: string; + readonly location?: string; } /** Describes each OS upgrade on the Virtual Machine Scale Set. */ export interface UpgradeOperationHistoricalStatusInfoPropertiesOutput { /** Information about the overall status of the upgrade operation. */ - runningStatus?: UpgradeOperationHistoryStatusOutput; + readonly runningStatus?: UpgradeOperationHistoryStatusOutput; /** Counts of the VMs in each state. */ - progress?: RollingUpgradeProgressInfoOutput; + readonly progress?: RollingUpgradeProgressInfoOutput; /** Error Details for this upgrade if there are any. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; /** Invoker of the Upgrade Operation */ - startedBy?: "Unknown" | "User" | "Platform"; + readonly startedBy?: "Unknown" | "User" | "Platform"; /** Image Reference details */ - targetImageReference?: ImageReferenceOutput; + readonly targetImageReference?: ImageReferenceOutput; /** Information about OS rollback if performed */ - rollbackInfo?: RollbackStatusInfoOutput; + readonly rollbackInfo?: RollbackStatusInfoOutput; } /** Information about the current running state of the overall upgrade. */ export interface UpgradeOperationHistoryStatusOutput { /** Code indicating the current status of the upgrade. */ - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; + readonly code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; /** Start time of the upgrade. */ - startTime?: string; + readonly startTime?: string; /** End time of the upgrade. */ - endTime?: string; + readonly endTime?: string; } /** Information about the number of virtual machine instances in each upgrade state. */ export interface RollingUpgradeProgressInfoOutput { /** The number of instances that have been successfully upgraded. */ - successfulInstanceCount?: number; + readonly successfulInstanceCount?: number; /** The number of instances that have failed to be upgraded successfully. */ - failedInstanceCount?: number; + readonly failedInstanceCount?: number; /** The number of instances that are currently being upgraded. */ - inProgressInstanceCount?: number; + readonly inProgressInstanceCount?: number; /** The number of instances that have not yet begun to be upgraded. */ - pendingInstanceCount?: number; + readonly pendingInstanceCount?: number; } /** Information about rollback on failed VM instances after a OS Upgrade operation. */ export interface RollbackStatusInfoOutput { /** The number of instances which have been successfully rolled back. */ - successfullyRolledbackInstanceCount?: number; + readonly successfullyRolledbackInstanceCount?: number; /** The number of instances which failed to rollback. */ - failedRolledbackInstanceCount?: number; + readonly failedRolledbackInstanceCount?: number; /** Error details if OS rollback failed. */ - rollbackError?: ApiErrorOutput; + readonly rollbackError?: ApiErrorOutput; } /** The status of the latest virtual machine scale set rolling upgrade. */ @@ -1168,41 +1168,41 @@ export interface RollingUpgradeStatusInfoOutput extends ResourceOutput { /** The status of the latest virtual machine scale set rolling upgrade. */ export interface RollingUpgradeStatusInfoPropertiesOutput { /** The rolling upgrade policies applied for this upgrade. */ - policy?: RollingUpgradePolicyOutput; + readonly policy?: RollingUpgradePolicyOutput; /** Information about the current running state of the overall upgrade. */ - runningStatus?: RollingUpgradeRunningStatusOutput; + readonly runningStatus?: RollingUpgradeRunningStatusOutput; /** Information about the number of virtual machine instances in each upgrade state. */ - progress?: RollingUpgradeProgressInfoOutput; + readonly progress?: RollingUpgradeProgressInfoOutput; /** Error details for this upgrade, if there are any. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Information about the current running state of the overall upgrade. */ export interface RollingUpgradeRunningStatusOutput { /** Code indicating the current status of the upgrade. */ - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; + readonly code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; /** Start time of the upgrade. */ - startTime?: string; + readonly startTime?: string; /** The last action performed on the rolling upgrade. */ - lastAction?: "Start" | "Cancel"; + readonly lastAction?: "Start" | "Cancel"; /** Last action time of the upgrade. */ - lastActionTime?: string; + readonly lastActionTime?: string; } /** Response after calling a manual recovery walk */ export interface RecoveryWalkResponseOutput { /** Whether the recovery walk was performed */ - walkPerformed?: boolean; + readonly walkPerformed?: boolean; /** The next update domain that needs to be walked. Null means walk spanning all update domains has been completed */ - nextPlatformUpdateDomain?: number; + readonly nextPlatformUpdateDomain?: number; } /** Describes a VMSS VM Extension. */ export interface VirtualMachineScaleSetVMExtensionOutput extends SubResourceReadOnlyOutput { /** The name of the extension. */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Describes the properties of a Virtual Machine Extension. */ properties?: VirtualMachineExtensionPropertiesOutput; } @@ -1226,7 +1226,7 @@ export interface VirtualMachineExtensionPropertiesOutput { /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: any; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The virtual machine extension instance view. */ instanceView?: VirtualMachineExtensionInstanceViewOutput; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ @@ -1252,9 +1252,9 @@ export interface VirtualMachineExtensionInstanceViewOutput { /** Describes a VMSS VM Extension. */ export interface VirtualMachineScaleSetVMExtensionUpdateOutput extends SubResourceReadOnlyOutput { /** The name of the extension. */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Describes the properties of a Virtual Machine Extension. */ properties?: VirtualMachineExtensionUpdatePropertiesOutput; } @@ -1292,17 +1292,17 @@ export interface VirtualMachineScaleSetVMExtensionsListResultOutput { /** Describes a virtual machine scale set virtual machine. */ export interface VirtualMachineScaleSetVMOutput extends ResourceOutput { /** The virtual machine instance ID. */ - instanceId?: string; + readonly instanceId?: string; /** The virtual machine SKU. */ - sku?: SkuOutput; + readonly sku?: SkuOutput; /** Describes the properties of a virtual machine scale set virtual machine. */ properties?: VirtualMachineScaleSetVMPropertiesOutput; /** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. */ plan?: PlanOutput; /** The virtual machine child extension resources. */ - resources?: Array; + readonly resources?: Array; /** The virtual machine zones. */ - zones?: Array; + readonly zones?: Array; /** The identity of the virtual machine, if configured. */ identity?: VirtualMachineIdentityOutput; } @@ -1310,11 +1310,11 @@ export interface VirtualMachineScaleSetVMOutput extends ResourceOutput { /** Describes the properties of a virtual machine scale set virtual machine. */ export interface VirtualMachineScaleSetVMPropertiesOutput { /** Specifies whether the latest model has been applied to the virtual machine. */ - latestModelApplied?: boolean; + readonly latestModelApplied?: boolean; /** Azure VM unique ID. */ - vmId?: string; + readonly vmId?: string; /** The virtual machine instance view. */ - instanceView?: VirtualMachineScaleSetVMInstanceViewOutput; + readonly instanceView?: VirtualMachineScaleSetVMInstanceViewOutput; /** Specifies the hardware settings for the virtual machine. */ hardwareProfile?: HardwareProfileOutput; /** Specifies the storage settings for the virtual machine disks. */ @@ -1334,11 +1334,11 @@ export interface VirtualMachineScaleSetVMPropertiesOutput { /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

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

    Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. */ availabilitySet?: SubResourceOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15 */ licenseType?: string; /** Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. */ - modelDefinitionApplied?: string; + readonly modelDefinitionApplied?: string; /** Specifies the protection policy of the virtual machine. */ protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicyOutput; /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01 */ @@ -1362,13 +1362,13 @@ export interface VirtualMachineScaleSetVMInstanceViewOutput { /** The extensions information. */ extensions?: Array; /** The health status for the VM. */ - vmHealth?: VirtualMachineHealthStatusOutput; + readonly vmHealth?: VirtualMachineHealthStatusOutput; /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

    You can easily view the output of your console log.

    Azure also enables you to see a screenshot of the VM from the hypervisor. */ bootDiagnostics?: BootDiagnosticsInstanceViewOutput; /** The resource status information. */ statuses?: Array; /** Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

    Minimum api-version: 2020-06-01. */ - assignedHost?: string; + readonly assignedHost?: string; /** The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId. */ placementGroupId?: string; } @@ -1442,17 +1442,17 @@ export interface KeyVaultKeyReferenceOutput { /** The health status of the VM. */ export interface VirtualMachineHealthStatusOutput { /** The health status information for the VM. */ - status?: InstanceViewStatusOutput; + readonly status?: InstanceViewStatusOutput; } /** The instance view of a virtual machine boot diagnostics. */ export interface BootDiagnosticsInstanceViewOutput { /** The console screenshot blob URI.

    NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. */ - consoleScreenshotBlobUri?: string; + readonly consoleScreenshotBlobUri?: string; /** The serial console log blob Uri.

    NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. */ - serialConsoleLogBlobUri?: string; + readonly serialConsoleLogBlobUri?: string; /** The boot diagnostics status information for the VM.

    NOTE: It will be set only if there are errors encountered in enabling boot diagnostics. */ - status?: InstanceViewStatusOutput; + readonly status?: InstanceViewStatusOutput; } /** Specifies the hardware settings for the virtual machine. */ @@ -1709,9 +1709,9 @@ export interface DataDiskOutput { /** Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset */ toBeDetached?: boolean; /** Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. */ - diskIOPSReadWrite?: number; + readonly diskIOPSReadWrite?: number; /** Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. */ - diskMBpsReadWrite?: number; + readonly diskMBpsReadWrite?: number; /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.

    detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.

    This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ detachOption?: "ForceDetach"; /** Specifies whether data disk should be deleted or detached upon VM deletion.

    Possible values:

    **Delete** If this value is used, the data disk is deleted when VM is deleted.

    **Detach** If this value is used, the data disk is retained after VM is deleted.

    The default value is set to **detach** */ @@ -1894,11 +1894,11 @@ export interface ResourceWithOptionalLocationOutput { /** Resource location */ location?: string; /** Resource Id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Resource tags */ tags?: Record; } @@ -1906,9 +1906,9 @@ export interface ResourceWithOptionalLocationOutput { /** Identity for the virtual machine. */ export interface VirtualMachineIdentityOutput { /** The principal id of virtual machine identity. This property will only be provided for a system assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. */ - tenantId?: string; + readonly tenantId?: string; /** The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -1926,9 +1926,9 @@ export interface VirtualMachineScaleSetVMListResultOutput { /** The SAS URIs of the console screenshot and serial log blobs. */ export interface RetrieveBootDiagnosticsDataResultOutput { /** The console screenshot blob URI */ - consoleScreenshotBlobUri?: string; + readonly consoleScreenshotBlobUri?: string; /** The serial console log blob URI. */ - serialConsoleLogBlobUri?: string; + readonly serialConsoleLogBlobUri?: string; } /** The List Extension operation response */ @@ -1952,7 +1952,7 @@ export interface VirtualMachineOutput extends ResourceOutput { /** Describes the properties of a Virtual Machine. */ properties?: VirtualMachinePropertiesOutput; /** The virtual machine child extension resources. */ - resources?: Array; + readonly resources?: Array; /** The identity of the virtual machine, if configured. */ identity?: VirtualMachineIdentityOutput; /** The virtual machine zones. */ @@ -1994,13 +1994,13 @@ export interface VirtualMachinePropertiesOutput { /** Specifies information about the dedicated host group that the virtual machine resides in.

    Minimum api-version: 2020-06-01.

    NOTE: User cannot specify both host and hostGroup properties. */ hostGroup?: SubResourceOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The virtual machine instance view. */ - instanceView?: VirtualMachineInstanceViewOutput; + readonly instanceView?: VirtualMachineInstanceViewOutput; /** Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15 */ licenseType?: string; /** Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. */ - vmId?: string; + readonly vmId?: string; /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

    Minimum api-version: 2020-06-01 */ extensionsTimeBudget?: string; /** Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01 */ @@ -2014,7 +2014,7 @@ export interface VirtualMachinePropertiesOutput { /** Specifies the gallery applications that should be made available to the VM/VMSS */ applicationProfile?: ApplicationProfileOutput; /** Specifies the time at which the Virtual Machine resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: string; + readonly timeCreated?: string; } /** The instance view of a virtual machine. */ @@ -2042,11 +2042,11 @@ export interface VirtualMachineInstanceViewOutput { /** The extensions information. */ extensions?: Array; /** The health status for the VM. */ - vmHealth?: VirtualMachineHealthStatusOutput; + readonly vmHealth?: VirtualMachineHealthStatusOutput; /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

    You can easily view the output of your console log.

    Azure also enables you to see a screenshot of the VM from the hypervisor. */ bootDiagnostics?: BootDiagnosticsInstanceViewOutput; /** Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

    Minimum api-version: 2020-06-01. */ - assignedHost?: string; + readonly assignedHost?: string; /** The resource status information. */ statuses?: Array; /** [Preview Feature] The status of virtual machine patch operations. */ @@ -2060,153 +2060,163 @@ export interface VirtualMachinePatchStatusOutput { /** The installation summary of the latest installation operation for the virtual machine. */ lastPatchInstallationSummary?: LastPatchInstallationSummaryOutput; /** The enablement status of the specified patchMode */ - configurationStatuses?: Array; + readonly configurationStatuses?: Array; } /** Describes the properties of an virtual machine instance view for available patch summary. */ export interface AvailablePatchSummaryOutput { /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - assessmentActivityId?: string; + readonly assessmentActivityId?: string; /** The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. */ - rebootPending?: boolean; + readonly rebootPending?: boolean; /** The number of critical or security patches that have been detected as available and not yet installed. */ - criticalAndSecurityPatchCount?: number; + readonly criticalAndSecurityPatchCount?: number; /** The number of all available patches excluding critical and security. */ - otherPatchCount?: number; + readonly otherPatchCount?: number; /** The UTC timestamp when the operation began. */ - startTime?: string; + readonly startTime?: string; /** The UTC timestamp when the operation began. */ - lastModifiedTime?: string; + readonly lastModifiedTime?: string; /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Describes the properties of the last installed patch summary. */ export interface LastPatchInstallationSummaryOutput { /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - installationActivityId?: string; + readonly installationActivityId?: string; /** Describes whether the operation ran out of time before it completed all its intended actions */ - maintenanceWindowExceeded?: boolean; + readonly maintenanceWindowExceeded?: boolean; /** The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. */ - notSelectedPatchCount?: number; + readonly notSelectedPatchCount?: number; /** The number of all available patches but excluded explicitly by a customer-specified exclusion list match. */ - excludedPatchCount?: number; + readonly excludedPatchCount?: number; /** The number of all available patches expected to be installed over the course of the patch installation operation. */ - pendingPatchCount?: number; + readonly pendingPatchCount?: number; /** The count of patches that successfully installed. */ - installedPatchCount?: number; + readonly installedPatchCount?: number; /** The count of patches that failed installation. */ - failedPatchCount?: number; + readonly failedPatchCount?: number; /** The UTC timestamp when the operation began. */ - startTime?: string; + readonly startTime?: string; /** The UTC timestamp when the operation began. */ - lastModifiedTime?: string; + readonly lastModifiedTime?: string; /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Output of virtual machine capture operation. */ export interface VirtualMachineCaptureResultOutput extends SubResourceOutput { /** the schema of the captured virtual machine */ - $schema?: string; + readonly $schema?: string; /** the version of the content */ - contentVersion?: string; + readonly contentVersion?: string; /** parameters of the captured virtual machine */ - parameters?: any; + readonly parameters?: any; /** a list of resource items of the captured virtual machine */ - resources?: Array; + readonly resources?: Array; } /** Describes the properties of an AssessPatches result. */ export interface VirtualMachineAssessPatchesResultOutput { /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - assessmentActivityId?: string; + readonly assessmentActivityId?: string; /** The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. */ - rebootPending?: boolean; + readonly rebootPending?: boolean; /** The number of critical or security patches that have been detected as available and not yet installed. */ - criticalAndSecurityPatchCount?: number; + readonly criticalAndSecurityPatchCount?: number; /** The number of all available patches excluding critical and security. */ - otherPatchCount?: number; + readonly otherPatchCount?: number; /** The UTC timestamp when the operation began. */ - startDateTime?: string; + readonly startDateTime?: string; /** The list of patches that have been detected as available for installation. */ - availablePatches?: Array; + readonly availablePatches?: Array; /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Describes the properties of a Virtual Machine software patch. */ export interface VirtualMachineSoftwarePatchPropertiesOutput { /** A unique identifier for the patch. */ - patchId?: string; + readonly patchId?: string; /** The friendly name of the patch. */ - name?: string; + readonly name?: string; /** The version number of the patch. This property applies only to Linux patches. */ - version?: string; + readonly version?: string; /** The KBID of the patch. Only applies to Windows patches. */ - kbId?: string; + readonly kbId?: string; /** The classification(s) of the patch as provided by the patch publisher. */ - classifications?: Array; + readonly classifications?: Array; /** Describes the reboot requirements of the patch. */ - rebootBehavior?: "Unknown" | "NeverReboots" | "AlwaysRequiresReboot" | "CanRequestReboot"; + readonly rebootBehavior?: + | "Unknown" + | "NeverReboots" + | "AlwaysRequiresReboot" + | "CanRequestReboot"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - activityId?: string; + readonly activityId?: string; /** The UTC timestamp when the repository published this patch. */ - publishedDate?: string; + readonly publishedDate?: string; /** The UTC timestamp of the last update to this patch record. */ - lastModifiedDateTime?: string; + readonly lastModifiedDateTime?: string; /** Describes the availability of a given patch. */ - assessmentState?: "Unknown" | "Available"; + readonly assessmentState?: "Unknown" | "Available"; } /** The result summary of an installation operation. */ export interface VirtualMachineInstallPatchesResultOutput { /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - installationActivityId?: string; + readonly installationActivityId?: string; /** The reboot state of the VM following completion of the operation. */ - rebootStatus?: "Unknown" | "NotNeeded" | "Required" | "Started" | "Failed" | "Completed"; + readonly rebootStatus?: "Unknown" | "NotNeeded" | "Required" | "Started" | "Failed" | "Completed"; /** Whether the operation ran out of time before it completed all its intended actions. */ - maintenanceWindowExceeded?: boolean; + readonly maintenanceWindowExceeded?: boolean; /** The number of patches that were not installed due to the user blocking their installation. */ - excludedPatchCount?: number; + readonly excludedPatchCount?: number; /** The number of patches that were detected as available for install, but did not meet the operation's criteria. */ - notSelectedPatchCount?: number; + readonly notSelectedPatchCount?: number; /** The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true. */ - pendingPatchCount?: number; + readonly pendingPatchCount?: number; /** The number of patches successfully installed. */ - installedPatchCount?: number; + readonly installedPatchCount?: number; /** The number of patches that could not be installed due to some issue. See errors for details. */ - failedPatchCount?: number; + readonly failedPatchCount?: number; /** The patches that were installed during the operation. */ - patches?: Array; + readonly patches?: Array; /** The UTC timestamp when the operation began. */ - startDateTime?: string; + readonly startDateTime?: string; /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Information about a specific patch that was encountered during an installation action. */ export interface PatchInstallationDetailOutput { /** A unique identifier for the patch. */ - patchId?: string; + readonly patchId?: string; /** The friendly name of the patch. */ - name?: string; + readonly name?: string; /** The version string of the package. It may conform to Semantic Versioning. Only applies to Linux. */ - version?: string; + readonly version?: string; /** The KBID of the patch. Only applies to Windows patches. */ - kbId?: string; + readonly kbId?: string; /** The classification(s) of the patch as provided by the patch publisher. */ - classifications?: Array; + readonly classifications?: Array; /** The state of the patch after the installation operation completed. */ - installationState?: "Unknown" | "Installed" | "Failed" | "Excluded" | "NotSelected" | "Pending"; + readonly installationState?: + | "Unknown" + | "Installed" + | "Failed" + | "Excluded" + | "NotSelected" + | "Pending"; } /** Describes a Virtual Machine Image. */ @@ -2252,7 +2262,7 @@ export interface OSDiskImageOutput { /** Contains the data disk images information. */ export interface DataDiskImageOutput { /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - lun?: number; + readonly lun?: number; } /** Describes automatic OS upgrade properties on the image. */ @@ -2334,7 +2344,7 @@ export interface AvailabilitySetPropertiesOutput { /** Specifies information about the proximity placement group that the availability set should be assigned to.

    Minimum api-version: 2018-04-01. */ proximityPlacementGroup?: SubResourceOutput; /** The resource status information. */ - statuses?: Array; + readonly statuses?: Array; } /** The List Availability Set operation response. */ @@ -2358,11 +2368,11 @@ export interface ProximityPlacementGroupPropertiesOutput { /** Specifies the type of the proximity placement group.

    Possible values are:

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

    **Ultra** : For future use. */ proximityPlacementGroupType?: "Standard" | "Ultra"; /** A list of references to all virtual machines in the proximity placement group. */ - virtualMachines?: Array; + readonly virtualMachines?: Array; /** A list of references to all virtual machine scale sets in the proximity placement group. */ - virtualMachineScaleSets?: Array; + readonly virtualMachineScaleSets?: Array; /** A list of references to all availability sets in the proximity placement group. */ - availabilitySets?: Array; + readonly availabilitySets?: Array; /** Describes colocation status of the Proximity Placement Group. */ colocationStatus?: InstanceViewStatusOutput; /** Specifies the user intent of the proximity placement group. */ @@ -2401,9 +2411,9 @@ export interface DedicatedHostGroupPropertiesOutput { /** Number of fault domains that the host group can span. */ platformFaultDomainCount: number; /** A list of references to all dedicated hosts in the dedicated host group. */ - hosts?: Array; + readonly hosts?: Array; /** The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. */ - instanceView?: DedicatedHostGroupInstanceViewOutput; + readonly instanceView?: DedicatedHostGroupInstanceViewOutput; /** Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

    Minimum api-version: 2020-06-01. */ supportAutomaticPlacement?: boolean; /** Enables or disables a capability on the dedicated host group.

    Minimum api-version: 2022-03-01. */ @@ -2418,13 +2428,13 @@ export interface DedicatedHostGroupInstanceViewOutput { /** The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group. */ export interface DedicatedHostInstanceViewWithNameOutput extends DedicatedHostInstanceViewOutput { /** The name of the dedicated host. */ - name?: string; + readonly name?: string; } /** The instance view of a dedicated host. */ export interface DedicatedHostInstanceViewOutput { /** Specifies the unique id of the dedicated physical machine on which the dedicated host resides. */ - assetId?: string; + readonly assetId?: string; /** Unutilized capacity of the dedicated host. */ availableCapacity?: DedicatedHostAvailableCapacityOutput; /** The resource status information. */ @@ -2474,19 +2484,19 @@ export interface DedicatedHostPropertiesOutput { /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ autoReplaceOnFailure?: boolean; /** A unique id generated and assigned to the dedicated host by the platform.

    Does not change throughout the lifetime of the host. */ - hostId?: string; + readonly hostId?: string; /** A list of references to all virtual machines in the Dedicated Host. */ - virtualMachines?: Array; + readonly virtualMachines?: Array; /** Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

    Possible values are:

    **None**

    **Windows_Server_Hybrid**

    **Windows_Server_Perpetual**

    Default: **None** */ licenseType?: "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; /** The date when the host was first provisioned. */ - provisioningTime?: string; + readonly provisioningTime?: string; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The dedicated host instance view. */ - instanceView?: DedicatedHostInstanceViewOutput; + readonly instanceView?: DedicatedHostInstanceViewOutput; /** Specifies the time at which the Dedicated Host resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: string; + readonly timeCreated?: string; } /** The list dedicated host operation response. */ @@ -2542,7 +2552,7 @@ export interface ImagePropertiesOutput { /** Specifies the storage settings for the virtual machine disks. */ storageProfile?: ImageStorageProfileOutput; /** The provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ hyperVGeneration?: "V1" | "V2"; } @@ -2615,17 +2625,17 @@ export interface RestorePointCollectionPropertiesOutput { /** The properties of the source resource that this restore point collection is created from. */ source?: RestorePointCollectionSourcePropertiesOutput; /** The provisioning state of the restore point collection. */ - provisioningState?: string; + readonly provisioningState?: string; /** The unique id of the restore point collection. */ - restorePointCollectionId?: string; + readonly restorePointCollectionId?: string; /** A list containing all restore points created under this restore point collection. */ - restorePoints?: Array; + readonly restorePoints?: Array; } /** The properties of the source resource that this restore point collection is created from. */ export interface RestorePointCollectionSourcePropertiesOutput { /** Location of the source resource used to create this restore point collection. */ - location?: string; + readonly location?: string; /** Resource Id of the source resource used to create this restore point collection */ id?: string; } @@ -2641,9 +2651,9 @@ export interface RestorePointPropertiesOutput { /** List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. */ excludeDisks?: Array; /** Gets the details of the VM captured at the time of the restore point creation. */ - sourceMetadata?: RestorePointSourceMetadataOutput; + readonly sourceMetadata?: RestorePointSourceMetadataOutput; /** Gets the provisioning state of the restore point. */ - provisioningState?: string; + readonly provisioningState?: string; /** ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details. */ consistencyMode?: "CrashConsistent" | "FileSystemConsistent" | "ApplicationConsistent"; /** Gets the creation time of the restore point. */ @@ -2651,7 +2661,7 @@ export interface RestorePointPropertiesOutput { /** Resource Id of the source restore point from which a copy needs to be created. */ sourceRestorePoint?: ApiEntityReferenceOutput; /** The restore point instance view. */ - instanceView?: RestorePointInstanceViewOutput; + readonly instanceView?: RestorePointInstanceViewOutput; } /** Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. */ @@ -2743,11 +2753,11 @@ export interface DiskRestorePointReplicationStatusOutput { /** The resource model definition for an Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResourceOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; } /** The List restore point collection operation response. */ @@ -2769,23 +2779,23 @@ export interface CapacityReservationGroupOutput extends ResourceOutput { /** capacity reservation group Properties. */ export interface CapacityReservationGroupPropertiesOutput { /** A list of all capacity reservation resource ids that belong to capacity reservation group. */ - capacityReservations?: Array; + readonly capacityReservations?: Array; /** A list of references to all virtual machines associated to the capacity reservation group. */ - virtualMachinesAssociated?: Array; + readonly virtualMachinesAssociated?: Array; /** The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group. */ - instanceView?: CapacityReservationGroupInstanceViewOutput; + readonly instanceView?: CapacityReservationGroupInstanceViewOutput; } export interface CapacityReservationGroupInstanceViewOutput { /** List of instance view of the capacity reservations under the capacity reservation group. */ - capacityReservations?: Array; + readonly capacityReservations?: Array; } /** The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group. */ export interface CapacityReservationInstanceViewWithNameOutput extends CapacityReservationInstanceViewOutput { /** The name of the capacity reservation. */ - name?: string; + readonly name?: string; } /** The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */ @@ -2799,9 +2809,9 @@ export interface CapacityReservationInstanceViewOutput { /** Represents the capacity reservation utilization in terms of resources allocated. */ export interface CapacityReservationUtilizationOutput { /** The value provides the current capacity of the VM size which was reserved successfully and for which the customer is getting billed.

    Minimum api-version: 2022-08-01. */ - currentCapacity?: number; + readonly currentCapacity?: number; /** A list of all virtual machines resource ids allocated against the capacity reservation. */ - virtualMachinesAllocated?: Array; + readonly virtualMachinesAllocated?: Array; } /** The List capacity reservation group with resource group response. */ @@ -2825,19 +2835,19 @@ export interface CapacityReservationOutput extends ResourceOutput { /** Properties of the Capacity reservation. */ export interface CapacityReservationPropertiesOutput { /** A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. */ - reservationId?: string; + readonly reservationId?: string; /** Specifies the value of fault domain count that Capacity Reservation supports for requested VM size.
    NOTE: The fault domain count specified for a resource (like virtual machines scale set) must be less than or equal to this value if it deploys using capacity reservation.

    Minimum api-version: 2022-08-01. */ - platformFaultDomainCount?: number; + readonly platformFaultDomainCount?: number; /** A list of all virtual machine resource ids that are associated with the capacity reservation. */ - virtualMachinesAssociated?: Array; + readonly virtualMachinesAssociated?: Array; /** The date time when the capacity reservation was last updated. */ - provisioningTime?: string; + readonly provisioningTime?: string; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The Capacity reservation instance view. */ - instanceView?: CapacityReservationInstanceViewOutput; + readonly instanceView?: CapacityReservationInstanceViewOutput; /** Specifies the time at which the Capacity Reservation resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: string; + readonly timeCreated?: string; } /** The list capacity reservation operation response. */ @@ -2851,13 +2861,13 @@ export interface CapacityReservationListResultOutput { /** LogAnalytics operation status response */ export interface LogAnalyticsOperationResultOutput { /** LogAnalyticsOutput */ - properties?: LogAnalyticsOutputOutput; + readonly properties?: LogAnalyticsOutputOutput; } /** LogAnalytics output properties */ export interface LogAnalyticsOutputOutput { /** Output file Uri path to blob container. */ - output?: string; + readonly output?: string; } /** The List Virtual Machine operation response. */ @@ -2942,9 +2952,9 @@ export interface VirtualMachineRunCommandPropertiesOutput { /** Specifies the Azure storage blob where script error stream will be uploaded. */ errorBlobUri?: string; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The virtual machine run command instance view. */ - instanceView?: VirtualMachineRunCommandInstanceViewOutput; + readonly instanceView?: VirtualMachineRunCommandInstanceViewOutput; } /** Describes the script sources for run command. */ @@ -2995,9 +3005,9 @@ export interface VirtualMachineRunCommandsListResultOutput { /** Disk resource. */ export interface DiskOutput extends ResourceOutput { /** A relative URI containing the ID of the VM that has the disk attached. */ - managedBy?: string; + readonly managedBy?: string; /** List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. */ - managedByExtended?: Array; + readonly managedByExtended?: Array; /** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. */ sku?: DiskSkuOutput; /** The Logical zone list for Disk. */ @@ -3020,13 +3030,13 @@ export interface DiskSkuOutput { | "StandardSSD_ZRS" | "PremiumV2_LRS"; /** The sku tier. */ - tier?: string; + readonly tier?: string; } /** Disk resource properties. */ export interface DiskPropertiesOutput { /** The time when the disk was created. */ - timeCreated?: string; + readonly timeCreated?: string; /** The Operating System type. */ osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -3040,13 +3050,13 @@ export interface DiskPropertiesOutput { /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ diskSizeGB?: number; /** The size of the disk in bytes. This field is read only. */ - diskSizeBytes?: number; + readonly diskSizeBytes?: number; /** Unique Guid identifying the resource. */ - uniqueId?: string; + readonly uniqueId?: string; /** Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ encryptionSettingsCollection?: EncryptionSettingsCollectionOutput; /** The disk provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. */ diskIOPSReadWrite?: number; /** The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ @@ -3056,7 +3066,7 @@ export interface DiskPropertiesOutput { /** The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ diskMBpsReadOnly?: number; /** The state of the disk. */ - diskState?: + readonly diskState?: | "Unattached" | "Attached" | "Reserved" @@ -3070,19 +3080,19 @@ export interface DiskPropertiesOutput { /** The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. */ maxShares?: number; /** Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. */ - shareInfo?: Array; + readonly shareInfo?: Array; /** Policy for accessing the disk via network. */ networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; /** ARM id of the DiskAccess resource for using private endpoints on disks. */ diskAccessId?: string; /** Latest time when bursting was last enabled on a disk. */ - burstingEnabledTime?: string; + readonly burstingEnabledTime?: string; /** Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. */ tier?: string; /** Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. */ burstingEnabled?: boolean; /** Properties of the disk for which update is pending. */ - propertyUpdatesInProgress?: PropertyUpdatesInProgressOutput; + readonly propertyUpdatesInProgress?: PropertyUpdatesInProgressOutput; /** Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; /** Contains the security related information for the resource. */ @@ -3144,7 +3154,7 @@ export interface CreationDataOutput { /** If createOption is Copy, this is the ARM id of the source snapshot or disk. */ sourceResourceId?: string; /** If this field is set, this is the unique id identifying the source of this resource. */ - sourceUniqueId?: string; + readonly sourceUniqueId?: string; /** If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). */ uploadSizeBytes?: number; /** Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. */ @@ -3220,7 +3230,7 @@ export interface EncryptionOutput { export interface ShareInfoElementOutput { /** A relative URI containing the ID of the VM that has the disk attached. */ - vmUri?: string; + readonly vmUri?: string; } /** Properties of the disk for which update is pending. */ @@ -3252,9 +3262,9 @@ export interface DiskListOutput { /** A disk access SAS uri. */ export interface AccessUriOutput { /** A SAS uri for accessing a disk. */ - accessSAS?: string; + readonly accessSAS?: string; /** A SAS uri for accessing a VM guest state. */ - securityDataAccessSAS?: string; + readonly securityDataAccessSAS?: string; } /** disk access resource. */ @@ -3266,11 +3276,11 @@ export interface DiskAccessOutput extends ResourceOutput { export interface DiskAccessPropertiesOutput { /** A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. */ - privateEndpointConnections?: Array; + readonly privateEndpointConnections?: Array; /** The disk access resource provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** The time when the disk access was created. */ - timeCreated?: string; + readonly timeCreated?: string; } /** The Private Endpoint Connection resource. */ @@ -3278,27 +3288,27 @@ export interface PrivateEndpointConnectionOutput { /** Resource properties. */ properties?: PrivateEndpointConnectionPropertiesOutput; /** private endpoint connection Id */ - id?: string; + readonly id?: string; /** private endpoint connection name */ - name?: string; + readonly name?: string; /** private endpoint connection type */ - type?: string; + readonly type?: string; } /** Properties of the PrivateEndpointConnectProperties. */ export interface PrivateEndpointConnectionPropertiesOutput { /** The resource of private end point. */ - privateEndpoint?: PrivateEndpointOutput; + readonly privateEndpoint?: PrivateEndpointOutput; /** A collection of information about the state of the connection between DiskAccess and Virtual Network. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; /** The provisioning state of the private endpoint connection resource. */ - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } /** The Private Endpoint resource. */ export interface PrivateEndpointOutput { /** The ARM identifier for Private Endpoint */ - id?: string; + readonly id?: string; } /** A collection of information about the state of the connection between service consumer and provider. */ @@ -3330,19 +3340,19 @@ export interface PrivateLinkResourceOutput { /** Resource properties. */ properties?: PrivateLinkResourcePropertiesOutput; /** private link resource Id */ - id?: string; + readonly id?: string; /** private link resource name */ - name?: string; + readonly name?: string; /** private link resource type */ - type?: string; + readonly type?: string; } /** Properties of a private link resource. */ export interface PrivateLinkResourcePropertiesOutput { /** The private link resource group id. */ - groupId?: string; + readonly groupId?: string; /** The private link resource required member names. */ - requiredMembers?: Array; + readonly requiredMembers?: Array; /** The private link resource DNS zone name. */ requiredZoneNames?: Array; } @@ -3367,9 +3377,9 @@ export interface EncryptionSetIdentityOutput { /** The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity */ - principalId?: string; + readonly principalId?: string; /** The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity */ - tenantId?: string; + readonly tenantId?: string; /** The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record; } @@ -3383,15 +3393,15 @@ export interface EncryptionSetPropertiesOutput { /** The key vault key which is currently used by this disk encryption set. */ activeKey?: KeyForDiskEncryptionSetOutput; /** A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. */ - previousKeys?: Array; + readonly previousKeys?: Array; /** The disk encryption set provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. */ rotationToLatestKeyVersionEnabled?: boolean; /** The time when the active key of this disk encryption set was updated. */ - lastKeyRotationTimestamp?: string; + readonly lastKeyRotationTimestamp?: string; /** The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed. */ - autoKeyRotationError?: ApiErrorOutput; + readonly autoKeyRotationError?: ApiErrorOutput; /** Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property. */ federatedClientId?: string; } @@ -3429,11 +3439,11 @@ export interface DiskRestorePointOutput extends ProxyOnlyResourceOutput { /** Properties of an incremental disk restore point */ export interface DiskRestorePointPropertiesOutput { /** The timestamp of restorePoint creation */ - timeCreated?: string; + readonly timeCreated?: string; /** arm id of source disk or source disk restore point. */ - sourceResourceId?: string; + readonly sourceResourceId?: string; /** The Operating System type. */ - osType?: "Windows" | "Linux"; + readonly osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ hyperVGeneration?: "V1" | "V2"; /** Purchase plan information for the the image from which the OS disk was created. */ @@ -3441,11 +3451,11 @@ export interface DiskRestorePointPropertiesOutput { /** List of supported capabilities for the image from which the OS disk was created. */ supportedCapabilities?: SupportedCapabilitiesOutput; /** id of the backing snapshot's MIS family */ - familyId?: string; + readonly familyId?: string; /** unique incarnation id of the source disk */ - sourceUniqueId?: string; + readonly sourceUniqueId?: string; /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ - encryption?: EncryptionOutput; + readonly encryption?: EncryptionOutput; /** Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; /** Policy for accessing the disk via network. */ @@ -3457,9 +3467,9 @@ export interface DiskRestorePointPropertiesOutput { /** Percentage complete for the background copy of disk restore point when source resource is from a different region. */ completionPercent?: number; /** Replication state of disk restore point when source resource is from a different region. */ - replicationState?: string; + readonly replicationState?: string; /** Location of source disk or source disk restore point when source resource is from a different region. */ - sourceResourceLocation?: string; + readonly sourceResourceLocation?: string; /** Contains the security related information for the resource. */ securityProfile?: DiskSecurityProfileOutput; } @@ -3467,11 +3477,11 @@ export interface DiskRestorePointPropertiesOutput { /** The ProxyOnly Resource model definition. */ export interface ProxyOnlyResourceOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; } /** The List Disk Restore Points operation response. */ @@ -3485,7 +3495,7 @@ export interface DiskRestorePointListOutput { /** Snapshot resource. */ export interface SnapshotOutput extends ResourceOutput { /** Unused. Always Null. */ - managedBy?: string; + readonly managedBy?: string; /** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ sku?: SnapshotSkuOutput; /** The extended location where the snapshot will be created. Extended location cannot be changed. */ @@ -3499,13 +3509,13 @@ export interface SnapshotSkuOutput { /** The sku name. */ name?: "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"; /** The sku tier. */ - tier?: string; + readonly tier?: string; } /** Snapshot resource properties. */ export interface SnapshotPropertiesOutput { /** The time when the snapshot was created. */ - timeCreated?: string; + readonly timeCreated?: string; /** The Operating System type. */ osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -3519,9 +3529,9 @@ export interface SnapshotPropertiesOutput { /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ diskSizeGB?: number; /** The size of the disk in bytes. This field is read only. */ - diskSizeBytes?: number; + readonly diskSizeBytes?: number; /** The state of the snapshot. */ - diskState?: + readonly diskState?: | "Unattached" | "Attached" | "Reserved" @@ -3531,15 +3541,15 @@ export interface SnapshotPropertiesOutput { | "ReadyToUpload" | "ActiveUpload"; /** Unique Guid identifying the resource. */ - uniqueId?: string; + readonly uniqueId?: string; /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ encryptionSettingsCollection?: EncryptionSettingsCollectionOutput; /** The disk provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. */ incremental?: boolean; /** Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id. */ - incrementalSnapshotFamilyId?: string; + readonly incrementalSnapshotFamilyId?: string; /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ encryption?: EncryptionOutput; /** Policy for accessing the disk via network. */ @@ -3587,103 +3597,103 @@ export interface ResourceSkusResultOutput { /** Describes an available Compute SKU. */ export interface ResourceSkuOutput { /** The type of resource the SKU applies to. */ - resourceType?: string; + readonly resourceType?: string; /** The name of SKU. */ - name?: string; + readonly name?: string; /** Specifies the tier of virtual machines in a scale set.

    Possible Values:

    **Standard**

    **Basic** */ - tier?: string; + readonly tier?: string; /** The Size of the SKU. */ - size?: string; + readonly size?: string; /** The Family of this particular SKU. */ - family?: string; + readonly family?: string; /** The Kind of resources that are supported in this SKU. */ - kind?: string; + readonly kind?: string; /** Specifies the number of virtual machines in the scale set. */ - capacity?: ResourceSkuCapacityOutput; + readonly capacity?: ResourceSkuCapacityOutput; /** The set of locations that the SKU is available. */ - locations?: Array; + readonly locations?: Array; /** A list of locations and availability zones in those locations where the SKU is available. */ - locationInfo?: Array; + readonly locationInfo?: Array; /** The api versions that support this SKU. */ - apiVersions?: Array; + readonly apiVersions?: Array; /** Metadata for retrieving price info. */ - costs?: Array; + readonly costs?: Array; /** A name value pair to describe the capability. */ - capabilities?: Array; + readonly capabilities?: Array; /** The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. */ - restrictions?: Array; + readonly restrictions?: Array; } /** Describes scaling information of a SKU. */ export interface ResourceSkuCapacityOutput { /** The minimum capacity. */ - minimum?: number; + readonly minimum?: number; /** The maximum capacity that can be set. */ - maximum?: number; + readonly maximum?: number; /** The default capacity. */ - default?: number; + readonly default?: number; /** The scale type applicable to the sku. */ - scaleType?: "Automatic" | "Manual" | "None"; + readonly scaleType?: "Automatic" | "Manual" | "None"; } /** Describes an available Compute SKU Location Information. */ export interface ResourceSkuLocationInfoOutput { /** Location of the SKU */ - location?: string; + readonly location?: string; /** List of availability zones where the SKU is supported. */ - zones?: Array; + readonly zones?: Array; /** Details of capabilities available to a SKU in specific zones. */ - zoneDetails?: Array; + readonly zoneDetails?: Array; /** The names of extended locations. */ - extendedLocations?: Array; + readonly extendedLocations?: Array; /** The type of the extended location. */ - type?: "EdgeZone"; + readonly type?: "EdgeZone"; } /** Describes The zonal capabilities of a SKU. */ export interface ResourceSkuZoneDetailsOutput { /** The set of zones that the SKU is available in with the specified capabilities. */ - name?: Array; + readonly name?: Array; /** A list of capabilities that are available for the SKU in the specified list of zones. */ - capabilities?: Array; + readonly capabilities?: Array; } /** Describes The SKU capabilities object. */ export interface ResourceSkuCapabilitiesOutput { /** An invariant to describe the feature. */ - name?: string; + readonly name?: string; /** An invariant if the feature is measured by quantity. */ - value?: string; + readonly value?: string; } /** Describes metadata for retrieving price info. */ export interface ResourceSkuCostsOutput { /** Used for querying price from commerce. */ - meterID?: string; + readonly meterID?: string; /** The multiplier is needed to extend the base metered cost. */ - quantity?: number; + readonly quantity?: number; /** An invariant to show the extended unit. */ - extendedUnit?: string; + readonly extendedUnit?: string; } /** Describes scaling information of a SKU. */ export interface ResourceSkuRestrictionsOutput { /** The type of restrictions. */ - type?: "Location" | "Zone"; + readonly type?: "Location" | "Zone"; /** The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. */ - values?: Array; + readonly values?: Array; /** The information about the restriction where the SKU cannot be used. */ - restrictionInfo?: ResourceSkuRestrictionInfoOutput; + readonly restrictionInfo?: ResourceSkuRestrictionInfoOutput; /** The reason for restriction. */ - reasonCode?: "QuotaId" | "NotAvailableForSubscription"; + readonly reasonCode?: "QuotaId" | "NotAvailableForSubscription"; } /** Describes an available Compute SKU Restriction Information. */ export interface ResourceSkuRestrictionInfoOutput { /** Locations where the SKU is restricted */ - locations?: Array; + readonly locations?: Array; /** List of availability zones where the SKU is restricted. */ - zones?: Array; + readonly zones?: Array; } /** Specifies information about the Shared Image Gallery that you want to create or update. */ @@ -3699,19 +3709,25 @@ export interface GalleryPropertiesOutput { /** Describes the gallery unique name. */ identifier?: GalleryIdentifierOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: + | "Creating" + | "Updating" + | "Failed" + | "Succeeded" + | "Deleting" + | "Migrating"; /** Profile for gallery sharing to subscription or tenant */ sharingProfile?: SharingProfileOutput; /** Contains information about the soft deletion policy of the gallery. */ softDeletePolicy?: SoftDeletePolicyOutput; /** Sharing status of current gallery. */ - sharingStatus?: SharingStatusOutput; + readonly sharingStatus?: SharingStatusOutput; } /** Describes the gallery unique name. */ export interface GalleryIdentifierOutput { /** The unique name of the Shared Image Gallery. This name is generated automatically by Azure. */ - uniqueName?: string; + readonly uniqueName?: string; } /** Profile for gallery sharing to subscription or tenant */ @@ -3719,7 +3735,7 @@ export interface SharingProfileOutput { /** This property allows you to specify the permission of sharing gallery.

    Possible values are:

    **Private**

    **Groups**

    **Community** */ permissions?: "Private" | "Groups" | "Community"; /** A list of sharing profile groups. */ - groups?: Array; + readonly groups?: Array; /** Information of community gallery if current gallery is shared to community. */ communityGalleryInfo?: CommunityGalleryInfoOutput; } @@ -3743,9 +3759,9 @@ export interface CommunityGalleryInfoOutput { /** The prefix of the gallery name that will be displayed publicly. Visible to all users. */ publicNamePrefix?: string; /** Contains info about whether community gallery sharing is enabled. */ - communityGalleryEnabled?: boolean; + readonly communityGalleryEnabled?: boolean; /** Community gallery public name list. */ - publicNames?: Array; + readonly publicNames?: Array; } /** Contains information about the soft deletion policy of the gallery. */ @@ -3757,7 +3773,7 @@ export interface SoftDeletePolicyOutput { /** Sharing status of current gallery. */ export interface SharingStatusOutput { /** Aggregated sharing state of current gallery. */ - aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; + readonly aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; /** Summary of all regional sharing status. */ summary?: Array; } @@ -3767,7 +3783,7 @@ export interface RegionalSharingStatusOutput { /** Region name */ region?: string; /** Gallery sharing state in current region */ - state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; + readonly state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; /** Details of gallery regional sharing failure. */ details?: string; } @@ -3805,7 +3821,13 @@ export interface GalleryImagePropertiesOutput { /** Describes the gallery image definition purchase plan. This is used by marketplace images. */ purchasePlan?: ImagePurchasePlanOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: + | "Creating" + | "Updating" + | "Failed" + | "Succeeded" + | "Deleting" + | "Migrating"; /** A list of gallery image features. */ features?: Array; /** The architecture of the image. Applicable to OS disks only. */ @@ -3873,11 +3895,17 @@ export interface GalleryImageVersionPropertiesOutput { /** The publishing profile of a gallery image Version. */ publishingProfile?: GalleryImageVersionPublishingProfileOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: + | "Creating" + | "Updating" + | "Failed" + | "Succeeded" + | "Deleting" + | "Migrating"; /** This is the storage profile of a Gallery Image Version. */ storageProfile: GalleryImageVersionStorageProfileOutput; /** This is the replication status of the gallery image version. */ - replicationStatus?: ReplicationStatusOutput; + readonly replicationStatus?: ReplicationStatusOutput; } /** The publishing profile of a gallery image Version. */ @@ -3893,7 +3921,7 @@ export interface GalleryArtifactPublishingProfileBaseOutput { /** If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. */ excludeFromLatest?: boolean; /** The timestamp for when the gallery image version is published. */ - publishedDate?: string; + readonly publishedDate?: string; /** The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */ endOfLifeDate?: string; /** Specifies the storage account type to be used to store the image. This property is not updatable. */ @@ -3997,7 +4025,7 @@ export interface GalleryOSDiskImageOutput extends GalleryDiskImageOutput {} /** This is the disk image base class. */ export interface GalleryDiskImageOutput { /** This property indicates the size of the VHD to be created. */ - sizeInGB?: number; + readonly sizeInGB?: number; /** The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ hostCaching?: "None" | "ReadOnly" | "ReadWrite"; /** The gallery artifact version source. */ @@ -4013,21 +4041,21 @@ export interface GalleryDataDiskImageOutput extends GalleryDiskImageOutput { /** This is the replication status of the gallery image version. */ export interface ReplicationStatusOutput { /** This is the aggregated replication status based on all the regional replication status flags. */ - aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; + readonly aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; /** This is a summary of replication status for each region. */ - summary?: Array; + readonly summary?: Array; } /** This is the regional replication status. */ export interface RegionalReplicationStatusOutput { /** The region to which the gallery image version is being replicated to. */ - region?: string; + readonly region?: string; /** This is the regional replication state. */ - state?: "Unknown" | "Replicating" | "Completed" | "Failed"; + readonly state?: "Unknown" | "Replicating" | "Completed" | "Failed"; /** The details of the replication status. */ - details?: string; + readonly details?: string; /** It indicates progress of the replication job. */ - progress?: number; + readonly progress?: number; } /** Specifies information about the gallery Application Definition that you want to create or update. */ @@ -4063,9 +4091,15 @@ export interface GalleryApplicationVersionPropertiesOutput { /** The publishing profile of a gallery image version. */ publishingProfile: GalleryApplicationVersionPublishingProfileOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: + | "Creating" + | "Updating" + | "Failed" + | "Succeeded" + | "Deleting" + | "Migrating"; /** This is the replication status of the gallery image version. */ - replicationStatus?: ReplicationStatusOutput; + readonly replicationStatus?: ReplicationStatusOutput; } /** The publishing profile of a gallery image version. */ @@ -4181,9 +4215,9 @@ export interface SharedGalleryIdentifierOutput { /** The Resource model definition. */ export interface PirResourceOutput { /** Resource name */ - name?: string; + readonly name?: string; /** Resource location */ - location?: string; + readonly location?: string; } /** The List Shared Gallery Images operation response. */ @@ -4264,7 +4298,7 @@ export interface SharedGalleryOSDiskImageOutput extends SharedGalleryDiskImageOu /** This is the disk image base class. */ export interface SharedGalleryDiskImageOutput { /** This property indicates the size of the VHD to be created. */ - diskSizeGB?: number; + readonly diskSizeGB?: number; /** The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ hostCaching?: "None" | "ReadOnly" | "ReadWrite"; } @@ -4281,11 +4315,11 @@ export interface CommunityGalleryOutput extends PirCommunityGalleryResourceOutpu /** Base information about the community gallery resource in pir. */ export interface PirCommunityGalleryResourceOutput { /** Resource name */ - name?: string; + readonly name?: string; /** Resource location */ - location?: string; + readonly location?: string; /** Resource type */ - type?: string; + readonly type?: string; /** The identifier information of community gallery. */ identifier?: CommunityGalleryIdentifierOutput; } @@ -4367,15 +4401,15 @@ export interface CommunityGalleryImageVersionListOutput { /** Describes the cloud service role instance. */ export interface RoleInstanceOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource Name. */ - name?: string; + readonly name?: string; /** Resource Type. */ - type?: string; + readonly type?: string; /** Resource Location. */ - location?: string; + readonly location?: string; /** Resource tags. */ - tags?: Record; + readonly tags?: Record; /** The role instance SKU. */ sku?: InstanceSkuOutput; /** Role instance properties. */ @@ -4385,9 +4419,9 @@ export interface RoleInstanceOutput { /** The role instance SKU. */ export interface InstanceSkuOutput { /** The sku name. */ - name?: string; + readonly name?: string; /** The tier of the cloud service role instance. */ - tier?: string; + readonly tier?: string; } /** Role instance properties. */ @@ -4401,30 +4435,30 @@ export interface RoleInstancePropertiesOutput { /** Describes the network profile for the role instance. */ export interface RoleInstanceNetworkProfileOutput { /** Specifies the list of resource Ids for the network interfaces associated with the role instance. */ - networkInterfaces?: Array; + readonly networkInterfaces?: Array; } /** The instance view of the role instance. */ export interface RoleInstanceViewOutput { /** The Update Domain. */ - platformUpdateDomain?: number; + readonly platformUpdateDomain?: number; /** The Fault Domain. */ - platformFaultDomain?: number; + readonly platformFaultDomain?: number; /** Specifies a unique identifier generated internally for the cloud service associated with this role instance.

    NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details. */ - privateId?: string; - statuses?: Array; + readonly privateId?: string; + readonly statuses?: Array; } /** Instance view status. */ export interface ResourceInstanceViewStatusOutput { /** The status code. */ - code?: string; + readonly code?: string; /** The short localizable label for the status. */ - displayStatus?: string; + readonly displayStatus?: string; /** The detailed status message, including for alerts and error messages. */ - message?: string; + readonly message?: string; /** The time of the status. */ - time?: string; + readonly time?: string; /** The level code. */ level?: "Info" | "Warning" | "Error"; } @@ -4440,13 +4474,13 @@ export interface RoleInstanceListResultOutput { /** Describes a role of the cloud service. */ export interface CloudServiceRoleOutput { /** Resource id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Resource location */ - location?: string; + readonly location?: string; /** Describes the cloud service role sku. */ sku?: CloudServiceRoleSkuOutput; /** The cloud service role properties. */ @@ -4466,7 +4500,7 @@ export interface CloudServiceRoleSkuOutput { /** The cloud service role properties. */ export interface CloudServiceRolePropertiesOutput { /** Specifies the ID which uniquely identifies a cloud service role. */ - uniqueId?: string; + readonly uniqueId?: string; } /** The list operation result. */ @@ -4480,11 +4514,11 @@ export interface CloudServiceRoleListResultOutput { /** Describes the cloud service. */ export interface CloudServiceOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource location. */ location: string; /** Resource tags. */ @@ -4534,9 +4568,9 @@ export interface CloudServicePropertiesOutput { /** Describes a cloud service extension profile. */ extensionProfile?: CloudServiceExtensionProfileOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The unique identifier for the cloud service. */ - uniqueId?: string; + readonly uniqueId?: string; } /** Describes the role profile for the cloud service. */ @@ -4660,7 +4694,7 @@ export interface CloudServiceExtensionPropertiesOutput { */ forceUpdateTag?: string; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. */ rolesAppliedTo?: Array; } @@ -4676,9 +4710,9 @@ export interface CloudServiceVaultAndSecretReferenceOutput { /** The system meta data relating to this resource. */ export interface SystemDataOutput { /** Specifies the time in UTC at which the Cloud Service (extended support) resource was created.
    Minimum api-version: 2022-04-04. */ - createdAt?: string; + readonly createdAt?: string; /** Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
    Minimum api-version: 2022-04-04. */ - lastModifiedAt?: string; + readonly lastModifiedAt?: string; } /** InstanceView of CloudService as a whole */ @@ -4686,24 +4720,24 @@ export interface CloudServiceInstanceViewOutput { /** Instance view statuses. */ roleInstance?: InstanceViewStatusesSummaryOutput; /** The version of the SDK that was used to generate the package for the cloud service. */ - sdkVersion?: string; + readonly sdkVersion?: string; /** Specifies a list of unique identifiers generated internally for the cloud service.

    NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details. */ - privateIds?: Array; - statuses?: Array; + readonly privateIds?: Array; + readonly statuses?: Array; } /** Instance view statuses. */ export interface InstanceViewStatusesSummaryOutput { /** The summary. */ - statusesSummary?: Array; + readonly statusesSummary?: Array; } /** The status code and count of the cloud service instance view statuses */ export interface StatusCodeCountOutput { /** The instance view status code */ - code?: string; + readonly code?: string; /** Number of instances having this status code */ - count?: number; + readonly count?: number; } /** The list operation result. */ @@ -4717,9 +4751,9 @@ export interface CloudServiceListResultOutput { /** Defines an update domain for the cloud service. */ export interface UpdateDomainOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource Name */ - name?: string; + readonly name?: string; } /** The list operation result. */ @@ -4733,13 +4767,13 @@ export interface UpdateDomainListResultOutput { /** Describes a cloud service OS version. */ export interface OSVersionOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource location. */ - location?: string; + readonly location?: string; /** OS version properties. */ properties?: OSVersionPropertiesOutput; } @@ -4747,17 +4781,17 @@ export interface OSVersionOutput { /** OS version properties. */ export interface OSVersionPropertiesOutput { /** The family of this OS version. */ - family?: string; + readonly family?: string; /** The family label of this OS version. */ - familyLabel?: string; + readonly familyLabel?: string; /** The OS version. */ - version?: string; + readonly version?: string; /** The OS version label. */ - label?: string; + readonly label?: string; /** Specifies whether this is the default OS version for its family. */ - isDefault?: boolean; + readonly isDefault?: boolean; /** Specifies whether this OS version is active. */ - isActive?: boolean; + readonly isActive?: boolean; } /** The list operation result. */ @@ -4771,13 +4805,13 @@ export interface OSVersionListResultOutput { /** Describes a cloud service OS family. */ export interface OSFamilyOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource location. */ - location?: string; + readonly location?: string; /** OS family properties. */ properties?: OSFamilyPropertiesOutput; } @@ -4785,23 +4819,23 @@ export interface OSFamilyOutput { /** OS family properties. */ export interface OSFamilyPropertiesOutput { /** The OS family name. */ - name?: string; + readonly name?: string; /** The OS family label. */ - label?: string; + readonly label?: string; /** List of OS versions belonging to this family. */ - versions?: Array; + readonly versions?: Array; } /** Configuration view of an OS version. */ export interface OSVersionPropertiesBaseOutput { /** The OS version. */ - version?: string; + readonly version?: string; /** The OS version label. */ - label?: string; + readonly label?: string; /** Specifies whether this is the default OS version for its family. */ - isDefault?: boolean; + readonly isDefault?: boolean; /** Specifies whether this OS version is active. */ - isActive?: boolean; + readonly isActive?: boolean; } /** The list operation result. */ diff --git a/sdk/compute/arm-compute-rest/src/paginateHelper.ts b/sdk/compute/arm-compute-rest/src/paginateHelper.ts index 5d541b4e406d..9ea946d9d6c5 100644 --- a/sdk/compute/arm-compute-rest/src/paginateHelper.ts +++ b/sdk/compute/arm-compute-rest/src/paginateHelper.ts @@ -1,11 +1,148 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { getPagedAsyncIterator } from "@azure/core-paging"; import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; import { createRestError } from "@azure-rest/core-client"; +/** + * returns an async iterator that iterates over results. It also has a `byPage` + * method that returns pages of items at once. + * + * @param pagedResult - an object that specifies how to get pages. + * @returns a paged async iterator that iterates over results. + */ +function getPagedAsyncIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, + TLink = string, +>( + pagedResult: PagedResult, +): PagedAsyncIterableIterator { + const iter = getItemAsyncIterator(pagedResult); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: + pagedResult?.byPage ?? + (((settings?: PageSettings) => { + const { continuationToken } = settings ?? {}; + return getPageAsyncIterator(pagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + }); + }) as unknown as (settings?: TPageSettings) => AsyncIterableIterator), + }; +} + +async function* getItemAsyncIterator( + pagedResult: PagedResult, +): AsyncIterableIterator { + const pages = getPageAsyncIterator(pagedResult); + const firstVal = await pages.next(); + // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is + if (!Array.isArray(firstVal.value)) { + // can extract elements from this page + const { toElements } = pagedResult; + if (toElements) { + yield* toElements(firstVal.value) as TElement[]; + for await (const page of pages) { + yield* toElements(page) as TElement[]; + } + } else { + yield firstVal.value; + // `pages` is of type `AsyncIterableIterator` but TPage = TElement in this case + yield* pages as unknown as AsyncIterableIterator; + } + } else { + yield* firstVal.value; + for await (const page of pages) { + // pages is of type `AsyncIterableIterator` so `page` is of type `TPage`. In this branch, + // it must be the case that `TPage = TElement[]` + yield* page as unknown as TElement[]; + } + } +} + +async function* getPageAsyncIterator( + pagedResult: PagedResult, + options: { + pageLink?: TLink; + } = {}, +): AsyncIterableIterator { + const { pageLink } = options; + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); + if (!response) { + return; + } + yield response.page; + while (response.nextPageLink) { + response = await pagedResult.getPage(response.nextPageLink); + if (!response) { + return; + } + yield response.page; + } +} + +/** + * An interface that tracks the settings for paged iteration + */ +export interface PageSettings { + /** + * The token that keeps track of where to continue the iterator + */ + continuationToken?: string; +} + +/** + * An interface that allows async iterable iteration both to completion and by page. + */ +export interface PagedAsyncIterableIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, +> { + /** + * The next method, part of the iteration protocol + */ + next(): Promise>; + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + /** + * Return an AsyncIterableIterator that works a page at a time + */ + byPage: (settings?: TPageSettings) => AsyncIterableIterator; +} + +/** + * An interface that describes how to communicate with the service. + */ +interface PagedResult { + /** + * Link to the first page of results. + */ + firstPageLink: TLink; + /** + * A method that returns a page of results. + */ + getPage: (pageLink: TLink) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + /** + * a function to implement the `byPage` method on the paged async iterator. + */ + byPage?: (settings?: TPageSettings) => AsyncIterableIterator; + + /** + * A function to extract elements from a page. + */ + toElements?: (page: TPage) => unknown[]; +} + /** * Helper type to extract the type of an array */ @@ -14,10 +151,7 @@ export type GetArrayType = T extends Array ? TData : never; /** * The type of a custom function that defines how to get a page and a link to the next one if any. */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; diff --git a/sdk/compute/arm-compute-rest/src/parameters.ts b/sdk/compute/arm-compute-rest/src/parameters.ts index 94c2d218b515..7b780d5363ec 100644 --- a/sdk/compute/arm-compute-rest/src/parameters.ts +++ b/sdk/compute/arm-compute-rest/src/parameters.ts @@ -3,75 +3,75 @@ import type { RequestParameters } from "@azure-rest/core-client"; import type { + VirtualMachineScaleSet, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetVMInstanceIDs, + VirtualMachineScaleSetVMInstanceRequiredIDs, + VirtualMachineScaleSetReimageParameters, + VMScaleSetConvertToSinglePlacementGroupInput, + OrchestrationServiceStateInput, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMReimageParameters, + VirtualMachineScaleSetVM, + RunCommandInput, + VirtualMachineExtension, + VirtualMachineExtensionUpdate, + VirtualMachineCaptureParameters, + VirtualMachine, + VirtualMachineUpdate, + VirtualMachineReimageParameters, + VirtualMachineInstallPatchesParameters, AvailabilitySet, AvailabilitySetUpdate, - CapacityReservation, - CapacityReservationGroup, - CapacityReservationGroupUpdate, - CapacityReservationUpdate, - CloudService, - CloudServiceUpdate, - DedicatedHost, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, DedicatedHostGroup, DedicatedHostGroupUpdate, + DedicatedHost, DedicatedHostUpdate, + SshPublicKeyResource, + SshPublicKeyUpdateResource, + Image, + ImageUpdate, + RestorePointCollection, + RestorePointCollectionUpdate, + RestorePoint, + CapacityReservationGroup, + CapacityReservationGroupUpdate, + CapacityReservation, + CapacityReservationUpdate, + RequestRateByIntervalInput, + ThrottledRequestsInput, + VirtualMachineRunCommand, + VirtualMachineRunCommandUpdate, Disk, + DiskUpdate, + GrantAccessData, DiskAccess, DiskAccessUpdate, + PrivateEndpointConnection, DiskEncryptionSet, DiskEncryptionSetUpdate, - DiskUpdate, + Snapshot, + SnapshotUpdate, Gallery, - GalleryApplication, - GalleryApplicationUpdate, - GalleryApplicationVersion, - GalleryApplicationVersionUpdate, + GalleryUpdate, GalleryImage, GalleryImageUpdate, GalleryImageVersion, GalleryImageVersionUpdate, - GalleryUpdate, - GrantAccessData, - Image, - ImageUpdate, - OrchestrationServiceStateInput, - PrivateEndpointConnection, - ProximityPlacementGroup, - ProximityPlacementGroupUpdate, - RequestRateByIntervalInput, - RestorePoint, - RestorePointCollection, - RestorePointCollectionUpdate, - RoleInstances, - RunCommandInput, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionUpdate, SharingUpdate, - Snapshot, - SnapshotUpdate, - SshPublicKeyResource, - SshPublicKeyUpdateResource, - ThrottledRequestsInput, + CloudService, + CloudServiceUpdate, + RoleInstances, UpdateDomain, - VMScaleSetConvertToSinglePlacementGroupInput, - VirtualMachine, - VirtualMachineCaptureParameters, - VirtualMachineExtension, - VirtualMachineExtensionUpdate, - VirtualMachineInstallPatchesParameters, - VirtualMachineReimageParameters, - VirtualMachineRunCommand, - VirtualMachineRunCommandUpdate, - VirtualMachineScaleSet, - VirtualMachineScaleSetExtension, - VirtualMachineScaleSetExtensionUpdate, - VirtualMachineScaleSetReimageParameters, - VirtualMachineScaleSetUpdate, - VirtualMachineScaleSetVM, - VirtualMachineScaleSetVMExtension, - VirtualMachineScaleSetVMExtensionUpdate, - VirtualMachineScaleSetVMInstanceIDs, - VirtualMachineScaleSetVMInstanceRequiredIDs, - VirtualMachineScaleSetVMReimageParameters, - VirtualMachineUpdate, } from "./models"; export interface OperationsListQueryParamProperties { diff --git a/sdk/compute/arm-compute-rest/src/pollingHelper.ts b/sdk/compute/arm-compute-rest/src/pollingHelper.ts index bd4b4d6bda6c..75a3d3db6e98 100644 --- a/sdk/compute/arm-compute-rest/src/pollingHelper.ts +++ b/sdk/compute/arm-compute-rest/src/pollingHelper.ts @@ -2,14 +2,82 @@ // Licensed under the MIT License. import type { Client, HttpResponse } from "@azure-rest/core-client"; +import type { AbortSignalLike } from "@azure/abort-controller"; import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollOperationState, - PollerLike, + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState} from "@azure/core-lro"; +import { + createHttpPoller, } from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike, TResult> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} /** * Helper function that builds a Poller object to help polling a long running operation. @@ -18,42 +86,100 @@ import { LroEngine } from "@azure/core-lro"; * @param options - Options to set a resume state or custom polling interval. * @returns - A poller object to poll for operation state updates and eventually get the final response. */ -export function getLongRunningPoller( +export async function getLongRunningPoller( client: Client, initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { sendInitialRequest: async () => { // In the case of Rest Clients we are building the LRO poller object from a response that's the reason // we are not triggering the initial request here, just extracting the information from the // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async (path) => { + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const pollPath = path ?? initialResponse.request.url; - const response = await client.pathUnchecked(pollPath).get(); + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } const lroResponse = getLroResponse(response as TResult); lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; return lroResponse; }, }; - return new LroEngine(poller, options); + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; } /** - * Converts a Rest Client response to a response that the LRO engine knows about + * Converts a Rest Client response to a response that the LRO implementation understands * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with + * @returns - An LRO response that the LRO implementation understands */ -function getLroResponse(response: TResult): LroResponse { +function getLroResponse( + response: TResult, +): OperationResponse { if (Number.isNaN(response.status)) { throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); } diff --git a/sdk/compute/arm-compute-rest/src/responses.ts b/sdk/compute/arm-compute-rest/src/responses.ts index 678671811564..4853a328d96e 100644 --- a/sdk/compute/arm-compute-rest/src/responses.ts +++ b/sdk/compute/arm-compute-rest/src/responses.ts @@ -3,116 +3,116 @@ import type { HttpResponse } from "@azure-rest/core-client"; import type { - AccessUriOutput, - AvailabilitySetListResultOutput, - AvailabilitySetOutput, - CapacityReservationGroupListResultOutput, - CapacityReservationGroupOutput, - CapacityReservationListResultOutput, - CapacityReservationOutput, - CloudErrorOutput, - CloudServiceInstanceViewOutput, - CloudServiceListResultOutput, - CloudServiceOutput, - CloudServiceRoleListResultOutput, - CloudServiceRoleOutput, - CommunityGalleryImageListOutput, - CommunityGalleryImageOutput, - CommunityGalleryImageVersionListOutput, - CommunityGalleryImageVersionOutput, - CommunityGalleryOutput, ComputeOperationListResultOutput, - DedicatedHostGroupListResultOutput, + CloudErrorOutput, + ListUsagesResultOutput, + VirtualMachineSizeListResultOutput, + VirtualMachineScaleSetListResultOutput, + VirtualMachineScaleSetOutput, + VirtualMachineScaleSetInstanceViewOutput, + VirtualMachineScaleSetListWithLinkResultOutput, + VirtualMachineScaleSetListSkusResultOutput, + VirtualMachineScaleSetListOSUpgradeHistoryOutput, + RecoveryWalkResponseOutput, + VirtualMachineScaleSetExtensionOutput, + VirtualMachineScaleSetExtensionListResultOutput, + RollingUpgradeStatusInfoOutput, + VirtualMachineScaleSetVMExtensionOutput, + VirtualMachineScaleSetVMExtensionsListResultOutput, + VirtualMachineScaleSetVMOutput, + VirtualMachineScaleSetVMInstanceViewOutput, + VirtualMachineScaleSetVMListResultOutput, + RetrieveBootDiagnosticsDataResultOutput, + RunCommandResultOutput, + VirtualMachineExtensionOutput, + VirtualMachineExtensionsListResultOutput, + VirtualMachineListResultOutput, + VirtualMachineCaptureResultOutput, + VirtualMachineOutput, + VirtualMachineInstanceViewOutput, + VirtualMachineAssessPatchesResultOutput, + VirtualMachineInstallPatchesResultOutput, + VirtualMachineImageOutput, + VirtualMachineImageResourceOutput, + VmImagesInEdgeZoneListResultOutput, + VirtualMachineExtensionImageOutput, + AvailabilitySetOutput, + AvailabilitySetListResultOutput, + ProximityPlacementGroupOutput, + ProximityPlacementGroupListResultOutput, DedicatedHostGroupOutput, - DedicatedHostListResultOutput, + DedicatedHostGroupListResultOutput, DedicatedHostOutput, - DiskAccessListOutput, + DedicatedHostListResultOutput, + SshPublicKeysGroupListResultOutput, + SshPublicKeyResourceOutput, + SshPublicKeyGenerateKeyPairResultOutput, + ImageOutput, + ImageListResultOutput, + RestorePointCollectionOutput, + RestorePointCollectionListResultOutput, + RestorePointOutput, + CapacityReservationGroupOutput, + CapacityReservationGroupListResultOutput, + CapacityReservationOutput, + CapacityReservationListResultOutput, + LogAnalyticsOperationResultOutput, + RunCommandListResultOutput, + RunCommandDocumentOutput, + VirtualMachineRunCommandOutput, + VirtualMachineRunCommandsListResultOutput, + DiskOutput, + DiskListOutput, + AccessUriOutput, DiskAccessOutput, - DiskEncryptionSetListOutput, + DiskAccessListOutput, + PrivateLinkResourceListResultOutput, + PrivateEndpointConnectionOutput, + PrivateEndpointConnectionListResultOutput, DiskEncryptionSetOutput, - DiskListOutput, - DiskOutput, - DiskRestorePointListOutput, + DiskEncryptionSetListOutput, + ResourceUriListOutput, DiskRestorePointOutput, - GalleryApplicationListOutput, - GalleryApplicationOutput, - GalleryApplicationVersionListOutput, - GalleryApplicationVersionOutput, - GalleryImageListOutput, + DiskRestorePointListOutput, + SnapshotOutput, + SnapshotListOutput, + ResourceSkusResultOutput, + GalleryOutput, + GalleryListOutput, GalleryImageOutput, - GalleryImageVersionListOutput, + GalleryImageListOutput, GalleryImageVersionOutput, - GalleryListOutput, - GalleryOutput, - ImageListResultOutput, - ImageOutput, - ListUsagesResultOutput, - LogAnalyticsOperationResultOutput, - OSFamilyListResultOutput, - OSFamilyOutput, - OSVersionListResultOutput, - OSVersionOutput, - PrivateEndpointConnectionListResultOutput, - PrivateEndpointConnectionOutput, - PrivateLinkResourceListResultOutput, - ProximityPlacementGroupListResultOutput, - ProximityPlacementGroupOutput, - RecoveryWalkResponseOutput, - ResourceSkusResultOutput, - ResourceUriListOutput, - RestorePointCollectionListResultOutput, - RestorePointCollectionOutput, - RestorePointOutput, - RetrieveBootDiagnosticsDataResultOutput, - RoleInstanceListResultOutput, - RoleInstanceOutput, - RoleInstanceViewOutput, - RollingUpgradeStatusInfoOutput, - RunCommandDocumentOutput, - RunCommandListResultOutput, - RunCommandResultOutput, + GalleryImageVersionListOutput, + GalleryApplicationOutput, + GalleryApplicationListOutput, + GalleryApplicationVersionOutput, + GalleryApplicationVersionListOutput, + SharingUpdateOutput, + SharedGalleryListOutput, + SharedGalleryOutput, SharedGalleryImageListOutput, SharedGalleryImageOutput, SharedGalleryImageVersionListOutput, SharedGalleryImageVersionOutput, - SharedGalleryListOutput, - SharedGalleryOutput, - SharingUpdateOutput, - SnapshotListOutput, - SnapshotOutput, - SshPublicKeyGenerateKeyPairResultOutput, - SshPublicKeyResourceOutput, - SshPublicKeysGroupListResultOutput, - UpdateDomainListResultOutput, + CommunityGalleryOutput, + CommunityGalleryImageOutput, + CommunityGalleryImageListOutput, + CommunityGalleryImageVersionOutput, + CommunityGalleryImageVersionListOutput, + RoleInstanceOutput, + RoleInstanceViewOutput, + RoleInstanceListResultOutput, + CloudServiceRoleOutput, + CloudServiceRoleListResultOutput, + CloudServiceOutput, + CloudServiceInstanceViewOutput, + CloudServiceListResultOutput, UpdateDomainOutput, - VirtualMachineAssessPatchesResultOutput, - VirtualMachineCaptureResultOutput, - VirtualMachineExtensionImageOutput, - VirtualMachineExtensionOutput, - VirtualMachineExtensionsListResultOutput, - VirtualMachineImageOutput, - VirtualMachineImageResourceOutput, - VirtualMachineInstallPatchesResultOutput, - VirtualMachineInstanceViewOutput, - VirtualMachineListResultOutput, - VirtualMachineOutput, - VirtualMachineRunCommandOutput, - VirtualMachineRunCommandsListResultOutput, - VirtualMachineScaleSetExtensionListResultOutput, - VirtualMachineScaleSetExtensionOutput, - VirtualMachineScaleSetInstanceViewOutput, - VirtualMachineScaleSetListOSUpgradeHistoryOutput, - VirtualMachineScaleSetListResultOutput, - VirtualMachineScaleSetListSkusResultOutput, - VirtualMachineScaleSetListWithLinkResultOutput, - VirtualMachineScaleSetOutput, - VirtualMachineScaleSetVMExtensionOutput, - VirtualMachineScaleSetVMExtensionsListResultOutput, - VirtualMachineScaleSetVMInstanceViewOutput, - VirtualMachineScaleSetVMListResultOutput, - VirtualMachineScaleSetVMOutput, - VirtualMachineSizeListResultOutput, - VmImagesInEdgeZoneListResultOutput, + UpdateDomainListResultOutput, + OSVersionOutput, + OSVersionListResultOutput, + OSFamilyOutput, + OSFamilyListResultOutput, } from "./outputModels"; /** Gets a list of compute operations. */ @@ -196,19 +196,16 @@ export interface VirtualMachineScaleSetsUpdateDefaultResponse extends HttpRespon /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VM scale set. */ @@ -232,13 +229,11 @@ export interface VirtualMachineScaleSetsGetDefaultResponse extends HttpResponse /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ export interface VirtualMachineScaleSetsDeallocate200Response extends HttpResponse { status: "200"; - body: Record; } /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ export interface VirtualMachineScaleSetsDeallocate202Response extends HttpResponse { status: "202"; - body: Record; } /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ @@ -250,13 +245,11 @@ export interface VirtualMachineScaleSetsDeallocateDefaultResponse extends HttpRe /** Deletes virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsDeleteInstances200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsDeleteInstances202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes virtual machines in a VM scale set. */ @@ -328,13 +321,11 @@ export interface VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse exten /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetsPowerOff200Response extends HttpResponse { status: "200"; - body: Record; } /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetsPowerOff202Response extends HttpResponse { status: "202"; - body: Record; } /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ @@ -346,13 +337,11 @@ export interface VirtualMachineScaleSetsPowerOffDefaultResponse extends HttpResp /** Restarts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** Restarts one or more virtual machines in a VM scale set. */ @@ -364,13 +353,11 @@ export interface VirtualMachineScaleSetsRestartDefaultResponse extends HttpRespo /** Starts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsStart202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts one or more virtual machines in a VM scale set. */ @@ -382,13 +369,11 @@ export interface VirtualMachineScaleSetsStartDefaultResponse extends HttpRespons /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ export interface VirtualMachineScaleSetsRedeploy200Response extends HttpResponse { status: "200"; - body: Record; } /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ export interface VirtualMachineScaleSetsRedeploy202Response extends HttpResponse { status: "202"; - body: Record; } /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ @@ -400,13 +385,11 @@ export interface VirtualMachineScaleSetsRedeployDefaultResponse extends HttpResp /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ export interface VirtualMachineScaleSetsPerformMaintenance200Response extends HttpResponse { status: "200"; - body: Record; } /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ export interface VirtualMachineScaleSetsPerformMaintenance202Response extends HttpResponse { status: "202"; - body: Record; } /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ @@ -418,13 +401,11 @@ export interface VirtualMachineScaleSetsPerformMaintenanceDefaultResponse extend /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ export interface VirtualMachineScaleSetsUpdateInstances200Response extends HttpResponse { status: "200"; - body: Record; } /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ export interface VirtualMachineScaleSetsUpdateInstances202Response extends HttpResponse { status: "202"; - body: Record; } /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ @@ -436,13 +417,11 @@ export interface VirtualMachineScaleSetsUpdateInstancesDefaultResponse extends H /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ export interface VirtualMachineScaleSetsReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ export interface VirtualMachineScaleSetsReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ @@ -454,13 +433,11 @@ export interface VirtualMachineScaleSetsReimageDefaultResponse extends HttpRespo /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetsReimageAll200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetsReimageAll202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ @@ -487,7 +464,6 @@ export interface VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdate export interface VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response extends HttpResponse { status: "200"; - body: Record; } /** Converts SinglePlacementGroup property to false for a existing virtual machine scale set. */ @@ -501,14 +477,12 @@ export interface VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResp export interface VirtualMachineScaleSetsSetOrchestrationServiceState200Response extends HttpResponse { status: "200"; - body: Record; } /** Changes ServiceState property for a given service */ export interface VirtualMachineScaleSetsSetOrchestrationServiceState202Response extends HttpResponse { status: "202"; - body: Record; } /** Changes ServiceState property for a given service */ @@ -558,19 +532,16 @@ export interface VirtualMachineScaleSetExtensionsUpdateDefaultResponse extends H /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the extension. */ @@ -606,13 +577,11 @@ export interface VirtualMachineScaleSetExtensionsListDefaultResponse extends Htt /** Cancels the current virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesCancel200Response extends HttpResponse { status: "200"; - body: Record; } /** Cancels the current virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesCancel202Response extends HttpResponse { status: "202"; - body: Record; } /** Cancels the current virtual machine scale set rolling upgrade. */ @@ -625,14 +594,12 @@ export interface VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse exte export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. */ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. */ @@ -646,14 +613,12 @@ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultRespo export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. */ export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. */ @@ -710,19 +675,16 @@ export interface VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse extends /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the VMSS VM extension. */ @@ -758,13 +720,11 @@ export interface VirtualMachineScaleSetVMExtensionsListDefaultResponse extends H /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ @@ -776,13 +736,11 @@ export interface VirtualMachineScaleSetVMsReimageDefaultResponse extends HttpRes /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetVMsReimageAll200Response extends HttpResponse { status: "200"; - body: Record; } /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetVMsReimageAll202Response extends HttpResponse { status: "202"; - body: Record; } /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ @@ -794,13 +752,11 @@ export interface VirtualMachineScaleSetVMsReimageAllDefaultResponse extends Http /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ export interface VirtualMachineScaleSetVMsDeallocate200Response extends HttpResponse { status: "200"; - body: Record; } /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ export interface VirtualMachineScaleSetVMsDeallocate202Response extends HttpResponse { status: "202"; - body: Record; } /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ @@ -830,19 +786,16 @@ export interface VirtualMachineScaleSetVMsUpdateDefaultResponse extends HttpResp /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a virtual machine from a VM scale set. */ @@ -890,13 +843,11 @@ export interface VirtualMachineScaleSetVMsListDefaultResponse extends HttpRespon /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetVMsPowerOff200Response extends HttpResponse { status: "200"; - body: Record; } /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetVMsPowerOff202Response extends HttpResponse { status: "202"; - body: Record; } /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ @@ -908,13 +859,11 @@ export interface VirtualMachineScaleSetVMsPowerOffDefaultResponse extends HttpRe /** Restarts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** Restarts a virtual machine in a VM scale set. */ @@ -926,13 +875,11 @@ export interface VirtualMachineScaleSetVMsRestartDefaultResponse extends HttpRes /** Starts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsStart202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts a virtual machine in a VM scale set. */ @@ -944,13 +891,11 @@ export interface VirtualMachineScaleSetVMsStartDefaultResponse extends HttpRespo /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ export interface VirtualMachineScaleSetVMsRedeploy200Response extends HttpResponse { status: "200"; - body: Record; } /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ export interface VirtualMachineScaleSetVMsRedeploy202Response extends HttpResponse { status: "202"; - body: Record; } /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ @@ -976,13 +921,11 @@ export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResp /** Performs maintenance on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsPerformMaintenance200Response extends HttpResponse { status: "200"; - body: Record; } /** Performs maintenance on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsPerformMaintenance202Response extends HttpResponse { status: "202"; - body: Record; } /** Performs maintenance on a virtual machine in a VM scale set. */ @@ -994,7 +937,6 @@ export interface VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse exte /** The operation to simulate the eviction of spot virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsSimulateEviction204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to simulate the eviction of spot virtual machine in a VM scale set. */ @@ -1012,7 +954,6 @@ export interface VirtualMachineScaleSetVMsRunCommand200Response extends HttpResp /** Run command on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRunCommand202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to create or update the extension. */ @@ -1048,19 +989,16 @@ export interface VirtualMachineExtensionsUpdateDefaultResponse extends HttpRespo /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the extension. */ @@ -1114,7 +1052,6 @@ export interface VirtualMachinesCapture200Response extends HttpResponse { /** Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. */ export interface VirtualMachinesCapture202Response extends HttpResponse { status: "202"; - body: Record; } /** Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. */ @@ -1156,19 +1093,16 @@ export interface VirtualMachinesUpdateDefaultResponse extends HttpResponse { /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete a virtual machine. */ @@ -1204,13 +1138,11 @@ export interface VirtualMachinesInstanceViewDefaultResponse extends HttpResponse /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ export interface VirtualMachinesConvertToManagedDisks200Response extends HttpResponse { status: "200"; - body: Record; } /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ export interface VirtualMachinesConvertToManagedDisks202Response extends HttpResponse { status: "202"; - body: Record; } /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ @@ -1222,13 +1154,11 @@ export interface VirtualMachinesConvertToManagedDisksDefaultResponse extends Htt /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ export interface VirtualMachinesDeallocate200Response extends HttpResponse { status: "200"; - body: Record; } /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ export interface VirtualMachinesDeallocate202Response extends HttpResponse { status: "202"; - body: Record; } /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ @@ -1240,7 +1170,6 @@ export interface VirtualMachinesDeallocateDefaultResponse extends HttpResponse { /** Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
    For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
    For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). */ export interface VirtualMachinesGeneralize200Response extends HttpResponse { status: "200"; - body: Record; } /** Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
    For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
    For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). */ @@ -1288,13 +1217,11 @@ export interface VirtualMachinesListAvailableSizesDefaultResponse extends HttpRe /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ export interface VirtualMachinesPowerOff200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ export interface VirtualMachinesPowerOff202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ @@ -1306,13 +1233,11 @@ export interface VirtualMachinesPowerOffDefaultResponse extends HttpResponse { /** The operation to reapply a virtual machine's state. */ export interface VirtualMachinesReapply200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to reapply a virtual machine's state. */ export interface VirtualMachinesReapply202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to reapply a virtual machine's state. */ @@ -1324,13 +1249,11 @@ export interface VirtualMachinesReapplyDefaultResponse extends HttpResponse { /** The operation to restart a virtual machine. */ export interface VirtualMachinesRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to restart a virtual machine. */ export interface VirtualMachinesRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to restart a virtual machine. */ @@ -1342,13 +1265,11 @@ export interface VirtualMachinesRestartDefaultResponse extends HttpResponse { /** The operation to start a virtual machine. */ export interface VirtualMachinesStart200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to start a virtual machine. */ export interface VirtualMachinesStart202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to start a virtual machine. */ @@ -1360,13 +1281,11 @@ export interface VirtualMachinesStartDefaultResponse extends HttpResponse { /** Shuts down the virtual machine, moves it to a new node, and powers it back on. */ export interface VirtualMachinesRedeploy200Response extends HttpResponse { status: "200"; - body: Record; } /** Shuts down the virtual machine, moves it to a new node, and powers it back on. */ export interface VirtualMachinesRedeploy202Response extends HttpResponse { status: "202"; - body: Record; } /** Shuts down the virtual machine, moves it to a new node, and powers it back on. */ @@ -1378,13 +1297,11 @@ export interface VirtualMachinesRedeployDefaultResponse extends HttpResponse { /** Reimages the virtual machine which has an ephemeral OS disk back to its initial state. */ export interface VirtualMachinesReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimages the virtual machine which has an ephemeral OS disk back to its initial state. */ export interface VirtualMachinesReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimages the virtual machine which has an ephemeral OS disk back to its initial state. */ @@ -1408,13 +1325,11 @@ export interface VirtualMachinesRetrieveBootDiagnosticsDataDefaultResponse exten /** The operation to perform maintenance on a virtual machine. */ export interface VirtualMachinesPerformMaintenance200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to perform maintenance on a virtual machine. */ export interface VirtualMachinesPerformMaintenance202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to perform maintenance on a virtual machine. */ @@ -1426,7 +1341,6 @@ export interface VirtualMachinesPerformMaintenanceDefaultResponse extends HttpRe /** The operation to simulate the eviction of spot virtual machine. */ export interface VirtualMachinesSimulateEviction204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to simulate the eviction of spot virtual machine. */ @@ -1444,7 +1358,6 @@ export interface VirtualMachinesAssessPatches200Response extends HttpResponse { /** Assess patches on the VM. */ export interface VirtualMachinesAssessPatches202Response extends HttpResponse { status: "202"; - body: Record; } /** Assess patches on the VM. */ @@ -1462,7 +1375,6 @@ export interface VirtualMachinesInstallPatches200Response extends HttpResponse { /** Installs patches on the VM. */ export interface VirtualMachinesInstallPatches202Response extends HttpResponse { status: "202"; - body: Record; } /** Installs patches on the VM. */ @@ -1480,7 +1392,6 @@ export interface VirtualMachinesRunCommand200Response extends HttpResponse { /** Run command on the VM. */ export interface VirtualMachinesRunCommand202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets a virtual machine image. */ @@ -1678,13 +1589,11 @@ export interface AvailabilitySetsUpdateDefaultResponse extends HttpResponse { /** Delete an availability set. */ export interface AvailabilitySetsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete an availability set. */ export interface AvailabilitySetsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an availability set. */ @@ -1774,7 +1683,6 @@ export interface ProximityPlacementGroupsUpdateDefaultResponse extends HttpRespo /** Delete a proximity placement group. */ export interface ProximityPlacementGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a proximity placement group. */ @@ -1852,13 +1760,11 @@ export interface DedicatedHostGroupsUpdateDefaultResponse extends HttpResponse { /** Delete a dedicated host group. */ export interface DedicatedHostGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a dedicated host group. */ export interface DedicatedHostGroupsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a dedicated host group. */ @@ -1936,19 +1842,16 @@ export interface DedicatedHostsUpdateDefaultResponse extends HttpResponse { /** Delete a dedicated host. */ export interface DedicatedHostsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a dedicated host. */ export interface DedicatedHostsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a dedicated host. */ export interface DedicatedHostsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a dedicated host. */ @@ -1984,7 +1887,6 @@ export interface DedicatedHostsListByHostGroupDefaultResponse extends HttpRespon /** Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. */ export interface DedicatedHostsRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. */ @@ -2050,13 +1952,11 @@ export interface SshPublicKeysUpdateDefaultResponse extends HttpResponse { /** Delete an SSH public key. */ export interface SshPublicKeysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete an SSH public key. */ export interface SshPublicKeysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an SSH public key. */ @@ -2128,19 +2028,16 @@ export interface ImagesUpdateDefaultResponse extends HttpResponse { /** Deletes an Image. */ export interface ImagesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes an Image. */ export interface ImagesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes an Image. */ export interface ImagesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes an Image. */ @@ -2218,19 +2115,16 @@ export interface RestorePointCollectionsUpdateDefaultResponse extends HttpRespon /** The operation to delete the restore point collection. This operation will also delete all the contained restore points. */ export interface RestorePointCollectionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the restore point collection. This operation will also delete all the contained restore points. */ export interface RestorePointCollectionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the restore point collection. This operation will also delete all the contained restore points. */ export interface RestorePointCollectionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the restore point collection. This operation will also delete all the contained restore points. */ @@ -2290,19 +2184,16 @@ export interface RestorePointsCreateDefaultResponse extends HttpResponse { /** The operation to delete the restore point. */ export interface RestorePointsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the restore point. */ export interface RestorePointsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the restore point. */ export interface RestorePointsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the restore point. */ @@ -2356,13 +2247,11 @@ export interface CapacityReservationGroupsUpdateDefaultResponse extends HttpResp /** The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationGroupsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. */ @@ -2434,7 +2323,6 @@ export interface CapacityReservationsUpdate200Response extends HttpResponse { /** The operation to update a capacity reservation. */ export interface CapacityReservationsUpdate202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to update a capacity reservation. */ @@ -2446,19 +2334,16 @@ export interface CapacityReservationsUpdateDefaultResponse extends HttpResponse /** The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. */ @@ -2502,7 +2387,6 @@ export interface LogAnalyticsExportRequestRateByInterval200Response extends Http /** Export logs that show Api requests made by this subscription in the given time window to show throttling activities. */ export interface LogAnalyticsExportRequestRateByInterval202Response extends HttpResponse { status: "202"; - body: Record; } /** Export logs that show Api requests made by this subscription in the given time window to show throttling activities. */ @@ -2520,7 +2404,6 @@ export interface LogAnalyticsExportThrottledRequests200Response extends HttpResp /** Export logs that show total throttled Api requests for this subscription in the given time window. */ export interface LogAnalyticsExportThrottledRequests202Response extends HttpResponse { status: "202"; - body: Record; } /** Export logs that show total throttled Api requests for this subscription in the given time window. */ @@ -2574,19 +2457,16 @@ export interface VirtualMachineRunCommandsUpdateDefaultResponse extends HttpResp /** The operation to delete the run command. */ export interface VirtualMachineRunCommandsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the run command. */ export interface VirtualMachineRunCommandsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the run command. */ export interface VirtualMachineRunCommandsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the run command. */ @@ -2653,19 +2533,16 @@ export interface VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse extend /** The operation to delete the VMSS VM run command. */ export interface VirtualMachineScaleSetVMRunCommandsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the VMSS VM run command. */ export interface VirtualMachineScaleSetVMRunCommandsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the VMSS VM run command. */ export interface VirtualMachineScaleSetVMRunCommandsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the VMSS VM run command. */ @@ -2731,19 +2608,16 @@ export interface DisksGet200Response extends HttpResponse { /** Deletes a disk. */ export interface DisksDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a disk. */ export interface DisksDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a disk. */ export interface DisksDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Lists all the disks under a resource group. */ @@ -2767,19 +2641,16 @@ export interface DisksGrantAccess200Response extends HttpResponse { /** Grants access to a disk. */ export interface DisksGrantAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Revokes access to a disk. */ export interface DisksRevokeAccess200Response extends HttpResponse { status: "200"; - body: Record; } /** Revokes access to a disk. */ export interface DisksRevokeAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Creates or updates a disk access resource */ @@ -2833,19 +2704,16 @@ export interface DiskAccessesGetDefaultResponse extends HttpResponse { /** Deletes a disk access resource. */ export interface DiskAccessesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a disk access resource. */ export interface DiskAccessesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a disk access resource. */ export interface DiskAccessesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a disk access resource. */ @@ -2917,19 +2785,16 @@ export interface DiskAccessesGetAPrivateEndpointConnectionDefaultResponse extend /** Deletes a private endpoint connection under a disk access resource. */ export interface DiskAccessesDeleteAPrivateEndpointConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a private endpoint connection under a disk access resource. */ export interface DiskAccessesDeleteAPrivateEndpointConnection202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a private endpoint connection under a disk access resource. */ export interface DiskAccessesDeleteAPrivateEndpointConnection204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a private endpoint connection under a disk access resource. */ @@ -3001,19 +2866,16 @@ export interface DiskEncryptionSetsGetDefaultResponse extends HttpResponse { /** Deletes a disk encryption set. */ export interface DiskEncryptionSetsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a disk encryption set. */ export interface DiskEncryptionSetsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a disk encryption set. */ export interface DiskEncryptionSetsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a disk encryption set. */ @@ -3091,7 +2953,6 @@ export interface DiskRestorePointGrantAccess200Response extends HttpResponse { /** Grants access to a diskRestorePoint. */ export interface DiskRestorePointGrantAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Grants access to a diskRestorePoint. */ @@ -3103,13 +2964,11 @@ export interface DiskRestorePointGrantAccessDefaultResponse extends HttpResponse /** Revokes access to a diskRestorePoint. */ export interface DiskRestorePointRevokeAccess200Response extends HttpResponse { status: "200"; - body: Record; } /** Revokes access to a diskRestorePoint. */ export interface DiskRestorePointRevokeAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Revokes access to a diskRestorePoint. */ @@ -3151,19 +3010,16 @@ export interface SnapshotsGet200Response extends HttpResponse { /** Deletes a snapshot. */ export interface SnapshotsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a snapshot. */ export interface SnapshotsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a snapshot. */ export interface SnapshotsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Lists snapshots under a resource group. */ @@ -3187,19 +3043,16 @@ export interface SnapshotsGrantAccess200Response extends HttpResponse { /** Grants access to a snapshot. */ export interface SnapshotsGrantAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Revokes access to a snapshot. */ export interface SnapshotsRevokeAccess200Response extends HttpResponse { status: "200"; - body: Record; } /** Revokes access to a snapshot. */ export interface SnapshotsRevokeAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets the list of Microsoft.Compute SKUs available for your Subscription. */ @@ -3259,19 +3112,16 @@ export interface GalleriesGetDefaultResponse extends HttpResponse { /** Delete a Shared Image Gallery. */ export interface GalleriesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Shared Image Gallery. */ export interface GalleriesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Shared Image Gallery. */ export interface GalleriesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Shared Image Gallery. */ @@ -3355,19 +3205,16 @@ export interface GalleryImagesGetDefaultResponse extends HttpResponse { /** Delete a gallery image. */ export interface GalleryImagesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a gallery image. */ export interface GalleryImagesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a gallery image. */ export interface GalleryImagesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a gallery image. */ @@ -3439,19 +3286,16 @@ export interface GalleryImageVersionsGetDefaultResponse extends HttpResponse { /** Delete a gallery image version. */ export interface GalleryImageVersionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a gallery image version. */ export interface GalleryImageVersionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a gallery image version. */ export interface GalleryImageVersionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a gallery image version. */ @@ -3523,19 +3367,16 @@ export interface GalleryApplicationsGetDefaultResponse extends HttpResponse { /** Delete a gallery Application. */ export interface GalleryApplicationsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a gallery Application. */ export interface GalleryApplicationsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a gallery Application. */ export interface GalleryApplicationsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a gallery Application. */ @@ -3607,19 +3448,16 @@ export interface GalleryApplicationVersionsGetDefaultResponse extends HttpRespon /** Delete a gallery Application Version. */ export interface GalleryApplicationVersionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a gallery Application Version. */ export interface GalleryApplicationVersionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a gallery Application Version. */ export interface GalleryApplicationVersionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a gallery Application Version. */ @@ -3795,19 +3633,16 @@ export interface CommunityGalleryImageVersionsListDefaultResponse extends HttpRe /** Deletes a role instance from a cloud service. */ export interface CloudServiceRoleInstancesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a role instance from a cloud service. */ export interface CloudServiceRoleInstancesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a role instance from a cloud service. */ export interface CloudServiceRoleInstancesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a role instance from a cloud service. */ @@ -3855,13 +3690,11 @@ export interface CloudServiceRoleInstancesListDefaultResponse extends HttpRespon /** The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. */ export interface CloudServiceRoleInstancesRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. */ export interface CloudServiceRoleInstancesRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. */ @@ -3873,13 +3706,11 @@ export interface CloudServiceRoleInstancesRestartDefaultResponse extends HttpRes /** The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ export interface CloudServiceRoleInstancesReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ export interface CloudServiceRoleInstancesReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ @@ -3891,13 +3722,11 @@ export interface CloudServiceRoleInstancesReimageDefaultResponse extends HttpRes /** The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. */ export interface CloudServiceRoleInstancesRebuild200Response extends HttpResponse { status: "200"; - body: Record; } /** The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. */ export interface CloudServiceRoleInstancesRebuild202Response extends HttpResponse { status: "202"; - body: Record; } /** The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. */ @@ -3916,7 +3745,6 @@ export interface CloudServiceRoleInstancesGetRemoteDesktopFile200Response extend /** Gets a remote desktop file for a role instance in a cloud service. */ export interface CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse extends HttpResponse { status: string; - body: Record; } /** Gets a role from a cloud service. */ @@ -3976,19 +3804,16 @@ export interface CloudServicesUpdateDefaultResponse extends HttpResponse { /** Deletes a cloud service. */ export interface CloudServicesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a cloud service. */ export interface CloudServicesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a cloud service. */ export interface CloudServicesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a cloud service. */ @@ -4048,13 +3873,11 @@ export interface CloudServicesListDefaultResponse extends HttpResponse { /** Starts the cloud service. */ export interface CloudServicesStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts the cloud service. */ export interface CloudServicesStart202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts the cloud service. */ @@ -4066,13 +3889,11 @@ export interface CloudServicesStartDefaultResponse extends HttpResponse { /** Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. */ export interface CloudServicesPowerOff200Response extends HttpResponse { status: "200"; - body: Record; } /** Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. */ export interface CloudServicesPowerOff202Response extends HttpResponse { status: "202"; - body: Record; } /** Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. */ @@ -4084,13 +3905,11 @@ export interface CloudServicesPowerOffDefaultResponse extends HttpResponse { /** Restarts one or more role instances in a cloud service. */ export interface CloudServicesRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts one or more role instances in a cloud service. */ export interface CloudServicesRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** Restarts one or more role instances in a cloud service. */ @@ -4102,13 +3921,11 @@ export interface CloudServicesRestartDefaultResponse extends HttpResponse { /** Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ export interface CloudServicesReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ export interface CloudServicesReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ @@ -4120,13 +3937,11 @@ export interface CloudServicesReimageDefaultResponse extends HttpResponse { /** Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. */ export interface CloudServicesRebuild200Response extends HttpResponse { status: "200"; - body: Record; } /** Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. */ export interface CloudServicesRebuild202Response extends HttpResponse { status: "202"; - body: Record; } /** Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. */ @@ -4138,13 +3953,11 @@ export interface CloudServicesRebuildDefaultResponse extends HttpResponse { /** Deletes role instances in a cloud service. */ export interface CloudServicesDeleteInstances200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes role instances in a cloud service. */ export interface CloudServicesDeleteInstances202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes role instances in a cloud service. */ @@ -4156,13 +3969,11 @@ export interface CloudServicesDeleteInstancesDefaultResponse extends HttpRespons /** Updates the role instances in the specified update domain. */ export interface CloudServicesUpdateDomainWalkUpdateDomain200Response extends HttpResponse { status: "200"; - body: Record; } /** Updates the role instances in the specified update domain. */ export interface CloudServicesUpdateDomainWalkUpdateDomain202Response extends HttpResponse { status: "202"; - body: Record; } /** Updates the role instances in the specified update domain. */ diff --git a/sdk/compute/arm-compute-rest/swagger/README.md b/sdk/compute/arm-compute-rest/swagger/README.md index ec1673bce31e..ecd7f48e3931 100644 --- a/sdk/compute/arm-compute-rest/swagger/README.md +++ b/sdk/compute/arm-compute-rest/swagger/README.md @@ -5,6 +5,8 @@ ## Configuration ```yaml +flavor: azure +openapi-type: arm package-name: "@azure-rest/arm-compute" title: ComputeManagementClient description: Compute Management Rest Client @@ -15,11 +17,13 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ source-code-folder-path: ./src require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/a5df773378a8b52f84bee08b3edaaa6ef520f058/specification/compute/resource-manager/readme.md -package-version: 1.0.0-beta.2 +package-version: 1.0.0-beta.3 rest-level-client: true add-credentials: true security: AADToken security-scopes: "https://management.azure.com/.default" +use-extension: + "@autorest/typescript": "latest" modelerfour: lenient-model-deduplication: true treat-type-object-as-anything: true diff --git a/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts b/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts index 5691b7a500e3..65c0bb6b1626 100644 --- a/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts +++ b/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts @@ -338,7 +338,7 @@ describe("Compute test", () => { if (isUnexpected(initialResponse)) { throw "create virtual machine error. result" + initialResponse; } - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.body.name, virtual_machine_name); }); @@ -414,7 +414,7 @@ describe("Compute test", () => { virtual_machine_name, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const result = await poller.pollUntilDone(); if (isUnexpected(result)) { throw "update virtual machine error. result" + result; @@ -434,7 +434,7 @@ describe("Compute test", () => { virtual_machine_name, ) .delete(deleteOptions); - const poller = getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); const deleteResponse = await poller.pollUntilDone(); if (isUnexpected(deleteResponse)) { throw "delete virtual machine error. result" + deleteResponse; From d5b22f41c86c8c8a4894a564cc998699de7c95fd Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:07:56 +0800 Subject: [PATCH 03/73] update --- sdk/compute/arm-compute-rest/CHANGELOG.md | 7 +- .../dedicatedHostGroupsUpdateSample.js | 18 --- .../javascript/dedicatedHostsUpdateSample.js | 14 -- .../virtualMachineScaleSetVMSUpdateSample.js | 124 ------------------ .../src/dedicatedHostGroupsUpdateSample.ts | 18 --- .../src/dedicatedHostsUpdateSample.ts | 14 -- .../virtualMachineScaleSetVMSUpdateSample.ts | 124 ------------------ .../arm-compute-rest/swagger/README.md | 2 +- 8 files changed, 2 insertions(+), 319 deletions(-) diff --git a/sdk/compute/arm-compute-rest/CHANGELOG.md b/sdk/compute/arm-compute-rest/CHANGELOG.md index eeefaaa5f799..6b90160d1427 100644 --- a/sdk/compute/arm-compute-rest/CHANGELOG.md +++ b/sdk/compute/arm-compute-rest/CHANGELOG.md @@ -3,12 +3,7 @@ ### 1.0.0-beta.2 (Unreleased) #### Features Added - -#### Breaking Changes - -#### Bugs Fixed - -#### Other Changes +- Refresh sdk with latest codegen ### 1.0.0-beta.1 (2021-09-22) diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js index cd0edee65dfe..dc3bb4d520d3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js @@ -22,24 +22,6 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { const options = { body: { properties: { - instanceView: { - hosts: [ - { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - }, platformFaultDomainCount: 3, supportAutomaticPlacement: true, }, diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js index 336b3178bf2a..b80be43e7d8e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js @@ -25,20 +25,6 @@ async function dedicatedHostsUpdateMaximumSetGen() { body: { properties: { autoReplaceOnFailure: true, - instanceView: { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, licenseType: "Windows_Server_Hybrid", platformFaultDomain: 1, }, diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js index 8d63afa53a57..64ae2a0d63fe 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js @@ -45,129 +45,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { vmSize: "Basic_A0", vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 }, }, - instanceView: { - bootDiagnostics: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - disks: [ - { - name: "aaaaaaaaaaa", - encryptionSettings: [ - { - diskEncryptionKey: { - secretUrl: "aaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - enabled: true, - keyEncryptionKey: { - keyUrl: "aaaaaaaaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - maintenanceRedeployStatus: { - isCustomerInitiatedMaintenanceAllowed: true, - lastOperationMessage: "aaaaaa", - lastOperationResultCode: "None", - maintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - maintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - }, - placementGroupId: "aaa", - platformFaultDomain: 14, - platformUpdateDomain: 23, - rdpThumbPrint: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgent: { - extensionHandlers: [ - { - type: "aaaaaaaaaaaaa", - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - typeHandlerVersion: "aaaaa", - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgentVersion: "aaaaaaaaaaaaaaaaaaaaaaa", - }, - vmHealth: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - extensions: [ - { - name: "aaaaaaaaaaaaaaaaa", - type: "aaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - substatuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa", - }, - ], - }, licenseType: "aaaaaaaaaa", networkProfile: { networkApiVersion: "2020-11-01", @@ -439,7 +316,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { }, userData: "RXhhbXBsZSBVc2VyRGF0YQ==", }, - sku: { name: "Classic", capacity: 29, tier: "aaaaaaaaaaaaaa" }, tags: {}, }, queryParameters: { "api-version": "2022-08-01" }, diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts index 8975a5a95344..526202ff3007 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts @@ -26,24 +26,6 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { const options: DedicatedHostGroupsUpdateParameters = { body: { properties: { - instanceView: { - hosts: [ - { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - }, platformFaultDomainCount: 3, supportAutomaticPlacement: true, }, diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts index f4a501d1f888..6acace77885a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts @@ -29,20 +29,6 @@ async function dedicatedHostsUpdateMaximumSetGen() { body: { properties: { autoReplaceOnFailure: true, - instanceView: { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, licenseType: "Windows_Server_Hybrid", platformFaultDomain: 1, }, diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts index c95a8bc297bb..bbbc1b7ca41c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts @@ -49,129 +49,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { vmSize: "Basic_A0", vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 }, }, - instanceView: { - bootDiagnostics: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - disks: [ - { - name: "aaaaaaaaaaa", - encryptionSettings: [ - { - diskEncryptionKey: { - secretUrl: "aaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - enabled: true, - keyEncryptionKey: { - keyUrl: "aaaaaaaaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - maintenanceRedeployStatus: { - isCustomerInitiatedMaintenanceAllowed: true, - lastOperationMessage: "aaaaaa", - lastOperationResultCode: "None", - maintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - maintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - }, - placementGroupId: "aaa", - platformFaultDomain: 14, - platformUpdateDomain: 23, - rdpThumbPrint: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgent: { - extensionHandlers: [ - { - type: "aaaaaaaaaaaaa", - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - typeHandlerVersion: "aaaaa", - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgentVersion: "aaaaaaaaaaaaaaaaaaaaaaa", - }, - vmHealth: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - extensions: [ - { - name: "aaaaaaaaaaaaaaaaa", - type: "aaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - substatuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa", - }, - ], - }, licenseType: "aaaaaaaaaa", networkProfile: { networkApiVersion: "2020-11-01", @@ -443,7 +320,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { }, userData: "RXhhbXBsZSBVc2VyRGF0YQ==", }, - sku: { name: "Classic", capacity: 29, tier: "aaaaaaaaaaaaaa" }, tags: {}, }, queryParameters: { "api-version": "2022-08-01" }, diff --git a/sdk/compute/arm-compute-rest/swagger/README.md b/sdk/compute/arm-compute-rest/swagger/README.md index ecd7f48e3931..aaafc74ae1e4 100644 --- a/sdk/compute/arm-compute-rest/swagger/README.md +++ b/sdk/compute/arm-compute-rest/swagger/README.md @@ -17,7 +17,7 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ source-code-folder-path: ./src require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/a5df773378a8b52f84bee08b3edaaa6ef520f058/specification/compute/resource-manager/readme.md -package-version: 1.0.0-beta.3 +package-version: 1.0.0-beta.2 rest-level-client: true add-credentials: true security: AADToken From ef23bbbfb1e609584e6ad127e42ef3dfedd83632 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:09:14 +0800 Subject: [PATCH 04/73] update --- sdk/appservice/arm-appservice-rest/CHANGELOG.md | 11 +++-------- sdk/appservice/arm-appservice-rest/swagger/README.md | 2 +- sdk/compute/arm-compute-rest/CHANGELOG.md | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/CHANGELOG.md b/sdk/appservice/arm-appservice-rest/CHANGELOG.md index 3d1c81eb9d54..d17d7e820545 100644 --- a/sdk/appservice/arm-appservice-rest/CHANGELOG.md +++ b/sdk/appservice/arm-appservice-rest/CHANGELOG.md @@ -1,14 +1,9 @@ # Release History -## 1.0.0-beta.2 (Unreleased) +### 1.0.0-beta.2 (2024-12-23) -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +#### Features Added +- Refresh sdk with latest codegen ## 1.0.0-beta.1 (2021-05-11) diff --git a/sdk/appservice/arm-appservice-rest/swagger/README.md b/sdk/appservice/arm-appservice-rest/swagger/README.md index 7b74519b93f9..3c917d1bd5da 100644 --- a/sdk/appservice/arm-appservice-rest/swagger/README.md +++ b/sdk/appservice/arm-appservice-rest/swagger/README.md @@ -17,7 +17,7 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ source-code-folder-path: ./src require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/078b90617e5e08137d0395963bd4119f4561a910/specification/web/resource-manager/readme.md -package-version: 1.0.0-beta.3 +package-version: 1.0.0-beta.2 rest-level-client: true add-credentials: true credential-scopes: "https://management.azure.com/.default" diff --git a/sdk/compute/arm-compute-rest/CHANGELOG.md b/sdk/compute/arm-compute-rest/CHANGELOG.md index 6b90160d1427..f1fe828befbb 100644 --- a/sdk/compute/arm-compute-rest/CHANGELOG.md +++ b/sdk/compute/arm-compute-rest/CHANGELOG.md @@ -1,6 +1,6 @@ ## Release History -### 1.0.0-beta.2 (Unreleased) +### 1.0.0-beta.2 (2024-12-23) #### Features Added - Refresh sdk with latest codegen From 3420ce567d24a5c49b2eba73fe499b40aa9370e8 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:13:22 +0800 Subject: [PATCH 05/73] update --- sdk/appservice/arm-appservice-rest/package.json | 1 - sdk/compute/arm-compute-rest/package.json | 1 - 2 files changed, 2 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/package.json b/sdk/appservice/arm-appservice-rest/package.json index 10b330be4693..713f0051736f 100644 --- a/sdk/appservice/arm-appservice-rest/package.json +++ b/sdk/appservice/arm-appservice-rest/package.json @@ -73,7 +73,6 @@ "@azure-rest/core-client": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-lro": "^3.1.0", - "@azure/core-paging": "^1.2.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", diff --git a/sdk/compute/arm-compute-rest/package.json b/sdk/compute/arm-compute-rest/package.json index 3979701fad78..90c2709bca4c 100644 --- a/sdk/compute/arm-compute-rest/package.json +++ b/sdk/compute/arm-compute-rest/package.json @@ -64,7 +64,6 @@ "@azure-rest/core-client": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-lro": "^3.1.0", - "@azure/core-paging": "^1.2.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", From a66d2a909c7ec01b42ba054c048c55888c54d215 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:14:31 +0800 Subject: [PATCH 06/73] Migration: Update package.json, tsconfig.json, and api-extractor.json --- .../arm-appservice-rest/api-extractor.json | 27 +++++-- .../arm-appservice-rest/package.json | 75 ++++++++++--------- .../arm-appservice-rest/tsconfig.json | 18 +++-- .../arm-appservice-rest/tsconfig.samples.json | 10 +++ .../arm-appservice-rest/tsconfig.src.json | 3 + .../arm-appservice-rest/tsconfig.test.json | 6 ++ 6 files changed, 87 insertions(+), 52 deletions(-) create mode 100644 sdk/appservice/arm-appservice-rest/tsconfig.samples.json create mode 100644 sdk/appservice/arm-appservice-rest/tsconfig.src.json create mode 100644 sdk/appservice/arm-appservice-rest/tsconfig.test.json diff --git a/sdk/appservice/arm-appservice-rest/api-extractor.json b/sdk/appservice/arm-appservice-rest/api-extractor.json index b2b21d2330f0..1807d1dd8662 100644 --- a/sdk/appservice/arm-appservice-rest/api-extractor.json +++ b/sdk/appservice/arm-appservice-rest/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./types/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "dist/esm/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/arm-appservice.d.ts" + "publicTrimmedFilePath": "dist/arm-appservice.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } } diff --git a/sdk/appservice/arm-appservice-rest/package.json b/sdk/appservice/arm-appservice-rest/package.json index 713f0051736f..4636cbd98b31 100644 --- a/sdk/appservice/arm-appservice-rest/package.json +++ b/sdk/appservice/arm-appservice-rest/package.json @@ -23,11 +23,8 @@ }, "files": [ "dist/", - "dist-esm/src/", - "types/arm-appservice.d.ts", "README.md", - "LICENSE", - "review/*" + "LICENSE" ], "//metadata": { "constantPaths": [ @@ -41,12 +38,12 @@ "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:node": "tsc -p . && dev-tool run bundle --browser-test false", + "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build:browser": "dev-tool run build-package && dev-tool run bundle", + "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", + "build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false", "build:samples": "echo skipped.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "dev-tool run build-package && dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "echo skipped", @@ -63,53 +60,39 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", "@azure/core-lro": "^3.1.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", - "tslib": "^2.2.0", - "@azure/abort-controller": "^2.1.2" + "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.1.0", + "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-istanbul": "^2.1.8", "autorest": "latest", - "chai": "^4.2.0", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "~1.4.0", - "karma-sourcemap-loader": "^0.3.8", - "mocha": "^11.0.2", - "nyc": "^17.0.0", - "source-map-support": "^0.5.9", - "ts-node": "^10.0.0", - "typescript": "~5.7.2" - }, - "browser": { - "./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js" + "playwright": "^1.49.1", + "typescript": "~5.7.2", + "vitest": "^2.1.8" }, + "browser": "./dist/browser/index.js", "//sampleConfiguration": { "productName": "Azure App Service rest", "productSlugs": [ @@ -117,5 +100,23 @@ ], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/rest/api/appservice" - } + }, + "type": "module", + "tshy": { + "project": "./tsconfig.src.json", + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "react-native": "./dist/react-native/index.js" } diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.json b/sdk/appservice/arm-appservice-rest/tsconfig.json index 50df5d003143..19ceb382b521 100644 --- a/sdk/appservice/arm-appservice-rest/tsconfig.json +++ b/sdk/appservice/arm-appservice-rest/tsconfig.json @@ -1,11 +1,13 @@ { - "extends": "../../../tsconfig", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", - "paths": { - "@azure-rest/arm-appservice": ["./src/index"] + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.samples.json" + }, + { + "path": "./tsconfig.test.json" } - }, - "include": ["src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] + ] } diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.samples.json b/sdk/appservice/arm-appservice-rest/tsconfig.samples.json new file mode 100644 index 000000000000..feaae055dbd7 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/tsconfig.samples.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.samples.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/arm-appservice": [ + "./dist/esm" + ] + } + } +} diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.src.json b/sdk/appservice/arm-appservice-rest/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.test.json b/sdk/appservice/arm-appservice-rest/tsconfig.test.json new file mode 100644 index 000000000000..3c2b783a8c1b --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/tsconfig.test.json @@ -0,0 +1,6 @@ +{ + "extends": [ + "./tsconfig.src.json", + "../../../tsconfig.test.base.json" + ] +} From 832db0e34988718f9a462bd62a565d8103fac18c Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:14:32 +0800 Subject: [PATCH 07/73] Migration: Update test config --- .../tsconfig.browser.config.json | 17 +++++++++++++++++ .../vitest.browser.config.ts | 17 +++++++++++++++++ .../arm-appservice-rest/vitest.config.ts | 7 +++++++ .../arm-appservice-rest/vitest.esm.config.ts | 12 ++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json create mode 100644 sdk/appservice/arm-appservice-rest/vitest.browser.config.ts create mode 100644 sdk/appservice/arm-appservice-rest/vitest.config.ts create mode 100644 sdk/appservice/arm-appservice-rest/vitest.esm.config.ts diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json b/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json new file mode 100644 index 000000000000..b6586181d006 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json @@ -0,0 +1,17 @@ +{ + "extends": "./.tshy/build.json", + "include": [ + "./src/**/*.ts", + "./src/**/*.mts", + "./test/**/*.spec.ts", + "./test/**/*.mts" + ], + "exclude": [ + "./test/**/node/**/*.ts" + ], + "compilerOptions": { + "outDir": "./dist-test/browser", + "rootDir": ".", + "skipLibCheck": true + } +} diff --git a/sdk/appservice/arm-appservice-rest/vitest.browser.config.ts b/sdk/appservice/arm-appservice-rest/vitest.browser.config.ts new file mode 100644 index 000000000000..b48c61b2ef46 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/vitest.browser.config.ts @@ -0,0 +1,17 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: [ + "dist-test/browser/test/**/*.spec.js", + ], + }, + }), +); diff --git a/sdk/appservice/arm-appservice-rest/vitest.config.ts b/sdk/appservice/arm-appservice-rest/vitest.config.ts new file mode 100644 index 000000000000..cc5cd85d4131 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/vitest.config.ts @@ -0,0 +1,7 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import viteConfig from "../../../vitest.shared.config.ts"; + +export default viteConfig; diff --git a/sdk/appservice/arm-appservice-rest/vitest.esm.config.ts b/sdk/appservice/arm-appservice-rest/vitest.esm.config.ts new file mode 100644 index 000000000000..a70127279fc9 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/vitest.esm.config.ts @@ -0,0 +1,12 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig( + vitestConfig, + vitestEsmConfig +); From b5e26f319ab09cd8716b54649dc076b7b2e98d73 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:14:32 +0800 Subject: [PATCH 08/73] Migration: Clean up files --- .../arm-appservice-rest/karma.conf.js | 133 ------------------ 1 file changed, 133 deletions(-) delete mode 100644 sdk/appservice/arm-appservice-rest/karma.conf.js diff --git a/sdk/appservice/arm-appservice-rest/karma.conf.js b/sdk/appservice/arm-appservice-rest/karma.conf.js deleted file mode 100644 index 4fdf26c79ac0..000000000000 --- a/sdk/appservice/arm-appservice-rest/karma.conf.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -require("dotenv").config(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["source-map-support", "mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - "karma-source-map-support", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { - pattern: "dist-test/index.browser.js.map", - type: "html", - included: false, - served: true, - }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // IMPORTANT: COMMENT following line if you want to debug in your browsers!! - // Preprocess source file to calculate code coverage, however this will make source file unreadable - // "dist-test/index.js": ["coverage"] - }, - - envPreprocessor: [ - "TEST_MODE", - "ENDPOINT", - "AZURE_CLIENT_SECRET", - "AZURE_CLIENT_ID", - "AZURE_TENANT_ID", - "SUBSCRIPTION_ID", - "RECORDINGS_RELATIVE_PATH", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - reporters: [ - { type: "json", subdir: ".", file: "coverage.json" }, - { type: "lcovonly", subdir: ".", file: "lcov.info" }, - { type: "html", subdir: "html" }, - { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, - ], - }, - - junitReporter: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 60000000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; From a30db8e11e1261a768cea01febdae1ef73a8e114 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:14:50 +0800 Subject: [PATCH 09/73] Migration: Apply codemod: "fixSourceFile" --- .../src/clientDefinitions.ts | 4 ++-- .../arm-appservice-rest/src/index.ts | 20 +++++++++---------- .../arm-appservice-rest/src/isUnexpected.ts | 2 +- .../arm-appservice-rest/src/parameters.ts | 2 +- .../arm-appservice-rest/src/responses.ts | 2 +- .../src/webSiteManagementClient.ts | 4 ++-- .../test/public/appservice-rest.spec.ts | 9 ++++----- .../test/public/utils/recordedClient.ts | 4 ++-- 8 files changed, 23 insertions(+), 24 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts b/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts index 3ccca38f6fe9..67dacdafc7f7 100644 --- a/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts +++ b/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts @@ -654,7 +654,7 @@ import type { WebAppsUpdateVnetConnectionGatewayParameters, WebAppsListWebJobsParameters, WebAppsGetWebJobParameters, -} from "./parameters"; +} from "./parameters.js"; import type { AppServiceCertificateOrdersList200Response, AppServiceCertificateOrdersListDefaultResponse, @@ -2185,7 +2185,7 @@ import type { WebAppsListWebJobsDefaultResponse, WebAppsGetWebJob200Response, WebAppsGetWebJobDefaultResponse, -} from "./responses"; +} from "./responses.js"; import type { Client, StreamableMethod } from "@azure-rest/core-client"; export interface AppServiceCertificateOrdersList { diff --git a/sdk/appservice/arm-appservice-rest/src/index.ts b/sdk/appservice/arm-appservice-rest/src/index.ts index 8b4bf1a19f3f..350511aaa28f 100644 --- a/sdk/appservice/arm-appservice-rest/src/index.ts +++ b/sdk/appservice/arm-appservice-rest/src/index.ts @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import WebSiteManagementClient from "./webSiteManagementClient"; +import WebSiteManagementClient from "./webSiteManagementClient.js"; -export * from "./webSiteManagementClient"; -export * from "./parameters"; -export * from "./responses"; -export * from "./clientDefinitions"; -export * from "./isUnexpected"; -export * from "./models"; -export * from "./outputModels"; -export * from "./paginateHelper"; -export * from "./pollingHelper"; +export * from "./webSiteManagementClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./paginateHelper.js"; +export * from "./pollingHelper.js"; export default WebSiteManagementClient; diff --git a/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts b/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts index aaca65879f14..06545a523786 100644 --- a/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts +++ b/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts @@ -1531,7 +1531,7 @@ import type { WebAppsListWebJobsDefaultResponse, WebAppsGetWebJob200Response, WebAppsGetWebJobDefaultResponse, -} from "./responses"; +} from "./responses.js"; const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders": diff --git a/sdk/appservice/arm-appservice-rest/src/parameters.ts b/sdk/appservice/arm-appservice-rest/src/parameters.ts index 800039881fb3..f039b0f8f0cc 100644 --- a/sdk/appservice/arm-appservice-rest/src/parameters.ts +++ b/sdk/appservice/arm-appservice-rest/src/parameters.ts @@ -81,7 +81,7 @@ import type { SnapshotRestoreRequest, SiteSourceControl, VnetInfoResource, -} from "./models"; +} from "./models.js"; export type AppServiceCertificateOrdersListParameters = RequestParameters; diff --git a/sdk/appservice/arm-appservice-rest/src/responses.ts b/sdk/appservice/arm-appservice-rest/src/responses.ts index c0a073321e59..00c79390bf9c 100644 --- a/sdk/appservice/arm-appservice-rest/src/responses.ts +++ b/sdk/appservice/arm-appservice-rest/src/responses.ts @@ -174,7 +174,7 @@ import type { TriggeredJobHistoryOutput, WebJobCollectionOutput, WebJobOutput, -} from "./outputModels"; +} from "./outputModels.js"; /** List all certificate orders in a subscription. */ export interface AppServiceCertificateOrdersList200Response extends HttpResponse { diff --git a/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts index 689979aa3ee6..597517ff44b8 100644 --- a/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts @@ -3,9 +3,9 @@ import type { ClientOptions } from "@azure-rest/core-client"; import { getClient } from "@azure-rest/core-client"; -import { logger } from "./logger"; +import { logger } from "./logger.js"; import type { TokenCredential } from "@azure/core-auth"; -import type { WebSiteManagementClient } from "./clientDefinitions"; +import type { WebSiteManagementClient } from "./clientDefinitions.js"; /** The optional parameters for the client */ export interface WebSiteManagementClientOptions extends ClientOptions { diff --git a/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts b/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts index b0f25804ac32..7625b072d644 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts @@ -4,10 +4,9 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { isPlaybackMode, env } from "@azure-tools/test-recorder"; import { assert } from "chai"; -import { createRecorder, createClient } from "./utils/recordedClient"; -import type { Context } from "mocha"; -import type { WebSiteManagementClient } from "../../src/index"; -import { paginate, getLongRunningPoller } from "../../src/index"; +import { createRecorder, createClient } from "./utils/recordedClient.js"; +import type { WebSiteManagementClient } from "../../src/index.js"; +import { paginate, getLongRunningPoller } from "../../src/index.js"; export const testPollingOptions = { intervalInMs: isPlaybackMode() ? 0 : undefined, @@ -21,7 +20,7 @@ describe("Web test", () => { let appservicePlanName: string; let name: string; - beforeEach(async function (this: Context) { + beforeEach(async function () { recorder = await createRecorder(this); client = await createClient(recorder); subscriptionId = env.SUBSCRIPTION_ID ?? ""; diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts index 0028290afe0b..bcdf762e2e16 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts @@ -6,8 +6,8 @@ import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { ClientOptions } from "@azure-rest/core-client"; import { createTestCredential } from "@azure-tools/test-credential"; -import type { WebSiteManagementClient } from "../../../src/index"; -import WebSiteClient from "../../../src/index"; +import type { WebSiteManagementClient } from "../../../src/index.js"; +import WebSiteClient from "../../../src/index.js"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", From e0574826ea907e00a01ba86bb8a1d9bded43cb2a Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:14:53 +0800 Subject: [PATCH 10/73] Migration: Apply codemod: "fixTestingImports" --- .../arm-appservice-rest/test/public/appservice-rest.spec.ts | 2 +- .../arm-appservice-rest/test/public/utils/recordedClient.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts b/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts index 7625b072d644..7368e10441b9 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts @@ -3,10 +3,10 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { isPlaybackMode, env } from "@azure-tools/test-recorder"; -import { assert } from "chai"; import { createRecorder, createClient } from "./utils/recordedClient.js"; import type { WebSiteManagementClient } from "../../src/index.js"; import { paginate, getLongRunningPoller } from "../../src/index.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; export const testPollingOptions = { intervalInMs: isPlaybackMode() ? 0 : undefined, diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts index bcdf762e2e16..74227456d8e7 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import type { Context } from "mocha"; import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { ClientOptions } from "@azure-rest/core-client"; From bb7b4e8133f67f398641110af2d8c3c0ba5ed637 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:14:57 +0800 Subject: [PATCH 11/73] Migration: Apply codemod: "replaceAssertIsRejected" From 40428222cdcd54a9ac8c71009dd0f2b6ade259c8 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:14:58 +0800 Subject: [PATCH 12/73] Migration: Apply codemod: "replaceSinonStub" From 3f051eb6e0c528147b43fe894057a90efe98752e Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:15:00 +0800 Subject: [PATCH 13/73] Migration: Apply codemod: "addViHelper" From 1433e33c1e3063abddf061768bcd55feb733f290 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:15:01 +0800 Subject: [PATCH 14/73] Migration: Apply codemod: "replaceSupportTracing" From b08770e3faec4455345c0a93d7313c6a847fed88 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:15:02 +0800 Subject: [PATCH 15/73] Migration: Apply codemod: "replaceTestUtils" From 31473a82764f6c373c79cb1b41d091d0a874dcf8 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:15:11 +0800 Subject: [PATCH 16/73] Migration: rushx format --- .../arm-appservice-rest/tsconfig.browser.config.json | 11 ++--------- .../arm-appservice-rest/tsconfig.samples.json | 4 +--- sdk/appservice/arm-appservice-rest/tsconfig.test.json | 5 +---- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json b/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json index b6586181d006..f772e6eb3b76 100644 --- a/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json +++ b/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json @@ -1,14 +1,7 @@ { "extends": "./.tshy/build.json", - "include": [ - "./src/**/*.ts", - "./src/**/*.mts", - "./test/**/*.spec.ts", - "./test/**/*.mts" - ], - "exclude": [ - "./test/**/node/**/*.ts" - ], + "include": ["./src/**/*.ts", "./src/**/*.mts", "./test/**/*.spec.ts", "./test/**/*.mts"], + "exclude": ["./test/**/node/**/*.ts"], "compilerOptions": { "outDir": "./dist-test/browser", "rootDir": ".", diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.samples.json b/sdk/appservice/arm-appservice-rest/tsconfig.samples.json index feaae055dbd7..f20b1dc948c6 100644 --- a/sdk/appservice/arm-appservice-rest/tsconfig.samples.json +++ b/sdk/appservice/arm-appservice-rest/tsconfig.samples.json @@ -2,9 +2,7 @@ "extends": "../../../tsconfig.samples.base.json", "compilerOptions": { "paths": { - "@azure-rest/arm-appservice": [ - "./dist/esm" - ] + "@azure-rest/arm-appservice": ["./dist/esm"] } } } diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.test.json b/sdk/appservice/arm-appservice-rest/tsconfig.test.json index 3c2b783a8c1b..290ca214aebc 100644 --- a/sdk/appservice/arm-appservice-rest/tsconfig.test.json +++ b/sdk/appservice/arm-appservice-rest/tsconfig.test.json @@ -1,6 +1,3 @@ { - "extends": [ - "./tsconfig.src.json", - "../../../tsconfig.test.base.json" - ] + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] } From 78ea7ef023bde91b916cd8b46472b509ae7962f8 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:19:07 +0800 Subject: [PATCH 17/73] Update pnpm-lock.yaml --- common/config/rush/pnpm-lock.yaml | 53 ++++++++++++++----------------- 1 file changed, 24 insertions(+), 29 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 09387f856d63..63ead77c8e36 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -105,7 +105,7 @@ importers: version: file:projects/arm-appplatform.tgz '@rush-temp/arm-appservice': specifier: file:./projects/arm-appservice.tgz - version: file:projects/arm-appservice.tgz + version: file:projects/arm-appservice.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-appservice-1': specifier: file:./projects/arm-appservice-1.tgz version: file:projects/arm-appservice-1.tgz @@ -2571,7 +2571,7 @@ packages: version: 0.0.0 '@rush-temp/arm-appservice@file:projects/arm-appservice.tgz': - resolution: {integrity: sha512-zIsAoZQ7Hdb2Z4rLmGKMVZd3MUQ3ajhjAJTOHoKML6FxS8u3J7c4TAGOvVz/rZC6U2+EjAymFwqetf+V3Swu7g==, tarball: file:projects/arm-appservice.tgz} + resolution: {integrity: sha512-lRVoeW9c5u2Wvw3s+Xq8Y7ylNHVXFvmssfojDyemSOPizIFsVyfG4kajrdE1Z+AFwfHyCnVkI4+To4Gyt9uzMQ==, tarball: file:projects/arm-appservice.tgz} version: 0.0.0 '@rush-temp/arm-astro@file:projects/arm-astro.tgz': @@ -2679,7 +2679,7 @@ packages: version: 0.0.0 '@rush-temp/arm-compute@file:projects/arm-compute.tgz': - resolution: {integrity: sha512-hifAAD1GYTmQ/rBDgwhjvRY3RNBjIZBB/x/tcBz+1fn5amRa/C5GMMqtybC853kaVuH2SWOocorrtMHTo/Ks/g==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-xQDKOPpRBxoFsM+x52t2dYuxksgTfWQ2m9gccHe6MtSFpOaFg0Ii74YsJ6HMFq5Ek2O+UmGec0yqGawf8JIMpw==, tarball: file:projects/arm-compute.tgz} version: 0.0.0 '@rush-temp/arm-computefleet@file:projects/arm-computefleet.tgz': @@ -3591,7 +3591,7 @@ packages: version: 0.0.0 '@rush-temp/confidential-ledger@file:projects/confidential-ledger.tgz': - resolution: {integrity: sha512-Gh04SARYLYKqfJcMhnzqQ4aoQcWNw+tokGGhULmwQhutUaYCVjx69T3fzYTkEeXjWx/289eFK3zBD8TMA3p7+g==, tarball: file:projects/confidential-ledger.tgz} + resolution: {integrity: sha512-SJzc0t6IU+ncIo/2rsSt6PQzH5KpCAMYcFLxYBb4OripIcE4U5gKmotJfB7koFj1/r0T/9eZqpeD+1OTT0dJQQ==, tarball: file:projects/confidential-ledger.tgz} version: 0.0.0 '@rush-temp/container-registry@file:projects/container-registry.tgz': @@ -10619,43 +10619,39 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-appservice@file:projects/arm-appservice.tgz': + '@rush-temp/arm-appservice@file:projects/arm-appservice.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 - '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 - chai: 4.5.0 dotenv: 16.4.7 eslint: 9.17.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 11.0.2 - nyc: 17.1.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-astro@file:projects/arm-astro.tgz': dependencies: @@ -11161,7 +11157,6 @@ snapshots: '@azure-tools/test-credential': 1.3.1 '@azure-tools/test-recorder': 3.5.2 '@azure/arm-network': 32.2.0 - '@azure/core-lro': 2.7.2 '@types/chai': 4.3.20 '@types/mocha': 10.0.10 '@types/node': 18.19.68 From ce767c03c03994c56b8b0057e159c804cd8bc756 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:23:30 +0800 Subject: [PATCH 18/73] Migration: Update package.json, tsconfig.json, and api-extractor.json --- .../arm-compute-rest/api-extractor.json | 27 +++++-- sdk/compute/arm-compute-rest/package.json | 72 ++++++++++--------- sdk/compute/arm-compute-rest/tsconfig.json | 18 +++-- .../arm-compute-rest/tsconfig.samples.json | 10 +++ .../arm-compute-rest/tsconfig.src.json | 3 + .../arm-compute-rest/tsconfig.test.json | 6 ++ 6 files changed, 88 insertions(+), 48 deletions(-) create mode 100644 sdk/compute/arm-compute-rest/tsconfig.samples.json create mode 100644 sdk/compute/arm-compute-rest/tsconfig.src.json create mode 100644 sdk/compute/arm-compute-rest/tsconfig.test.json diff --git a/sdk/compute/arm-compute-rest/api-extractor.json b/sdk/compute/arm-compute-rest/api-extractor.json index 1ede62cdb133..4b2f21ee926a 100644 --- a/sdk/compute/arm-compute-rest/api-extractor.json +++ b/sdk/compute/arm-compute-rest/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./types/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "dist/esm/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/arm-compute.d.ts" + "publicTrimmedFilePath": "dist/arm-compute.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } } diff --git a/sdk/compute/arm-compute-rest/package.json b/sdk/compute/arm-compute-rest/package.json index 90c2709bca4c..fb8d0b40249f 100644 --- a/sdk/compute/arm-compute-rest/package.json +++ b/sdk/compute/arm-compute-rest/package.json @@ -22,22 +22,19 @@ }, "files": [ "dist/", - "dist-esm/src/", - "types/arm-compute.d.ts", "README.md", - "LICENSE", - "review/*" + "LICENSE" ], "engines": { "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:node": "tsc -p . && dev-tool run bundle --browser-test false", + "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build:browser": "dev-tool run build-package && dev-tool run bundle", + "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", + "build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false", "build:samples": "echo skipped.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "dev-tool run build-package && dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", @@ -54,50 +51,38 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "dev-tool run vendored cross-env TEST_MODE=playback && npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", "@azure/core-lro": "^3.1.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", - "tslib": "^2.2.0", - "@azure/abort-controller": "^2.1.2" + "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.1.0", + "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/arm-network": "^32.2.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-istanbul": "^2.1.8", "autorest": "latest", - "chai": "^4.2.0", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "~1.4.0", - "karma-sourcemap-loader": "^0.3.8", - "mocha": "^11.0.2", - "nyc": "^17.0.0", - "source-map-support": "^0.5.9", - "ts-node": "^10.0.0", - "typescript": "~5.7.2" + "playwright": "^1.49.1", + "typescript": "~5.7.2", + "vitest": "^2.1.8" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute-rest/README.md", "//metadata": { @@ -115,5 +100,24 @@ ], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview" - } + }, + "type": "module", + "tshy": { + "project": "./tsconfig.src.json", + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "browser": "./dist/browser/index.js", + "react-native": "./dist/react-native/index.js" } diff --git a/sdk/compute/arm-compute-rest/tsconfig.json b/sdk/compute/arm-compute-rest/tsconfig.json index 3ee74bece1a6..19ceb382b521 100644 --- a/sdk/compute/arm-compute-rest/tsconfig.json +++ b/sdk/compute/arm-compute-rest/tsconfig.json @@ -1,9 +1,13 @@ { - "extends": "../../../tsconfig", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", - "paths": { "@azure-rest/arm-compute": ["./src/index"] } - }, - "include": ["src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.samples.json" + }, + { + "path": "./tsconfig.test.json" + } + ] } diff --git a/sdk/compute/arm-compute-rest/tsconfig.samples.json b/sdk/compute/arm-compute-rest/tsconfig.samples.json new file mode 100644 index 000000000000..5d7f7603f7c7 --- /dev/null +++ b/sdk/compute/arm-compute-rest/tsconfig.samples.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.samples.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/arm-compute": [ + "./dist/esm" + ] + } + } +} diff --git a/sdk/compute/arm-compute-rest/tsconfig.src.json b/sdk/compute/arm-compute-rest/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/compute/arm-compute-rest/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/compute/arm-compute-rest/tsconfig.test.json b/sdk/compute/arm-compute-rest/tsconfig.test.json new file mode 100644 index 000000000000..3c2b783a8c1b --- /dev/null +++ b/sdk/compute/arm-compute-rest/tsconfig.test.json @@ -0,0 +1,6 @@ +{ + "extends": [ + "./tsconfig.src.json", + "../../../tsconfig.test.base.json" + ] +} From 17a02d7a4013a111f88553ae7afb3e373e4c091f Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:23:30 +0800 Subject: [PATCH 19/73] Migration: Update test config --- .../tsconfig.browser.config.json | 17 +++++++++++++++++ .../arm-compute-rest/vitest.browser.config.ts | 17 +++++++++++++++++ sdk/compute/arm-compute-rest/vitest.config.ts | 7 +++++++ .../arm-compute-rest/vitest.esm.config.ts | 12 ++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 sdk/compute/arm-compute-rest/tsconfig.browser.config.json create mode 100644 sdk/compute/arm-compute-rest/vitest.browser.config.ts create mode 100644 sdk/compute/arm-compute-rest/vitest.config.ts create mode 100644 sdk/compute/arm-compute-rest/vitest.esm.config.ts diff --git a/sdk/compute/arm-compute-rest/tsconfig.browser.config.json b/sdk/compute/arm-compute-rest/tsconfig.browser.config.json new file mode 100644 index 000000000000..b6586181d006 --- /dev/null +++ b/sdk/compute/arm-compute-rest/tsconfig.browser.config.json @@ -0,0 +1,17 @@ +{ + "extends": "./.tshy/build.json", + "include": [ + "./src/**/*.ts", + "./src/**/*.mts", + "./test/**/*.spec.ts", + "./test/**/*.mts" + ], + "exclude": [ + "./test/**/node/**/*.ts" + ], + "compilerOptions": { + "outDir": "./dist-test/browser", + "rootDir": ".", + "skipLibCheck": true + } +} diff --git a/sdk/compute/arm-compute-rest/vitest.browser.config.ts b/sdk/compute/arm-compute-rest/vitest.browser.config.ts new file mode 100644 index 000000000000..b48c61b2ef46 --- /dev/null +++ b/sdk/compute/arm-compute-rest/vitest.browser.config.ts @@ -0,0 +1,17 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: [ + "dist-test/browser/test/**/*.spec.js", + ], + }, + }), +); diff --git a/sdk/compute/arm-compute-rest/vitest.config.ts b/sdk/compute/arm-compute-rest/vitest.config.ts new file mode 100644 index 000000000000..cc5cd85d4131 --- /dev/null +++ b/sdk/compute/arm-compute-rest/vitest.config.ts @@ -0,0 +1,7 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import viteConfig from "../../../vitest.shared.config.ts"; + +export default viteConfig; diff --git a/sdk/compute/arm-compute-rest/vitest.esm.config.ts b/sdk/compute/arm-compute-rest/vitest.esm.config.ts new file mode 100644 index 000000000000..a70127279fc9 --- /dev/null +++ b/sdk/compute/arm-compute-rest/vitest.esm.config.ts @@ -0,0 +1,12 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig( + vitestConfig, + vitestEsmConfig +); From 35316e94d3b23e84a404c880cce14067807b9eb9 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:23:42 +0800 Subject: [PATCH 20/73] Migration: Clean up files --- sdk/compute/arm-compute-rest/karma.conf.js | 133 --------------------- 1 file changed, 133 deletions(-) delete mode 100644 sdk/compute/arm-compute-rest/karma.conf.js diff --git a/sdk/compute/arm-compute-rest/karma.conf.js b/sdk/compute/arm-compute-rest/karma.conf.js deleted file mode 100644 index 4fdf26c79ac0..000000000000 --- a/sdk/compute/arm-compute-rest/karma.conf.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -require("dotenv").config(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["source-map-support", "mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - "karma-source-map-support", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { - pattern: "dist-test/index.browser.js.map", - type: "html", - included: false, - served: true, - }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // IMPORTANT: COMMENT following line if you want to debug in your browsers!! - // Preprocess source file to calculate code coverage, however this will make source file unreadable - // "dist-test/index.js": ["coverage"] - }, - - envPreprocessor: [ - "TEST_MODE", - "ENDPOINT", - "AZURE_CLIENT_SECRET", - "AZURE_CLIENT_ID", - "AZURE_TENANT_ID", - "SUBSCRIPTION_ID", - "RECORDINGS_RELATIVE_PATH", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - reporters: [ - { type: "json", subdir: ".", file: "coverage.json" }, - { type: "lcovonly", subdir: ".", file: "lcov.info" }, - { type: "html", subdir: "html" }, - { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, - ], - }, - - junitReporter: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 60000000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; From 33bef00992bec1e91d9e4de37a6c870813feb645 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:25:23 +0800 Subject: [PATCH 21/73] Migration: Apply codemod: "fixSourceFile" --- .../availabilitySetsCreateOrUpdateSample.ts | 4 +--- .../availabilitySetsDeleteSample.ts | 4 +--- .../samples-dev/availabilitySetsGetSample.ts | 4 +--- ...vailabilitySetsListAvailableSizesSample.ts | 4 +--- ...vailabilitySetsListBySubscriptionSample.ts | 4 +--- .../samples-dev/availabilitySetsListSample.ts | 4 +--- .../availabilitySetsUpdateSample.ts | 4 +--- ...tyReservationGroupsCreateOrUpdateSample.ts | 4 +--- .../capacityReservationGroupsDeleteSample.ts | 4 +--- .../capacityReservationGroupsGetSample.ts | 4 +--- ...ervationGroupsListByResourceGroupSample.ts | 4 +--- ...servationGroupsListBySubscriptionSample.ts | 4 +--- .../capacityReservationGroupsUpdateSample.ts | 4 +--- ...apacityReservationsCreateOrUpdateSample.ts | 4 +--- .../capacityReservationsDeleteSample.ts | 4 +--- .../capacityReservationsGetSample.ts | 4 +--- ...onsListByCapacityReservationGroupSample.ts | 4 +--- .../capacityReservationsUpdateSample.ts | 4 +--- ...erviceOperatingSystemsGetOSFamilySample.ts | 4 +--- ...rviceOperatingSystemsGetOSVersionSample.ts | 4 +--- ...iceOperatingSystemsListOSFamiliesSample.ts | 4 +--- ...iceOperatingSystemsListOSVersionsSample.ts | 4 +--- .../cloudServiceRoleInstancesDeleteSample.ts | 4 +--- ...rviceRoleInstancesGetInstanceViewSample.ts | 4 +--- ...RoleInstancesGetRemoteDesktopFileSample.ts | 4 +--- .../cloudServiceRoleInstancesGetSample.ts | 4 +--- .../cloudServiceRoleInstancesListSample.ts | 4 +--- .../cloudServiceRoleInstancesRebuildSample.ts | 4 +--- .../cloudServiceRoleInstancesReimageSample.ts | 4 +--- .../cloudServiceRoleInstancesRestartSample.ts | 4 +--- .../samples-dev/cloudServiceRolesGetSample.ts | 4 +--- .../cloudServiceRolesListSample.ts | 4 +--- .../cloudServicesCreateOrUpdateSample.ts | 4 +--- .../cloudServicesDeleteInstancesSample.ts | 4 +--- .../samples-dev/cloudServicesDeleteSample.ts | 4 +--- .../cloudServicesGetInstanceViewSample.ts | 4 +--- .../samples-dev/cloudServicesGetSample.ts | 4 +--- .../samples-dev/cloudServicesListAllSample.ts | 4 +--- .../samples-dev/cloudServicesListSample.ts | 4 +--- .../cloudServicesPowerOffSample.ts | 4 +--- .../samples-dev/cloudServicesRebuildSample.ts | 4 +--- .../samples-dev/cloudServicesReimageSample.ts | 4 +--- .../samples-dev/cloudServicesRestartSample.ts | 4 +--- .../samples-dev/cloudServicesStartSample.ts | 4 +--- ...rvicesUpdateDomainGetUpdateDomainSample.ts | 4 +--- ...icesUpdateDomainListUpdateDomainsSample.ts | 4 +--- ...vicesUpdateDomainWalkUpdateDomainSample.ts | 4 +--- .../samples-dev/cloudServicesUpdateSample.ts | 4 +--- .../communityGalleriesGetSample.ts | 4 +--- .../communityGalleryImageVersionsGetSample.ts | 4 +--- ...communityGalleryImageVersionsListSample.ts | 4 +--- .../communityGalleryImagesGetSample.ts | 4 +--- .../communityGalleryImagesListSample.ts | 4 +--- ...dedicatedHostGroupsCreateOrUpdateSample.ts | 4 +--- .../dedicatedHostGroupsDeleteSample.ts | 4 +--- .../dedicatedHostGroupsGetSample.ts | 4 +--- ...atedHostGroupsListByResourceGroupSample.ts | 4 +--- ...catedHostGroupsListBySubscriptionSample.ts | 4 +--- .../dedicatedHostGroupsUpdateSample.ts | 4 +--- .../dedicatedHostsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/dedicatedHostsDeleteSample.ts | 4 +--- .../samples-dev/dedicatedHostsGetSample.ts | 4 +--- .../dedicatedHostsListByHostGroupSample.ts | 4 +--- .../dedicatedHostsRestartSample.ts | 4 +--- .../samples-dev/dedicatedHostsUpdateSample.ts | 4 +--- .../diskAccessesCreateOrUpdateSample.ts | 4 +--- ...sDeleteAPrivateEndpointConnectionSample.ts | 4 +--- .../samples-dev/diskAccessesDeleteSample.ts | 4 +--- ...ssesGetAPrivateEndpointConnectionSample.ts | 4 +--- ...skAccessesGetPrivateLinkResourcesSample.ts | 4 +--- .../samples-dev/diskAccessesGetSample.ts | 4 +--- .../diskAccessesListByResourceGroupSample.ts | 4 +--- ...sesListPrivateEndpointConnectionsSample.ts | 4 +--- .../samples-dev/diskAccessesListSample.ts | 4 +--- ...sUpdateAPrivateEndpointConnectionSample.ts | 4 +--- .../samples-dev/diskAccessesUpdateSample.ts | 4 +--- .../diskEncryptionSetsCreateOrUpdateSample.ts | 4 +--- .../diskEncryptionSetsDeleteSample.ts | 4 +--- .../diskEncryptionSetsGetSample.ts | 4 +--- ...yptionSetsListAssociatedResourcesSample.ts | 4 +--- ...EncryptionSetsListByResourceGroupSample.ts | 4 +--- .../diskEncryptionSetsListSample.ts | 4 +--- .../diskEncryptionSetsUpdateSample.ts | 4 +--- .../samples-dev/diskRestorePointGetSample.ts | 4 +--- .../diskRestorePointGrantAccessSample.ts | 4 +--- ...iskRestorePointListByRestorePointSample.ts | 4 +--- .../diskRestorePointRevokeAccessSample.ts | 4 +--- .../samples-dev/disksCreateOrUpdateSample.ts | 4 +--- .../samples-dev/disksDeleteSample.ts | 4 +--- .../samples-dev/disksGetSample.ts | 4 +--- .../samples-dev/disksGrantAccessSample.ts | 4 +--- .../disksListByResourceGroupSample.ts | 4 +--- .../samples-dev/disksListSample.ts | 4 +--- .../samples-dev/disksRevokeAccessSample.ts | 4 +--- .../samples-dev/disksUpdateSample.ts | 4 +--- .../galleriesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/galleriesDeleteSample.ts | 4 +--- .../samples-dev/galleriesGetSample.ts | 4 +--- .../galleriesListByResourceGroupSample.ts | 4 +--- .../samples-dev/galleriesListSample.ts | 4 +--- .../samples-dev/galleriesUpdateSample.ts | 4 +--- ...ApplicationVersionsCreateOrUpdateSample.ts | 4 +--- .../galleryApplicationVersionsDeleteSample.ts | 4 +--- .../galleryApplicationVersionsGetSample.ts | 4 +--- ...nVersionsListByGalleryApplicationSample.ts | 4 +--- .../galleryApplicationVersionsUpdateSample.ts | 4 +--- ...galleryApplicationsCreateOrUpdateSample.ts | 4 +--- .../galleryApplicationsDeleteSample.ts | 4 +--- .../galleryApplicationsGetSample.ts | 4 +--- .../galleryApplicationsListByGallerySample.ts | 4 +--- .../galleryApplicationsUpdateSample.ts | 4 +--- ...alleryImageVersionsCreateOrUpdateSample.ts | 4 +--- .../galleryImageVersionsDeleteSample.ts | 4 +--- .../galleryImageVersionsGetSample.ts | 4 +--- ...ryImageVersionsListByGalleryImageSample.ts | 4 +--- .../galleryImageVersionsUpdateSample.ts | 4 +--- .../galleryImagesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/galleryImagesDeleteSample.ts | 4 +--- .../samples-dev/galleryImagesGetSample.ts | 4 +--- .../galleryImagesListByGallerySample.ts | 4 +--- .../samples-dev/galleryImagesUpdateSample.ts | 4 +--- .../gallerySharingProfileUpdateSample.ts | 4 +--- .../samples-dev/imagesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/imagesDeleteSample.ts | 4 +--- .../samples-dev/imagesGetSample.ts | 4 +--- .../imagesListByResourceGroupSample.ts | 4 +--- .../samples-dev/imagesListSample.ts | 4 +--- .../samples-dev/imagesUpdateSample.ts | 4 +--- ...lyticsExportRequestRateByIntervalSample.ts | 4 +--- ...gAnalyticsExportThrottledRequestsSample.ts | 4 +--- .../samples-dev/operationsListSample.ts | 4 +--- ...mityPlacementGroupsCreateOrUpdateSample.ts | 4 +--- .../proximityPlacementGroupsDeleteSample.ts | 4 +--- .../proximityPlacementGroupsGetSample.ts | 4 +--- ...lacementGroupsListByResourceGroupSample.ts | 4 +--- ...PlacementGroupsListBySubscriptionSample.ts | 4 +--- .../proximityPlacementGroupsUpdateSample.ts | 4 +--- .../samples-dev/resourceSkusListSample.ts | 4 +--- ...orePointCollectionsCreateOrUpdateSample.ts | 4 +--- .../restorePointCollectionsDeleteSample.ts | 4 +--- .../restorePointCollectionsGetSample.ts | 4 +--- .../restorePointCollectionsListAllSample.ts | 4 +--- .../restorePointCollectionsListSample.ts | 4 +--- .../restorePointCollectionsUpdateSample.ts | 4 +--- .../samples-dev/restorePointsCreateSample.ts | 4 +--- .../samples-dev/restorePointsDeleteSample.ts | 4 +--- .../samples-dev/restorePointsGetSample.ts | 4 +--- .../samples-dev/sharedGalleriesGetSample.ts | 4 +--- .../samples-dev/sharedGalleriesListSample.ts | 4 +--- .../sharedGalleryImageVersionsGetSample.ts | 4 +--- .../sharedGalleryImageVersionsListSample.ts | 4 +--- .../sharedGalleryImagesGetSample.ts | 4 +--- .../sharedGalleryImagesListSample.ts | 4 +--- .../snapshotsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/snapshotsDeleteSample.ts | 4 +--- .../samples-dev/snapshotsGetSample.ts | 4 +--- .../samples-dev/snapshotsGrantAccessSample.ts | 4 +--- .../snapshotsListByResourceGroupSample.ts | 4 +--- .../samples-dev/snapshotsListSample.ts | 4 +--- .../snapshotsRevokeAccessSample.ts | 4 +--- .../samples-dev/snapshotsUpdateSample.ts | 4 +--- .../samples-dev/sshPublicKeysCreateSample.ts | 4 +--- .../samples-dev/sshPublicKeysDeleteSample.ts | 4 +--- .../sshPublicKeysGenerateKeyPairSample.ts | 4 +--- .../samples-dev/sshPublicKeysGetSample.ts | 4 +--- .../sshPublicKeysListByResourceGroupSample.ts | 4 +--- .../sshPublicKeysListBySubscriptionSample.ts | 4 +--- .../samples-dev/sshPublicKeysUpdateSample.ts | 4 +--- .../samples-dev/usageListSample.ts | 4 +--- .../virtualMachineExtensionImagesGetSample.ts | 4 +--- ...alMachineExtensionImagesListTypesSample.ts | 4 +--- ...achineExtensionImagesListVersionsSample.ts | 4 +--- ...alMachineExtensionsCreateOrUpdateSample.ts | 4 +--- .../virtualMachineExtensionsDeleteSample.ts | 4 +--- .../virtualMachineExtensionsGetSample.ts | 4 +--- .../virtualMachineExtensionsListSample.ts | 4 +--- .../virtualMachineExtensionsUpdateSample.ts | 4 +--- .../virtualMachineImagesEdgeZoneGetSample.ts | 4 +--- ...alMachineImagesEdgeZoneListOffersSample.ts | 4 +--- ...chineImagesEdgeZoneListPublishersSample.ts | 4 +--- .../virtualMachineImagesEdgeZoneListSample.ts | 4 +--- ...tualMachineImagesEdgeZoneListSkusSample.ts | 4 +--- .../virtualMachineImagesGetSample.ts | 4 +--- ...irtualMachineImagesListByEdgeZoneSample.ts | 4 +--- .../virtualMachineImagesListOffersSample.ts | 4 +--- ...irtualMachineImagesListPublishersSample.ts | 4 +--- .../virtualMachineImagesListSample.ts | 4 +--- .../virtualMachineImagesListSkusSample.ts | 4 +--- ...lMachineRunCommandsCreateOrUpdateSample.ts | 4 +--- .../virtualMachineRunCommandsDeleteSample.ts | 4 +--- ...ineRunCommandsGetByVirtualMachineSample.ts | 4 +--- .../virtualMachineRunCommandsGetSample.ts | 4 +--- ...neRunCommandsListByVirtualMachineSample.ts | 4 +--- .../virtualMachineRunCommandsListSample.ts | 4 +--- .../virtualMachineRunCommandsUpdateSample.ts | 4 +--- ...eScaleSetExtensionsCreateOrUpdateSample.ts | 4 +--- ...alMachineScaleSetExtensionsDeleteSample.ts | 4 +--- ...rtualMachineScaleSetExtensionsGetSample.ts | 4 +--- ...tualMachineScaleSetExtensionsListSample.ts | 4 +--- ...alMachineScaleSetExtensionsUpdateSample.ts | 4 +--- ...hineScaleSetRollingUpgradesCancelSample.ts | 4 +--- ...eScaleSetRollingUpgradesGetLatestSample.ts | 4 +--- ...lingUpgradesStartExtensionUpgradeSample.ts | 4 +--- ...eSetRollingUpgradesStartOSUpgradeSample.ts | 4 +--- ...caleSetVMExtensionsCreateOrUpdateSample.ts | 4 +--- ...MachineScaleSetVMExtensionsDeleteSample.ts | 4 +--- ...ualMachineScaleSetVMExtensionsGetSample.ts | 4 +--- ...alMachineScaleSetVMExtensionsListSample.ts | 4 +--- ...MachineScaleSetVMExtensionsUpdateSample.ts | 4 +--- ...aleSetVMRunCommandsCreateOrUpdateSample.ts | 4 +--- ...achineScaleSetVMRunCommandsDeleteSample.ts | 4 +--- ...alMachineScaleSetVMRunCommandsGetSample.ts | 4 +--- ...lMachineScaleSetVMRunCommandsListSample.ts | 4 +--- ...achineScaleSetVMRunCommandsUpdateSample.ts | 4 +--- ...rtualMachineScaleSetVMSDeallocateSample.ts | 4 +--- .../virtualMachineScaleSetVMSDeleteSample.ts | 4 +--- ...MachineScaleSetVMSGetInstanceViewSample.ts | 4 +--- .../virtualMachineScaleSetVMSGetSample.ts | 4 +--- .../virtualMachineScaleSetVMSListSample.ts | 4 +--- ...hineScaleSetVMSPerformMaintenanceSample.ts | 4 +--- ...virtualMachineScaleSetVMSPowerOffSample.ts | 4 +--- ...virtualMachineScaleSetVMSRedeploySample.ts | 4 +--- ...rtualMachineScaleSetVMSReimageAllSample.ts | 4 +--- .../virtualMachineScaleSetVMSReimageSample.ts | 4 +--- .../virtualMachineScaleSetVMSRestartSample.ts | 4 +--- ...SetVMSRetrieveBootDiagnosticsDataSample.ts | 4 +--- ...rtualMachineScaleSetVMSRunCommandSample.ts | 4 +--- ...achineScaleSetVMSSimulateEvictionSample.ts | 4 +--- .../virtualMachineScaleSetVMSStartSample.ts | 4 +--- .../virtualMachineScaleSetVMSUpdateSample.ts | 4 +--- ...SetsConvertToSinglePlacementGroupSample.ts | 4 +--- ...ualMachineScaleSetsCreateOrUpdateSample.ts | 4 +--- ...virtualMachineScaleSetsDeallocateSample.ts | 4 +--- ...alMachineScaleSetsDeleteInstancesSample.ts | 4 +--- .../virtualMachineScaleSetsDeleteSample.ts | 4 +--- ...iceFabricPlatformUpdateDomainWalkSample.ts | 4 +--- ...alMachineScaleSetsGetInstanceViewSample.ts | 4 +--- ...chineScaleSetsGetOSUpgradeHistorySample.ts | 4 +--- .../virtualMachineScaleSetsGetSample.ts | 4 +--- .../virtualMachineScaleSetsListAllSample.ts | 4 +--- ...ualMachineScaleSetsListByLocationSample.ts | 4 +--- .../virtualMachineScaleSetsListSample.ts | 4 +--- .../virtualMachineScaleSetsListSkusSample.ts | 4 +--- ...achineScaleSetsPerformMaintenanceSample.ts | 4 +--- .../virtualMachineScaleSetsPowerOffSample.ts | 4 +--- .../virtualMachineScaleSetsRedeploySample.ts | 4 +--- ...virtualMachineScaleSetsReimageAllSample.ts | 4 +--- .../virtualMachineScaleSetsReimageSample.ts | 4 +--- .../virtualMachineScaleSetsRestartSample.ts | 4 +--- ...eSetsSetOrchestrationServiceStateSample.ts | 4 +--- .../virtualMachineScaleSetsStartSample.ts | 4 +--- ...alMachineScaleSetsUpdateInstancesSample.ts | 4 +--- .../virtualMachineScaleSetsUpdateSample.ts | 4 +--- .../virtualMachineSizesListSample.ts | 4 +--- .../virtualMachinesAssessPatchesSample.ts | 4 +--- .../virtualMachinesCaptureSample.ts | 4 +--- ...tualMachinesConvertToManagedDisksSample.ts | 4 +--- .../virtualMachinesCreateOrUpdateSample.ts | 4 +--- .../virtualMachinesDeallocateSample.ts | 4 +--- .../virtualMachinesDeleteSample.ts | 4 +--- .../virtualMachinesGeneralizeSample.ts | 4 +--- .../samples-dev/virtualMachinesGetSample.ts | 4 +--- .../virtualMachinesInstallPatchesSample.ts | 4 +--- .../virtualMachinesInstanceViewSample.ts | 4 +--- .../virtualMachinesListAllSample.ts | 4 +--- ...virtualMachinesListAvailableSizesSample.ts | 4 +--- .../virtualMachinesListByLocationSample.ts | 4 +--- .../samples-dev/virtualMachinesListSample.ts | 4 +--- ...virtualMachinesPerformMaintenanceSample.ts | 4 +--- .../virtualMachinesPowerOffSample.ts | 4 +--- .../virtualMachinesReapplySample.ts | 4 +--- .../virtualMachinesRedeploySample.ts | 4 +--- .../virtualMachinesReimageSample.ts | 4 +--- .../virtualMachinesRestartSample.ts | 4 +--- ...chinesRetrieveBootDiagnosticsDataSample.ts | 4 +--- .../virtualMachinesRunCommandSample.ts | 4 +--- .../virtualMachinesSimulateEvictionSample.ts | 4 +--- .../samples-dev/virtualMachinesStartSample.ts | 4 +--- .../virtualMachinesUpdateSample.ts | 4 +--- .../availabilitySetsCreateOrUpdateSample.ts | 4 +--- .../src/availabilitySetsDeleteSample.ts | 4 +--- .../src/availabilitySetsGetSample.ts | 4 +--- ...vailabilitySetsListAvailableSizesSample.ts | 4 +--- ...vailabilitySetsListBySubscriptionSample.ts | 4 +--- .../src/availabilitySetsListSample.ts | 4 +--- .../src/availabilitySetsUpdateSample.ts | 4 +--- ...tyReservationGroupsCreateOrUpdateSample.ts | 4 +--- .../capacityReservationGroupsDeleteSample.ts | 4 +--- .../src/capacityReservationGroupsGetSample.ts | 4 +--- ...ervationGroupsListByResourceGroupSample.ts | 4 +--- ...servationGroupsListBySubscriptionSample.ts | 4 +--- .../capacityReservationGroupsUpdateSample.ts | 4 +--- ...apacityReservationsCreateOrUpdateSample.ts | 4 +--- .../src/capacityReservationsDeleteSample.ts | 4 +--- .../src/capacityReservationsGetSample.ts | 4 +--- ...onsListByCapacityReservationGroupSample.ts | 4 +--- .../src/capacityReservationsUpdateSample.ts | 4 +--- ...erviceOperatingSystemsGetOSFamilySample.ts | 4 +--- ...rviceOperatingSystemsGetOSVersionSample.ts | 4 +--- ...iceOperatingSystemsListOSFamiliesSample.ts | 4 +--- ...iceOperatingSystemsListOSVersionsSample.ts | 4 +--- .../cloudServiceRoleInstancesDeleteSample.ts | 4 +--- ...rviceRoleInstancesGetInstanceViewSample.ts | 4 +--- ...RoleInstancesGetRemoteDesktopFileSample.ts | 4 +--- .../src/cloudServiceRoleInstancesGetSample.ts | 4 +--- .../cloudServiceRoleInstancesListSample.ts | 4 +--- .../cloudServiceRoleInstancesRebuildSample.ts | 4 +--- .../cloudServiceRoleInstancesReimageSample.ts | 4 +--- .../cloudServiceRoleInstancesRestartSample.ts | 4 +--- .../src/cloudServiceRolesGetSample.ts | 4 +--- .../src/cloudServiceRolesListSample.ts | 4 +--- .../src/cloudServicesCreateOrUpdateSample.ts | 4 +--- .../src/cloudServicesDeleteInstancesSample.ts | 4 +--- .../src/cloudServicesDeleteSample.ts | 4 +--- .../src/cloudServicesGetInstanceViewSample.ts | 4 +--- .../typescript/src/cloudServicesGetSample.ts | 4 +--- .../src/cloudServicesListAllSample.ts | 4 +--- .../typescript/src/cloudServicesListSample.ts | 4 +--- .../src/cloudServicesPowerOffSample.ts | 4 +--- .../src/cloudServicesRebuildSample.ts | 4 +--- .../src/cloudServicesReimageSample.ts | 4 +--- .../src/cloudServicesRestartSample.ts | 4 +--- .../src/cloudServicesStartSample.ts | 4 +--- ...rvicesUpdateDomainGetUpdateDomainSample.ts | 4 +--- ...icesUpdateDomainListUpdateDomainsSample.ts | 4 +--- ...vicesUpdateDomainWalkUpdateDomainSample.ts | 4 +--- .../src/cloudServicesUpdateSample.ts | 4 +--- .../src/communityGalleriesGetSample.ts | 4 +--- .../communityGalleryImageVersionsGetSample.ts | 4 +--- ...communityGalleryImageVersionsListSample.ts | 4 +--- .../src/communityGalleryImagesGetSample.ts | 4 +--- .../src/communityGalleryImagesListSample.ts | 4 +--- ...dedicatedHostGroupsCreateOrUpdateSample.ts | 4 +--- .../src/dedicatedHostGroupsDeleteSample.ts | 4 +--- .../src/dedicatedHostGroupsGetSample.ts | 4 +--- ...atedHostGroupsListByResourceGroupSample.ts | 4 +--- ...catedHostGroupsListBySubscriptionSample.ts | 4 +--- .../src/dedicatedHostGroupsUpdateSample.ts | 4 +--- .../src/dedicatedHostsCreateOrUpdateSample.ts | 4 +--- .../src/dedicatedHostsDeleteSample.ts | 4 +--- .../typescript/src/dedicatedHostsGetSample.ts | 4 +--- .../dedicatedHostsListByHostGroupSample.ts | 4 +--- .../src/dedicatedHostsRestartSample.ts | 4 +--- .../src/dedicatedHostsUpdateSample.ts | 4 +--- .../src/diskAccessesCreateOrUpdateSample.ts | 4 +--- ...sDeleteAPrivateEndpointConnectionSample.ts | 4 +--- .../src/diskAccessesDeleteSample.ts | 4 +--- ...ssesGetAPrivateEndpointConnectionSample.ts | 4 +--- ...skAccessesGetPrivateLinkResourcesSample.ts | 4 +--- .../typescript/src/diskAccessesGetSample.ts | 4 +--- .../diskAccessesListByResourceGroupSample.ts | 4 +--- ...sesListPrivateEndpointConnectionsSample.ts | 4 +--- .../typescript/src/diskAccessesListSample.ts | 4 +--- ...sUpdateAPrivateEndpointConnectionSample.ts | 4 +--- .../src/diskAccessesUpdateSample.ts | 4 +--- .../diskEncryptionSetsCreateOrUpdateSample.ts | 4 +--- .../src/diskEncryptionSetsDeleteSample.ts | 4 +--- .../src/diskEncryptionSetsGetSample.ts | 4 +--- ...yptionSetsListAssociatedResourcesSample.ts | 4 +--- ...EncryptionSetsListByResourceGroupSample.ts | 4 +--- .../src/diskEncryptionSetsListSample.ts | 4 +--- .../src/diskEncryptionSetsUpdateSample.ts | 4 +--- .../src/diskRestorePointGetSample.ts | 4 +--- .../src/diskRestorePointGrantAccessSample.ts | 4 +--- ...iskRestorePointListByRestorePointSample.ts | 4 +--- .../src/diskRestorePointRevokeAccessSample.ts | 4 +--- .../src/disksCreateOrUpdateSample.ts | 4 +--- .../typescript/src/disksDeleteSample.ts | 4 +--- .../v1-beta/typescript/src/disksGetSample.ts | 4 +--- .../typescript/src/disksGrantAccessSample.ts | 4 +--- .../src/disksListByResourceGroupSample.ts | 4 +--- .../v1-beta/typescript/src/disksListSample.ts | 4 +--- .../typescript/src/disksRevokeAccessSample.ts | 4 +--- .../typescript/src/disksUpdateSample.ts | 4 +--- .../src/galleriesCreateOrUpdateSample.ts | 4 +--- .../typescript/src/galleriesDeleteSample.ts | 4 +--- .../typescript/src/galleriesGetSample.ts | 4 +--- .../src/galleriesListByResourceGroupSample.ts | 4 +--- .../typescript/src/galleriesListSample.ts | 4 +--- .../typescript/src/galleriesUpdateSample.ts | 4 +--- ...ApplicationVersionsCreateOrUpdateSample.ts | 4 +--- .../galleryApplicationVersionsDeleteSample.ts | 4 +--- .../galleryApplicationVersionsGetSample.ts | 4 +--- ...nVersionsListByGalleryApplicationSample.ts | 4 +--- .../galleryApplicationVersionsUpdateSample.ts | 4 +--- ...galleryApplicationsCreateOrUpdateSample.ts | 4 +--- .../src/galleryApplicationsDeleteSample.ts | 4 +--- .../src/galleryApplicationsGetSample.ts | 4 +--- .../galleryApplicationsListByGallerySample.ts | 4 +--- .../src/galleryApplicationsUpdateSample.ts | 4 +--- ...alleryImageVersionsCreateOrUpdateSample.ts | 4 +--- .../src/galleryImageVersionsDeleteSample.ts | 4 +--- .../src/galleryImageVersionsGetSample.ts | 4 +--- ...ryImageVersionsListByGalleryImageSample.ts | 4 +--- .../src/galleryImageVersionsUpdateSample.ts | 4 +--- .../src/galleryImagesCreateOrUpdateSample.ts | 4 +--- .../src/galleryImagesDeleteSample.ts | 4 +--- .../typescript/src/galleryImagesGetSample.ts | 4 +--- .../src/galleryImagesListByGallerySample.ts | 4 +--- .../src/galleryImagesUpdateSample.ts | 4 +--- .../src/gallerySharingProfileUpdateSample.ts | 4 +--- .../src/imagesCreateOrUpdateSample.ts | 4 +--- .../typescript/src/imagesDeleteSample.ts | 4 +--- .../v1-beta/typescript/src/imagesGetSample.ts | 4 +--- .../src/imagesListByResourceGroupSample.ts | 4 +--- .../typescript/src/imagesListSample.ts | 4 +--- .../typescript/src/imagesUpdateSample.ts | 4 +--- ...lyticsExportRequestRateByIntervalSample.ts | 4 +--- ...gAnalyticsExportThrottledRequestsSample.ts | 4 +--- .../typescript/src/operationsListSample.ts | 4 +--- ...mityPlacementGroupsCreateOrUpdateSample.ts | 4 +--- .../proximityPlacementGroupsDeleteSample.ts | 4 +--- .../src/proximityPlacementGroupsGetSample.ts | 4 +--- ...lacementGroupsListByResourceGroupSample.ts | 4 +--- ...PlacementGroupsListBySubscriptionSample.ts | 4 +--- .../proximityPlacementGroupsUpdateSample.ts | 4 +--- .../typescript/src/resourceSkusListSample.ts | 4 +--- ...orePointCollectionsCreateOrUpdateSample.ts | 4 +--- .../restorePointCollectionsDeleteSample.ts | 4 +--- .../src/restorePointCollectionsGetSample.ts | 4 +--- .../restorePointCollectionsListAllSample.ts | 4 +--- .../src/restorePointCollectionsListSample.ts | 4 +--- .../restorePointCollectionsUpdateSample.ts | 4 +--- .../src/restorePointsCreateSample.ts | 4 +--- .../src/restorePointsDeleteSample.ts | 4 +--- .../typescript/src/restorePointsGetSample.ts | 4 +--- .../src/sharedGalleriesGetSample.ts | 4 +--- .../src/sharedGalleriesListSample.ts | 4 +--- .../sharedGalleryImageVersionsGetSample.ts | 4 +--- .../sharedGalleryImageVersionsListSample.ts | 4 +--- .../src/sharedGalleryImagesGetSample.ts | 4 +--- .../src/sharedGalleryImagesListSample.ts | 4 +--- .../src/snapshotsCreateOrUpdateSample.ts | 4 +--- .../typescript/src/snapshotsDeleteSample.ts | 4 +--- .../typescript/src/snapshotsGetSample.ts | 4 +--- .../src/snapshotsGrantAccessSample.ts | 4 +--- .../src/snapshotsListByResourceGroupSample.ts | 4 +--- .../typescript/src/snapshotsListSample.ts | 4 +--- .../src/snapshotsRevokeAccessSample.ts | 4 +--- .../typescript/src/snapshotsUpdateSample.ts | 4 +--- .../src/sshPublicKeysCreateSample.ts | 4 +--- .../src/sshPublicKeysDeleteSample.ts | 4 +--- .../src/sshPublicKeysGenerateKeyPairSample.ts | 4 +--- .../typescript/src/sshPublicKeysGetSample.ts | 4 +--- .../sshPublicKeysListByResourceGroupSample.ts | 4 +--- .../sshPublicKeysListBySubscriptionSample.ts | 4 +--- .../src/sshPublicKeysUpdateSample.ts | 4 +--- .../v1-beta/typescript/src/usageListSample.ts | 4 +--- .../virtualMachineExtensionImagesGetSample.ts | 4 +--- ...alMachineExtensionImagesListTypesSample.ts | 4 +--- ...achineExtensionImagesListVersionsSample.ts | 4 +--- ...alMachineExtensionsCreateOrUpdateSample.ts | 4 +--- .../virtualMachineExtensionsDeleteSample.ts | 4 +--- .../src/virtualMachineExtensionsGetSample.ts | 4 +--- .../src/virtualMachineExtensionsListSample.ts | 4 +--- .../virtualMachineExtensionsUpdateSample.ts | 4 +--- .../virtualMachineImagesEdgeZoneGetSample.ts | 4 +--- ...alMachineImagesEdgeZoneListOffersSample.ts | 4 +--- ...chineImagesEdgeZoneListPublishersSample.ts | 4 +--- .../virtualMachineImagesEdgeZoneListSample.ts | 4 +--- ...tualMachineImagesEdgeZoneListSkusSample.ts | 4 +--- .../src/virtualMachineImagesGetSample.ts | 4 +--- ...irtualMachineImagesListByEdgeZoneSample.ts | 4 +--- .../virtualMachineImagesListOffersSample.ts | 4 +--- ...irtualMachineImagesListPublishersSample.ts | 4 +--- .../src/virtualMachineImagesListSample.ts | 4 +--- .../src/virtualMachineImagesListSkusSample.ts | 4 +--- ...lMachineRunCommandsCreateOrUpdateSample.ts | 4 +--- .../virtualMachineRunCommandsDeleteSample.ts | 4 +--- ...ineRunCommandsGetByVirtualMachineSample.ts | 4 +--- .../src/virtualMachineRunCommandsGetSample.ts | 4 +--- ...neRunCommandsListByVirtualMachineSample.ts | 4 +--- .../virtualMachineRunCommandsListSample.ts | 4 +--- .../virtualMachineRunCommandsUpdateSample.ts | 4 +--- ...eScaleSetExtensionsCreateOrUpdateSample.ts | 4 +--- ...alMachineScaleSetExtensionsDeleteSample.ts | 4 +--- ...rtualMachineScaleSetExtensionsGetSample.ts | 4 +--- ...tualMachineScaleSetExtensionsListSample.ts | 4 +--- ...alMachineScaleSetExtensionsUpdateSample.ts | 4 +--- ...hineScaleSetRollingUpgradesCancelSample.ts | 4 +--- ...eScaleSetRollingUpgradesGetLatestSample.ts | 4 +--- ...lingUpgradesStartExtensionUpgradeSample.ts | 4 +--- ...eSetRollingUpgradesStartOSUpgradeSample.ts | 4 +--- ...caleSetVMExtensionsCreateOrUpdateSample.ts | 4 +--- ...MachineScaleSetVMExtensionsDeleteSample.ts | 4 +--- ...ualMachineScaleSetVMExtensionsGetSample.ts | 4 +--- ...alMachineScaleSetVMExtensionsListSample.ts | 4 +--- ...MachineScaleSetVMExtensionsUpdateSample.ts | 4 +--- ...aleSetVMRunCommandsCreateOrUpdateSample.ts | 4 +--- ...achineScaleSetVMRunCommandsDeleteSample.ts | 4 +--- ...alMachineScaleSetVMRunCommandsGetSample.ts | 4 +--- ...lMachineScaleSetVMRunCommandsListSample.ts | 4 +--- ...achineScaleSetVMRunCommandsUpdateSample.ts | 4 +--- ...rtualMachineScaleSetVMSDeallocateSample.ts | 4 +--- .../virtualMachineScaleSetVMSDeleteSample.ts | 4 +--- ...MachineScaleSetVMSGetInstanceViewSample.ts | 4 +--- .../src/virtualMachineScaleSetVMSGetSample.ts | 4 +--- .../virtualMachineScaleSetVMSListSample.ts | 4 +--- ...hineScaleSetVMSPerformMaintenanceSample.ts | 4 +--- ...virtualMachineScaleSetVMSPowerOffSample.ts | 4 +--- ...virtualMachineScaleSetVMSRedeploySample.ts | 4 +--- ...rtualMachineScaleSetVMSReimageAllSample.ts | 4 +--- .../virtualMachineScaleSetVMSReimageSample.ts | 4 +--- .../virtualMachineScaleSetVMSRestartSample.ts | 4 +--- ...SetVMSRetrieveBootDiagnosticsDataSample.ts | 4 +--- ...rtualMachineScaleSetVMSRunCommandSample.ts | 4 +--- ...achineScaleSetVMSSimulateEvictionSample.ts | 4 +--- .../virtualMachineScaleSetVMSStartSample.ts | 4 +--- .../virtualMachineScaleSetVMSUpdateSample.ts | 4 +--- ...SetsConvertToSinglePlacementGroupSample.ts | 4 +--- ...ualMachineScaleSetsCreateOrUpdateSample.ts | 4 +--- ...virtualMachineScaleSetsDeallocateSample.ts | 4 +--- ...alMachineScaleSetsDeleteInstancesSample.ts | 4 +--- .../virtualMachineScaleSetsDeleteSample.ts | 4 +--- ...iceFabricPlatformUpdateDomainWalkSample.ts | 4 +--- ...alMachineScaleSetsGetInstanceViewSample.ts | 4 +--- ...chineScaleSetsGetOSUpgradeHistorySample.ts | 4 +--- .../src/virtualMachineScaleSetsGetSample.ts | 4 +--- .../virtualMachineScaleSetsListAllSample.ts | 4 +--- ...ualMachineScaleSetsListByLocationSample.ts | 4 +--- .../src/virtualMachineScaleSetsListSample.ts | 4 +--- .../virtualMachineScaleSetsListSkusSample.ts | 4 +--- ...achineScaleSetsPerformMaintenanceSample.ts | 4 +--- .../virtualMachineScaleSetsPowerOffSample.ts | 4 +--- .../virtualMachineScaleSetsRedeploySample.ts | 4 +--- ...virtualMachineScaleSetsReimageAllSample.ts | 4 +--- .../virtualMachineScaleSetsReimageSample.ts | 4 +--- .../virtualMachineScaleSetsRestartSample.ts | 4 +--- ...eSetsSetOrchestrationServiceStateSample.ts | 4 +--- .../src/virtualMachineScaleSetsStartSample.ts | 4 +--- ...alMachineScaleSetsUpdateInstancesSample.ts | 4 +--- .../virtualMachineScaleSetsUpdateSample.ts | 4 +--- .../src/virtualMachineSizesListSample.ts | 4 +--- .../src/virtualMachinesAssessPatchesSample.ts | 4 +--- .../src/virtualMachinesCaptureSample.ts | 4 +--- ...tualMachinesConvertToManagedDisksSample.ts | 4 +--- .../virtualMachinesCreateOrUpdateSample.ts | 4 +--- .../src/virtualMachinesDeallocateSample.ts | 4 +--- .../src/virtualMachinesDeleteSample.ts | 4 +--- .../src/virtualMachinesGeneralizeSample.ts | 4 +--- .../src/virtualMachinesGetSample.ts | 4 +--- .../virtualMachinesInstallPatchesSample.ts | 4 +--- .../src/virtualMachinesInstanceViewSample.ts | 4 +--- .../src/virtualMachinesListAllSample.ts | 4 +--- ...virtualMachinesListAvailableSizesSample.ts | 4 +--- .../virtualMachinesListByLocationSample.ts | 4 +--- .../src/virtualMachinesListSample.ts | 4 +--- ...virtualMachinesPerformMaintenanceSample.ts | 4 +--- .../src/virtualMachinesPowerOffSample.ts | 4 +--- .../src/virtualMachinesReapplySample.ts | 4 +--- .../src/virtualMachinesRedeploySample.ts | 4 +--- .../src/virtualMachinesReimageSample.ts | 4 +--- .../src/virtualMachinesRestartSample.ts | 4 +--- ...chinesRetrieveBootDiagnosticsDataSample.ts | 4 +--- .../src/virtualMachinesRunCommandSample.ts | 4 +--- .../virtualMachinesSimulateEvictionSample.ts | 4 +--- .../src/virtualMachinesStartSample.ts | 4 +--- .../src/virtualMachinesUpdateSample.ts | 4 +--- .../arm-compute-rest/src/clientDefinitions.ts | 4 ++-- .../src/computeManagementClient.ts | 4 ++-- sdk/compute/arm-compute-rest/src/index.ts | 20 +++++++++---------- .../arm-compute-rest/src/isUnexpected.ts | 2 +- .../arm-compute-rest/src/parameters.ts | 2 +- sdk/compute/arm-compute-rest/src/responses.ts | 2 +- .../test/public/compute-rest-sample.spec.ts | 11 +++++----- .../test/public/utils/recordedClient.ts | 4 ++-- 566 files changed, 582 insertions(+), 1699 deletions(-) diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsCreateOrUpdateSample.ts index 0e20f897e7a9..6bdb1186ef99 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update an availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsDeleteSample.ts index 45a5838d46aa..b4d705c917fd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete an availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsGetSample.ts index bb172c59a7e4..4a588e6b8344 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about an availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListAvailableSizesSample.ts index 168987927e18..dd973f99cbed 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListAvailableSizesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListBySubscriptionSample.ts index ed41ed49d0d4..e645036afed1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all availability sets in a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListSample.ts index 6cd594b4ee8d..4a5334c3e6a5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all availability sets in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsUpdateSample.ts index 3c94caafeafd..f4e6dae88b55 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsCreateOrUpdateSample.ts index df6922d1be1f..84214680c100 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsDeleteSample.ts index 16f30a807e0c..7c07d53064e0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsGetSample.ts index 7e17cdfb0db5..9e7272b918ec 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation that retrieves information about a capacity reservation group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListByResourceGroupSample.ts index 3cca5efe770d..e5e6d6485ea1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListBySubscriptionSample.ts index 7d9fa23a9d4e..2477d0770db5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsUpdateSample.ts index b56f5041808a..8b5f8e4feddb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts index dfa871bc13a3..1970ec32074c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts index 40c4c71c92ba..4a83ec86169a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsGetSample.ts index 0091b636faad..714d71dc3d5f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation that retrieves information about the capacity reservation. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsListByCapacityReservationGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsListByCapacityReservationGroupSample.ts index aab6b58afa56..dbf86e3c690a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsListByCapacityReservationGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsListByCapacityReservationGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts index b2bce85f1d45..7bdf7754bd6c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a capacity reservation. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts index 5a7ce1b231ed..e30510927d71 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceOperatingSystemsGetOSFamilyParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts index 342fa8af5048..6bd5428b7826 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceOperatingSystemsGetOSVersionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts index a863c17a9cbc..4afd1396b0b6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts index f1946864f10b..5ac5b8cdfa37 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts index fee7158c69c9..1befc1ef6e74 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a role instance from a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts index e3a2fcd42ff1..bfb7f0c5a3cf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the run-time state of a role instance in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts index 716fe501ce31..1a9b9fa7540f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetRemoteDesktopFileParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a remote desktop file for a role instance in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetSample.ts index 29bac85f73bd..e5538ed69765 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a role instance from a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesListSample.ts index 1e337750aca4..56aca123a80c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts index 545afe4c9220..bd3eb95bf701 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts index 5e71666ebfb7..6ffe94b39fe6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts index 2031811eb744..b8940df2e13c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesGetSample.ts index 0e1aea3fa5e7..c92027fdb3b6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRolesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a role from a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesListSample.ts index ed953c2c83a2..a9af51efc5e8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts index 8c0bc310317b..28266376568f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts index bda660a0d240..a3b63cb2795b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes role instances in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts index d0bf092097a8..7ca1a541c6c0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetInstanceViewSample.ts index 2716f904b084..9f28d56ccebd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServicesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetSample.ts index 1411a538acc1..fe3aea796b1c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Display information about a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListAllSample.ts index 9881104f9dd8..70fd21c2dd51 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListSample.ts index 6286d80ecdab..a19616803a60 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts index 3fa2793c05b3..6f874684a723 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts index 20edf0f56d53..42c63f32db66 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts index 28dafd3a5b01..f13e3e2f0f49 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts index cd0dccf17740..24f7daf331cf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts one or more role instances in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts index 129c97676e74..4e0185a3c37e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts the cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts index 95e1efb8c46f..a3828ac4e2d7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServicesUpdateDomainGetUpdateDomainParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts index f4c8e0aa24f8..fb8890d94d79 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all update domains in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts index 01102aa024fb..454fecd6ccb3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates the role instances in the specified update domain. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts index 3a1481300cf9..9c33fded3eb9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleriesGetSample.ts index db1b042e8eb0..c777a207d099 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleriesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery by gallery public name. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsGetSample.ts index 569abf43d071..344e558094b9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsListSample.ts index 926fcc5d49e0..0b30a4fc7565 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List community gallery image versions inside an image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesGetSample.ts index 0cab53121839..5c188f52594c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesListSample.ts index e909d5527fee..7d1b0a69b2c4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List community gallery images inside a gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.ts index c13b7b7185ef..db6965aaa2e3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsDeleteSample.ts index 037cacfa9748..4ac22ed28902 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a dedicated host group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsGetSample.ts index 671c788fe16c..e91b8cd4d0f6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a dedicated host group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListByResourceGroupSample.ts index 096d0edb9c63..8bc463024358 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListBySubscriptionSample.ts index 7781bf867447..c866a4246638 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts index 526202ff3007..3dbecffdbfa1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an dedicated host group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts index 91dddbeeb5a1..5ab0908875bb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a dedicated host . diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts index c9565162c2fb..91b73ebed5a9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a dedicated host. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsGetSample.ts index 3a81ac33fed6..82998cea0527 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a dedicated host. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsListByHostGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsListByHostGroupSample.ts index 667953be0f99..c9e85b607e27 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsListByHostGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsListByHostGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts index 8bcf3db0b925..bf42a613df74 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts index 6acace77885a..144f8b0b5b73 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an dedicated host . diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts index 0da39131440e..ab1bc989508a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk access resource diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts index c5b52c2a1ed4..90f8ef30fe51 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a private endpoint connection under a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts index 63b233321913..902bc110a757 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.ts index f7daa326e4f9..81d1bbdd9865 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskAccessesGetAPrivateEndpointConnectionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a private endpoint connection under a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetPrivateLinkResourcesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetPrivateLinkResourcesSample.ts index 1152091cdea7..e29fbd4a299c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetPrivateLinkResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetPrivateLinkResourcesSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskAccessesGetPrivateLinkResourcesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the private link resources possible under disk access resource diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetSample.ts index 26623bcb5b1e..7f2edb0442df 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListByResourceGroupSample.ts index 54e08a92d0ce..76250ce6990d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk access resources under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.ts index 0e8880fd2985..f57ba9bd584b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List information about private endpoint connections under a disk access resource diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListSample.ts index 869d0ea31878..1ea3a4ff3c42 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk access resources under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts index 28eb7914e02b..ea648ef854c9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts index a164c84aa787..297ed949d4d7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts index 2bf1349b83c1..7280048acef1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk encryption set diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts index c06148a95b4c..033a742d9316 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsGetSample.ts index 0063f7b08aaf..ad153f097fed 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskEncryptionSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.ts index 454e740c2e4e..1a59aa878f62 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all resources that are encrypted with this disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListByResourceGroupSample.ts index 702606bd5043..f571a5de04c0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk encryption sets under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListSample.ts index 354c66075119..8d12d0fb4cf9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk encryption sets under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts index 3380547bdc5c..240e9ff6febc 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGetSample.ts index 4793f972a961..17062c1308af 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskRestorePointGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get disk restorePoint resource diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts index 540c0fc0b969..54067fdef9c4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a diskRestorePoint. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointListByRestorePointSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointListByRestorePointSample.ts index 90607c373848..87ed5b836f0a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointListByRestorePointSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointListByRestorePointSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists diskRestorePoints under a vmRestorePoint. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts index dcd3cdf9511d..b4fe379922d8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a diskRestorePoint. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts index a0cbad9b0a18..07cf2a90d411 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts index 091113a6218e..da9c38af8453 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksGetSample.ts index 22ffd0e3b8b3..48f674c4713d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts index 75d38d496c59..6cdb66d89ffb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a disk. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksListByResourceGroupSample.ts index fc77b39eade5..95144abaa612 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disks under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksListSample.ts index ebb4db122125..729ad6d40e03 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disks under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts index 54172ffc568f..50af80b361c0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a disk. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts index 4ef3bc96b975..57667aad8ad0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts index 7f07cc1c3987..d9a5e65aebfb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts index cfa3083d9849..020f37372475 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesGetSample.ts index 6820dfcfffb0..a25cc8e2e3e6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesListByResourceGroupSample.ts index 5afb1998c198..df7005260d7b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List galleries under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesListSample.ts index fd2bbfe95cf7..7a5f03fdc0e6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List galleries under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts index b8e85330ca76..a706915d87bb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts index d7599a4eb3b6..150d25881945 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts index a65cb7ef27fe..9609d1989ca9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsGetSample.ts index f618e7883dee..febd415c9158 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryApplicationVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.ts index c01fbd0ef575..d8d1f7c3d4e4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery Application Versions in a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts index f51462cbe91a..bcd1853e2635 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts index 652e12986363..293b20afab11 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts index 5eab563c02f8..6c90fb417580 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery Application. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsGetSample.ts index f8baa5e9dc01..5816fea7832c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryApplicationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsListByGallerySample.ts index 75d1174452d2..d3210afe13cc 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsListByGallerySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery Application Definitions in a gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts index 0c33bf09eb20..6785d4235f0f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts index 2c803719ca5e..c3feefef6681 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts index 3ebb631ca8e8..eab1810dca53 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsGetSample.ts index c0dd98b652ef..babb8570413c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsListByGalleryImageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsListByGalleryImageSample.ts index 03e6c665d070..777c26e635c8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsListByGalleryImageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsListByGalleryImageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery image versions in a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts index 8d573768eb33..941509640be3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts index 8a3c6b242264..d3a3d8dd4b74 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts index 6a058d12d554..2bd92e766712 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesGetSample.ts index 739e64a8e952..a167d5e69a56 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesListByGallerySample.ts index 2da771ad04b2..3ef74387c388 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesListByGallerySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery image definitions in a gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts index 5227cb70cecb..028bdb95ae41 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts index 84f31a93e143..d23306ddbef9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update sharing profile of a gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts index d5234762d980..9c10f9ecb4db 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update an image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts index bb12c58df393..eff1c7d165e6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes an Image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesGetSample.ts index 3f3b16c6e9c5..e52193905045 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets an image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesListByResourceGroupSample.ts index 5055cc811370..566fd497c245 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of images under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesListSample.ts index b2d9df169af6..b26645a43806 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts index a969d4be0be5..0e86221bcbb7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts index 7b5a6488ea77..706753381b87 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Export logs that show Api requests made by this subscription in the given time window to show throttling activities. diff --git a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts index f3b7177e3c8a..8b283d3f601c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Export logs that show total throttled Api requests for this subscription in the given time window. diff --git a/sdk/compute/arm-compute-rest/samples-dev/operationsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/operationsListSample.ts index 5f12e45ac6f4..b16b1adb7e1b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/operationsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/operationsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of compute operations. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.ts index 975b51487505..908e49204631 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsDeleteSample.ts index 658f54035aa2..e3c1602a3cfc 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsGetSample.ts index ede122640e35..7ee60c56dd9f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a proximity placement group . diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListByResourceGroupSample.ts index 2ac6f9c6d21f..1df2696d0210 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all proximity placement groups in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListBySubscriptionSample.ts index 978d5fd91c1f..c33cb70dafaa 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all proximity placement groups in a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsUpdateSample.ts index 884fcb99e724..e9296bb1c05b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/resourceSkusListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/resourceSkusListSample.ts index b5f036ebecd3..9a49241907ae 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/resourceSkusListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/resourceSkusListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of Microsoft.Compute SKUs available for your Subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsCreateOrUpdateSample.ts index 5d72ff7f9f07..748428aba44b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts index 286536adf60f..b99d24284567 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the restore point collection. This operation will also delete all the contained restore points. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsGetSample.ts index 5012c2a93641..fa8f2de0b24e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the restore point collection. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListAllSample.ts index ceefafbe59a5..77f63442cecb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListSample.ts index 6c7b3788a546..4ed96d1d63ce 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of restore point collections in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsUpdateSample.ts index ea666164481e..c0c07f905c85 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the restore point collection. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts index ace5b267068b..d3710371c0ed 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create the restore point. Updating properties of an existing restore point is not allowed diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts index 833ac47221e0..ea68976c843a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the restore point. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointsGetSample.ts index 5b419b5d265d..3cd5ef39988d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the restore point. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesGetSample.ts index ab40ababb9ca..cb7f687ca2bc 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesListSample.ts index fb21f60b0995..778bac3905a0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared galleries by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsGetSample.ts index 83f149946b6d..b7b40369a217 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery image version by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsListSample.ts index ffd860eaad8f..1d545e3eafc4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared gallery image versions by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesGetSample.ts index ce191cd07a5f..1b44a5af43e5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery image by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesListSample.ts index 550d47bcf487..49817528bdf3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared gallery images by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts index e7fc6a5b2ae4..016c8d83f9e6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts index 82f0a13e8f16..7a8bbff5a351 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGetSample.ts index 1a1f15cb15f6..a0d6c1e9cfe8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts index 948a9289367b..6b5c2aae67e5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsListByResourceGroupSample.ts index 3362638df750..ed12a0ec652c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists snapshots under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsListSample.ts index c8ab6fcbaac1..48436b8e347f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists snapshots under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts index 3b57b8b07340..12fff1a6d60f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts index 3762eb1c04e7..497c75cf3ae3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysCreateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysCreateSample.ts index 4154b5cbff40..2113ae3abe59 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysCreateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysCreateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a new SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysDeleteSample.ts index e2902cf7671a..54451dfd9012 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete an SSH public key. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGenerateKeyPairSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGenerateKeyPairSample.ts index 403501ea4305..64d2c2467548 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGenerateKeyPairSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGenerateKeyPairSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysGenerateKeyPairParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGetSample.ts index bfad167b4b1e..89c3b0d13e72 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SshPublicKeysGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about an SSH public key. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListByResourceGroupSample.ts index 1b3b1ad388fd..a6b4563da01f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListBySubscriptionSample.ts index be2ffa53eeb6..2417932fe71a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysUpdateSample.ts index ffa597095874..0c33c398a723 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a new SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/usageListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/usageListSample.ts index ebae19a56925..5d74bdfc450e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/usageListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/usageListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesGetSample.ts index 3f6951c90c0f..8817492dfde1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine extension image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListTypesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListTypesSample.ts index 9697cdec4121..a067e5f21721 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListTypesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListTypesSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesListTypesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine extension image types. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListVersionsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListVersionsSample.ts index 6c89cca40c00..b3ab5ece8d8b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListVersionsSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesListVersionsParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine extension image versions. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts index 813550aae7e1..fde21590f66c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts index d27c182dceb8..e48e7271b2fd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsGetSample.ts index b753aca29f74..7bdc067bc255 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsListSample.ts index 574cb08f7240..68dfaf35b498 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all extensions of a Virtual Machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts index a9dc31267814..87ecbc9ea4a4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneGetSample.ts index 45597194aada..870d9e39dcd2 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine image in an edge zone. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.ts index 9152b629595f..7d3823c50b82 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image offers for the specified location, edge zone and publisher. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.ts index 14e7ec840ac7..3c8ac11189c4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image publishers for the specified Azure location and edge zone. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSample.ts index 730ce983840c..5de313eccfb7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.ts index 95ba0b01be39..3e6e5852361f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesGetSample.ts index 5478231a176d..915219e7d2bf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListByEdgeZoneSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListByEdgeZoneSample.ts index 03d5e7a0375e..cca57509cd4a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListByEdgeZoneSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListByEdgeZoneSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListByEdgeZoneParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified edge zone diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListOffersSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListOffersSample.ts index 6372cc6f6f16..ea39fbaca26b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListOffersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image offers for the specified location and publisher. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListPublishersSample.ts index 8462a86ade57..b4ee4b8b3817 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListPublishersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image publishers for the specified Azure location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSample.ts index 1411adab5f06..7684d458d1ad 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSkusSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSkusSample.ts index 70e74c708cbd..8f22efc6874b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSkusSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image SKUs for the specified location, publisher, and offer. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts index 42d46fae10a8..efbba92a1316 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts index 3b1d24061b58..2757587ec809 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.ts index a4a30135ce1e..e23f131ad024 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineRunCommandsGetByVirtualMachineParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetSample.ts index 293557d63351..a052513fd615 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets specific run command for a subscription in a location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.ts index a3b30b73ef1e..2f203d00b288 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all run commands of a Virtual Machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListSample.ts index 465383be0997..b0be90a09b94 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available run commands for a subscription in a location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts index 289575790329..4af790c5a1a6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts index 5ac5eeb2bdbb..ff00465683ca 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update an extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts index 4d093bea280d..d21296bf2311 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsGetSample.ts index 58cd3123342c..79a32578d338 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsListSample.ts index e33d15ddffac..580b77e0fb10 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all extensions in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts index 2e9c8edf1d81..faf6949272ae 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update an extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts index 24ccea83d07c..02ac2ce96050 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Cancels the current virtual machine scale set rolling upgrade. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts index 9235ffa70513..df412fef5e7f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesGetLatestParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of the latest virtual machine scale set rolling upgrade. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts index d6c4a10ded79..44d825d7a428 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts index 78b229a6eea7..d1b90e9a2b31 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts index b05290f11fd6..74806bd5e065 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts index 37194b488676..d56bb952be63 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.ts index b3cf3c708b36..35ae7194a15f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsListSample.ts index 7058b0c53b01..ca6924857783 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all extensions of an instance in Virtual Machine Scaleset. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts index 3c032eed1c8b..453aaa4978f1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts index 327ec96f1eb4..01fd752a6d4d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts index e0508ebcd9f1..c1a9e6e6c5cb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.ts index 4f32e519fd6f..752fdea0d69d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.ts index 7f9454ec79e1..88e3ba56c5af 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all run commands of an instance in Virtual Machine Scaleset. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts index 10b77b0f721d..8a1a13b3cda6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts index a94712f51314..74b1c584b808 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts index c1a3444b4c94..28522c4a6cf5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a virtual machine from a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.ts index 087a558996ca..0dfc27ca652f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a virtual machine from a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetSample.ts index bd69684f05d0..ba4d0583dcc2 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine from a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSListSample.ts index f3e221d4a0f6..8661f3f78eb1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machines in a VM scale sets. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts index d4faeb4ec8ba..cc61e726af6c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Performs maintenance on a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts index bfce495fed8c..6f7107e719ce 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts index ae26d1303715..616bda0c6cbe 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts index 3336fd755edd..dc6af162e0ae 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts index 5f4081dd75f7..4a0cf766fde5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts index 9ca1aff195f3..c58538e6bc65 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts index 33671ced99f3..4977609115c7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts index 7ba83798e4a1..5f5218da63e9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Run command on a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.ts index 0965721f3ea2..e7d5fd471283 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to simulate the eviction of spot virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts index ac4ec742fb50..369bf196d052 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts index bbbc1b7ca41c..88f144cb4745 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual machine of a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts index 5d4ea28895bd..a8b5f5a349c5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Converts SinglePlacementGroup property to false for a existing virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts index dbf91350b023..15b02d634437 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts index 767da02f62ba..abb5200a9f2d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts index dc89b5279f94..fb151e17e958 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes virtual machines in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts index bb53151586ef..b127586b247c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts index 8b3b55865eab..2d16967fdd12 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.ts index d72faa9284cf..a735d3cdb075 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a VM scale set instance. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts index 293e7352f193..8e9bd5d97bb7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets list of OS upgrades on a VM scale set instance. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetSample.ts index 8e95948a64cd..750e83ac6f03 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Display information about a virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListAllSample.ts index 5a8347c36e80..e6129bf68ce4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListByLocationSample.ts index 12d73064bec1..5b016aeba1a0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListByLocationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the VM scale sets under the specified subscription for the specified location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSample.ts index 642f21f76129..c1b61f74e8e7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all VM scale sets under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSkusSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSkusSample.ts index 94bd801a62b7..884ee6ebe8fd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSkusSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts index 5480bd9fb942..a9083bf9a775 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts index 513d6301cece..8e7285dfca21 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts index bf45f28baff4..6ce0572ebd65 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts index ccae3e53ecce..a7bd9147e058 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts index ef7c71043274..79d41937e3d5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts index 869c73f68f48..603a41e619b8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts one or more virtual machines in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts index 56bfac88316b..8d5e24dba78d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Changes ServiceState property for a given service diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts index 0830095574e0..f41dc087cdcf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts one or more virtual machines in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts index c0b752c70de7..9b6902bfdde9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts index 707bb7ff1907..b15c1bca7e68 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineSizesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineSizesListSample.ts index bc1b7939a930..66f8b439a04f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineSizesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineSizesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts index 3d13163c463a..5f82ab66bd0b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Assess patches on the VM. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts index 2cb3990cd87f..d4330f99031c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts index e7acea1198e0..2a6c0d00ba62 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts index bbb3e6226a0b..a26b50aa625e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts index c45f3792870d..c60d310dc79a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts index e93f146dfcd2..bfda4894b7e4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGeneralizeSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGeneralizeSample.ts index cd480471e076..c0292aaea65a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGeneralizeSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGeneralizeSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesGeneralizeParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
    For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
    For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGetSample.ts index e66933c41af7..195fb299fbb9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the model view or the instance view of a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts index 192bb14a253a..da930e06d4b8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Installs patches on the VM. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstanceViewSample.ts index 2620815bf3cd..22fc364fe9ed 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the run-time state of a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAllSample.ts index 03d1c9e8d57c..496f2f86a0b6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAvailableSizesSample.ts index ad2d55c095a3..f032eae46015 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAvailableSizesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available virtual machine sizes to which the specified virtual machine can be resized. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListByLocationSample.ts index 0770414d893e..bb5b5097f404 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListByLocationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the virtual machines under the specified subscription for the specified location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListSample.ts index 78013a1094d0..6213aa0e02b0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts index d83e683759a3..bab559a37d3d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to perform maintenance on a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts index 44bf3af53c4e..47d370fe629a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts index 2ee2651000a5..c7b88cab6683 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to reapply a virtual machine's state. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts index 674e0978c5f0..c98a6cab1c77 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine, moves it to a new node, and powers it back on. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts index 7d6dcc83a3ff..8aa5d707d90d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages the virtual machine which has an ephemeral OS disk back to its initial state. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts index b99a42c38975..1f623de697b5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to restart a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.ts index 2872a5ac3b4f..c167f6c1399d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts index 7c4b8e959364..863ff7bd7e31 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Run command on the VM. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesSimulateEvictionSample.ts index 22fabee00fa0..19a0044264a3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesSimulateEvictionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to simulate the eviction of spot virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts index 2212e8d4590e..967aa2b5fd0c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to start a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts index 95e528dbcabd..d225508ee1bf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts index 0e20f897e7a9..6bdb1186ef99 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update an availability set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts index 45a5838d46aa..b4d705c917fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete an availability set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts index bb172c59a7e4..4a588e6b8344 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about an availability set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts index 168987927e18..dd973f99cbed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts index ed41ed49d0d4..e645036afed1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all availability sets in a subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts index 6cd594b4ee8d..4a5334c3e6a5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all availability sets in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts index 3c94caafeafd..f4e6dae88b55 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an availability set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts index df6922d1be1f..84214680c100 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts index 16f30a807e0c..7c07d53064e0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts index 7e17cdfb0db5..9e7272b918ec 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation that retrieves information about a capacity reservation group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts index 3cca5efe770d..e5e6d6485ea1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts index 7d9fa23a9d4e..2477d0770db5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts index b56f5041808a..8b5f8e4feddb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts index dfa871bc13a3..1970ec32074c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts index 40c4c71c92ba..4a83ec86169a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts index 0091b636faad..714d71dc3d5f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation that retrieves information about the capacity reservation. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts index aab6b58afa56..dbf86e3c690a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts index b2bce85f1d45..7bdf7754bd6c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a capacity reservation. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts index 5a7ce1b231ed..e30510927d71 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceOperatingSystemsGetOSFamilyParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts index 342fa8af5048..6bd5428b7826 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceOperatingSystemsGetOSVersionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts index a863c17a9cbc..4afd1396b0b6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts index f1946864f10b..5ac5b8cdfa37 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts index fee7158c69c9..1befc1ef6e74 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a role instance from a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts index e3a2fcd42ff1..bfb7f0c5a3cf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the run-time state of a role instance in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts index 716fe501ce31..1a9b9fa7540f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetRemoteDesktopFileParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a remote desktop file for a role instance in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts index 29bac85f73bd..e5538ed69765 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a role instance from a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts index 1e337750aca4..56aca123a80c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts index 545afe4c9220..bd3eb95bf701 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts index 5e71666ebfb7..6ffe94b39fe6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts index 2031811eb744..b8940df2e13c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts index 0e1aea3fa5e7..c92027fdb3b6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRolesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a role from a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts index ed953c2c83a2..a9af51efc5e8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts index 8c0bc310317b..28266376568f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts index bda660a0d240..a3b63cb2795b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes role instances in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts index d0bf092097a8..7ca1a541c6c0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts index 2716f904b084..9f28d56ccebd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServicesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts index 1411a538acc1..fe3aea796b1c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Display information about a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts index 9881104f9dd8..70fd21c2dd51 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts index 6286d80ecdab..a19616803a60 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts index 3fa2793c05b3..6f874684a723 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts index 20edf0f56d53..42c63f32db66 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts index 28dafd3a5b01..f13e3e2f0f49 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts index cd0dccf17740..24f7daf331cf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts one or more role instances in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts index 129c97676e74..4e0185a3c37e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts the cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts index 95e1efb8c46f..a3828ac4e2d7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServicesUpdateDomainGetUpdateDomainParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts index f4c8e0aa24f8..fb8890d94d79 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all update domains in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts index 01102aa024fb..454fecd6ccb3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates the role instances in the specified update domain. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts index 3a1481300cf9..9c33fded3eb9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts index db1b042e8eb0..c777a207d099 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery by gallery public name. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts index 569abf43d071..344e558094b9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts index 926fcc5d49e0..0b30a4fc7565 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List community gallery image versions inside an image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts index 0cab53121839..5c188f52594c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts index e909d5527fee..7d1b0a69b2c4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List community gallery images inside a gallery. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts index c13b7b7185ef..db6965aaa2e3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts index 037cacfa9748..4ac22ed28902 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a dedicated host group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts index 671c788fe16c..e91b8cd4d0f6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a dedicated host group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts index 096d0edb9c63..8bc463024358 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts index 7781bf867447..c866a4246638 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts index 526202ff3007..3dbecffdbfa1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an dedicated host group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts index 91dddbeeb5a1..5ab0908875bb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a dedicated host . diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts index c9565162c2fb..91b73ebed5a9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a dedicated host. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts index 3a81ac33fed6..82998cea0527 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a dedicated host. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts index 667953be0f99..c9e85b607e27 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts index 8bcf3db0b925..bf42a613df74 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts index 6acace77885a..144f8b0b5b73 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an dedicated host . diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts index 0da39131440e..ab1bc989508a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk access resource diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts index c5b52c2a1ed4..90f8ef30fe51 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a private endpoint connection under a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts index 63b233321913..902bc110a757 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts index f7daa326e4f9..81d1bbdd9865 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskAccessesGetAPrivateEndpointConnectionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a private endpoint connection under a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts index 1152091cdea7..e29fbd4a299c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskAccessesGetPrivateLinkResourcesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the private link resources possible under disk access resource diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts index 26623bcb5b1e..7f2edb0442df 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts index 54e08a92d0ce..76250ce6990d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk access resources under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts index 0e8880fd2985..f57ba9bd584b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List information about private endpoint connections under a disk access resource diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts index 869d0ea31878..1ea3a4ff3c42 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk access resources under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts index 28eb7914e02b..ea648ef854c9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts index a164c84aa787..297ed949d4d7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts index 2bf1349b83c1..7280048acef1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk encryption set diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts index c06148a95b4c..033a742d9316 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts index 0063f7b08aaf..ad153f097fed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskEncryptionSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts index 454e740c2e4e..1a59aa878f62 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all resources that are encrypted with this disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts index 702606bd5043..f571a5de04c0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk encryption sets under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts index 354c66075119..8d12d0fb4cf9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk encryption sets under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts index 3380547bdc5c..240e9ff6febc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts index 4793f972a961..17062c1308af 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskRestorePointGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get disk restorePoint resource diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts index 540c0fc0b969..54067fdef9c4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a diskRestorePoint. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts index 90607c373848..87ed5b836f0a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists diskRestorePoints under a vmRestorePoint. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts index dcd3cdf9511d..b4fe379922d8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a diskRestorePoint. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts index a0cbad9b0a18..07cf2a90d411 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts index 091113a6218e..da9c38af8453 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts index 22ffd0e3b8b3..48f674c4713d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts index 75d38d496c59..6cdb66d89ffb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a disk. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts index fc77b39eade5..95144abaa612 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disks under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts index ebb4db122125..729ad6d40e03 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disks under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts index 54172ffc568f..50af80b361c0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a disk. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts index 4ef3bc96b975..57667aad8ad0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts index 7f07cc1c3987..d9a5e65aebfb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts index cfa3083d9849..020f37372475 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts index 6820dfcfffb0..a25cc8e2e3e6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts index 5afb1998c198..df7005260d7b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List galleries under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts index fd2bbfe95cf7..7a5f03fdc0e6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List galleries under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts index b8e85330ca76..a706915d87bb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts index d7599a4eb3b6..150d25881945 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts index a65cb7ef27fe..9609d1989ca9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts index f618e7883dee..febd415c9158 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryApplicationVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts index c01fbd0ef575..d8d1f7c3d4e4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery Application Versions in a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts index f51462cbe91a..bcd1853e2635 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts index 652e12986363..293b20afab11 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts index 5eab563c02f8..6c90fb417580 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery Application. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts index f8baa5e9dc01..5816fea7832c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryApplicationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts index 75d1174452d2..d3210afe13cc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery Application Definitions in a gallery. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts index 0c33bf09eb20..6785d4235f0f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts index 2c803719ca5e..c3feefef6681 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts index 3ebb631ca8e8..eab1810dca53 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts index c0dd98b652ef..babb8570413c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts index 03e6c665d070..777c26e635c8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery image versions in a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts index 8d573768eb33..941509640be3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts index 8a3c6b242264..d3a3d8dd4b74 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts index 6a058d12d554..2bd92e766712 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts index 739e64a8e952..a167d5e69a56 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts index 2da771ad04b2..3ef74387c388 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery image definitions in a gallery. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts index 5227cb70cecb..028bdb95ae41 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts index 84f31a93e143..d23306ddbef9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update sharing profile of a gallery. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts index d5234762d980..9c10f9ecb4db 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update an image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts index bb12c58df393..eff1c7d165e6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes an Image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts index 3f3b16c6e9c5..e52193905045 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets an image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts index 5055cc811370..566fd497c245 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of images under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts index b2d9df169af6..b26645a43806 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts index a969d4be0be5..0e86221bcbb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts index 7b5a6488ea77..706753381b87 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Export logs that show Api requests made by this subscription in the given time window to show throttling activities. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts index f3b7177e3c8a..8b283d3f601c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Export logs that show total throttled Api requests for this subscription in the given time window. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts index 5f12e45ac6f4..b16b1adb7e1b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of compute operations. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts index 975b51487505..908e49204631 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts index 658f54035aa2..e3c1602a3cfc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts index ede122640e35..7ee60c56dd9f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a proximity placement group . diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts index 2ac6f9c6d21f..1df2696d0210 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all proximity placement groups in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts index 978d5fd91c1f..c33cb70dafaa 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all proximity placement groups in a subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts index 884fcb99e724..e9296bb1c05b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts index b5f036ebecd3..9a49241907ae 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of Microsoft.Compute SKUs available for your Subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts index 5d72ff7f9f07..748428aba44b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts index 286536adf60f..b99d24284567 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the restore point collection. This operation will also delete all the contained restore points. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts index 5012c2a93641..fa8f2de0b24e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the restore point collection. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts index ceefafbe59a5..77f63442cecb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts index 6c7b3788a546..4ed96d1d63ce 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of restore point collections in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts index ea666164481e..c0c07f905c85 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the restore point collection. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts index ace5b267068b..d3710371c0ed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create the restore point. Updating properties of an existing restore point is not allowed diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts index 833ac47221e0..ea68976c843a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the restore point. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts index 5b419b5d265d..3cd5ef39988d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the restore point. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts index ab40ababb9ca..cb7f687ca2bc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts index fb21f60b0995..778bac3905a0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared galleries by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts index 83f149946b6d..b7b40369a217 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery image version by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts index ffd860eaad8f..1d545e3eafc4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared gallery image versions by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts index ce191cd07a5f..1b44a5af43e5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery image by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts index 550d47bcf487..49817528bdf3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared gallery images by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts index e7fc6a5b2ae4..016c8d83f9e6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts index 82f0a13e8f16..7a8bbff5a351 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts index 1a1f15cb15f6..a0d6c1e9cfe8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts index 948a9289367b..6b5c2aae67e5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts index 3362638df750..ed12a0ec652c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists snapshots under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts index c8ab6fcbaac1..48436b8e347f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists snapshots under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts index 3b57b8b07340..12fff1a6d60f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts index 3762eb1c04e7..497c75cf3ae3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts index 4154b5cbff40..2113ae3abe59 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysCreateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a new SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts index e2902cf7671a..54451dfd9012 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete an SSH public key. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts index 403501ea4305..64d2c2467548 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysGenerateKeyPairParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts index bfad167b4b1e..89c3b0d13e72 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SshPublicKeysGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about an SSH public key. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts index 1b3b1ad388fd..a6b4563da01f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts index be2ffa53eeb6..2417932fe71a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts index ffa597095874..0c33c398a723 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a new SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts index ebae19a56925..5d74bdfc450e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts index 3f6951c90c0f..8817492dfde1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine extension image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts index 9697cdec4121..a067e5f21721 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesListTypesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine extension image types. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts index 6c89cca40c00..b3ab5ece8d8b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesListVersionsParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine extension image versions. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts index 813550aae7e1..fde21590f66c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts index d27c182dceb8..e48e7271b2fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts index b753aca29f74..7bdc067bc255 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts index 574cb08f7240..68dfaf35b498 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all extensions of a Virtual Machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts index a9dc31267814..87ecbc9ea4a4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts index 45597194aada..870d9e39dcd2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine image in an edge zone. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts index 9152b629595f..7d3823c50b82 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image offers for the specified location, edge zone and publisher. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts index 14e7ec840ac7..3c8ac11189c4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image publishers for the specified Azure location and edge zone. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts index 730ce983840c..5de313eccfb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts index 95ba0b01be39..3e6e5852361f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts index 5478231a176d..915219e7d2bf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine image. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts index 03d5e7a0375e..cca57509cd4a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListByEdgeZoneParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified edge zone diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts index 6372cc6f6f16..ea39fbaca26b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image offers for the specified location and publisher. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts index 8462a86ade57..b4ee4b8b3817 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image publishers for the specified Azure location. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts index 1411adab5f06..7684d458d1ad 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts index 70e74c708cbd..8f22efc6874b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image SKUs for the specified location, publisher, and offer. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts index 42d46fae10a8..efbba92a1316 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the run command. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts index 3b1d24061b58..2757587ec809 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the run command. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts index a4a30135ce1e..e23f131ad024 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineRunCommandsGetByVirtualMachineParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the run command. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts index 293557d63351..a052513fd615 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets specific run command for a subscription in a location. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts index a3b30b73ef1e..2f203d00b288 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all run commands of a Virtual Machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts index 465383be0997..b0be90a09b94 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available run commands for a subscription in a location. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts index 289575790329..4af790c5a1a6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the run command. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts index 5ac5eeb2bdbb..ff00465683ca 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update an extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts index 4d093bea280d..d21296bf2311 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts index 58cd3123342c..79a32578d338 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts index e33d15ddffac..580b77e0fb10 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all extensions in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts index 2e9c8edf1d81..faf6949272ae 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update an extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts index 24ccea83d07c..02ac2ce96050 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Cancels the current virtual machine scale set rolling upgrade. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts index 9235ffa70513..df412fef5e7f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesGetLatestParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of the latest virtual machine scale set rolling upgrade. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts index d6c4a10ded79..44d825d7a428 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts index 78b229a6eea7..d1b90e9a2b31 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts index b05290f11fd6..74806bd5e065 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts index 37194b488676..d56bb952be63 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts index b3cf3c708b36..35ae7194a15f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts index 7058b0c53b01..ca6924857783 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all extensions of an instance in Virtual Machine Scaleset. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts index 3c032eed1c8b..453aaa4978f1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts index 327ec96f1eb4..01fd752a6d4d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts index e0508ebcd9f1..c1a9e6e6c5cb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts index 4f32e519fd6f..752fdea0d69d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts index 7f9454ec79e1..88e3ba56c5af 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all run commands of an instance in Virtual Machine Scaleset. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts index 10b77b0f721d..8a1a13b3cda6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts index a94712f51314..74b1c584b808 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts index c1a3444b4c94..28522c4a6cf5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a virtual machine from a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts index 087a558996ca..0dfc27ca652f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a virtual machine from a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts index bd69684f05d0..ba4d0583dcc2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine from a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts index f3e221d4a0f6..8661f3f78eb1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machines in a VM scale sets. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts index d4faeb4ec8ba..cc61e726af6c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Performs maintenance on a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts index bfce495fed8c..6f7107e719ce 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts index ae26d1303715..616bda0c6cbe 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts index 3336fd755edd..dc6af162e0ae 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts index 5f4081dd75f7..4a0cf766fde5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts index 9ca1aff195f3..c58538e6bc65 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts index 33671ced99f3..4977609115c7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts index 7ba83798e4a1..5f5218da63e9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Run command on a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts index 0965721f3ea2..e7d5fd471283 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to simulate the eviction of spot virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts index ac4ec742fb50..369bf196d052 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts index bbbc1b7ca41c..88f144cb4745 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual machine of a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts index 5d4ea28895bd..a8b5f5a349c5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Converts SinglePlacementGroup property to false for a existing virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts index dbf91350b023..15b02d634437 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts index 767da02f62ba..abb5200a9f2d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts index dc89b5279f94..fb151e17e958 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes virtual machines in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts index bb53151586ef..b127586b247c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts index 8b3b55865eab..2d16967fdd12 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts index d72faa9284cf..a735d3cdb075 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a VM scale set instance. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts index 293e7352f193..8e9bd5d97bb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets list of OS upgrades on a VM scale set instance. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts index 8e95948a64cd..750e83ac6f03 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Display information about a virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts index 5a8347c36e80..e6129bf68ce4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts index 12d73064bec1..5b016aeba1a0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the VM scale sets under the specified subscription for the specified location. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts index 642f21f76129..c1b61f74e8e7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all VM scale sets under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts index 94bd801a62b7..884ee6ebe8fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts index 5480bd9fb942..a9083bf9a775 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts index 513d6301cece..8e7285dfca21 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts index bf45f28baff4..6ce0572ebd65 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts index ccae3e53ecce..a7bd9147e058 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts index ef7c71043274..79d41937e3d5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts index 869c73f68f48..603a41e619b8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts one or more virtual machines in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts index 56bfac88316b..8d5e24dba78d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Changes ServiceState property for a given service diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts index 0830095574e0..f41dc087cdcf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts one or more virtual machines in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts index c0b752c70de7..9b6902bfdde9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts index 707bb7ff1907..b15c1bca7e68 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts index bc1b7939a930..66f8b439a04f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts index 3d13163c463a..5f82ab66bd0b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Assess patches on the VM. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts index 2cb3990cd87f..d4330f99031c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts index e7acea1198e0..2a6c0d00ba62 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts index bbb3e6226a0b..a26b50aa625e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts index c45f3792870d..c60d310dc79a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts index e93f146dfcd2..bfda4894b7e4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts index cd480471e076..c0292aaea65a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesGeneralizeParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
    For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
    For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts index e66933c41af7..195fb299fbb9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the model view or the instance view of a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts index 192bb14a253a..da930e06d4b8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Installs patches on the VM. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts index 2620815bf3cd..22fc364fe9ed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the run-time state of a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts index 03d1c9e8d57c..496f2f86a0b6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts index ad2d55c095a3..f032eae46015 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available virtual machine sizes to which the specified virtual machine can be resized. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts index 0770414d893e..bb5b5097f404 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the virtual machines under the specified subscription for the specified location. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts index 78013a1094d0..6213aa0e02b0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts index d83e683759a3..bab559a37d3d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to perform maintenance on a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts index 44bf3af53c4e..47d370fe629a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts index 2ee2651000a5..c7b88cab6683 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to reapply a virtual machine's state. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts index 674e0978c5f0..c98a6cab1c77 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine, moves it to a new node, and powers it back on. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts index 7d6dcc83a3ff..8aa5d707d90d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages the virtual machine which has an ephemeral OS disk back to its initial state. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts index b99a42c38975..1f623de697b5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to restart a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts index 2872a5ac3b4f..c167f6c1399d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts index 7c4b8e959364..863ff7bd7e31 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Run command on the VM. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts index 22fabee00fa0..19a0044264a3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to simulate the eviction of spot virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts index 2212e8d4590e..967aa2b5fd0c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to start a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts index 95e528dbcabd..d225508ee1bf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a virtual machine. diff --git a/sdk/compute/arm-compute-rest/src/clientDefinitions.ts b/sdk/compute/arm-compute-rest/src/clientDefinitions.ts index c430b706133e..31a11df579cd 100644 --- a/sdk/compute/arm-compute-rest/src/clientDefinitions.ts +++ b/sdk/compute/arm-compute-rest/src/clientDefinitions.ts @@ -281,7 +281,7 @@ import type { CloudServiceOperatingSystemsListOSVersionsParameters, CloudServiceOperatingSystemsGetOSFamilyParameters, CloudServiceOperatingSystemsListOSFamiliesParameters, -} from "./parameters"; +} from "./parameters.js"; import type { OperationsList200Response, OperationsListDefaultResponse, @@ -967,7 +967,7 @@ import type { CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, CloudServiceOperatingSystemsListOSFamilies200Response, CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, -} from "./responses"; +} from "./responses.js"; import type { Client, StreamableMethod } from "@azure-rest/core-client"; export interface OperationsList { diff --git a/sdk/compute/arm-compute-rest/src/computeManagementClient.ts b/sdk/compute/arm-compute-rest/src/computeManagementClient.ts index 695d4116efa4..143f9fca2e66 100644 --- a/sdk/compute/arm-compute-rest/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute-rest/src/computeManagementClient.ts @@ -3,9 +3,9 @@ import type { ClientOptions } from "@azure-rest/core-client"; import { getClient } from "@azure-rest/core-client"; -import { logger } from "./logger"; +import { logger } from "./logger.js"; import type { TokenCredential } from "@azure/core-auth"; -import type { ComputeManagementClient } from "./clientDefinitions"; +import type { ComputeManagementClient } from "./clientDefinitions.js"; /** The optional parameters for the client */ export interface ComputeManagementClientOptions extends ClientOptions {} diff --git a/sdk/compute/arm-compute-rest/src/index.ts b/sdk/compute/arm-compute-rest/src/index.ts index b6db961cf197..f0e801919d50 100644 --- a/sdk/compute/arm-compute-rest/src/index.ts +++ b/sdk/compute/arm-compute-rest/src/index.ts @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import ComputeManagementClient from "./computeManagementClient"; +import ComputeManagementClient from "./computeManagementClient.js"; -export * from "./computeManagementClient"; -export * from "./parameters"; -export * from "./responses"; -export * from "./clientDefinitions"; -export * from "./isUnexpected"; -export * from "./models"; -export * from "./outputModels"; -export * from "./paginateHelper"; -export * from "./pollingHelper"; +export * from "./computeManagementClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./paginateHelper.js"; +export * from "./pollingHelper.js"; export default ComputeManagementClient; diff --git a/sdk/compute/arm-compute-rest/src/isUnexpected.ts b/sdk/compute/arm-compute-rest/src/isUnexpected.ts index e4161e132087..4ba3205572af 100644 --- a/sdk/compute/arm-compute-rest/src/isUnexpected.ts +++ b/sdk/compute/arm-compute-rest/src/isUnexpected.ts @@ -650,7 +650,7 @@ import type { CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, CloudServiceOperatingSystemsListOSFamilies200Response, CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, -} from "./responses"; +} from "./responses.js"; const responseMap: Record = { "GET /providers/Microsoft.Compute/operations": ["200"], diff --git a/sdk/compute/arm-compute-rest/src/parameters.ts b/sdk/compute/arm-compute-rest/src/parameters.ts index 7b780d5363ec..8a08b7bf4623 100644 --- a/sdk/compute/arm-compute-rest/src/parameters.ts +++ b/sdk/compute/arm-compute-rest/src/parameters.ts @@ -72,7 +72,7 @@ import type { CloudServiceUpdate, RoleInstances, UpdateDomain, -} from "./models"; +} from "./models.js"; export interface OperationsListQueryParamProperties { /** Api Version */ diff --git a/sdk/compute/arm-compute-rest/src/responses.ts b/sdk/compute/arm-compute-rest/src/responses.ts index 4853a328d96e..deeb1e402e8a 100644 --- a/sdk/compute/arm-compute-rest/src/responses.ts +++ b/sdk/compute/arm-compute-rest/src/responses.ts @@ -113,7 +113,7 @@ import type { OSVersionListResultOutput, OSFamilyOutput, OSFamilyListResultOutput, -} from "./outputModels"; +} from "./outputModels.js"; /** Gets a list of compute operations. */ export interface OperationsList200Response extends HttpResponse { diff --git a/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts b/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts index 65c0bb6b1626..d05c7da1722f 100644 --- a/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts +++ b/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts @@ -13,7 +13,6 @@ import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder, env, isPlaybackMode } from "@azure-tools/test-recorder"; import { createTestCredential } from "@azure-tools/test-credential"; import { assert } from "chai"; -import type { Context } from "mocha"; import type { AvailabilitySetsCreateOrUpdateParameters, AvailabilitySetsDeleteParameters, @@ -26,11 +25,11 @@ import type { VirtualMachinesGetParameters, VirtualMachinesListParameters, VirtualMachinesUpdateParameters, -} from "../../src"; -import { getLongRunningPoller, isUnexpected, paginate } from "../../src"; +} from "../../src/index.js"; +import { getLongRunningPoller, isUnexpected, paginate } from "../../src/index.js"; import type { NetworkInterface, Subnet, VirtualNetwork } from "@azure/arm-network"; import { NetworkManagementClient } from "@azure/arm-network"; -import { createTestComputeManagementClient } from "./utils/recordedClient"; +import { createTestComputeManagementClient } from "./utils/recordedClient.js"; const replaceableVariables: Record = { SUBSCRIPTION_ID: "azure_subscription_id", }; @@ -63,8 +62,8 @@ describe("Compute test", () => { let interface_name: string; let virtual_machine_name: string; - beforeEach(async function (this: Context) { - recorder = new Recorder(this.currentTest); + beforeEach(async function (ctx) { + recorder = new Recorder(ctx); await recorder.start(recorderOptions); subscriptionId = env.SUBSCRIPTION_ID || ""; // This is an example of how the environment variables are used diff --git a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts index 6fca9d6f8e78..30215b4edc1f 100644 --- a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts +++ b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts @@ -7,8 +7,8 @@ import { Recorder } from "@azure-tools/test-recorder"; import type { TokenCredential } from "@azure/core-auth"; import type { ClientOptions } from "@azure-rest/core-client"; -import type { ComputeManagementClient } from "../../../src/clientDefinitions"; -import createComputeManagementClient from "../../../src"; +import type { ComputeManagementClient } from "../../../src/clientDefinitions.js"; +import createComputeManagementClient from "../../../src/index.js"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", From 6f93f492a99810c13cccc98662276e0bf727a8fa Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:25:27 +0800 Subject: [PATCH 22/73] Migration: Apply codemod: "fixTestingImports" --- .../arm-compute-rest/test/public/compute-rest-sample.spec.ts | 3 ++- .../arm-compute-rest/test/public/utils/recordedClient.ts | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts b/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts index d05c7da1722f..1f2fa3ef1e3e 100644 --- a/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts +++ b/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts @@ -12,7 +12,6 @@ import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder, env, isPlaybackMode } from "@azure-tools/test-recorder"; import { createTestCredential } from "@azure-tools/test-credential"; -import { assert } from "chai"; import type { AvailabilitySetsCreateOrUpdateParameters, AvailabilitySetsDeleteParameters, @@ -30,6 +29,8 @@ import { getLongRunningPoller, isUnexpected, paginate } from "../../src/index.js import type { NetworkInterface, Subnet, VirtualNetwork } from "@azure/arm-network"; import { NetworkManagementClient } from "@azure/arm-network"; import { createTestComputeManagementClient } from "./utils/recordedClient.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; + const replaceableVariables: Record = { SUBSCRIPTION_ID: "azure_subscription_id", }; diff --git a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts index 30215b4edc1f..4007422cba84 100644 --- a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts +++ b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import type { Context } from "mocha"; import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; From 3899090843644a56023c873b2806db396247c2b6 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:25:32 +0800 Subject: [PATCH 23/73] Migration: Apply codemod: "replaceAssertIsRejected" From 9a1e50197e5115cc7c0b93a826d3ad8b774f6579 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:25:35 +0800 Subject: [PATCH 24/73] Migration: Apply codemod: "replaceSinonStub" From e23c144dda45ff39e7c1bf6150276480c99d056e Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:25:39 +0800 Subject: [PATCH 25/73] Migration: Apply codemod: "addViHelper" From 0318910b2ffb7ce9b753595cabd967841eab4260 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:25:41 +0800 Subject: [PATCH 26/73] Migration: Apply codemod: "replaceSupportTracing" From dcf946a50ebbb4f7a91cfd16ff9541730c951feb Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:25:43 +0800 Subject: [PATCH 27/73] Migration: Apply codemod: "replaceTestUtils" From b03b4a4576479eee8a40973fe1d5708ad0c0ca16 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:26:04 +0800 Subject: [PATCH 28/73] Migration: rushx format --- sdk/compute/arm-compute-rest/src/pollingHelper.ts | 5 ++--- .../arm-compute-rest/tsconfig.browser.config.json | 11 ++--------- sdk/compute/arm-compute-rest/tsconfig.samples.json | 4 +--- sdk/compute/arm-compute-rest/tsconfig.test.json | 5 +---- 4 files changed, 6 insertions(+), 19 deletions(-) diff --git a/sdk/compute/arm-compute-rest/src/pollingHelper.ts b/sdk/compute/arm-compute-rest/src/pollingHelper.ts index 75a3d3db6e98..a2668fc5d9c7 100644 --- a/sdk/compute/arm-compute-rest/src/pollingHelper.ts +++ b/sdk/compute/arm-compute-rest/src/pollingHelper.ts @@ -8,10 +8,9 @@ import type { CreateHttpPollerOptions, RunningOperation, OperationResponse, - OperationState} from "@azure/core-lro"; -import { - createHttpPoller, + OperationState, } from "@azure/core-lro"; +import { createHttpPoller } from "@azure/core-lro"; /** * A simple poller that can be used to poll a long running operation. diff --git a/sdk/compute/arm-compute-rest/tsconfig.browser.config.json b/sdk/compute/arm-compute-rest/tsconfig.browser.config.json index b6586181d006..f772e6eb3b76 100644 --- a/sdk/compute/arm-compute-rest/tsconfig.browser.config.json +++ b/sdk/compute/arm-compute-rest/tsconfig.browser.config.json @@ -1,14 +1,7 @@ { "extends": "./.tshy/build.json", - "include": [ - "./src/**/*.ts", - "./src/**/*.mts", - "./test/**/*.spec.ts", - "./test/**/*.mts" - ], - "exclude": [ - "./test/**/node/**/*.ts" - ], + "include": ["./src/**/*.ts", "./src/**/*.mts", "./test/**/*.spec.ts", "./test/**/*.mts"], + "exclude": ["./test/**/node/**/*.ts"], "compilerOptions": { "outDir": "./dist-test/browser", "rootDir": ".", diff --git a/sdk/compute/arm-compute-rest/tsconfig.samples.json b/sdk/compute/arm-compute-rest/tsconfig.samples.json index 5d7f7603f7c7..fc70dddd4698 100644 --- a/sdk/compute/arm-compute-rest/tsconfig.samples.json +++ b/sdk/compute/arm-compute-rest/tsconfig.samples.json @@ -2,9 +2,7 @@ "extends": "../../../tsconfig.samples.base.json", "compilerOptions": { "paths": { - "@azure-rest/arm-compute": [ - "./dist/esm" - ] + "@azure-rest/arm-compute": ["./dist/esm"] } } } diff --git a/sdk/compute/arm-compute-rest/tsconfig.test.json b/sdk/compute/arm-compute-rest/tsconfig.test.json index 3c2b783a8c1b..290ca214aebc 100644 --- a/sdk/compute/arm-compute-rest/tsconfig.test.json +++ b/sdk/compute/arm-compute-rest/tsconfig.test.json @@ -1,6 +1,3 @@ { - "extends": [ - "./tsconfig.src.json", - "../../../tsconfig.test.base.json" - ] + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] } From 43835a9df0854dd9504256719e039c438fc8f824 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:33:48 +0800 Subject: [PATCH 29/73] Update pnpm-lock.yaml --- common/config/rush/pnpm-lock.yaml | 47 +++++++++++++++---------------- 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 63ead77c8e36..49f219b7220e 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -186,7 +186,7 @@ importers: version: file:projects/arm-communication.tgz '@rush-temp/arm-compute': specifier: file:./projects/arm-compute.tgz - version: file:projects/arm-compute.tgz + version: file:projects/arm-compute.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-compute-1': specifier: file:./projects/arm-compute-1.tgz version: file:projects/arm-compute-1.tgz @@ -2679,7 +2679,7 @@ packages: version: 0.0.0 '@rush-temp/arm-compute@file:projects/arm-compute.tgz': - resolution: {integrity: sha512-xQDKOPpRBxoFsM+x52t2dYuxksgTfWQ2m9gccHe6MtSFpOaFg0Ii74YsJ6HMFq5Ek2O+UmGec0yqGawf8JIMpw==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-OO/RoX5bHgrnl+q/r6ExY9iFdoBm2y98S4uEoHw9I0rMm4S1NvtAkO/6O/mnf/55OIaBrl9XTD1PPxhCX8se1g==, tarball: file:projects/arm-compute.tgz} version: 0.0.0 '@rush-temp/arm-computefleet@file:projects/arm-computefleet.tgz': @@ -11151,43 +11151,40 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-compute@file:projects/arm-compute.tgz': + '@rush-temp/arm-compute@file:projects/arm-compute.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 '@azure/arm-network': 32.2.0 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 - chai: 4.5.0 dotenv: 16.4.7 eslint: 9.17.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 11.0.2 - nyc: 17.1.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-computefleet@file:projects/arm-computefleet.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: From 4a40e7f016efb0c2d531b992f2256a0459b09caa Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:10:03 +0800 Subject: [PATCH 30/73] update --- .../arm-appservice-rest/package.json | 29 ++++++++++++++++--- sdk/compute/arm-compute-rest/package.json | 29 ++++++++++++++++--- .../review/arm-compute.api.md | 5 ++-- 3 files changed, 53 insertions(+), 10 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/package.json b/sdk/appservice/arm-appservice-rest/package.json index 4636cbd98b31..01e539141d99 100644 --- a/sdk/appservice/arm-appservice-rest/package.json +++ b/sdk/appservice/arm-appservice-rest/package.json @@ -13,9 +13,9 @@ "isomorphic" ], "license": "MIT", - "main": "dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-appservice.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice-rest/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { @@ -118,5 +118,26 @@ ], "selfLink": false }, - "react-native": "./dist/react-native/index.js" + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } + } } diff --git a/sdk/compute/arm-compute-rest/package.json b/sdk/compute/arm-compute-rest/package.json index fb8d0b40249f..bcdb8ee4de56 100644 --- a/sdk/compute/arm-compute-rest/package.json +++ b/sdk/compute/arm-compute-rest/package.json @@ -13,9 +13,9 @@ "isomorphic" ], "license": "MIT", - "main": "dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-compute.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" @@ -119,5 +119,26 @@ "selfLink": false }, "browser": "./dist/browser/index.js", - "react-native": "./dist/react-native/index.js" + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } + } } diff --git a/sdk/compute/arm-compute-rest/review/arm-compute.api.md b/sdk/compute/arm-compute-rest/review/arm-compute.api.md index 8309645a5714..4cb526f443b3 100644 --- a/sdk/compute/arm-compute-rest/review/arm-compute.api.md +++ b/sdk/compute/arm-compute-rest/review/arm-compute.api.md @@ -6588,10 +6588,11 @@ export interface HardwareProfileOutput { } // @public -export interface Image extends Resource { +interface Image_2 extends Resource { extendedLocation?: ExtendedLocation; properties?: ImageProperties; } +export { Image_2 as Image } // @public export interface ImageDataDisk extends ImageDisk { @@ -6741,7 +6742,7 @@ export interface ImagesCreateOrUpdate201Response extends HttpResponse { // @public (undocumented) export interface ImagesCreateOrUpdateBodyParam { - body: Image; + body: Image_2; } // @public From 568e79965d610e0e59cb7a598d6a94fffd537ed6 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:26:56 +0800 Subject: [PATCH 31/73] containerservice --- .../arm-containerservice-rest/CHANGELOG.md | 8 +- .../arm-containerservice-rest/package.json | 18 +- .../review/arm-containerservice.api.md | 1063 ++++++++--------- .../managedClustersCreateOrUpdateSample.ts | 54 +- .../managedClustersResetAadProfileSample.ts | 2 +- ...stersResetServicePrincipalProfileSample.ts | 2 +- ...ClustersRotateClusterCertificatesSample.ts | 2 +- ...rsRotateServiceAccountSigningKeysSample.ts | 2 +- .../managedClustersRunCommandSample.ts | 2 +- .../samples-dev/managedClustersStartSample.ts | 2 +- .../samples-dev/managedClustersStopSample.ts | 2 +- .../managedClustersUpdateTagsSample.ts | 2 +- .../samples/v1-beta/javascript/README.md | 48 +- .../managedClustersCreateOrUpdateSample.js | 108 +- .../javascript/managedClustersDeleteSample.js | 2 +- .../managedClustersGetAccessProfileSample.js | 2 +- .../managedClustersGetCommandResultSample.js | 4 +- .../managedClustersGetOSOptionsSample.js | 2 +- .../javascript/managedClustersGetSample.js | 2 +- .../managedClustersGetUpgradeProfileSample.js | 2 +- ...anagedClustersListByResourceGroupSample.js | 2 +- ...ustersListClusterAdminCredentialsSample.js | 2 +- ...tClusterMonitoringUserCredentialsSample.js | 2 +- ...lustersListClusterUserCredentialsSample.js | 2 +- ...boundNetworkDependenciesEndpointsSample.js | 2 +- .../javascript/managedClustersListSample.js | 2 +- .../managedClustersResetAadProfileSample.js | 4 +- ...stersResetServicePrincipalProfileSample.js | 4 +- ...ClustersRotateClusterCertificatesSample.js | 4 +- ...rsRotateServiceAccountSigningKeysSample.js | 4 +- .../managedClustersRunCommandSample.js | 4 +- .../javascript/managedClustersStartSample.js | 4 +- .../javascript/managedClustersStopSample.js | 4 +- .../managedClustersUpdateTagsSample.js | 4 +- .../samples/v1-beta/javascript/package.json | 2 +- .../samples/v1-beta/typescript/README.md | 48 +- .../samples/v1-beta/typescript/package.json | 4 +- .../managedClustersCreateOrUpdateSample.ts | 120 +- .../src/managedClustersDeleteSample.ts | 2 +- .../managedClustersGetAccessProfileSample.ts | 2 +- .../managedClustersGetCommandResultSample.ts | 4 +- .../src/managedClustersGetOSOptionsSample.ts | 2 +- .../src/managedClustersGetSample.ts | 2 +- .../managedClustersGetUpgradeProfileSample.ts | 2 +- ...anagedClustersListByResourceGroupSample.ts | 2 +- ...ustersListClusterAdminCredentialsSample.ts | 2 +- ...tClusterMonitoringUserCredentialsSample.ts | 2 +- ...lustersListClusterUserCredentialsSample.ts | 2 +- ...boundNetworkDependenciesEndpointsSample.ts | 2 +- .../src/managedClustersListSample.ts | 2 +- .../managedClustersResetAadProfileSample.ts | 4 +- ...stersResetServicePrincipalProfileSample.ts | 4 +- ...ClustersRotateClusterCertificatesSample.ts | 4 +- ...rsRotateServiceAccountSigningKeysSample.ts | 4 +- .../src/managedClustersRunCommandSample.ts | 4 +- .../src/managedClustersStartSample.ts | 4 +- .../src/managedClustersStopSample.ts | 4 +- .../src/managedClustersUpdateTagsSample.ts | 4 +- .../samples/v1-beta/typescript/tsconfig.json | 2 +- .../src/clientDefinitions.ts | 443 +++---- .../src/containerServiceClient.ts | 71 +- .../src/isUnexpected.ts | 786 ++++++------ .../arm-containerservice-rest/src/logger.ts | 5 + .../arm-containerservice-rest/src/models.ts | 191 +-- .../src/outputModels.ts | 307 +++-- .../src/paginateHelper.ts | 186 ++- .../src/parameters.ts | 82 +- .../src/pollingHelper.ts | 181 ++- .../src/responses.ts | 312 ++--- .../swagger/README.md | 4 +- .../test/public/containerservice-test.spec.ts | 6 +- 71 files changed, 2355 insertions(+), 1826 deletions(-) create mode 100644 sdk/containerservice/arm-containerservice-rest/src/logger.ts diff --git a/sdk/containerservice/arm-containerservice-rest/CHANGELOG.md b/sdk/containerservice/arm-containerservice-rest/CHANGELOG.md index d8bec637860f..18673e6e3298 100644 --- a/sdk/containerservice/arm-containerservice-rest/CHANGELOG.md +++ b/sdk/containerservice/arm-containerservice-rest/CHANGELOG.md @@ -1,14 +1,10 @@ # Release History -## 1.0.0-beta.2 (Unreleased) +## 1.0.0-beta.2 (2024-12-23) ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Refresh sdk with latest codegen ## 1.0.0-beta.1 (2022-07-15) diff --git a/sdk/containerservice/arm-containerservice-rest/package.json b/sdk/containerservice/arm-containerservice-rest/package.json index 9496a2720590..9d00c7853073 100644 --- a/sdk/containerservice/arm-containerservice-rest/package.json +++ b/sdk/containerservice/arm-containerservice-rest/package.json @@ -4,14 +4,7 @@ "author": "Microsoft Corporation", "version": "1.0.0-beta.2", "description": "", - "keywords": [ - "node", - "azure", - "cloud", - "typescript", - "browser", - "isomorphic" - ], + "keywords": ["node", "azure", "cloud", "typescript", "browser", "isomorphic"], "license": "MIT", "main": "dist/index.js", "module": "./dist-esm/src/index.js", @@ -72,11 +65,12 @@ "dependencies": { "@azure-rest/core-client": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^2.2.0", + "@azure/core-lro": "^3.1.0", "@azure/core-paging": "^1.2.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", - "tslib": "^2.2.0" + "tslib": "^2.2.0", + "@azure/abort-controller": "^2.1.2" }, "devDependencies": { "@azure-tools/test-credential": "^1.0.0", @@ -112,9 +106,7 @@ }, "//sampleConfiguration": { "productName": "Azure AKS rest", - "productSlugs": [ - "azure" - ], + "productSlugs": ["azure"], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/rest/api/aks" } diff --git a/sdk/containerservice/arm-containerservice-rest/review/arm-containerservice.api.md b/sdk/containerservice/arm-containerservice-rest/review/arm-containerservice.api.md index 1fa167212751..103e52c0a26f 100644 --- a/sdk/containerservice/arm-containerservice-rest/review/arm-containerservice.api.md +++ b/sdk/containerservice/arm-containerservice-rest/review/arm-containerservice.api.md @@ -4,40 +4,40 @@ ```ts -import type { Client } from '@azure-rest/core-client'; -import type { ClientOptions } from '@azure-rest/core-client'; -import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PagedAsyncIterableIterator } from '@azure/core-paging'; -import type { PathUncheckedResponse } from '@azure-rest/core-client'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; -import type { RawHttpHeaders } from '@azure/core-rest-pipeline'; -import type { RequestParameters } from '@azure-rest/core-client'; -import type { StreamableMethod } from '@azure-rest/core-client'; -import type { TokenCredential } from '@azure/core-auth'; +import { AbortSignalLike } from '@azure/abort-controller'; +import { CancelOnProgress } from '@azure/core-lro'; +import { Client } from '@azure-rest/core-client'; +import { ClientOptions } from '@azure-rest/core-client'; +import { CreateHttpPollerOptions } from '@azure/core-lro'; +import { HttpResponse } from '@azure-rest/core-client'; +import { OperationState } from '@azure/core-lro'; +import { PathUncheckedResponse } from '@azure-rest/core-client'; +import { RawHttpHeaders } from '@azure/core-rest-pipeline'; +import { RequestParameters } from '@azure-rest/core-client'; +import { StreamableMethod } from '@azure-rest/core-client'; +import { TokenCredential } from '@azure/core-auth'; -// @public (undocumented) +// @public export interface AccessProfile { kubeConfig?: string; } -// @public (undocumented) +// @public export interface AccessProfileOutput { kubeConfig?: string; } -// @public (undocumented) +// @public export interface AgentPool extends SubResource { properties?: ManagedClusterAgentPoolProfileProperties; } -// @public (undocumented) +// @public export interface AgentPoolAvailableVersionsOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties: AgentPoolAvailableVersionsPropertiesOutput; - type?: string; + readonly type?: string; } // @public (undocumented) @@ -47,18 +47,18 @@ export interface AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItemOutput kubernetesVersion?: string; } -// @public (undocumented) +// @public export interface AgentPoolAvailableVersionsPropertiesOutput { agentPoolVersions?: Array; } -// @public (undocumented) +// @public export interface AgentPoolListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface AgentPoolOutput extends SubResourceOutput { properties?: ManagedClusterAgentPoolProfilePropertiesOutput; } @@ -85,7 +85,7 @@ export interface AgentPoolsCreateOrUpdateBodyParam { } // @public -export interface AgentPoolsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AgentPoolsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -102,22 +102,18 @@ export type AgentPoolsCreateOrUpdateParameters = AgentPoolsCreateOrUpdateMediaTy // @public export interface AgentPoolsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface AgentPoolsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AgentPoolsDeletedefaultResponse extends HttpResponse { +export interface AgentPoolsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -140,9 +136,9 @@ export interface AgentPoolsDeleteQueryParamProperties { // @public (undocumented) export interface AgentPoolsGet { - delete(options?: AgentPoolsDeleteParameters): StreamableMethod; - get(options?: AgentPoolsGetParameters): StreamableMethod; - put(options: AgentPoolsCreateOrUpdateParameters): StreamableMethod; + delete(options?: AgentPoolsDeleteParameters): StreamableMethod; + get(options?: AgentPoolsGetParameters): StreamableMethod; + put(options: AgentPoolsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -170,7 +166,7 @@ export interface AgentPoolsGetAvailableAgentPoolVersions200Response extends Http export type AgentPoolsGetAvailableAgentPoolVersionsParameters = RequestParameters; // @public -export interface AgentPoolsGetdefaultResponse extends HttpResponse { +export interface AgentPoolsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -182,7 +178,7 @@ export type AgentPoolsGetParameters = RequestParameters; // @public (undocumented) export interface AgentPoolsGetUpgradeProfile { - get(options?: AgentPoolsGetUpgradeProfileParameters): StreamableMethod; + get(options?: AgentPoolsGetUpgradeProfileParameters): StreamableMethod; } // @public @@ -194,7 +190,7 @@ export interface AgentPoolsGetUpgradeProfile200Response extends HttpResponse { } // @public -export interface AgentPoolsGetUpgradeProfiledefaultResponse extends HttpResponse { +export interface AgentPoolsGetUpgradeProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -206,7 +202,7 @@ export type AgentPoolsGetUpgradeProfileParameters = RequestParameters; // @public (undocumented) export interface AgentPoolsList { - get(options?: AgentPoolsListParameters): StreamableMethod; + get(options?: AgentPoolsListParameters): StreamableMethod; } // @public @@ -218,7 +214,7 @@ export interface AgentPoolsList200Response extends HttpResponse { } // @public -export interface AgentPoolsListdefaultResponse extends HttpResponse { +export interface AgentPoolsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -230,13 +226,11 @@ export type AgentPoolsListParameters = RequestParameters; // @public (undocumented) export interface AgentPoolsUpgradeNodeImageVersion { - post(options?: AgentPoolsUpgradeNodeImageVersionParameters): StreamableMethod; + post(options?: AgentPoolsUpgradeNodeImageVersionParameters): StreamableMethod; } // @public export interface AgentPoolsUpgradeNodeImageVersion200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -257,7 +251,7 @@ export interface AgentPoolsUpgradeNodeImageVersion202Response extends HttpRespon } // @public -export interface AgentPoolsUpgradeNodeImageVersiondefaultResponse extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersionDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -267,15 +261,15 @@ export interface AgentPoolsUpgradeNodeImageVersiondefaultResponse extends HttpRe // @public (undocumented) export type AgentPoolsUpgradeNodeImageVersionParameters = RequestParameters; -// @public (undocumented) +// @public export interface AgentPoolUpgradeProfileOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties: AgentPoolUpgradeProfilePropertiesOutput; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface AgentPoolUpgradeProfilePropertiesOutput { kubernetesVersion: string; latestNodeImageVersion?: string; @@ -289,17 +283,17 @@ export interface AgentPoolUpgradeProfilePropertiesUpgradesItemOutput { kubernetesVersion?: string; } -// @public (undocumented) +// @public export interface AgentPoolUpgradeSettings { maxSurge?: string; } -// @public (undocumented) +// @public export interface AgentPoolUpgradeSettingsOutput { maxSurge?: string; } -// @public (undocumented) +// @public export interface AzureKeyVaultKms { enabled?: boolean; keyId?: string; @@ -307,7 +301,7 @@ export interface AzureKeyVaultKms { keyVaultResourceId?: string; } -// @public (undocumented) +// @public export interface AzureKeyVaultKmsOutput { enabled?: boolean; keyId?: string; @@ -315,7 +309,7 @@ export interface AzureKeyVaultKmsOutput { keyVaultResourceId?: string; } -// @public (undocumented) +// @public export interface CloudErrorBodyOutput { code?: string; details?: Array; @@ -323,19 +317,19 @@ export interface CloudErrorBodyOutput { target?: string; } -// @public (undocumented) +// @public export interface CloudErrorOutput { error?: CloudErrorBodyOutput; } -// @public (undocumented) +// @public export interface CommandResultPropertiesOutput { - exitCode?: number; - finishedAt?: string; - logs?: string; - provisioningState?: string; - reason?: string; - startedAt?: string; + readonly exitCode?: number; + readonly finishedAt?: string; + readonly logs?: string; + readonly provisioningState?: string; + readonly reason?: string; + readonly startedAt?: string; } // @public (undocumented) @@ -343,19 +337,24 @@ export type ContainerServiceClient = Client & { path: Routes; }; -// @public (undocumented) +// @public +export interface ContainerServiceClientOptions extends ClientOptions { + apiVersion?: string; +} + +// @public export interface ContainerServiceLinuxProfile { adminUsername: string; ssh: ContainerServiceSshConfiguration; } -// @public (undocumented) +// @public export interface ContainerServiceLinuxProfileOutput { adminUsername: string; ssh: ContainerServiceSshConfigurationOutput; } -// @public (undocumented) +// @public export interface ContainerServiceNetworkProfile { dnsServiceIP?: string; dockerBridgeCidr?: string; @@ -374,7 +373,7 @@ export interface ContainerServiceNetworkProfile { serviceCidrs?: Array; } -// @public (undocumented) +// @public export interface ContainerServiceNetworkProfileOutput { dnsServiceIP?: string; dockerBridgeCidr?: string; @@ -393,58 +392,58 @@ export interface ContainerServiceNetworkProfileOutput { serviceCidrs?: Array; } -// @public (undocumented) +// @public export interface ContainerServiceSshConfiguration { publicKeys: Array; } -// @public (undocumented) +// @public export interface ContainerServiceSshConfigurationOutput { publicKeys: Array; } -// @public (undocumented) +// @public export interface ContainerServiceSshPublicKey { keyData: string; } -// @public (undocumented) +// @public export interface ContainerServiceSshPublicKeyOutput { keyData: string; } -// @public (undocumented) -function createClient(credentials: TokenCredential, options?: ClientOptions): ContainerServiceClient; +// @public +function createClient(credentials: TokenCredential, { apiVersion, ...options }?: ContainerServiceClientOptions): ContainerServiceClient; export default createClient; -// @public (undocumented) +// @public export interface CreationData { sourceResourceId?: string; } -// @public (undocumented) +// @public export interface CreationDataOutput { sourceResourceId?: string; } -// @public (undocumented) +// @public export interface CredentialResultOutput { - name?: string; - value?: string; + readonly name?: string; + readonly value?: string; } -// @public (undocumented) +// @public export interface CredentialResultsOutput { - kubeconfigs?: Array; + readonly kubeconfigs?: Array; } -// @public (undocumented) +// @public export interface EndpointDependencyOutput { domainName?: string; endpointDetails?: Array; } -// @public (undocumented) +// @public export interface EndpointDetailOutput { description?: string; ipAddress?: string; @@ -452,13 +451,13 @@ export interface EndpointDetailOutput { protocol?: string; } -// @public (undocumented) +// @public export interface ExtendedLocation { name?: string; type?: "EdgeZone"; } -// @public (undocumented) +// @public export interface ExtendedLocationOutput { name?: string; type?: "EdgeZone"; @@ -468,180 +467,180 @@ export interface ExtendedLocationOutput { export type GetArrayType = T extends Array ? TData : never; // @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; +export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public -export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; // @public (undocumented) -export function isUnexpected(response: OperationsList200Response | OperationsListdefaultResponse): response is OperationsListdefaultResponse; +export function isUnexpected(response: OperationsList200Response | OperationsListDefaultResponse): response is OperationsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsdefaultResponse): response is ManagedClustersGetOSOptionsdefaultResponse; +export function isUnexpected(response: ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsDefaultResponse): response is ManagedClustersGetOSOptionsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersList200Response | ManagedClustersListdefaultResponse): response is ManagedClustersListdefaultResponse; +export function isUnexpected(response: ManagedClustersList200Response | ManagedClustersListDefaultResponse): response is ManagedClustersListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListByResourceGroup200Response | ManagedClustersListByResourceGroupdefaultResponse): response is ManagedClustersListByResourceGroupdefaultResponse; +export function isUnexpected(response: ManagedClustersListByResourceGroup200Response | ManagedClustersListByResourceGroupDefaultResponse): response is ManagedClustersListByResourceGroupDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGetUpgradeProfile200Response | ManagedClustersGetUpgradeProfiledefaultResponse): response is ManagedClustersGetUpgradeProfiledefaultResponse; +export function isUnexpected(response: ManagedClustersGetUpgradeProfile200Response | ManagedClustersGetUpgradeProfileDefaultResponse): response is ManagedClustersGetUpgradeProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGetAccessProfile200Response | ManagedClustersGetAccessProfiledefaultResponse): response is ManagedClustersGetAccessProfiledefaultResponse; +export function isUnexpected(response: ManagedClustersGetAccessProfile200Response | ManagedClustersGetAccessProfileDefaultResponse): response is ManagedClustersGetAccessProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListClusterAdminCredentials200Response | ManagedClustersListClusterAdminCredentialsdefaultResponse): response is ManagedClustersListClusterAdminCredentialsdefaultResponse; +export function isUnexpected(response: ManagedClustersListClusterAdminCredentials200Response | ManagedClustersListClusterAdminCredentialsDefaultResponse): response is ManagedClustersListClusterAdminCredentialsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListClusterUserCredentials200Response | ManagedClustersListClusterUserCredentialsdefaultResponse): response is ManagedClustersListClusterUserCredentialsdefaultResponse; +export function isUnexpected(response: ManagedClustersListClusterUserCredentials200Response | ManagedClustersListClusterUserCredentialsDefaultResponse): response is ManagedClustersListClusterUserCredentialsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListClusterMonitoringUserCredentials200Response | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse): response is ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse; +export function isUnexpected(response: ManagedClustersListClusterMonitoringUserCredentials200Response | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse): response is ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGet200Response | ManagedClustersGetdefaultResponse): response is ManagedClustersGetdefaultResponse; +export function isUnexpected(response: ManagedClustersGet200Response | ManagedClustersGetDefaultResponse): response is ManagedClustersGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response | ManagedClustersCreateOrUpdatedefaultResponse): response is ManagedClustersCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response | ManagedClustersCreateOrUpdateDefaultResponse): response is ManagedClustersCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsdefaultResponse): response is ManagedClustersUpdateTagsdefaultResponse; +export function isUnexpected(response: ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsDefaultResponse): response is ManagedClustersUpdateTagsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersDelete202Response | ManagedClustersDelete204Response | ManagedClustersDeletedefaultResponse): response is ManagedClustersDeletedefaultResponse; +export function isUnexpected(response: ManagedClustersDelete202Response | ManagedClustersDelete204Response | ManagedClustersDeleteDefaultResponse): response is ManagedClustersDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response | ManagedClustersResetServicePrincipalProfiledefaultResponse): response is ManagedClustersResetServicePrincipalProfiledefaultResponse; +export function isUnexpected(response: ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response | ManagedClustersResetServicePrincipalProfileDefaultResponse): response is ManagedClustersResetServicePrincipalProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response | ManagedClustersResetAADProfiledefaultResponse): response is ManagedClustersResetAADProfiledefaultResponse; +export function isUnexpected(response: ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response | ManagedClustersResetAADProfileDefaultResponse): response is ManagedClustersResetAADProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response | ManagedClustersRotateClusterCertificatesdefaultResponse): response is ManagedClustersRotateClusterCertificatesdefaultResponse; +export function isUnexpected(response: ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response | ManagedClustersRotateClusterCertificatesDefaultResponse): response is ManagedClustersRotateClusterCertificatesDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse): response is ManagedClustersRotateServiceAccountSigningKeysdefaultResponse; +export function isUnexpected(response: ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse): response is ManagedClustersRotateServiceAccountSigningKeysDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersStop202Response | ManagedClustersStop204Response | ManagedClustersStopdefaultResponse): response is ManagedClustersStopdefaultResponse; +export function isUnexpected(response: ManagedClustersStop202Response | ManagedClustersStop204Response | ManagedClustersStopDefaultResponse): response is ManagedClustersStopDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersStart202Response | ManagedClustersStart204Response | ManagedClustersStartdefaultResponse): response is ManagedClustersStartdefaultResponse; +export function isUnexpected(response: ManagedClustersStart202Response | ManagedClustersStart204Response | ManagedClustersStartDefaultResponse): response is ManagedClustersStartDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response | ManagedClustersRunCommanddefaultResponse): response is ManagedClustersRunCommanddefaultResponse; +export function isUnexpected(response: ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response | ManagedClustersRunCommandDefaultResponse): response is ManagedClustersRunCommandDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response | ManagedClustersGetCommandResultdefaultResponse): response is ManagedClustersGetCommandResultdefaultResponse; +export function isUnexpected(response: ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response | ManagedClustersGetCommandResultDefaultResponse): response is ManagedClustersGetCommandResultDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListOutboundNetworkDependenciesEndpoints200Response | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse): response is ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse; +export function isUnexpected(response: ManagedClustersListOutboundNetworkDependenciesEndpoints200Response | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse): response is ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: MaintenanceConfigurationsListByManagedCluster200Response | MaintenanceConfigurationsListByManagedClusterdefaultResponse): response is MaintenanceConfigurationsListByManagedClusterdefaultResponse; +export function isUnexpected(response: MaintenanceConfigurationsListByManagedCluster200Response | MaintenanceConfigurationsListByManagedClusterDefaultResponse): response is MaintenanceConfigurationsListByManagedClusterDefaultResponse; // @public (undocumented) -export function isUnexpected(response: MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetdefaultResponse): response is MaintenanceConfigurationsGetdefaultResponse; +export function isUnexpected(response: MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetDefaultResponse): response is MaintenanceConfigurationsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: MaintenanceConfigurationsCreateOrUpdate200Response | MaintenanceConfigurationsCreateOrUpdatedefaultResponse): response is MaintenanceConfigurationsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: MaintenanceConfigurationsCreateOrUpdate200Response | MaintenanceConfigurationsCreateOrUpdateDefaultResponse): response is MaintenanceConfigurationsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response | MaintenanceConfigurationsDeletedefaultResponse): response is MaintenanceConfigurationsDeletedefaultResponse; +export function isUnexpected(response: MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response | MaintenanceConfigurationsDeleteDefaultResponse): response is MaintenanceConfigurationsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsList200Response | AgentPoolsListdefaultResponse): response is AgentPoolsListdefaultResponse; +export function isUnexpected(response: AgentPoolsList200Response | AgentPoolsListDefaultResponse): response is AgentPoolsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsGet200Response | AgentPoolsGetdefaultResponse): response is AgentPoolsGetdefaultResponse; +export function isUnexpected(response: AgentPoolsGet200Response | AgentPoolsGetDefaultResponse): response is AgentPoolsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response | AgentPoolsCreateOrUpdatedefaultResponse): response is AgentPoolsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response | AgentPoolsCreateOrUpdateDefaultResponse): response is AgentPoolsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsDelete202Response | AgentPoolsDelete204Response | AgentPoolsDeletedefaultResponse): response is AgentPoolsDeletedefaultResponse; +export function isUnexpected(response: AgentPoolsDelete202Response | AgentPoolsDelete204Response | AgentPoolsDeleteDefaultResponse): response is AgentPoolsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfiledefaultResponse): response is AgentPoolsGetUpgradeProfiledefaultResponse; +export function isUnexpected(response: AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfileDefaultResponse): response is AgentPoolsGetUpgradeProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response | AgentPoolsUpgradeNodeImageVersiondefaultResponse): response is AgentPoolsUpgradeNodeImageVersiondefaultResponse; +export function isUnexpected(response: AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response | AgentPoolsUpgradeNodeImageVersionDefaultResponse): response is AgentPoolsUpgradeNodeImageVersionDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateEndpointConnectionsList200Response | PrivateEndpointConnectionsListdefaultResponse): response is PrivateEndpointConnectionsListdefaultResponse; +export function isUnexpected(response: PrivateEndpointConnectionsList200Response | PrivateEndpointConnectionsListDefaultResponse): response is PrivateEndpointConnectionsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetdefaultResponse): response is PrivateEndpointConnectionsGetdefaultResponse; +export function isUnexpected(response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse): response is PrivateEndpointConnectionsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateEndpointConnectionsUpdate200Response | PrivateEndpointConnectionsUpdatedefaultResponse): response is PrivateEndpointConnectionsUpdatedefaultResponse; +export function isUnexpected(response: PrivateEndpointConnectionsUpdate200Response | PrivateEndpointConnectionsUpdateDefaultResponse): response is PrivateEndpointConnectionsUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response | PrivateEndpointConnectionsDeletedefaultResponse): response is PrivateEndpointConnectionsDeletedefaultResponse; +export function isUnexpected(response: PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response | PrivateEndpointConnectionsDeleteDefaultResponse): response is PrivateEndpointConnectionsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateLinkResourcesList200Response | PrivateLinkResourcesListdefaultResponse): response is PrivateLinkResourcesListdefaultResponse; +export function isUnexpected(response: PrivateLinkResourcesList200Response | PrivateLinkResourcesListDefaultResponse): response is PrivateLinkResourcesListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ResolvePrivateLinkServiceIdPost200Response | ResolvePrivateLinkServiceIdPostdefaultResponse): response is ResolvePrivateLinkServiceIdPostdefaultResponse; +export function isUnexpected(response: ResolvePrivateLinkServiceIdPost200Response | ResolvePrivateLinkServiceIdPostDefaultResponse): response is ResolvePrivateLinkServiceIdPostDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsList200Response | SnapshotsListdefaultResponse): response is SnapshotsListdefaultResponse; +export function isUnexpected(response: SnapshotsList200Response | SnapshotsListDefaultResponse): response is SnapshotsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupdefaultResponse): response is SnapshotsListByResourceGroupdefaultResponse; +export function isUnexpected(response: SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupDefaultResponse): response is SnapshotsListByResourceGroupDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsGet200Response | SnapshotsGetdefaultResponse): response is SnapshotsGetdefaultResponse; +export function isUnexpected(response: SnapshotsGet200Response | SnapshotsGetDefaultResponse): response is SnapshotsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response | SnapshotsCreateOrUpdatedefaultResponse): response is SnapshotsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response | SnapshotsCreateOrUpdateDefaultResponse): response is SnapshotsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsUpdateTags200Response | SnapshotsUpdateTagsdefaultResponse): response is SnapshotsUpdateTagsdefaultResponse; +export function isUnexpected(response: SnapshotsUpdateTags200Response | SnapshotsUpdateTagsDefaultResponse): response is SnapshotsUpdateTagsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsDelete200Response | SnapshotsDelete204Response | SnapshotsDeletedefaultResponse): response is SnapshotsDeletedefaultResponse; +export function isUnexpected(response: SnapshotsDelete200Response | SnapshotsDelete204Response | SnapshotsDeleteDefaultResponse): response is SnapshotsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListdefaultResponse): response is ManagedClusterSnapshotsListdefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListDefaultResponse): response is ManagedClusterSnapshotsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsListByResourceGroup200Response | ManagedClusterSnapshotsListByResourceGroupdefaultResponse): response is ManagedClusterSnapshotsListByResourceGroupdefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsListByResourceGroup200Response | ManagedClusterSnapshotsListByResourceGroupDefaultResponse): response is ManagedClusterSnapshotsListByResourceGroupDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetdefaultResponse): response is ManagedClusterSnapshotsGetdefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetDefaultResponse): response is ManagedClusterSnapshotsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse): response is ManagedClusterSnapshotsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse): response is ManagedClusterSnapshotsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsUpdateTags200Response | ManagedClusterSnapshotsUpdateTagsdefaultResponse): response is ManagedClusterSnapshotsUpdateTagsdefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsUpdateTags200Response | ManagedClusterSnapshotsUpdateTagsDefaultResponse): response is ManagedClusterSnapshotsUpdateTagsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response | ManagedClusterSnapshotsDeletedefaultResponse): response is ManagedClusterSnapshotsDeletedefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response | ManagedClusterSnapshotsDeleteDefaultResponse): response is ManagedClusterSnapshotsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRolesList200Response | TrustedAccessRolesListdefaultResponse): response is TrustedAccessRolesListdefaultResponse; +export function isUnexpected(response: TrustedAccessRolesList200Response | TrustedAccessRolesListDefaultResponse): response is TrustedAccessRolesListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListdefaultResponse): response is TrustedAccessRoleBindingsListdefaultResponse; +export function isUnexpected(response: TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListDefaultResponse): response is TrustedAccessRoleBindingsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetdefaultResponse): response is TrustedAccessRoleBindingsGetdefaultResponse; +export function isUnexpected(response: TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetDefaultResponse): response is TrustedAccessRoleBindingsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRoleBindingsCreateOrUpdate200Response | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse): response is TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: TrustedAccessRoleBindingsCreateOrUpdate200Response | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse): response is TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response | TrustedAccessRoleBindingsDeletedefaultResponse): response is TrustedAccessRoleBindingsDeletedefaultResponse; +export function isUnexpected(response: TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response | TrustedAccessRoleBindingsDeleteDefaultResponse): response is TrustedAccessRoleBindingsDeleteDefaultResponse; -// @public (undocumented) +// @public export interface KubeletConfig { allowedUnsafeSysctls?: Array; containerLogMaxFiles?: number; @@ -656,7 +655,7 @@ export interface KubeletConfig { topologyManagerPolicy?: string; } -// @public (undocumented) +// @public export interface KubeletConfigOutput { allowedUnsafeSysctls?: Array; containerLogMaxFiles?: number; @@ -671,7 +670,7 @@ export interface KubeletConfigOutput { topologyManagerPolicy?: string; } -// @public (undocumented) +// @public export interface LinuxOSConfig { swapFileSizeMB?: number; sysctls?: SysctlConfig; @@ -679,7 +678,7 @@ export interface LinuxOSConfig { transparentHugePageEnabled?: string; } -// @public (undocumented) +// @public export interface LinuxOSConfigOutput { swapFileSizeMB?: number; sysctls?: SysctlConfigOutput; @@ -687,31 +686,30 @@ export interface LinuxOSConfigOutput { transparentHugePageEnabled?: string; } -// @public (undocumented) +// @public export interface MaintenanceConfiguration extends SubResource { properties?: MaintenanceConfigurationProperties; - systemData?: SystemData; } -// @public (undocumented) +// @public export interface MaintenanceConfigurationListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface MaintenanceConfigurationOutput extends SubResourceOutput { properties?: MaintenanceConfigurationPropertiesOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } -// @public (undocumented) +// @public export interface MaintenanceConfigurationProperties { notAllowedTime?: Array; timeInWeek?: Array; } -// @public (undocumented) +// @public export interface MaintenanceConfigurationPropertiesOutput { notAllowedTime?: Array; timeInWeek?: Array; @@ -731,7 +729,7 @@ export interface MaintenanceConfigurationsCreateOrUpdateBodyParam { } // @public -export interface MaintenanceConfigurationsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -748,22 +746,18 @@ export type MaintenanceConfigurationsCreateOrUpdateParameters = MaintenanceConfi // @public export interface MaintenanceConfigurationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface MaintenanceConfigurationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface MaintenanceConfigurationsDeletedefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -775,9 +769,9 @@ export type MaintenanceConfigurationsDeleteParameters = RequestParameters; // @public (undocumented) export interface MaintenanceConfigurationsGet { - delete(options?: MaintenanceConfigurationsDeleteParameters): StreamableMethod; - get(options?: MaintenanceConfigurationsGetParameters): StreamableMethod; - put(options: MaintenanceConfigurationsCreateOrUpdateParameters): StreamableMethod; + delete(options?: MaintenanceConfigurationsDeleteParameters): StreamableMethod; + get(options?: MaintenanceConfigurationsGetParameters): StreamableMethod; + put(options: MaintenanceConfigurationsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -789,7 +783,7 @@ export interface MaintenanceConfigurationsGet200Response extends HttpResponse { } // @public -export interface MaintenanceConfigurationsGetdefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -801,7 +795,7 @@ export type MaintenanceConfigurationsGetParameters = RequestParameters; // @public (undocumented) export interface MaintenanceConfigurationsListByManagedCluster { - get(options?: MaintenanceConfigurationsListByManagedClusterParameters): StreamableMethod; + get(options?: MaintenanceConfigurationsListByManagedClusterParameters): StreamableMethod; } // @public @@ -813,7 +807,7 @@ export interface MaintenanceConfigurationsListByManagedCluster200Response extend } // @public -export interface MaintenanceConfigurationsListByManagedClusterdefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsListByManagedClusterDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -823,7 +817,7 @@ export interface MaintenanceConfigurationsListByManagedClusterdefaultResponse ex // @public (undocumented) export type MaintenanceConfigurationsListByManagedClusterParameters = RequestParameters; -// @public (undocumented) +// @public export interface ManagedCluster extends TrackedResource { extendedLocation?: ExtendedLocation; identity?: ManagedClusterIdentity; @@ -831,7 +825,7 @@ export interface ManagedCluster extends TrackedResource { sku?: ManagedClusterSKU; } -// @public (undocumented) +// @public export interface ManagedClusterAADProfile { adminGroupObjectIDs?: Array; clientAppID?: string; @@ -842,7 +836,7 @@ export interface ManagedClusterAADProfile { tenantID?: string; } -// @public (undocumented) +// @public export interface ManagedClusterAADProfileOutput { adminGroupObjectIDs?: Array; clientAppID?: string; @@ -853,55 +847,53 @@ export interface ManagedClusterAADProfileOutput { tenantID?: string; } -// @public (undocumented) +// @public export interface ManagedClusterAccessProfile extends TrackedResource { properties?: AccessProfile; } -// @public (undocumented) +// @public export interface ManagedClusterAccessProfileOutput extends TrackedResourceOutput { properties?: AccessProfileOutput; } -// @public (undocumented) +// @public export interface ManagedClusterAddonProfile { config?: Record; enabled: boolean; - identity?: ManagedClusterAddonProfileIdentity; } -// @public (undocumented) +// @public export interface ManagedClusterAddonProfileIdentity extends UserAssignedIdentity { } -// @public (undocumented) +// @public export interface ManagedClusterAddonProfileIdentityOutput extends UserAssignedIdentityOutput { } -// @public (undocumented) +// @public export interface ManagedClusterAddonProfileOutput { config?: Record; enabled: boolean; - identity?: ManagedClusterAddonProfileIdentityOutput; + readonly identity?: ManagedClusterAddonProfileIdentityOutput; } -// @public (undocumented) +// @public export interface ManagedClusterAgentPoolProfile extends ManagedClusterAgentPoolProfileProperties { name: string; } -// @public (undocumented) +// @public export interface ManagedClusterAgentPoolProfileOutput extends ManagedClusterAgentPoolProfilePropertiesOutput { name: string; } -// @public (undocumented) +// @public export interface ManagedClusterAgentPoolProfileProperties { availabilityZones?: Array; capacityReservationGroupID?: string; count?: number; creationData?: CreationData; - currentOrchestratorVersion?: string; enableAutoScaling?: boolean; enableCustomCATrust?: boolean; enableEncryptionAtHost?: boolean; @@ -918,7 +910,6 @@ export interface ManagedClusterAgentPoolProfileProperties { messageOfTheDay?: string; minCount?: number; mode?: "System" | "User"; - nodeImageVersion?: string; nodeLabels?: Record; nodePublicIPPrefixID?: string; nodeTaints?: Array; @@ -929,7 +920,6 @@ export interface ManagedClusterAgentPoolProfileProperties { osType?: "Linux" | "Windows"; podSubnetID?: string; powerState?: PowerState; - provisioningState?: string; proximityPlacementGroupID?: string; scaleDownMode?: "Delete" | "Deallocate"; scaleSetEvictionPolicy?: "Delete" | "Deallocate"; @@ -943,13 +933,13 @@ export interface ManagedClusterAgentPoolProfileProperties { workloadRuntime?: "OCIContainer" | "WasmWasi"; } -// @public (undocumented) +// @public export interface ManagedClusterAgentPoolProfilePropertiesOutput { availabilityZones?: Array; capacityReservationGroupID?: string; count?: number; creationData?: CreationDataOutput; - currentOrchestratorVersion?: string; + readonly currentOrchestratorVersion?: string; enableAutoScaling?: boolean; enableCustomCATrust?: boolean; enableEncryptionAtHost?: boolean; @@ -966,7 +956,7 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { messageOfTheDay?: string; minCount?: number; mode?: "System" | "User"; - nodeImageVersion?: string; + readonly nodeImageVersion?: string; nodeLabels?: Record; nodePublicIPPrefixID?: string; nodeTaints?: Array; @@ -977,7 +967,7 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { osType?: "Linux" | "Windows"; podSubnetID?: string; powerState?: PowerStateOutput; - provisioningState?: string; + readonly provisioningState?: string; proximityPlacementGroupID?: string; scaleDownMode?: "Delete" | "Deallocate"; scaleSetEvictionPolicy?: "Delete" | "Deallocate"; @@ -991,7 +981,7 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { workloadRuntime?: "OCIContainer" | "WasmWasi"; } -// @public (undocumented) +// @public export interface ManagedClusterAPIServerAccessProfile { authorizedIPRanges?: Array; disableRunCommand?: boolean; @@ -1002,7 +992,7 @@ export interface ManagedClusterAPIServerAccessProfile { subnetId?: string; } -// @public (undocumented) +// @public export interface ManagedClusterAPIServerAccessProfileOutput { authorizedIPRanges?: Array; disableRunCommand?: boolean; @@ -1013,79 +1003,76 @@ export interface ManagedClusterAPIServerAccessProfileOutput { subnetId?: string; } -// @public (undocumented) +// @public export interface ManagedClusterAutoUpgradeProfile { upgradeChannel?: "rapid" | "stable" | "patch" | "node-image" | "none"; } -// @public (undocumented) +// @public export interface ManagedClusterAutoUpgradeProfileOutput { upgradeChannel?: "rapid" | "stable" | "patch" | "node-image" | "none"; } -// @public (undocumented) +// @public export interface ManagedClusterHttpProxyConfig { - effectiveNoProxy?: Array; httpProxy?: string; httpsProxy?: string; noProxy?: Array; trustedCa?: string; } -// @public (undocumented) +// @public export interface ManagedClusterHttpProxyConfigOutput { - effectiveNoProxy?: Array; + readonly effectiveNoProxy?: Array; httpProxy?: string; httpsProxy?: string; noProxy?: Array; trustedCa?: string; } -// @public (undocumented) +// @public export interface ManagedClusterIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface ManagedClusterIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface ManagedClusterIngressProfile { webAppRouting?: ManagedClusterIngressProfileWebAppRouting; } -// @public (undocumented) +// @public export interface ManagedClusterIngressProfileOutput { webAppRouting?: ManagedClusterIngressProfileWebAppRoutingOutput; } -// @public (undocumented) +// @public export interface ManagedClusterIngressProfileWebAppRouting { dnsZoneResourceId?: string; enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterIngressProfileWebAppRoutingOutput { dnsZoneResourceId?: string; enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfile { allocatedOutboundPorts?: number; effectiveOutboundIPs?: Array; @@ -1096,39 +1083,39 @@ export interface ManagedClusterLoadBalancerProfile { outboundIPs?: ManagedClusterLoadBalancerProfileOutboundIPs; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileManagedOutboundIPs { count?: number; countIPv6?: number; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileManagedOutboundIPsOutput { count?: number; countIPv6?: number; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixes { publicIPPrefixes?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixesOutput { publicIPPrefixes?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutboundIPs { publicIPs?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutboundIPsOutput { publicIPs?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutput { allocatedOutboundPorts?: number; effectiveOutboundIPs?: Array; @@ -1139,43 +1126,42 @@ export interface ManagedClusterLoadBalancerProfileOutput { outboundIPs?: ManagedClusterLoadBalancerProfileOutboundIPsOutput; } -// @public (undocumented) +// @public export interface ManagedClusterManagedOutboundIPProfile { count?: number; } -// @public (undocumented) +// @public export interface ManagedClusterManagedOutboundIPProfileOutput { count?: number; } -// @public (undocumented) +// @public export interface ManagedClusterNATGatewayProfile { effectiveOutboundIPs?: Array; idleTimeoutInMinutes?: number; managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile; } -// @public (undocumented) +// @public export interface ManagedClusterNATGatewayProfileOutput { effectiveOutboundIPs?: Array; idleTimeoutInMinutes?: number; managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfileOutput; } -// @public (undocumented) +// @public export interface ManagedClusterOidcIssuerProfile { enabled?: boolean; - issuerURL?: string; } -// @public (undocumented) +// @public export interface ManagedClusterOidcIssuerProfileOutput { enabled?: boolean; - issuerURL?: string; + readonly issuerURL?: string; } -// @public (undocumented) +// @public export interface ManagedClusterOutput extends TrackedResourceOutput { extendedLocation?: ExtendedLocationOutput; identity?: ManagedClusterIdentityOutput; @@ -1183,43 +1169,40 @@ export interface ManagedClusterOutput extends TrackedResourceOutput { sku?: ManagedClusterSKUOutput; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentity { bindingSelector?: string; identity: UserAssignedIdentity; name: string; namespace: string; - // (undocumented) - provisioningInfo?: ManagedClusterPodIdentityProvisioningInfo; - provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityException { name: string; namespace: string; podLabels: Record; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityExceptionOutput { name: string; namespace: string; podLabels: Record; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityOutput { bindingSelector?: string; identity: UserAssignedIdentityOutput; name: string; namespace: string; // (undocumented) - provisioningInfo?: ManagedClusterPodIdentityProvisioningInfoOutput; - provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; + readonly provisioningInfo?: ManagedClusterPodIdentityProvisioningInfoOutput; + readonly provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProfile { allowNetworkPluginKubenet?: boolean; enabled?: boolean; @@ -1227,7 +1210,7 @@ export interface ManagedClusterPodIdentityProfile { userAssignedIdentityExceptions?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProfileOutput { allowNetworkPluginKubenet?: boolean; enabled?: boolean; @@ -1235,12 +1218,12 @@ export interface ManagedClusterPodIdentityProfileOutput { userAssignedIdentityExceptions?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProvisioningError { error?: ManagedClusterPodIdentityProvisioningErrorBody; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProvisioningErrorBody { code?: string; details?: Array; @@ -1248,7 +1231,7 @@ export interface ManagedClusterPodIdentityProvisioningErrorBody { target?: string; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProvisioningErrorBodyOutput { code?: string; details?: Array; @@ -1256,7 +1239,7 @@ export interface ManagedClusterPodIdentityProvisioningErrorBodyOutput { target?: string; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProvisioningErrorOutput { error?: ManagedClusterPodIdentityProvisioningErrorBodyOutput; } @@ -1271,7 +1254,7 @@ export interface ManagedClusterPodIdentityProvisioningInfoOutput { error?: ManagedClusterPodIdentityProvisioningErrorOutput; } -// @public (undocumented) +// @public export interface ManagedClusterPoolUpgradeProfileOutput { kubernetesVersion: string; name?: string; @@ -1285,7 +1268,7 @@ export interface ManagedClusterPoolUpgradeProfileUpgradesItemOutput { kubernetesVersion?: string; } -// @public (undocumented) +// @public export interface ManagedClusterProperties { aadProfile?: ManagedClusterAADProfile; addonProfiles?: Record; @@ -1293,31 +1276,24 @@ export interface ManagedClusterProperties { apiServerAccessProfile?: ManagedClusterAPIServerAccessProfile; autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfile; autoUpgradeProfile?: ManagedClusterAutoUpgradeProfile; - azurePortalFQDN?: string; creationData?: CreationData; - currentKubernetesVersion?: string; disableLocalAccounts?: boolean; diskEncryptionSetID?: string; dnsPrefix?: string; enableNamespaceResources?: boolean; enablePodSecurityPolicy?: boolean; enableRBAC?: boolean; - fqdn?: string; fqdnSubdomain?: string; httpProxyConfig?: ManagedClusterHttpProxyConfig; identityProfile?: Record; ingressProfile?: ManagedClusterIngressProfile; kubernetesVersion?: string; linuxProfile?: ContainerServiceLinuxProfile; - maxAgentPools?: number; networkProfile?: ContainerServiceNetworkProfile; nodeResourceGroup?: string; oidcIssuerProfile?: ManagedClusterOidcIssuerProfile; podIdentityProfile?: ManagedClusterPodIdentityProfile; - powerState?: PowerState; - privateFQDN?: string; privateLinkResources?: Array; - provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; securityProfile?: ManagedClusterSecurityProfile; servicePrincipalProfile?: ManagedClusterServicePrincipalProfile; @@ -1326,7 +1302,7 @@ export interface ManagedClusterProperties { workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfile; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesAutoScalerProfile { "balance-similar-node-groups"?: string; "max-empty-bulk-delete"?: string; @@ -1347,7 +1323,7 @@ export interface ManagedClusterPropertiesAutoScalerProfile { expander?: "least-waste" | "most-pods" | "priority" | "random"; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesAutoScalerProfileOutput { "balance-similar-node-groups"?: string; "max-empty-bulk-delete"?: string; @@ -1368,23 +1344,22 @@ export interface ManagedClusterPropertiesAutoScalerProfileOutput { expander?: "least-waste" | "most-pods" | "priority" | "random"; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesForSnapshot { enableRbac?: boolean; kubernetesVersion?: string; - networkProfile?: NetworkProfileForSnapshot; sku?: ManagedClusterSKU; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesForSnapshotOutput { enableRbac?: boolean; kubernetesVersion?: string; - networkProfile?: NetworkProfileForSnapshotOutput; + readonly networkProfile?: NetworkProfileForSnapshotOutput; sku?: ManagedClusterSKUOutput; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesOutput { aadProfile?: ManagedClusterAADProfileOutput; addonProfiles?: Record; @@ -1392,31 +1367,31 @@ export interface ManagedClusterPropertiesOutput { apiServerAccessProfile?: ManagedClusterAPIServerAccessProfileOutput; autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfileOutput; autoUpgradeProfile?: ManagedClusterAutoUpgradeProfileOutput; - azurePortalFQDN?: string; + readonly azurePortalFQDN?: string; creationData?: CreationDataOutput; - currentKubernetesVersion?: string; + readonly currentKubernetesVersion?: string; disableLocalAccounts?: boolean; diskEncryptionSetID?: string; dnsPrefix?: string; enableNamespaceResources?: boolean; enablePodSecurityPolicy?: boolean; enableRBAC?: boolean; - fqdn?: string; + readonly fqdn?: string; fqdnSubdomain?: string; httpProxyConfig?: ManagedClusterHttpProxyConfigOutput; identityProfile?: Record; ingressProfile?: ManagedClusterIngressProfileOutput; kubernetesVersion?: string; linuxProfile?: ContainerServiceLinuxProfileOutput; - maxAgentPools?: number; + readonly maxAgentPools?: number; networkProfile?: ContainerServiceNetworkProfileOutput; nodeResourceGroup?: string; oidcIssuerProfile?: ManagedClusterOidcIssuerProfileOutput; podIdentityProfile?: ManagedClusterPodIdentityProfileOutput; - powerState?: PowerStateOutput; - privateFQDN?: string; + readonly powerState?: PowerStateOutput; + readonly privateFQDN?: string; privateLinkResources?: Array; - provisioningState?: string; + readonly provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; securityProfile?: ManagedClusterSecurityProfileOutput; servicePrincipalProfile?: ManagedClusterServicePrincipalProfileOutput; @@ -1447,7 +1422,7 @@ export interface ManagedClustersCreateOrUpdateBodyParam { } // @public -export interface ManagedClustersCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ManagedClustersCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1464,22 +1439,18 @@ export type ManagedClustersCreateOrUpdateParameters = ManagedClustersCreateOrUpd // @public export interface ManagedClustersDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersDeletedefaultResponse extends HttpResponse { +export interface ManagedClustersDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1500,59 +1471,59 @@ export interface ManagedClustersDeleteQueryParamProperties { "ignore-pod-disruption-budget"?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfile { azureKeyVaultKms?: AzureKeyVaultKms; defender?: ManagedClusterSecurityProfileDefender; workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentity; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileDefender { logAnalyticsWorkspaceResourceId?: string; securityMonitoring?: ManagedClusterSecurityProfileDefenderSecurityMonitoring; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileDefenderOutput { logAnalyticsWorkspaceResourceId?: string; securityMonitoring?: ManagedClusterSecurityProfileDefenderSecurityMonitoringOutput; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileDefenderSecurityMonitoring { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileDefenderSecurityMonitoringOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileOutput { azureKeyVaultKms?: AzureKeyVaultKmsOutput; defender?: ManagedClusterSecurityProfileDefenderOutput; workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentityOutput; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileWorkloadIdentity { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileWorkloadIdentityOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterServicePrincipalProfile { clientId: string; secret?: string; } -// @public (undocumented) +// @public export interface ManagedClusterServicePrincipalProfileOutput { clientId: string; secret?: string; @@ -1560,10 +1531,10 @@ export interface ManagedClusterServicePrincipalProfileOutput { // @public (undocumented) export interface ManagedClustersGet { - delete(options?: ManagedClustersDeleteParameters): StreamableMethod; - get(options?: ManagedClustersGetParameters): StreamableMethod; - patch(options: ManagedClustersUpdateTagsParameters): StreamableMethod; - put(options: ManagedClustersCreateOrUpdateParameters): StreamableMethod; + delete(options?: ManagedClustersDeleteParameters): StreamableMethod; + get(options?: ManagedClustersGetParameters): StreamableMethod; + patch(options: ManagedClustersUpdateTagsParameters): StreamableMethod; + put(options: ManagedClustersCreateOrUpdateParameters): StreamableMethod; } // @public @@ -1576,7 +1547,7 @@ export interface ManagedClustersGet200Response extends HttpResponse { // @public (undocumented) export interface ManagedClustersGetAccessProfile { - post(options?: ManagedClustersGetAccessProfileParameters): StreamableMethod; + post(options?: ManagedClustersGetAccessProfileParameters): StreamableMethod; } // @public @@ -1588,7 +1559,7 @@ export interface ManagedClustersGetAccessProfile200Response extends HttpResponse } // @public -export interface ManagedClustersGetAccessProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersGetAccessProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1600,7 +1571,7 @@ export type ManagedClustersGetAccessProfileParameters = RequestParameters; // @public (undocumented) export interface ManagedClustersGetCommandResult { - get(options?: ManagedClustersGetCommandResultParameters): StreamableMethod; + get(options?: ManagedClustersGetCommandResultParameters): StreamableMethod; } // @public @@ -1613,14 +1584,12 @@ export interface ManagedClustersGetCommandResult200Response extends HttpResponse // @public export interface ManagedClustersGetCommandResult202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public -export interface ManagedClustersGetCommandResultdefaultResponse extends HttpResponse { +export interface ManagedClustersGetCommandResultDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1631,7 +1600,7 @@ export interface ManagedClustersGetCommandResultdefaultResponse extends HttpResp export type ManagedClustersGetCommandResultParameters = RequestParameters; // @public -export interface ManagedClustersGetdefaultResponse extends HttpResponse { +export interface ManagedClustersGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1640,7 +1609,7 @@ export interface ManagedClustersGetdefaultResponse extends HttpResponse { // @public (undocumented) export interface ManagedClustersGetOSOptions { - get(options?: ManagedClustersGetOSOptionsParameters): StreamableMethod; + get(options?: ManagedClustersGetOSOptionsParameters): StreamableMethod; } // @public @@ -1652,7 +1621,7 @@ export interface ManagedClustersGetOSOptions200Response extends HttpResponse { } // @public -export interface ManagedClustersGetOSOptionsdefaultResponse extends HttpResponse { +export interface ManagedClustersGetOSOptionsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1678,7 +1647,7 @@ export type ManagedClustersGetParameters = RequestParameters; // @public (undocumented) export interface ManagedClustersGetUpgradeProfile { - get(options?: ManagedClustersGetUpgradeProfileParameters): StreamableMethod; + get(options?: ManagedClustersGetUpgradeProfileParameters): StreamableMethod; } // @public @@ -1690,7 +1659,7 @@ export interface ManagedClustersGetUpgradeProfile200Response extends HttpRespons } // @public -export interface ManagedClustersGetUpgradeProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersGetUpgradeProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1700,13 +1669,13 @@ export interface ManagedClustersGetUpgradeProfiledefaultResponse extends HttpRes // @public (undocumented) export type ManagedClustersGetUpgradeProfileParameters = RequestParameters; -// @public (undocumented) +// @public export interface ManagedClusterSKU { name?: "Basic"; tier?: "Paid" | "Free"; } -// @public (undocumented) +// @public export interface ManagedClusterSKUOutput { name?: "Basic"; tier?: "Paid" | "Free"; @@ -1714,7 +1683,7 @@ export interface ManagedClusterSKUOutput { // @public (undocumented) export interface ManagedClustersList { - get(options?: ManagedClustersListParameters): StreamableMethod; + get(options?: ManagedClustersListParameters): StreamableMethod; } // @public @@ -1727,7 +1696,7 @@ export interface ManagedClustersList200Response extends HttpResponse { // @public (undocumented) export interface ManagedClustersListByResourceGroup { - get(options?: ManagedClustersListByResourceGroupParameters): StreamableMethod; + get(options?: ManagedClustersListByResourceGroupParameters): StreamableMethod; } // @public @@ -1739,7 +1708,7 @@ export interface ManagedClustersListByResourceGroup200Response extends HttpRespo } // @public -export interface ManagedClustersListByResourceGroupdefaultResponse extends HttpResponse { +export interface ManagedClustersListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1751,7 +1720,7 @@ export type ManagedClustersListByResourceGroupParameters = RequestParameters; // @public (undocumented) export interface ManagedClustersListClusterAdminCredentials { - post(options?: ManagedClustersListClusterAdminCredentialsParameters): StreamableMethod; + post(options?: ManagedClustersListClusterAdminCredentialsParameters): StreamableMethod; } // @public @@ -1763,7 +1732,7 @@ export interface ManagedClustersListClusterAdminCredentials200Response extends H } // @public -export interface ManagedClustersListClusterAdminCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterAdminCredentialsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1786,7 +1755,7 @@ export interface ManagedClustersListClusterAdminCredentialsQueryParamProperties // @public (undocumented) export interface ManagedClustersListClusterMonitoringUserCredentials { - post(options?: ManagedClustersListClusterMonitoringUserCredentialsParameters): StreamableMethod; + post(options?: ManagedClustersListClusterMonitoringUserCredentialsParameters): StreamableMethod; } // @public @@ -1798,7 +1767,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentials200Response } // @public -export interface ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1821,7 +1790,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentialsQueryParamPr // @public (undocumented) export interface ManagedClustersListClusterUserCredentials { - post(options?: ManagedClustersListClusterUserCredentialsParameters): StreamableMethod; + post(options?: ManagedClustersListClusterUserCredentialsParameters): StreamableMethod; } // @public @@ -1833,7 +1802,7 @@ export interface ManagedClustersListClusterUserCredentials200Response extends Ht } // @public -export interface ManagedClustersListClusterUserCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterUserCredentialsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1856,7 +1825,7 @@ export interface ManagedClustersListClusterUserCredentialsQueryParamProperties { } // @public -export interface ManagedClustersListdefaultResponse extends HttpResponse { +export interface ManagedClustersListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1865,7 +1834,7 @@ export interface ManagedClustersListdefaultResponse extends HttpResponse { // @public (undocumented) export interface ManagedClustersListOutboundNetworkDependenciesEndpoints { - get(options?: ManagedClustersListOutboundNetworkDependenciesEndpointsParameters): StreamableMethod; + get(options?: ManagedClustersListOutboundNetworkDependenciesEndpointsParameters): StreamableMethod; } // @public @@ -1877,7 +1846,7 @@ export interface ManagedClustersListOutboundNetworkDependenciesEndpoints200Respo } // @public -export interface ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse extends HttpResponse { +export interface ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1890,33 +1859,32 @@ export type ManagedClustersListOutboundNetworkDependenciesEndpointsParameters = // @public (undocumented) export type ManagedClustersListParameters = RequestParameters; -// @public (undocumented) +// @public export interface ManagedClusterSnapshot extends TrackedResource { properties?: ManagedClusterSnapshotProperties; } -// @public (undocumented) +// @public export interface ManagedClusterSnapshotListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterSnapshotOutput extends TrackedResourceOutput { properties?: ManagedClusterSnapshotPropertiesOutput; } -// @public (undocumented) +// @public export interface ManagedClusterSnapshotProperties { creationData?: CreationData; - managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshot; snapshotType?: "NodePool" | "ManagedCluster"; } -// @public (undocumented) +// @public export interface ManagedClusterSnapshotPropertiesOutput { creationData?: CreationDataOutput; - managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshotOutput; + readonly managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshotOutput; snapshotType?: "NodePool" | "ManagedCluster"; } @@ -1942,7 +1910,7 @@ export interface ManagedClusterSnapshotsCreateOrUpdateBodyParam { } // @public -export interface ManagedClusterSnapshotsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1959,22 +1927,18 @@ export type ManagedClusterSnapshotsCreateOrUpdateParameters = ManagedClusterSnap // @public export interface ManagedClusterSnapshotsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ManagedClusterSnapshotsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClusterSnapshotsDeletedefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1986,10 +1950,10 @@ export type ManagedClusterSnapshotsDeleteParameters = RequestParameters; // @public (undocumented) export interface ManagedClusterSnapshotsGet { - delete(options?: ManagedClusterSnapshotsDeleteParameters): StreamableMethod; - get(options?: ManagedClusterSnapshotsGetParameters): StreamableMethod; - patch(options: ManagedClusterSnapshotsUpdateTagsParameters): StreamableMethod; - put(options: ManagedClusterSnapshotsCreateOrUpdateParameters): StreamableMethod; + delete(options?: ManagedClusterSnapshotsDeleteParameters): StreamableMethod; + get(options?: ManagedClusterSnapshotsGetParameters): StreamableMethod; + patch(options: ManagedClusterSnapshotsUpdateTagsParameters): StreamableMethod; + put(options: ManagedClusterSnapshotsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -2001,7 +1965,7 @@ export interface ManagedClusterSnapshotsGet200Response extends HttpResponse { } // @public -export interface ManagedClusterSnapshotsGetdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2013,7 +1977,7 @@ export type ManagedClusterSnapshotsGetParameters = RequestParameters; // @public (undocumented) export interface ManagedClusterSnapshotsList { - get(options?: ManagedClusterSnapshotsListParameters): StreamableMethod; + get(options?: ManagedClusterSnapshotsListParameters): StreamableMethod; } // @public @@ -2026,7 +1990,7 @@ export interface ManagedClusterSnapshotsList200Response extends HttpResponse { // @public (undocumented) export interface ManagedClusterSnapshotsListByResourceGroup { - get(options?: ManagedClusterSnapshotsListByResourceGroupParameters): StreamableMethod; + get(options?: ManagedClusterSnapshotsListByResourceGroupParameters): StreamableMethod; } // @public @@ -2038,7 +2002,7 @@ export interface ManagedClusterSnapshotsListByResourceGroup200Response extends H } // @public -export interface ManagedClusterSnapshotsListByResourceGroupdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2049,7 +2013,7 @@ export interface ManagedClusterSnapshotsListByResourceGroupdefaultResponse exten export type ManagedClusterSnapshotsListByResourceGroupParameters = RequestParameters; // @public -export interface ManagedClusterSnapshotsListdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2073,7 +2037,7 @@ export interface ManagedClusterSnapshotsUpdateTagsBodyParam { } // @public -export interface ManagedClusterSnapshotsUpdateTagsdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsUpdateTagsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2090,21 +2054,17 @@ export type ManagedClusterSnapshotsUpdateTagsParameters = ManagedClusterSnapshot // @public (undocumented) export interface ManagedClustersResetAADProfile { - post(options: ManagedClustersResetAADProfileParameters): StreamableMethod; + post(options: ManagedClustersResetAADProfileParameters): StreamableMethod; } // @public export interface ManagedClustersResetAADProfile200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ManagedClustersResetAADProfile202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2115,7 +2075,7 @@ export interface ManagedClustersResetAADProfileBodyParam { } // @public -export interface ManagedClustersResetAADProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersResetAADProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2132,21 +2092,17 @@ export type ManagedClustersResetAADProfileParameters = ManagedClustersResetAADPr // @public (undocumented) export interface ManagedClustersResetServicePrincipalProfile { - post(options: ManagedClustersResetServicePrincipalProfileParameters): StreamableMethod; + post(options: ManagedClustersResetServicePrincipalProfileParameters): StreamableMethod; } // @public export interface ManagedClustersResetServicePrincipalProfile200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ManagedClustersResetServicePrincipalProfile202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2157,7 +2113,7 @@ export interface ManagedClustersResetServicePrincipalProfileBodyParam { } // @public -export interface ManagedClustersResetServicePrincipalProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2174,27 +2130,23 @@ export type ManagedClustersResetServicePrincipalProfileParameters = ManagedClust // @public (undocumented) export interface ManagedClustersRotateClusterCertificates { - post(options?: ManagedClustersRotateClusterCertificatesParameters): StreamableMethod; + post(options?: ManagedClustersRotateClusterCertificatesParameters): StreamableMethod; } // @public export interface ManagedClustersRotateClusterCertificates202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersRotateClusterCertificates204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersRotateClusterCertificatesdefaultResponse extends HttpResponse { +export interface ManagedClustersRotateClusterCertificatesDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2206,27 +2158,23 @@ export type ManagedClustersRotateClusterCertificatesParameters = RequestParamete // @public (undocumented) export interface ManagedClustersRotateServiceAccountSigningKeys { - post(options?: ManagedClustersRotateServiceAccountSigningKeysParameters): StreamableMethod; + post(options?: ManagedClustersRotateServiceAccountSigningKeysParameters): StreamableMethod; } // @public export interface ManagedClustersRotateServiceAccountSigningKeys202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersRotateServiceAccountSigningKeys204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersRotateServiceAccountSigningKeysdefaultResponse extends HttpResponse { +export interface ManagedClustersRotateServiceAccountSigningKeysDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2238,7 +2186,7 @@ export type ManagedClustersRotateServiceAccountSigningKeysParameters = RequestPa // @public (undocumented) export interface ManagedClustersRunCommand { - post(options: ManagedClustersRunCommandParameters): StreamableMethod; + post(options: ManagedClustersRunCommandParameters): StreamableMethod; } // @public @@ -2251,8 +2199,6 @@ export interface ManagedClustersRunCommand200Response extends HttpResponse { // @public export interface ManagedClustersRunCommand202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2263,7 +2209,7 @@ export interface ManagedClustersRunCommandBodyParam { } // @public -export interface ManagedClustersRunCommanddefaultResponse extends HttpResponse { +export interface ManagedClustersRunCommandDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2280,27 +2226,23 @@ export type ManagedClustersRunCommandParameters = ManagedClustersRunCommandMedia // @public (undocumented) export interface ManagedClustersStart { - post(options?: ManagedClustersStartParameters): StreamableMethod; + post(options?: ManagedClustersStartParameters): StreamableMethod; } // @public export interface ManagedClustersStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersStart204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersStartdefaultResponse extends HttpResponse { +export interface ManagedClustersStartDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2312,27 +2254,23 @@ export type ManagedClustersStartParameters = RequestParameters; // @public (undocumented) export interface ManagedClustersStop { - post(options?: ManagedClustersStopParameters): StreamableMethod; + post(options?: ManagedClustersStopParameters): StreamableMethod; } // @public export interface ManagedClustersStop202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersStop204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersStopdefaultResponse extends HttpResponse { +export interface ManagedClustersStopDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2342,7 +2280,7 @@ export interface ManagedClustersStopdefaultResponse extends HttpResponse { // @public (undocumented) export type ManagedClustersStopParameters = RequestParameters; -// @public (undocumented) +// @public export interface ManagedClusterStorageProfile { blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriver; diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriver; @@ -2350,39 +2288,39 @@ export interface ManagedClusterStorageProfile { snapshotController?: ManagedClusterStorageProfileSnapshotController; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileBlobCSIDriver { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileBlobCSIDriverOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileDiskCSIDriver { enabled?: boolean; version?: string; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileDiskCSIDriverOutput { enabled?: boolean; version?: string; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileFileCSIDriver { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileFileCSIDriverOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileOutput { blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriverOutput; diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriverOutput; @@ -2390,12 +2328,12 @@ export interface ManagedClusterStorageProfileOutput { snapshotController?: ManagedClusterStorageProfileSnapshotControllerOutput; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileSnapshotController { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileSnapshotControllerOutput { enabled?: boolean; } @@ -2414,7 +2352,7 @@ export interface ManagedClustersUpdateTagsBodyParam { } // @public -export interface ManagedClustersUpdateTagsdefaultResponse extends HttpResponse { +export interface ManagedClustersUpdateTagsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2429,21 +2367,21 @@ export interface ManagedClustersUpdateTagsMediaTypesParam { // @public (undocumented) export type ManagedClustersUpdateTagsParameters = ManagedClustersUpdateTagsMediaTypesParam & ManagedClustersUpdateTagsBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ManagedClusterUpgradeProfileOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties: ManagedClusterUpgradeProfilePropertiesOutput; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface ManagedClusterUpgradeProfilePropertiesOutput { agentPoolProfiles: Array; controlPlaneProfile: ManagedClusterPoolUpgradeProfileOutput; } -// @public (undocumented) +// @public export interface ManagedClusterWindowsProfile { adminPassword?: string; adminUsername: string; @@ -2452,7 +2390,7 @@ export interface ManagedClusterWindowsProfile { licenseType?: "None" | "Windows_Server"; } -// @public (undocumented) +// @public export interface ManagedClusterWindowsProfileOutput { adminPassword?: string; adminUsername: string; @@ -2461,39 +2399,37 @@ export interface ManagedClusterWindowsProfileOutput { licenseType?: "None" | "Windows_Server"; } -// @public (undocumented) +// @public export interface ManagedClusterWorkloadAutoScalerProfile { keda?: ManagedClusterWorkloadAutoScalerProfileKeda; } -// @public (undocumented) +// @public export interface ManagedClusterWorkloadAutoScalerProfileKeda { enabled: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterWorkloadAutoScalerProfileKedaOutput { enabled: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterWorkloadAutoScalerProfileOutput { keda?: ManagedClusterWorkloadAutoScalerProfileKedaOutput; } // @public (undocumented) export interface ManagedServiceIdentityUserAssignedIdentitiesValue { - clientId?: string; - principalId?: string; } // @public (undocumented) export interface ManagedServiceIdentityUserAssignedIdentitiesValueOutput { - clientId?: string; - principalId?: string; + readonly clientId?: string; + readonly principalId?: string; } -// @public (undocumented) +// @public export interface NetworkProfileForSnapshot { loadBalancerSku?: "standard" | "basic"; networkMode?: "transparent" | "bridge"; @@ -2502,7 +2438,7 @@ export interface NetworkProfileForSnapshot { networkPolicy?: "calico" | "azure"; } -// @public (undocumented) +// @public export interface NetworkProfileForSnapshotOutput { loadBalancerSku?: "standard" | "basic"; networkMode?: "transparent" | "bridge"; @@ -2511,14 +2447,14 @@ export interface NetworkProfileForSnapshotOutput { networkPolicy?: "calico" | "azure"; } -// @public (undocumented) +// @public export interface OperationListResultOutput { - value?: Array; + readonly value?: Array; } // @public (undocumented) export interface OperationsList { - get(options?: OperationsListParameters): StreamableMethod; + get(options?: OperationsListParameters): StreamableMethod; } // @public @@ -2530,7 +2466,7 @@ export interface OperationsList200Response extends HttpResponse { } // @public -export interface OperationsListdefaultResponse extends HttpResponse { +export interface OperationsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2540,52 +2476,64 @@ export interface OperationsListdefaultResponse extends HttpResponse { // @public (undocumented) export type OperationsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface OperationValueDisplayOutput { - description?: string; - operation?: string; - provider?: string; - resource?: string; + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; } -// @public (undocumented) +// @public export interface OperationValueOutput { display?: OperationValueDisplayOutput; - name?: string; - origin?: string; + readonly name?: string; + readonly origin?: string; } -// @public (undocumented) +// @public export interface OSOptionProfileOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties: OSOptionPropertyListOutput; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface OSOptionPropertyListOutput { osOptionPropertyList: Array; } -// @public (undocumented) +// @public export interface OSOptionPropertyOutput { "enable-fips-image": boolean; "os-type": string; } -// @public (undocumented) +// @public export interface OutboundEnvironmentEndpointCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface OutboundEnvironmentEndpointOutput { category?: string; endpoints?: Array; } +// @public +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator; + next(): Promise>; +} + +// @public +export interface PageSettings { + continuationToken?: string; +} + // @public export function paginate(client: Client, initialResponse: TResponse, options?: PagingOptions): PagedAsyncIterableIterator>; @@ -2601,74 +2549,66 @@ export interface PagingOptions { customGetPage?: GetPage[]>; } -// @public (undocumented) +// @public export interface PowerState { code?: "Running" | "Stopped"; } -// @public (undocumented) +// @public export interface PowerStateOutput { code?: "Running" | "Stopped"; } -// @public (undocumented) +// @public export interface PrivateEndpoint { id?: string; } -// @public (undocumented) +// @public export interface PrivateEndpointConnection { - id?: string; - name?: string; properties?: PrivateEndpointConnectionProperties; - type?: string; } -// @public (undocumented) +// @public export interface PrivateEndpointConnectionListResultOutput { value?: Array; } -// @public (undocumented) +// @public export interface PrivateEndpointConnectionOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties?: PrivateEndpointConnectionPropertiesOutput; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface PrivateEndpointConnectionProperties { privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } -// @public (undocumented) +// @public export interface PrivateEndpointConnectionPropertiesOutput { privateEndpoint?: PrivateEndpointOutput; privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } // @public export interface PrivateEndpointConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PrivateEndpointConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface PrivateEndpointConnectionsDeletedefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2680,9 +2620,9 @@ export type PrivateEndpointConnectionsDeleteParameters = RequestParameters; // @public (undocumented) export interface PrivateEndpointConnectionsGet { - delete(options?: PrivateEndpointConnectionsDeleteParameters): StreamableMethod; - get(options?: PrivateEndpointConnectionsGetParameters): StreamableMethod; - put(options: PrivateEndpointConnectionsUpdateParameters): StreamableMethod; + delete(options?: PrivateEndpointConnectionsDeleteParameters): StreamableMethod; + get(options?: PrivateEndpointConnectionsGetParameters): StreamableMethod; + put(options: PrivateEndpointConnectionsUpdateParameters): StreamableMethod; } // @public @@ -2694,7 +2634,7 @@ export interface PrivateEndpointConnectionsGet200Response extends HttpResponse { } // @public -export interface PrivateEndpointConnectionsGetdefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2706,7 +2646,7 @@ export type PrivateEndpointConnectionsGetParameters = RequestParameters; // @public (undocumented) export interface PrivateEndpointConnectionsList { - get(options?: PrivateEndpointConnectionsListParameters): StreamableMethod; + get(options?: PrivateEndpointConnectionsListParameters): StreamableMethod; } // @public @@ -2718,7 +2658,7 @@ export interface PrivateEndpointConnectionsList200Response extends HttpResponse } // @public -export interface PrivateEndpointConnectionsListdefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2742,7 +2682,7 @@ export interface PrivateEndpointConnectionsUpdateBodyParam { } // @public -export interface PrivateEndpointConnectionsUpdatedefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2757,34 +2697,33 @@ export interface PrivateEndpointConnectionsUpdateMediaTypesParam { // @public (undocumented) export type PrivateEndpointConnectionsUpdateParameters = PrivateEndpointConnectionsUpdateMediaTypesParam & PrivateEndpointConnectionsUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface PrivateEndpointOutput { id?: string; } -// @public (undocumented) +// @public export interface PrivateLinkResource { groupId?: string; id?: string; name?: string; - privateLinkServiceID?: string; requiredMembers?: Array; type?: string; } -// @public (undocumented) +// @public export interface PrivateLinkResourceOutput { groupId?: string; id?: string; name?: string; - privateLinkServiceID?: string; + readonly privateLinkServiceID?: string; requiredMembers?: Array; type?: string; } // @public (undocumented) export interface PrivateLinkResourcesList { - get(options?: PrivateLinkResourcesListParameters): StreamableMethod; + get(options?: PrivateLinkResourcesListParameters): StreamableMethod; } // @public @@ -2796,7 +2735,7 @@ export interface PrivateLinkResourcesList200Response extends HttpResponse { } // @public -export interface PrivateLinkResourcesListdefaultResponse extends HttpResponse { +export interface PrivateLinkResourcesListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2806,18 +2745,18 @@ export interface PrivateLinkResourcesListdefaultResponse extends HttpResponse { // @public (undocumented) export type PrivateLinkResourcesListParameters = RequestParameters; -// @public (undocumented) +// @public export interface PrivateLinkResourcesListResultOutput { value?: Array; } -// @public (undocumented) +// @public export interface PrivateLinkServiceConnectionState { description?: string; status?: "Pending" | "Approved" | "Rejected" | "Disconnected"; } -// @public (undocumented) +// @public export interface PrivateLinkServiceConnectionStateOutput { description?: string; status?: "Pending" | "Approved" | "Rejected" | "Disconnected"; @@ -2825,7 +2764,7 @@ export interface PrivateLinkServiceConnectionStateOutput { // @public (undocumented) export interface ResolvePrivateLinkServiceIdPost { - post(options: ResolvePrivateLinkServiceIdPostParameters): StreamableMethod; + post(options: ResolvePrivateLinkServiceIdPostParameters): StreamableMethod; } // @public @@ -2842,7 +2781,7 @@ export interface ResolvePrivateLinkServiceIdPostBodyParam { } // @public -export interface ResolvePrivateLinkServiceIdPostdefaultResponse extends HttpResponse { +export interface ResolvePrivateLinkServiceIdPostDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2857,28 +2796,24 @@ export interface ResolvePrivateLinkServiceIdPostMediaTypesParam { // @public (undocumented) export type ResolvePrivateLinkServiceIdPostParameters = ResolvePrivateLinkServiceIdPostMediaTypesParam & ResolvePrivateLinkServiceIdPostBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface Resource { - id?: string; - name?: string; - systemData?: SystemData; - type?: string; } -// @public (undocumented) +// @public export interface ResourceOutput { - id?: string; - name?: string; - systemData?: SystemDataOutput; - type?: string; + readonly id?: string; + readonly name?: string; + readonly systemData?: SystemDataOutput; + readonly type?: string; } -// @public (undocumented) +// @public export interface ResourceReference { id?: string; } -// @public (undocumented) +// @public export interface ResourceReferenceOutput { id?: string; } @@ -2926,57 +2861,73 @@ export interface Routes { (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}", subscriptionId: string, resourceGroupName: string, resourceName: string, trustedAccessRoleBindingName: string): TrustedAccessRoleBindingsGet; } -// @public (undocumented) +// @public export interface RunCommandRequest { clusterToken?: string; command: string; context?: string; } -// @public (undocumented) +// @public export interface RunCommandResultOutput { - id?: string; + readonly id?: string; properties?: CommandResultPropertiesOutput; } -// @public (undocumented) +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + +// @public export interface Snapshot extends TrackedResource { properties?: SnapshotProperties; } -// @public (undocumented) +// @public export interface SnapshotListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface SnapshotOutput extends TrackedResourceOutput { properties?: SnapshotPropertiesOutput; } -// @public (undocumented) +// @public export interface SnapshotProperties { creationData?: CreationData; - enableFIPS?: boolean; - kubernetesVersion?: string; - nodeImageVersion?: string; - osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; - osType?: "Linux" | "Windows"; snapshotType?: "NodePool" | "ManagedCluster"; - vmSize?: string; } -// @public (undocumented) +// @public export interface SnapshotPropertiesOutput { creationData?: CreationDataOutput; - enableFIPS?: boolean; - kubernetesVersion?: string; - nodeImageVersion?: string; - osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; - osType?: "Linux" | "Windows"; + readonly enableFIPS?: boolean; + readonly kubernetesVersion?: string; + readonly nodeImageVersion?: string; + readonly osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; + readonly osType?: "Linux" | "Windows"; snapshotType?: "NodePool" | "ManagedCluster"; - vmSize?: string; + readonly vmSize?: string; } // @public @@ -3001,7 +2952,7 @@ export interface SnapshotsCreateOrUpdateBodyParam { } // @public -export interface SnapshotsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface SnapshotsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3018,22 +2969,18 @@ export type SnapshotsCreateOrUpdateParameters = SnapshotsCreateOrUpdateMediaType // @public export interface SnapshotsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SnapshotsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface SnapshotsDeletedefaultResponse extends HttpResponse { +export interface SnapshotsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3045,10 +2992,10 @@ export type SnapshotsDeleteParameters = RequestParameters; // @public (undocumented) export interface SnapshotsGet { - delete(options?: SnapshotsDeleteParameters): StreamableMethod; - get(options?: SnapshotsGetParameters): StreamableMethod; - patch(options: SnapshotsUpdateTagsParameters): StreamableMethod; - put(options: SnapshotsCreateOrUpdateParameters): StreamableMethod; + delete(options?: SnapshotsDeleteParameters): StreamableMethod; + get(options?: SnapshotsGetParameters): StreamableMethod; + patch(options: SnapshotsUpdateTagsParameters): StreamableMethod; + put(options: SnapshotsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -3060,7 +3007,7 @@ export interface SnapshotsGet200Response extends HttpResponse { } // @public -export interface SnapshotsGetdefaultResponse extends HttpResponse { +export interface SnapshotsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3072,7 +3019,7 @@ export type SnapshotsGetParameters = RequestParameters; // @public (undocumented) export interface SnapshotsList { - get(options?: SnapshotsListParameters): StreamableMethod; + get(options?: SnapshotsListParameters): StreamableMethod; } // @public @@ -3085,7 +3032,7 @@ export interface SnapshotsList200Response extends HttpResponse { // @public (undocumented) export interface SnapshotsListByResourceGroup { - get(options?: SnapshotsListByResourceGroupParameters): StreamableMethod; + get(options?: SnapshotsListByResourceGroupParameters): StreamableMethod; } // @public @@ -3097,7 +3044,7 @@ export interface SnapshotsListByResourceGroup200Response extends HttpResponse { } // @public -export interface SnapshotsListByResourceGroupdefaultResponse extends HttpResponse { +export interface SnapshotsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3108,7 +3055,7 @@ export interface SnapshotsListByResourceGroupdefaultResponse extends HttpRespons export type SnapshotsListByResourceGroupParameters = RequestParameters; // @public -export interface SnapshotsListdefaultResponse extends HttpResponse { +export interface SnapshotsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3132,7 +3079,7 @@ export interface SnapshotsUpdateTagsBodyParam { } // @public -export interface SnapshotsUpdateTagsdefaultResponse extends HttpResponse { +export interface SnapshotsUpdateTagsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3147,21 +3094,18 @@ export interface SnapshotsUpdateTagsMediaTypesParam { // @public (undocumented) export type SnapshotsUpdateTagsParameters = SnapshotsUpdateTagsMediaTypesParam & SnapshotsUpdateTagsBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface SubResource { - id?: string; - name?: string; - type?: string; } -// @public (undocumented) +// @public export interface SubResourceOutput { - id?: string; - name?: string; - type?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface SysctlConfig { fsAioMaxNr?: number; fsFileMax?: number; @@ -3193,7 +3137,7 @@ export interface SysctlConfig { vmVfsCachePressure?: number; } -// @public (undocumented) +// @public export interface SysctlConfigOutput { fsAioMaxNr?: number; fsFileMax?: number; @@ -3225,7 +3169,7 @@ export interface SysctlConfigOutput { vmVfsCachePressure?: number; } -// @public (undocumented) +// @public export interface SystemData { createdAt?: Date | string; createdBy?: string; @@ -3235,7 +3179,7 @@ export interface SystemData { lastModifiedByType?: "User" | "Application" | "ManagedIdentity" | "Key"; } -// @public (undocumented) +// @public export interface SystemDataOutput { createdAt?: string; createdBy?: string; @@ -3245,73 +3189,72 @@ export interface SystemDataOutput { lastModifiedByType?: "User" | "Application" | "ManagedIdentity" | "Key"; } -// @public (undocumented) +// @public export interface TagsObject { tags?: Record; } -// @public (undocumented) +// @public export interface TimeInWeek { day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; hourSlots?: Array; } -// @public (undocumented) +// @public export interface TimeInWeekOutput { day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; hourSlots?: Array; } -// @public (undocumented) +// @public export interface TimeSpan { end?: Date | string; start?: Date | string; } -// @public (undocumented) +// @public export interface TimeSpanOutput { end?: string; start?: string; } -// @public (undocumented) +// @public export interface TrackedResource extends Resource { location: string; tags?: Record; } -// @public (undocumented) +// @public export interface TrackedResourceOutput extends ResourceOutput { location: string; tags?: Record; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBinding extends Resource { properties: TrustedAccessRoleBindingProperties; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBindingListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBindingOutput extends ResourceOutput { properties: TrustedAccessRoleBindingPropertiesOutput; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBindingProperties { - provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; roles: Array; sourceResourceId: string; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBindingPropertiesOutput { - provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; roles: Array; sourceResourceId: string; } @@ -3330,7 +3273,7 @@ export interface TrustedAccessRoleBindingsCreateOrUpdateBodyParam { } // @public -export interface TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3347,22 +3290,18 @@ export type TrustedAccessRoleBindingsCreateOrUpdateParameters = TrustedAccessRol // @public export interface TrustedAccessRoleBindingsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface TrustedAccessRoleBindingsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface TrustedAccessRoleBindingsDeletedefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3374,9 +3313,9 @@ export type TrustedAccessRoleBindingsDeleteParameters = RequestParameters; // @public (undocumented) export interface TrustedAccessRoleBindingsGet { - delete(options?: TrustedAccessRoleBindingsDeleteParameters): StreamableMethod; - get(options?: TrustedAccessRoleBindingsGetParameters): StreamableMethod; - put(options: TrustedAccessRoleBindingsCreateOrUpdateParameters): StreamableMethod; + delete(options?: TrustedAccessRoleBindingsDeleteParameters): StreamableMethod; + get(options?: TrustedAccessRoleBindingsGetParameters): StreamableMethod; + put(options: TrustedAccessRoleBindingsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -3388,7 +3327,7 @@ export interface TrustedAccessRoleBindingsGet200Response extends HttpResponse { } // @public -export interface TrustedAccessRoleBindingsGetdefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3400,7 +3339,7 @@ export type TrustedAccessRoleBindingsGetParameters = RequestParameters; // @public (undocumented) export interface TrustedAccessRoleBindingsList { - get(options?: TrustedAccessRoleBindingsListParameters): StreamableMethod; + get(options?: TrustedAccessRoleBindingsListParameters): StreamableMethod; } // @public @@ -3412,7 +3351,7 @@ export interface TrustedAccessRoleBindingsList200Response extends HttpResponse { } // @public -export interface TrustedAccessRoleBindingsListdefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3422,31 +3361,31 @@ export interface TrustedAccessRoleBindingsListdefaultResponse extends HttpRespon // @public (undocumented) export type TrustedAccessRoleBindingsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface TrustedAccessRoleListResultOutput { - nextLink?: string; - value?: Array; + readonly nextLink?: string; + readonly value?: Array; } -// @public (undocumented) +// @public export interface TrustedAccessRoleOutput { - name?: string; - rules?: Array; - sourceResourceType?: string; + readonly name?: string; + readonly rules?: Array; + readonly sourceResourceType?: string; } -// @public (undocumented) +// @public export interface TrustedAccessRoleRuleOutput { - apiGroups?: Array; - nonResourceURLs?: Array; - resourceNames?: Array; - resources?: Array; - verbs?: Array; + readonly apiGroups?: Array; + readonly nonResourceURLs?: Array; + readonly resourceNames?: Array; + readonly resources?: Array; + readonly verbs?: Array; } // @public (undocumented) export interface TrustedAccessRolesList { - get(options?: TrustedAccessRolesListParameters): StreamableMethod; + get(options?: TrustedAccessRolesListParameters): StreamableMethod; } // @public @@ -3458,7 +3397,7 @@ export interface TrustedAccessRolesList200Response extends HttpResponse { } // @public -export interface TrustedAccessRolesListdefaultResponse extends HttpResponse { +export interface TrustedAccessRolesListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3468,28 +3407,28 @@ export interface TrustedAccessRolesListdefaultResponse extends HttpResponse { // @public (undocumented) export type TrustedAccessRolesListParameters = RequestParameters; -// @public (undocumented) +// @public export interface UserAssignedIdentity { clientId?: string; objectId?: string; resourceId?: string; } -// @public (undocumented) +// @public export interface UserAssignedIdentityOutput { clientId?: string; objectId?: string; resourceId?: string; } -// @public (undocumented) +// @public export interface WindowsGmsaProfile { dnsServer?: string; enabled?: boolean; rootDomainName?: string; } -// @public (undocumented) +// @public export interface WindowsGmsaProfileOutput { dnsServer?: string; enabled?: boolean; diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersCreateOrUpdateSample.ts index a789923e32f0..e520536ff9b0 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersCreateOrUpdateSample.ts @@ -79,7 +79,7 @@ async function associateManagedClusterWithCapacityReservationGroup() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -138,7 +138,7 @@ async function createManagedClusterUsingAManagedClusterSnapshot() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -213,7 +213,7 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -282,7 +282,7 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -352,7 +352,7 @@ async function createManagedClusterWithCustomCaTrustEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -423,7 +423,7 @@ async function createManagedClusterWithDedicatedHostGroup() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -493,7 +493,7 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -564,7 +564,7 @@ async function createManagedClusterWithFipsEnabledOS() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -640,7 +640,7 @@ async function createManagedClusterWithGpumig() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -716,7 +716,7 @@ async function createManagedClusterWithHttpProxyConfigured() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -788,7 +788,7 @@ async function createManagedClusterWithNodePublicIPPrefix() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -865,7 +865,7 @@ async function createManagedClusterWithOssku() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -936,7 +936,7 @@ async function createManagedClusterWithPpg() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1007,7 +1007,7 @@ async function createManagedClusterWithPodIdentityEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1077,7 +1077,7 @@ async function createManagedClusterWithRunCommandDisabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1142,7 +1142,7 @@ async function createManagedClusterWithSecurityProfileConfigured() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1213,7 +1213,7 @@ async function createManagedClusterWithUltraSsdEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1280,7 +1280,7 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1349,7 +1349,7 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1422,7 +1422,7 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1496,7 +1496,7 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1567,7 +1567,7 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1653,7 +1653,7 @@ async function createOrUpdateManagedCluster() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1733,7 +1733,7 @@ async function createOrUpdateManagedClusterWithEnableAhub() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1805,7 +1805,7 @@ async function createOrUpdateManagedClusterWithEnableNamespaceResources() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1883,7 +1883,7 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1970,7 +1970,7 @@ async function createOrUpdateManagedClusterWithDualStackNetworking() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetAadProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetAadProfileSample.ts index d2f185a8e1f0..c9d31166dc7a 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetAadProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetAadProfileSample.ts @@ -43,7 +43,7 @@ async function resetAadProfile() { resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetServicePrincipalProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetServicePrincipalProfileSample.ts index 47503daa34ca..4ab822ccddaa 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetServicePrincipalProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetServicePrincipalProfileSample.ts @@ -40,7 +40,7 @@ async function resetServicePrincipalProfile() { resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateClusterCertificatesSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateClusterCertificatesSample.ts index 5462e1152136..a90625c4bf66 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateClusterCertificatesSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateClusterCertificatesSample.ts @@ -33,7 +33,7 @@ async function rotateClusterCertificates() { resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts index dd0611c06f06..20ac89bb5807 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts @@ -33,7 +33,7 @@ async function rotateClusterServiceAccountSigningKeys() { resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRunCommandSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRunCommandSample.ts index 3d8b0f9527e5..9b07ec9785b6 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRunCommandSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRunCommandSample.ts @@ -41,7 +41,7 @@ async function submitNewCommand() { resourceName, ) .post(requestPayload); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStartSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStartSample.ts index 583db6b877ce..5bc4155eec33 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStartSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStartSample.ts @@ -33,7 +33,7 @@ async function startManagedCluster() { resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStopSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStopSample.ts index ff3db540a929..f45cd16a78c6 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStopSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStopSample.ts @@ -33,7 +33,7 @@ async function stopManagedCluster() { resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersUpdateTagsSample.ts index 1c9500e5a253..2c8ca00c791f 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersUpdateTagsSample.ts @@ -39,7 +39,7 @@ async function updateManagedClusterTags() { resourceName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md index a50f72c87932..2ba1ea6ae3a3 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md @@ -2,29 +2,29 @@ These sample programs show how to use the JavaScript client libraries for Azure AKS rest in some common scenarios. -| **File Name** | **Description** | -| --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [managedClustersCreateOrUpdateSample.js][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersAssociate_CRG.json | -| [managedClustersDeleteSample.js][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersDelete.json | -| [managedClustersGetAccessProfileSample.js][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://learn.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://learn.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetAccessProfile.json | -| [managedClustersGetCommandResultSample.js][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandResultFailed.json | -| [managedClustersGetOSOptionsSample.js][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ContainerServiceGetOSOptions.json | -| [managedClustersGetSample.js][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGet.json | -| [managedClustersGetUpgradeProfileSample.js][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetUpgradeProfile.json | -| [managedClustersListByResourceGroupSample.js][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListByResourceGroup.json | -| [managedClustersListClusterAdminCredentialsSample.js][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListClusterMonitoringUserCredentialsSample.js][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListClusterUserCredentialsSample.js][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListOutboundNetworkDependenciesEndpointsSample.js][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | -| [managedClustersListSample.js][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersList.json | -| [managedClustersResetAadProfileSample.js][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetAADProfile.json | -| [managedClustersResetServicePrincipalProfileSample.js][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | -| [managedClustersRotateClusterCertificatesSample.js][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://learn.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateClusterCertificates.json | -| [managedClustersRotateServiceAccountSigningKeysSample.js][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | -| [managedClustersRunCommandSample.js][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://learn.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandRequest.json | -| [managedClustersStartSample.js][managedclustersstartsample] | See [starting a cluster](https://learn.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStart.json | -| [managedClustersStopSample.js][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://learn.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStop.json | -| [managedClustersUpdateTagsSample.js][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersUpdateTags.json | +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [managedClustersCreateOrUpdateSample.js][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersAssociate_CRG.json | +| [managedClustersDeleteSample.js][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersDelete.json | +| [managedClustersGetAccessProfileSample.js][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetAccessProfile.json | +| [managedClustersGetCommandResultSample.js][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandResultFailed.json | +| [managedClustersGetOSOptionsSample.js][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ContainerServiceGetOSOptions.json | +| [managedClustersGetSample.js][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGet.json | +| [managedClustersGetUpgradeProfileSample.js][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetUpgradeProfile.json | +| [managedClustersListByResourceGroupSample.js][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListByResourceGroup.json | +| [managedClustersListClusterAdminCredentialsSample.js][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterMonitoringUserCredentialsSample.js][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterUserCredentialsSample.js][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListOutboundNetworkDependenciesEndpointsSample.js][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | +| [managedClustersListSample.js][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersList.json | +| [managedClustersResetAadProfileSample.js][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetAADProfile.json | +| [managedClustersResetServicePrincipalProfileSample.js][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | +| [managedClustersRotateClusterCertificatesSample.js][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateClusterCertificates.json | +| [managedClustersRotateServiceAccountSigningKeysSample.js][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | +| [managedClustersRunCommandSample.js][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandRequest.json | +| [managedClustersStartSample.js][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStart.json | +| [managedClustersStopSample.js][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStop.json | +| [managedClustersUpdateTagsSample.js][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersUpdateTags.json | ## Prerequisites @@ -85,6 +85,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [managedclustersstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js [managedclustersstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js [managedclustersupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js -[apiref]: https://learn.microsoft.com/rest/api/aks +[apiref]: https://docs.microsoft.com/rest/api/aks [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice-rest/README.md diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersCreateOrUpdateSample.js index b42683ff9012..1e441839e483 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersCreateOrUpdateSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersCreateOrUpdateSample.js @@ -73,10 +73,10 @@ async function associateManagedClusterWithCapacityReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -132,10 +132,10 @@ async function createManagedClusterUsingAManagedClusterSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -207,10 +207,10 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -276,10 +276,10 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -346,10 +346,10 @@ async function createManagedClusterWithCustomCaTrustEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -417,10 +417,10 @@ async function createManagedClusterWithDedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -487,10 +487,10 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -558,10 +558,10 @@ async function createManagedClusterWithFipsEnabledOS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -634,10 +634,10 @@ async function createManagedClusterWithGpumig() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -710,10 +710,10 @@ async function createManagedClusterWithHttpProxyConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -782,10 +782,10 @@ async function createManagedClusterWithNodePublicIPPrefix() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -859,10 +859,10 @@ async function createManagedClusterWithOssku() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -930,10 +930,10 @@ async function createManagedClusterWithPpg() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1001,10 +1001,10 @@ async function createManagedClusterWithPodIdentityEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1071,10 +1071,10 @@ async function createManagedClusterWithRunCommandDisabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1136,10 +1136,10 @@ async function createManagedClusterWithSecurityProfileConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1207,10 +1207,10 @@ async function createManagedClusterWithUltraSsdEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1274,10 +1274,10 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1343,10 +1343,10 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1416,10 +1416,10 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1490,10 +1490,10 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1561,10 +1561,10 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1647,10 +1647,10 @@ async function createOrUpdateManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1727,10 +1727,10 @@ async function createOrUpdateManagedClusterWithEnableAhub() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1799,10 +1799,10 @@ async function createOrUpdateManagedClusterWithEnableNamespaceResources() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1877,10 +1877,10 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1964,10 +1964,10 @@ async function createOrUpdateManagedClusterWithDualStackNetworking() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersDeleteSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersDeleteSample.js index 3ef9bd5d38d5..8a9e96f38be3 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersDeleteSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersDeleteSample.js @@ -28,7 +28,7 @@ async function deleteManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .delete(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetAccessProfileSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetAccessProfileSample.js index 287e3354c147..57bed73475c5 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetAccessProfileSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetAccessProfileSample.js @@ -30,7 +30,7 @@ async function getManagedCluster() { subscriptionId, resourceGroupName, resourceName, - roleName + roleName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetCommandResultSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetCommandResultSample.js index 8076b185ae5d..8b16508a97f4 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetCommandResultSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetCommandResultSample.js @@ -30,7 +30,7 @@ async function commandFailedResult() { subscriptionId, resourceGroupName, resourceName, - commandId + commandId, ) .get(); console.log(result); @@ -57,7 +57,7 @@ async function commandSucceedResult() { subscriptionId, resourceGroupName, resourceName, - commandId + commandId, ) .get(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetOSOptionsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetOSOptionsSample.js index eec194a1970a..122628b7465a 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetOSOptionsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetOSOptionsSample.js @@ -25,7 +25,7 @@ async function getContainerServiceOSOptions() { const result = await client.path( "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default", subscriptionId, - location + location, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetSample.js index ab1e98549c4b..c71bc708e98d 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetSample.js @@ -27,7 +27,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetUpgradeProfileSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetUpgradeProfileSample.js index 0edf4695cdee..e425b8018101 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetUpgradeProfileSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetUpgradeProfileSample.js @@ -27,7 +27,7 @@ async function getUpgradeProfileForManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default", subscriptionId, resourceGroupName, - resourceName + resourceName, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListByResourceGroupSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListByResourceGroupSample.js index 7e4152a95d15..96edc98d3fda 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListByResourceGroupSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListByResourceGroupSample.js @@ -27,7 +27,7 @@ async function getManagedClustersByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterAdminCredentialsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterAdminCredentialsSample.js index cff50eddcb38..548cd7e73f90 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterAdminCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterAdminCredentialsSample.js @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js index 3ec6f4c1b627..b314a8a8069f 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterUserCredentialsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterUserCredentialsSample.js index 3fe48c1e72f2..dee3b6ef21bd 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterUserCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterUserCredentialsSample.js @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js index c58d9f486927..8632e9d2acce 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js @@ -29,7 +29,7 @@ async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListSample.js index fd91280eb81d..c45fcfaee78d 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListSample.js @@ -25,7 +25,7 @@ async function listManagedClusters() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters", - subscriptionId + subscriptionId, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetAadProfileSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetAadProfileSample.js index e25d54ec4813..599ce04b71b1 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetAadProfileSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetAadProfileSample.js @@ -38,10 +38,10 @@ async function resetAadProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetServicePrincipalProfileSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetServicePrincipalProfileSample.js index a2b34093aad5..a83f7ec6cf21 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetServicePrincipalProfileSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetServicePrincipalProfileSample.js @@ -35,10 +35,10 @@ async function resetServicePrincipalProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateClusterCertificatesSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateClusterCertificatesSample.js index 17e05884b3d1..22c770573876 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateClusterCertificatesSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateClusterCertificatesSample.js @@ -29,10 +29,10 @@ async function rotateClusterCertificates() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js index 193c59151d5d..ea92646b63bf 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js @@ -29,10 +29,10 @@ async function rotateClusterServiceAccountSigningKeys() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRunCommandSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRunCommandSample.js index 088031ed8886..1138044f45eb 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRunCommandSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRunCommandSample.js @@ -36,10 +36,10 @@ async function submitNewCommand() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(requestPayload); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js index bce7a5f24c7e..3d7a2a4542e4 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js @@ -29,10 +29,10 @@ async function startManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js index 8e6b22f991ae..4ac84f686817 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js @@ -29,10 +29,10 @@ async function stopManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js index db47e945b778..83a4b2fd3fb0 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js @@ -34,10 +34,10 @@ async function updateManagedClusterTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/package.json b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/package.json index e76971a0c83c..f0cd01bda3e1 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/package.json +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/package.json @@ -28,6 +28,6 @@ "dependencies": { "@azure-rest/arm-containerservice": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" } } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md index c5914ac96ff9..5aba816a637f 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md @@ -2,29 +2,29 @@ These sample programs show how to use the TypeScript client libraries for Azure AKS rest in some common scenarios. -| **File Name** | **Description** | -| --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [managedClustersCreateOrUpdateSample.ts][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersAssociate_CRG.json | -| [managedClustersDeleteSample.ts][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersDelete.json | -| [managedClustersGetAccessProfileSample.ts][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://learn.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://learn.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetAccessProfile.json | -| [managedClustersGetCommandResultSample.ts][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandResultFailed.json | -| [managedClustersGetOSOptionsSample.ts][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ContainerServiceGetOSOptions.json | -| [managedClustersGetSample.ts][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGet.json | -| [managedClustersGetUpgradeProfileSample.ts][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetUpgradeProfile.json | -| [managedClustersListByResourceGroupSample.ts][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListByResourceGroup.json | -| [managedClustersListClusterAdminCredentialsSample.ts][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListClusterMonitoringUserCredentialsSample.ts][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListClusterUserCredentialsSample.ts][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListOutboundNetworkDependenciesEndpointsSample.ts][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | -| [managedClustersListSample.ts][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersList.json | -| [managedClustersResetAadProfileSample.ts][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetAADProfile.json | -| [managedClustersResetServicePrincipalProfileSample.ts][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | -| [managedClustersRotateClusterCertificatesSample.ts][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://learn.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateClusterCertificates.json | -| [managedClustersRotateServiceAccountSigningKeysSample.ts][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | -| [managedClustersRunCommandSample.ts][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://learn.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandRequest.json | -| [managedClustersStartSample.ts][managedclustersstartsample] | See [starting a cluster](https://learn.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStart.json | -| [managedClustersStopSample.ts][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://learn.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStop.json | -| [managedClustersUpdateTagsSample.ts][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersUpdateTags.json | +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [managedClustersCreateOrUpdateSample.ts][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersAssociate_CRG.json | +| [managedClustersDeleteSample.ts][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersDelete.json | +| [managedClustersGetAccessProfileSample.ts][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetAccessProfile.json | +| [managedClustersGetCommandResultSample.ts][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandResultFailed.json | +| [managedClustersGetOSOptionsSample.ts][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ContainerServiceGetOSOptions.json | +| [managedClustersGetSample.ts][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGet.json | +| [managedClustersGetUpgradeProfileSample.ts][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetUpgradeProfile.json | +| [managedClustersListByResourceGroupSample.ts][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListByResourceGroup.json | +| [managedClustersListClusterAdminCredentialsSample.ts][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterMonitoringUserCredentialsSample.ts][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterUserCredentialsSample.ts][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListOutboundNetworkDependenciesEndpointsSample.ts][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | +| [managedClustersListSample.ts][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersList.json | +| [managedClustersResetAadProfileSample.ts][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetAADProfile.json | +| [managedClustersResetServicePrincipalProfileSample.ts][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | +| [managedClustersRotateClusterCertificatesSample.ts][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateClusterCertificates.json | +| [managedClustersRotateServiceAccountSigningKeysSample.ts][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | +| [managedClustersRunCommandSample.ts][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandRequest.json | +| [managedClustersStartSample.ts][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStart.json | +| [managedClustersStopSample.ts][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStop.json | +| [managedClustersUpdateTagsSample.ts][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersUpdateTags.json | ## Prerequisites @@ -97,7 +97,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [managedclustersstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts [managedclustersstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts [managedclustersupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts -[apiref]: https://learn.microsoft.com/rest/api/aks +[apiref]: https://docs.microsoft.com/rest/api/aks [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/package.json b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/package.json index a64b7bfc094f..911f4eb22a42 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/package.json +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/package.json @@ -32,11 +32,11 @@ "dependencies": { "@azure-rest/arm-containerservice": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" }, "devDependencies": { "@types/node": "^18.0.0", - "typescript": "~5.7.2", + "typescript": "~5.6.2", "rimraf": "latest" } } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersCreateOrUpdateSample.ts index 82143aa51e74..e520536ff9b0 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersCreateOrUpdateSample.ts @@ -76,10 +76,10 @@ async function associateManagedClusterWithCapacityReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -135,10 +135,10 @@ async function createManagedClusterUsingAManagedClusterSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,10 +210,10 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -279,10 +279,10 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -349,10 +349,10 @@ async function createManagedClusterWithCustomCaTrustEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -420,10 +420,10 @@ async function createManagedClusterWithDedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -490,10 +490,10 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -561,10 +561,10 @@ async function createManagedClusterWithFipsEnabledOS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -637,10 +637,10 @@ async function createManagedClusterWithGpumig() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -713,10 +713,10 @@ async function createManagedClusterWithHttpProxyConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -785,10 +785,10 @@ async function createManagedClusterWithNodePublicIPPrefix() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -862,10 +862,10 @@ async function createManagedClusterWithOssku() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -933,10 +933,10 @@ async function createManagedClusterWithPpg() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1004,10 +1004,10 @@ async function createManagedClusterWithPodIdentityEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1074,10 +1074,10 @@ async function createManagedClusterWithRunCommandDisabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1139,10 +1139,10 @@ async function createManagedClusterWithSecurityProfileConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1210,10 +1210,10 @@ async function createManagedClusterWithUltraSsdEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1277,10 +1277,10 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1346,10 +1346,10 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1419,10 +1419,10 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1493,10 +1493,10 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1564,10 +1564,10 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1635,7 +1635,8 @@ async function createOrUpdateManagedCluster() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, }, }, sku: { name: "Basic", tier: "Free" }, @@ -1649,10 +1650,10 @@ async function createOrUpdateManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1711,7 +1712,8 @@ async function createOrUpdateManagedClusterWithEnableAhub() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, }, }, @@ -1728,10 +1730,10 @@ async function createOrUpdateManagedClusterWithEnableAhub() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1800,10 +1802,10 @@ async function createOrUpdateManagedClusterWithEnableNamespaceResources() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1862,7 +1864,8 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, }, }, location: "location1", @@ -1877,10 +1880,10 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1948,7 +1951,8 @@ async function createOrUpdateManagedClusterWithDualStackNetworking() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, }, }, location: "location1", @@ -1963,10 +1967,10 @@ async function createOrUpdateManagedClusterWithDualStackNetworking() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersDeleteSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersDeleteSample.ts index e852d52f88a0..d606fb6c9cb2 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersDeleteSample.ts @@ -30,7 +30,7 @@ async function deleteManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .delete(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetAccessProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetAccessProfileSample.ts index 65220e225fb6..8543904a96a1 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetAccessProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetAccessProfileSample.ts @@ -30,7 +30,7 @@ async function getManagedCluster() { subscriptionId, resourceGroupName, resourceName, - roleName + roleName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetCommandResultSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetCommandResultSample.ts index 9a9ecbbb5411..15dda9e078ea 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetCommandResultSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetCommandResultSample.ts @@ -30,7 +30,7 @@ async function commandFailedResult() { subscriptionId, resourceGroupName, resourceName, - commandId + commandId, ) .get(); console.log(result); @@ -57,7 +57,7 @@ async function commandSucceedResult() { subscriptionId, resourceGroupName, resourceName, - commandId + commandId, ) .get(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetOSOptionsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetOSOptionsSample.ts index ef89073eb8d5..db0e498f5325 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetOSOptionsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetOSOptionsSample.ts @@ -25,7 +25,7 @@ async function getContainerServiceOSOptions() { const result = await client.path( "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default", subscriptionId, - location + location, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetSample.ts index 2911c2087756..e8310b8e7f1e 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetSample.ts @@ -27,7 +27,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts index 1215dbed2f56..3dd13659dc01 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts @@ -27,7 +27,7 @@ async function getUpgradeProfileForManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default", subscriptionId, resourceGroupName, - resourceName + resourceName, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListByResourceGroupSample.ts index 27310b553357..eef1fc081141 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListByResourceGroupSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListByResourceGroupSample.ts @@ -26,7 +26,7 @@ async function getManagedClustersByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts index f8d3a8c20c9d..3baec6f5310e 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts index 28607d00909f..c4e0d0abaf62 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts index 5483c2d1422c..17871d5e64b3 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts index fcc9ceded55d..145c4d55513b 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts @@ -28,7 +28,7 @@ async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListSample.ts index 49a2a91b33bd..a412d2e158b4 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListSample.ts @@ -24,7 +24,7 @@ async function listManagedClusters() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters", - subscriptionId + subscriptionId, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetAadProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetAadProfileSample.ts index c700b2a1c1ac..c9d31166dc7a 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetAadProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetAadProfileSample.ts @@ -40,10 +40,10 @@ async function resetAadProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts index e691b043b163..4ab822ccddaa 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts @@ -37,10 +37,10 @@ async function resetServicePrincipalProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts index 4c919166149c..a90625c4bf66 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts @@ -30,10 +30,10 @@ async function rotateClusterCertificates() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts index da72f21f64b3..20ac89bb5807 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts @@ -30,10 +30,10 @@ async function rotateClusterServiceAccountSigningKeys() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRunCommandSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRunCommandSample.ts index b1f5f02ed13d..9b07ec9785b6 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRunCommandSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRunCommandSample.ts @@ -38,10 +38,10 @@ async function submitNewCommand() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(requestPayload); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts index 5aa91e71fe91..5bc4155eec33 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts @@ -30,10 +30,10 @@ async function startManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts index 06627cea9649..f45cd16a78c6 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts @@ -30,10 +30,10 @@ async function stopManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts index 9d194b5c5f17..2c8ca00c791f 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts @@ -36,10 +36,10 @@ async function updateManagedClusterTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/tsconfig.json b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/tsconfig.json index ad5ff9a19d36..984eed535aa8 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/tsconfig.json +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2020", "module": "commonjs", "moduleResolution": "node", "resolveJsonModule": true, diff --git a/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts b/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts index 9d999c903da4..3b6d22527568 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts @@ -1,204 +1,206 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { - AgentPoolsCreateOrUpdateParameters, - AgentPoolsDeleteParameters, - AgentPoolsGetAvailableAgentPoolVersionsParameters, - AgentPoolsGetParameters, - AgentPoolsGetUpgradeProfileParameters, - AgentPoolsListParameters, - AgentPoolsUpgradeNodeImageVersionParameters, - MaintenanceConfigurationsCreateOrUpdateParameters, - MaintenanceConfigurationsDeleteParameters, - MaintenanceConfigurationsGetParameters, - MaintenanceConfigurationsListByManagedClusterParameters, - ManagedClusterSnapshotsCreateOrUpdateParameters, - ManagedClusterSnapshotsDeleteParameters, - ManagedClusterSnapshotsGetParameters, - ManagedClusterSnapshotsListByResourceGroupParameters, - ManagedClusterSnapshotsListParameters, - ManagedClusterSnapshotsUpdateTagsParameters, - ManagedClustersCreateOrUpdateParameters, - ManagedClustersDeleteParameters, - ManagedClustersGetAccessProfileParameters, - ManagedClustersGetCommandResultParameters, +import { + OperationsListParameters, ManagedClustersGetOSOptionsParameters, - ManagedClustersGetParameters, - ManagedClustersGetUpgradeProfileParameters, + ManagedClustersListParameters, ManagedClustersListByResourceGroupParameters, + ManagedClustersGetUpgradeProfileParameters, + ManagedClustersGetAccessProfileParameters, ManagedClustersListClusterAdminCredentialsParameters, - ManagedClustersListClusterMonitoringUserCredentialsParameters, ManagedClustersListClusterUserCredentialsParameters, - ManagedClustersListOutboundNetworkDependenciesEndpointsParameters, - ManagedClustersListParameters, - ManagedClustersResetAADProfileParameters, + ManagedClustersListClusterMonitoringUserCredentialsParameters, + ManagedClustersGetParameters, + ManagedClustersCreateOrUpdateParameters, + ManagedClustersUpdateTagsParameters, + ManagedClustersDeleteParameters, ManagedClustersResetServicePrincipalProfileParameters, + ManagedClustersResetAADProfileParameters, ManagedClustersRotateClusterCertificatesParameters, ManagedClustersRotateServiceAccountSigningKeysParameters, - ManagedClustersRunCommandParameters, - ManagedClustersStartParameters, ManagedClustersStopParameters, - ManagedClustersUpdateTagsParameters, - OperationsListParameters, - PrivateEndpointConnectionsDeleteParameters, - PrivateEndpointConnectionsGetParameters, + ManagedClustersStartParameters, + ManagedClustersRunCommandParameters, + ManagedClustersGetCommandResultParameters, + ManagedClustersListOutboundNetworkDependenciesEndpointsParameters, + MaintenanceConfigurationsListByManagedClusterParameters, + MaintenanceConfigurationsGetParameters, + MaintenanceConfigurationsCreateOrUpdateParameters, + MaintenanceConfigurationsDeleteParameters, + AgentPoolsListParameters, + AgentPoolsGetParameters, + AgentPoolsCreateOrUpdateParameters, + AgentPoolsDeleteParameters, + AgentPoolsGetUpgradeProfileParameters, + AgentPoolsGetAvailableAgentPoolVersionsParameters, + AgentPoolsUpgradeNodeImageVersionParameters, PrivateEndpointConnectionsListParameters, + PrivateEndpointConnectionsGetParameters, PrivateEndpointConnectionsUpdateParameters, + PrivateEndpointConnectionsDeleteParameters, PrivateLinkResourcesListParameters, ResolvePrivateLinkServiceIdPostParameters, - SnapshotsCreateOrUpdateParameters, - SnapshotsDeleteParameters, - SnapshotsGetParameters, - SnapshotsListByResourceGroupParameters, SnapshotsListParameters, + SnapshotsListByResourceGroupParameters, + SnapshotsGetParameters, + SnapshotsCreateOrUpdateParameters, SnapshotsUpdateTagsParameters, + SnapshotsDeleteParameters, + ManagedClusterSnapshotsListParameters, + ManagedClusterSnapshotsListByResourceGroupParameters, + ManagedClusterSnapshotsGetParameters, + ManagedClusterSnapshotsCreateOrUpdateParameters, + ManagedClusterSnapshotsUpdateTagsParameters, + ManagedClusterSnapshotsDeleteParameters, + TrustedAccessRolesListParameters, + TrustedAccessRoleBindingsListParameters, + TrustedAccessRoleBindingsGetParameters, TrustedAccessRoleBindingsCreateOrUpdateParameters, TrustedAccessRoleBindingsDeleteParameters, - TrustedAccessRoleBindingsGetParameters, - TrustedAccessRoleBindingsListParameters, - TrustedAccessRolesListParameters, } from "./parameters"; -import type { - AgentPoolsCreateOrUpdate200Response, - AgentPoolsCreateOrUpdate201Response, - AgentPoolsCreateOrUpdatedefaultResponse, - AgentPoolsDelete202Response, - AgentPoolsDelete204Response, - AgentPoolsDeletedefaultResponse, - AgentPoolsGet200Response, - AgentPoolsGetAvailableAgentPoolVersions200Response, - AgentPoolsGetUpgradeProfile200Response, - AgentPoolsGetUpgradeProfiledefaultResponse, - AgentPoolsGetdefaultResponse, - AgentPoolsList200Response, - AgentPoolsListdefaultResponse, - AgentPoolsUpgradeNodeImageVersion200Response, - AgentPoolsUpgradeNodeImageVersion202Response, - AgentPoolsUpgradeNodeImageVersiondefaultResponse, - MaintenanceConfigurationsCreateOrUpdate200Response, - MaintenanceConfigurationsCreateOrUpdatedefaultResponse, - MaintenanceConfigurationsDelete200Response, - MaintenanceConfigurationsDelete204Response, - MaintenanceConfigurationsDeletedefaultResponse, - MaintenanceConfigurationsGet200Response, - MaintenanceConfigurationsGetdefaultResponse, - MaintenanceConfigurationsListByManagedCluster200Response, - MaintenanceConfigurationsListByManagedClusterdefaultResponse, - ManagedClusterSnapshotsCreateOrUpdate200Response, - ManagedClusterSnapshotsCreateOrUpdate201Response, - ManagedClusterSnapshotsCreateOrUpdatedefaultResponse, - ManagedClusterSnapshotsDelete200Response, - ManagedClusterSnapshotsDelete204Response, - ManagedClusterSnapshotsDeletedefaultResponse, - ManagedClusterSnapshotsGet200Response, - ManagedClusterSnapshotsGetdefaultResponse, - ManagedClusterSnapshotsList200Response, - ManagedClusterSnapshotsListByResourceGroup200Response, - ManagedClusterSnapshotsListByResourceGroupdefaultResponse, - ManagedClusterSnapshotsListdefaultResponse, - ManagedClusterSnapshotsUpdateTags200Response, - ManagedClusterSnapshotsUpdateTagsdefaultResponse, - ManagedClustersCreateOrUpdate200Response, - ManagedClustersCreateOrUpdate201Response, - ManagedClustersCreateOrUpdatedefaultResponse, - ManagedClustersDelete202Response, - ManagedClustersDelete204Response, - ManagedClustersDeletedefaultResponse, - ManagedClustersGet200Response, - ManagedClustersGetAccessProfile200Response, - ManagedClustersGetAccessProfiledefaultResponse, - ManagedClustersGetCommandResult200Response, - ManagedClustersGetCommandResult202Response, - ManagedClustersGetCommandResultdefaultResponse, +import { + OperationsList200Response, + OperationsListDefaultResponse, ManagedClustersGetOSOptions200Response, - ManagedClustersGetOSOptionsdefaultResponse, - ManagedClustersGetUpgradeProfile200Response, - ManagedClustersGetUpgradeProfiledefaultResponse, - ManagedClustersGetdefaultResponse, + ManagedClustersGetOSOptionsDefaultResponse, ManagedClustersList200Response, + ManagedClustersListDefaultResponse, ManagedClustersListByResourceGroup200Response, - ManagedClustersListByResourceGroupdefaultResponse, + ManagedClustersListByResourceGroupDefaultResponse, + ManagedClustersGetUpgradeProfile200Response, + ManagedClustersGetUpgradeProfileDefaultResponse, + ManagedClustersGetAccessProfile200Response, + ManagedClustersGetAccessProfileDefaultResponse, ManagedClustersListClusterAdminCredentials200Response, - ManagedClustersListClusterAdminCredentialsdefaultResponse, - ManagedClustersListClusterMonitoringUserCredentials200Response, - ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse, + ManagedClustersListClusterAdminCredentialsDefaultResponse, ManagedClustersListClusterUserCredentials200Response, - ManagedClustersListClusterUserCredentialsdefaultResponse, - ManagedClustersListOutboundNetworkDependenciesEndpoints200Response, - ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse, - ManagedClustersListdefaultResponse, - ManagedClustersResetAADProfile200Response, - ManagedClustersResetAADProfile202Response, - ManagedClustersResetAADProfiledefaultResponse, + ManagedClustersListClusterUserCredentialsDefaultResponse, + ManagedClustersListClusterMonitoringUserCredentials200Response, + ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse, + ManagedClustersGet200Response, + ManagedClustersGetDefaultResponse, + ManagedClustersCreateOrUpdate200Response, + ManagedClustersCreateOrUpdate201Response, + ManagedClustersCreateOrUpdateDefaultResponse, + ManagedClustersUpdateTags200Response, + ManagedClustersUpdateTagsDefaultResponse, + ManagedClustersDelete202Response, + ManagedClustersDelete204Response, + ManagedClustersDeleteDefaultResponse, ManagedClustersResetServicePrincipalProfile200Response, ManagedClustersResetServicePrincipalProfile202Response, - ManagedClustersResetServicePrincipalProfiledefaultResponse, + ManagedClustersResetServicePrincipalProfileDefaultResponse, + ManagedClustersResetAADProfile200Response, + ManagedClustersResetAADProfile202Response, + ManagedClustersResetAADProfileDefaultResponse, ManagedClustersRotateClusterCertificates202Response, ManagedClustersRotateClusterCertificates204Response, - ManagedClustersRotateClusterCertificatesdefaultResponse, + ManagedClustersRotateClusterCertificatesDefaultResponse, ManagedClustersRotateServiceAccountSigningKeys202Response, ManagedClustersRotateServiceAccountSigningKeys204Response, - ManagedClustersRotateServiceAccountSigningKeysdefaultResponse, - ManagedClustersRunCommand200Response, - ManagedClustersRunCommand202Response, - ManagedClustersRunCommanddefaultResponse, - ManagedClustersStart202Response, - ManagedClustersStart204Response, - ManagedClustersStartdefaultResponse, + ManagedClustersRotateServiceAccountSigningKeysDefaultResponse, ManagedClustersStop202Response, ManagedClustersStop204Response, - ManagedClustersStopdefaultResponse, - ManagedClustersUpdateTags200Response, - ManagedClustersUpdateTagsdefaultResponse, - OperationsList200Response, - OperationsListdefaultResponse, - PrivateEndpointConnectionsDelete200Response, - PrivateEndpointConnectionsDelete204Response, - PrivateEndpointConnectionsDeletedefaultResponse, - PrivateEndpointConnectionsGet200Response, - PrivateEndpointConnectionsGetdefaultResponse, + ManagedClustersStopDefaultResponse, + ManagedClustersStart202Response, + ManagedClustersStart204Response, + ManagedClustersStartDefaultResponse, + ManagedClustersRunCommand200Response, + ManagedClustersRunCommand202Response, + ManagedClustersRunCommandDefaultResponse, + ManagedClustersGetCommandResult200Response, + ManagedClustersGetCommandResult202Response, + ManagedClustersGetCommandResultDefaultResponse, + ManagedClustersListOutboundNetworkDependenciesEndpoints200Response, + ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse, + MaintenanceConfigurationsListByManagedCluster200Response, + MaintenanceConfigurationsListByManagedClusterDefaultResponse, + MaintenanceConfigurationsGet200Response, + MaintenanceConfigurationsGetDefaultResponse, + MaintenanceConfigurationsCreateOrUpdate200Response, + MaintenanceConfigurationsCreateOrUpdateDefaultResponse, + MaintenanceConfigurationsDelete200Response, + MaintenanceConfigurationsDelete204Response, + MaintenanceConfigurationsDeleteDefaultResponse, + AgentPoolsList200Response, + AgentPoolsListDefaultResponse, + AgentPoolsGet200Response, + AgentPoolsGetDefaultResponse, + AgentPoolsCreateOrUpdate200Response, + AgentPoolsCreateOrUpdate201Response, + AgentPoolsCreateOrUpdateDefaultResponse, + AgentPoolsDelete202Response, + AgentPoolsDelete204Response, + AgentPoolsDeleteDefaultResponse, + AgentPoolsGetUpgradeProfile200Response, + AgentPoolsGetUpgradeProfileDefaultResponse, + AgentPoolsGetAvailableAgentPoolVersions200Response, + AgentPoolsUpgradeNodeImageVersion200Response, + AgentPoolsUpgradeNodeImageVersion202Response, + AgentPoolsUpgradeNodeImageVersionDefaultResponse, PrivateEndpointConnectionsList200Response, - PrivateEndpointConnectionsListdefaultResponse, + PrivateEndpointConnectionsListDefaultResponse, + PrivateEndpointConnectionsGet200Response, + PrivateEndpointConnectionsGetDefaultResponse, PrivateEndpointConnectionsUpdate200Response, - PrivateEndpointConnectionsUpdatedefaultResponse, + PrivateEndpointConnectionsUpdateDefaultResponse, + PrivateEndpointConnectionsDelete200Response, + PrivateEndpointConnectionsDelete204Response, + PrivateEndpointConnectionsDeleteDefaultResponse, PrivateLinkResourcesList200Response, - PrivateLinkResourcesListdefaultResponse, + PrivateLinkResourcesListDefaultResponse, ResolvePrivateLinkServiceIdPost200Response, - ResolvePrivateLinkServiceIdPostdefaultResponse, + ResolvePrivateLinkServiceIdPostDefaultResponse, + SnapshotsList200Response, + SnapshotsListDefaultResponse, + SnapshotsListByResourceGroup200Response, + SnapshotsListByResourceGroupDefaultResponse, + SnapshotsGet200Response, + SnapshotsGetDefaultResponse, SnapshotsCreateOrUpdate200Response, SnapshotsCreateOrUpdate201Response, - SnapshotsCreateOrUpdatedefaultResponse, + SnapshotsCreateOrUpdateDefaultResponse, + SnapshotsUpdateTags200Response, + SnapshotsUpdateTagsDefaultResponse, SnapshotsDelete200Response, SnapshotsDelete204Response, - SnapshotsDeletedefaultResponse, - SnapshotsGet200Response, - SnapshotsGetdefaultResponse, - SnapshotsList200Response, - SnapshotsListByResourceGroup200Response, - SnapshotsListByResourceGroupdefaultResponse, - SnapshotsListdefaultResponse, - SnapshotsUpdateTags200Response, - SnapshotsUpdateTagsdefaultResponse, + SnapshotsDeleteDefaultResponse, + ManagedClusterSnapshotsList200Response, + ManagedClusterSnapshotsListDefaultResponse, + ManagedClusterSnapshotsListByResourceGroup200Response, + ManagedClusterSnapshotsListByResourceGroupDefaultResponse, + ManagedClusterSnapshotsGet200Response, + ManagedClusterSnapshotsGetDefaultResponse, + ManagedClusterSnapshotsCreateOrUpdate200Response, + ManagedClusterSnapshotsCreateOrUpdate201Response, + ManagedClusterSnapshotsCreateOrUpdateDefaultResponse, + ManagedClusterSnapshotsUpdateTags200Response, + ManagedClusterSnapshotsUpdateTagsDefaultResponse, + ManagedClusterSnapshotsDelete200Response, + ManagedClusterSnapshotsDelete204Response, + ManagedClusterSnapshotsDeleteDefaultResponse, + TrustedAccessRolesList200Response, + TrustedAccessRolesListDefaultResponse, + TrustedAccessRoleBindingsList200Response, + TrustedAccessRoleBindingsListDefaultResponse, + TrustedAccessRoleBindingsGet200Response, + TrustedAccessRoleBindingsGetDefaultResponse, TrustedAccessRoleBindingsCreateOrUpdate200Response, - TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse, + TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse, TrustedAccessRoleBindingsDelete200Response, TrustedAccessRoleBindingsDelete204Response, - TrustedAccessRoleBindingsDeletedefaultResponse, - TrustedAccessRoleBindingsGet200Response, - TrustedAccessRoleBindingsGetdefaultResponse, - TrustedAccessRoleBindingsList200Response, - TrustedAccessRoleBindingsListdefaultResponse, - TrustedAccessRolesList200Response, - TrustedAccessRolesListdefaultResponse, + TrustedAccessRoleBindingsDeleteDefaultResponse, } from "./responses"; -import type { Client, StreamableMethod } from "@azure-rest/core-client"; +import { Client, StreamableMethod } from "@azure-rest/core-client"; export interface OperationsList { /** Gets a list of operations. */ get( options?: OperationsListParameters, - ): StreamableMethod; + ): StreamableMethod< + OperationsList200Response | OperationsListDefaultResponse + >; } export interface ManagedClustersGetOSOptions { @@ -206,7 +208,8 @@ export interface ManagedClustersGetOSOptions { get( options?: ManagedClustersGetOSOptionsParameters, ): StreamableMethod< - ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsdefaultResponse + | ManagedClustersGetOSOptions200Response + | ManagedClustersGetOSOptionsDefaultResponse >; } @@ -214,7 +217,9 @@ export interface ManagedClustersList { /** Gets a list of managed clusters in the specified subscription. */ get( options?: ManagedClustersListParameters, - ): StreamableMethod; + ): StreamableMethod< + ManagedClustersList200Response | ManagedClustersListDefaultResponse + >; } export interface ManagedClustersListByResourceGroup { @@ -223,7 +228,7 @@ export interface ManagedClustersListByResourceGroup { options?: ManagedClustersListByResourceGroupParameters, ): StreamableMethod< | ManagedClustersListByResourceGroup200Response - | ManagedClustersListByResourceGroupdefaultResponse + | ManagedClustersListByResourceGroupDefaultResponse >; } @@ -232,7 +237,8 @@ export interface ManagedClustersGetUpgradeProfile { get( options?: ManagedClustersGetUpgradeProfileParameters, ): StreamableMethod< - ManagedClustersGetUpgradeProfile200Response | ManagedClustersGetUpgradeProfiledefaultResponse + | ManagedClustersGetUpgradeProfile200Response + | ManagedClustersGetUpgradeProfileDefaultResponse >; } @@ -241,7 +247,8 @@ export interface ManagedClustersGetAccessProfile { post( options?: ManagedClustersGetAccessProfileParameters, ): StreamableMethod< - ManagedClustersGetAccessProfile200Response | ManagedClustersGetAccessProfiledefaultResponse + | ManagedClustersGetAccessProfile200Response + | ManagedClustersGetAccessProfileDefaultResponse >; } @@ -251,7 +258,7 @@ export interface ManagedClustersListClusterAdminCredentials { options?: ManagedClustersListClusterAdminCredentialsParameters, ): StreamableMethod< | ManagedClustersListClusterAdminCredentials200Response - | ManagedClustersListClusterAdminCredentialsdefaultResponse + | ManagedClustersListClusterAdminCredentialsDefaultResponse >; } @@ -261,7 +268,7 @@ export interface ManagedClustersListClusterUserCredentials { options?: ManagedClustersListClusterUserCredentialsParameters, ): StreamableMethod< | ManagedClustersListClusterUserCredentials200Response - | ManagedClustersListClusterUserCredentialsdefaultResponse + | ManagedClustersListClusterUserCredentialsDefaultResponse >; } @@ -271,7 +278,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentials { options?: ManagedClustersListClusterMonitoringUserCredentialsParameters, ): StreamableMethod< | ManagedClustersListClusterMonitoringUserCredentials200Response - | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse + | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse >; } @@ -279,20 +286,23 @@ export interface ManagedClustersGet { /** Gets a managed cluster. */ get( options?: ManagedClustersGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ManagedClustersGet200Response | ManagedClustersGetDefaultResponse + >; /** Creates or updates a managed cluster. */ put( options: ManagedClustersCreateOrUpdateParameters, ): StreamableMethod< | ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response - | ManagedClustersCreateOrUpdatedefaultResponse + | ManagedClustersCreateOrUpdateDefaultResponse >; /** Updates tags on a managed cluster. */ patch( options: ManagedClustersUpdateTagsParameters, ): StreamableMethod< - ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsdefaultResponse + | ManagedClustersUpdateTags200Response + | ManagedClustersUpdateTagsDefaultResponse >; /** Deletes a managed cluster. */ delete( @@ -300,7 +310,7 @@ export interface ManagedClustersGet { ): StreamableMethod< | ManagedClustersDelete202Response | ManagedClustersDelete204Response - | ManagedClustersDeletedefaultResponse + | ManagedClustersDeleteDefaultResponse >; } @@ -311,7 +321,7 @@ export interface ManagedClustersResetServicePrincipalProfile { ): StreamableMethod< | ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response - | ManagedClustersResetServicePrincipalProfiledefaultResponse + | ManagedClustersResetServicePrincipalProfileDefaultResponse >; } @@ -322,7 +332,7 @@ export interface ManagedClustersResetAADProfile { ): StreamableMethod< | ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response - | ManagedClustersResetAADProfiledefaultResponse + | ManagedClustersResetAADProfileDefaultResponse >; } @@ -333,7 +343,7 @@ export interface ManagedClustersRotateClusterCertificates { ): StreamableMethod< | ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response - | ManagedClustersRotateClusterCertificatesdefaultResponse + | ManagedClustersRotateClusterCertificatesDefaultResponse >; } @@ -344,7 +354,7 @@ export interface ManagedClustersRotateServiceAccountSigningKeys { ): StreamableMethod< | ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response - | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse + | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse >; } @@ -355,7 +365,7 @@ export interface ManagedClustersStop { ): StreamableMethod< | ManagedClustersStop202Response | ManagedClustersStop204Response - | ManagedClustersStopdefaultResponse + | ManagedClustersStopDefaultResponse >; } @@ -366,7 +376,7 @@ export interface ManagedClustersStart { ): StreamableMethod< | ManagedClustersStart202Response | ManagedClustersStart204Response - | ManagedClustersStartdefaultResponse + | ManagedClustersStartDefaultResponse >; } @@ -377,7 +387,7 @@ export interface ManagedClustersRunCommand { ): StreamableMethod< | ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response - | ManagedClustersRunCommanddefaultResponse + | ManagedClustersRunCommandDefaultResponse >; } @@ -388,7 +398,7 @@ export interface ManagedClustersGetCommandResult { ): StreamableMethod< | ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response - | ManagedClustersGetCommandResultdefaultResponse + | ManagedClustersGetCommandResultDefaultResponse >; } @@ -398,7 +408,7 @@ export interface ManagedClustersListOutboundNetworkDependenciesEndpoints { options?: ManagedClustersListOutboundNetworkDependenciesEndpointsParameters, ): StreamableMethod< | ManagedClustersListOutboundNetworkDependenciesEndpoints200Response - | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse + | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse >; } @@ -408,7 +418,7 @@ export interface MaintenanceConfigurationsListByManagedCluster { options?: MaintenanceConfigurationsListByManagedClusterParameters, ): StreamableMethod< | MaintenanceConfigurationsListByManagedCluster200Response - | MaintenanceConfigurationsListByManagedClusterdefaultResponse + | MaintenanceConfigurationsListByManagedClusterDefaultResponse >; } @@ -417,14 +427,15 @@ export interface MaintenanceConfigurationsGet { get( options?: MaintenanceConfigurationsGetParameters, ): StreamableMethod< - MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetdefaultResponse + | MaintenanceConfigurationsGet200Response + | MaintenanceConfigurationsGetDefaultResponse >; /** Creates or updates a maintenance configuration in the specified managed cluster. */ put( options: MaintenanceConfigurationsCreateOrUpdateParameters, ): StreamableMethod< | MaintenanceConfigurationsCreateOrUpdate200Response - | MaintenanceConfigurationsCreateOrUpdatedefaultResponse + | MaintenanceConfigurationsCreateOrUpdateDefaultResponse >; /** Deletes a maintenance configuration. */ delete( @@ -432,7 +443,7 @@ export interface MaintenanceConfigurationsGet { ): StreamableMethod< | MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response - | MaintenanceConfigurationsDeletedefaultResponse + | MaintenanceConfigurationsDeleteDefaultResponse >; } @@ -440,27 +451,31 @@ export interface AgentPoolsList { /** Gets a list of agent pools in the specified managed cluster. */ get( options?: AgentPoolsListParameters, - ): StreamableMethod; + ): StreamableMethod< + AgentPoolsList200Response | AgentPoolsListDefaultResponse + >; } export interface AgentPoolsGet { /** Gets the specified managed cluster agent pool. */ get( options?: AgentPoolsGetParameters, - ): StreamableMethod; + ): StreamableMethod; /** Creates or updates an agent pool in the specified managed cluster. */ put( options: AgentPoolsCreateOrUpdateParameters, ): StreamableMethod< | AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response - | AgentPoolsCreateOrUpdatedefaultResponse + | AgentPoolsCreateOrUpdateDefaultResponse >; /** Deletes an agent pool in the specified managed cluster. */ delete( options?: AgentPoolsDeleteParameters, ): StreamableMethod< - AgentPoolsDelete202Response | AgentPoolsDelete204Response | AgentPoolsDeletedefaultResponse + | AgentPoolsDelete202Response + | AgentPoolsDelete204Response + | AgentPoolsDeleteDefaultResponse >; } @@ -469,7 +484,8 @@ export interface AgentPoolsGetUpgradeProfile { get( options?: AgentPoolsGetUpgradeProfileParameters, ): StreamableMethod< - AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfiledefaultResponse + | AgentPoolsGetUpgradeProfile200Response + | AgentPoolsGetUpgradeProfileDefaultResponse >; } @@ -487,7 +503,7 @@ export interface AgentPoolsUpgradeNodeImageVersion { ): StreamableMethod< | AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response - | AgentPoolsUpgradeNodeImageVersiondefaultResponse + | AgentPoolsUpgradeNodeImageVersionDefaultResponse >; } @@ -496,7 +512,8 @@ export interface PrivateEndpointConnectionsList { get( options?: PrivateEndpointConnectionsListParameters, ): StreamableMethod< - PrivateEndpointConnectionsList200Response | PrivateEndpointConnectionsListdefaultResponse + | PrivateEndpointConnectionsList200Response + | PrivateEndpointConnectionsListDefaultResponse >; } @@ -505,13 +522,15 @@ export interface PrivateEndpointConnectionsGet { get( options?: PrivateEndpointConnectionsGetParameters, ): StreamableMethod< - PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetdefaultResponse + | PrivateEndpointConnectionsGet200Response + | PrivateEndpointConnectionsGetDefaultResponse >; /** Updates a private endpoint connection. */ put( options: PrivateEndpointConnectionsUpdateParameters, ): StreamableMethod< - PrivateEndpointConnectionsUpdate200Response | PrivateEndpointConnectionsUpdatedefaultResponse + | PrivateEndpointConnectionsUpdate200Response + | PrivateEndpointConnectionsUpdateDefaultResponse >; /** Deletes a private endpoint connection. */ delete( @@ -519,7 +538,7 @@ export interface PrivateEndpointConnectionsGet { ): StreamableMethod< | PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeletedefaultResponse + | PrivateEndpointConnectionsDeleteDefaultResponse >; } @@ -528,7 +547,8 @@ export interface PrivateLinkResourcesList { get( options?: PrivateLinkResourcesListParameters, ): StreamableMethod< - PrivateLinkResourcesList200Response | PrivateLinkResourcesListdefaultResponse + | PrivateLinkResourcesList200Response + | PrivateLinkResourcesListDefaultResponse >; } @@ -537,7 +557,8 @@ export interface ResolvePrivateLinkServiceIdPost { post( options: ResolvePrivateLinkServiceIdPostParameters, ): StreamableMethod< - ResolvePrivateLinkServiceIdPost200Response | ResolvePrivateLinkServiceIdPostdefaultResponse + | ResolvePrivateLinkServiceIdPost200Response + | ResolvePrivateLinkServiceIdPostDefaultResponse >; } @@ -545,7 +566,7 @@ export interface SnapshotsList { /** Gets a list of snapshots in the specified subscription. */ get( options?: SnapshotsListParameters, - ): StreamableMethod; + ): StreamableMethod; } export interface SnapshotsListByResourceGroup { @@ -553,7 +574,8 @@ export interface SnapshotsListByResourceGroup { get( options?: SnapshotsListByResourceGroupParameters, ): StreamableMethod< - SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupdefaultResponse + | SnapshotsListByResourceGroup200Response + | SnapshotsListByResourceGroupDefaultResponse >; } @@ -561,24 +583,28 @@ export interface SnapshotsGet { /** Gets a snapshot. */ get( options?: SnapshotsGetParameters, - ): StreamableMethod; + ): StreamableMethod; /** Creates or updates a snapshot. */ put( options: SnapshotsCreateOrUpdateParameters, ): StreamableMethod< | SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response - | SnapshotsCreateOrUpdatedefaultResponse + | SnapshotsCreateOrUpdateDefaultResponse >; /** Updates tags on a snapshot. */ patch( options: SnapshotsUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + SnapshotsUpdateTags200Response | SnapshotsUpdateTagsDefaultResponse + >; /** Deletes a snapshot. */ delete( options?: SnapshotsDeleteParameters, ): StreamableMethod< - SnapshotsDelete200Response | SnapshotsDelete204Response | SnapshotsDeletedefaultResponse + | SnapshotsDelete200Response + | SnapshotsDelete204Response + | SnapshotsDeleteDefaultResponse >; } @@ -587,7 +613,8 @@ export interface ManagedClusterSnapshotsList { get( options?: ManagedClusterSnapshotsListParameters, ): StreamableMethod< - ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListdefaultResponse + | ManagedClusterSnapshotsList200Response + | ManagedClusterSnapshotsListDefaultResponse >; } @@ -597,7 +624,7 @@ export interface ManagedClusterSnapshotsListByResourceGroup { options?: ManagedClusterSnapshotsListByResourceGroupParameters, ): StreamableMethod< | ManagedClusterSnapshotsListByResourceGroup200Response - | ManagedClusterSnapshotsListByResourceGroupdefaultResponse + | ManagedClusterSnapshotsListByResourceGroupDefaultResponse >; } @@ -606,7 +633,8 @@ export interface ManagedClusterSnapshotsGet { get( options?: ManagedClusterSnapshotsGetParameters, ): StreamableMethod< - ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetdefaultResponse + | ManagedClusterSnapshotsGet200Response + | ManagedClusterSnapshotsGetDefaultResponse >; /** Creates or updates a managed cluster snapshot. */ put( @@ -614,13 +642,14 @@ export interface ManagedClusterSnapshotsGet { ): StreamableMethod< | ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response - | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse + | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse >; /** Updates tags on a managed cluster snapshot. */ patch( options: ManagedClusterSnapshotsUpdateTagsParameters, ): StreamableMethod< - ManagedClusterSnapshotsUpdateTags200Response | ManagedClusterSnapshotsUpdateTagsdefaultResponse + | ManagedClusterSnapshotsUpdateTags200Response + | ManagedClusterSnapshotsUpdateTagsDefaultResponse >; /** Deletes a managed cluster snapshot. */ delete( @@ -628,7 +657,7 @@ export interface ManagedClusterSnapshotsGet { ): StreamableMethod< | ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response - | ManagedClusterSnapshotsDeletedefaultResponse + | ManagedClusterSnapshotsDeleteDefaultResponse >; } @@ -636,7 +665,9 @@ export interface TrustedAccessRolesList { /** List supported trusted access roles. */ get( options?: TrustedAccessRolesListParameters, - ): StreamableMethod; + ): StreamableMethod< + TrustedAccessRolesList200Response | TrustedAccessRolesListDefaultResponse + >; } export interface TrustedAccessRoleBindingsList { @@ -644,7 +675,8 @@ export interface TrustedAccessRoleBindingsList { get( options?: TrustedAccessRoleBindingsListParameters, ): StreamableMethod< - TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListdefaultResponse + | TrustedAccessRoleBindingsList200Response + | TrustedAccessRoleBindingsListDefaultResponse >; } @@ -653,14 +685,15 @@ export interface TrustedAccessRoleBindingsGet { get( options?: TrustedAccessRoleBindingsGetParameters, ): StreamableMethod< - TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetdefaultResponse + | TrustedAccessRoleBindingsGet200Response + | TrustedAccessRoleBindingsGetDefaultResponse >; /** Create or update a trusted access role binding */ put( options: TrustedAccessRoleBindingsCreateOrUpdateParameters, ): StreamableMethod< | TrustedAccessRoleBindingsCreateOrUpdate200Response - | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse + | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse >; /** Delete a trusted access role binding. */ delete( @@ -668,7 +701,7 @@ export interface TrustedAccessRoleBindingsGet { ): StreamableMethod< | TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response - | TrustedAccessRoleBindingsDeletedefaultResponse + | TrustedAccessRoleBindingsDeleteDefaultResponse >; } diff --git a/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts index 643ec663e486..4895936f54a3 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts @@ -1,26 +1,32 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { ClientOptions } from "@azure-rest/core-client"; -import { getClient } from "@azure-rest/core-client"; -import type { TokenCredential } from "@azure/core-auth"; -import type { ContainerServiceClient } from "./clientDefinitions"; -import { customizedApiVersionPolicy } from "./customizedApiVersionPolicy"; +import { getClient, ClientOptions } from "@azure-rest/core-client"; +import { logger } from "./logger"; +import { TokenCredential } from "@azure/core-auth"; +import { ContainerServiceClient } from "./clientDefinitions"; +/** The optional parameters for the client */ +export interface ContainerServiceClientOptions extends ClientOptions { + /** The api version option of the client */ + apiVersion?: string; +} + +/** + * Initialize a new instance of `ContainerServiceClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters + */ export default function createClient( credentials: TokenCredential, - options: ClientOptions = {}, + { + apiVersion = "2022-05-02-preview", + ...options + }: ContainerServiceClientOptions = {}, ): ContainerServiceClient { - const baseUrl = options.baseUrl ?? "https://management.azure.com"; - options.apiVersion = options.apiVersion ?? "2022-05-02-preview"; - options = { - ...options, - credentials: { - scopes: ["https://management.azure.com/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-arm-containerservice-rest/1.0.0-beta.1`; + const endpointUrl = + options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-containerservice-rest/1.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` @@ -30,14 +36,37 @@ export default function createClient( userAgentOptions: { userAgentPrefix, }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? [ + "https://management.azure.com/.default", + ], + }, }; + const client = getClient( + endpointUrl, + credentials, + options, + ) as ContainerServiceClient; - const client = getClient(baseUrl, credentials, options) as ContainerServiceClient; + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + client.pipeline.addPolicy({ + name: "ClientApiVersionPolicy", + sendRequest: (req, next) => { + // Use the apiVersion defined in request url directly + // Append one if there is no apiVersion and we have one at client options + const url = new URL(req.url); + if (!url.searchParams.get("api-version") && apiVersion) { + req.url = `${req.url}${ + Array.from(url.searchParams.keys()).length > 0 ? "&" : "?" + }api-version=${apiVersion}`; + } - // Considering the container service backend only supports the old version so we need to add customized policy - client.pipeline.removePolicy({ - name: "ApiVersionPolicy", + return next(req); + }, }); - client.pipeline.addPolicy(customizedApiVersionPolicy(options)); + return client; } diff --git a/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts b/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts index 39ef02ca96b0..cd61a1bc3261 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts @@ -1,146 +1,145 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { - AgentPoolsCreateOrUpdate200Response, - AgentPoolsCreateOrUpdate201Response, - AgentPoolsCreateOrUpdatedefaultResponse, - AgentPoolsDelete202Response, - AgentPoolsDelete204Response, - AgentPoolsDeletedefaultResponse, - AgentPoolsGet200Response, - AgentPoolsGetUpgradeProfile200Response, - AgentPoolsGetUpgradeProfiledefaultResponse, - AgentPoolsGetdefaultResponse, - AgentPoolsList200Response, - AgentPoolsListdefaultResponse, - AgentPoolsUpgradeNodeImageVersion200Response, - AgentPoolsUpgradeNodeImageVersion202Response, - AgentPoolsUpgradeNodeImageVersiondefaultResponse, - MaintenanceConfigurationsCreateOrUpdate200Response, - MaintenanceConfigurationsCreateOrUpdatedefaultResponse, - MaintenanceConfigurationsDelete200Response, - MaintenanceConfigurationsDelete204Response, - MaintenanceConfigurationsDeletedefaultResponse, - MaintenanceConfigurationsGet200Response, - MaintenanceConfigurationsGetdefaultResponse, - MaintenanceConfigurationsListByManagedCluster200Response, - MaintenanceConfigurationsListByManagedClusterdefaultResponse, - ManagedClusterSnapshotsCreateOrUpdate200Response, - ManagedClusterSnapshotsCreateOrUpdate201Response, - ManagedClusterSnapshotsCreateOrUpdatedefaultResponse, - ManagedClusterSnapshotsDelete200Response, - ManagedClusterSnapshotsDelete204Response, - ManagedClusterSnapshotsDeletedefaultResponse, - ManagedClusterSnapshotsGet200Response, - ManagedClusterSnapshotsGetdefaultResponse, - ManagedClusterSnapshotsList200Response, - ManagedClusterSnapshotsListByResourceGroup200Response, - ManagedClusterSnapshotsListByResourceGroupdefaultResponse, - ManagedClusterSnapshotsListdefaultResponse, - ManagedClusterSnapshotsUpdateTags200Response, - ManagedClusterSnapshotsUpdateTagsdefaultResponse, - ManagedClustersCreateOrUpdate200Response, - ManagedClustersCreateOrUpdate201Response, - ManagedClustersCreateOrUpdatedefaultResponse, - ManagedClustersDelete202Response, - ManagedClustersDelete204Response, - ManagedClustersDeletedefaultResponse, - ManagedClustersGet200Response, - ManagedClustersGetAccessProfile200Response, - ManagedClustersGetAccessProfiledefaultResponse, - ManagedClustersGetCommandResult200Response, - ManagedClustersGetCommandResult202Response, - ManagedClustersGetCommandResultdefaultResponse, +import { + OperationsList200Response, + OperationsListDefaultResponse, ManagedClustersGetOSOptions200Response, - ManagedClustersGetOSOptionsdefaultResponse, - ManagedClustersGetUpgradeProfile200Response, - ManagedClustersGetUpgradeProfiledefaultResponse, - ManagedClustersGetdefaultResponse, + ManagedClustersGetOSOptionsDefaultResponse, ManagedClustersList200Response, + ManagedClustersListDefaultResponse, ManagedClustersListByResourceGroup200Response, - ManagedClustersListByResourceGroupdefaultResponse, + ManagedClustersListByResourceGroupDefaultResponse, + ManagedClustersGetUpgradeProfile200Response, + ManagedClustersGetUpgradeProfileDefaultResponse, + ManagedClustersGetAccessProfile200Response, + ManagedClustersGetAccessProfileDefaultResponse, ManagedClustersListClusterAdminCredentials200Response, - ManagedClustersListClusterAdminCredentialsdefaultResponse, - ManagedClustersListClusterMonitoringUserCredentials200Response, - ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse, + ManagedClustersListClusterAdminCredentialsDefaultResponse, ManagedClustersListClusterUserCredentials200Response, - ManagedClustersListClusterUserCredentialsdefaultResponse, - ManagedClustersListOutboundNetworkDependenciesEndpoints200Response, - ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse, - ManagedClustersListdefaultResponse, - ManagedClustersResetAADProfile200Response, - ManagedClustersResetAADProfile202Response, - ManagedClustersResetAADProfiledefaultResponse, + ManagedClustersListClusterUserCredentialsDefaultResponse, + ManagedClustersListClusterMonitoringUserCredentials200Response, + ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse, + ManagedClustersGet200Response, + ManagedClustersGetDefaultResponse, + ManagedClustersCreateOrUpdate200Response, + ManagedClustersCreateOrUpdate201Response, + ManagedClustersCreateOrUpdateDefaultResponse, + ManagedClustersUpdateTags200Response, + ManagedClustersUpdateTagsDefaultResponse, + ManagedClustersDelete202Response, + ManagedClustersDelete204Response, + ManagedClustersDeleteDefaultResponse, ManagedClustersResetServicePrincipalProfile200Response, ManagedClustersResetServicePrincipalProfile202Response, - ManagedClustersResetServicePrincipalProfiledefaultResponse, + ManagedClustersResetServicePrincipalProfileDefaultResponse, + ManagedClustersResetAADProfile200Response, + ManagedClustersResetAADProfile202Response, + ManagedClustersResetAADProfileDefaultResponse, ManagedClustersRotateClusterCertificates202Response, ManagedClustersRotateClusterCertificates204Response, - ManagedClustersRotateClusterCertificatesdefaultResponse, + ManagedClustersRotateClusterCertificatesDefaultResponse, ManagedClustersRotateServiceAccountSigningKeys202Response, ManagedClustersRotateServiceAccountSigningKeys204Response, - ManagedClustersRotateServiceAccountSigningKeysdefaultResponse, - ManagedClustersRunCommand200Response, - ManagedClustersRunCommand202Response, - ManagedClustersRunCommanddefaultResponse, - ManagedClustersStart202Response, - ManagedClustersStart204Response, - ManagedClustersStartdefaultResponse, + ManagedClustersRotateServiceAccountSigningKeysDefaultResponse, ManagedClustersStop202Response, ManagedClustersStop204Response, - ManagedClustersStopdefaultResponse, - ManagedClustersUpdateTags200Response, - ManagedClustersUpdateTagsdefaultResponse, - OperationsList200Response, - OperationsListdefaultResponse, - PrivateEndpointConnectionsDelete200Response, - PrivateEndpointConnectionsDelete204Response, - PrivateEndpointConnectionsDeletedefaultResponse, - PrivateEndpointConnectionsGet200Response, - PrivateEndpointConnectionsGetdefaultResponse, + ManagedClustersStopDefaultResponse, + ManagedClustersStart202Response, + ManagedClustersStart204Response, + ManagedClustersStartDefaultResponse, + ManagedClustersRunCommand200Response, + ManagedClustersRunCommand202Response, + ManagedClustersRunCommandDefaultResponse, + ManagedClustersGetCommandResult200Response, + ManagedClustersGetCommandResult202Response, + ManagedClustersGetCommandResultDefaultResponse, + ManagedClustersListOutboundNetworkDependenciesEndpoints200Response, + ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse, + MaintenanceConfigurationsListByManagedCluster200Response, + MaintenanceConfigurationsListByManagedClusterDefaultResponse, + MaintenanceConfigurationsGet200Response, + MaintenanceConfigurationsGetDefaultResponse, + MaintenanceConfigurationsCreateOrUpdate200Response, + MaintenanceConfigurationsCreateOrUpdateDefaultResponse, + MaintenanceConfigurationsDelete200Response, + MaintenanceConfigurationsDelete204Response, + MaintenanceConfigurationsDeleteDefaultResponse, + AgentPoolsList200Response, + AgentPoolsListDefaultResponse, + AgentPoolsGet200Response, + AgentPoolsGetDefaultResponse, + AgentPoolsCreateOrUpdate200Response, + AgentPoolsCreateOrUpdate201Response, + AgentPoolsCreateOrUpdateDefaultResponse, + AgentPoolsDelete202Response, + AgentPoolsDelete204Response, + AgentPoolsDeleteDefaultResponse, + AgentPoolsGetUpgradeProfile200Response, + AgentPoolsGetUpgradeProfileDefaultResponse, + AgentPoolsUpgradeNodeImageVersion200Response, + AgentPoolsUpgradeNodeImageVersion202Response, + AgentPoolsUpgradeNodeImageVersionDefaultResponse, PrivateEndpointConnectionsList200Response, - PrivateEndpointConnectionsListdefaultResponse, + PrivateEndpointConnectionsListDefaultResponse, + PrivateEndpointConnectionsGet200Response, + PrivateEndpointConnectionsGetDefaultResponse, PrivateEndpointConnectionsUpdate200Response, - PrivateEndpointConnectionsUpdatedefaultResponse, + PrivateEndpointConnectionsUpdateDefaultResponse, + PrivateEndpointConnectionsDelete200Response, + PrivateEndpointConnectionsDelete204Response, + PrivateEndpointConnectionsDeleteDefaultResponse, PrivateLinkResourcesList200Response, - PrivateLinkResourcesListdefaultResponse, + PrivateLinkResourcesListDefaultResponse, ResolvePrivateLinkServiceIdPost200Response, - ResolvePrivateLinkServiceIdPostdefaultResponse, + ResolvePrivateLinkServiceIdPostDefaultResponse, + SnapshotsList200Response, + SnapshotsListDefaultResponse, + SnapshotsListByResourceGroup200Response, + SnapshotsListByResourceGroupDefaultResponse, + SnapshotsGet200Response, + SnapshotsGetDefaultResponse, SnapshotsCreateOrUpdate200Response, SnapshotsCreateOrUpdate201Response, - SnapshotsCreateOrUpdatedefaultResponse, + SnapshotsCreateOrUpdateDefaultResponse, + SnapshotsUpdateTags200Response, + SnapshotsUpdateTagsDefaultResponse, SnapshotsDelete200Response, SnapshotsDelete204Response, - SnapshotsDeletedefaultResponse, - SnapshotsGet200Response, - SnapshotsGetdefaultResponse, - SnapshotsList200Response, - SnapshotsListByResourceGroup200Response, - SnapshotsListByResourceGroupdefaultResponse, - SnapshotsListdefaultResponse, - SnapshotsUpdateTags200Response, - SnapshotsUpdateTagsdefaultResponse, + SnapshotsDeleteDefaultResponse, + ManagedClusterSnapshotsList200Response, + ManagedClusterSnapshotsListDefaultResponse, + ManagedClusterSnapshotsListByResourceGroup200Response, + ManagedClusterSnapshotsListByResourceGroupDefaultResponse, + ManagedClusterSnapshotsGet200Response, + ManagedClusterSnapshotsGetDefaultResponse, + ManagedClusterSnapshotsCreateOrUpdate200Response, + ManagedClusterSnapshotsCreateOrUpdate201Response, + ManagedClusterSnapshotsCreateOrUpdateDefaultResponse, + ManagedClusterSnapshotsUpdateTags200Response, + ManagedClusterSnapshotsUpdateTagsDefaultResponse, + ManagedClusterSnapshotsDelete200Response, + ManagedClusterSnapshotsDelete204Response, + ManagedClusterSnapshotsDeleteDefaultResponse, + TrustedAccessRolesList200Response, + TrustedAccessRolesListDefaultResponse, + TrustedAccessRoleBindingsList200Response, + TrustedAccessRoleBindingsListDefaultResponse, + TrustedAccessRoleBindingsGet200Response, + TrustedAccessRoleBindingsGetDefaultResponse, TrustedAccessRoleBindingsCreateOrUpdate200Response, - TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse, + TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse, TrustedAccessRoleBindingsDelete200Response, TrustedAccessRoleBindingsDelete204Response, - TrustedAccessRoleBindingsDeletedefaultResponse, - TrustedAccessRoleBindingsGet200Response, - TrustedAccessRoleBindingsGetdefaultResponse, - TrustedAccessRoleBindingsList200Response, - TrustedAccessRoleBindingsListdefaultResponse, - TrustedAccessRolesList200Response, - TrustedAccessRolesListdefaultResponse, + TrustedAccessRoleBindingsDeleteDefaultResponse, } from "./responses"; const responseMap: Record = { "GET /providers/Microsoft.ContainerService/operations": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default": @@ -161,34 +160,34 @@ const responseMap: Record = { ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": - ["202", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": ["202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys": ["202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop": ["202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand": - ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start": + ["202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints": @@ -213,10 +212,10 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": @@ -229,7 +228,8 @@ const responseMap: Record = { ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}": @@ -265,506 +265,548 @@ const responseMap: Record = { }; export function isUnexpected( - response: OperationsList200Response | OperationsListdefaultResponse, -): response is OperationsListdefaultResponse; + response: OperationsList200Response | OperationsListDefaultResponse, +): response is OperationsListDefaultResponse; export function isUnexpected( - response: ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsdefaultResponse, -): response is ManagedClustersGetOSOptionsdefaultResponse; + response: + | ManagedClustersGetOSOptions200Response + | ManagedClustersGetOSOptionsDefaultResponse, +): response is ManagedClustersGetOSOptionsDefaultResponse; export function isUnexpected( - response: ManagedClustersList200Response | ManagedClustersListdefaultResponse, -): response is ManagedClustersListdefaultResponse; + response: ManagedClustersList200Response | ManagedClustersListDefaultResponse, +): response is ManagedClustersListDefaultResponse; export function isUnexpected( response: | ManagedClustersListByResourceGroup200Response - | ManagedClustersListByResourceGroupdefaultResponse, -): response is ManagedClustersListByResourceGroupdefaultResponse; + | ManagedClustersListByResourceGroupDefaultResponse, +): response is ManagedClustersListByResourceGroupDefaultResponse; export function isUnexpected( response: | ManagedClustersGetUpgradeProfile200Response - | ManagedClustersGetUpgradeProfiledefaultResponse, -): response is ManagedClustersGetUpgradeProfiledefaultResponse; + | ManagedClustersGetUpgradeProfileDefaultResponse, +): response is ManagedClustersGetUpgradeProfileDefaultResponse; export function isUnexpected( response: | ManagedClustersGetAccessProfile200Response - | ManagedClustersGetAccessProfiledefaultResponse, -): response is ManagedClustersGetAccessProfiledefaultResponse; + | ManagedClustersGetAccessProfileDefaultResponse, +): response is ManagedClustersGetAccessProfileDefaultResponse; export function isUnexpected( response: | ManagedClustersListClusterAdminCredentials200Response - | ManagedClustersListClusterAdminCredentialsdefaultResponse, -): response is ManagedClustersListClusterAdminCredentialsdefaultResponse; + | ManagedClustersListClusterAdminCredentialsDefaultResponse, +): response is ManagedClustersListClusterAdminCredentialsDefaultResponse; export function isUnexpected( response: | ManagedClustersListClusterUserCredentials200Response - | ManagedClustersListClusterUserCredentialsdefaultResponse, -): response is ManagedClustersListClusterUserCredentialsdefaultResponse; + | ManagedClustersListClusterUserCredentialsDefaultResponse, +): response is ManagedClustersListClusterUserCredentialsDefaultResponse; export function isUnexpected( response: | ManagedClustersListClusterMonitoringUserCredentials200Response - | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse, -): response is ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse; + | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse, +): response is ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse; export function isUnexpected( - response: ManagedClustersGet200Response | ManagedClustersGetdefaultResponse, -): response is ManagedClustersGetdefaultResponse; + response: ManagedClustersGet200Response | ManagedClustersGetDefaultResponse, +): response is ManagedClustersGetDefaultResponse; export function isUnexpected( response: | ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response - | ManagedClustersCreateOrUpdatedefaultResponse, -): response is ManagedClustersCreateOrUpdatedefaultResponse; + | ManagedClustersCreateOrUpdateDefaultResponse, +): response is ManagedClustersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsdefaultResponse, -): response is ManagedClustersUpdateTagsdefaultResponse; + response: + | ManagedClustersUpdateTags200Response + | ManagedClustersUpdateTagsDefaultResponse, +): response is ManagedClustersUpdateTagsDefaultResponse; export function isUnexpected( response: | ManagedClustersDelete202Response | ManagedClustersDelete204Response - | ManagedClustersDeletedefaultResponse, -): response is ManagedClustersDeletedefaultResponse; + | ManagedClustersDeleteDefaultResponse, +): response is ManagedClustersDeleteDefaultResponse; export function isUnexpected( response: | ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response - | ManagedClustersResetServicePrincipalProfiledefaultResponse, -): response is ManagedClustersResetServicePrincipalProfiledefaultResponse; + | ManagedClustersResetServicePrincipalProfileDefaultResponse, +): response is ManagedClustersResetServicePrincipalProfileDefaultResponse; export function isUnexpected( response: | ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response - | ManagedClustersResetAADProfiledefaultResponse, -): response is ManagedClustersResetAADProfiledefaultResponse; + | ManagedClustersResetAADProfileDefaultResponse, +): response is ManagedClustersResetAADProfileDefaultResponse; export function isUnexpected( response: | ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response - | ManagedClustersRotateClusterCertificatesdefaultResponse, -): response is ManagedClustersRotateClusterCertificatesdefaultResponse; + | ManagedClustersRotateClusterCertificatesDefaultResponse, +): response is ManagedClustersRotateClusterCertificatesDefaultResponse; export function isUnexpected( response: | ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response - | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse, -): response is ManagedClustersRotateServiceAccountSigningKeysdefaultResponse; + | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse, +): response is ManagedClustersRotateServiceAccountSigningKeysDefaultResponse; export function isUnexpected( response: | ManagedClustersStop202Response | ManagedClustersStop204Response - | ManagedClustersStopdefaultResponse, -): response is ManagedClustersStopdefaultResponse; + | ManagedClustersStopDefaultResponse, +): response is ManagedClustersStopDefaultResponse; export function isUnexpected( response: | ManagedClustersStart202Response | ManagedClustersStart204Response - | ManagedClustersStartdefaultResponse, -): response is ManagedClustersStartdefaultResponse; + | ManagedClustersStartDefaultResponse, +): response is ManagedClustersStartDefaultResponse; export function isUnexpected( response: | ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response - | ManagedClustersRunCommanddefaultResponse, -): response is ManagedClustersRunCommanddefaultResponse; + | ManagedClustersRunCommandDefaultResponse, +): response is ManagedClustersRunCommandDefaultResponse; export function isUnexpected( response: | ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response - | ManagedClustersGetCommandResultdefaultResponse, -): response is ManagedClustersGetCommandResultdefaultResponse; + | ManagedClustersGetCommandResultDefaultResponse, +): response is ManagedClustersGetCommandResultDefaultResponse; export function isUnexpected( response: | ManagedClustersListOutboundNetworkDependenciesEndpoints200Response - | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse, -): response is ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse; + | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse, +): response is ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse; export function isUnexpected( response: | MaintenanceConfigurationsListByManagedCluster200Response - | MaintenanceConfigurationsListByManagedClusterdefaultResponse, -): response is MaintenanceConfigurationsListByManagedClusterdefaultResponse; + | MaintenanceConfigurationsListByManagedClusterDefaultResponse, +): response is MaintenanceConfigurationsListByManagedClusterDefaultResponse; export function isUnexpected( - response: MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetdefaultResponse, -): response is MaintenanceConfigurationsGetdefaultResponse; + response: + | MaintenanceConfigurationsGet200Response + | MaintenanceConfigurationsGetDefaultResponse, +): response is MaintenanceConfigurationsGetDefaultResponse; export function isUnexpected( response: | MaintenanceConfigurationsCreateOrUpdate200Response - | MaintenanceConfigurationsCreateOrUpdatedefaultResponse, -): response is MaintenanceConfigurationsCreateOrUpdatedefaultResponse; + | MaintenanceConfigurationsCreateOrUpdateDefaultResponse, +): response is MaintenanceConfigurationsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response - | MaintenanceConfigurationsDeletedefaultResponse, -): response is MaintenanceConfigurationsDeletedefaultResponse; + | MaintenanceConfigurationsDeleteDefaultResponse, +): response is MaintenanceConfigurationsDeleteDefaultResponse; export function isUnexpected( - response: AgentPoolsList200Response | AgentPoolsListdefaultResponse, -): response is AgentPoolsListdefaultResponse; + response: AgentPoolsList200Response | AgentPoolsListDefaultResponse, +): response is AgentPoolsListDefaultResponse; export function isUnexpected( - response: AgentPoolsGet200Response | AgentPoolsGetdefaultResponse, -): response is AgentPoolsGetdefaultResponse; + response: AgentPoolsGet200Response | AgentPoolsGetDefaultResponse, +): response is AgentPoolsGetDefaultResponse; export function isUnexpected( response: | AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response - | AgentPoolsCreateOrUpdatedefaultResponse, -): response is AgentPoolsCreateOrUpdatedefaultResponse; + | AgentPoolsCreateOrUpdateDefaultResponse, +): response is AgentPoolsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | AgentPoolsDelete202Response | AgentPoolsDelete204Response - | AgentPoolsDeletedefaultResponse, -): response is AgentPoolsDeletedefaultResponse; + | AgentPoolsDeleteDefaultResponse, +): response is AgentPoolsDeleteDefaultResponse; export function isUnexpected( - response: AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfiledefaultResponse, -): response is AgentPoolsGetUpgradeProfiledefaultResponse; + response: + | AgentPoolsGetUpgradeProfile200Response + | AgentPoolsGetUpgradeProfileDefaultResponse, +): response is AgentPoolsGetUpgradeProfileDefaultResponse; export function isUnexpected( response: | AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response - | AgentPoolsUpgradeNodeImageVersiondefaultResponse, -): response is AgentPoolsUpgradeNodeImageVersiondefaultResponse; + | AgentPoolsUpgradeNodeImageVersionDefaultResponse, +): response is AgentPoolsUpgradeNodeImageVersionDefaultResponse; export function isUnexpected( response: | PrivateEndpointConnectionsList200Response - | PrivateEndpointConnectionsListdefaultResponse, -): response is PrivateEndpointConnectionsListdefaultResponse; + | PrivateEndpointConnectionsListDefaultResponse, +): response is PrivateEndpointConnectionsListDefaultResponse; export function isUnexpected( - response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetdefaultResponse, -): response is PrivateEndpointConnectionsGetdefaultResponse; + response: + | PrivateEndpointConnectionsGet200Response + | PrivateEndpointConnectionsGetDefaultResponse, +): response is PrivateEndpointConnectionsGetDefaultResponse; export function isUnexpected( response: | PrivateEndpointConnectionsUpdate200Response - | PrivateEndpointConnectionsUpdatedefaultResponse, -): response is PrivateEndpointConnectionsUpdatedefaultResponse; + | PrivateEndpointConnectionsUpdateDefaultResponse, +): response is PrivateEndpointConnectionsUpdateDefaultResponse; export function isUnexpected( response: | PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeletedefaultResponse, -): response is PrivateEndpointConnectionsDeletedefaultResponse; + | PrivateEndpointConnectionsDeleteDefaultResponse, +): response is PrivateEndpointConnectionsDeleteDefaultResponse; export function isUnexpected( - response: PrivateLinkResourcesList200Response | PrivateLinkResourcesListdefaultResponse, -): response is PrivateLinkResourcesListdefaultResponse; + response: + | PrivateLinkResourcesList200Response + | PrivateLinkResourcesListDefaultResponse, +): response is PrivateLinkResourcesListDefaultResponse; export function isUnexpected( response: | ResolvePrivateLinkServiceIdPost200Response - | ResolvePrivateLinkServiceIdPostdefaultResponse, -): response is ResolvePrivateLinkServiceIdPostdefaultResponse; + | ResolvePrivateLinkServiceIdPostDefaultResponse, +): response is ResolvePrivateLinkServiceIdPostDefaultResponse; export function isUnexpected( - response: SnapshotsList200Response | SnapshotsListdefaultResponse, -): response is SnapshotsListdefaultResponse; + response: SnapshotsList200Response | SnapshotsListDefaultResponse, +): response is SnapshotsListDefaultResponse; export function isUnexpected( - response: SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupdefaultResponse, -): response is SnapshotsListByResourceGroupdefaultResponse; + response: + | SnapshotsListByResourceGroup200Response + | SnapshotsListByResourceGroupDefaultResponse, +): response is SnapshotsListByResourceGroupDefaultResponse; export function isUnexpected( - response: SnapshotsGet200Response | SnapshotsGetdefaultResponse, -): response is SnapshotsGetdefaultResponse; + response: SnapshotsGet200Response | SnapshotsGetDefaultResponse, +): response is SnapshotsGetDefaultResponse; export function isUnexpected( response: | SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response - | SnapshotsCreateOrUpdatedefaultResponse, -): response is SnapshotsCreateOrUpdatedefaultResponse; + | SnapshotsCreateOrUpdateDefaultResponse, +): response is SnapshotsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: SnapshotsUpdateTags200Response | SnapshotsUpdateTagsdefaultResponse, -): response is SnapshotsUpdateTagsdefaultResponse; + response: SnapshotsUpdateTags200Response | SnapshotsUpdateTagsDefaultResponse, +): response is SnapshotsUpdateTagsDefaultResponse; export function isUnexpected( response: | SnapshotsDelete200Response | SnapshotsDelete204Response - | SnapshotsDeletedefaultResponse, -): response is SnapshotsDeletedefaultResponse; + | SnapshotsDeleteDefaultResponse, +): response is SnapshotsDeleteDefaultResponse; export function isUnexpected( - response: ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListdefaultResponse, -): response is ManagedClusterSnapshotsListdefaultResponse; + response: + | ManagedClusterSnapshotsList200Response + | ManagedClusterSnapshotsListDefaultResponse, +): response is ManagedClusterSnapshotsListDefaultResponse; export function isUnexpected( response: | ManagedClusterSnapshotsListByResourceGroup200Response - | ManagedClusterSnapshotsListByResourceGroupdefaultResponse, -): response is ManagedClusterSnapshotsListByResourceGroupdefaultResponse; + | ManagedClusterSnapshotsListByResourceGroupDefaultResponse, +): response is ManagedClusterSnapshotsListByResourceGroupDefaultResponse; export function isUnexpected( - response: ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetdefaultResponse, -): response is ManagedClusterSnapshotsGetdefaultResponse; + response: + | ManagedClusterSnapshotsGet200Response + | ManagedClusterSnapshotsGetDefaultResponse, +): response is ManagedClusterSnapshotsGetDefaultResponse; export function isUnexpected( response: | ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response - | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse, -): response is ManagedClusterSnapshotsCreateOrUpdatedefaultResponse; + | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse, +): response is ManagedClusterSnapshotsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | ManagedClusterSnapshotsUpdateTags200Response - | ManagedClusterSnapshotsUpdateTagsdefaultResponse, -): response is ManagedClusterSnapshotsUpdateTagsdefaultResponse; + | ManagedClusterSnapshotsUpdateTagsDefaultResponse, +): response is ManagedClusterSnapshotsUpdateTagsDefaultResponse; export function isUnexpected( response: | ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response - | ManagedClusterSnapshotsDeletedefaultResponse, -): response is ManagedClusterSnapshotsDeletedefaultResponse; + | ManagedClusterSnapshotsDeleteDefaultResponse, +): response is ManagedClusterSnapshotsDeleteDefaultResponse; export function isUnexpected( - response: TrustedAccessRolesList200Response | TrustedAccessRolesListdefaultResponse, -): response is TrustedAccessRolesListdefaultResponse; + response: + | TrustedAccessRolesList200Response + | TrustedAccessRolesListDefaultResponse, +): response is TrustedAccessRolesListDefaultResponse; export function isUnexpected( - response: TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListdefaultResponse, -): response is TrustedAccessRoleBindingsListdefaultResponse; + response: + | TrustedAccessRoleBindingsList200Response + | TrustedAccessRoleBindingsListDefaultResponse, +): response is TrustedAccessRoleBindingsListDefaultResponse; export function isUnexpected( - response: TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetdefaultResponse, -): response is TrustedAccessRoleBindingsGetdefaultResponse; + response: + | TrustedAccessRoleBindingsGet200Response + | TrustedAccessRoleBindingsGetDefaultResponse, +): response is TrustedAccessRoleBindingsGetDefaultResponse; export function isUnexpected( response: | TrustedAccessRoleBindingsCreateOrUpdate200Response - | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse, -): response is TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse; + | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse, +): response is TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response - | TrustedAccessRoleBindingsDeletedefaultResponse, -): response is TrustedAccessRoleBindingsDeletedefaultResponse; + | TrustedAccessRoleBindingsDeleteDefaultResponse, +): response is TrustedAccessRoleBindingsDeleteDefaultResponse; export function isUnexpected( response: | OperationsList200Response - | OperationsListdefaultResponse + | OperationsListDefaultResponse | ManagedClustersGetOSOptions200Response - | ManagedClustersGetOSOptionsdefaultResponse + | ManagedClustersGetOSOptionsDefaultResponse | ManagedClustersList200Response - | ManagedClustersListdefaultResponse + | ManagedClustersListDefaultResponse | ManagedClustersListByResourceGroup200Response - | ManagedClustersListByResourceGroupdefaultResponse + | ManagedClustersListByResourceGroupDefaultResponse | ManagedClustersGetUpgradeProfile200Response - | ManagedClustersGetUpgradeProfiledefaultResponse + | ManagedClustersGetUpgradeProfileDefaultResponse | ManagedClustersGetAccessProfile200Response - | ManagedClustersGetAccessProfiledefaultResponse + | ManagedClustersGetAccessProfileDefaultResponse | ManagedClustersListClusterAdminCredentials200Response - | ManagedClustersListClusterAdminCredentialsdefaultResponse + | ManagedClustersListClusterAdminCredentialsDefaultResponse | ManagedClustersListClusterUserCredentials200Response - | ManagedClustersListClusterUserCredentialsdefaultResponse + | ManagedClustersListClusterUserCredentialsDefaultResponse | ManagedClustersListClusterMonitoringUserCredentials200Response - | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse + | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse | ManagedClustersGet200Response - | ManagedClustersGetdefaultResponse + | ManagedClustersGetDefaultResponse | ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response - | ManagedClustersCreateOrUpdatedefaultResponse + | ManagedClustersCreateOrUpdateDefaultResponse | ManagedClustersUpdateTags200Response - | ManagedClustersUpdateTagsdefaultResponse + | ManagedClustersUpdateTagsDefaultResponse | ManagedClustersDelete202Response | ManagedClustersDelete204Response - | ManagedClustersDeletedefaultResponse + | ManagedClustersDeleteDefaultResponse | ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response - | ManagedClustersResetServicePrincipalProfiledefaultResponse + | ManagedClustersResetServicePrincipalProfileDefaultResponse | ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response - | ManagedClustersResetAADProfiledefaultResponse + | ManagedClustersResetAADProfileDefaultResponse | ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response - | ManagedClustersRotateClusterCertificatesdefaultResponse + | ManagedClustersRotateClusterCertificatesDefaultResponse | ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response - | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse + | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse | ManagedClustersStop202Response | ManagedClustersStop204Response - | ManagedClustersStopdefaultResponse + | ManagedClustersStopDefaultResponse | ManagedClustersStart202Response | ManagedClustersStart204Response - | ManagedClustersStartdefaultResponse + | ManagedClustersStartDefaultResponse | ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response - | ManagedClustersRunCommanddefaultResponse + | ManagedClustersRunCommandDefaultResponse | ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response - | ManagedClustersGetCommandResultdefaultResponse + | ManagedClustersGetCommandResultDefaultResponse | ManagedClustersListOutboundNetworkDependenciesEndpoints200Response - | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse + | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse | MaintenanceConfigurationsListByManagedCluster200Response - | MaintenanceConfigurationsListByManagedClusterdefaultResponse + | MaintenanceConfigurationsListByManagedClusterDefaultResponse | MaintenanceConfigurationsGet200Response - | MaintenanceConfigurationsGetdefaultResponse + | MaintenanceConfigurationsGetDefaultResponse | MaintenanceConfigurationsCreateOrUpdate200Response - | MaintenanceConfigurationsCreateOrUpdatedefaultResponse + | MaintenanceConfigurationsCreateOrUpdateDefaultResponse | MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response - | MaintenanceConfigurationsDeletedefaultResponse + | MaintenanceConfigurationsDeleteDefaultResponse | AgentPoolsList200Response - | AgentPoolsListdefaultResponse + | AgentPoolsListDefaultResponse | AgentPoolsGet200Response - | AgentPoolsGetdefaultResponse + | AgentPoolsGetDefaultResponse | AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response - | AgentPoolsCreateOrUpdatedefaultResponse + | AgentPoolsCreateOrUpdateDefaultResponse | AgentPoolsDelete202Response | AgentPoolsDelete204Response - | AgentPoolsDeletedefaultResponse + | AgentPoolsDeleteDefaultResponse | AgentPoolsGetUpgradeProfile200Response - | AgentPoolsGetUpgradeProfiledefaultResponse + | AgentPoolsGetUpgradeProfileDefaultResponse | AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response - | AgentPoolsUpgradeNodeImageVersiondefaultResponse + | AgentPoolsUpgradeNodeImageVersionDefaultResponse | PrivateEndpointConnectionsList200Response - | PrivateEndpointConnectionsListdefaultResponse + | PrivateEndpointConnectionsListDefaultResponse | PrivateEndpointConnectionsGet200Response - | PrivateEndpointConnectionsGetdefaultResponse + | PrivateEndpointConnectionsGetDefaultResponse | PrivateEndpointConnectionsUpdate200Response - | PrivateEndpointConnectionsUpdatedefaultResponse + | PrivateEndpointConnectionsUpdateDefaultResponse | PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeletedefaultResponse + | PrivateEndpointConnectionsDeleteDefaultResponse | PrivateLinkResourcesList200Response - | PrivateLinkResourcesListdefaultResponse + | PrivateLinkResourcesListDefaultResponse | ResolvePrivateLinkServiceIdPost200Response - | ResolvePrivateLinkServiceIdPostdefaultResponse + | ResolvePrivateLinkServiceIdPostDefaultResponse | SnapshotsList200Response - | SnapshotsListdefaultResponse + | SnapshotsListDefaultResponse | SnapshotsListByResourceGroup200Response - | SnapshotsListByResourceGroupdefaultResponse + | SnapshotsListByResourceGroupDefaultResponse | SnapshotsGet200Response - | SnapshotsGetdefaultResponse + | SnapshotsGetDefaultResponse | SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response - | SnapshotsCreateOrUpdatedefaultResponse + | SnapshotsCreateOrUpdateDefaultResponse | SnapshotsUpdateTags200Response - | SnapshotsUpdateTagsdefaultResponse + | SnapshotsUpdateTagsDefaultResponse | SnapshotsDelete200Response | SnapshotsDelete204Response - | SnapshotsDeletedefaultResponse + | SnapshotsDeleteDefaultResponse | ManagedClusterSnapshotsList200Response - | ManagedClusterSnapshotsListdefaultResponse + | ManagedClusterSnapshotsListDefaultResponse | ManagedClusterSnapshotsListByResourceGroup200Response - | ManagedClusterSnapshotsListByResourceGroupdefaultResponse + | ManagedClusterSnapshotsListByResourceGroupDefaultResponse | ManagedClusterSnapshotsGet200Response - | ManagedClusterSnapshotsGetdefaultResponse + | ManagedClusterSnapshotsGetDefaultResponse | ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response - | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse + | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse | ManagedClusterSnapshotsUpdateTags200Response - | ManagedClusterSnapshotsUpdateTagsdefaultResponse + | ManagedClusterSnapshotsUpdateTagsDefaultResponse | ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response - | ManagedClusterSnapshotsDeletedefaultResponse + | ManagedClusterSnapshotsDeleteDefaultResponse | TrustedAccessRolesList200Response - | TrustedAccessRolesListdefaultResponse + | TrustedAccessRolesListDefaultResponse | TrustedAccessRoleBindingsList200Response - | TrustedAccessRoleBindingsListdefaultResponse + | TrustedAccessRoleBindingsListDefaultResponse | TrustedAccessRoleBindingsGet200Response - | TrustedAccessRoleBindingsGetdefaultResponse + | TrustedAccessRoleBindingsGetDefaultResponse | TrustedAccessRoleBindingsCreateOrUpdate200Response - | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse + | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse | TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response - | TrustedAccessRoleBindingsDeletedefaultResponse, + | TrustedAccessRoleBindingsDeleteDefaultResponse, ): response is - | OperationsListdefaultResponse - | ManagedClustersGetOSOptionsdefaultResponse - | ManagedClustersListdefaultResponse - | ManagedClustersListByResourceGroupdefaultResponse - | ManagedClustersGetUpgradeProfiledefaultResponse - | ManagedClustersGetAccessProfiledefaultResponse - | ManagedClustersListClusterAdminCredentialsdefaultResponse - | ManagedClustersListClusterUserCredentialsdefaultResponse - | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse - | ManagedClustersGetdefaultResponse - | ManagedClustersCreateOrUpdatedefaultResponse - | ManagedClustersUpdateTagsdefaultResponse - | ManagedClustersDeletedefaultResponse - | ManagedClustersResetServicePrincipalProfiledefaultResponse - | ManagedClustersResetAADProfiledefaultResponse - | ManagedClustersRotateClusterCertificatesdefaultResponse - | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse - | ManagedClustersStopdefaultResponse - | ManagedClustersStartdefaultResponse - | ManagedClustersRunCommanddefaultResponse - | ManagedClustersGetCommandResultdefaultResponse - | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse - | MaintenanceConfigurationsListByManagedClusterdefaultResponse - | MaintenanceConfigurationsGetdefaultResponse - | MaintenanceConfigurationsCreateOrUpdatedefaultResponse - | MaintenanceConfigurationsDeletedefaultResponse - | AgentPoolsListdefaultResponse - | AgentPoolsGetdefaultResponse - | AgentPoolsCreateOrUpdatedefaultResponse - | AgentPoolsDeletedefaultResponse - | AgentPoolsGetUpgradeProfiledefaultResponse - | AgentPoolsUpgradeNodeImageVersiondefaultResponse - | PrivateEndpointConnectionsListdefaultResponse - | PrivateEndpointConnectionsGetdefaultResponse - | PrivateEndpointConnectionsUpdatedefaultResponse - | PrivateEndpointConnectionsDeletedefaultResponse - | PrivateLinkResourcesListdefaultResponse - | ResolvePrivateLinkServiceIdPostdefaultResponse - | SnapshotsListdefaultResponse - | SnapshotsListByResourceGroupdefaultResponse - | SnapshotsGetdefaultResponse - | SnapshotsCreateOrUpdatedefaultResponse - | SnapshotsUpdateTagsdefaultResponse - | SnapshotsDeletedefaultResponse - | ManagedClusterSnapshotsListdefaultResponse - | ManagedClusterSnapshotsListByResourceGroupdefaultResponse - | ManagedClusterSnapshotsGetdefaultResponse - | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse - | ManagedClusterSnapshotsUpdateTagsdefaultResponse - | ManagedClusterSnapshotsDeletedefaultResponse - | TrustedAccessRolesListdefaultResponse - | TrustedAccessRoleBindingsListdefaultResponse - | TrustedAccessRoleBindingsGetdefaultResponse - | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse - | TrustedAccessRoleBindingsDeletedefaultResponse { + | OperationsListDefaultResponse + | ManagedClustersGetOSOptionsDefaultResponse + | ManagedClustersListDefaultResponse + | ManagedClustersListByResourceGroupDefaultResponse + | ManagedClustersGetUpgradeProfileDefaultResponse + | ManagedClustersGetAccessProfileDefaultResponse + | ManagedClustersListClusterAdminCredentialsDefaultResponse + | ManagedClustersListClusterUserCredentialsDefaultResponse + | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse + | ManagedClustersGetDefaultResponse + | ManagedClustersCreateOrUpdateDefaultResponse + | ManagedClustersUpdateTagsDefaultResponse + | ManagedClustersDeleteDefaultResponse + | ManagedClustersResetServicePrincipalProfileDefaultResponse + | ManagedClustersResetAADProfileDefaultResponse + | ManagedClustersRotateClusterCertificatesDefaultResponse + | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse + | ManagedClustersStopDefaultResponse + | ManagedClustersStartDefaultResponse + | ManagedClustersRunCommandDefaultResponse + | ManagedClustersGetCommandResultDefaultResponse + | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse + | MaintenanceConfigurationsListByManagedClusterDefaultResponse + | MaintenanceConfigurationsGetDefaultResponse + | MaintenanceConfigurationsCreateOrUpdateDefaultResponse + | MaintenanceConfigurationsDeleteDefaultResponse + | AgentPoolsListDefaultResponse + | AgentPoolsGetDefaultResponse + | AgentPoolsCreateOrUpdateDefaultResponse + | AgentPoolsDeleteDefaultResponse + | AgentPoolsGetUpgradeProfileDefaultResponse + | AgentPoolsUpgradeNodeImageVersionDefaultResponse + | PrivateEndpointConnectionsListDefaultResponse + | PrivateEndpointConnectionsGetDefaultResponse + | PrivateEndpointConnectionsUpdateDefaultResponse + | PrivateEndpointConnectionsDeleteDefaultResponse + | PrivateLinkResourcesListDefaultResponse + | ResolvePrivateLinkServiceIdPostDefaultResponse + | SnapshotsListDefaultResponse + | SnapshotsListByResourceGroupDefaultResponse + | SnapshotsGetDefaultResponse + | SnapshotsCreateOrUpdateDefaultResponse + | SnapshotsUpdateTagsDefaultResponse + | SnapshotsDeleteDefaultResponse + | ManagedClusterSnapshotsListDefaultResponse + | ManagedClusterSnapshotsListByResourceGroupDefaultResponse + | ManagedClusterSnapshotsGetDefaultResponse + | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse + | ManagedClusterSnapshotsUpdateTagsDefaultResponse + | ManagedClusterSnapshotsDeleteDefaultResponse + | TrustedAccessRolesListDefaultResponse + | TrustedAccessRoleBindingsListDefaultResponse + | TrustedAccessRoleBindingsGetDefaultResponse + | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse + | TrustedAccessRoleBindingsDeleteDefaultResponse { const lroOriginal = response.headers["x-ms-original-url"]; const url = new URL(lroOriginal ?? response.request.url); const method = response.request.method; let pathDetails = responseMap[`${method} ${url.pathname}`]; if (!pathDetails) { - pathDetails = geParametrizedPathSuccess(url.pathname); + pathDetails = getParametrizedPathSuccess(method, url.pathname); } return !pathDetails.includes(response.status); } -function geParametrizedPathSuccess(path: string): string[] { +function getParametrizedPathSuccess(method: string, path: string): string[] { const pathParts = path.split("/"); + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + // Iterate the responseMap to find a match for (const [key, value] of Object.entries(responseMap)) { // Extracting the path from the map key which is in format // GET /path/foo + if (!key.startsWith(method)) { + continue; + } const candidatePath = getPathFromMapKey(key); // Get each part of the url path const candidateParts = candidatePath.split("/"); - // If the candidate and actual paths don't match in size - // we move on to the next candidate path - if (candidateParts.length === pathParts.length && hasParametrizedPath(key)) { - // track if we have found a match to return the values found. - let found = true; - for (let i = 0; i < candidateParts.length; i++) { - if (candidateParts[i].startsWith("{") && candidateParts[i].endsWith("}")) { - // If the current part of the candidate is a "template" part - // it is a match with the actual path part on hand - // skip as the parameterized part can match anything - continue; - } + // track if we have found a match to return the values found. + let found = true; + for ( + let i = candidateParts.length - 1, j = pathParts.length - 1; + i >= 1 && j >= 1; + i--, j-- + ) { + if ( + candidateParts[i]?.startsWith("{") && + candidateParts[i]?.indexOf("}") !== -1 + ) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp( + `${candidateParts[i]?.slice(start, end)}`, + ).test(pathParts[j] || ""); - // If the candidate part is not a template and - // the parts don't match mark the candidate as not found - // to move on with the next candidate path. - if (candidateParts[i] !== pathParts[i]) { + if (!isMatched) { found = false; break; } + continue; } - // We finished evaluating the current candidate parts - // if all parts matched we return the success values form - // the path mapping. - if (found) { - return value; + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; } } - } - // No match was found, return an empty array. - return []; -} + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } -function hasParametrizedPath(path: string): boolean { - return path.includes("/{"); + return matchedValue; } function getPathFromMapKey(mapKey: string): string { diff --git a/sdk/containerservice/arm-containerservice-rest/src/logger.ts b/sdk/containerservice/arm-containerservice-rest/src/logger.ts new file mode 100644 index 000000000000..9505b8f720dd --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-containerservice"); diff --git a/sdk/containerservice/arm-containerservice-rest/src/models.ts b/sdk/containerservice/arm-containerservice-rest/src/models.ts index 4d68074d66bd..1814b8c8e69e 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/models.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/models.ts @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** Managed cluster. */ export interface ManagedCluster extends TrackedResource { /** The managed cluster SKU. */ sku?: ManagedClusterSKU; @@ -12,6 +13,7 @@ export interface ManagedCluster extends TrackedResource { properties?: ManagedClusterProperties; } +/** The SKU of a Managed Cluster. */ export interface ManagedClusterSKU { /** The name of a managed cluster SKU. */ name?: "Basic"; @@ -19,6 +21,7 @@ export interface ManagedClusterSKU { tier?: "Paid" | "Free"; } +/** The complex type of the extended location. */ export interface ExtendedLocation { /** The name of the extended location. */ name?: string; @@ -26,47 +29,29 @@ export interface ExtendedLocation { type?: "EdgeZone"; } +/** Identity for the managed cluster. */ export interface ManagedClusterIdentity { - /** The principal id of the system assigned identity which is used by master components. */ - principalId?: string; - /** The tenant id of the system assigned identity which is used by master components. */ - tenantId?: string; /** For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ type?: "SystemAssigned" | "UserAssigned" | "None"; /** The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: Record; + userAssignedIdentities?: Record< + string, + ManagedServiceIdentityUserAssignedIdentitiesValue + >; } -export interface ManagedServiceIdentityUserAssignedIdentitiesValue { - /** The principal id of user assigned identity. */ - principalId?: string; - /** The client id of user assigned identity. */ - clientId?: string; -} +export interface ManagedServiceIdentityUserAssignedIdentitiesValue {} +/** Properties of the managed cluster. */ export interface ManagedClusterProperties { - /** The current provisioning state. */ - provisioningState?: string; - /** The Power State of the cluster. */ - powerState?: PowerState; /** CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a snapshot. */ creationData?: CreationData; - /** The max number of agent pools for the managed cluster. */ - maxAgentPools?: number; /** When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. */ kubernetesVersion?: string; - /** The version of Kubernetes the Managed Cluster is running. */ - currentKubernetesVersion?: string; /** This cannot be updated once the Managed Cluster has been created. */ dnsPrefix?: string; /** This cannot be updated once the Managed Cluster has been created. */ fqdnSubdomain?: string; - /** The FQDN of the master pool. */ - fqdn?: string; - /** The FQDN of private cluster. */ - privateFQDN?: string; - /** The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. */ - azurePortalFQDN?: string; /** The agent pool properties. */ agentPoolProfiles?: Array; /** The profile for Linux VMs in the Managed Cluster. */ @@ -121,21 +106,26 @@ export interface ManagedClusterProperties { workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfile; } +/** Describes the Power State of the cluster */ export interface PowerState { /** Tells whether the cluster is Running or Stopped */ code?: "Running" | "Stopped"; } +/** Data used when creating a target resource from a source resource. */ export interface CreationData { /** This is the ARM ID of the source object to be used to create the target object. */ sourceResourceId?: string; } -export interface ManagedClusterAgentPoolProfile extends ManagedClusterAgentPoolProfileProperties { +/** Profile for the container service agent pool. */ +export interface ManagedClusterAgentPoolProfile + extends ManagedClusterAgentPoolProfileProperties { /** Windows agent pool names must be 6 characters or less. */ name: string; } +/** Properties for the container service agent pool profile. */ export interface ManagedClusterAgentPoolProfileProperties { /** Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ count?: number; @@ -175,14 +165,8 @@ export interface ManagedClusterAgentPoolProfileProperties { mode?: "System" | "User"; /** Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: string; - /** If orchestratorVersion was a fully specified version , this field will be exactly equal to it. If orchestratorVersion was , this field will contain the full version being used. */ - currentOrchestratorVersion?: string; - /** The version of node image */ - nodeImageVersion?: string; /** Settings for upgrading the agentpool */ upgradeSettings?: AgentPoolUpgradeSettings; - /** The current deployment or provisioning state. */ - provisioningState?: string; /** When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ powerState?: PowerState; /** The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ @@ -227,11 +211,13 @@ export interface ManagedClusterAgentPoolProfileProperties { hostGroupID?: string; } +/** Settings for upgrading an agentpool */ export interface AgentPoolUpgradeSettings { /** This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade */ maxSurge?: string; } +/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface KubeletConfig { /** The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. */ cpuManagerPolicy?: string; @@ -257,6 +243,7 @@ export interface KubeletConfig { podMaxPids?: number; } +/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface LinuxOSConfig { /** Sysctl settings for Linux agent nodes. */ sysctls?: SysctlConfig; @@ -268,6 +255,7 @@ export interface LinuxOSConfig { swapFileSizeMB?: number; } +/** Sysctl settings for Linux agent nodes. */ export interface SysctlConfig { /** Sysctl setting net.core.somaxconn. */ netCoreSomaxconn?: number; @@ -327,6 +315,7 @@ export interface SysctlConfig { vmVfsCachePressure?: number; } +/** Profile for Linux VMs in the container service cluster. */ export interface ContainerServiceLinuxProfile { /** The administrator username to use for Linux VMs. */ adminUsername: string; @@ -334,16 +323,19 @@ export interface ContainerServiceLinuxProfile { ssh: ContainerServiceSshConfiguration; } +/** SSH configuration for Linux-based VMs running on Azure. */ export interface ContainerServiceSshConfiguration { /** The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ publicKeys: Array; } +/** Contains information about SSH certificate public key data. */ export interface ContainerServiceSshPublicKey { /** Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. */ keyData: string; } +/** Profile for Windows VMs in the managed cluster. */ export interface ManagedClusterWindowsProfile { /** Specifies the name of the administrator account.

    **Restriction:** Cannot end in "."

    **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

    **Minimum-length:** 1 character

    **Max-length:** 20 characters */ adminUsername: string; @@ -357,6 +349,7 @@ export interface ManagedClusterWindowsProfile { gmsaProfile?: WindowsGmsaProfile; } +/** Windows gMSA Profile in the managed cluster. */ export interface WindowsGmsaProfile { /** Specifies whether to enable Windows gMSA in the managed cluster. */ enabled?: boolean; @@ -366,6 +359,7 @@ export interface WindowsGmsaProfile { rootDomainName?: string; } +/** Information about a service principal identity for the cluster to use for manipulating Azure APIs. */ export interface ManagedClusterServicePrincipalProfile { /** The ID for the service principal. */ clientId: string; @@ -373,17 +367,19 @@ export interface ManagedClusterServicePrincipalProfile { secret?: string; } +/** A Kubernetes add-on profile for a managed cluster. */ export interface ManagedClusterAddonProfile { /** Whether the add-on is enabled or not. */ enabled: boolean; /** Key-value pairs for configuring an add-on. */ config?: Record; - /** Information of user assigned identity used by this add-on. */ - identity?: ManagedClusterAddonProfileIdentity; } -export interface ManagedClusterAddonProfileIdentity extends UserAssignedIdentity {} +/** Information of user assigned identity used by this add-on. */ +export interface ManagedClusterAddonProfileIdentity + extends UserAssignedIdentity {} +/** Details about a user assigned identity. */ export interface UserAssignedIdentity { /** The resource ID of the user assigned identity. */ resourceId?: string; @@ -393,6 +389,7 @@ export interface UserAssignedIdentity { objectId?: string; } +/** See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. */ export interface ManagedClusterPodIdentityProfile { /** Whether the pod identity addon is enabled. */ enabled?: boolean; @@ -404,6 +401,7 @@ export interface ManagedClusterPodIdentityProfile { userAssignedIdentityExceptions?: Array; } +/** Details about the pod identity assigned to the Managed Cluster. */ export interface ManagedClusterPodIdentity { /** The name of the pod identity. */ name: string; @@ -413,9 +411,6 @@ export interface ManagedClusterPodIdentity { bindingSelector?: string; /** The user assigned identity details. */ identity: UserAssignedIdentity; - /** The current provisioning state of the pod identity. */ - provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; - provisioningInfo?: ManagedClusterPodIdentityProvisioningInfo; } export interface ManagedClusterPodIdentityProvisioningInfo { @@ -423,11 +418,13 @@ export interface ManagedClusterPodIdentityProvisioningInfo { error?: ManagedClusterPodIdentityProvisioningError; } +/** An error response from the pod identity provisioning. */ export interface ManagedClusterPodIdentityProvisioningError { /** Details about the error. */ error?: ManagedClusterPodIdentityProvisioningErrorBody; } +/** An error response from the pod identity provisioning. */ export interface ManagedClusterPodIdentityProvisioningErrorBody { /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */ code?: string; @@ -439,6 +436,7 @@ export interface ManagedClusterPodIdentityProvisioningErrorBody { details?: Array; } +/** See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. */ export interface ManagedClusterPodIdentityException { /** The name of the pod identity exception. */ name: string; @@ -448,13 +446,13 @@ export interface ManagedClusterPodIdentityException { podLabels: Record; } +/** The OIDC issuer profile of the Managed Cluster. */ export interface ManagedClusterOidcIssuerProfile { - /** The OIDC issuer url of the Managed Cluster. */ - issuerURL?: string; /** Whether the OIDC issuer is enabled. */ enabled?: boolean; } +/** Profile of network configuration. */ export interface ContainerServiceNetworkProfile { /** Network plugin used for building the Kubernetes network. */ networkPlugin?: "azure" | "kubenet" | "none"; @@ -492,6 +490,7 @@ export interface ContainerServiceNetworkProfile { ipFamilies?: Array<"IPv4" | "IPv6">; } +/** Profile of the managed cluster load balancer. */ export interface ManagedClusterLoadBalancerProfile { /** Desired managed outbound IPs for the cluster load balancer. */ managedOutboundIPs?: ManagedClusterLoadBalancerProfileManagedOutboundIPs; @@ -509,6 +508,7 @@ export interface ManagedClusterLoadBalancerProfile { enableMultipleStandardLoadBalancers?: boolean; } +/** Desired managed outbound IPs for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPs { /** The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. */ count?: number; @@ -516,21 +516,25 @@ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPs { countIPv6?: number; } +/** Desired outbound IP Prefix resources for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixes { /** A list of public IP prefix resources. */ publicIPPrefixes?: Array; } +/** A reference to an Azure resource. */ export interface ResourceReference { /** The fully qualified Azure resource id. */ id?: string; } +/** Desired outbound IP resources for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutboundIPs { /** A list of public IP resources. */ publicIPs?: Array; } +/** Profile of the managed cluster NAT gateway. */ export interface ManagedClusterNATGatewayProfile { /** Profile of the managed outbound IP resources of the cluster NAT gateway. */ managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile; @@ -540,11 +544,13 @@ export interface ManagedClusterNATGatewayProfile { idleTimeoutInMinutes?: number; } +/** Profile of the managed outbound IP resources of the managed cluster. */ export interface ManagedClusterManagedOutboundIPProfile { /** The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. */ count?: number; } +/** For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */ export interface ManagedClusterAADProfile { /** Whether to enable managed AAD. */ managed?: boolean; @@ -562,11 +568,13 @@ export interface ManagedClusterAADProfile { tenantID?: string; } +/** Auto upgrade profile for a managed cluster. */ export interface ManagedClusterAutoUpgradeProfile { /** For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ upgradeChannel?: "rapid" | "stable" | "patch" | "node-image" | "none"; } +/** Parameters to be applied to the cluster-autoscaler when enabled */ export interface ManagedClusterPropertiesAutoScalerProfile { /** Valid values are 'true' and 'false' */ "balance-similar-node-groups"?: string; @@ -604,6 +612,7 @@ export interface ManagedClusterPropertiesAutoScalerProfile { "skip-nodes-with-system-pods"?: string; } +/** Access profile for managed cluster API server. */ export interface ManagedClusterAPIServerAccessProfile { /** IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). */ authorizedIPRanges?: Array; @@ -621,6 +630,7 @@ export interface ManagedClusterAPIServerAccessProfile { subnetId?: string; } +/** A private link resource */ export interface PrivateLinkResource { /** The ID of the private link resource. */ id?: string; @@ -632,10 +642,9 @@ export interface PrivateLinkResource { groupId?: string; /** The RequiredMembers of the resource */ requiredMembers?: Array; - /** The private link service ID of the resource, this field is exposed only to NRP internally. */ - privateLinkServiceID?: string; } +/** Cluster HTTP proxy configuration. */ export interface ManagedClusterHttpProxyConfig { /** The HTTP proxy server endpoint to use. */ httpProxy?: string; @@ -643,12 +652,11 @@ export interface ManagedClusterHttpProxyConfig { httpsProxy?: string; /** The endpoints that should not go through proxy. */ noProxy?: Array; - /** A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a superset of noProxy and values injected by AKS. */ - effectiveNoProxy?: Array; /** Alternative CA cert to use for connecting to proxy servers. */ trustedCa?: string; } +/** Security profile for the container service cluster. */ export interface ManagedClusterSecurityProfile { /** Microsoft Defender settings for the security profile. */ defender?: ManagedClusterSecurityProfileDefender; @@ -658,6 +666,7 @@ export interface ManagedClusterSecurityProfile { workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentity; } +/** Microsoft Defender settings for the security profile. */ export interface ManagedClusterSecurityProfileDefender { /** Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. */ logAnalyticsWorkspaceResourceId?: string; @@ -665,11 +674,13 @@ export interface ManagedClusterSecurityProfileDefender { securityMonitoring?: ManagedClusterSecurityProfileDefenderSecurityMonitoring; } +/** Microsoft Defender settings for the security profile threat detection. */ export interface ManagedClusterSecurityProfileDefenderSecurityMonitoring { /** Whether to enable Defender threat detection */ enabled?: boolean; } +/** Azure Key Vault key management service settings for the security profile. */ export interface AzureKeyVaultKms { /** Whether to enable Azure Key Vault key management service. The default is false. */ enabled?: boolean; @@ -681,11 +692,13 @@ export interface AzureKeyVaultKms { keyVaultResourceId?: string; } +/** Workload Identity settings for the security profile. */ export interface ManagedClusterSecurityProfileWorkloadIdentity { /** Whether to enable Workload Identity */ enabled?: boolean; } +/** Storage profile for the container service cluster. */ export interface ManagedClusterStorageProfile { /** AzureDisk CSI Driver settings for the storage profile. */ diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriver; @@ -697,6 +710,7 @@ export interface ManagedClusterStorageProfile { blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriver; } +/** AzureDisk CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileDiskCSIDriver { /** Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: boolean; @@ -704,26 +718,31 @@ export interface ManagedClusterStorageProfileDiskCSIDriver { version?: string; } +/** AzureFile CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileFileCSIDriver { /** Whether to enable AzureFile CSI Driver. The default value is true. */ enabled?: boolean; } +/** Snapshot Controller settings for the storage profile. */ export interface ManagedClusterStorageProfileSnapshotController { /** Whether to enable Snapshot Controller. The default value is true. */ enabled?: boolean; } +/** AzureBlob CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileBlobCSIDriver { /** Whether to enable AzureBlob CSI Driver. The default value is false. */ enabled?: boolean; } +/** Ingress profile for the container service cluster. */ export interface ManagedClusterIngressProfile { /** Web App Routing settings for the ingress profile. */ webAppRouting?: ManagedClusterIngressProfileWebAppRouting; } +/** Web App Routing settings for the ingress profile. */ export interface ManagedClusterIngressProfileWebAppRouting { /** Whether to enable Web App Routing. */ enabled?: boolean; @@ -731,16 +750,19 @@ export interface ManagedClusterIngressProfileWebAppRouting { dnsZoneResourceId?: string; } +/** Workload Auto-scaler profile for the container service cluster. */ export interface ManagedClusterWorkloadAutoScalerProfile { /** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ keda?: ManagedClusterWorkloadAutoScalerProfileKeda; } +/** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ export interface ManagedClusterWorkloadAutoScalerProfileKeda { /** Whether to enable KEDA. */ enabled: boolean; } +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends Resource { /** Resource tags. */ tags?: Record; @@ -748,17 +770,10 @@ export interface TrackedResource extends Resource { location: string; } -export interface Resource { - /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - id?: string; - /** The name of the resource */ - name?: string; - /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - type?: string; - /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - systemData?: SystemData; -} +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource {} +/** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { /** The identity that created the resource. */ createdBy?: string; @@ -774,11 +789,13 @@ export interface SystemData { lastModifiedAt?: Date | string; } +/** Managed cluster Access Profile. */ export interface ManagedClusterAccessProfile extends TrackedResource { /** AccessProfile of a managed cluster. */ properties?: AccessProfile; } +/** Profile for enabling a user to access a managed cluster. */ export interface AccessProfile { /** * Base64-encoded Kubernetes configuration file. @@ -788,18 +805,19 @@ export interface AccessProfile { kubeConfig?: string; } +/** Tags object for patch operations. */ export interface TagsObject { /** Resource tags. */ tags?: Record; } +/** See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. */ export interface MaintenanceConfiguration extends SubResource { - /** The system metadata relating to this resource. */ - systemData?: SystemData; /** Properties of a default maintenance configuration. */ properties?: MaintenanceConfigurationProperties; } +/** Properties used to configure planned maintenance for a Managed Cluster. */ export interface MaintenanceConfigurationProperties { /** If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. */ timeInWeek?: Array; @@ -807,13 +825,22 @@ export interface MaintenanceConfigurationProperties { notAllowedTime?: Array; } +/** Time in a week. */ export interface TimeInWeek { /** The day of the week. */ - day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; + day?: + | "Sunday" + | "Monday" + | "Tuesday" + | "Wednesday" + | "Thursday" + | "Friday" + | "Saturday"; /** Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ hourSlots?: Array; } +/** For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. */ export interface TimeSpan { /** The start of a time span */ start?: Date | string; @@ -821,45 +848,36 @@ export interface TimeSpan { end?: Date | string; } -export interface SubResource { - /** Resource ID. */ - id?: string; - /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; - /** Resource type */ - type?: string; -} +/** Reference to another subresource. */ +export interface SubResource {} +/** Agent Pool. */ export interface AgentPool extends SubResource { /** Properties of an agent pool. */ properties?: ManagedClusterAgentPoolProfileProperties; } +/** A private endpoint connection */ export interface PrivateEndpointConnection { - /** The ID of the private endpoint connection. */ - id?: string; - /** The name of the private endpoint connection. */ - name?: string; - /** The resource type. */ - type?: string; /** The properties of a private endpoint connection. */ properties?: PrivateEndpointConnectionProperties; } +/** Properties of a private endpoint connection. */ export interface PrivateEndpointConnectionProperties { - /** The current provisioning state. */ - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; /** The resource of private endpoint. */ privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; } +/** Private endpoint which a connection belongs to. */ export interface PrivateEndpoint { /** The resource ID of the private endpoint */ id?: string; } +/** The state of a private link service connection. */ export interface PrivateLinkServiceConnectionState { /** The private link service connection status. */ status?: "Pending" | "Approved" | "Rejected" | "Disconnected"; @@ -867,6 +885,7 @@ export interface PrivateLinkServiceConnectionState { description?: string; } +/** A run command request */ export interface RunCommandRequest { /** The command to run. */ command: string; @@ -876,44 +895,35 @@ export interface RunCommandRequest { clusterToken?: string; } +/** A node pool snapshot resource. */ export interface Snapshot extends TrackedResource { /** Properties of a snapshot. */ properties?: SnapshotProperties; } +/** Properties used to configure a node pool snapshot. */ export interface SnapshotProperties { /** CreationData to be used to specify the source agent pool resource ID to create this snapshot. */ creationData?: CreationData; /** The type of a snapshot. The default is NodePool. */ snapshotType?: "NodePool" | "ManagedCluster"; - /** The version of Kubernetes. */ - kubernetesVersion?: string; - /** The version of node image. */ - nodeImageVersion?: string; - /** The operating system type. The default is Linux. */ - osType?: "Linux" | "Windows"; - /** Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. */ - osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; - /** The size of the VM. */ - vmSize?: string; - /** Whether to use a FIPS-enabled OS. */ - enableFIPS?: boolean; } +/** A managed cluster snapshot resource. */ export interface ManagedClusterSnapshot extends TrackedResource { /** Properties of a managed cluster snapshot. */ properties?: ManagedClusterSnapshotProperties; } +/** Properties for a managed cluster snapshot. */ export interface ManagedClusterSnapshotProperties { /** CreationData to be used to specify the source resource ID to create this snapshot. */ creationData?: CreationData; /** The type of a snapshot. The default is NodePool. */ snapshotType?: "NodePool" | "ManagedCluster"; - /** What the properties will be showed when getting managed cluster snapshot. Those properties are read-only. */ - managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshot; } +/** managed cluster properties for snapshot, these properties are read only. */ export interface ManagedClusterPropertiesForSnapshot { /** The current kubernetes version. */ kubernetesVersion?: string; @@ -921,10 +931,9 @@ export interface ManagedClusterPropertiesForSnapshot { sku?: ManagedClusterSKU; /** Whether the cluster has enabled Kubernetes Role-Based Access Control or not. */ enableRbac?: boolean; - /** The current network profile. */ - networkProfile?: NetworkProfileForSnapshot; } +/** network profile for managed cluster snapshot, these properties are read only. */ export interface NetworkProfileForSnapshot { /** networkPlugin for managed cluster snapshot. */ networkPlugin?: "azure" | "kubenet" | "none"; @@ -938,14 +947,14 @@ export interface NetworkProfileForSnapshot { loadBalancerSku?: "standard" | "basic"; } +/** Defines binding between a resource and role */ export interface TrustedAccessRoleBinding extends Resource { /** Properties for trusted access role binding */ properties: TrustedAccessRoleBindingProperties; } +/** Properties for trusted access role binding */ export interface TrustedAccessRoleBindingProperties { - /** The current provisioning state of trusted access role binding. */ - provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; /** The ARM resource ID of source resource that trusted access is configured for. */ sourceResourceId: string; /** A list of roles to bind, each item is a resource type qualified role name. For example: 'Microsoft.MachineLearningServices/workspaces/reader'. */ diff --git a/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts b/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts index 6a97d6578b7c..a407b7138a29 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts @@ -1,36 +1,41 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** The List Operation response. */ export interface OperationListResultOutput { /** The list of operations */ - value?: Array; + readonly value?: Array; } +/** Describes the properties of a Operation value. */ export interface OperationValueOutput { /** The origin of the operation. */ - origin?: string; + readonly origin?: string; /** The name of the operation. */ - name?: string; + readonly name?: string; /** Describes the properties of a Operation Value Display. */ display?: OperationValueDisplayOutput; } +/** Describes the properties of a Operation Value Display. */ export interface OperationValueDisplayOutput { /** The display name of the operation. */ - operation?: string; + readonly operation?: string; /** The display name of the resource the operation applies to. */ - resource?: string; + readonly resource?: string; /** The description of the operation. */ - description?: string; + readonly description?: string; /** The resource provider for the operation. */ - provider?: string; + readonly provider?: string; } +/** An error response from the Container service. */ export interface CloudErrorOutput { /** Details about the error. */ error?: CloudErrorBodyOutput; } +/** An error response from the Container service. */ export interface CloudErrorBodyOutput { /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */ code?: string; @@ -42,22 +47,25 @@ export interface CloudErrorBodyOutput { details?: Array; } +/** The OS option profile. */ export interface OSOptionProfileOutput { /** The ID of the OS option resource. */ - id?: string; + readonly id?: string; /** The name of the OS option resource. */ - name?: string; + readonly name?: string; /** The type of the OS option resource. */ - type?: string; + readonly type?: string; /** The list of OS options. */ properties: OSOptionPropertyListOutput; } +/** The list of OS option properties. */ export interface OSOptionPropertyListOutput { /** The list of OS options. */ osOptionPropertyList: Array; } +/** OS option property. */ export interface OSOptionPropertyOutput { /** The OS type. */ "os-type": string; @@ -65,13 +73,15 @@ export interface OSOptionPropertyOutput { "enable-fips-image": boolean; } +/** The response from the List Managed Clusters operation. */ export interface ManagedClusterListResultOutput { /** The list of managed clusters. */ value?: Array; /** The URL to get the next set of managed cluster results. */ - nextLink?: string; + readonly nextLink?: string; } +/** Managed cluster. */ export interface ManagedClusterOutput extends TrackedResourceOutput { /** The managed cluster SKU. */ sku?: ManagedClusterSKUOutput; @@ -83,6 +93,7 @@ export interface ManagedClusterOutput extends TrackedResourceOutput { properties?: ManagedClusterPropertiesOutput; } +/** The SKU of a Managed Cluster. */ export interface ManagedClusterSKUOutput { /** The name of a managed cluster SKU. */ name?: "Basic"; @@ -90,6 +101,7 @@ export interface ManagedClusterSKUOutput { tier?: "Paid" | "Free"; } +/** The complex type of the extended location. */ export interface ExtendedLocationOutput { /** The name of the extended location. */ name?: string; @@ -97,47 +109,52 @@ export interface ExtendedLocationOutput { type?: "EdgeZone"; } +/** Identity for the managed cluster. */ export interface ManagedClusterIdentityOutput { /** The principal id of the system assigned identity which is used by master components. */ - principalId?: string; + readonly principalId?: string; /** The tenant id of the system assigned identity which is used by master components. */ - tenantId?: string; + readonly tenantId?: string; /** For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ type?: "SystemAssigned" | "UserAssigned" | "None"; /** The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: Record; + userAssignedIdentities?: Record< + string, + ManagedServiceIdentityUserAssignedIdentitiesValueOutput + >; } export interface ManagedServiceIdentityUserAssignedIdentitiesValueOutput { /** The principal id of user assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The client id of user assigned identity. */ - clientId?: string; + readonly clientId?: string; } +/** Properties of the managed cluster. */ export interface ManagedClusterPropertiesOutput { /** The current provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** The Power State of the cluster. */ - powerState?: PowerStateOutput; + readonly powerState?: PowerStateOutput; /** CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a snapshot. */ creationData?: CreationDataOutput; /** The max number of agent pools for the managed cluster. */ - maxAgentPools?: number; + readonly maxAgentPools?: number; /** When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. */ kubernetesVersion?: string; /** The version of Kubernetes the Managed Cluster is running. */ - currentKubernetesVersion?: string; + readonly currentKubernetesVersion?: string; /** This cannot be updated once the Managed Cluster has been created. */ dnsPrefix?: string; /** This cannot be updated once the Managed Cluster has been created. */ fqdnSubdomain?: string; /** The FQDN of the master pool. */ - fqdn?: string; + readonly fqdn?: string; /** The FQDN of private cluster. */ - privateFQDN?: string; + readonly privateFQDN?: string; /** The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. */ - azurePortalFQDN?: string; + readonly azurePortalFQDN?: string; /** The agent pool properties. */ agentPoolProfiles?: Array; /** The profile for Linux VMs in the Managed Cluster. */ @@ -192,22 +209,26 @@ export interface ManagedClusterPropertiesOutput { workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfileOutput; } +/** Describes the Power State of the cluster */ export interface PowerStateOutput { /** Tells whether the cluster is Running or Stopped */ code?: "Running" | "Stopped"; } +/** Data used when creating a target resource from a source resource. */ export interface CreationDataOutput { /** This is the ARM ID of the source object to be used to create the target object. */ sourceResourceId?: string; } +/** Profile for the container service agent pool. */ export interface ManagedClusterAgentPoolProfileOutput extends ManagedClusterAgentPoolProfilePropertiesOutput { /** Windows agent pool names must be 6 characters or less. */ name: string; } +/** Properties for the container service agent pool profile. */ export interface ManagedClusterAgentPoolProfilePropertiesOutput { /** Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ count?: number; @@ -248,13 +269,13 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { /** Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: string; /** If orchestratorVersion was a fully specified version , this field will be exactly equal to it. If orchestratorVersion was , this field will contain the full version being used. */ - currentOrchestratorVersion?: string; + readonly currentOrchestratorVersion?: string; /** The version of node image */ - nodeImageVersion?: string; + readonly nodeImageVersion?: string; /** Settings for upgrading the agentpool */ upgradeSettings?: AgentPoolUpgradeSettingsOutput; /** The current deployment or provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ powerState?: PowerStateOutput; /** The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ @@ -299,11 +320,13 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { hostGroupID?: string; } +/** Settings for upgrading an agentpool */ export interface AgentPoolUpgradeSettingsOutput { /** This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade */ maxSurge?: string; } +/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface KubeletConfigOutput { /** The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. */ cpuManagerPolicy?: string; @@ -329,6 +352,7 @@ export interface KubeletConfigOutput { podMaxPids?: number; } +/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface LinuxOSConfigOutput { /** Sysctl settings for Linux agent nodes. */ sysctls?: SysctlConfigOutput; @@ -340,6 +364,7 @@ export interface LinuxOSConfigOutput { swapFileSizeMB?: number; } +/** Sysctl settings for Linux agent nodes. */ export interface SysctlConfigOutput { /** Sysctl setting net.core.somaxconn. */ netCoreSomaxconn?: number; @@ -399,6 +424,7 @@ export interface SysctlConfigOutput { vmVfsCachePressure?: number; } +/** Profile for Linux VMs in the container service cluster. */ export interface ContainerServiceLinuxProfileOutput { /** The administrator username to use for Linux VMs. */ adminUsername: string; @@ -406,16 +432,19 @@ export interface ContainerServiceLinuxProfileOutput { ssh: ContainerServiceSshConfigurationOutput; } +/** SSH configuration for Linux-based VMs running on Azure. */ export interface ContainerServiceSshConfigurationOutput { /** The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ publicKeys: Array; } +/** Contains information about SSH certificate public key data. */ export interface ContainerServiceSshPublicKeyOutput { /** Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. */ keyData: string; } +/** Profile for Windows VMs in the managed cluster. */ export interface ManagedClusterWindowsProfileOutput { /** Specifies the name of the administrator account.

    **Restriction:** Cannot end in "."

    **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

    **Minimum-length:** 1 character

    **Max-length:** 20 characters */ adminUsername: string; @@ -429,6 +458,7 @@ export interface ManagedClusterWindowsProfileOutput { gmsaProfile?: WindowsGmsaProfileOutput; } +/** Windows gMSA Profile in the managed cluster. */ export interface WindowsGmsaProfileOutput { /** Specifies whether to enable Windows gMSA in the managed cluster. */ enabled?: boolean; @@ -438,6 +468,7 @@ export interface WindowsGmsaProfileOutput { rootDomainName?: string; } +/** Information about a service principal identity for the cluster to use for manipulating Azure APIs. */ export interface ManagedClusterServicePrincipalProfileOutput { /** The ID for the service principal. */ clientId: string; @@ -445,17 +476,21 @@ export interface ManagedClusterServicePrincipalProfileOutput { secret?: string; } +/** A Kubernetes add-on profile for a managed cluster. */ export interface ManagedClusterAddonProfileOutput { /** Whether the add-on is enabled or not. */ enabled: boolean; /** Key-value pairs for configuring an add-on. */ config?: Record; /** Information of user assigned identity used by this add-on. */ - identity?: ManagedClusterAddonProfileIdentityOutput; + readonly identity?: ManagedClusterAddonProfileIdentityOutput; } -export interface ManagedClusterAddonProfileIdentityOutput extends UserAssignedIdentityOutput {} +/** Information of user assigned identity used by this add-on. */ +export interface ManagedClusterAddonProfileIdentityOutput + extends UserAssignedIdentityOutput {} +/** Details about a user assigned identity. */ export interface UserAssignedIdentityOutput { /** The resource ID of the user assigned identity. */ resourceId?: string; @@ -465,6 +500,7 @@ export interface UserAssignedIdentityOutput { objectId?: string; } +/** See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. */ export interface ManagedClusterPodIdentityProfileOutput { /** Whether the pod identity addon is enabled. */ enabled?: boolean; @@ -476,6 +512,7 @@ export interface ManagedClusterPodIdentityProfileOutput { userAssignedIdentityExceptions?: Array; } +/** Details about the pod identity assigned to the Managed Cluster. */ export interface ManagedClusterPodIdentityOutput { /** The name of the pod identity. */ name: string; @@ -486,8 +523,8 @@ export interface ManagedClusterPodIdentityOutput { /** The user assigned identity details. */ identity: UserAssignedIdentityOutput; /** The current provisioning state of the pod identity. */ - provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; - provisioningInfo?: ManagedClusterPodIdentityProvisioningInfoOutput; + readonly provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; + readonly provisioningInfo?: ManagedClusterPodIdentityProvisioningInfoOutput; } export interface ManagedClusterPodIdentityProvisioningInfoOutput { @@ -495,11 +532,13 @@ export interface ManagedClusterPodIdentityProvisioningInfoOutput { error?: ManagedClusterPodIdentityProvisioningErrorOutput; } +/** An error response from the pod identity provisioning. */ export interface ManagedClusterPodIdentityProvisioningErrorOutput { /** Details about the error. */ error?: ManagedClusterPodIdentityProvisioningErrorBodyOutput; } +/** An error response from the pod identity provisioning. */ export interface ManagedClusterPodIdentityProvisioningErrorBodyOutput { /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */ code?: string; @@ -511,6 +550,7 @@ export interface ManagedClusterPodIdentityProvisioningErrorBodyOutput { details?: Array; } +/** See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. */ export interface ManagedClusterPodIdentityExceptionOutput { /** The name of the pod identity exception. */ name: string; @@ -520,13 +560,15 @@ export interface ManagedClusterPodIdentityExceptionOutput { podLabels: Record; } +/** The OIDC issuer profile of the Managed Cluster. */ export interface ManagedClusterOidcIssuerProfileOutput { /** The OIDC issuer url of the Managed Cluster. */ - issuerURL?: string; + readonly issuerURL?: string; /** Whether the OIDC issuer is enabled. */ enabled?: boolean; } +/** Profile of network configuration. */ export interface ContainerServiceNetworkProfileOutput { /** Network plugin used for building the Kubernetes network. */ networkPlugin?: "azure" | "kubenet" | "none"; @@ -564,6 +606,7 @@ export interface ContainerServiceNetworkProfileOutput { ipFamilies?: Array<"IPv4" | "IPv6">; } +/** Profile of the managed cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutput { /** Desired managed outbound IPs for the cluster load balancer. */ managedOutboundIPs?: ManagedClusterLoadBalancerProfileManagedOutboundIPsOutput; @@ -581,6 +624,7 @@ export interface ManagedClusterLoadBalancerProfileOutput { enableMultipleStandardLoadBalancers?: boolean; } +/** Desired managed outbound IPs for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPsOutput { /** The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. */ count?: number; @@ -588,21 +632,25 @@ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPsOutput { countIPv6?: number; } +/** Desired outbound IP Prefix resources for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixesOutput { /** A list of public IP prefix resources. */ publicIPPrefixes?: Array; } +/** A reference to an Azure resource. */ export interface ResourceReferenceOutput { /** The fully qualified Azure resource id. */ id?: string; } +/** Desired outbound IP resources for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutboundIPsOutput { /** A list of public IP resources. */ publicIPs?: Array; } +/** Profile of the managed cluster NAT gateway. */ export interface ManagedClusterNATGatewayProfileOutput { /** Profile of the managed outbound IP resources of the cluster NAT gateway. */ managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfileOutput; @@ -612,11 +660,13 @@ export interface ManagedClusterNATGatewayProfileOutput { idleTimeoutInMinutes?: number; } +/** Profile of the managed outbound IP resources of the managed cluster. */ export interface ManagedClusterManagedOutboundIPProfileOutput { /** The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. */ count?: number; } +/** For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */ export interface ManagedClusterAADProfileOutput { /** Whether to enable managed AAD. */ managed?: boolean; @@ -634,11 +684,13 @@ export interface ManagedClusterAADProfileOutput { tenantID?: string; } +/** Auto upgrade profile for a managed cluster. */ export interface ManagedClusterAutoUpgradeProfileOutput { /** For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ upgradeChannel?: "rapid" | "stable" | "patch" | "node-image" | "none"; } +/** Parameters to be applied to the cluster-autoscaler when enabled */ export interface ManagedClusterPropertiesAutoScalerProfileOutput { /** Valid values are 'true' and 'false' */ "balance-similar-node-groups"?: string; @@ -676,6 +728,7 @@ export interface ManagedClusterPropertiesAutoScalerProfileOutput { "skip-nodes-with-system-pods"?: string; } +/** Access profile for managed cluster API server. */ export interface ManagedClusterAPIServerAccessProfileOutput { /** IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). */ authorizedIPRanges?: Array; @@ -693,6 +746,7 @@ export interface ManagedClusterAPIServerAccessProfileOutput { subnetId?: string; } +/** A private link resource */ export interface PrivateLinkResourceOutput { /** The ID of the private link resource. */ id?: string; @@ -705,9 +759,10 @@ export interface PrivateLinkResourceOutput { /** The RequiredMembers of the resource */ requiredMembers?: Array; /** The private link service ID of the resource, this field is exposed only to NRP internally. */ - privateLinkServiceID?: string; + readonly privateLinkServiceID?: string; } +/** Cluster HTTP proxy configuration. */ export interface ManagedClusterHttpProxyConfigOutput { /** The HTTP proxy server endpoint to use. */ httpProxy?: string; @@ -716,11 +771,12 @@ export interface ManagedClusterHttpProxyConfigOutput { /** The endpoints that should not go through proxy. */ noProxy?: Array; /** A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a superset of noProxy and values injected by AKS. */ - effectiveNoProxy?: Array; + readonly effectiveNoProxy?: Array; /** Alternative CA cert to use for connecting to proxy servers. */ trustedCa?: string; } +/** Security profile for the container service cluster. */ export interface ManagedClusterSecurityProfileOutput { /** Microsoft Defender settings for the security profile. */ defender?: ManagedClusterSecurityProfileDefenderOutput; @@ -730,6 +786,7 @@ export interface ManagedClusterSecurityProfileOutput { workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentityOutput; } +/** Microsoft Defender settings for the security profile. */ export interface ManagedClusterSecurityProfileDefenderOutput { /** Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. */ logAnalyticsWorkspaceResourceId?: string; @@ -737,11 +794,13 @@ export interface ManagedClusterSecurityProfileDefenderOutput { securityMonitoring?: ManagedClusterSecurityProfileDefenderSecurityMonitoringOutput; } +/** Microsoft Defender settings for the security profile threat detection. */ export interface ManagedClusterSecurityProfileDefenderSecurityMonitoringOutput { /** Whether to enable Defender threat detection */ enabled?: boolean; } +/** Azure Key Vault key management service settings for the security profile. */ export interface AzureKeyVaultKmsOutput { /** Whether to enable Azure Key Vault key management service. The default is false. */ enabled?: boolean; @@ -753,11 +812,13 @@ export interface AzureKeyVaultKmsOutput { keyVaultResourceId?: string; } +/** Workload Identity settings for the security profile. */ export interface ManagedClusterSecurityProfileWorkloadIdentityOutput { /** Whether to enable Workload Identity */ enabled?: boolean; } +/** Storage profile for the container service cluster. */ export interface ManagedClusterStorageProfileOutput { /** AzureDisk CSI Driver settings for the storage profile. */ diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriverOutput; @@ -769,6 +830,7 @@ export interface ManagedClusterStorageProfileOutput { blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriverOutput; } +/** AzureDisk CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileDiskCSIDriverOutput { /** Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: boolean; @@ -776,26 +838,31 @@ export interface ManagedClusterStorageProfileDiskCSIDriverOutput { version?: string; } +/** AzureFile CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileFileCSIDriverOutput { /** Whether to enable AzureFile CSI Driver. The default value is true. */ enabled?: boolean; } +/** Snapshot Controller settings for the storage profile. */ export interface ManagedClusterStorageProfileSnapshotControllerOutput { /** Whether to enable Snapshot Controller. The default value is true. */ enabled?: boolean; } +/** AzureBlob CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileBlobCSIDriverOutput { /** Whether to enable AzureBlob CSI Driver. The default value is false. */ enabled?: boolean; } +/** Ingress profile for the container service cluster. */ export interface ManagedClusterIngressProfileOutput { /** Web App Routing settings for the ingress profile. */ webAppRouting?: ManagedClusterIngressProfileWebAppRoutingOutput; } +/** Web App Routing settings for the ingress profile. */ export interface ManagedClusterIngressProfileWebAppRoutingOutput { /** Whether to enable Web App Routing. */ enabled?: boolean; @@ -803,16 +870,19 @@ export interface ManagedClusterIngressProfileWebAppRoutingOutput { dnsZoneResourceId?: string; } +/** Workload Auto-scaler profile for the container service cluster. */ export interface ManagedClusterWorkloadAutoScalerProfileOutput { /** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ keda?: ManagedClusterWorkloadAutoScalerProfileKedaOutput; } +/** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ export interface ManagedClusterWorkloadAutoScalerProfileKedaOutput { /** Whether to enable KEDA. */ enabled: boolean; } +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResourceOutput extends ResourceOutput { /** Resource tags. */ tags?: Record; @@ -820,17 +890,19 @@ export interface TrackedResourceOutput extends ResourceOutput { location: string; } +/** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface ResourceOutput { /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - id?: string; + readonly id?: string; /** The name of the resource */ - name?: string; + readonly name?: string; /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - type?: string; + readonly type?: string; /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } +/** Metadata pertaining to creation and last modification of the resource. */ export interface SystemDataOutput { /** The identity that created the resource. */ createdBy?: string; @@ -846,17 +918,19 @@ export interface SystemDataOutput { lastModifiedAt?: string; } +/** The list of available upgrades for compute pools. */ export interface ManagedClusterUpgradeProfileOutput { /** The ID of the upgrade profile. */ - id?: string; + readonly id?: string; /** The name of the upgrade profile. */ - name?: string; + readonly name?: string; /** The type of the upgrade profile. */ - type?: string; + readonly type?: string; /** The properties of the upgrade profile. */ properties: ManagedClusterUpgradeProfilePropertiesOutput; } +/** Control plane and agent pool upgrade profiles. */ export interface ManagedClusterUpgradeProfilePropertiesOutput { /** The list of available upgrade versions for the control plane. */ controlPlaneProfile: ManagedClusterPoolUpgradeProfileOutput; @@ -864,6 +938,7 @@ export interface ManagedClusterUpgradeProfilePropertiesOutput { agentPoolProfiles: Array; } +/** The list of available upgrade versions. */ export interface ManagedClusterPoolUpgradeProfileOutput { /** The Kubernetes version (major.minor.patch). */ kubernetesVersion: string; @@ -882,11 +957,14 @@ export interface ManagedClusterPoolUpgradeProfileUpgradesItemOutput { isPreview?: boolean; } -export interface ManagedClusterAccessProfileOutput extends TrackedResourceOutput { +/** Managed cluster Access Profile. */ +export interface ManagedClusterAccessProfileOutput + extends TrackedResourceOutput { /** AccessProfile of a managed cluster. */ properties?: AccessProfileOutput; } +/** Profile for enabling a user to access a managed cluster. */ export interface AccessProfileOutput { /** * Base64-encoded Kubernetes configuration file. @@ -896,36 +974,41 @@ export interface AccessProfileOutput { kubeConfig?: string; } +/** The list credential result response. */ export interface CredentialResultsOutput { /** Base64-encoded Kubernetes configuration file. */ - kubeconfigs?: Array; + readonly kubeconfigs?: Array; } +/** The credential result response. */ export interface CredentialResultOutput { /** The name of the credential. */ - name?: string; + readonly name?: string; /** * Base64-encoded Kubernetes configuration file. * * Value may contain base64 encoded characters */ - value?: string; + readonly value?: string; } +/** The response from the List maintenance configurations operation. */ export interface MaintenanceConfigurationListResultOutput { /** The list of maintenance configurations. */ value?: Array; /** The URL to get the next set of maintenance configuration results. */ - nextLink?: string; + readonly nextLink?: string; } +/** See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. */ export interface MaintenanceConfigurationOutput extends SubResourceOutput { /** The system metadata relating to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; /** Properties of a default maintenance configuration. */ properties?: MaintenanceConfigurationPropertiesOutput; } +/** Properties used to configure planned maintenance for a Managed Cluster. */ export interface MaintenanceConfigurationPropertiesOutput { /** If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. */ timeInWeek?: Array; @@ -933,13 +1016,22 @@ export interface MaintenanceConfigurationPropertiesOutput { notAllowedTime?: Array; } +/** Time in a week. */ export interface TimeInWeekOutput { /** The day of the week. */ - day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; + day?: + | "Sunday" + | "Monday" + | "Tuesday" + | "Wednesday" + | "Thursday" + | "Friday" + | "Saturday"; /** Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ hourSlots?: Array; } +/** For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. */ export interface TimeSpanOutput { /** The start of a time span */ start?: string; @@ -947,38 +1039,43 @@ export interface TimeSpanOutput { end?: string; } +/** Reference to another subresource. */ export interface SubResourceOutput { /** Resource ID. */ - id?: string; + readonly id?: string; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; } +/** The response from the List Agent Pools operation. */ export interface AgentPoolListResultOutput { /** The list of agent pools. */ value?: Array; /** The URL to get the next set of agent pool results. */ - nextLink?: string; + readonly nextLink?: string; } +/** Agent Pool. */ export interface AgentPoolOutput extends SubResourceOutput { /** Properties of an agent pool. */ properties?: ManagedClusterAgentPoolProfilePropertiesOutput; } +/** The list of available upgrades for an agent pool. */ export interface AgentPoolUpgradeProfileOutput { /** The ID of the agent pool upgrade profile. */ - id?: string; + readonly id?: string; /** The name of the agent pool upgrade profile. */ - name?: string; + readonly name?: string; /** The type of the agent pool upgrade profile. */ - type?: string; + readonly type?: string; /** The properties of the agent pool upgrade profile. */ properties: AgentPoolUpgradeProfilePropertiesOutput; } +/** The list of available upgrade versions. */ export interface AgentPoolUpgradeProfilePropertiesOutput { /** The Kubernetes version (major.minor.patch). */ kubernetesVersion: string; @@ -997,17 +1094,19 @@ export interface AgentPoolUpgradeProfilePropertiesUpgradesItemOutput { isPreview?: boolean; } +/** The list of available versions for an agent pool. */ export interface AgentPoolAvailableVersionsOutput { /** The ID of the agent pool version list. */ - id?: string; + readonly id?: string; /** The name of the agent pool version list. */ - name?: string; + readonly name?: string; /** Type of the agent pool version list. */ - type?: string; + readonly type?: string; /** Properties of agent pool available versions. */ properties: AgentPoolAvailableVersionsPropertiesOutput; } +/** The list of available agent pool versions. */ export interface AgentPoolAvailableVersionsPropertiesOutput { /** List of versions available for agent pool. */ agentPoolVersions?: Array; @@ -1022,36 +1121,41 @@ export interface AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItemOutput isPreview?: boolean; } +/** A list of private endpoint connections */ export interface PrivateEndpointConnectionListResultOutput { /** The collection value. */ value?: Array; } +/** A private endpoint connection */ export interface PrivateEndpointConnectionOutput { /** The ID of the private endpoint connection. */ - id?: string; + readonly id?: string; /** The name of the private endpoint connection. */ - name?: string; + readonly name?: string; /** The resource type. */ - type?: string; + readonly type?: string; /** The properties of a private endpoint connection. */ properties?: PrivateEndpointConnectionPropertiesOutput; } +/** Properties of a private endpoint connection. */ export interface PrivateEndpointConnectionPropertiesOutput { /** The current provisioning state. */ - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; /** The resource of private endpoint. */ privateEndpoint?: PrivateEndpointOutput; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; } +/** Private endpoint which a connection belongs to. */ export interface PrivateEndpointOutput { /** The resource ID of the private endpoint */ id?: string; } +/** The state of a private link service connection. */ export interface PrivateLinkServiceConnectionStateOutput { /** The private link service connection status. */ status?: "Pending" | "Approved" | "Rejected" | "Disconnected"; @@ -1059,40 +1163,45 @@ export interface PrivateLinkServiceConnectionStateOutput { description?: string; } +/** A list of private link resources */ export interface PrivateLinkResourcesListResultOutput { /** The collection value. */ value?: Array; } +/** run command result. */ export interface RunCommandResultOutput { /** The command id. */ - id?: string; + readonly id?: string; /** Properties of command result. */ properties?: CommandResultPropertiesOutput; } +/** The results of a run command */ export interface CommandResultPropertiesOutput { /** provisioning State */ - provisioningState?: string; + readonly provisioningState?: string; /** The exit code of the command */ - exitCode?: number; + readonly exitCode?: number; /** The time when the command started. */ - startedAt?: string; + readonly startedAt?: string; /** The time when the command finished. */ - finishedAt?: string; + readonly finishedAt?: string; /** The command output. */ - logs?: string; + readonly logs?: string; /** An explanation of why provisioningState is set to failed (if so). */ - reason?: string; + readonly reason?: string; } +/** Collection of OutboundEnvironmentEndpoint */ export interface OutboundEnvironmentEndpointCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Egress endpoints which AKS agent nodes connect to for common purpose. */ export interface OutboundEnvironmentEndpointOutput { /** The category of endpoints accessed by the AKS agent node, e.g. azure-resource-management, apiserver, etc. */ category?: string; @@ -1100,6 +1209,7 @@ export interface OutboundEnvironmentEndpointOutput { endpoints?: Array; } +/** A domain name that AKS agent nodes are reaching at. */ export interface EndpointDependencyOutput { /** The domain name of the dependency. */ domainName?: string; @@ -1107,6 +1217,7 @@ export interface EndpointDependencyOutput { endpointDetails?: Array; } +/** connect information from the AKS agent nodes to a single endpoint. */ export interface EndpointDetailOutput { /** An IP Address that Domain Name currently resolves to. */ ipAddress?: string; @@ -1118,58 +1229,65 @@ export interface EndpointDetailOutput { description?: string; } +/** The response from the List Snapshots operation. */ export interface SnapshotListResultOutput { /** The list of snapshots. */ value?: Array; /** The URL to get the next set of snapshot results. */ - nextLink?: string; + readonly nextLink?: string; } +/** A node pool snapshot resource. */ export interface SnapshotOutput extends TrackedResourceOutput { /** Properties of a snapshot. */ properties?: SnapshotPropertiesOutput; } +/** Properties used to configure a node pool snapshot. */ export interface SnapshotPropertiesOutput { /** CreationData to be used to specify the source agent pool resource ID to create this snapshot. */ creationData?: CreationDataOutput; /** The type of a snapshot. The default is NodePool. */ snapshotType?: "NodePool" | "ManagedCluster"; /** The version of Kubernetes. */ - kubernetesVersion?: string; + readonly kubernetesVersion?: string; /** The version of node image. */ - nodeImageVersion?: string; + readonly nodeImageVersion?: string; /** The operating system type. The default is Linux. */ - osType?: "Linux" | "Windows"; + readonly osType?: "Linux" | "Windows"; /** Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. */ - osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; + readonly osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; /** The size of the VM. */ - vmSize?: string; + readonly vmSize?: string; /** Whether to use a FIPS-enabled OS. */ - enableFIPS?: boolean; + readonly enableFIPS?: boolean; } +/** The response from the List Managed Cluster Snapshots operation. */ export interface ManagedClusterSnapshotListResultOutput { /** The list of managed cluster snapshots. */ value?: Array; /** The URL to get the next set of managed cluster snapshot results. */ - nextLink?: string; + readonly nextLink?: string; } +/** A managed cluster snapshot resource. */ export interface ManagedClusterSnapshotOutput extends TrackedResourceOutput { /** Properties of a managed cluster snapshot. */ properties?: ManagedClusterSnapshotPropertiesOutput; } +/** Properties for a managed cluster snapshot. */ export interface ManagedClusterSnapshotPropertiesOutput { /** CreationData to be used to specify the source resource ID to create this snapshot. */ creationData?: CreationDataOutput; /** The type of a snapshot. The default is NodePool. */ snapshotType?: "NodePool" | "ManagedCluster"; /** What the properties will be showed when getting managed cluster snapshot. Those properties are read-only. */ - managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshotOutput; + readonly managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshotOutput; } +/** managed cluster properties for snapshot, these properties are read only. */ export interface ManagedClusterPropertiesForSnapshotOutput { /** The current kubernetes version. */ kubernetesVersion?: string; @@ -1178,9 +1296,10 @@ export interface ManagedClusterPropertiesForSnapshotOutput { /** Whether the cluster has enabled Kubernetes Role-Based Access Control or not. */ enableRbac?: boolean; /** The current network profile. */ - networkProfile?: NetworkProfileForSnapshotOutput; + readonly networkProfile?: NetworkProfileForSnapshotOutput; } +/** network profile for managed cluster snapshot, these properties are read only. */ export interface NetworkProfileForSnapshotOutput { /** networkPlugin for managed cluster snapshot. */ networkPlugin?: "azure" | "kubenet" | "none"; @@ -1194,50 +1313,56 @@ export interface NetworkProfileForSnapshotOutput { loadBalancerSku?: "standard" | "basic"; } +/** List of trusted access roles */ export interface TrustedAccessRoleListResultOutput { /** Role list */ - value?: Array; + readonly value?: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Trusted access role definition. */ export interface TrustedAccessRoleOutput { /** Resource type of Azure resource */ - sourceResourceType?: string; + readonly sourceResourceType?: string; /** Name of role, name is unique under a source resource type */ - name?: string; + readonly name?: string; /** List of rules for the role. This maps to 'rules' property of [Kubernetes Cluster Role](https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/#ClusterRole). */ - rules?: Array; + readonly rules?: Array; } +/** Rule for trusted access role */ export interface TrustedAccessRoleRuleOutput { /** List of allowed verbs */ - verbs?: Array; + readonly verbs?: Array; /** List of allowed apiGroups */ - apiGroups?: Array; + readonly apiGroups?: Array; /** List of allowed resources */ - resources?: Array; + readonly resources?: Array; /** List of allowed names */ - resourceNames?: Array; + readonly resourceNames?: Array; /** List of allowed nonResourceURLs */ - nonResourceURLs?: Array; + readonly nonResourceURLs?: Array; } +/** List of trusted access role bindings */ export interface TrustedAccessRoleBindingListResultOutput { /** Role binding list */ value?: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Defines binding between a resource and role */ export interface TrustedAccessRoleBindingOutput extends ResourceOutput { /** Properties for trusted access role binding */ properties: TrustedAccessRoleBindingPropertiesOutput; } +/** Properties for trusted access role binding */ export interface TrustedAccessRoleBindingPropertiesOutput { /** The current provisioning state of trusted access role binding. */ - provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; /** The ARM resource ID of source resource that trusted access is configured for. */ sourceResourceId: string; /** A list of roles to bind, each item is a resource type qualified role name. For example: 'Microsoft.MachineLearningServices/workspaces/reader'. */ diff --git a/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts b/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts index 5d541b4e406d..5ef95e5ea0a3 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts @@ -1,10 +1,162 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { getPagedAsyncIterator } from "@azure/core-paging"; -import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; -import { createRestError } from "@azure-rest/core-client"; +import { + Client, + createRestError, + PathUncheckedResponse, +} from "@azure-rest/core-client"; + +/** + * returns an async iterator that iterates over results. It also has a `byPage` + * method that returns pages of items at once. + * + * @param pagedResult - an object that specifies how to get pages. + * @returns a paged async iterator that iterates over results. + */ +function getPagedAsyncIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, + TLink = string, +>( + pagedResult: PagedResult, +): PagedAsyncIterableIterator { + const iter = getItemAsyncIterator( + pagedResult, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: + pagedResult?.byPage ?? + (((settings?: PageSettings) => { + const { continuationToken } = settings ?? {}; + return getPageAsyncIterator(pagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + }); + }) as unknown as ( + settings?: TPageSettings, + ) => AsyncIterableIterator), + }; +} + +async function* getItemAsyncIterator( + pagedResult: PagedResult, +): AsyncIterableIterator { + const pages = getPageAsyncIterator(pagedResult); + const firstVal = await pages.next(); + // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is + if (!Array.isArray(firstVal.value)) { + // can extract elements from this page + const { toElements } = pagedResult; + if (toElements) { + yield* toElements(firstVal.value) as TElement[]; + for await (const page of pages) { + yield* toElements(page) as TElement[]; + } + } else { + yield firstVal.value; + // `pages` is of type `AsyncIterableIterator` but TPage = TElement in this case + yield* pages as unknown as AsyncIterableIterator; + } + } else { + yield* firstVal.value; + for await (const page of pages) { + // pages is of type `AsyncIterableIterator` so `page` is of type `TPage`. In this branch, + // it must be the case that `TPage = TElement[]` + yield* page as unknown as TElement[]; + } + } +} + +async function* getPageAsyncIterator( + pagedResult: PagedResult, + options: { + pageLink?: TLink; + } = {}, +): AsyncIterableIterator { + const { pageLink } = options; + let response = await pagedResult.getPage( + pageLink ?? pagedResult.firstPageLink, + ); + if (!response) { + return; + } + yield response.page; + while (response.nextPageLink) { + response = await pagedResult.getPage(response.nextPageLink); + if (!response) { + return; + } + yield response.page; + } +} + +/** + * An interface that tracks the settings for paged iteration + */ +export interface PageSettings { + /** + * The token that keeps track of where to continue the iterator + */ + continuationToken?: string; +} + +/** + * An interface that allows async iterable iteration both to completion and by page. + */ +export interface PagedAsyncIterableIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, +> { + /** + * The next method, part of the iteration protocol + */ + next(): Promise>; + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator](): PagedAsyncIterableIterator< + TElement, + TPage, + TPageSettings + >; + /** + * Return an AsyncIterableIterator that works a page at a time + */ + byPage: (settings?: TPageSettings) => AsyncIterableIterator; +} + +/** + * An interface that describes how to communicate with the service. + */ +interface PagedResult { + /** + * Link to the first page of results. + */ + firstPageLink: TLink; + /** + * A method that returns a page of results. + */ + getPage: ( + pageLink: TLink, + ) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + /** + * a function to implement the `byPage` method on the paged async iterator. + */ + byPage?: (settings?: TPageSettings) => AsyncIterableIterator; + + /** + * A function to extract elements from a page. + */ + toElements?: (page: TPage) => unknown[]; +} /** * Helper type to extract the type of an array @@ -14,10 +166,7 @@ export type GetArrayType = T extends Array ? TData : never; /** * The type of a custom function that defines how to get a page and a link to the next one if any. */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; @@ -69,7 +218,9 @@ export function paginate( typeof customGetPage === "function" ? customGetPage : async (pageLink: string) => { - const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get(); + const result = firstRun + ? initialResponse + : await client.pathUnchecked(pageLink).get(); firstRun = false; checkPagingRequest(result); const nextLink = getNextLink(result.body, nextLinkName); @@ -95,7 +246,9 @@ function getNextLink(body: unknown, nextLinkName?: string): string | undefined { const nextLink = (body as Record)[nextLinkName]; if (typeof nextLink !== "string" && typeof nextLink !== "undefined") { - throw new Error(`Body Property ${nextLinkName} should be a string or undefined`); + throw new Error( + `Body Property ${nextLinkName} should be a string or undefined`, + ); } return nextLink; @@ -123,7 +276,18 @@ function getElements(body: unknown, itemName: string): T[] { * Checks if a request failed */ function checkPagingRequest(response: PathUncheckedResponse): void { - const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"]; + const Http2xxStatusCodes = [ + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "226", + ]; if (!Http2xxStatusCodes.includes(response.status)) { throw createRestError( `Pagination failed with unexpected statusCode ${response.status}`, diff --git a/sdk/containerservice/arm-containerservice-rest/src/parameters.ts b/sdk/containerservice/arm-containerservice-rest/src/parameters.ts index ba3498d29067..c983750a7219 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/parameters.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/parameters.ts @@ -1,19 +1,19 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RequestParameters } from "@azure-rest/core-client"; -import type { - AgentPool, - MaintenanceConfiguration, +import { RequestParameters } from "@azure-rest/core-client"; +import { ManagedCluster, - ManagedClusterAADProfile, + TagsObject, ManagedClusterServicePrincipalProfile, - ManagedClusterSnapshot, + ManagedClusterAADProfile, + RunCommandRequest, + MaintenanceConfiguration, + AgentPool, PrivateEndpointConnection, PrivateLinkResource, - RunCommandRequest, Snapshot, - TagsObject, + ManagedClusterSnapshot, TrustedAccessRoleBinding, } from "./models"; @@ -28,8 +28,8 @@ export interface ManagedClustersGetOSOptionsQueryParam { queryParameters?: ManagedClustersGetOSOptionsQueryParamProperties; } -export type ManagedClustersGetOSOptionsParameters = ManagedClustersGetOSOptionsQueryParam & - RequestParameters; +export type ManagedClustersGetOSOptionsParameters = + ManagedClustersGetOSOptionsQueryParam & RequestParameters; export type ManagedClustersListParameters = RequestParameters; export type ManagedClustersListByResourceGroupParameters = RequestParameters; export type ManagedClustersGetUpgradeProfileParameters = RequestParameters; @@ -71,7 +71,8 @@ export interface ManagedClustersListClusterMonitoringUserCredentialsQueryParam { } export type ManagedClustersListClusterMonitoringUserCredentialsParameters = - ManagedClustersListClusterMonitoringUserCredentialsQueryParam & RequestParameters; + ManagedClustersListClusterMonitoringUserCredentialsQueryParam & + RequestParameters; export type ManagedClustersGetParameters = RequestParameters; export interface ManagedClustersCreateOrUpdateBodyParam { @@ -84,9 +85,10 @@ export interface ManagedClustersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ManagedClustersCreateOrUpdateParameters = ManagedClustersCreateOrUpdateMediaTypesParam & - ManagedClustersCreateOrUpdateBodyParam & - RequestParameters; +export type ManagedClustersCreateOrUpdateParameters = + ManagedClustersCreateOrUpdateMediaTypesParam & + ManagedClustersCreateOrUpdateBodyParam & + RequestParameters; export interface ManagedClustersUpdateTagsBodyParam { /** Parameters supplied to the Update Managed Cluster Tags operation. */ @@ -98,9 +100,10 @@ export interface ManagedClustersUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ManagedClustersUpdateTagsParameters = ManagedClustersUpdateTagsMediaTypesParam & - ManagedClustersUpdateTagsBodyParam & - RequestParameters; +export type ManagedClustersUpdateTagsParameters = + ManagedClustersUpdateTagsMediaTypesParam & + ManagedClustersUpdateTagsBodyParam & + RequestParameters; export interface ManagedClustersDeleteQueryParamProperties { /** ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget */ @@ -111,7 +114,8 @@ export interface ManagedClustersDeleteQueryParam { queryParameters?: ManagedClustersDeleteQueryParamProperties; } -export type ManagedClustersDeleteParameters = ManagedClustersDeleteQueryParam & RequestParameters; +export type ManagedClustersDeleteParameters = ManagedClustersDeleteQueryParam & + RequestParameters; export interface ManagedClustersResetServicePrincipalProfileBodyParam { /** The service principal profile to set on the managed cluster. */ @@ -142,8 +146,10 @@ export type ManagedClustersResetAADProfileParameters = ManagedClustersResetAADProfileMediaTypesParam & ManagedClustersResetAADProfileBodyParam & RequestParameters; -export type ManagedClustersRotateClusterCertificatesParameters = RequestParameters; -export type ManagedClustersRotateServiceAccountSigningKeysParameters = RequestParameters; +export type ManagedClustersRotateClusterCertificatesParameters = + RequestParameters; +export type ManagedClustersRotateServiceAccountSigningKeysParameters = + RequestParameters; export type ManagedClustersStopParameters = RequestParameters; export type ManagedClustersStartParameters = RequestParameters; @@ -157,12 +163,15 @@ export interface ManagedClustersRunCommandMediaTypesParam { contentType?: "application/json"; } -export type ManagedClustersRunCommandParameters = ManagedClustersRunCommandMediaTypesParam & - ManagedClustersRunCommandBodyParam & - RequestParameters; +export type ManagedClustersRunCommandParameters = + ManagedClustersRunCommandMediaTypesParam & + ManagedClustersRunCommandBodyParam & + RequestParameters; export type ManagedClustersGetCommandResultParameters = RequestParameters; -export type ManagedClustersListOutboundNetworkDependenciesEndpointsParameters = RequestParameters; -export type MaintenanceConfigurationsListByManagedClusterParameters = RequestParameters; +export type ManagedClustersListOutboundNetworkDependenciesEndpointsParameters = + RequestParameters; +export type MaintenanceConfigurationsListByManagedClusterParameters = + RequestParameters; export type MaintenanceConfigurationsGetParameters = RequestParameters; export interface MaintenanceConfigurationsCreateOrUpdateBodyParam { @@ -193,9 +202,10 @@ export interface AgentPoolsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type AgentPoolsCreateOrUpdateParameters = AgentPoolsCreateOrUpdateMediaTypesParam & - AgentPoolsCreateOrUpdateBodyParam & - RequestParameters; +export type AgentPoolsCreateOrUpdateParameters = + AgentPoolsCreateOrUpdateMediaTypesParam & + AgentPoolsCreateOrUpdateBodyParam & + RequestParameters; export interface AgentPoolsDeleteQueryParamProperties { /** ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget */ @@ -206,9 +216,11 @@ export interface AgentPoolsDeleteQueryParam { queryParameters?: AgentPoolsDeleteQueryParamProperties; } -export type AgentPoolsDeleteParameters = AgentPoolsDeleteQueryParam & RequestParameters; +export type AgentPoolsDeleteParameters = AgentPoolsDeleteQueryParam & + RequestParameters; export type AgentPoolsGetUpgradeProfileParameters = RequestParameters; -export type AgentPoolsGetAvailableAgentPoolVersionsParameters = RequestParameters; +export type AgentPoolsGetAvailableAgentPoolVersionsParameters = + RequestParameters; export type AgentPoolsUpgradeNodeImageVersionParameters = RequestParameters; export type PrivateEndpointConnectionsListParameters = RequestParameters; export type PrivateEndpointConnectionsGetParameters = RequestParameters; @@ -258,9 +270,10 @@ export interface SnapshotsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type SnapshotsCreateOrUpdateParameters = SnapshotsCreateOrUpdateMediaTypesParam & - SnapshotsCreateOrUpdateBodyParam & - RequestParameters; +export type SnapshotsCreateOrUpdateParameters = + SnapshotsCreateOrUpdateMediaTypesParam & + SnapshotsCreateOrUpdateBodyParam & + RequestParameters; export interface SnapshotsUpdateTagsBodyParam { /** Parameters supplied to the Update snapshot Tags operation. */ @@ -277,7 +290,8 @@ export type SnapshotsUpdateTagsParameters = SnapshotsUpdateTagsMediaTypesParam & RequestParameters; export type SnapshotsDeleteParameters = RequestParameters; export type ManagedClusterSnapshotsListParameters = RequestParameters; -export type ManagedClusterSnapshotsListByResourceGroupParameters = RequestParameters; +export type ManagedClusterSnapshotsListByResourceGroupParameters = + RequestParameters; export type ManagedClusterSnapshotsGetParameters = RequestParameters; export interface ManagedClusterSnapshotsCreateOrUpdateBodyParam { diff --git a/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts b/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts index d25daede0b1c..131043e0b2d0 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts @@ -1,15 +1,87 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { Client, HttpResponse } from "@azure-rest/core-client"; -import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollOperationState, - PollerLike, +import { Client, HttpResponse } from "@azure-rest/core-client"; +import { AbortSignalLike } from "@azure/abort-controller"; +import { + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState, + createHttpPoller, } from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike< + TState extends OperationState, + TResult, +> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} /** * Helper function that builds a Poller object to help polling a long running operation. @@ -18,43 +90,108 @@ import { LroEngine } from "@azure/core-lro"; * @param options - Options to set a resume state or custom polling interval. * @returns - A poller object to poll for operation state updates and eventually get the final response. */ -export function getLongRunningPoller( +export async function getLongRunningPoller( client: Client, initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { sendInitialRequest: async () => { // In the case of Rest Clients we are building the LRO poller object from a response that's the reason // we are not triggering the initial request here, just extracting the information from the // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async (path) => { + sendPollRequest: async ( + path: string, + pollOptions?: { abortSignal?: AbortSignalLike }, + ) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const response = await client.pathUnchecked(path ?? initialResponse.request.url).get(); + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } const lroResponse = getLroResponse(response as TResult); - lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; + lroResponse.rawResponse.headers["x-ms-original-url"] = + initialResponse.request.url; return lroResponse; }, }; - return new LroEngine(poller, options); + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; } /** - * Converts a Rest Client response to a response that the LRO engine knows about + * Converts a Rest Client response to a response that the LRO implementation understands * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with + * @returns - An LRO response that the LRO implementation understands */ -function getLroResponse(response: TResult): LroResponse { +function getLroResponse( + response: TResult, +): OperationResponse { if (Number.isNaN(response.status)) { - throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); + throw new TypeError( + `Status code of the response is not a number. Value: ${response.status}`, + ); } return { diff --git a/sdk/containerservice/arm-containerservice-rest/src/responses.ts b/sdk/containerservice/arm-containerservice-rest/src/responses.ts index 07d29120561f..bf24b4c25569 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/responses.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/responses.ts @@ -1,36 +1,36 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RawHttpHeaders } from "@azure/core-rest-pipeline"; -import type { HttpResponse } from "@azure-rest/core-client"; -import type { - AgentPoolAvailableVersionsOutput, - AgentPoolListResultOutput, - AgentPoolOutput, - AgentPoolUpgradeProfileOutput, +import { RawHttpHeaders } from "@azure/core-rest-pipeline"; +import { HttpResponse } from "@azure-rest/core-client"; +import { + OperationListResultOutput, CloudErrorOutput, - CredentialResultsOutput, - MaintenanceConfigurationListResultOutput, - MaintenanceConfigurationOutput, - ManagedClusterAccessProfileOutput, + OSOptionProfileOutput, ManagedClusterListResultOutput, - ManagedClusterOutput, - ManagedClusterSnapshotListResultOutput, - ManagedClusterSnapshotOutput, ManagedClusterUpgradeProfileOutput, - OSOptionProfileOutput, - OperationListResultOutput, + ManagedClusterAccessProfileOutput, + CredentialResultsOutput, + ManagedClusterOutput, + RunCommandResultOutput, OutboundEnvironmentEndpointCollectionOutput, + MaintenanceConfigurationListResultOutput, + MaintenanceConfigurationOutput, + AgentPoolListResultOutput, + AgentPoolOutput, + AgentPoolUpgradeProfileOutput, + AgentPoolAvailableVersionsOutput, PrivateEndpointConnectionListResultOutput, PrivateEndpointConnectionOutput, - PrivateLinkResourceOutput, PrivateLinkResourcesListResultOutput, - RunCommandResultOutput, + PrivateLinkResourceOutput, SnapshotListResultOutput, SnapshotOutput, + ManagedClusterSnapshotListResultOutput, + ManagedClusterSnapshotOutput, + TrustedAccessRoleListResultOutput, TrustedAccessRoleBindingListResultOutput, TrustedAccessRoleBindingOutput, - TrustedAccessRoleListResultOutput, } from "./outputModels"; /** Gets a list of operations. */ @@ -40,7 +40,7 @@ export interface OperationsList200Response extends HttpResponse { } /** Gets a list of operations. */ -export interface OperationsListdefaultResponse extends HttpResponse { +export interface OperationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -52,7 +52,8 @@ export interface ManagedClustersGetOSOptions200Response extends HttpResponse { } /** Gets supported OS options in the specified subscription. */ -export interface ManagedClustersGetOSOptionsdefaultResponse extends HttpResponse { +export interface ManagedClustersGetOSOptionsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -64,67 +65,77 @@ export interface ManagedClustersList200Response extends HttpResponse { } /** Gets a list of managed clusters in the specified subscription. */ -export interface ManagedClustersListdefaultResponse extends HttpResponse { +export interface ManagedClustersListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists managed clusters in the specified subscription and resource group. */ -export interface ManagedClustersListByResourceGroup200Response extends HttpResponse { +export interface ManagedClustersListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ManagedClusterListResultOutput; } /** Lists managed clusters in the specified subscription and resource group. */ -export interface ManagedClustersListByResourceGroupdefaultResponse extends HttpResponse { +export interface ManagedClustersListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the upgrade profile of a managed cluster. */ -export interface ManagedClustersGetUpgradeProfile200Response extends HttpResponse { +export interface ManagedClustersGetUpgradeProfile200Response + extends HttpResponse { status: "200"; body: ManagedClusterUpgradeProfileOutput; } /** Gets the upgrade profile of a managed cluster. */ -export interface ManagedClustersGetUpgradeProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersGetUpgradeProfileDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . */ -export interface ManagedClustersGetAccessProfile200Response extends HttpResponse { +export interface ManagedClustersGetAccessProfile200Response + extends HttpResponse { status: "200"; body: ManagedClusterAccessProfileOutput; } /** **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . */ -export interface ManagedClustersGetAccessProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersGetAccessProfileDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists the admin credentials of a managed cluster. */ -export interface ManagedClustersListClusterAdminCredentials200Response extends HttpResponse { +export interface ManagedClustersListClusterAdminCredentials200Response + extends HttpResponse { status: "200"; body: CredentialResultsOutput; } /** Lists the admin credentials of a managed cluster. */ -export interface ManagedClustersListClusterAdminCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterAdminCredentialsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists the user credentials of a managed cluster. */ -export interface ManagedClustersListClusterUserCredentials200Response extends HttpResponse { +export interface ManagedClustersListClusterUserCredentials200Response + extends HttpResponse { status: "200"; body: CredentialResultsOutput; } /** Lists the user credentials of a managed cluster. */ -export interface ManagedClustersListClusterUserCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterUserCredentialsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -137,7 +148,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentials200Response } /** Lists the cluster monitoring user credentials of a managed cluster. */ -export interface ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse +export interface ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; @@ -150,7 +161,7 @@ export interface ManagedClustersGet200Response extends HttpResponse { } /** Gets a managed cluster. */ -export interface ManagedClustersGetdefaultResponse extends HttpResponse { +export interface ManagedClustersGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -168,7 +179,8 @@ export interface ManagedClustersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a managed cluster. */ -export interface ManagedClustersCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ManagedClustersCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -180,7 +192,7 @@ export interface ManagedClustersUpdateTags200Response extends HttpResponse { } /** Updates tags on a managed cluster. */ -export interface ManagedClustersUpdateTagsdefaultResponse extends HttpResponse { +export interface ManagedClustersUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -188,89 +200,90 @@ export interface ManagedClustersUpdateTagsdefaultResponse extends HttpResponse { /** Deletes a managed cluster. */ export interface ManagedClustersDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a managed cluster. */ export interface ManagedClustersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a managed cluster. */ -export interface ManagedClustersDeletedefaultResponse extends HttpResponse { +export interface ManagedClustersDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** This action cannot be performed on a cluster that is not using a service principal */ -export interface ManagedClustersResetServicePrincipalProfile200Response extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfile200Response + extends HttpResponse { status: "200"; - body: Record; } /** This action cannot be performed on a cluster that is not using a service principal */ -export interface ManagedClustersResetServicePrincipalProfile202Response extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfile202Response + extends HttpResponse { status: "202"; - body: Record; } /** This action cannot be performed on a cluster that is not using a service principal */ -export interface ManagedClustersResetServicePrincipalProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfileDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Reset the AAD Profile of a managed cluster. */ -export interface ManagedClustersResetAADProfile200Response extends HttpResponse { +export interface ManagedClustersResetAADProfile200Response + extends HttpResponse { status: "200"; - body: Record; } /** Reset the AAD Profile of a managed cluster. */ -export interface ManagedClustersResetAADProfile202Response extends HttpResponse { +export interface ManagedClustersResetAADProfile202Response + extends HttpResponse { status: "202"; - body: Record; } /** Reset the AAD Profile of a managed cluster. */ -export interface ManagedClustersResetAADProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersResetAADProfileDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ -export interface ManagedClustersRotateClusterCertificates202Response extends HttpResponse { +export interface ManagedClustersRotateClusterCertificates202Response + extends HttpResponse { status: "202"; - body: Record; } /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ -export interface ManagedClustersRotateClusterCertificates204Response extends HttpResponse { +export interface ManagedClustersRotateClusterCertificates204Response + extends HttpResponse { status: "204"; - body: Record; } /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ -export interface ManagedClustersRotateClusterCertificatesdefaultResponse extends HttpResponse { +export interface ManagedClustersRotateClusterCertificatesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Rotates the service account signing keys of a managed cluster. */ -export interface ManagedClustersRotateServiceAccountSigningKeys202Response extends HttpResponse { +export interface ManagedClustersRotateServiceAccountSigningKeys202Response + extends HttpResponse { status: "202"; - body: Record; } /** Rotates the service account signing keys of a managed cluster. */ -export interface ManagedClustersRotateServiceAccountSigningKeys204Response extends HttpResponse { +export interface ManagedClustersRotateServiceAccountSigningKeys204Response + extends HttpResponse { status: "204"; - body: Record; } /** Rotates the service account signing keys of a managed cluster. */ -export interface ManagedClustersRotateServiceAccountSigningKeysdefaultResponse +export interface ManagedClustersRotateServiceAccountSigningKeysDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; @@ -279,17 +292,15 @@ export interface ManagedClustersRotateServiceAccountSigningKeysdefaultResponse /** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */ export interface ManagedClustersStop202Response extends HttpResponse { status: "202"; - body: Record; } /** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */ export interface ManagedClustersStop204Response extends HttpResponse { status: "204"; - body: Record; } /** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */ -export interface ManagedClustersStopdefaultResponse extends HttpResponse { +export interface ManagedClustersStopDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -297,17 +308,15 @@ export interface ManagedClustersStopdefaultResponse extends HttpResponse { /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */ export interface ManagedClustersStart202Response extends HttpResponse { status: "202"; - body: Record; } /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */ export interface ManagedClustersStart204Response extends HttpResponse { status: "204"; - body: Record; } /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */ -export interface ManagedClustersStartdefaultResponse extends HttpResponse { +export interface ManagedClustersStartDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -321,29 +330,30 @@ export interface ManagedClustersRunCommand200Response extends HttpResponse { /** AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). */ export interface ManagedClustersRunCommand202Response extends HttpResponse { status: "202"; - body: Record; } /** AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). */ -export interface ManagedClustersRunCommanddefaultResponse extends HttpResponse { +export interface ManagedClustersRunCommandDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the results of a command which has been run on the Managed Cluster. */ -export interface ManagedClustersGetCommandResult200Response extends HttpResponse { +export interface ManagedClustersGetCommandResult200Response + extends HttpResponse { status: "200"; body: RunCommandResultOutput; } /** Gets the results of a command which has been run on the Managed Cluster. */ -export interface ManagedClustersGetCommandResult202Response extends HttpResponse { +export interface ManagedClustersGetCommandResult202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the results of a command which has been run on the Managed Cluster. */ -export interface ManagedClustersGetCommandResultdefaultResponse extends HttpResponse { +export interface ManagedClustersGetCommandResultDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -356,20 +366,22 @@ export interface ManagedClustersListOutboundNetworkDependenciesEndpoints200Respo } /** Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. */ -export interface ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse +export interface ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a list of maintenance configurations in the specified managed cluster. */ -export interface MaintenanceConfigurationsListByManagedCluster200Response extends HttpResponse { +export interface MaintenanceConfigurationsListByManagedCluster200Response + extends HttpResponse { status: "200"; body: MaintenanceConfigurationListResultOutput; } /** Gets a list of maintenance configurations in the specified managed cluster. */ -export interface MaintenanceConfigurationsListByManagedClusterdefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsListByManagedClusterDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -381,37 +393,41 @@ export interface MaintenanceConfigurationsGet200Response extends HttpResponse { } /** Gets the specified maintenance configuration of a managed cluster. */ -export interface MaintenanceConfigurationsGetdefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a maintenance configuration in the specified managed cluster. */ -export interface MaintenanceConfigurationsCreateOrUpdate200Response extends HttpResponse { +export interface MaintenanceConfigurationsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: MaintenanceConfigurationOutput; } /** Creates or updates a maintenance configuration in the specified managed cluster. */ -export interface MaintenanceConfigurationsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a maintenance configuration. */ -export interface MaintenanceConfigurationsDelete200Response extends HttpResponse { +export interface MaintenanceConfigurationsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes a maintenance configuration. */ -export interface MaintenanceConfigurationsDelete204Response extends HttpResponse { +export interface MaintenanceConfigurationsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes a maintenance configuration. */ -export interface MaintenanceConfigurationsDeletedefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -423,7 +439,7 @@ export interface AgentPoolsList200Response extends HttpResponse { } /** Gets a list of agent pools in the specified managed cluster. */ -export interface AgentPoolsListdefaultResponse extends HttpResponse { +export interface AgentPoolsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -435,7 +451,7 @@ export interface AgentPoolsGet200Response extends HttpResponse { } /** Gets the specified managed cluster agent pool. */ -export interface AgentPoolsGetdefaultResponse extends HttpResponse { +export interface AgentPoolsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -453,7 +469,7 @@ export interface AgentPoolsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates an agent pool in the specified managed cluster. */ -export interface AgentPoolsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AgentPoolsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -461,17 +477,15 @@ export interface AgentPoolsCreateOrUpdatedefaultResponse extends HttpResponse { /** Deletes an agent pool in the specified managed cluster. */ export interface AgentPoolsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes an agent pool in the specified managed cluster. */ export interface AgentPoolsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes an agent pool in the specified managed cluster. */ -export interface AgentPoolsDeletedefaultResponse extends HttpResponse { +export interface AgentPoolsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -483,21 +497,23 @@ export interface AgentPoolsGetUpgradeProfile200Response extends HttpResponse { } /** Gets the upgrade profile for an agent pool. */ -export interface AgentPoolsGetUpgradeProfiledefaultResponse extends HttpResponse { +export interface AgentPoolsGetUpgradeProfileDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. */ -export interface AgentPoolsGetAvailableAgentPoolVersions200Response extends HttpResponse { +export interface AgentPoolsGetAvailableAgentPoolVersions200Response + extends HttpResponse { status: "200"; body: AgentPoolAvailableVersionsOutput; } /** Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade */ -export interface AgentPoolsUpgradeNodeImageVersion200Response extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersion200Response + extends HttpResponse { status: "200"; - body: Record; } export interface AgentPoolsUpgradeNodeImageVersion202Headers { @@ -506,26 +522,30 @@ export interface AgentPoolsUpgradeNodeImageVersion202Headers { } /** Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade */ -export interface AgentPoolsUpgradeNodeImageVersion202Response extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersion202Response + extends HttpResponse { status: "202"; body: AgentPoolOutput; headers: RawHttpHeaders & AgentPoolsUpgradeNodeImageVersion202Headers; } /** Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade */ -export interface AgentPoolsUpgradeNodeImageVersiondefaultResponse extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersionDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateEndpointConnectionsList200Response extends HttpResponse { +export interface PrivateEndpointConnectionsList200Response + extends HttpResponse { status: "200"; body: PrivateEndpointConnectionListResultOutput; } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateEndpointConnectionsListdefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -537,37 +557,41 @@ export interface PrivateEndpointConnectionsGet200Response extends HttpResponse { } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateEndpointConnectionsGetdefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a private endpoint connection. */ -export interface PrivateEndpointConnectionsUpdate200Response extends HttpResponse { +export interface PrivateEndpointConnectionsUpdate200Response + extends HttpResponse { status: "200"; body: PrivateEndpointConnectionOutput; } /** Updates a private endpoint connection. */ -export interface PrivateEndpointConnectionsUpdatedefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a private endpoint connection. */ -export interface PrivateEndpointConnectionsDelete200Response extends HttpResponse { +export interface PrivateEndpointConnectionsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes a private endpoint connection. */ -export interface PrivateEndpointConnectionsDelete204Response extends HttpResponse { +export interface PrivateEndpointConnectionsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes a private endpoint connection. */ -export interface PrivateEndpointConnectionsDeletedefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -579,19 +603,21 @@ export interface PrivateLinkResourcesList200Response extends HttpResponse { } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateLinkResourcesListdefaultResponse extends HttpResponse { +export interface PrivateLinkResourcesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the private link service ID for the specified managed cluster. */ -export interface ResolvePrivateLinkServiceIdPost200Response extends HttpResponse { +export interface ResolvePrivateLinkServiceIdPost200Response + extends HttpResponse { status: "200"; body: PrivateLinkResourceOutput; } /** Gets the private link service ID for the specified managed cluster. */ -export interface ResolvePrivateLinkServiceIdPostdefaultResponse extends HttpResponse { +export interface ResolvePrivateLinkServiceIdPostDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -603,7 +629,7 @@ export interface SnapshotsList200Response extends HttpResponse { } /** Gets a list of snapshots in the specified subscription. */ -export interface SnapshotsListdefaultResponse extends HttpResponse { +export interface SnapshotsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -615,7 +641,8 @@ export interface SnapshotsListByResourceGroup200Response extends HttpResponse { } /** Lists snapshots in the specified subscription and resource group. */ -export interface SnapshotsListByResourceGroupdefaultResponse extends HttpResponse { +export interface SnapshotsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -627,7 +654,7 @@ export interface SnapshotsGet200Response extends HttpResponse { } /** Gets a snapshot. */ -export interface SnapshotsGetdefaultResponse extends HttpResponse { +export interface SnapshotsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -645,7 +672,7 @@ export interface SnapshotsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a snapshot. */ -export interface SnapshotsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface SnapshotsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -657,7 +684,7 @@ export interface SnapshotsUpdateTags200Response extends HttpResponse { } /** Updates tags on a snapshot. */ -export interface SnapshotsUpdateTagsdefaultResponse extends HttpResponse { +export interface SnapshotsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -665,17 +692,15 @@ export interface SnapshotsUpdateTagsdefaultResponse extends HttpResponse { /** Deletes a snapshot. */ export interface SnapshotsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a snapshot. */ export interface SnapshotsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a snapshot. */ -export interface SnapshotsDeletedefaultResponse extends HttpResponse { +export interface SnapshotsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -687,19 +712,22 @@ export interface ManagedClusterSnapshotsList200Response extends HttpResponse { } /** Gets a list of managed cluster snapshots in the specified subscription. */ -export interface ManagedClusterSnapshotsListdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists managed cluster snapshots in the specified subscription and resource group. */ -export interface ManagedClusterSnapshotsListByResourceGroup200Response extends HttpResponse { +export interface ManagedClusterSnapshotsListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ManagedClusterSnapshotListResultOutput; } /** Lists managed cluster snapshots in the specified subscription and resource group. */ -export interface ManagedClusterSnapshotsListByResourceGroupdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -711,37 +739,43 @@ export interface ManagedClusterSnapshotsGet200Response extends HttpResponse { } /** Gets a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsGetdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsCreateOrUpdate200Response extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ManagedClusterSnapshotOutput; } /** Creates or updates a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsCreateOrUpdate201Response extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ManagedClusterSnapshotOutput; } /** Creates or updates a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates tags on a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsUpdateTags200Response extends HttpResponse { +export interface ManagedClusterSnapshotsUpdateTags200Response + extends HttpResponse { status: "200"; body: ManagedClusterSnapshotOutput; } /** Updates tags on a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsUpdateTagsdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -749,17 +783,16 @@ export interface ManagedClusterSnapshotsUpdateTagsdefaultResponse extends HttpRe /** Deletes a managed cluster snapshot. */ export interface ManagedClusterSnapshotsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a managed cluster snapshot. */ export interface ManagedClusterSnapshotsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsDeletedefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -771,7 +804,7 @@ export interface TrustedAccessRolesList200Response extends HttpResponse { } /** List supported trusted access roles. */ -export interface TrustedAccessRolesListdefaultResponse extends HttpResponse { +export interface TrustedAccessRolesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -783,7 +816,8 @@ export interface TrustedAccessRoleBindingsList200Response extends HttpResponse { } /** List trusted access role bindings. */ -export interface TrustedAccessRoleBindingsListdefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -795,37 +829,41 @@ export interface TrustedAccessRoleBindingsGet200Response extends HttpResponse { } /** Get a trusted access role binding. */ -export interface TrustedAccessRoleBindingsGetdefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Create or update a trusted access role binding */ -export interface TrustedAccessRoleBindingsCreateOrUpdate200Response extends HttpResponse { +export interface TrustedAccessRoleBindingsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: TrustedAccessRoleBindingOutput; } /** Create or update a trusted access role binding */ -export interface TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Delete a trusted access role binding. */ -export interface TrustedAccessRoleBindingsDelete200Response extends HttpResponse { +export interface TrustedAccessRoleBindingsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Delete a trusted access role binding. */ -export interface TrustedAccessRoleBindingsDelete204Response extends HttpResponse { +export interface TrustedAccessRoleBindingsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Delete a trusted access role binding. */ -export interface TrustedAccessRoleBindingsDeletedefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } diff --git a/sdk/containerservice/arm-containerservice-rest/swagger/README.md b/sdk/containerservice/arm-containerservice-rest/swagger/README.md index 5e5862b37237..002b20cb5fe3 100644 --- a/sdk/containerservice/arm-containerservice-rest/swagger/README.md +++ b/sdk/containerservice/arm-containerservice-rest/swagger/README.md @@ -5,6 +5,8 @@ ## Configuration ```yaml +flavor: azure +openapi-type: arm package-name: "@azure-rest/arm-containerservice" title: ContainerServiceClient description: Container Service Client @@ -20,5 +22,5 @@ rest-level-client: true security: AADToken security-scopes: "https://management.azure.com/.default" use-extension: - "@autorest/typescript": "6.0.0-rc.1" + "@autorest/typescript": "latest" ``` diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts index 8b03172d4e6b..7cee27c67f28 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts @@ -83,7 +83,7 @@ describe("My test", () => { location: location, }, }); - const poller = getLongRunningPoller(client, initalResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initalResponse, testPollingOptions); const result = await poller.pollUntilDone(); console.log(result); assert.equal(result.status, "200"); @@ -144,7 +144,7 @@ describe("My test", () => { tags: { tier: "testing", archv3: "" }, }, }); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const res = await poller.pollUntilDone(); assert.equal(res.status, "200"); assert.equal( @@ -162,7 +162,7 @@ describe("My test", () => { resourceName, ) .delete(); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const res = await poller.pollUntilDone(); assert.isOk(res.status); const listInitialResponse = await client From aa1b8a9a68618f8cbd11a76c1fb4a3075d8c3b25 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:25 +0800 Subject: [PATCH 32/73] Migration: Update package.json, tsconfig.json, and api-extractor.json --- .../api-extractor.json | 27 ++++-- .../arm-containerservice-rest/package.json | 88 +++++++++++-------- .../arm-containerservice-rest/tsconfig.json | 18 ++-- .../tsconfig.samples.json | 10 +++ .../tsconfig.src.json | 3 + .../tsconfig.test.json | 6 ++ 6 files changed, 99 insertions(+), 53 deletions(-) create mode 100644 sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json create mode 100644 sdk/containerservice/arm-containerservice-rest/tsconfig.src.json create mode 100644 sdk/containerservice/arm-containerservice-rest/tsconfig.test.json diff --git a/sdk/containerservice/arm-containerservice-rest/api-extractor.json b/sdk/containerservice/arm-containerservice-rest/api-extractor.json index 48d00bbac9cd..60d2859ba2fb 100644 --- a/sdk/containerservice/arm-containerservice-rest/api-extractor.json +++ b/sdk/containerservice/arm-containerservice-rest/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./types/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "dist/esm/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/arm-containerservice.d.ts" + "publicTrimmedFilePath": "dist/arm-containerservice.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } } diff --git a/sdk/containerservice/arm-containerservice-rest/package.json b/sdk/containerservice/arm-containerservice-rest/package.json index 9d00c7853073..0bc938ed6616 100644 --- a/sdk/containerservice/arm-containerservice-rest/package.json +++ b/sdk/containerservice/arm-containerservice-rest/package.json @@ -4,7 +4,14 @@ "author": "Microsoft Corporation", "version": "1.0.0-beta.2", "description": "", - "keywords": ["node", "azure", "cloud", "typescript", "browser", "isomorphic"], + "keywords": [ + "node", + "azure", + "cloud", + "typescript", + "browser", + "isomorphic" + ], "license": "MIT", "main": "dist/index.js", "module": "./dist-esm/src/index.js", @@ -16,11 +23,8 @@ }, "files": [ "dist/", - "dist-esm/src/", - "types/arm-containerservice.d.ts", "README.md", - "LICENSE", - "review/*" + "LICENSE" ], "//metadata": { "constantPaths": [ @@ -34,12 +38,12 @@ "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:node": "tsc -p . && dev-tool run bundle --browser-test false", + "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build:browser": "dev-tool run build-package && dev-tool run bundle", + "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", + "build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false", "build:samples": "echo skipped.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "dev-tool run build-package && dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", @@ -56,58 +60,64 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", "@azure/core-lro": "^3.1.0", "@azure/core-paging": "^1.2.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", - "tslib": "^2.2.0", - "@azure/abort-controller": "^2.1.2" + "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.1.0", + "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-istanbul": "^2.1.8", "autorest": "latest", - "chai": "^4.2.0", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "~1.4.0", - "karma-sourcemap-loader": "^0.3.8", - "mocha": "^11.0.2", - "nyc": "^17.0.0", - "source-map-support": "^0.5.9", - "ts-node": "^10.0.0", - "typescript": "~5.7.2" - }, - "browser": { - "./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js" + "playwright": "^1.49.1", + "typescript": "~5.7.2", + "vitest": "^2.1.8" }, + "browser": "./dist/browser/index.js", "//sampleConfiguration": { "productName": "Azure AKS rest", - "productSlugs": ["azure"], + "productSlugs": [ + "azure" + ], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/rest/api/aks" - } + }, + "type": "module", + "tshy": { + "project": "./tsconfig.src.json", + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "react-native": "./dist/react-native/index.js" } diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.json index 33fd8ad7ee41..19ceb382b521 100644 --- a/sdk/containerservice/arm-containerservice-rest/tsconfig.json +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.json @@ -1,9 +1,13 @@ { - "extends": "../../../tsconfig", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", - "paths": { "@azure-rest/arm-containerservice": ["./src/index"] } - }, - "include": ["src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.samples.json" + }, + { + "path": "./tsconfig.test.json" + } + ] } diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json new file mode 100644 index 000000000000..243b8477a502 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.samples.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/arm-containerservice": [ + "./dist/esm" + ] + } + } +} diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.src.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json new file mode 100644 index 000000000000..3c2b783a8c1b --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json @@ -0,0 +1,6 @@ +{ + "extends": [ + "./tsconfig.src.json", + "../../../tsconfig.test.base.json" + ] +} From 0ba4c20aa6a243da123d5ef4846e87599e4c7352 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:25 +0800 Subject: [PATCH 33/73] Migration: Update test config --- .../tsconfig.browser.config.json | 17 +++++++++++++++++ .../vitest.browser.config.ts | 17 +++++++++++++++++ .../arm-containerservice-rest/vitest.config.ts | 7 +++++++ .../vitest.esm.config.ts | 12 ++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json create mode 100644 sdk/containerservice/arm-containerservice-rest/vitest.browser.config.ts create mode 100644 sdk/containerservice/arm-containerservice-rest/vitest.config.ts create mode 100644 sdk/containerservice/arm-containerservice-rest/vitest.esm.config.ts diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json new file mode 100644 index 000000000000..b6586181d006 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json @@ -0,0 +1,17 @@ +{ + "extends": "./.tshy/build.json", + "include": [ + "./src/**/*.ts", + "./src/**/*.mts", + "./test/**/*.spec.ts", + "./test/**/*.mts" + ], + "exclude": [ + "./test/**/node/**/*.ts" + ], + "compilerOptions": { + "outDir": "./dist-test/browser", + "rootDir": ".", + "skipLibCheck": true + } +} diff --git a/sdk/containerservice/arm-containerservice-rest/vitest.browser.config.ts b/sdk/containerservice/arm-containerservice-rest/vitest.browser.config.ts new file mode 100644 index 000000000000..b48c61b2ef46 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/vitest.browser.config.ts @@ -0,0 +1,17 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: [ + "dist-test/browser/test/**/*.spec.js", + ], + }, + }), +); diff --git a/sdk/containerservice/arm-containerservice-rest/vitest.config.ts b/sdk/containerservice/arm-containerservice-rest/vitest.config.ts new file mode 100644 index 000000000000..cc5cd85d4131 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/vitest.config.ts @@ -0,0 +1,7 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import viteConfig from "../../../vitest.shared.config.ts"; + +export default viteConfig; diff --git a/sdk/containerservice/arm-containerservice-rest/vitest.esm.config.ts b/sdk/containerservice/arm-containerservice-rest/vitest.esm.config.ts new file mode 100644 index 000000000000..a70127279fc9 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/vitest.esm.config.ts @@ -0,0 +1,12 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig( + vitestConfig, + vitestEsmConfig +); From 160e1079fd0e8c1800d0ce3ab8a87033245b39ad Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:26 +0800 Subject: [PATCH 34/73] Migration: Clean up files --- .../arm-containerservice-rest/karma.conf.js | 133 ------------------ 1 file changed, 133 deletions(-) delete mode 100644 sdk/containerservice/arm-containerservice-rest/karma.conf.js diff --git a/sdk/containerservice/arm-containerservice-rest/karma.conf.js b/sdk/containerservice/arm-containerservice-rest/karma.conf.js deleted file mode 100644 index 4fdf26c79ac0..000000000000 --- a/sdk/containerservice/arm-containerservice-rest/karma.conf.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -require("dotenv").config(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["source-map-support", "mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - "karma-source-map-support", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { - pattern: "dist-test/index.browser.js.map", - type: "html", - included: false, - served: true, - }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // IMPORTANT: COMMENT following line if you want to debug in your browsers!! - // Preprocess source file to calculate code coverage, however this will make source file unreadable - // "dist-test/index.js": ["coverage"] - }, - - envPreprocessor: [ - "TEST_MODE", - "ENDPOINT", - "AZURE_CLIENT_SECRET", - "AZURE_CLIENT_ID", - "AZURE_TENANT_ID", - "SUBSCRIPTION_ID", - "RECORDINGS_RELATIVE_PATH", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - reporters: [ - { type: "json", subdir: ".", file: "coverage.json" }, - { type: "lcovonly", subdir: ".", file: "lcov.info" }, - { type: "html", subdir: "html" }, - { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, - ], - }, - - junitReporter: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 60000000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; From 8fc8ea6b6b575679f27033cfe5e1666f54e90290 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:40 +0800 Subject: [PATCH 35/73] Migration: Apply codemod: "fixSourceFile" --- .../src/clientDefinitions.ts | 4 ++-- .../src/containerServiceClient.ts | 4 ++-- .../arm-containerservice-rest/src/index.ts | 20 +++++++++---------- .../src/isUnexpected.ts | 2 +- .../src/parameters.ts | 2 +- .../src/responses.ts | 2 +- .../test/public/containerservice-test.spec.ts | 9 ++++----- .../test/public/utils/env.ts | 4 +--- .../test/public/utils/recordedClient.ts | 2 +- 9 files changed, 23 insertions(+), 26 deletions(-) diff --git a/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts b/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts index 3b6d22527568..95395a749753 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts @@ -58,7 +58,7 @@ import { TrustedAccessRoleBindingsGetParameters, TrustedAccessRoleBindingsCreateOrUpdateParameters, TrustedAccessRoleBindingsDeleteParameters, -} from "./parameters"; +} from "./parameters.js"; import { OperationsList200Response, OperationsListDefaultResponse, @@ -191,7 +191,7 @@ import { TrustedAccessRoleBindingsDelete200Response, TrustedAccessRoleBindingsDelete204Response, TrustedAccessRoleBindingsDeleteDefaultResponse, -} from "./responses"; +} from "./responses.js"; import { Client, StreamableMethod } from "@azure-rest/core-client"; export interface OperationsList { diff --git a/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts index 4895936f54a3..4caf1da23fdf 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts @@ -2,9 +2,9 @@ // Licensed under the MIT License. import { getClient, ClientOptions } from "@azure-rest/core-client"; -import { logger } from "./logger"; +import { logger } from "./logger.js"; import { TokenCredential } from "@azure/core-auth"; -import { ContainerServiceClient } from "./clientDefinitions"; +import { ContainerServiceClient } from "./clientDefinitions.js"; /** The optional parameters for the client */ export interface ContainerServiceClientOptions extends ClientOptions { diff --git a/sdk/containerservice/arm-containerservice-rest/src/index.ts b/sdk/containerservice/arm-containerservice-rest/src/index.ts index 0755b8f1046c..46068daee9e6 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/index.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/index.ts @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import ContainerServiceClient from "./containerServiceClient"; +import ContainerServiceClient from "./containerServiceClient.js"; -export * from "./containerServiceClient"; -export * from "./parameters"; -export * from "./responses"; -export * from "./clientDefinitions"; -export * from "./isUnexpected"; -export * from "./models"; -export * from "./outputModels"; -export * from "./paginateHelper"; -export * from "./pollingHelper"; +export * from "./containerServiceClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./paginateHelper.js"; +export * from "./pollingHelper.js"; export default ContainerServiceClient; diff --git a/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts b/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts index cd61a1bc3261..a8983d6f131f 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts @@ -132,7 +132,7 @@ import { TrustedAccessRoleBindingsDelete200Response, TrustedAccessRoleBindingsDelete204Response, TrustedAccessRoleBindingsDeleteDefaultResponse, -} from "./responses"; +} from "./responses.js"; const responseMap: Record = { "GET /providers/Microsoft.ContainerService/operations": ["200"], diff --git a/sdk/containerservice/arm-containerservice-rest/src/parameters.ts b/sdk/containerservice/arm-containerservice-rest/src/parameters.ts index c983750a7219..d334fce55eb4 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/parameters.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/parameters.ts @@ -15,7 +15,7 @@ import { Snapshot, ManagedClusterSnapshot, TrustedAccessRoleBinding, -} from "./models"; +} from "./models.js"; export type OperationsListParameters = RequestParameters; diff --git a/sdk/containerservice/arm-containerservice-rest/src/responses.ts b/sdk/containerservice/arm-containerservice-rest/src/responses.ts index bf24b4c25569..37bccc7445e5 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/responses.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/responses.ts @@ -31,7 +31,7 @@ import { TrustedAccessRoleListResultOutput, TrustedAccessRoleBindingListResultOutput, TrustedAccessRoleBindingOutput, -} from "./outputModels"; +} from "./outputModels.js"; /** Gets a list of operations. */ export interface OperationsList200Response extends HttpResponse { diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts index 7cee27c67f28..850a52781b80 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts @@ -4,15 +4,14 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { env, isPlaybackMode } from "@azure-tools/test-recorder"; import { assert } from "chai"; -import { createRecorder } from "./utils/recordedClient"; -import type { Context } from "mocha"; +import { createRecorder } from "./utils/recordedClient.js"; import { createTestCredential } from "@azure-tools/test-credential"; import type { ContainerServiceClient, ManagedClusterOutput, ManagedClusterUpgradeProfileOutput, -} from "../../src"; -import ContainerServiceManagementClient, { getLongRunningPoller, paginate } from "../../src"; +} from "../../src/index.js"; +import ContainerServiceManagementClient, { getLongRunningPoller, paginate } from "../../src/index.js"; export const testPollingOptions = { intervalInMs: isPlaybackMode() ? 0 : undefined, @@ -28,7 +27,7 @@ describe("My test", () => { let resourceGroupName: string; let resourceName: string; - beforeEach(async function (this: Context) { + beforeEach(async function () { recorder = await createRecorder(this); subscriptionId = env.SUBSCRIPTION_ID || ""; clientId = env.AZURE_CLIENT_ID || ""; diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts index 866412f4082d..54ee1e71af77 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts index d7508a2c1842..b186300d5d21 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts @@ -4,7 +4,7 @@ import type { Context } from "mocha"; import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; -import "./env"; +import "./env.js"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", From 1fe416747a96ff7dd848b1836a4a62e1d11a37ae Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:41 +0800 Subject: [PATCH 36/73] Migration: Apply codemod: "fixTestingImports" --- .../test/public/containerservice-test.spec.ts | 2 +- .../test/public/utils/recordedClient.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts index 850a52781b80..007c8d131647 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts @@ -3,7 +3,6 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { env, isPlaybackMode } from "@azure-tools/test-recorder"; -import { assert } from "chai"; import { createRecorder } from "./utils/recordedClient.js"; import { createTestCredential } from "@azure-tools/test-credential"; import type { @@ -12,6 +11,7 @@ import type { ManagedClusterUpgradeProfileOutput, } from "../../src/index.js"; import ContainerServiceManagementClient, { getLongRunningPoller, paginate } from "../../src/index.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; export const testPollingOptions = { intervalInMs: isPlaybackMode() ? 0 : undefined, diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts index b186300d5d21..6f227b5de575 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import type { Context } from "mocha"; import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import "./env.js"; From 89f7ced8e33401d0bf9e13cc9425daa82899051d Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:42 +0800 Subject: [PATCH 37/73] Migration: Apply codemod: "replaceAssertIsRejected" From b7de135dd454373e77e80510fb0d0278142378d8 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:43 +0800 Subject: [PATCH 38/73] Migration: Apply codemod: "replaceSinonStub" From 744fd6bc7a900eadc85df3e7735bdd9af057570e Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:44 +0800 Subject: [PATCH 39/73] Migration: Apply codemod: "addViHelper" From 0f87d5659c4f0b52cfd10c24b40950503f7a411c Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:45 +0800 Subject: [PATCH 40/73] Migration: Apply codemod: "replaceSupportTracing" From cebf9c011e7c7a8aa825a88010bdbdd9304a1a37 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:45 +0800 Subject: [PATCH 41/73] Migration: Apply codemod: "replaceTestUtils" From c668dad00c7f54b47f2392149f0dd49356d95980 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:27:49 +0800 Subject: [PATCH 42/73] Migration: rushx format --- .../src/clientDefinitions.ts | 83 +++----- .../src/containerServiceClient.ts | 18 +- .../src/isUnexpected.ts | 73 ++----- .../arm-containerservice-rest/src/models.ts | 20 +- .../src/outputModels.ts | 20 +- .../src/paginateHelper.ts | 49 +---- .../src/parameters.ts | 66 +++--- .../src/pollingHelper.ts | 21 +- .../src/responses.ts | 201 ++++++------------ .../test/public/containerservice-test.spec.ts | 5 +- .../tsconfig.browser.config.json | 11 +- .../tsconfig.samples.json | 4 +- .../tsconfig.test.json | 5 +- 13 files changed, 173 insertions(+), 403 deletions(-) diff --git a/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts b/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts index 95395a749753..807694128fc1 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts @@ -198,9 +198,7 @@ export interface OperationsList { /** Gets a list of operations. */ get( options?: OperationsListParameters, - ): StreamableMethod< - OperationsList200Response | OperationsListDefaultResponse - >; + ): StreamableMethod; } export interface ManagedClustersGetOSOptions { @@ -208,8 +206,7 @@ export interface ManagedClustersGetOSOptions { get( options?: ManagedClustersGetOSOptionsParameters, ): StreamableMethod< - | ManagedClustersGetOSOptions200Response - | ManagedClustersGetOSOptionsDefaultResponse + ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsDefaultResponse >; } @@ -217,9 +214,7 @@ export interface ManagedClustersList { /** Gets a list of managed clusters in the specified subscription. */ get( options?: ManagedClustersListParameters, - ): StreamableMethod< - ManagedClustersList200Response | ManagedClustersListDefaultResponse - >; + ): StreamableMethod; } export interface ManagedClustersListByResourceGroup { @@ -237,8 +232,7 @@ export interface ManagedClustersGetUpgradeProfile { get( options?: ManagedClustersGetUpgradeProfileParameters, ): StreamableMethod< - | ManagedClustersGetUpgradeProfile200Response - | ManagedClustersGetUpgradeProfileDefaultResponse + ManagedClustersGetUpgradeProfile200Response | ManagedClustersGetUpgradeProfileDefaultResponse >; } @@ -247,8 +241,7 @@ export interface ManagedClustersGetAccessProfile { post( options?: ManagedClustersGetAccessProfileParameters, ): StreamableMethod< - | ManagedClustersGetAccessProfile200Response - | ManagedClustersGetAccessProfileDefaultResponse + ManagedClustersGetAccessProfile200Response | ManagedClustersGetAccessProfileDefaultResponse >; } @@ -286,9 +279,7 @@ export interface ManagedClustersGet { /** Gets a managed cluster. */ get( options?: ManagedClustersGetParameters, - ): StreamableMethod< - ManagedClustersGet200Response | ManagedClustersGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a managed cluster. */ put( options: ManagedClustersCreateOrUpdateParameters, @@ -301,8 +292,7 @@ export interface ManagedClustersGet { patch( options: ManagedClustersUpdateTagsParameters, ): StreamableMethod< - | ManagedClustersUpdateTags200Response - | ManagedClustersUpdateTagsDefaultResponse + ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsDefaultResponse >; /** Deletes a managed cluster. */ delete( @@ -427,8 +417,7 @@ export interface MaintenanceConfigurationsGet { get( options?: MaintenanceConfigurationsGetParameters, ): StreamableMethod< - | MaintenanceConfigurationsGet200Response - | MaintenanceConfigurationsGetDefaultResponse + MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetDefaultResponse >; /** Creates or updates a maintenance configuration in the specified managed cluster. */ put( @@ -451,9 +440,7 @@ export interface AgentPoolsList { /** Gets a list of agent pools in the specified managed cluster. */ get( options?: AgentPoolsListParameters, - ): StreamableMethod< - AgentPoolsList200Response | AgentPoolsListDefaultResponse - >; + ): StreamableMethod; } export interface AgentPoolsGet { @@ -473,9 +460,7 @@ export interface AgentPoolsGet { delete( options?: AgentPoolsDeleteParameters, ): StreamableMethod< - | AgentPoolsDelete202Response - | AgentPoolsDelete204Response - | AgentPoolsDeleteDefaultResponse + AgentPoolsDelete202Response | AgentPoolsDelete204Response | AgentPoolsDeleteDefaultResponse >; } @@ -484,8 +469,7 @@ export interface AgentPoolsGetUpgradeProfile { get( options?: AgentPoolsGetUpgradeProfileParameters, ): StreamableMethod< - | AgentPoolsGetUpgradeProfile200Response - | AgentPoolsGetUpgradeProfileDefaultResponse + AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfileDefaultResponse >; } @@ -512,8 +496,7 @@ export interface PrivateEndpointConnectionsList { get( options?: PrivateEndpointConnectionsListParameters, ): StreamableMethod< - | PrivateEndpointConnectionsList200Response - | PrivateEndpointConnectionsListDefaultResponse + PrivateEndpointConnectionsList200Response | PrivateEndpointConnectionsListDefaultResponse >; } @@ -522,15 +505,13 @@ export interface PrivateEndpointConnectionsGet { get( options?: PrivateEndpointConnectionsGetParameters, ): StreamableMethod< - | PrivateEndpointConnectionsGet200Response - | PrivateEndpointConnectionsGetDefaultResponse + PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse >; /** Updates a private endpoint connection. */ put( options: PrivateEndpointConnectionsUpdateParameters, ): StreamableMethod< - | PrivateEndpointConnectionsUpdate200Response - | PrivateEndpointConnectionsUpdateDefaultResponse + PrivateEndpointConnectionsUpdate200Response | PrivateEndpointConnectionsUpdateDefaultResponse >; /** Deletes a private endpoint connection. */ delete( @@ -547,8 +528,7 @@ export interface PrivateLinkResourcesList { get( options?: PrivateLinkResourcesListParameters, ): StreamableMethod< - | PrivateLinkResourcesList200Response - | PrivateLinkResourcesListDefaultResponse + PrivateLinkResourcesList200Response | PrivateLinkResourcesListDefaultResponse >; } @@ -557,8 +537,7 @@ export interface ResolvePrivateLinkServiceIdPost { post( options: ResolvePrivateLinkServiceIdPostParameters, ): StreamableMethod< - | ResolvePrivateLinkServiceIdPost200Response - | ResolvePrivateLinkServiceIdPostDefaultResponse + ResolvePrivateLinkServiceIdPost200Response | ResolvePrivateLinkServiceIdPostDefaultResponse >; } @@ -574,8 +553,7 @@ export interface SnapshotsListByResourceGroup { get( options?: SnapshotsListByResourceGroupParameters, ): StreamableMethod< - | SnapshotsListByResourceGroup200Response - | SnapshotsListByResourceGroupDefaultResponse + SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupDefaultResponse >; } @@ -595,16 +573,12 @@ export interface SnapshotsGet { /** Updates tags on a snapshot. */ patch( options: SnapshotsUpdateTagsParameters, - ): StreamableMethod< - SnapshotsUpdateTags200Response | SnapshotsUpdateTagsDefaultResponse - >; + ): StreamableMethod; /** Deletes a snapshot. */ delete( options?: SnapshotsDeleteParameters, ): StreamableMethod< - | SnapshotsDelete200Response - | SnapshotsDelete204Response - | SnapshotsDeleteDefaultResponse + SnapshotsDelete200Response | SnapshotsDelete204Response | SnapshotsDeleteDefaultResponse >; } @@ -613,8 +587,7 @@ export interface ManagedClusterSnapshotsList { get( options?: ManagedClusterSnapshotsListParameters, ): StreamableMethod< - | ManagedClusterSnapshotsList200Response - | ManagedClusterSnapshotsListDefaultResponse + ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListDefaultResponse >; } @@ -633,8 +606,7 @@ export interface ManagedClusterSnapshotsGet { get( options?: ManagedClusterSnapshotsGetParameters, ): StreamableMethod< - | ManagedClusterSnapshotsGet200Response - | ManagedClusterSnapshotsGetDefaultResponse + ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetDefaultResponse >; /** Creates or updates a managed cluster snapshot. */ put( @@ -648,8 +620,7 @@ export interface ManagedClusterSnapshotsGet { patch( options: ManagedClusterSnapshotsUpdateTagsParameters, ): StreamableMethod< - | ManagedClusterSnapshotsUpdateTags200Response - | ManagedClusterSnapshotsUpdateTagsDefaultResponse + ManagedClusterSnapshotsUpdateTags200Response | ManagedClusterSnapshotsUpdateTagsDefaultResponse >; /** Deletes a managed cluster snapshot. */ delete( @@ -665,9 +636,7 @@ export interface TrustedAccessRolesList { /** List supported trusted access roles. */ get( options?: TrustedAccessRolesListParameters, - ): StreamableMethod< - TrustedAccessRolesList200Response | TrustedAccessRolesListDefaultResponse - >; + ): StreamableMethod; } export interface TrustedAccessRoleBindingsList { @@ -675,8 +644,7 @@ export interface TrustedAccessRoleBindingsList { get( options?: TrustedAccessRoleBindingsListParameters, ): StreamableMethod< - | TrustedAccessRoleBindingsList200Response - | TrustedAccessRoleBindingsListDefaultResponse + TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListDefaultResponse >; } @@ -685,8 +653,7 @@ export interface TrustedAccessRoleBindingsGet { get( options?: TrustedAccessRoleBindingsGetParameters, ): StreamableMethod< - | TrustedAccessRoleBindingsGet200Response - | TrustedAccessRoleBindingsGetDefaultResponse + TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetDefaultResponse >; /** Create or update a trusted access role binding */ put( diff --git a/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts index 4caf1da23fdf..96ce636d3d1e 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts @@ -19,13 +19,9 @@ export interface ContainerServiceClientOptions extends ClientOptions { */ export default function createClient( credentials: TokenCredential, - { - apiVersion = "2022-05-02-preview", - ...options - }: ContainerServiceClientOptions = {}, + { apiVersion = "2022-05-02-preview", ...options }: ContainerServiceClientOptions = {}, ): ContainerServiceClient { - const endpointUrl = - options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; const userAgentInfo = `azsdk-js-arm-containerservice-rest/1.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix @@ -40,16 +36,10 @@ export default function createClient( logger: options.loggingOptions?.logger ?? logger.info, }, credentials: { - scopes: options.credentials?.scopes ?? [ - "https://management.azure.com/.default", - ], + scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"], }, }; - const client = getClient( - endpointUrl, - credentials, - options, - ) as ContainerServiceClient; + const client = getClient(endpointUrl, credentials, options) as ContainerServiceClient; client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); client.pipeline.addPolicy({ diff --git a/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts b/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts index a8983d6f131f..b453fb25b0af 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts @@ -138,8 +138,9 @@ const responseMap: Record = { "GET /providers/Microsoft.ContainerService/operations": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default": @@ -228,8 +229,7 @@ const responseMap: Record = { ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}": @@ -268,9 +268,7 @@ export function isUnexpected( response: OperationsList200Response | OperationsListDefaultResponse, ): response is OperationsListDefaultResponse; export function isUnexpected( - response: - | ManagedClustersGetOSOptions200Response - | ManagedClustersGetOSOptionsDefaultResponse, + response: ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsDefaultResponse, ): response is ManagedClustersGetOSOptionsDefaultResponse; export function isUnexpected( response: ManagedClustersList200Response | ManagedClustersListDefaultResponse, @@ -315,9 +313,7 @@ export function isUnexpected( | ManagedClustersCreateOrUpdateDefaultResponse, ): response is ManagedClustersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | ManagedClustersUpdateTags200Response - | ManagedClustersUpdateTagsDefaultResponse, + response: ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsDefaultResponse, ): response is ManagedClustersUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -384,9 +380,7 @@ export function isUnexpected( | MaintenanceConfigurationsListByManagedClusterDefaultResponse, ): response is MaintenanceConfigurationsListByManagedClusterDefaultResponse; export function isUnexpected( - response: - | MaintenanceConfigurationsGet200Response - | MaintenanceConfigurationsGetDefaultResponse, + response: MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetDefaultResponse, ): response is MaintenanceConfigurationsGetDefaultResponse; export function isUnexpected( response: @@ -418,9 +412,7 @@ export function isUnexpected( | AgentPoolsDeleteDefaultResponse, ): response is AgentPoolsDeleteDefaultResponse; export function isUnexpected( - response: - | AgentPoolsGetUpgradeProfile200Response - | AgentPoolsGetUpgradeProfileDefaultResponse, + response: AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfileDefaultResponse, ): response is AgentPoolsGetUpgradeProfileDefaultResponse; export function isUnexpected( response: @@ -434,9 +426,7 @@ export function isUnexpected( | PrivateEndpointConnectionsListDefaultResponse, ): response is PrivateEndpointConnectionsListDefaultResponse; export function isUnexpected( - response: - | PrivateEndpointConnectionsGet200Response - | PrivateEndpointConnectionsGetDefaultResponse, + response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse, ): response is PrivateEndpointConnectionsGetDefaultResponse; export function isUnexpected( response: @@ -450,9 +440,7 @@ export function isUnexpected( | PrivateEndpointConnectionsDeleteDefaultResponse, ): response is PrivateEndpointConnectionsDeleteDefaultResponse; export function isUnexpected( - response: - | PrivateLinkResourcesList200Response - | PrivateLinkResourcesListDefaultResponse, + response: PrivateLinkResourcesList200Response | PrivateLinkResourcesListDefaultResponse, ): response is PrivateLinkResourcesListDefaultResponse; export function isUnexpected( response: @@ -463,9 +451,7 @@ export function isUnexpected( response: SnapshotsList200Response | SnapshotsListDefaultResponse, ): response is SnapshotsListDefaultResponse; export function isUnexpected( - response: - | SnapshotsListByResourceGroup200Response - | SnapshotsListByResourceGroupDefaultResponse, + response: SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupDefaultResponse, ): response is SnapshotsListByResourceGroupDefaultResponse; export function isUnexpected( response: SnapshotsGet200Response | SnapshotsGetDefaultResponse, @@ -486,9 +472,7 @@ export function isUnexpected( | SnapshotsDeleteDefaultResponse, ): response is SnapshotsDeleteDefaultResponse; export function isUnexpected( - response: - | ManagedClusterSnapshotsList200Response - | ManagedClusterSnapshotsListDefaultResponse, + response: ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListDefaultResponse, ): response is ManagedClusterSnapshotsListDefaultResponse; export function isUnexpected( response: @@ -496,9 +480,7 @@ export function isUnexpected( | ManagedClusterSnapshotsListByResourceGroupDefaultResponse, ): response is ManagedClusterSnapshotsListByResourceGroupDefaultResponse; export function isUnexpected( - response: - | ManagedClusterSnapshotsGet200Response - | ManagedClusterSnapshotsGetDefaultResponse, + response: ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetDefaultResponse, ): response is ManagedClusterSnapshotsGetDefaultResponse; export function isUnexpected( response: @@ -518,19 +500,13 @@ export function isUnexpected( | ManagedClusterSnapshotsDeleteDefaultResponse, ): response is ManagedClusterSnapshotsDeleteDefaultResponse; export function isUnexpected( - response: - | TrustedAccessRolesList200Response - | TrustedAccessRolesListDefaultResponse, + response: TrustedAccessRolesList200Response | TrustedAccessRolesListDefaultResponse, ): response is TrustedAccessRolesListDefaultResponse; export function isUnexpected( - response: - | TrustedAccessRoleBindingsList200Response - | TrustedAccessRoleBindingsListDefaultResponse, + response: TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListDefaultResponse, ): response is TrustedAccessRoleBindingsListDefaultResponse; export function isUnexpected( - response: - | TrustedAccessRoleBindingsGet200Response - | TrustedAccessRoleBindingsGetDefaultResponse, + response: TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetDefaultResponse, ): response is TrustedAccessRoleBindingsGetDefaultResponse; export function isUnexpected( response: @@ -763,24 +739,17 @@ function getParametrizedPathSuccess(method: string, path: string): string[] { // track if we have found a match to return the values found. let found = true; - for ( - let i = candidateParts.length - 1, j = pathParts.length - 1; - i >= 1 && j >= 1; - i--, j-- - ) { - if ( - candidateParts[i]?.startsWith("{") && - candidateParts[i]?.indexOf("}") !== -1 - ) { + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { const start = candidateParts[i]!.indexOf("}") + 1, end = candidateParts[i]?.length; // If the current part of the candidate is a "template" part // Try to use the suffix of pattern to match the path // {guid} ==> $ // {guid}:export ==> :export$ - const isMatched = new RegExp( - `${candidateParts[i]?.slice(start, end)}`, - ).test(pathParts[j] || ""); + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); if (!isMatched) { found = false; diff --git a/sdk/containerservice/arm-containerservice-rest/src/models.ts b/sdk/containerservice/arm-containerservice-rest/src/models.ts index 1814b8c8e69e..0311bc94c392 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/models.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/models.ts @@ -34,10 +34,7 @@ export interface ManagedClusterIdentity { /** For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ type?: "SystemAssigned" | "UserAssigned" | "None"; /** The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: Record< - string, - ManagedServiceIdentityUserAssignedIdentitiesValue - >; + userAssignedIdentities?: Record; } export interface ManagedServiceIdentityUserAssignedIdentitiesValue {} @@ -119,8 +116,7 @@ export interface CreationData { } /** Profile for the container service agent pool. */ -export interface ManagedClusterAgentPoolProfile - extends ManagedClusterAgentPoolProfileProperties { +export interface ManagedClusterAgentPoolProfile extends ManagedClusterAgentPoolProfileProperties { /** Windows agent pool names must be 6 characters or less. */ name: string; } @@ -376,8 +372,7 @@ export interface ManagedClusterAddonProfile { } /** Information of user assigned identity used by this add-on. */ -export interface ManagedClusterAddonProfileIdentity - extends UserAssignedIdentity {} +export interface ManagedClusterAddonProfileIdentity extends UserAssignedIdentity {} /** Details about a user assigned identity. */ export interface UserAssignedIdentity { @@ -828,14 +823,7 @@ export interface MaintenanceConfigurationProperties { /** Time in a week. */ export interface TimeInWeek { /** The day of the week. */ - day?: - | "Sunday" - | "Monday" - | "Tuesday" - | "Wednesday" - | "Thursday" - | "Friday" - | "Saturday"; + day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; /** Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ hourSlots?: Array; } diff --git a/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts b/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts index a407b7138a29..aa20461795ec 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts @@ -118,10 +118,7 @@ export interface ManagedClusterIdentityOutput { /** For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ type?: "SystemAssigned" | "UserAssigned" | "None"; /** The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: Record< - string, - ManagedServiceIdentityUserAssignedIdentitiesValueOutput - >; + userAssignedIdentities?: Record; } export interface ManagedServiceIdentityUserAssignedIdentitiesValueOutput { @@ -487,8 +484,7 @@ export interface ManagedClusterAddonProfileOutput { } /** Information of user assigned identity used by this add-on. */ -export interface ManagedClusterAddonProfileIdentityOutput - extends UserAssignedIdentityOutput {} +export interface ManagedClusterAddonProfileIdentityOutput extends UserAssignedIdentityOutput {} /** Details about a user assigned identity. */ export interface UserAssignedIdentityOutput { @@ -958,8 +954,7 @@ export interface ManagedClusterPoolUpgradeProfileUpgradesItemOutput { } /** Managed cluster Access Profile. */ -export interface ManagedClusterAccessProfileOutput - extends TrackedResourceOutput { +export interface ManagedClusterAccessProfileOutput extends TrackedResourceOutput { /** AccessProfile of a managed cluster. */ properties?: AccessProfileOutput; } @@ -1019,14 +1014,7 @@ export interface MaintenanceConfigurationPropertiesOutput { /** Time in a week. */ export interface TimeInWeekOutput { /** The day of the week. */ - day?: - | "Sunday" - | "Monday" - | "Tuesday" - | "Wednesday" - | "Thursday" - | "Friday" - | "Saturday"; + day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; /** Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ hourSlots?: Array; } diff --git a/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts b/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts index 5ef95e5ea0a3..a5ee77d86caf 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts @@ -1,11 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { - Client, - createRestError, - PathUncheckedResponse, -} from "@azure-rest/core-client"; +import { Client, createRestError, PathUncheckedResponse } from "@azure-rest/core-client"; /** * returns an async iterator that iterates over results. It also has a `byPage` @@ -22,9 +18,7 @@ function getPagedAsyncIterator< >( pagedResult: PagedResult, ): PagedAsyncIterableIterator { - const iter = getItemAsyncIterator( - pagedResult, - ); + const iter = getItemAsyncIterator(pagedResult); return { next() { return iter.next(); @@ -39,9 +33,7 @@ function getPagedAsyncIterator< return getPageAsyncIterator(pagedResult, { pageLink: continuationToken as unknown as TLink | undefined, }); - }) as unknown as ( - settings?: TPageSettings, - ) => AsyncIterableIterator), + }) as unknown as (settings?: TPageSettings) => AsyncIterableIterator), }; } @@ -81,9 +73,7 @@ async function* getPageAsyncIterator( } = {}, ): AsyncIterableIterator { const { pageLink } = options; - let response = await pagedResult.getPage( - pageLink ?? pagedResult.firstPageLink, - ); + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); if (!response) { return; } @@ -122,11 +112,7 @@ export interface PagedAsyncIterableIterator< /** * The connection to the async iterator, part of the iteration protocol */ - [Symbol.asyncIterator](): PagedAsyncIterableIterator< - TElement, - TPage, - TPageSettings - >; + [Symbol.asyncIterator](): PagedAsyncIterableIterator; /** * Return an AsyncIterableIterator that works a page at a time */ @@ -144,9 +130,7 @@ interface PagedResult { /** * A method that returns a page of results. */ - getPage: ( - pageLink: TLink, - ) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + getPage: (pageLink: TLink) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; /** * a function to implement the `byPage` method on the paged async iterator. */ @@ -218,9 +202,7 @@ export function paginate( typeof customGetPage === "function" ? customGetPage : async (pageLink: string) => { - const result = firstRun - ? initialResponse - : await client.pathUnchecked(pageLink).get(); + const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get(); firstRun = false; checkPagingRequest(result); const nextLink = getNextLink(result.body, nextLinkName); @@ -246,9 +228,7 @@ function getNextLink(body: unknown, nextLinkName?: string): string | undefined { const nextLink = (body as Record)[nextLinkName]; if (typeof nextLink !== "string" && typeof nextLink !== "undefined") { - throw new Error( - `Body Property ${nextLinkName} should be a string or undefined`, - ); + throw new Error(`Body Property ${nextLinkName} should be a string or undefined`); } return nextLink; @@ -276,18 +256,7 @@ function getElements(body: unknown, itemName: string): T[] { * Checks if a request failed */ function checkPagingRequest(response: PathUncheckedResponse): void { - const Http2xxStatusCodes = [ - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "226", - ]; + const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"]; if (!Http2xxStatusCodes.includes(response.status)) { throw createRestError( `Pagination failed with unexpected statusCode ${response.status}`, diff --git a/sdk/containerservice/arm-containerservice-rest/src/parameters.ts b/sdk/containerservice/arm-containerservice-rest/src/parameters.ts index d334fce55eb4..58575c3b8464 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/parameters.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/parameters.ts @@ -28,8 +28,8 @@ export interface ManagedClustersGetOSOptionsQueryParam { queryParameters?: ManagedClustersGetOSOptionsQueryParamProperties; } -export type ManagedClustersGetOSOptionsParameters = - ManagedClustersGetOSOptionsQueryParam & RequestParameters; +export type ManagedClustersGetOSOptionsParameters = ManagedClustersGetOSOptionsQueryParam & + RequestParameters; export type ManagedClustersListParameters = RequestParameters; export type ManagedClustersListByResourceGroupParameters = RequestParameters; export type ManagedClustersGetUpgradeProfileParameters = RequestParameters; @@ -71,8 +71,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentialsQueryParam { } export type ManagedClustersListClusterMonitoringUserCredentialsParameters = - ManagedClustersListClusterMonitoringUserCredentialsQueryParam & - RequestParameters; + ManagedClustersListClusterMonitoringUserCredentialsQueryParam & RequestParameters; export type ManagedClustersGetParameters = RequestParameters; export interface ManagedClustersCreateOrUpdateBodyParam { @@ -85,10 +84,9 @@ export interface ManagedClustersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ManagedClustersCreateOrUpdateParameters = - ManagedClustersCreateOrUpdateMediaTypesParam & - ManagedClustersCreateOrUpdateBodyParam & - RequestParameters; +export type ManagedClustersCreateOrUpdateParameters = ManagedClustersCreateOrUpdateMediaTypesParam & + ManagedClustersCreateOrUpdateBodyParam & + RequestParameters; export interface ManagedClustersUpdateTagsBodyParam { /** Parameters supplied to the Update Managed Cluster Tags operation. */ @@ -100,10 +98,9 @@ export interface ManagedClustersUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ManagedClustersUpdateTagsParameters = - ManagedClustersUpdateTagsMediaTypesParam & - ManagedClustersUpdateTagsBodyParam & - RequestParameters; +export type ManagedClustersUpdateTagsParameters = ManagedClustersUpdateTagsMediaTypesParam & + ManagedClustersUpdateTagsBodyParam & + RequestParameters; export interface ManagedClustersDeleteQueryParamProperties { /** ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget */ @@ -114,8 +111,7 @@ export interface ManagedClustersDeleteQueryParam { queryParameters?: ManagedClustersDeleteQueryParamProperties; } -export type ManagedClustersDeleteParameters = ManagedClustersDeleteQueryParam & - RequestParameters; +export type ManagedClustersDeleteParameters = ManagedClustersDeleteQueryParam & RequestParameters; export interface ManagedClustersResetServicePrincipalProfileBodyParam { /** The service principal profile to set on the managed cluster. */ @@ -146,10 +142,8 @@ export type ManagedClustersResetAADProfileParameters = ManagedClustersResetAADProfileMediaTypesParam & ManagedClustersResetAADProfileBodyParam & RequestParameters; -export type ManagedClustersRotateClusterCertificatesParameters = - RequestParameters; -export type ManagedClustersRotateServiceAccountSigningKeysParameters = - RequestParameters; +export type ManagedClustersRotateClusterCertificatesParameters = RequestParameters; +export type ManagedClustersRotateServiceAccountSigningKeysParameters = RequestParameters; export type ManagedClustersStopParameters = RequestParameters; export type ManagedClustersStartParameters = RequestParameters; @@ -163,15 +157,12 @@ export interface ManagedClustersRunCommandMediaTypesParam { contentType?: "application/json"; } -export type ManagedClustersRunCommandParameters = - ManagedClustersRunCommandMediaTypesParam & - ManagedClustersRunCommandBodyParam & - RequestParameters; -export type ManagedClustersGetCommandResultParameters = RequestParameters; -export type ManagedClustersListOutboundNetworkDependenciesEndpointsParameters = - RequestParameters; -export type MaintenanceConfigurationsListByManagedClusterParameters = +export type ManagedClustersRunCommandParameters = ManagedClustersRunCommandMediaTypesParam & + ManagedClustersRunCommandBodyParam & RequestParameters; +export type ManagedClustersGetCommandResultParameters = RequestParameters; +export type ManagedClustersListOutboundNetworkDependenciesEndpointsParameters = RequestParameters; +export type MaintenanceConfigurationsListByManagedClusterParameters = RequestParameters; export type MaintenanceConfigurationsGetParameters = RequestParameters; export interface MaintenanceConfigurationsCreateOrUpdateBodyParam { @@ -202,10 +193,9 @@ export interface AgentPoolsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type AgentPoolsCreateOrUpdateParameters = - AgentPoolsCreateOrUpdateMediaTypesParam & - AgentPoolsCreateOrUpdateBodyParam & - RequestParameters; +export type AgentPoolsCreateOrUpdateParameters = AgentPoolsCreateOrUpdateMediaTypesParam & + AgentPoolsCreateOrUpdateBodyParam & + RequestParameters; export interface AgentPoolsDeleteQueryParamProperties { /** ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget */ @@ -216,11 +206,9 @@ export interface AgentPoolsDeleteQueryParam { queryParameters?: AgentPoolsDeleteQueryParamProperties; } -export type AgentPoolsDeleteParameters = AgentPoolsDeleteQueryParam & - RequestParameters; +export type AgentPoolsDeleteParameters = AgentPoolsDeleteQueryParam & RequestParameters; export type AgentPoolsGetUpgradeProfileParameters = RequestParameters; -export type AgentPoolsGetAvailableAgentPoolVersionsParameters = - RequestParameters; +export type AgentPoolsGetAvailableAgentPoolVersionsParameters = RequestParameters; export type AgentPoolsUpgradeNodeImageVersionParameters = RequestParameters; export type PrivateEndpointConnectionsListParameters = RequestParameters; export type PrivateEndpointConnectionsGetParameters = RequestParameters; @@ -270,10 +258,9 @@ export interface SnapshotsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type SnapshotsCreateOrUpdateParameters = - SnapshotsCreateOrUpdateMediaTypesParam & - SnapshotsCreateOrUpdateBodyParam & - RequestParameters; +export type SnapshotsCreateOrUpdateParameters = SnapshotsCreateOrUpdateMediaTypesParam & + SnapshotsCreateOrUpdateBodyParam & + RequestParameters; export interface SnapshotsUpdateTagsBodyParam { /** Parameters supplied to the Update snapshot Tags operation. */ @@ -290,8 +277,7 @@ export type SnapshotsUpdateTagsParameters = SnapshotsUpdateTagsMediaTypesParam & RequestParameters; export type SnapshotsDeleteParameters = RequestParameters; export type ManagedClusterSnapshotsListParameters = RequestParameters; -export type ManagedClusterSnapshotsListByResourceGroupParameters = - RequestParameters; +export type ManagedClusterSnapshotsListByResourceGroupParameters = RequestParameters; export type ManagedClusterSnapshotsGetParameters = RequestParameters; export interface ManagedClusterSnapshotsCreateOrUpdateBodyParam { diff --git a/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts b/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts index 131043e0b2d0..0ff7c2fe9be1 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts @@ -15,10 +15,7 @@ import { /** * A simple poller that can be used to poll a long running operation. */ -export interface SimplePollerLike< - TState extends OperationState, - TResult, -> { +export interface SimplePollerLike, TResult> { /** * Returns true if the poller has finished polling. */ @@ -42,9 +39,7 @@ export interface SimplePollerLike< /** * Returns a promise that will resolve once the underlying operation is completed. */ - pollUntilDone(pollOptions?: { - abortSignal?: AbortSignalLike; - }): Promise; + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; /** * Invokes the provided callback after each polling is completed, * sending the current state of the poller's operation. @@ -103,10 +98,7 @@ export async function getLongRunningPoller( // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async ( - path: string, - pollOptions?: { abortSignal?: AbortSignalLike }, - ) => { + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location @@ -132,8 +124,7 @@ export async function getLongRunningPoller( inputAbortSignal?.removeEventListener("abort", abortListener); } const lroResponse = getLroResponse(response as TResult); - lroResponse.rawResponse.headers["x-ms-original-url"] = - initialResponse.request.url; + lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; return lroResponse; }, }; @@ -189,9 +180,7 @@ function getLroResponse( response: TResult, ): OperationResponse { if (Number.isNaN(response.status)) { - throw new TypeError( - `Status code of the response is not a number. Value: ${response.status}`, - ); + throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); } return { diff --git a/sdk/containerservice/arm-containerservice-rest/src/responses.ts b/sdk/containerservice/arm-containerservice-rest/src/responses.ts index 37bccc7445e5..d91bfecfdda4 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/responses.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/responses.ts @@ -52,8 +52,7 @@ export interface ManagedClustersGetOSOptions200Response extends HttpResponse { } /** Gets supported OS options in the specified subscription. */ -export interface ManagedClustersGetOSOptionsDefaultResponse - extends HttpResponse { +export interface ManagedClustersGetOSOptionsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -71,71 +70,61 @@ export interface ManagedClustersListDefaultResponse extends HttpResponse { } /** Lists managed clusters in the specified subscription and resource group. */ -export interface ManagedClustersListByResourceGroup200Response - extends HttpResponse { +export interface ManagedClustersListByResourceGroup200Response extends HttpResponse { status: "200"; body: ManagedClusterListResultOutput; } /** Lists managed clusters in the specified subscription and resource group. */ -export interface ManagedClustersListByResourceGroupDefaultResponse - extends HttpResponse { +export interface ManagedClustersListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the upgrade profile of a managed cluster. */ -export interface ManagedClustersGetUpgradeProfile200Response - extends HttpResponse { +export interface ManagedClustersGetUpgradeProfile200Response extends HttpResponse { status: "200"; body: ManagedClusterUpgradeProfileOutput; } /** Gets the upgrade profile of a managed cluster. */ -export interface ManagedClustersGetUpgradeProfileDefaultResponse - extends HttpResponse { +export interface ManagedClustersGetUpgradeProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . */ -export interface ManagedClustersGetAccessProfile200Response - extends HttpResponse { +export interface ManagedClustersGetAccessProfile200Response extends HttpResponse { status: "200"; body: ManagedClusterAccessProfileOutput; } /** **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . */ -export interface ManagedClustersGetAccessProfileDefaultResponse - extends HttpResponse { +export interface ManagedClustersGetAccessProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists the admin credentials of a managed cluster. */ -export interface ManagedClustersListClusterAdminCredentials200Response - extends HttpResponse { +export interface ManagedClustersListClusterAdminCredentials200Response extends HttpResponse { status: "200"; body: CredentialResultsOutput; } /** Lists the admin credentials of a managed cluster. */ -export interface ManagedClustersListClusterAdminCredentialsDefaultResponse - extends HttpResponse { +export interface ManagedClustersListClusterAdminCredentialsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists the user credentials of a managed cluster. */ -export interface ManagedClustersListClusterUserCredentials200Response - extends HttpResponse { +export interface ManagedClustersListClusterUserCredentials200Response extends HttpResponse { status: "200"; body: CredentialResultsOutput; } /** Lists the user credentials of a managed cluster. */ -export interface ManagedClustersListClusterUserCredentialsDefaultResponse - extends HttpResponse { +export interface ManagedClustersListClusterUserCredentialsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -179,8 +168,7 @@ export interface ManagedClustersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a managed cluster. */ -export interface ManagedClustersCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ManagedClustersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -214,71 +202,60 @@ export interface ManagedClustersDeleteDefaultResponse extends HttpResponse { } /** This action cannot be performed on a cluster that is not using a service principal */ -export interface ManagedClustersResetServicePrincipalProfile200Response - extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfile200Response extends HttpResponse { status: "200"; } /** This action cannot be performed on a cluster that is not using a service principal */ -export interface ManagedClustersResetServicePrincipalProfile202Response - extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfile202Response extends HttpResponse { status: "202"; } /** This action cannot be performed on a cluster that is not using a service principal */ -export interface ManagedClustersResetServicePrincipalProfileDefaultResponse - extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Reset the AAD Profile of a managed cluster. */ -export interface ManagedClustersResetAADProfile200Response - extends HttpResponse { +export interface ManagedClustersResetAADProfile200Response extends HttpResponse { status: "200"; } /** Reset the AAD Profile of a managed cluster. */ -export interface ManagedClustersResetAADProfile202Response - extends HttpResponse { +export interface ManagedClustersResetAADProfile202Response extends HttpResponse { status: "202"; } /** Reset the AAD Profile of a managed cluster. */ -export interface ManagedClustersResetAADProfileDefaultResponse - extends HttpResponse { +export interface ManagedClustersResetAADProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ -export interface ManagedClustersRotateClusterCertificates202Response - extends HttpResponse { +export interface ManagedClustersRotateClusterCertificates202Response extends HttpResponse { status: "202"; } /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ -export interface ManagedClustersRotateClusterCertificates204Response - extends HttpResponse { +export interface ManagedClustersRotateClusterCertificates204Response extends HttpResponse { status: "204"; } /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ -export interface ManagedClustersRotateClusterCertificatesDefaultResponse - extends HttpResponse { +export interface ManagedClustersRotateClusterCertificatesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Rotates the service account signing keys of a managed cluster. */ -export interface ManagedClustersRotateServiceAccountSigningKeys202Response - extends HttpResponse { +export interface ManagedClustersRotateServiceAccountSigningKeys202Response extends HttpResponse { status: "202"; } /** Rotates the service account signing keys of a managed cluster. */ -export interface ManagedClustersRotateServiceAccountSigningKeys204Response - extends HttpResponse { +export interface ManagedClustersRotateServiceAccountSigningKeys204Response extends HttpResponse { status: "204"; } @@ -339,21 +316,18 @@ export interface ManagedClustersRunCommandDefaultResponse extends HttpResponse { } /** Gets the results of a command which has been run on the Managed Cluster. */ -export interface ManagedClustersGetCommandResult200Response - extends HttpResponse { +export interface ManagedClustersGetCommandResult200Response extends HttpResponse { status: "200"; body: RunCommandResultOutput; } /** Gets the results of a command which has been run on the Managed Cluster. */ -export interface ManagedClustersGetCommandResult202Response - extends HttpResponse { +export interface ManagedClustersGetCommandResult202Response extends HttpResponse { status: "202"; } /** Gets the results of a command which has been run on the Managed Cluster. */ -export interface ManagedClustersGetCommandResultDefaultResponse - extends HttpResponse { +export interface ManagedClustersGetCommandResultDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -373,15 +347,13 @@ export interface ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultR } /** Gets a list of maintenance configurations in the specified managed cluster. */ -export interface MaintenanceConfigurationsListByManagedCluster200Response - extends HttpResponse { +export interface MaintenanceConfigurationsListByManagedCluster200Response extends HttpResponse { status: "200"; body: MaintenanceConfigurationListResultOutput; } /** Gets a list of maintenance configurations in the specified managed cluster. */ -export interface MaintenanceConfigurationsListByManagedClusterDefaultResponse - extends HttpResponse { +export interface MaintenanceConfigurationsListByManagedClusterDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -393,41 +365,35 @@ export interface MaintenanceConfigurationsGet200Response extends HttpResponse { } /** Gets the specified maintenance configuration of a managed cluster. */ -export interface MaintenanceConfigurationsGetDefaultResponse - extends HttpResponse { +export interface MaintenanceConfigurationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a maintenance configuration in the specified managed cluster. */ -export interface MaintenanceConfigurationsCreateOrUpdate200Response - extends HttpResponse { +export interface MaintenanceConfigurationsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: MaintenanceConfigurationOutput; } /** Creates or updates a maintenance configuration in the specified managed cluster. */ -export interface MaintenanceConfigurationsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface MaintenanceConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a maintenance configuration. */ -export interface MaintenanceConfigurationsDelete200Response - extends HttpResponse { +export interface MaintenanceConfigurationsDelete200Response extends HttpResponse { status: "200"; } /** Deletes a maintenance configuration. */ -export interface MaintenanceConfigurationsDelete204Response - extends HttpResponse { +export interface MaintenanceConfigurationsDelete204Response extends HttpResponse { status: "204"; } /** Deletes a maintenance configuration. */ -export interface MaintenanceConfigurationsDeleteDefaultResponse - extends HttpResponse { +export interface MaintenanceConfigurationsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -497,22 +463,19 @@ export interface AgentPoolsGetUpgradeProfile200Response extends HttpResponse { } /** Gets the upgrade profile for an agent pool. */ -export interface AgentPoolsGetUpgradeProfileDefaultResponse - extends HttpResponse { +export interface AgentPoolsGetUpgradeProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. */ -export interface AgentPoolsGetAvailableAgentPoolVersions200Response - extends HttpResponse { +export interface AgentPoolsGetAvailableAgentPoolVersions200Response extends HttpResponse { status: "200"; body: AgentPoolAvailableVersionsOutput; } /** Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade */ -export interface AgentPoolsUpgradeNodeImageVersion200Response - extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersion200Response extends HttpResponse { status: "200"; } @@ -522,30 +485,26 @@ export interface AgentPoolsUpgradeNodeImageVersion202Headers { } /** Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade */ -export interface AgentPoolsUpgradeNodeImageVersion202Response - extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersion202Response extends HttpResponse { status: "202"; body: AgentPoolOutput; headers: RawHttpHeaders & AgentPoolsUpgradeNodeImageVersion202Headers; } /** Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade */ -export interface AgentPoolsUpgradeNodeImageVersionDefaultResponse - extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersionDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateEndpointConnectionsList200Response - extends HttpResponse { +export interface PrivateEndpointConnectionsList200Response extends HttpResponse { status: "200"; body: PrivateEndpointConnectionListResultOutput; } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateEndpointConnectionsListDefaultResponse - extends HttpResponse { +export interface PrivateEndpointConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -557,41 +516,35 @@ export interface PrivateEndpointConnectionsGet200Response extends HttpResponse { } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateEndpointConnectionsGetDefaultResponse - extends HttpResponse { +export interface PrivateEndpointConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a private endpoint connection. */ -export interface PrivateEndpointConnectionsUpdate200Response - extends HttpResponse { +export interface PrivateEndpointConnectionsUpdate200Response extends HttpResponse { status: "200"; body: PrivateEndpointConnectionOutput; } /** Updates a private endpoint connection. */ -export interface PrivateEndpointConnectionsUpdateDefaultResponse - extends HttpResponse { +export interface PrivateEndpointConnectionsUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a private endpoint connection. */ -export interface PrivateEndpointConnectionsDelete200Response - extends HttpResponse { +export interface PrivateEndpointConnectionsDelete200Response extends HttpResponse { status: "200"; } /** Deletes a private endpoint connection. */ -export interface PrivateEndpointConnectionsDelete204Response - extends HttpResponse { +export interface PrivateEndpointConnectionsDelete204Response extends HttpResponse { status: "204"; } /** Deletes a private endpoint connection. */ -export interface PrivateEndpointConnectionsDeleteDefaultResponse - extends HttpResponse { +export interface PrivateEndpointConnectionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -609,15 +562,13 @@ export interface PrivateLinkResourcesListDefaultResponse extends HttpResponse { } /** Gets the private link service ID for the specified managed cluster. */ -export interface ResolvePrivateLinkServiceIdPost200Response - extends HttpResponse { +export interface ResolvePrivateLinkServiceIdPost200Response extends HttpResponse { status: "200"; body: PrivateLinkResourceOutput; } /** Gets the private link service ID for the specified managed cluster. */ -export interface ResolvePrivateLinkServiceIdPostDefaultResponse - extends HttpResponse { +export interface ResolvePrivateLinkServiceIdPostDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -641,8 +592,7 @@ export interface SnapshotsListByResourceGroup200Response extends HttpResponse { } /** Lists snapshots in the specified subscription and resource group. */ -export interface SnapshotsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface SnapshotsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -712,22 +662,19 @@ export interface ManagedClusterSnapshotsList200Response extends HttpResponse { } /** Gets a list of managed cluster snapshots in the specified subscription. */ -export interface ManagedClusterSnapshotsListDefaultResponse - extends HttpResponse { +export interface ManagedClusterSnapshotsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists managed cluster snapshots in the specified subscription and resource group. */ -export interface ManagedClusterSnapshotsListByResourceGroup200Response - extends HttpResponse { +export interface ManagedClusterSnapshotsListByResourceGroup200Response extends HttpResponse { status: "200"; body: ManagedClusterSnapshotListResultOutput; } /** Lists managed cluster snapshots in the specified subscription and resource group. */ -export interface ManagedClusterSnapshotsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface ManagedClusterSnapshotsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -739,43 +686,37 @@ export interface ManagedClusterSnapshotsGet200Response extends HttpResponse { } /** Gets a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsGetDefaultResponse - extends HttpResponse { +export interface ManagedClusterSnapshotsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsCreateOrUpdate200Response - extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ManagedClusterSnapshotOutput; } /** Creates or updates a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsCreateOrUpdate201Response - extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ManagedClusterSnapshotOutput; } /** Creates or updates a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates tags on a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsUpdateTags200Response - extends HttpResponse { +export interface ManagedClusterSnapshotsUpdateTags200Response extends HttpResponse { status: "200"; body: ManagedClusterSnapshotOutput; } /** Updates tags on a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsUpdateTagsDefaultResponse - extends HttpResponse { +export interface ManagedClusterSnapshotsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -791,8 +732,7 @@ export interface ManagedClusterSnapshotsDelete204Response extends HttpResponse { } /** Deletes a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsDeleteDefaultResponse - extends HttpResponse { +export interface ManagedClusterSnapshotsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -816,8 +756,7 @@ export interface TrustedAccessRoleBindingsList200Response extends HttpResponse { } /** List trusted access role bindings. */ -export interface TrustedAccessRoleBindingsListDefaultResponse - extends HttpResponse { +export interface TrustedAccessRoleBindingsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -829,41 +768,35 @@ export interface TrustedAccessRoleBindingsGet200Response extends HttpResponse { } /** Get a trusted access role binding. */ -export interface TrustedAccessRoleBindingsGetDefaultResponse - extends HttpResponse { +export interface TrustedAccessRoleBindingsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Create or update a trusted access role binding */ -export interface TrustedAccessRoleBindingsCreateOrUpdate200Response - extends HttpResponse { +export interface TrustedAccessRoleBindingsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: TrustedAccessRoleBindingOutput; } /** Create or update a trusted access role binding */ -export interface TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Delete a trusted access role binding. */ -export interface TrustedAccessRoleBindingsDelete200Response - extends HttpResponse { +export interface TrustedAccessRoleBindingsDelete200Response extends HttpResponse { status: "200"; } /** Delete a trusted access role binding. */ -export interface TrustedAccessRoleBindingsDelete204Response - extends HttpResponse { +export interface TrustedAccessRoleBindingsDelete204Response extends HttpResponse { status: "204"; } /** Delete a trusted access role binding. */ -export interface TrustedAccessRoleBindingsDeleteDefaultResponse - extends HttpResponse { +export interface TrustedAccessRoleBindingsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts index 007c8d131647..78466d28f640 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts @@ -10,7 +10,10 @@ import type { ManagedClusterOutput, ManagedClusterUpgradeProfileOutput, } from "../../src/index.js"; -import ContainerServiceManagementClient, { getLongRunningPoller, paginate } from "../../src/index.js"; +import ContainerServiceManagementClient, { + getLongRunningPoller, + paginate, +} from "../../src/index.js"; import { describe, it, assert, beforeEach, afterEach } from "vitest"; export const testPollingOptions = { diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json index b6586181d006..f772e6eb3b76 100644 --- a/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json @@ -1,14 +1,7 @@ { "extends": "./.tshy/build.json", - "include": [ - "./src/**/*.ts", - "./src/**/*.mts", - "./test/**/*.spec.ts", - "./test/**/*.mts" - ], - "exclude": [ - "./test/**/node/**/*.ts" - ], + "include": ["./src/**/*.ts", "./src/**/*.mts", "./test/**/*.spec.ts", "./test/**/*.mts"], + "exclude": ["./test/**/node/**/*.ts"], "compilerOptions": { "outDir": "./dist-test/browser", "rootDir": ".", diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json index 243b8477a502..c9b282c45139 100644 --- a/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json @@ -2,9 +2,7 @@ "extends": "../../../tsconfig.samples.base.json", "compilerOptions": { "paths": { - "@azure-rest/arm-containerservice": [ - "./dist/esm" - ] + "@azure-rest/arm-containerservice": ["./dist/esm"] } } } diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json index 3c2b783a8c1b..290ca214aebc 100644 --- a/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json @@ -1,6 +1,3 @@ { - "extends": [ - "./tsconfig.src.json", - "../../../tsconfig.test.base.json" - ] + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] } From 8d3cda4303c78a498ff5e4746cfd9b696722d996 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:30:13 +0800 Subject: [PATCH 43/73] update --- common/config/rush/pnpm-lock.yaml | 48 +++++++++---------- .../arm-appservice-rest/CHANGELOG.md | 4 +- sdk/compute/arm-compute-rest/CHANGELOG.md | 8 ++-- .../arm-containerservice-rest/package.json | 30 ++++++++++-- 4 files changed, 53 insertions(+), 37 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 49f219b7220e..2aae7aa0f16e 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -225,7 +225,7 @@ importers: version: file:projects/arm-containerregistry.tgz '@rush-temp/arm-containerservice': specifier: file:./projects/arm-containerservice.tgz - version: file:projects/arm-containerservice.tgz + version: file:projects/arm-containerservice.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-containerservice-1': specifier: file:./projects/arm-containerservice-1.tgz version: file:projects/arm-containerservice-1.tgz @@ -2727,7 +2727,7 @@ packages: version: 0.0.0 '@rush-temp/arm-containerservice@file:projects/arm-containerservice.tgz': - resolution: {integrity: sha512-d8rePmExkqv4Y+ofJT19moyj89Ks2keYENuunHVIiXATEx14kjM/wzbRmydjoomkBGa8YOmvHzt0NxGs8xW7Nw==, tarball: file:projects/arm-containerservice.tgz} + resolution: {integrity: sha512-Pf64ChwuvzEi/tpkVk/HPNt43sDUfrGMiy2Hi6Z1yI9dmYLCSzQzXtnDaWvF0aT7BxGi7cKua1XEu2RnxJgZMg==, tarball: file:projects/arm-containerservice.tgz} version: 0.0.0 '@rush-temp/arm-containerservicefleet@file:projects/arm-containerservicefleet.tgz': @@ -11457,43 +11457,39 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-containerservice@file:projects/arm-containerservice.tgz': + '@rush-temp/arm-containerservice@file:projects/arm-containerservice.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 - '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 - chai: 4.5.0 dotenv: 16.4.7 eslint: 9.17.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 11.0.2 - nyc: 17.1.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-containerservicefleet@file:projects/arm-containerservicefleet.tgz': dependencies: diff --git a/sdk/appservice/arm-appservice-rest/CHANGELOG.md b/sdk/appservice/arm-appservice-rest/CHANGELOG.md index d17d7e820545..77cdad424d8c 100644 --- a/sdk/appservice/arm-appservice-rest/CHANGELOG.md +++ b/sdk/appservice/arm-appservice-rest/CHANGELOG.md @@ -1,8 +1,8 @@ # Release History -### 1.0.0-beta.2 (2024-12-23) +## 1.0.0-beta.2 (2024-12-23) -#### Features Added +### Features Added - Refresh sdk with latest codegen ## 1.0.0-beta.1 (2021-05-11) diff --git a/sdk/compute/arm-compute-rest/CHANGELOG.md b/sdk/compute/arm-compute-rest/CHANGELOG.md index f1fe828befbb..6690f3018251 100644 --- a/sdk/compute/arm-compute-rest/CHANGELOG.md +++ b/sdk/compute/arm-compute-rest/CHANGELOG.md @@ -1,10 +1,10 @@ -## Release History +# Release History -### 1.0.0-beta.2 (2024-12-23) +## 1.0.0-beta.2 (2024-12-23) -#### Features Added +### Features Added - Refresh sdk with latest codegen -### 1.0.0-beta.1 (2021-09-22) +## 1.0.0-beta.1 (2021-09-22) - First release of package, see README.md for details. diff --git a/sdk/containerservice/arm-containerservice-rest/package.json b/sdk/containerservice/arm-containerservice-rest/package.json index 0bc938ed6616..39a6d7c36c55 100644 --- a/sdk/containerservice/arm-containerservice-rest/package.json +++ b/sdk/containerservice/arm-containerservice-rest/package.json @@ -13,9 +13,9 @@ "isomorphic" ], "license": "MIT", - "main": "dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-containerservice.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice-rest/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { @@ -71,7 +71,6 @@ "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", "@azure/core-lro": "^3.1.0", - "@azure/core-paging": "^1.2.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" @@ -119,5 +118,26 @@ ], "selfLink": false }, - "react-native": "./dist/react-native/index.js" + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } + } } From 019f3cf984bf61d2364e0ef2b82942a2017cd225 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:39:19 +0800 Subject: [PATCH 44/73] Migration: Update package.json, tsconfig.json, and api-extractor.json --- .../arm-network-rest/api-extractor.json | 27 +- sdk/network/arm-network-rest/karma.conf.js | 4 +- sdk/network/arm-network-rest/package.json | 75 +- .../adminRuleCollectionsDeleteSample.ts | 2 +- .../samples-dev/adminRulesDeleteSample.ts | 2 +- ...yPrivateEndpointConnectionsDeleteSample.ts | 2 +- ...yPrivateEndpointConnectionsUpdateSample.ts | 2 +- ...tionGatewaysBackendHealthOnDemandSample.ts | 2 +- .../applicationGatewaysBackendHealthSample.ts | 2 +- ...applicationGatewaysCreateOrUpdateSample.ts | 2 +- .../applicationGatewaysDeleteSample.ts | 2 +- .../applicationGatewaysStartSample.ts | 2 +- .../applicationGatewaysStopSample.ts | 2 +- ...ationSecurityGroupsCreateOrUpdateSample.ts | 2 +- .../applicationSecurityGroupsDeleteSample.ts | 2 +- .../azureFirewallsCreateOrUpdateSample.ts | 12 +- .../samples-dev/azureFirewallsDeleteSample.ts | 2 +- ...azureFirewallsListLearnedPrefixesSample.ts | 2 +- .../azureFirewallsUpdateTagsSample.ts | 2 +- .../bastionHostsCreateOrUpdateSample.ts | 2 +- .../samples-dev/bastionHostsDeleteSample.ts | 2 +- .../bastionHostsUpdateTagsSample.ts | 2 +- ...urationPolicyGroupsCreateOrUpdateSample.ts | 2 +- .../configurationPolicyGroupsDeleteSample.ts | 2 +- .../connectionMonitorsCreateOrUpdateSample.ts | 4 +- .../connectionMonitorsDeleteSample.ts | 2 +- .../connectionMonitorsQuerySample.ts | 2 +- .../connectionMonitorsStartSample.ts | 2 +- .../connectionMonitorsStopSample.ts | 2 +- .../connectivityConfigurationsDeleteSample.ts | 2 +- .../customIPPrefixesCreateOrUpdateSample.ts | 2 +- .../customIPPrefixesDeleteSample.ts | 2 +- .../ddosCustomPoliciesCreateOrUpdateSample.ts | 2 +- .../ddosCustomPoliciesDeleteSample.ts | 2 +- ...ddosProtectionPlansCreateOrUpdateSample.ts | 2 +- .../ddosProtectionPlansDeleteSample.ts | 2 +- .../deleteBastionShareableLinkSample.ts | 2 +- .../dscpConfigurationCreateOrUpdateSample.ts | 2 +- .../dscpConfigurationDeleteSample.ts | 2 +- ...rcuitAuthorizationsCreateOrUpdateSample.ts | 2 +- ...sRouteCircuitAuthorizationsDeleteSample.ts | 2 +- ...eCircuitConnectionsCreateOrUpdateSample.ts | 2 +- ...ressRouteCircuitConnectionsDeleteSample.ts | 2 +- ...outeCircuitPeeringsCreateOrUpdateSample.ts | 2 +- ...expressRouteCircuitPeeringsDeleteSample.ts | 2 +- ...xpressRouteCircuitsCreateOrUpdateSample.ts | 4 +- .../arm-network-rest/src/clientDefinitions.ts | 4015 +++++++++-------- .../arm-network-rest/src/isUnexpected.ts | 3530 ++++++++------- sdk/network/arm-network-rest/src/logger.ts | 5 + sdk/network/arm-network-rest/src/models.ts | 1478 +----- .../src/networkManagementClient.ts | 50 +- .../arm-network-rest/src/outputModels.ts | 1943 ++++---- .../arm-network-rest/src/paginateHelper.ts | 186 +- .../arm-network-rest/src/parameters.ts | 1927 ++++---- .../arm-network-rest/src/pollingHelper.ts | 181 +- sdk/network/arm-network-rest/src/responses.ts | 2870 ++++++------ .../arm-network-rest/swagger/README.md | 4 +- .../test/public/network_rest_sample.spec.ts | 18 +- .../test/public/sampleTest.spec.ts | 23 - sdk/network/arm-network-rest/tsconfig.json | 18 +- .../arm-network-rest/tsconfig.samples.json | 10 + .../arm-network-rest/tsconfig.src.json | 3 + .../arm-network-rest/tsconfig.test.json | 6 + 63 files changed, 8570 insertions(+), 7903 deletions(-) create mode 100644 sdk/network/arm-network-rest/src/logger.ts delete mode 100644 sdk/network/arm-network-rest/test/public/sampleTest.spec.ts create mode 100644 sdk/network/arm-network-rest/tsconfig.samples.json create mode 100644 sdk/network/arm-network-rest/tsconfig.src.json create mode 100644 sdk/network/arm-network-rest/tsconfig.test.json diff --git a/sdk/network/arm-network-rest/api-extractor.json b/sdk/network/arm-network-rest/api-extractor.json index e51b37f4e653..0794de73deb3 100644 --- a/sdk/network/arm-network-rest/api-extractor.json +++ b/sdk/network/arm-network-rest/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./types/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "dist/esm/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/arm-network.d.ts" + "publicTrimmedFilePath": "dist/arm-network.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } } diff --git a/sdk/network/arm-network-rest/karma.conf.js b/sdk/network/arm-network-rest/karma.conf.js index 51f7527ce766..4fdf26c79ac0 100644 --- a/sdk/network/arm-network-rest/karma.conf.js +++ b/sdk/network/arm-network-rest/karma.conf.js @@ -52,13 +52,13 @@ module.exports = function (config) { }, envPreprocessor: [ - "RECORDINGS_RELATIVE_PATH", "TEST_MODE", "ENDPOINT", "AZURE_CLIENT_SECRET", "AZURE_CLIENT_ID", "AZURE_TENANT_ID", "SUBSCRIPTION_ID", + "RECORDINGS_RELATIVE_PATH", ], // test results reporter to use @@ -102,7 +102,7 @@ module.exports = function (config) { // --no-sandbox allows our tests to run in Linux without having to change the system. // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["Firefox"], + browsers: ["ChromeHeadlessNoSandbox"], customLaunchers: { ChromeHeadlessNoSandbox: { base: "ChromeHeadless", diff --git a/sdk/network/arm-network-rest/package.json b/sdk/network/arm-network-rest/package.json index 5fdb4ebdb3a6..426db4770844 100644 --- a/sdk/network/arm-network-rest/package.json +++ b/sdk/network/arm-network-rest/package.json @@ -22,22 +22,19 @@ }, "files": [ "dist/", - "dist-esm/src/", - "types/arm-network.d.ts", "README.md", - "LICENSE", - "review/*" + "LICENSE" ], "engines": { "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:node": "tsc -p . && dev-tool run bundle --browser-test false", + "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build:browser": "dev-tool run build-package && dev-tool run bundle", + "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", + "build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false", "build:samples": "echo skipped.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "dev-tool run build-package && dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", @@ -54,49 +51,37 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^2.2.0", - "@azure/core-paging": "^1.2.0", + "@azure/core-lro": "^3.1.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.1.0", + "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-istanbul": "^2.1.8", "autorest": "latest", - "chai": "^4.2.0", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "~1.4.0", - "karma-sourcemap-loader": "^0.3.8", - "mocha": "^11.0.2", - "nyc": "^17.0.0", - "source-map-support": "^0.5.9", - "ts-node": "^10.0.0", - "typescript": "~5.7.2" + "playwright": "^1.49.1", + "typescript": "~5.7.2", + "vitest": "^2.1.8" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network-rest/README.md", "//metadata": { @@ -107,9 +92,7 @@ } ] }, - "browser": { - "./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js" - }, + "browser": "./dist/browser/index.js", "//sampleConfiguration": { "productName": "", "productSlugs": [ @@ -117,5 +100,23 @@ ], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview" - } + }, + "type": "module", + "tshy": { + "project": "./tsconfig.src.json", + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "react-native": "./dist/react-native/index.js" } diff --git a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsDeleteSample.ts index 75e522393fd1..4a082c15d0b9 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsDeleteSample.ts @@ -39,7 +39,7 @@ async function deletesAnAdminRuleCollection() { ruleCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/adminRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRulesDeleteSample.ts index defb87fbe391..82b8c551622d 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRulesDeleteSample.ts @@ -41,7 +41,7 @@ async function deletesAnAdminRule() { ruleName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts index 7ab0da17bad6..9c7f594f7087 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts @@ -37,7 +37,7 @@ async function deleteApplicationGatewayPrivateEndpointConnection() { connectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts index 1415af1e1ff6..5cc80d78b681 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts @@ -49,7 +49,7 @@ async function updateApplicationGatewayPrivateEndpointConnection() { connectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthOnDemandSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthOnDemandSample.ts index 457083d73b2e..61261405b8c4 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthOnDemandSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthOnDemandSample.ts @@ -47,7 +47,7 @@ async function testBackendHealth() { applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthSample.ts index fa2e14ce7e45..efeb96ea1ffb 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthSample.ts @@ -35,7 +35,7 @@ async function getBackendHealth() { applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysCreateOrUpdateSample.ts index 62c96e488ec2..c305013b6aff 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysCreateOrUpdateSample.ts @@ -306,7 +306,7 @@ async function createApplicationGateway() { applicationGatewayName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysDeleteSample.ts index b3165600c150..b72361c6714c 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteApplicationGateway() { applicationGatewayName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStartSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStartSample.ts index d944a091fa1e..38e04b165667 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStartSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStartSample.ts @@ -35,7 +35,7 @@ async function startApplicationGateway() { applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStopSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStopSample.ts index 8abbc580fdd1..07bd2142f67a 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStopSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStopSample.ts @@ -35,7 +35,7 @@ async function stopApplicationGateway() { applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsCreateOrUpdateSample.ts index 319432251311..82ee69dc264d 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsCreateOrUpdateSample.ts @@ -36,7 +36,7 @@ async function createApplicationSecurityGroup() { applicationSecurityGroupName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsDeleteSample.ts index cfcf16703aeb..18ac8b591751 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteApplicationSecurityGroup() { applicationSecurityGroupName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsCreateOrUpdateSample.ts index 752125c03c04..e3e48b504d49 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsCreateOrUpdateSample.ts @@ -133,7 +133,7 @@ async function createAzureFirewall() { azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -262,7 +262,7 @@ async function createAzureFirewallWithAdditionalProperties() { azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -389,7 +389,7 @@ async function createAzureFirewallWithIPGroups() { azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -516,7 +516,7 @@ async function createAzureFirewallWithZones() { azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -654,7 +654,7 @@ async function createAzureFirewallWithManagementSubnet() { azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -699,7 +699,7 @@ async function createAzureFirewallInVirtualHub() { azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsDeleteSample.ts index 49a42ff5a7b5..675ed82fecd5 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteAzureFirewall() { azureFirewallName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsListLearnedPrefixesSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsListLearnedPrefixesSample.ts index 5cf4e16723d7..921a16ab3dc7 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsListLearnedPrefixesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsListLearnedPrefixesSample.ts @@ -35,7 +35,7 @@ async function azureFirewallListLearnedPrefixes() { azureFirewallName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsUpdateTagsSample.ts index 0bf1ba0b1bc3..5c055c03a062 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsUpdateTagsSample.ts @@ -36,7 +36,7 @@ async function updateAzureFirewallTags() { azureFirewallName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsCreateOrUpdateSample.ts index 9ae9db6c5fa2..c9e68225f68c 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsCreateOrUpdateSample.ts @@ -52,7 +52,7 @@ async function createBastionHost() { bastionHostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsDeleteSample.ts index e42c8818dd6b..4665fae0f2d7 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteBastionHost() { bastionHostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsUpdateTagsSample.ts index 55423f056784..b4355202b3dc 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsUpdateTagsSample.ts @@ -36,7 +36,7 @@ async function patchBastionHost() { bastionHostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsCreateOrUpdateSample.ts index 4892b4c3d792..0f1b806e0a3d 100644 --- a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsCreateOrUpdateSample.ts @@ -55,7 +55,7 @@ async function configurationPolicyGroupPut() { configurationPolicyGroupName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsDeleteSample.ts index ad749a938aeb..8531526e741b 100644 --- a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsDeleteSample.ts @@ -37,7 +37,7 @@ async function configurationPolicyGroupDelete() { configurationPolicyGroupName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsCreateOrUpdateSample.ts index e74e684605cc..f1e00d892478 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsCreateOrUpdateSample.ts @@ -66,7 +66,7 @@ async function createConnectionMonitorV1() { connectionMonitorName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -137,7 +137,7 @@ async function createConnectionMonitorV2() { connectionMonitorName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsDeleteSample.ts index 6dc66d105707..2ce6fb3c9862 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsDeleteSample.ts @@ -37,7 +37,7 @@ async function deleteConnectionMonitor() { connectionMonitorName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsQuerySample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsQuerySample.ts index b394dab11bd5..6008ea5f3c87 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsQuerySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsQuerySample.ts @@ -37,7 +37,7 @@ async function queryConnectionMonitor() { connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStartSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStartSample.ts index 2624e06d113e..29c597e971f6 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStartSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStartSample.ts @@ -37,7 +37,7 @@ async function startConnectionMonitor() { connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStopSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStopSample.ts index 76125f4daeae..1295fb82587c 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStopSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStopSample.ts @@ -37,7 +37,7 @@ async function stopConnectionMonitor() { connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsDeleteSample.ts index 687e1fcc9ec9..2217abefd0b8 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsDeleteSample.ts @@ -37,7 +37,7 @@ async function connectivityConfigurationsDelete() { configurationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesCreateOrUpdateSample.ts index 6de4cf03db59..9da4f54ff853 100644 --- a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesCreateOrUpdateSample.ts @@ -36,7 +36,7 @@ async function createCustomIPPrefixAllocationMethod() { customIpPrefixName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesDeleteSample.ts index b143c595050a..433f0a3f24f1 100644 --- a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteCustomIPPrefix() { customIpPrefixName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesCreateOrUpdateSample.ts index c17663395976..ac464a765033 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesCreateOrUpdateSample.ts @@ -36,7 +36,7 @@ async function createDDoSCustomPolicy() { ddosCustomPolicyName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesDeleteSample.ts index a6fd3ce3dba9..1cfeca9fdf1a 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteDDoSCustomPolicy() { ddosCustomPolicyName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansCreateOrUpdateSample.ts index 9dbab031e950..b254a1ec8186 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansCreateOrUpdateSample.ts @@ -36,7 +36,7 @@ async function createDDoSProtectionPlan() { ddosProtectionPlanName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansDeleteSample.ts index 8443abf1ac0f..b14139d2ac56 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteDDoSProtectionPlan() { ddosProtectionPlanName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/deleteBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples-dev/deleteBastionShareableLinkSample.ts index ae34a14049d9..9d2d1718755d 100644 --- a/sdk/network/arm-network-rest/samples-dev/deleteBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/deleteBastionShareableLinkSample.ts @@ -49,7 +49,7 @@ async function deleteBastionShareableLinksForTheRequestVMS() { bastionHostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationCreateOrUpdateSample.ts index 7434bcb7a898..3060b24b9f2c 100644 --- a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationCreateOrUpdateSample.ts @@ -61,7 +61,7 @@ async function createDscpConfiguration() { dscpConfigurationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationDeleteSample.ts index f4e2c6c1bda7..ba924e2fe566 100644 --- a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationDeleteSample.ts @@ -35,7 +35,7 @@ async function deleteDscpConfiguration() { dscpConfigurationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts index 79792f27c8e1..efff8345fe28 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts @@ -38,7 +38,7 @@ async function createExpressRouteCircuitAuthorization() { authorizationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsDeleteSample.ts index e93dd1a089ae..404d89da7a97 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsDeleteSample.ts @@ -37,7 +37,7 @@ async function deleteExpressRouteCircuitAuthorization() { authorizationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsCreateOrUpdateSample.ts index 15bd20629d1d..7977bc42f74d 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsCreateOrUpdateSample.ts @@ -52,7 +52,7 @@ async function expressRouteCircuitConnectionCreate() { connectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsDeleteSample.ts index 486896ca6002..64b2fa0a2ae0 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsDeleteSample.ts @@ -39,7 +39,7 @@ async function deleteExpressRouteCircuit() { connectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsCreateOrUpdateSample.ts index 80d2527500bf..8ce9bd846738 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsCreateOrUpdateSample.ts @@ -45,7 +45,7 @@ async function createExpressRouteCircuitPeerings() { peeringName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsDeleteSample.ts index df0aed4dec76..0c28d372b6c6 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsDeleteSample.ts @@ -37,7 +37,7 @@ async function deleteExpressRouteCircuitPeerings() { peeringName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsCreateOrUpdateSample.ts index 8df2e2acdf03..bc2e3e4c6793 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsCreateOrUpdateSample.ts @@ -53,7 +53,7 @@ async function createExpressRouteCircuit() { circuitName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -97,7 +97,7 @@ async function createExpressRouteCircuitOnExpressRoutePort() { circuitName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/src/clientDefinitions.ts b/sdk/network/arm-network-rest/src/clientDefinitions.ts index 3a5bead5027c..9bef545b2462 100644 --- a/sdk/network/arm-network-rest/src/clientDefinitions.ts +++ b/sdk/network/arm-network-rest/src/clientDefinitions.ts @@ -1,865 +1,882 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { - AdminRuleCollectionsCreateOrUpdateParameters, - AdminRuleCollectionsDeleteParameters, - AdminRuleCollectionsGetParameters, - AdminRuleCollectionsListParameters, - AdminRulesCreateOrUpdateParameters, - AdminRulesDeleteParameters, - AdminRulesGetParameters, - AdminRulesListParameters, - ApplicationGatewayPrivateEndpointConnectionsDeleteParameters, - ApplicationGatewayPrivateEndpointConnectionsGetParameters, - ApplicationGatewayPrivateEndpointConnectionsListParameters, - ApplicationGatewayPrivateEndpointConnectionsUpdateParameters, - ApplicationGatewayPrivateLinkResourcesListParameters, - ApplicationGatewayWafDynamicManifestsDefaultGetParameters, - ApplicationGatewayWafDynamicManifestsGetParameters, - ApplicationGatewaysBackendHealthOnDemandParameters, - ApplicationGatewaysBackendHealthParameters, - ApplicationGatewaysCreateOrUpdateParameters, +import { ApplicationGatewaysDeleteParameters, ApplicationGatewaysGetParameters, - ApplicationGatewaysGetSslPredefinedPolicyParameters, + ApplicationGatewaysCreateOrUpdateParameters, + ApplicationGatewaysUpdateTagsParameters, + ApplicationGatewaysListParameters, ApplicationGatewaysListAllParameters, + ApplicationGatewaysStartParameters, + ApplicationGatewaysStopParameters, + ApplicationGatewaysBackendHealthParameters, + ApplicationGatewaysBackendHealthOnDemandParameters, + ApplicationGatewaysListAvailableServerVariablesParameters, ApplicationGatewaysListAvailableRequestHeadersParameters, ApplicationGatewaysListAvailableResponseHeadersParameters, - ApplicationGatewaysListAvailableServerVariablesParameters, + ApplicationGatewaysListAvailableWafRuleSetsParameters, ApplicationGatewaysListAvailableSslOptionsParameters, ApplicationGatewaysListAvailableSslPredefinedPoliciesParameters, - ApplicationGatewaysListAvailableWafRuleSetsParameters, - ApplicationGatewaysListParameters, - ApplicationGatewaysStartParameters, - ApplicationGatewaysStopParameters, - ApplicationGatewaysUpdateTagsParameters, - ApplicationSecurityGroupsCreateOrUpdateParameters, + ApplicationGatewaysGetSslPredefinedPolicyParameters, + ApplicationGatewayPrivateLinkResourcesListParameters, + ApplicationGatewayPrivateEndpointConnectionsDeleteParameters, + ApplicationGatewayPrivateEndpointConnectionsUpdateParameters, + ApplicationGatewayPrivateEndpointConnectionsGetParameters, + ApplicationGatewayPrivateEndpointConnectionsListParameters, + ApplicationGatewayWafDynamicManifestsDefaultGetParameters, + ApplicationGatewayWafDynamicManifestsGetParameters, ApplicationSecurityGroupsDeleteParameters, ApplicationSecurityGroupsGetParameters, + ApplicationSecurityGroupsCreateOrUpdateParameters, + ApplicationSecurityGroupsUpdateTagsParameters, ApplicationSecurityGroupsListAllParameters, ApplicationSecurityGroupsListParameters, - ApplicationSecurityGroupsUpdateTagsParameters, AvailableDelegationsListParameters, - AvailableEndpointServicesListParameters, - AvailablePrivateEndpointTypesListByResourceGroupParameters, - AvailablePrivateEndpointTypesListParameters, AvailableResourceGroupDelegationsListParameters, - AvailableServiceAliasesListByResourceGroupParameters, AvailableServiceAliasesListParameters, - AzureFirewallFqdnTagsListAllParameters, - AzureFirewallsCreateOrUpdateParameters, + AvailableServiceAliasesListByResourceGroupParameters, AzureFirewallsDeleteParameters, AzureFirewallsGetParameters, + AzureFirewallsCreateOrUpdateParameters, + AzureFirewallsUpdateTagsParameters, + AzureFirewallsListParameters, AzureFirewallsListAllParameters, AzureFirewallsListLearnedPrefixesParameters, - AzureFirewallsListParameters, - AzureFirewallsUpdateTagsParameters, - BastionHostsCreateOrUpdateParameters, + AzureFirewallFqdnTagsListAllParameters, + WebCategoriesGetParameters, + WebCategoriesListBySubscriptionParameters, BastionHostsDeleteParameters, BastionHostsGetParameters, - BastionHostsListByResourceGroupParameters, - BastionHostsListParameters, + BastionHostsCreateOrUpdateParameters, BastionHostsUpdateTagsParameters, - BgpServiceCommunitiesListParameters, + BastionHostsListParameters, + BastionHostsListByResourceGroupParameters, + PutBastionShareableLinkParameters, + DeleteBastionShareableLinkParameters, + GetBastionShareableLinkParameters, + GetActiveSessionsParameters, + DisconnectActiveSessionsParameters, CheckDnsNameAvailabilityParameters, - ConfigurationPolicyGroupsCreateOrUpdateParameters, - ConfigurationPolicyGroupsDeleteParameters, - ConfigurationPolicyGroupsGetParameters, - ConfigurationPolicyGroupsListByVpnServerConfigurationParameters, - ConnectionMonitorsCreateOrUpdateParameters, - ConnectionMonitorsDeleteParameters, - ConnectionMonitorsGetParameters, - ConnectionMonitorsListParameters, - ConnectionMonitorsQueryParameters, - ConnectionMonitorsStartParameters, - ConnectionMonitorsStopParameters, - ConnectionMonitorsUpdateTagsParameters, - ConnectivityConfigurationsCreateOrUpdateParameters, - ConnectivityConfigurationsDeleteParameters, - ConnectivityConfigurationsGetParameters, - ConnectivityConfigurationsListParameters, - CustomIPPrefixesCreateOrUpdateParameters, + ExpressRouteProviderPortParameters, + ListActiveConnectivityConfigurationsParameters, + ListActiveSecurityAdminRulesParameters, + ListNetworkManagerEffectiveConnectivityConfigurationsParameters, + ListNetworkManagerEffectiveSecurityAdminRulesParameters, + SupportedSecurityProvidersParameters, + GeneratevirtualwanvpnserverconfigurationvpnprofileParameters, + NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesParameters, + NetworkInterfacesListCloudServiceNetworkInterfacesParameters, + NetworkInterfacesGetCloudServiceNetworkInterfaceParameters, + NetworkInterfacesDeleteParameters, + NetworkInterfacesGetParameters, + NetworkInterfacesCreateOrUpdateParameters, + NetworkInterfacesUpdateTagsParameters, + NetworkInterfacesListAllParameters, + NetworkInterfacesListParameters, + NetworkInterfacesGetEffectiveRouteTableParameters, + NetworkInterfacesListEffectiveNetworkSecurityGroupsParameters, + NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesParameters, + NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesParameters, + NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters, + NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsParameters, + NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters, + PublicIPAddressesListCloudServicePublicIPAddressesParameters, + PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesParameters, + PublicIPAddressesGetCloudServicePublicIPAddressParameters, + PublicIPAddressesDeleteParameters, + PublicIPAddressesGetParameters, + PublicIPAddressesCreateOrUpdateParameters, + PublicIPAddressesUpdateTagsParameters, + PublicIPAddressesListAllParameters, + PublicIPAddressesListParameters, + PublicIPAddressesDdosProtectionStatusParameters, + PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesParameters, + PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesParameters, + PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters, CustomIPPrefixesDeleteParameters, CustomIPPrefixesGetParameters, + CustomIPPrefixesCreateOrUpdateParameters, + CustomIPPrefixesUpdateTagsParameters, CustomIPPrefixesListAllParameters, CustomIPPrefixesListParameters, - CustomIPPrefixesUpdateTagsParameters, - DdosCustomPoliciesCreateOrUpdateParameters, DdosCustomPoliciesDeleteParameters, DdosCustomPoliciesGetParameters, + DdosCustomPoliciesCreateOrUpdateParameters, DdosCustomPoliciesUpdateTagsParameters, - DdosProtectionPlansCreateOrUpdateParameters, DdosProtectionPlansDeleteParameters, DdosProtectionPlansGetParameters, - DdosProtectionPlansListByResourceGroupParameters, - DdosProtectionPlansListParameters, + DdosProtectionPlansCreateOrUpdateParameters, DdosProtectionPlansUpdateTagsParameters, - DefaultSecurityRulesGetParameters, - DefaultSecurityRulesListParameters, - DeleteBastionShareableLinkParameters, - DisconnectActiveSessionsParameters, + DdosProtectionPlansListParameters, + DdosProtectionPlansListByResourceGroupParameters, DscpConfigurationCreateOrUpdateParameters, DscpConfigurationDeleteParameters, DscpConfigurationGetParameters, - DscpConfigurationListAllParameters, DscpConfigurationListParameters, - ExpressRouteCircuitAuthorizationsCreateOrUpdateParameters, + DscpConfigurationListAllParameters, + AvailableEndpointServicesListParameters, ExpressRouteCircuitAuthorizationsDeleteParameters, ExpressRouteCircuitAuthorizationsGetParameters, + ExpressRouteCircuitAuthorizationsCreateOrUpdateParameters, ExpressRouteCircuitAuthorizationsListParameters, - ExpressRouteCircuitConnectionsCreateOrUpdateParameters, - ExpressRouteCircuitConnectionsDeleteParameters, - ExpressRouteCircuitConnectionsGetParameters, - ExpressRouteCircuitConnectionsListParameters, - ExpressRouteCircuitPeeringsCreateOrUpdateParameters, ExpressRouteCircuitPeeringsDeleteParameters, ExpressRouteCircuitPeeringsGetParameters, + ExpressRouteCircuitPeeringsCreateOrUpdateParameters, ExpressRouteCircuitPeeringsListParameters, - ExpressRouteCircuitsCreateOrUpdateParameters, + ExpressRouteCircuitConnectionsDeleteParameters, + ExpressRouteCircuitConnectionsGetParameters, + ExpressRouteCircuitConnectionsCreateOrUpdateParameters, + ExpressRouteCircuitConnectionsListParameters, + PeerExpressRouteCircuitConnectionsGetParameters, + PeerExpressRouteCircuitConnectionsListParameters, ExpressRouteCircuitsDeleteParameters, ExpressRouteCircuitsGetParameters, - ExpressRouteCircuitsGetPeeringStatsParameters, - ExpressRouteCircuitsGetStatsParameters, - ExpressRouteCircuitsListAllParameters, + ExpressRouteCircuitsCreateOrUpdateParameters, + ExpressRouteCircuitsUpdateTagsParameters, ExpressRouteCircuitsListArpTableParameters, - ExpressRouteCircuitsListParameters, ExpressRouteCircuitsListRoutesTableParameters, ExpressRouteCircuitsListRoutesTableSummaryParameters, - ExpressRouteCircuitsUpdateTagsParameters, - ExpressRouteConnectionsCreateOrUpdateParameters, - ExpressRouteConnectionsDeleteParameters, - ExpressRouteConnectionsGetParameters, - ExpressRouteConnectionsListParameters, - ExpressRouteCrossConnectionPeeringsCreateOrUpdateParameters, - ExpressRouteCrossConnectionPeeringsDeleteParameters, - ExpressRouteCrossConnectionPeeringsGetParameters, - ExpressRouteCrossConnectionPeeringsListParameters, - ExpressRouteCrossConnectionsCreateOrUpdateParameters, + ExpressRouteCircuitsGetStatsParameters, + ExpressRouteCircuitsGetPeeringStatsParameters, + ExpressRouteCircuitsListParameters, + ExpressRouteCircuitsListAllParameters, + ExpressRouteServiceProvidersListParameters, + ExpressRouteCrossConnectionsListParameters, + ExpressRouteCrossConnectionsListByResourceGroupParameters, ExpressRouteCrossConnectionsGetParameters, + ExpressRouteCrossConnectionsCreateOrUpdateParameters, + ExpressRouteCrossConnectionsUpdateTagsParameters, ExpressRouteCrossConnectionsListArpTableParameters, - ExpressRouteCrossConnectionsListByResourceGroupParameters, - ExpressRouteCrossConnectionsListParameters, - ExpressRouteCrossConnectionsListRoutesTableParameters, ExpressRouteCrossConnectionsListRoutesTableSummaryParameters, - ExpressRouteCrossConnectionsUpdateTagsParameters, - ExpressRouteGatewaysCreateOrUpdateParameters, - ExpressRouteGatewaysDeleteParameters, - ExpressRouteGatewaysGetParameters, - ExpressRouteGatewaysListByResourceGroupParameters, - ExpressRouteGatewaysListBySubscriptionParameters, - ExpressRouteGatewaysUpdateTagsParameters, + ExpressRouteCrossConnectionsListRoutesTableParameters, + ExpressRouteCrossConnectionPeeringsListParameters, + ExpressRouteCrossConnectionPeeringsDeleteParameters, + ExpressRouteCrossConnectionPeeringsGetParameters, + ExpressRouteCrossConnectionPeeringsCreateOrUpdateParameters, + ExpressRoutePortsLocationsListParameters, + ExpressRoutePortsLocationsGetParameters, + ExpressRoutePortsDeleteParameters, + ExpressRoutePortsGetParameters, + ExpressRoutePortsCreateOrUpdateParameters, + ExpressRoutePortsUpdateTagsParameters, + ExpressRoutePortsListByResourceGroupParameters, + ExpressRoutePortsListParameters, + ExpressRoutePortsGenerateLOAParameters, ExpressRouteLinksGetParameters, ExpressRouteLinksListParameters, - ExpressRoutePortAuthorizationsCreateOrUpdateParameters, ExpressRoutePortAuthorizationsDeleteParameters, ExpressRoutePortAuthorizationsGetParameters, + ExpressRoutePortAuthorizationsCreateOrUpdateParameters, ExpressRoutePortAuthorizationsListParameters, - ExpressRoutePortsCreateOrUpdateParameters, - ExpressRoutePortsDeleteParameters, - ExpressRoutePortsGenerateLOAParameters, - ExpressRoutePortsGetParameters, - ExpressRoutePortsListByResourceGroupParameters, - ExpressRoutePortsListParameters, - ExpressRoutePortsLocationsGetParameters, - ExpressRoutePortsLocationsListParameters, - ExpressRoutePortsUpdateTagsParameters, - ExpressRouteProviderPortsGetParameters, ExpressRouteProviderPortsLocationListParameters, - ExpressRouteServiceProvidersListParameters, - FirewallPoliciesCreateOrUpdateParameters, FirewallPoliciesDeleteParameters, FirewallPoliciesGetParameters, - FirewallPoliciesListAllParameters, - FirewallPoliciesListParameters, + FirewallPoliciesCreateOrUpdateParameters, FirewallPoliciesUpdateTagsParameters, - FirewallPolicyIdpsSignaturesFilterValuesListParameters, - FirewallPolicyIdpsSignaturesListParameters, - FirewallPolicyIdpsSignaturesOverridesGetParameters, - FirewallPolicyIdpsSignaturesOverridesListParameters, - FirewallPolicyIdpsSignaturesOverridesPatchParameters, - FirewallPolicyIdpsSignaturesOverridesPutParameters, - FirewallPolicyRuleCollectionGroupsCreateOrUpdateParameters, + FirewallPoliciesListParameters, + FirewallPoliciesListAllParameters, FirewallPolicyRuleCollectionGroupsDeleteParameters, FirewallPolicyRuleCollectionGroupsGetParameters, + FirewallPolicyRuleCollectionGroupsCreateOrUpdateParameters, FirewallPolicyRuleCollectionGroupsListParameters, - FlowLogsCreateOrUpdateParameters, - FlowLogsDeleteParameters, - FlowLogsGetParameters, - FlowLogsListParameters, - FlowLogsUpdateTagsParameters, - GeneratevirtualwanvpnserverconfigurationvpnprofileParameters, - GetActiveSessionsParameters, - GetBastionShareableLinkParameters, - HubRouteTablesCreateOrUpdateParameters, - HubRouteTablesDeleteParameters, - HubRouteTablesGetParameters, - HubRouteTablesListParameters, - HubVirtualNetworkConnectionsCreateOrUpdateParameters, - HubVirtualNetworkConnectionsDeleteParameters, - HubVirtualNetworkConnectionsGetParameters, - HubVirtualNetworkConnectionsListParameters, - InboundNatRulesCreateOrUpdateParameters, - InboundNatRulesDeleteParameters, - InboundNatRulesGetParameters, - InboundNatRulesListParameters, - InboundSecurityRuleCreateOrUpdateParameters, - IpAllocationsCreateOrUpdateParameters, - IpAllocationsDeleteParameters, + FirewallPolicyIdpsSignaturesListParameters, + FirewallPolicyIdpsSignaturesOverridesPatchParameters, + FirewallPolicyIdpsSignaturesOverridesPutParameters, + FirewallPolicyIdpsSignaturesOverridesGetParameters, + FirewallPolicyIdpsSignaturesOverridesListParameters, + FirewallPolicyIdpsSignaturesFilterValuesListParameters, + IpAllocationsDeleteParameters, IpAllocationsGetParameters, - IpAllocationsListByResourceGroupParameters, - IpAllocationsListParameters, + IpAllocationsCreateOrUpdateParameters, IpAllocationsUpdateTagsParameters, + IpAllocationsListParameters, + IpAllocationsListByResourceGroupParameters, + IpGroupsGetParameters, IpGroupsCreateOrUpdateParameters, + IpGroupsUpdateGroupsParameters, IpGroupsDeleteParameters, - IpGroupsGetParameters, IpGroupsListByResourceGroupParameters, IpGroupsListParameters, - IpGroupsUpdateGroupsParameters, - ListActiveConnectivityConfigurationsParameters, - ListActiveSecurityAdminRulesParameters, - ListNetworkManagerEffectiveConnectivityConfigurationsParameters, - ListNetworkManagerEffectiveSecurityAdminRulesParameters, + LoadBalancersDeleteParameters, + LoadBalancersGetParameters, + LoadBalancersCreateOrUpdateParameters, + LoadBalancersUpdateTagsParameters, + LoadBalancersListAllParameters, + LoadBalancersListParameters, + LoadBalancersSwapPublicIpAddressesParameters, + LoadBalancersListInboundNatRulePortMappingsParameters, + LoadBalancerBackendAddressPoolsListParameters, + LoadBalancerBackendAddressPoolsGetParameters, LoadBalancerBackendAddressPoolsCreateOrUpdateParameters, LoadBalancerBackendAddressPoolsDeleteParameters, - LoadBalancerBackendAddressPoolsGetParameters, - LoadBalancerBackendAddressPoolsListParameters, - LoadBalancerFrontendIPConfigurationsGetParameters, LoadBalancerFrontendIPConfigurationsListParameters, - LoadBalancerLoadBalancingRulesGetParameters, + LoadBalancerFrontendIPConfigurationsGetParameters, + InboundNatRulesListParameters, + InboundNatRulesDeleteParameters, + InboundNatRulesGetParameters, + InboundNatRulesCreateOrUpdateParameters, LoadBalancerLoadBalancingRulesListParameters, - LoadBalancerNetworkInterfacesListParameters, - LoadBalancerOutboundRulesGetParameters, + LoadBalancerLoadBalancingRulesGetParameters, LoadBalancerOutboundRulesListParameters, - LoadBalancerProbesGetParameters, + LoadBalancerOutboundRulesGetParameters, + LoadBalancerNetworkInterfacesListParameters, LoadBalancerProbesListParameters, - LoadBalancersCreateOrUpdateParameters, - LoadBalancersDeleteParameters, - LoadBalancersGetParameters, - LoadBalancersListAllParameters, - LoadBalancersListInboundNatRulePortMappingsParameters, - LoadBalancersListParameters, - LoadBalancersSwapPublicIpAddressesParameters, - LoadBalancersUpdateTagsParameters, - LocalNetworkGatewaysCreateOrUpdateParameters, - LocalNetworkGatewaysDeleteParameters, - LocalNetworkGatewaysGetParameters, - LocalNetworkGatewaysListParameters, - LocalNetworkGatewaysUpdateTagsParameters, - ManagementGroupNetworkManagerConnectionsCreateOrUpdateParameters, - ManagementGroupNetworkManagerConnectionsDeleteParameters, - ManagementGroupNetworkManagerConnectionsGetParameters, - ManagementGroupNetworkManagerConnectionsListParameters, - NatGatewaysCreateOrUpdateParameters, + LoadBalancerProbesGetParameters, NatGatewaysDeleteParameters, NatGatewaysGetParameters, + NatGatewaysCreateOrUpdateParameters, + NatGatewaysUpdateTagsParameters, NatGatewaysListAllParameters, NatGatewaysListParameters, - NatGatewaysUpdateTagsParameters, - NatRulesCreateOrUpdateParameters, - NatRulesDeleteParameters, - NatRulesGetParameters, - NatRulesListByVpnGatewayParameters, - NetworkGroupsCreateOrUpdateParameters, - NetworkGroupsDeleteParameters, - NetworkGroupsGetParameters, - NetworkGroupsListParameters, - NetworkInterfaceIPConfigurationsGetParameters, NetworkInterfaceIPConfigurationsListParameters, + NetworkInterfaceIPConfigurationsGetParameters, NetworkInterfaceLoadBalancersListParameters, - NetworkInterfaceTapConfigurationsCreateOrUpdateParameters, NetworkInterfaceTapConfigurationsDeleteParameters, NetworkInterfaceTapConfigurationsGetParameters, + NetworkInterfaceTapConfigurationsCreateOrUpdateParameters, NetworkInterfaceTapConfigurationsListParameters, - NetworkInterfacesCreateOrUpdateParameters, - NetworkInterfacesDeleteParameters, - NetworkInterfacesGetCloudServiceNetworkInterfaceParameters, - NetworkInterfacesGetEffectiveRouteTableParameters, - NetworkInterfacesGetParameters, - NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters, - NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters, - NetworkInterfacesListAllParameters, - NetworkInterfacesListCloudServiceNetworkInterfacesParameters, - NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesParameters, - NetworkInterfacesListEffectiveNetworkSecurityGroupsParameters, - NetworkInterfacesListParameters, - NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsParameters, - NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesParameters, - NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesParameters, - NetworkInterfacesUpdateTagsParameters, - NetworkManagerCommitsPostParameters, - NetworkManagerDeploymentStatusListParameters, + NetworkManagersGetParameters, NetworkManagersCreateOrUpdateParameters, NetworkManagersDeleteParameters, - NetworkManagersGetParameters, + NetworkManagersPatchParameters, NetworkManagersListBySubscriptionParameters, NetworkManagersListParameters, - NetworkManagersPatchParameters, - NetworkProfilesCreateOrUpdateParameters, + NetworkManagerCommitsPostParameters, + NetworkManagerDeploymentStatusListParameters, + SubscriptionNetworkManagerConnectionsCreateOrUpdateParameters, + SubscriptionNetworkManagerConnectionsGetParameters, + SubscriptionNetworkManagerConnectionsDeleteParameters, + SubscriptionNetworkManagerConnectionsListParameters, + ManagementGroupNetworkManagerConnectionsCreateOrUpdateParameters, + ManagementGroupNetworkManagerConnectionsGetParameters, + ManagementGroupNetworkManagerConnectionsDeleteParameters, + ManagementGroupNetworkManagerConnectionsListParameters, + ConnectivityConfigurationsGetParameters, + ConnectivityConfigurationsCreateOrUpdateParameters, + ConnectivityConfigurationsDeleteParameters, + ConnectivityConfigurationsListParameters, + NetworkGroupsGetParameters, + NetworkGroupsCreateOrUpdateParameters, + NetworkGroupsDeleteParameters, + NetworkGroupsListParameters, + StaticMembersGetParameters, + StaticMembersCreateOrUpdateParameters, + StaticMembersDeleteParameters, + StaticMembersListParameters, + ScopeConnectionsCreateOrUpdateParameters, + ScopeConnectionsGetParameters, + ScopeConnectionsDeleteParameters, + ScopeConnectionsListParameters, + SecurityAdminConfigurationsListParameters, + SecurityAdminConfigurationsGetParameters, + SecurityAdminConfigurationsCreateOrUpdateParameters, + SecurityAdminConfigurationsDeleteParameters, + AdminRuleCollectionsListParameters, + AdminRuleCollectionsGetParameters, + AdminRuleCollectionsCreateOrUpdateParameters, + AdminRuleCollectionsDeleteParameters, + AdminRulesListParameters, + AdminRulesGetParameters, + AdminRulesCreateOrUpdateParameters, + AdminRulesDeleteParameters, NetworkProfilesDeleteParameters, NetworkProfilesGetParameters, + NetworkProfilesCreateOrUpdateParameters, + NetworkProfilesUpdateTagsParameters, NetworkProfilesListAllParameters, NetworkProfilesListParameters, - NetworkProfilesUpdateTagsParameters, - NetworkSecurityGroupsCreateOrUpdateParameters, NetworkSecurityGroupsDeleteParameters, NetworkSecurityGroupsGetParameters, + NetworkSecurityGroupsCreateOrUpdateParameters, + NetworkSecurityGroupsUpdateTagsParameters, NetworkSecurityGroupsListAllParameters, NetworkSecurityGroupsListParameters, - NetworkSecurityGroupsUpdateTagsParameters, - NetworkVirtualAppliancesCreateOrUpdateParameters, + SecurityRulesDeleteParameters, + SecurityRulesGetParameters, + SecurityRulesCreateOrUpdateParameters, + SecurityRulesListParameters, + DefaultSecurityRulesListParameters, + DefaultSecurityRulesGetParameters, NetworkVirtualAppliancesDeleteParameters, NetworkVirtualAppliancesGetParameters, + NetworkVirtualAppliancesUpdateTagsParameters, + NetworkVirtualAppliancesCreateOrUpdateParameters, NetworkVirtualAppliancesListByResourceGroupParameters, NetworkVirtualAppliancesListParameters, - NetworkVirtualAppliancesUpdateTagsParameters, - NetworkWatchersCheckConnectivityParameters, + VirtualApplianceSitesDeleteParameters, + VirtualApplianceSitesGetParameters, + VirtualApplianceSitesCreateOrUpdateParameters, + VirtualApplianceSitesListParameters, + VirtualApplianceSkusListParameters, + VirtualApplianceSkusGetParameters, + InboundSecurityRuleCreateOrUpdateParameters, NetworkWatchersCreateOrUpdateParameters, - NetworkWatchersDeleteParameters, - NetworkWatchersGetAzureReachabilityReportParameters, - NetworkWatchersGetFlowLogStatusParameters, - NetworkWatchersGetNetworkConfigurationDiagnosticParameters, - NetworkWatchersGetNextHopParameters, NetworkWatchersGetParameters, + NetworkWatchersDeleteParameters, + NetworkWatchersUpdateTagsParameters, + NetworkWatchersListParameters, + NetworkWatchersListAllParameters, NetworkWatchersGetTopologyParameters, + NetworkWatchersVerifyIPFlowParameters, + NetworkWatchersGetNextHopParameters, + NetworkWatchersGetVMSecurityRulesParameters, NetworkWatchersGetTroubleshootingParameters, NetworkWatchersGetTroubleshootingResultParameters, - NetworkWatchersGetVMSecurityRulesParameters, - NetworkWatchersListAllParameters, - NetworkWatchersListAvailableProvidersParameters, - NetworkWatchersListParameters, NetworkWatchersSetFlowLogConfigurationParameters, - NetworkWatchersUpdateTagsParameters, - NetworkWatchersVerifyIPFlowParameters, - OperationsListParameters, - P2SVpnGatewaysCreateOrUpdateParameters, - P2SVpnGatewaysDeleteParameters, - P2SVpnGatewaysDisconnectP2SVpnConnectionsParameters, - P2SVpnGatewaysGenerateVpnProfileParameters, - P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedParameters, - P2SVpnGatewaysGetP2SVpnConnectionHealthParameters, - P2SVpnGatewaysGetParameters, - P2SVpnGatewaysListByResourceGroupParameters, - P2SVpnGatewaysListParameters, - P2SVpnGatewaysResetParameters, - P2SVpnGatewaysUpdateTagsParameters, + NetworkWatchersGetFlowLogStatusParameters, + NetworkWatchersCheckConnectivityParameters, + NetworkWatchersGetAzureReachabilityReportParameters, + NetworkWatchersListAvailableProvidersParameters, + NetworkWatchersGetNetworkConfigurationDiagnosticParameters, PacketCapturesCreateParameters, - PacketCapturesDeleteParameters, PacketCapturesGetParameters, + PacketCapturesDeleteParameters, + PacketCapturesStopParameters, PacketCapturesGetStatusParameters, PacketCapturesListParameters, - PacketCapturesStopParameters, - PeerExpressRouteCircuitConnectionsGetParameters, - PeerExpressRouteCircuitConnectionsListParameters, - PrivateDnsZoneGroupsCreateOrUpdateParameters, - PrivateDnsZoneGroupsDeleteParameters, - PrivateDnsZoneGroupsGetParameters, - PrivateDnsZoneGroupsListParameters, - PrivateEndpointsCreateOrUpdateParameters, + ConnectionMonitorsCreateOrUpdateParameters, + ConnectionMonitorsGetParameters, + ConnectionMonitorsDeleteParameters, + ConnectionMonitorsUpdateTagsParameters, + ConnectionMonitorsStopParameters, + ConnectionMonitorsStartParameters, + ConnectionMonitorsQueryParameters, + ConnectionMonitorsListParameters, + FlowLogsCreateOrUpdateParameters, + FlowLogsUpdateTagsParameters, + FlowLogsGetParameters, + FlowLogsDeleteParameters, + FlowLogsListParameters, + OperationsListParameters, PrivateEndpointsDeleteParameters, PrivateEndpointsGetParameters, - PrivateEndpointsListBySubscriptionParameters, + PrivateEndpointsCreateOrUpdateParameters, PrivateEndpointsListParameters, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupParameters, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityParameters, - PrivateLinkServicesCreateOrUpdateParameters, + PrivateEndpointsListBySubscriptionParameters, + AvailablePrivateEndpointTypesListParameters, + AvailablePrivateEndpointTypesListByResourceGroupParameters, + PrivateDnsZoneGroupsDeleteParameters, + PrivateDnsZoneGroupsGetParameters, + PrivateDnsZoneGroupsCreateOrUpdateParameters, + PrivateDnsZoneGroupsListParameters, PrivateLinkServicesDeleteParameters, - PrivateLinkServicesDeletePrivateEndpointConnectionParameters, PrivateLinkServicesGetParameters, - PrivateLinkServicesGetPrivateEndpointConnectionParameters, - PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupParameters, - PrivateLinkServicesListAutoApprovedPrivateLinkServicesParameters, - PrivateLinkServicesListBySubscriptionParameters, + PrivateLinkServicesCreateOrUpdateParameters, PrivateLinkServicesListParameters, - PrivateLinkServicesListPrivateEndpointConnectionsParameters, + PrivateLinkServicesListBySubscriptionParameters, + PrivateLinkServicesGetPrivateEndpointConnectionParameters, PrivateLinkServicesUpdatePrivateEndpointConnectionParameters, - PublicIPAddressesCreateOrUpdateParameters, - PublicIPAddressesDdosProtectionStatusParameters, - PublicIPAddressesDeleteParameters, - PublicIPAddressesGetCloudServicePublicIPAddressParameters, - PublicIPAddressesGetParameters, - PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters, - PublicIPAddressesListAllParameters, - PublicIPAddressesListCloudServicePublicIPAddressesParameters, - PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesParameters, - PublicIPAddressesListParameters, - PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesParameters, - PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesParameters, - PublicIPAddressesUpdateTagsParameters, - PublicIPPrefixesCreateOrUpdateParameters, + PrivateLinkServicesDeletePrivateEndpointConnectionParameters, + PrivateLinkServicesListPrivateEndpointConnectionsParameters, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityParameters, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupParameters, + PrivateLinkServicesListAutoApprovedPrivateLinkServicesParameters, + PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupParameters, PublicIPPrefixesDeleteParameters, PublicIPPrefixesGetParameters, + PublicIPPrefixesCreateOrUpdateParameters, + PublicIPPrefixesUpdateTagsParameters, PublicIPPrefixesListAllParameters, PublicIPPrefixesListParameters, - PublicIPPrefixesUpdateTagsParameters, - PutBastionShareableLinkParameters, - ResourceNavigationLinksListParameters, - RouteFilterRulesCreateOrUpdateParameters, - RouteFilterRulesDeleteParameters, - RouteFilterRulesGetParameters, - RouteFilterRulesListByRouteFilterParameters, - RouteFiltersCreateOrUpdateParameters, RouteFiltersDeleteParameters, RouteFiltersGetParameters, + RouteFiltersCreateOrUpdateParameters, + RouteFiltersUpdateTagsParameters, RouteFiltersListByResourceGroupParameters, RouteFiltersListParameters, - RouteFiltersUpdateTagsParameters, - RouteMapsCreateOrUpdateParameters, - RouteMapsDeleteParameters, - RouteMapsGetParameters, - RouteMapsListParameters, - RouteTablesCreateOrUpdateParameters, + RouteFilterRulesDeleteParameters, + RouteFilterRulesGetParameters, + RouteFilterRulesCreateOrUpdateParameters, + RouteFilterRulesListByRouteFilterParameters, RouteTablesDeleteParameters, RouteTablesGetParameters, - RouteTablesListAllParameters, - RouteTablesListParameters, + RouteTablesCreateOrUpdateParameters, RouteTablesUpdateTagsParameters, - RoutesCreateOrUpdateParameters, + RouteTablesListParameters, + RouteTablesListAllParameters, RoutesDeleteParameters, RoutesGetParameters, + RoutesCreateOrUpdateParameters, RoutesListParameters, - RoutingIntentCreateOrUpdateParameters, - RoutingIntentDeleteParameters, - RoutingIntentGetParameters, - RoutingIntentListParameters, - ScopeConnectionsCreateOrUpdateParameters, - ScopeConnectionsDeleteParameters, - ScopeConnectionsGetParameters, - ScopeConnectionsListParameters, - SecurityAdminConfigurationsCreateOrUpdateParameters, - SecurityAdminConfigurationsDeleteParameters, - SecurityAdminConfigurationsGetParameters, - SecurityAdminConfigurationsListParameters, - SecurityPartnerProvidersCreateOrUpdateParameters, SecurityPartnerProvidersDeleteParameters, SecurityPartnerProvidersGetParameters, + SecurityPartnerProvidersCreateOrUpdateParameters, + SecurityPartnerProvidersUpdateTagsParameters, SecurityPartnerProvidersListByResourceGroupParameters, SecurityPartnerProvidersListParameters, - SecurityPartnerProvidersUpdateTagsParameters, - SecurityRulesCreateOrUpdateParameters, - SecurityRulesDeleteParameters, - SecurityRulesGetParameters, - SecurityRulesListParameters, - ServiceAssociationLinksListParameters, - ServiceEndpointPoliciesCreateOrUpdateParameters, + BgpServiceCommunitiesListParameters, ServiceEndpointPoliciesDeleteParameters, ServiceEndpointPoliciesGetParameters, - ServiceEndpointPoliciesListByResourceGroupParameters, - ServiceEndpointPoliciesListParameters, + ServiceEndpointPoliciesCreateOrUpdateParameters, ServiceEndpointPoliciesUpdateTagsParameters, - ServiceEndpointPolicyDefinitionsCreateOrUpdateParameters, + ServiceEndpointPoliciesListParameters, + ServiceEndpointPoliciesListByResourceGroupParameters, ServiceEndpointPolicyDefinitionsDeleteParameters, ServiceEndpointPolicyDefinitionsGetParameters, + ServiceEndpointPolicyDefinitionsCreateOrUpdateParameters, ServiceEndpointPolicyDefinitionsListByResourceGroupParameters, - ServiceTagInformationListParameters, ServiceTagsListParameters, - StaticMembersCreateOrUpdateParameters, - StaticMembersDeleteParameters, - StaticMembersGetParameters, - StaticMembersListParameters, - SubnetsCreateOrUpdateParameters, + ServiceTagInformationListParameters, + UsagesListParameters, + VirtualNetworksDeleteParameters, + VirtualNetworksGetParameters, + VirtualNetworksCreateOrUpdateParameters, + VirtualNetworksUpdateTagsParameters, + VirtualNetworksListAllParameters, + VirtualNetworksListParameters, + VirtualNetworksCheckIPAddressAvailabilityParameters, + VirtualNetworksListUsageParameters, + VirtualNetworksListDdosProtectionStatusParameters, SubnetsDeleteParameters, SubnetsGetParameters, - SubnetsListParameters, + SubnetsCreateOrUpdateParameters, SubnetsPrepareNetworkPoliciesParameters, SubnetsUnprepareNetworkPoliciesParameters, - SubscriptionNetworkManagerConnectionsCreateOrUpdateParameters, - SubscriptionNetworkManagerConnectionsDeleteParameters, - SubscriptionNetworkManagerConnectionsGetParameters, - SubscriptionNetworkManagerConnectionsListParameters, - SupportedSecurityProvidersParameters, - UsagesListParameters, - VipSwapCreateParameters, - VipSwapGetParameters, - VipSwapListParameters, - VirtualApplianceSitesCreateOrUpdateParameters, - VirtualApplianceSitesDeleteParameters, - VirtualApplianceSitesGetParameters, - VirtualApplianceSitesListParameters, - VirtualApplianceSkusGetParameters, - VirtualApplianceSkusListParameters, - VirtualHubBgpConnectionCreateOrUpdateParameters, - VirtualHubBgpConnectionDeleteParameters, - VirtualHubBgpConnectionGetParameters, - VirtualHubBgpConnectionsListAdvertisedRoutesParameters, - VirtualHubBgpConnectionsListLearnedRoutesParameters, - VirtualHubBgpConnectionsListParameters, - VirtualHubIpConfigurationCreateOrUpdateParameters, - VirtualHubIpConfigurationDeleteParameters, - VirtualHubIpConfigurationGetParameters, - VirtualHubIpConfigurationListParameters, - VirtualHubRouteTableV2SCreateOrUpdateParameters, - VirtualHubRouteTableV2SDeleteParameters, - VirtualHubRouteTableV2SGetParameters, - VirtualHubRouteTableV2SListParameters, - VirtualHubsCreateOrUpdateParameters, - VirtualHubsDeleteParameters, - VirtualHubsGetEffectiveVirtualHubRoutesParameters, - VirtualHubsGetInboundRoutesParameters, - VirtualHubsGetOutboundRoutesParameters, - VirtualHubsGetParameters, - VirtualHubsListByResourceGroupParameters, - VirtualHubsListParameters, - VirtualHubsUpdateTagsParameters, + SubnetsListParameters, + ResourceNavigationLinksListParameters, + ServiceAssociationLinksListParameters, + VirtualNetworkPeeringsDeleteParameters, + VirtualNetworkPeeringsGetParameters, + VirtualNetworkPeeringsCreateOrUpdateParameters, + VirtualNetworkPeeringsListParameters, + VirtualNetworkGatewaysCreateOrUpdateParameters, + VirtualNetworkGatewaysGetParameters, + VirtualNetworkGatewaysDeleteParameters, + VirtualNetworkGatewaysUpdateTagsParameters, + VirtualNetworkGatewaysListParameters, + VirtualNetworkGatewaysListConnectionsParameters, + VirtualNetworkGatewaysResetParameters, + VirtualNetworkGatewaysResetVpnClientSharedKeyParameters, + VirtualNetworkGatewaysGeneratevpnclientpackageParameters, + VirtualNetworkGatewaysGenerateVpnProfileParameters, + VirtualNetworkGatewaysGetVpnProfilePackageUrlParameters, + VirtualNetworkGatewaysGetBgpPeerStatusParameters, + VirtualNetworkGatewaysSupportedVpnDevicesParameters, + VirtualNetworkGatewaysGetLearnedRoutesParameters, + VirtualNetworkGatewaysGetAdvertisedRoutesParameters, + VirtualNetworkGatewaysSetVpnclientIpsecParametersParameters, + VirtualNetworkGatewaysGetVpnclientIpsecParametersParameters, + VirtualNetworkGatewaysVpnDeviceConfigurationScriptParameters, + VirtualNetworkGatewaysStartPacketCaptureParameters, + VirtualNetworkGatewaysStopPacketCaptureParameters, + VirtualNetworkGatewaysGetVpnclientConnectionHealthParameters, + VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsParameters, VirtualNetworkGatewayConnectionsCreateOrUpdateParameters, - VirtualNetworkGatewayConnectionsDeleteParameters, - VirtualNetworkGatewayConnectionsGetIkeSasParameters, VirtualNetworkGatewayConnectionsGetParameters, + VirtualNetworkGatewayConnectionsDeleteParameters, + VirtualNetworkGatewayConnectionsUpdateTagsParameters, + VirtualNetworkGatewayConnectionsSetSharedKeyParameters, VirtualNetworkGatewayConnectionsGetSharedKeyParameters, VirtualNetworkGatewayConnectionsListParameters, - VirtualNetworkGatewayConnectionsResetConnectionParameters, VirtualNetworkGatewayConnectionsResetSharedKeyParameters, - VirtualNetworkGatewayConnectionsSetSharedKeyParameters, VirtualNetworkGatewayConnectionsStartPacketCaptureParameters, VirtualNetworkGatewayConnectionsStopPacketCaptureParameters, - VirtualNetworkGatewayConnectionsUpdateTagsParameters, + VirtualNetworkGatewayConnectionsGetIkeSasParameters, + VirtualNetworkGatewayConnectionsResetConnectionParameters, + LocalNetworkGatewaysCreateOrUpdateParameters, + LocalNetworkGatewaysGetParameters, + LocalNetworkGatewaysDeleteParameters, + LocalNetworkGatewaysUpdateTagsParameters, + LocalNetworkGatewaysListParameters, + VirtualNetworkGatewayNatRulesGetParameters, VirtualNetworkGatewayNatRulesCreateOrUpdateParameters, VirtualNetworkGatewayNatRulesDeleteParameters, - VirtualNetworkGatewayNatRulesGetParameters, VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayParameters, - VirtualNetworkGatewaysCreateOrUpdateParameters, - VirtualNetworkGatewaysDeleteParameters, - VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsParameters, - VirtualNetworkGatewaysGenerateVpnProfileParameters, - VirtualNetworkGatewaysGeneratevpnclientpackageParameters, - VirtualNetworkGatewaysGetAdvertisedRoutesParameters, - VirtualNetworkGatewaysGetBgpPeerStatusParameters, - VirtualNetworkGatewaysGetLearnedRoutesParameters, - VirtualNetworkGatewaysGetParameters, - VirtualNetworkGatewaysGetVpnProfilePackageUrlParameters, - VirtualNetworkGatewaysGetVpnclientConnectionHealthParameters, - VirtualNetworkGatewaysGetVpnclientIpsecParametersParameters, - VirtualNetworkGatewaysListConnectionsParameters, - VirtualNetworkGatewaysListParameters, - VirtualNetworkGatewaysResetParameters, - VirtualNetworkGatewaysResetVpnClientSharedKeyParameters, - VirtualNetworkGatewaysSetVpnclientIpsecParametersParameters, - VirtualNetworkGatewaysStartPacketCaptureParameters, - VirtualNetworkGatewaysStopPacketCaptureParameters, - VirtualNetworkGatewaysSupportedVpnDevicesParameters, - VirtualNetworkGatewaysUpdateTagsParameters, - VirtualNetworkGatewaysVpnDeviceConfigurationScriptParameters, - VirtualNetworkPeeringsCreateOrUpdateParameters, - VirtualNetworkPeeringsDeleteParameters, - VirtualNetworkPeeringsGetParameters, - VirtualNetworkPeeringsListParameters, - VirtualNetworkTapsCreateOrUpdateParameters, VirtualNetworkTapsDeleteParameters, VirtualNetworkTapsGetParameters, + VirtualNetworkTapsCreateOrUpdateParameters, + VirtualNetworkTapsUpdateTagsParameters, VirtualNetworkTapsListAllParameters, VirtualNetworkTapsListByResourceGroupParameters, - VirtualNetworkTapsUpdateTagsParameters, - VirtualNetworksCheckIPAddressAvailabilityParameters, - VirtualNetworksCreateOrUpdateParameters, - VirtualNetworksDeleteParameters, - VirtualNetworksGetParameters, - VirtualNetworksListAllParameters, - VirtualNetworksListDdosProtectionStatusParameters, - VirtualNetworksListParameters, - VirtualNetworksListUsageParameters, - VirtualNetworksUpdateTagsParameters, - VirtualRouterPeeringsCreateOrUpdateParameters, - VirtualRouterPeeringsDeleteParameters, - VirtualRouterPeeringsGetParameters, - VirtualRouterPeeringsListParameters, - VirtualRoutersCreateOrUpdateParameters, VirtualRoutersDeleteParameters, VirtualRoutersGetParameters, + VirtualRoutersCreateOrUpdateParameters, VirtualRoutersListByResourceGroupParameters, VirtualRoutersListParameters, + VirtualRouterPeeringsDeleteParameters, + VirtualRouterPeeringsGetParameters, + VirtualRouterPeeringsCreateOrUpdateParameters, + VirtualRouterPeeringsListParameters, + VirtualWansGetParameters, VirtualWansCreateOrUpdateParameters, + VirtualWansUpdateTagsParameters, VirtualWansDeleteParameters, - VirtualWansGetParameters, VirtualWansListByResourceGroupParameters, VirtualWansListParameters, - VirtualWansUpdateTagsParameters, - VpnConnectionsCreateOrUpdateParameters, - VpnConnectionsDeleteParameters, - VpnConnectionsGetParameters, - VpnConnectionsListByVpnGatewayParameters, - VpnConnectionsStartPacketCaptureParameters, - VpnConnectionsStopPacketCaptureParameters, - VpnGatewaysCreateOrUpdateParameters, - VpnGatewaysDeleteParameters, - VpnGatewaysGetParameters, - VpnGatewaysListByResourceGroupParameters, - VpnGatewaysListParameters, - VpnGatewaysResetParameters, - VpnGatewaysStartPacketCaptureParameters, - VpnGatewaysStopPacketCaptureParameters, - VpnGatewaysUpdateTagsParameters, - VpnLinkConnectionsGetIkeSasParameters, - VpnLinkConnectionsListByVpnConnectionParameters, - VpnLinkConnectionsResetConnectionParameters, - VpnServerConfigurationsAssociatedWithVirtualWanListParameters, + VpnSitesGetParameters, + VpnSitesCreateOrUpdateParameters, + VpnSitesUpdateTagsParameters, + VpnSitesDeleteParameters, + VpnSitesListByResourceGroupParameters, + VpnSitesListParameters, + VpnSiteLinksGetParameters, + VpnSiteLinksListByVpnSiteParameters, + VpnSitesConfigurationDownloadParameters, + VpnServerConfigurationsGetParameters, VpnServerConfigurationsCreateOrUpdateParameters, + VpnServerConfigurationsUpdateTagsParameters, VpnServerConfigurationsDeleteParameters, - VpnServerConfigurationsGetParameters, VpnServerConfigurationsListByResourceGroupParameters, VpnServerConfigurationsListParameters, - VpnServerConfigurationsUpdateTagsParameters, + ConfigurationPolicyGroupsCreateOrUpdateParameters, + ConfigurationPolicyGroupsDeleteParameters, + ConfigurationPolicyGroupsGetParameters, + ConfigurationPolicyGroupsListByVpnServerConfigurationParameters, + VirtualHubsGetParameters, + VirtualHubsCreateOrUpdateParameters, + VirtualHubsUpdateTagsParameters, + VirtualHubsDeleteParameters, + VirtualHubsListByResourceGroupParameters, + VirtualHubsListParameters, + VirtualHubsGetEffectiveVirtualHubRoutesParameters, + VirtualHubsGetInboundRoutesParameters, + VirtualHubsGetOutboundRoutesParameters, + RouteMapsGetParameters, + RouteMapsCreateOrUpdateParameters, + RouteMapsDeleteParameters, + RouteMapsListParameters, + HubVirtualNetworkConnectionsCreateOrUpdateParameters, + HubVirtualNetworkConnectionsDeleteParameters, + HubVirtualNetworkConnectionsGetParameters, + HubVirtualNetworkConnectionsListParameters, + VpnGatewaysGetParameters, + VpnGatewaysCreateOrUpdateParameters, + VpnGatewaysUpdateTagsParameters, + VpnGatewaysDeleteParameters, + VpnGatewaysResetParameters, + VpnGatewaysStartPacketCaptureParameters, + VpnGatewaysStopPacketCaptureParameters, + VpnGatewaysListByResourceGroupParameters, + VpnGatewaysListParameters, + VpnLinkConnectionsResetConnectionParameters, + VpnLinkConnectionsGetIkeSasParameters, + VpnLinkConnectionsListByVpnConnectionParameters, + VpnConnectionsGetParameters, + VpnConnectionsCreateOrUpdateParameters, + VpnConnectionsDeleteParameters, + VpnConnectionsStartPacketCaptureParameters, + VpnConnectionsStopPacketCaptureParameters, + VpnConnectionsListByVpnGatewayParameters, VpnSiteLinkConnectionsGetParameters, - VpnSiteLinksGetParameters, - VpnSiteLinksListByVpnSiteParameters, - VpnSitesConfigurationDownloadParameters, - VpnSitesCreateOrUpdateParameters, - VpnSitesDeleteParameters, - VpnSitesGetParameters, - VpnSitesListByResourceGroupParameters, - VpnSitesListParameters, - VpnSitesUpdateTagsParameters, + NatRulesGetParameters, + NatRulesCreateOrUpdateParameters, + NatRulesDeleteParameters, + NatRulesListByVpnGatewayParameters, + P2SVpnGatewaysGetParameters, + P2SVpnGatewaysCreateOrUpdateParameters, + P2SVpnGatewaysUpdateTagsParameters, + P2SVpnGatewaysDeleteParameters, + P2SVpnGatewaysListByResourceGroupParameters, + P2SVpnGatewaysListParameters, + P2SVpnGatewaysResetParameters, + P2SVpnGatewaysGenerateVpnProfileParameters, + P2SVpnGatewaysGetP2SVpnConnectionHealthParameters, + P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedParameters, + P2SVpnGatewaysDisconnectP2SVpnConnectionsParameters, + VpnServerConfigurationsAssociatedWithVirtualWanListParameters, + VirtualHubRouteTableV2SGetParameters, + VirtualHubRouteTableV2SCreateOrUpdateParameters, + VirtualHubRouteTableV2SDeleteParameters, + VirtualHubRouteTableV2SListParameters, + ExpressRouteGatewaysListBySubscriptionParameters, + ExpressRouteGatewaysListByResourceGroupParameters, + ExpressRouteGatewaysCreateOrUpdateParameters, + ExpressRouteGatewaysUpdateTagsParameters, + ExpressRouteGatewaysGetParameters, + ExpressRouteGatewaysDeleteParameters, + ExpressRouteConnectionsCreateOrUpdateParameters, + ExpressRouteConnectionsGetParameters, + ExpressRouteConnectionsDeleteParameters, + ExpressRouteConnectionsListParameters, + VirtualHubBgpConnectionGetParameters, + VirtualHubBgpConnectionCreateOrUpdateParameters, + VirtualHubBgpConnectionDeleteParameters, + VirtualHubBgpConnectionsListParameters, + VirtualHubBgpConnectionsListLearnedRoutesParameters, + VirtualHubBgpConnectionsListAdvertisedRoutesParameters, + VirtualHubIpConfigurationGetParameters, + VirtualHubIpConfigurationCreateOrUpdateParameters, + VirtualHubIpConfigurationDeleteParameters, + VirtualHubIpConfigurationListParameters, + HubRouteTablesCreateOrUpdateParameters, + HubRouteTablesGetParameters, + HubRouteTablesDeleteParameters, + HubRouteTablesListParameters, + RoutingIntentCreateOrUpdateParameters, + RoutingIntentGetParameters, + RoutingIntentDeleteParameters, + RoutingIntentListParameters, + WebApplicationFirewallPoliciesListParameters, + WebApplicationFirewallPoliciesListAllParameters, + WebApplicationFirewallPoliciesGetParameters, WebApplicationFirewallPoliciesCreateOrUpdateParameters, WebApplicationFirewallPoliciesDeleteParameters, - WebApplicationFirewallPoliciesGetParameters, - WebApplicationFirewallPoliciesListAllParameters, - WebApplicationFirewallPoliciesListParameters, - WebCategoriesGetParameters, - WebCategoriesListBySubscriptionParameters, + VipSwapGetParameters, + VipSwapCreateParameters, + VipSwapListParameters, } from "./parameters"; -import type { - AdminRuleCollectionsCreateOrUpdate200Response, - AdminRuleCollectionsCreateOrUpdate201Response, - AdminRuleCollectionsCreateOrUpdateDefaultResponse, - AdminRuleCollectionsDelete200Response, - AdminRuleCollectionsDelete202Response, - AdminRuleCollectionsDelete204Response, - AdminRuleCollectionsDeleteDefaultResponse, - AdminRuleCollectionsGet200Response, - AdminRuleCollectionsGetDefaultResponse, - AdminRuleCollectionsList200Response, - AdminRuleCollectionsListDefaultResponse, - AdminRulesCreateOrUpdate200Response, - AdminRulesCreateOrUpdate201Response, - AdminRulesCreateOrUpdateDefaultResponse, - AdminRulesDelete200Response, - AdminRulesDelete202Response, - AdminRulesDelete204Response, - AdminRulesDeleteDefaultResponse, - AdminRulesGet200Response, - AdminRulesGetDefaultResponse, - AdminRulesList200Response, - AdminRulesListDefaultResponse, - ApplicationGatewayPrivateEndpointConnectionsDelete200Response, - ApplicationGatewayPrivateEndpointConnectionsDelete202Response, - ApplicationGatewayPrivateEndpointConnectionsDelete204Response, - ApplicationGatewayPrivateEndpointConnectionsDeleteDefaultResponse, - ApplicationGatewayPrivateEndpointConnectionsGet200Response, - ApplicationGatewayPrivateEndpointConnectionsGetDefaultResponse, - ApplicationGatewayPrivateEndpointConnectionsList200Response, - ApplicationGatewayPrivateEndpointConnectionsListDefaultResponse, - ApplicationGatewayPrivateEndpointConnectionsUpdate200Response, - ApplicationGatewayPrivateEndpointConnectionsUpdate202Response, - ApplicationGatewayPrivateEndpointConnectionsUpdateDefaultResponse, - ApplicationGatewayPrivateLinkResourcesList200Response, - ApplicationGatewayPrivateLinkResourcesListDefaultResponse, - ApplicationGatewayWafDynamicManifestsDefaultGet200Response, - ApplicationGatewayWafDynamicManifestsDefaultGetDefaultResponse, - ApplicationGatewayWafDynamicManifestsGet200Response, - ApplicationGatewayWafDynamicManifestsGetDefaultResponse, - ApplicationGatewaysBackendHealth200Response, - ApplicationGatewaysBackendHealth202Response, - ApplicationGatewaysBackendHealthDefaultResponse, - ApplicationGatewaysBackendHealthOnDemand200Response, - ApplicationGatewaysBackendHealthOnDemand202Response, - ApplicationGatewaysBackendHealthOnDemandDefaultResponse, - ApplicationGatewaysCreateOrUpdate200Response, - ApplicationGatewaysCreateOrUpdate201Response, - ApplicationGatewaysCreateOrUpdateDefaultResponse, +import { ApplicationGatewaysDelete200Response, ApplicationGatewaysDelete202Response, ApplicationGatewaysDelete204Response, ApplicationGatewaysDeleteDefaultResponse, ApplicationGatewaysGet200Response, ApplicationGatewaysGetDefaultResponse, - ApplicationGatewaysGetSslPredefinedPolicy200Response, - ApplicationGatewaysGetSslPredefinedPolicyDefaultResponse, + ApplicationGatewaysCreateOrUpdate200Response, + ApplicationGatewaysCreateOrUpdate201Response, + ApplicationGatewaysCreateOrUpdateDefaultResponse, + ApplicationGatewaysUpdateTags200Response, + ApplicationGatewaysUpdateTagsDefaultResponse, ApplicationGatewaysList200Response, + ApplicationGatewaysListDefaultResponse, ApplicationGatewaysListAll200Response, ApplicationGatewaysListAllDefaultResponse, + ApplicationGatewaysStart200Response, + ApplicationGatewaysStart202Response, + ApplicationGatewaysStartDefaultResponse, + ApplicationGatewaysStop200Response, + ApplicationGatewaysStop202Response, + ApplicationGatewaysStopDefaultResponse, + ApplicationGatewaysBackendHealth200Response, + ApplicationGatewaysBackendHealth202Response, + ApplicationGatewaysBackendHealthDefaultResponse, + ApplicationGatewaysBackendHealthOnDemand200Response, + ApplicationGatewaysBackendHealthOnDemand202Response, + ApplicationGatewaysBackendHealthOnDemandDefaultResponse, + ApplicationGatewaysListAvailableServerVariables200Response, + ApplicationGatewaysListAvailableServerVariablesDefaultResponse, ApplicationGatewaysListAvailableRequestHeaders200Response, ApplicationGatewaysListAvailableRequestHeadersDefaultResponse, ApplicationGatewaysListAvailableResponseHeaders200Response, ApplicationGatewaysListAvailableResponseHeadersDefaultResponse, - ApplicationGatewaysListAvailableServerVariables200Response, - ApplicationGatewaysListAvailableServerVariablesDefaultResponse, + ApplicationGatewaysListAvailableWafRuleSets200Response, + ApplicationGatewaysListAvailableWafRuleSetsDefaultResponse, ApplicationGatewaysListAvailableSslOptions200Response, ApplicationGatewaysListAvailableSslOptionsDefaultResponse, ApplicationGatewaysListAvailableSslPredefinedPolicies200Response, ApplicationGatewaysListAvailableSslPredefinedPoliciesDefaultResponse, - ApplicationGatewaysListAvailableWafRuleSets200Response, - ApplicationGatewaysListAvailableWafRuleSetsDefaultResponse, - ApplicationGatewaysListDefaultResponse, - ApplicationGatewaysStart200Response, - ApplicationGatewaysStart202Response, - ApplicationGatewaysStartDefaultResponse, - ApplicationGatewaysStop200Response, - ApplicationGatewaysStop202Response, - ApplicationGatewaysStopDefaultResponse, - ApplicationGatewaysUpdateTags200Response, - ApplicationGatewaysUpdateTagsDefaultResponse, - ApplicationSecurityGroupsCreateOrUpdate200Response, - ApplicationSecurityGroupsCreateOrUpdate201Response, - ApplicationSecurityGroupsCreateOrUpdateDefaultResponse, + ApplicationGatewaysGetSslPredefinedPolicy200Response, + ApplicationGatewaysGetSslPredefinedPolicyDefaultResponse, + ApplicationGatewayPrivateLinkResourcesList200Response, + ApplicationGatewayPrivateLinkResourcesListDefaultResponse, + ApplicationGatewayPrivateEndpointConnectionsDelete200Response, + ApplicationGatewayPrivateEndpointConnectionsDelete202Response, + ApplicationGatewayPrivateEndpointConnectionsDelete204Response, + ApplicationGatewayPrivateEndpointConnectionsDeleteDefaultResponse, + ApplicationGatewayPrivateEndpointConnectionsUpdate200Response, + ApplicationGatewayPrivateEndpointConnectionsUpdate202Response, + ApplicationGatewayPrivateEndpointConnectionsUpdateDefaultResponse, + ApplicationGatewayPrivateEndpointConnectionsGet200Response, + ApplicationGatewayPrivateEndpointConnectionsGetDefaultResponse, + ApplicationGatewayPrivateEndpointConnectionsList200Response, + ApplicationGatewayPrivateEndpointConnectionsListDefaultResponse, + ApplicationGatewayWafDynamicManifestsDefaultGet200Response, + ApplicationGatewayWafDynamicManifestsDefaultGetDefaultResponse, + ApplicationGatewayWafDynamicManifestsGet200Response, + ApplicationGatewayWafDynamicManifestsGetDefaultResponse, ApplicationSecurityGroupsDelete200Response, ApplicationSecurityGroupsDelete202Response, ApplicationSecurityGroupsDelete204Response, ApplicationSecurityGroupsDeleteDefaultResponse, ApplicationSecurityGroupsGet200Response, ApplicationSecurityGroupsGetDefaultResponse, - ApplicationSecurityGroupsList200Response, + ApplicationSecurityGroupsCreateOrUpdate200Response, + ApplicationSecurityGroupsCreateOrUpdate201Response, + ApplicationSecurityGroupsCreateOrUpdateDefaultResponse, + ApplicationSecurityGroupsUpdateTags200Response, + ApplicationSecurityGroupsUpdateTagsDefaultResponse, ApplicationSecurityGroupsListAll200Response, ApplicationSecurityGroupsListAllDefaultResponse, + ApplicationSecurityGroupsList200Response, ApplicationSecurityGroupsListDefaultResponse, - ApplicationSecurityGroupsUpdateTags200Response, - ApplicationSecurityGroupsUpdateTagsDefaultResponse, AvailableDelegationsList200Response, AvailableDelegationsListDefaultResponse, - AvailableEndpointServicesList200Response, - AvailableEndpointServicesListDefaultResponse, - AvailablePrivateEndpointTypesList200Response, - AvailablePrivateEndpointTypesListByResourceGroup200Response, - AvailablePrivateEndpointTypesListByResourceGroupDefaultResponse, - AvailablePrivateEndpointTypesListDefaultResponse, AvailableResourceGroupDelegationsList200Response, AvailableResourceGroupDelegationsListDefaultResponse, AvailableServiceAliasesList200Response, + AvailableServiceAliasesListDefaultResponse, AvailableServiceAliasesListByResourceGroup200Response, AvailableServiceAliasesListByResourceGroupDefaultResponse, - AvailableServiceAliasesListDefaultResponse, - AzureFirewallFqdnTagsListAll200Response, - AzureFirewallFqdnTagsListAllDefaultResponse, - AzureFirewallsCreateOrUpdate200Response, - AzureFirewallsCreateOrUpdate201Response, - AzureFirewallsCreateOrUpdateDefaultResponse, AzureFirewallsDelete200Response, AzureFirewallsDelete202Response, AzureFirewallsDelete204Response, AzureFirewallsDeleteDefaultResponse, AzureFirewallsGet200Response, AzureFirewallsGetDefaultResponse, + AzureFirewallsCreateOrUpdate200Response, + AzureFirewallsCreateOrUpdate201Response, + AzureFirewallsCreateOrUpdateDefaultResponse, + AzureFirewallsUpdateTags200Response, + AzureFirewallsUpdateTags202Response, + AzureFirewallsUpdateTagsDefaultResponse, AzureFirewallsList200Response, + AzureFirewallsListDefaultResponse, AzureFirewallsListAll200Response, AzureFirewallsListAllDefaultResponse, - AzureFirewallsListDefaultResponse, AzureFirewallsListLearnedPrefixes200Response, AzureFirewallsListLearnedPrefixes202Response, AzureFirewallsListLearnedPrefixesDefaultResponse, - AzureFirewallsUpdateTags200Response, - AzureFirewallsUpdateTags202Response, - AzureFirewallsUpdateTagsDefaultResponse, - BastionHostsCreateOrUpdate200Response, - BastionHostsCreateOrUpdate201Response, - BastionHostsCreateOrUpdateDefaultResponse, - BastionHostsDelete200Response, - BastionHostsDelete202Response, - BastionHostsDelete204Response, - BastionHostsDeleteDefaultResponse, - BastionHostsGet200Response, + AzureFirewallFqdnTagsListAll200Response, + AzureFirewallFqdnTagsListAllDefaultResponse, + WebCategoriesGet200Response, + WebCategoriesGetDefaultResponse, + WebCategoriesListBySubscription200Response, + WebCategoriesListBySubscriptionDefaultResponse, + BastionHostsDelete200Response, + BastionHostsDelete202Response, + BastionHostsDelete204Response, + BastionHostsDeleteDefaultResponse, + BastionHostsGet200Response, BastionHostsGetDefaultResponse, - BastionHostsList200Response, - BastionHostsListByResourceGroup200Response, - BastionHostsListByResourceGroupDefaultResponse, - BastionHostsListDefaultResponse, + BastionHostsCreateOrUpdate200Response, + BastionHostsCreateOrUpdate201Response, + BastionHostsCreateOrUpdateDefaultResponse, BastionHostsUpdateTags200Response, BastionHostsUpdateTags202Response, BastionHostsUpdateTagsDefaultResponse, - BgpServiceCommunitiesList200Response, - BgpServiceCommunitiesListDefaultResponse, + BastionHostsList200Response, + BastionHostsListDefaultResponse, + BastionHostsListByResourceGroup200Response, + BastionHostsListByResourceGroupDefaultResponse, + PutBastionShareableLink200Response, + PutBastionShareableLink202Response, + PutBastionShareableLinkDefaultResponse, + DeleteBastionShareableLink200Response, + DeleteBastionShareableLink202Response, + DeleteBastionShareableLinkDefaultResponse, + GetBastionShareableLink200Response, + GetBastionShareableLinkDefaultResponse, + GetActiveSessions200Response, + GetActiveSessions202Response, + GetActiveSessionsDefaultResponse, + DisconnectActiveSessions200Response, + DisconnectActiveSessionsDefaultResponse, CheckDnsNameAvailability200Response, CheckDnsNameAvailabilityDefaultResponse, - ConfigurationPolicyGroupsCreateOrUpdate200Response, - ConfigurationPolicyGroupsCreateOrUpdate201Response, - ConfigurationPolicyGroupsCreateOrUpdateDefaultResponse, - ConfigurationPolicyGroupsDelete200Response, - ConfigurationPolicyGroupsDelete202Response, - ConfigurationPolicyGroupsDelete204Response, - ConfigurationPolicyGroupsDeleteDefaultResponse, - ConfigurationPolicyGroupsGet200Response, - ConfigurationPolicyGroupsGetDefaultResponse, - ConfigurationPolicyGroupsListByVpnServerConfiguration200Response, - ConfigurationPolicyGroupsListByVpnServerConfigurationDefaultResponse, - ConnectionMonitorsCreateOrUpdate200Response, - ConnectionMonitorsCreateOrUpdate201Response, - ConnectionMonitorsCreateOrUpdateDefaultResponse, - ConnectionMonitorsDelete202Response, - ConnectionMonitorsDelete204Response, - ConnectionMonitorsDeleteDefaultResponse, - ConnectionMonitorsGet200Response, - ConnectionMonitorsGetDefaultResponse, - ConnectionMonitorsList200Response, - ConnectionMonitorsListDefaultResponse, - ConnectionMonitorsQuery200Response, - ConnectionMonitorsQuery202Response, - ConnectionMonitorsQueryDefaultResponse, - ConnectionMonitorsStart200Response, - ConnectionMonitorsStart202Response, - ConnectionMonitorsStartDefaultResponse, - ConnectionMonitorsStop200Response, - ConnectionMonitorsStop202Response, - ConnectionMonitorsStopDefaultResponse, - ConnectionMonitorsUpdateTags200Response, - ConnectionMonitorsUpdateTagsDefaultResponse, - ConnectivityConfigurationsCreateOrUpdate200Response, - ConnectivityConfigurationsCreateOrUpdate201Response, - ConnectivityConfigurationsCreateOrUpdateDefaultResponse, - ConnectivityConfigurationsDelete200Response, - ConnectivityConfigurationsDelete202Response, - ConnectivityConfigurationsDelete204Response, - ConnectivityConfigurationsDeleteDefaultResponse, - ConnectivityConfigurationsGet200Response, - ConnectivityConfigurationsGetDefaultResponse, - ConnectivityConfigurationsList200Response, - ConnectivityConfigurationsListDefaultResponse, - CustomIPPrefixesCreateOrUpdate200Response, - CustomIPPrefixesCreateOrUpdate201Response, - CustomIPPrefixesCreateOrUpdateDefaultResponse, + ExpressRouteProviderPort200Response, + ExpressRouteProviderPortDefaultResponse, + ListActiveConnectivityConfigurations200Response, + ListActiveConnectivityConfigurationsDefaultResponse, + ListActiveSecurityAdminRules200Response, + ListActiveSecurityAdminRulesDefaultResponse, + ListNetworkManagerEffectiveConnectivityConfigurations200Response, + ListNetworkManagerEffectiveConnectivityConfigurationsDefaultResponse, + ListNetworkManagerEffectiveSecurityAdminRules200Response, + ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse, + SupportedSecurityProviders200Response, + SupportedSecurityProvidersDefaultResponse, + Generatevirtualwanvpnserverconfigurationvpnprofile200Response, + Generatevirtualwanvpnserverconfigurationvpnprofile202Response, + GeneratevirtualwanvpnserverconfigurationvpnprofileDefaultResponse, + NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfaces200Response, + NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesDefaultResponse, + NetworkInterfacesListCloudServiceNetworkInterfaces200Response, + NetworkInterfacesListCloudServiceNetworkInterfacesDefaultResponse, + NetworkInterfacesGetCloudServiceNetworkInterface200Response, + NetworkInterfacesGetCloudServiceNetworkInterfaceDefaultResponse, + NetworkInterfacesDelete200Response, + NetworkInterfacesDelete202Response, + NetworkInterfacesDelete204Response, + NetworkInterfacesDeleteDefaultResponse, + NetworkInterfacesGet200Response, + NetworkInterfacesGetDefaultResponse, + NetworkInterfacesCreateOrUpdate200Response, + NetworkInterfacesCreateOrUpdate201Response, + NetworkInterfacesCreateOrUpdateDefaultResponse, + NetworkInterfacesUpdateTags200Response, + NetworkInterfacesUpdateTagsDefaultResponse, + NetworkInterfacesListAll200Response, + NetworkInterfacesListAllDefaultResponse, + NetworkInterfacesList200Response, + NetworkInterfacesListDefaultResponse, + NetworkInterfacesGetEffectiveRouteTable200Response, + NetworkInterfacesGetEffectiveRouteTable202Response, + NetworkInterfacesGetEffectiveRouteTableDefaultResponse, + NetworkInterfacesListEffectiveNetworkSecurityGroups200Response, + NetworkInterfacesListEffectiveNetworkSecurityGroups202Response, + NetworkInterfacesListEffectiveNetworkSecurityGroupsDefaultResponse, + NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfaces200Response, + NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesDefaultResponse, + NetworkInterfacesListVirtualMachineScaleSetNetworkInterfaces200Response, + NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesDefaultResponse, + NetworkInterfacesGetVirtualMachineScaleSetNetworkInterface200Response, + NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceDefaultResponse, + NetworkInterfacesListVirtualMachineScaleSetIpConfigurations200Response, + NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsDefaultResponse, + NetworkInterfacesGetVirtualMachineScaleSetIpConfiguration200Response, + NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationDefaultResponse, + PublicIPAddressesListCloudServicePublicIPAddresses200Response, + PublicIPAddressesListCloudServicePublicIPAddressesDefaultResponse, + PublicIPAddressesListCloudServiceRoleInstancePublicIPAddresses200Response, + PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesDefaultResponse, + PublicIPAddressesGetCloudServicePublicIPAddress200Response, + PublicIPAddressesGetCloudServicePublicIPAddressDefaultResponse, + PublicIPAddressesDelete200Response, + PublicIPAddressesDelete202Response, + PublicIPAddressesDelete204Response, + PublicIPAddressesDeleteDefaultResponse, + PublicIPAddressesGet200Response, + PublicIPAddressesGetDefaultResponse, + PublicIPAddressesCreateOrUpdate200Response, + PublicIPAddressesCreateOrUpdate201Response, + PublicIPAddressesCreateOrUpdateDefaultResponse, + PublicIPAddressesUpdateTags200Response, + PublicIPAddressesUpdateTagsDefaultResponse, + PublicIPAddressesListAll200Response, + PublicIPAddressesListAllDefaultResponse, + PublicIPAddressesList200Response, + PublicIPAddressesListDefaultResponse, + PublicIPAddressesDdosProtectionStatus200Response, + PublicIPAddressesDdosProtectionStatus202Response, + PublicIPAddressesDdosProtectionStatusDefaultResponse, + PublicIPAddressesListVirtualMachineScaleSetPublicIPAddresses200Response, + PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesDefaultResponse, + PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddresses200Response, + PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesDefaultResponse, + PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddress200Response, + PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressDefaultResponse, CustomIPPrefixesDelete200Response, CustomIPPrefixesDelete202Response, CustomIPPrefixesDelete204Response, CustomIPPrefixesDeleteDefaultResponse, CustomIPPrefixesGet200Response, CustomIPPrefixesGetDefaultResponse, - CustomIPPrefixesList200Response, + CustomIPPrefixesCreateOrUpdate200Response, + CustomIPPrefixesCreateOrUpdate201Response, + CustomIPPrefixesCreateOrUpdateDefaultResponse, + CustomIPPrefixesUpdateTags200Response, + CustomIPPrefixesUpdateTagsDefaultResponse, CustomIPPrefixesListAll200Response, CustomIPPrefixesListAllDefaultResponse, + CustomIPPrefixesList200Response, CustomIPPrefixesListDefaultResponse, - CustomIPPrefixesUpdateTags200Response, - CustomIPPrefixesUpdateTagsDefaultResponse, - DdosCustomPoliciesCreateOrUpdate200Response, - DdosCustomPoliciesCreateOrUpdate201Response, - DdosCustomPoliciesCreateOrUpdateDefaultResponse, DdosCustomPoliciesDelete200Response, DdosCustomPoliciesDelete202Response, DdosCustomPoliciesDelete204Response, DdosCustomPoliciesDeleteDefaultResponse, DdosCustomPoliciesGet200Response, DdosCustomPoliciesGetDefaultResponse, + DdosCustomPoliciesCreateOrUpdate200Response, + DdosCustomPoliciesCreateOrUpdate201Response, + DdosCustomPoliciesCreateOrUpdateDefaultResponse, DdosCustomPoliciesUpdateTags200Response, DdosCustomPoliciesUpdateTagsDefaultResponse, - DdosProtectionPlansCreateOrUpdate200Response, - DdosProtectionPlansCreateOrUpdate201Response, - DdosProtectionPlansCreateOrUpdateDefaultResponse, DdosProtectionPlansDelete200Response, DdosProtectionPlansDelete202Response, DdosProtectionPlansDelete204Response, DdosProtectionPlansDeleteDefaultResponse, DdosProtectionPlansGet200Response, DdosProtectionPlansGetDefaultResponse, + DdosProtectionPlansCreateOrUpdate200Response, + DdosProtectionPlansCreateOrUpdate201Response, + DdosProtectionPlansCreateOrUpdateDefaultResponse, + DdosProtectionPlansUpdateTags200Response, + DdosProtectionPlansUpdateTagsDefaultResponse, DdosProtectionPlansList200Response, + DdosProtectionPlansListDefaultResponse, DdosProtectionPlansListByResourceGroup200Response, DdosProtectionPlansListByResourceGroupDefaultResponse, - DdosProtectionPlansListDefaultResponse, - DdosProtectionPlansUpdateTags200Response, - DdosProtectionPlansUpdateTagsDefaultResponse, - DefaultSecurityRulesGet200Response, - DefaultSecurityRulesGetDefaultResponse, - DefaultSecurityRulesList200Response, - DefaultSecurityRulesListDefaultResponse, - DeleteBastionShareableLink200Response, - DeleteBastionShareableLink202Response, - DeleteBastionShareableLinkDefaultResponse, - DisconnectActiveSessions200Response, - DisconnectActiveSessionsDefaultResponse, DscpConfigurationCreateOrUpdate200Response, DscpConfigurationCreateOrUpdate201Response, DscpConfigurationCreateOrUpdateDefaultResponse, @@ -870,301 +887,239 @@ import type { DscpConfigurationGet200Response, DscpConfigurationGetDefaultResponse, DscpConfigurationList200Response, + DscpConfigurationListDefaultResponse, DscpConfigurationListAll200Response, DscpConfigurationListAllDefaultResponse, - DscpConfigurationListDefaultResponse, - ExpressRouteCircuitAuthorizationsCreateOrUpdate200Response, - ExpressRouteCircuitAuthorizationsCreateOrUpdate201Response, - ExpressRouteCircuitAuthorizationsCreateOrUpdateDefaultResponse, + AvailableEndpointServicesList200Response, + AvailableEndpointServicesListDefaultResponse, ExpressRouteCircuitAuthorizationsDelete200Response, ExpressRouteCircuitAuthorizationsDelete202Response, ExpressRouteCircuitAuthorizationsDelete204Response, ExpressRouteCircuitAuthorizationsDeleteDefaultResponse, ExpressRouteCircuitAuthorizationsGet200Response, ExpressRouteCircuitAuthorizationsGetDefaultResponse, + ExpressRouteCircuitAuthorizationsCreateOrUpdate200Response, + ExpressRouteCircuitAuthorizationsCreateOrUpdate201Response, + ExpressRouteCircuitAuthorizationsCreateOrUpdateDefaultResponse, ExpressRouteCircuitAuthorizationsList200Response, ExpressRouteCircuitAuthorizationsListDefaultResponse, - ExpressRouteCircuitConnectionsCreateOrUpdate200Response, - ExpressRouteCircuitConnectionsCreateOrUpdate201Response, - ExpressRouteCircuitConnectionsCreateOrUpdateDefaultResponse, - ExpressRouteCircuitConnectionsDelete200Response, - ExpressRouteCircuitConnectionsDelete202Response, - ExpressRouteCircuitConnectionsDelete204Response, - ExpressRouteCircuitConnectionsDeleteDefaultResponse, - ExpressRouteCircuitConnectionsGet200Response, - ExpressRouteCircuitConnectionsGetDefaultResponse, - ExpressRouteCircuitConnectionsList200Response, - ExpressRouteCircuitConnectionsListDefaultResponse, - ExpressRouteCircuitPeeringsCreateOrUpdate200Response, - ExpressRouteCircuitPeeringsCreateOrUpdate201Response, - ExpressRouteCircuitPeeringsCreateOrUpdateDefaultResponse, ExpressRouteCircuitPeeringsDelete200Response, ExpressRouteCircuitPeeringsDelete202Response, ExpressRouteCircuitPeeringsDelete204Response, ExpressRouteCircuitPeeringsDeleteDefaultResponse, ExpressRouteCircuitPeeringsGet200Response, ExpressRouteCircuitPeeringsGetDefaultResponse, + ExpressRouteCircuitPeeringsCreateOrUpdate200Response, + ExpressRouteCircuitPeeringsCreateOrUpdate201Response, + ExpressRouteCircuitPeeringsCreateOrUpdateDefaultResponse, ExpressRouteCircuitPeeringsList200Response, ExpressRouteCircuitPeeringsListDefaultResponse, - ExpressRouteCircuitsCreateOrUpdate200Response, - ExpressRouteCircuitsCreateOrUpdate201Response, - ExpressRouteCircuitsCreateOrUpdateDefaultResponse, + ExpressRouteCircuitConnectionsDelete200Response, + ExpressRouteCircuitConnectionsDelete202Response, + ExpressRouteCircuitConnectionsDelete204Response, + ExpressRouteCircuitConnectionsDeleteDefaultResponse, + ExpressRouteCircuitConnectionsGet200Response, + ExpressRouteCircuitConnectionsGetDefaultResponse, + ExpressRouteCircuitConnectionsCreateOrUpdate200Response, + ExpressRouteCircuitConnectionsCreateOrUpdate201Response, + ExpressRouteCircuitConnectionsCreateOrUpdateDefaultResponse, + ExpressRouteCircuitConnectionsList200Response, + ExpressRouteCircuitConnectionsListDefaultResponse, + PeerExpressRouteCircuitConnectionsGet200Response, + PeerExpressRouteCircuitConnectionsGetDefaultResponse, + PeerExpressRouteCircuitConnectionsList200Response, + PeerExpressRouteCircuitConnectionsListDefaultResponse, ExpressRouteCircuitsDelete200Response, ExpressRouteCircuitsDelete202Response, ExpressRouteCircuitsDelete204Response, ExpressRouteCircuitsDeleteDefaultResponse, ExpressRouteCircuitsGet200Response, ExpressRouteCircuitsGetDefaultResponse, - ExpressRouteCircuitsGetPeeringStats200Response, - ExpressRouteCircuitsGetPeeringStatsDefaultResponse, - ExpressRouteCircuitsGetStats200Response, - ExpressRouteCircuitsGetStatsDefaultResponse, - ExpressRouteCircuitsList200Response, - ExpressRouteCircuitsListAll200Response, - ExpressRouteCircuitsListAllDefaultResponse, + ExpressRouteCircuitsCreateOrUpdate200Response, + ExpressRouteCircuitsCreateOrUpdate201Response, + ExpressRouteCircuitsCreateOrUpdateDefaultResponse, + ExpressRouteCircuitsUpdateTags200Response, + ExpressRouteCircuitsUpdateTagsDefaultResponse, ExpressRouteCircuitsListArpTable200Response, ExpressRouteCircuitsListArpTable202Response, ExpressRouteCircuitsListArpTableDefaultResponse, - ExpressRouteCircuitsListDefaultResponse, ExpressRouteCircuitsListRoutesTable200Response, ExpressRouteCircuitsListRoutesTable202Response, ExpressRouteCircuitsListRoutesTableDefaultResponse, ExpressRouteCircuitsListRoutesTableSummary200Response, ExpressRouteCircuitsListRoutesTableSummary202Response, ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse, - ExpressRouteCircuitsUpdateTags200Response, - ExpressRouteCircuitsUpdateTagsDefaultResponse, - ExpressRouteConnectionsCreateOrUpdate200Response, - ExpressRouteConnectionsCreateOrUpdate201Response, - ExpressRouteConnectionsCreateOrUpdateDefaultResponse, - ExpressRouteConnectionsDelete200Response, - ExpressRouteConnectionsDelete202Response, - ExpressRouteConnectionsDelete204Response, - ExpressRouteConnectionsDeleteDefaultResponse, - ExpressRouteConnectionsGet200Response, - ExpressRouteConnectionsGetDefaultResponse, - ExpressRouteConnectionsList200Response, - ExpressRouteConnectionsListDefaultResponse, - ExpressRouteCrossConnectionPeeringsCreateOrUpdate200Response, - ExpressRouteCrossConnectionPeeringsCreateOrUpdate201Response, - ExpressRouteCrossConnectionPeeringsCreateOrUpdateDefaultResponse, - ExpressRouteCrossConnectionPeeringsDelete200Response, - ExpressRouteCrossConnectionPeeringsDelete202Response, - ExpressRouteCrossConnectionPeeringsDelete204Response, - ExpressRouteCrossConnectionPeeringsDeleteDefaultResponse, - ExpressRouteCrossConnectionPeeringsGet200Response, - ExpressRouteCrossConnectionPeeringsGetDefaultResponse, - ExpressRouteCrossConnectionPeeringsList200Response, - ExpressRouteCrossConnectionPeeringsListDefaultResponse, - ExpressRouteCrossConnectionsCreateOrUpdate200Response, - ExpressRouteCrossConnectionsCreateOrUpdateDefaultResponse, + ExpressRouteCircuitsGetStats200Response, + ExpressRouteCircuitsGetStatsDefaultResponse, + ExpressRouteCircuitsGetPeeringStats200Response, + ExpressRouteCircuitsGetPeeringStatsDefaultResponse, + ExpressRouteCircuitsList200Response, + ExpressRouteCircuitsListDefaultResponse, + ExpressRouteCircuitsListAll200Response, + ExpressRouteCircuitsListAllDefaultResponse, + ExpressRouteServiceProvidersList200Response, + ExpressRouteServiceProvidersListDefaultResponse, + ExpressRouteCrossConnectionsList200Response, + ExpressRouteCrossConnectionsListDefaultResponse, + ExpressRouteCrossConnectionsListByResourceGroup200Response, + ExpressRouteCrossConnectionsListByResourceGroupDefaultResponse, ExpressRouteCrossConnectionsGet200Response, ExpressRouteCrossConnectionsGetDefaultResponse, - ExpressRouteCrossConnectionsList200Response, + ExpressRouteCrossConnectionsCreateOrUpdate200Response, + ExpressRouteCrossConnectionsCreateOrUpdateDefaultResponse, + ExpressRouteCrossConnectionsUpdateTags200Response, + ExpressRouteCrossConnectionsUpdateTagsDefaultResponse, ExpressRouteCrossConnectionsListArpTable200Response, ExpressRouteCrossConnectionsListArpTable202Response, ExpressRouteCrossConnectionsListArpTableDefaultResponse, - ExpressRouteCrossConnectionsListByResourceGroup200Response, - ExpressRouteCrossConnectionsListByResourceGroupDefaultResponse, - ExpressRouteCrossConnectionsListDefaultResponse, - ExpressRouteCrossConnectionsListRoutesTable200Response, - ExpressRouteCrossConnectionsListRoutesTable202Response, - ExpressRouteCrossConnectionsListRoutesTableDefaultResponse, ExpressRouteCrossConnectionsListRoutesTableSummary200Response, ExpressRouteCrossConnectionsListRoutesTableSummary202Response, ExpressRouteCrossConnectionsListRoutesTableSummaryDefaultResponse, - ExpressRouteCrossConnectionsUpdateTags200Response, - ExpressRouteCrossConnectionsUpdateTagsDefaultResponse, - ExpressRouteGatewaysCreateOrUpdate200Response, - ExpressRouteGatewaysCreateOrUpdate201Response, - ExpressRouteGatewaysCreateOrUpdateDefaultResponse, - ExpressRouteGatewaysDelete200Response, - ExpressRouteGatewaysDelete202Response, - ExpressRouteGatewaysDelete204Response, - ExpressRouteGatewaysDeleteDefaultResponse, - ExpressRouteGatewaysGet200Response, - ExpressRouteGatewaysGetDefaultResponse, - ExpressRouteGatewaysListByResourceGroup200Response, - ExpressRouteGatewaysListByResourceGroupDefaultResponse, - ExpressRouteGatewaysListBySubscription200Response, - ExpressRouteGatewaysListBySubscriptionDefaultResponse, - ExpressRouteGatewaysUpdateTags200Response, - ExpressRouteGatewaysUpdateTags202Response, - ExpressRouteGatewaysUpdateTagsDefaultResponse, + ExpressRouteCrossConnectionsListRoutesTable200Response, + ExpressRouteCrossConnectionsListRoutesTable202Response, + ExpressRouteCrossConnectionsListRoutesTableDefaultResponse, + ExpressRouteCrossConnectionPeeringsList200Response, + ExpressRouteCrossConnectionPeeringsListDefaultResponse, + ExpressRouteCrossConnectionPeeringsDelete200Response, + ExpressRouteCrossConnectionPeeringsDelete202Response, + ExpressRouteCrossConnectionPeeringsDelete204Response, + ExpressRouteCrossConnectionPeeringsDeleteDefaultResponse, + ExpressRouteCrossConnectionPeeringsGet200Response, + ExpressRouteCrossConnectionPeeringsGetDefaultResponse, + ExpressRouteCrossConnectionPeeringsCreateOrUpdate200Response, + ExpressRouteCrossConnectionPeeringsCreateOrUpdate201Response, + ExpressRouteCrossConnectionPeeringsCreateOrUpdateDefaultResponse, + ExpressRoutePortsLocationsList200Response, + ExpressRoutePortsLocationsListDefaultResponse, + ExpressRoutePortsLocationsGet200Response, + ExpressRoutePortsLocationsGetDefaultResponse, + ExpressRoutePortsDelete200Response, + ExpressRoutePortsDelete202Response, + ExpressRoutePortsDelete204Response, + ExpressRoutePortsDeleteDefaultResponse, + ExpressRoutePortsGet200Response, + ExpressRoutePortsGetDefaultResponse, + ExpressRoutePortsCreateOrUpdate200Response, + ExpressRoutePortsCreateOrUpdate201Response, + ExpressRoutePortsCreateOrUpdateDefaultResponse, + ExpressRoutePortsUpdateTags200Response, + ExpressRoutePortsUpdateTagsDefaultResponse, + ExpressRoutePortsListByResourceGroup200Response, + ExpressRoutePortsListByResourceGroupDefaultResponse, + ExpressRoutePortsList200Response, + ExpressRoutePortsListDefaultResponse, + ExpressRoutePortsGenerateLOA200Response, + ExpressRoutePortsGenerateLOADefaultResponse, ExpressRouteLinksGet200Response, ExpressRouteLinksGetDefaultResponse, ExpressRouteLinksList200Response, ExpressRouteLinksListDefaultResponse, - ExpressRoutePortAuthorizationsCreateOrUpdate200Response, - ExpressRoutePortAuthorizationsCreateOrUpdate201Response, - ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse, ExpressRoutePortAuthorizationsDelete200Response, ExpressRoutePortAuthorizationsDelete202Response, ExpressRoutePortAuthorizationsDelete204Response, ExpressRoutePortAuthorizationsDeleteDefaultResponse, ExpressRoutePortAuthorizationsGet200Response, ExpressRoutePortAuthorizationsGetDefaultResponse, + ExpressRoutePortAuthorizationsCreateOrUpdate200Response, + ExpressRoutePortAuthorizationsCreateOrUpdate201Response, + ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse, ExpressRoutePortAuthorizationsList200Response, ExpressRoutePortAuthorizationsListDefaultResponse, - ExpressRoutePortsCreateOrUpdate200Response, - ExpressRoutePortsCreateOrUpdate201Response, - ExpressRoutePortsCreateOrUpdateDefaultResponse, - ExpressRoutePortsDelete200Response, - ExpressRoutePortsDelete202Response, - ExpressRoutePortsDelete204Response, - ExpressRoutePortsDeleteDefaultResponse, - ExpressRoutePortsGenerateLOA200Response, - ExpressRoutePortsGenerateLOADefaultResponse, - ExpressRoutePortsGet200Response, - ExpressRoutePortsGetDefaultResponse, - ExpressRoutePortsList200Response, - ExpressRoutePortsListByResourceGroup200Response, - ExpressRoutePortsListByResourceGroupDefaultResponse, - ExpressRoutePortsListDefaultResponse, - ExpressRoutePortsLocationsGet200Response, - ExpressRoutePortsLocationsGetDefaultResponse, - ExpressRoutePortsLocationsList200Response, - ExpressRoutePortsLocationsListDefaultResponse, - ExpressRoutePortsUpdateTags200Response, - ExpressRoutePortsUpdateTagsDefaultResponse, - ExpressRouteProviderPortsGet200Response, - ExpressRouteProviderPortsGetDefaultResponse, ExpressRouteProviderPortsLocationList200Response, ExpressRouteProviderPortsLocationListDefaultResponse, - ExpressRouteServiceProvidersList200Response, - ExpressRouteServiceProvidersListDefaultResponse, - FirewallPoliciesCreateOrUpdate200Response, - FirewallPoliciesCreateOrUpdate201Response, - FirewallPoliciesCreateOrUpdateDefaultResponse, FirewallPoliciesDelete200Response, FirewallPoliciesDelete202Response, FirewallPoliciesDelete204Response, FirewallPoliciesDeleteDefaultResponse, FirewallPoliciesGet200Response, FirewallPoliciesGetDefaultResponse, + FirewallPoliciesCreateOrUpdate200Response, + FirewallPoliciesCreateOrUpdate201Response, + FirewallPoliciesCreateOrUpdateDefaultResponse, + FirewallPoliciesUpdateTags200Response, + FirewallPoliciesUpdateTagsDefaultResponse, FirewallPoliciesList200Response, + FirewallPoliciesListDefaultResponse, FirewallPoliciesListAll200Response, FirewallPoliciesListAllDefaultResponse, - FirewallPoliciesListDefaultResponse, - FirewallPoliciesUpdateTags200Response, - FirewallPoliciesUpdateTagsDefaultResponse, - FirewallPolicyIdpsSignaturesFilterValuesList200Response, - FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse, - FirewallPolicyIdpsSignaturesList200Response, - FirewallPolicyIdpsSignaturesListDefaultResponse, - FirewallPolicyIdpsSignaturesOverridesGet200Response, - FirewallPolicyIdpsSignaturesOverridesGetDefaultResponse, - FirewallPolicyIdpsSignaturesOverridesList200Response, - FirewallPolicyIdpsSignaturesOverridesListDefaultResponse, - FirewallPolicyIdpsSignaturesOverridesPatch200Response, - FirewallPolicyIdpsSignaturesOverridesPatchDefaultResponse, - FirewallPolicyIdpsSignaturesOverridesPut200Response, - FirewallPolicyIdpsSignaturesOverridesPutDefaultResponse, - FirewallPolicyRuleCollectionGroupsCreateOrUpdate200Response, - FirewallPolicyRuleCollectionGroupsCreateOrUpdate201Response, - FirewallPolicyRuleCollectionGroupsCreateOrUpdateDefaultResponse, FirewallPolicyRuleCollectionGroupsDelete200Response, FirewallPolicyRuleCollectionGroupsDelete202Response, FirewallPolicyRuleCollectionGroupsDelete204Response, FirewallPolicyRuleCollectionGroupsDeleteDefaultResponse, FirewallPolicyRuleCollectionGroupsGet200Response, FirewallPolicyRuleCollectionGroupsGetDefaultResponse, + FirewallPolicyRuleCollectionGroupsCreateOrUpdate200Response, + FirewallPolicyRuleCollectionGroupsCreateOrUpdate201Response, + FirewallPolicyRuleCollectionGroupsCreateOrUpdateDefaultResponse, FirewallPolicyRuleCollectionGroupsList200Response, FirewallPolicyRuleCollectionGroupsListDefaultResponse, - FlowLogsCreateOrUpdate200Response, - FlowLogsCreateOrUpdate201Response, - FlowLogsCreateOrUpdateDefaultResponse, - FlowLogsDelete202Response, - FlowLogsDelete204Response, - FlowLogsDeleteDefaultResponse, - FlowLogsGet200Response, - FlowLogsGetDefaultResponse, - FlowLogsList200Response, - FlowLogsListDefaultResponse, - FlowLogsUpdateTags200Response, - FlowLogsUpdateTagsDefaultResponse, - Generatevirtualwanvpnserverconfigurationvpnprofile200Response, - Generatevirtualwanvpnserverconfigurationvpnprofile202Response, - GeneratevirtualwanvpnserverconfigurationvpnprofileDefaultResponse, - GetActiveSessions200Response, - GetActiveSessions202Response, - GetActiveSessionsDefaultResponse, - GetBastionShareableLink200Response, - GetBastionShareableLinkDefaultResponse, - HubRouteTablesCreateOrUpdate200Response, - HubRouteTablesCreateOrUpdate201Response, - HubRouteTablesCreateOrUpdateDefaultResponse, - HubRouteTablesDelete200Response, - HubRouteTablesDelete202Response, - HubRouteTablesDelete204Response, - HubRouteTablesDeleteDefaultResponse, - HubRouteTablesGet200Response, - HubRouteTablesGetDefaultResponse, - HubRouteTablesList200Response, - HubRouteTablesListDefaultResponse, - HubVirtualNetworkConnectionsCreateOrUpdate200Response, - HubVirtualNetworkConnectionsCreateOrUpdate201Response, - HubVirtualNetworkConnectionsCreateOrUpdateDefaultResponse, - HubVirtualNetworkConnectionsDelete200Response, - HubVirtualNetworkConnectionsDelete202Response, - HubVirtualNetworkConnectionsDelete204Response, - HubVirtualNetworkConnectionsDeleteDefaultResponse, - HubVirtualNetworkConnectionsGet200Response, - HubVirtualNetworkConnectionsGetDefaultResponse, - HubVirtualNetworkConnectionsList200Response, - HubVirtualNetworkConnectionsListDefaultResponse, - InboundNatRulesCreateOrUpdate200Response, - InboundNatRulesCreateOrUpdate201Response, - InboundNatRulesCreateOrUpdateDefaultResponse, - InboundNatRulesDelete200Response, - InboundNatRulesDelete202Response, - InboundNatRulesDelete204Response, - InboundNatRulesDeleteDefaultResponse, - InboundNatRulesGet200Response, - InboundNatRulesGetDefaultResponse, - InboundNatRulesList200Response, - InboundNatRulesListDefaultResponse, - InboundSecurityRuleCreateOrUpdate200Response, - InboundSecurityRuleCreateOrUpdate201Response, - InboundSecurityRuleCreateOrUpdateDefaultResponse, - IpAllocationsCreateOrUpdate200Response, - IpAllocationsCreateOrUpdate201Response, - IpAllocationsCreateOrUpdateDefaultResponse, + FirewallPolicyIdpsSignaturesList200Response, + FirewallPolicyIdpsSignaturesListDefaultResponse, + FirewallPolicyIdpsSignaturesOverridesPatch200Response, + FirewallPolicyIdpsSignaturesOverridesPatchDefaultResponse, + FirewallPolicyIdpsSignaturesOverridesPut200Response, + FirewallPolicyIdpsSignaturesOverridesPutDefaultResponse, + FirewallPolicyIdpsSignaturesOverridesGet200Response, + FirewallPolicyIdpsSignaturesOverridesGetDefaultResponse, + FirewallPolicyIdpsSignaturesOverridesList200Response, + FirewallPolicyIdpsSignaturesOverridesListDefaultResponse, + FirewallPolicyIdpsSignaturesFilterValuesList200Response, + FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse, IpAllocationsDelete200Response, IpAllocationsDelete202Response, IpAllocationsDelete204Response, IpAllocationsDeleteDefaultResponse, IpAllocationsGet200Response, IpAllocationsGetDefaultResponse, + IpAllocationsCreateOrUpdate200Response, + IpAllocationsCreateOrUpdate201Response, + IpAllocationsCreateOrUpdateDefaultResponse, + IpAllocationsUpdateTags200Response, + IpAllocationsUpdateTagsDefaultResponse, IpAllocationsList200Response, + IpAllocationsListDefaultResponse, IpAllocationsListByResourceGroup200Response, IpAllocationsListByResourceGroupDefaultResponse, - IpAllocationsListDefaultResponse, - IpAllocationsUpdateTags200Response, - IpAllocationsUpdateTagsDefaultResponse, + IpGroupsGet200Response, + IpGroupsGetDefaultResponse, IpGroupsCreateOrUpdate200Response, IpGroupsCreateOrUpdate201Response, IpGroupsCreateOrUpdateDefaultResponse, + IpGroupsUpdateGroups200Response, + IpGroupsUpdateGroupsDefaultResponse, IpGroupsDelete200Response, IpGroupsDelete202Response, IpGroupsDelete204Response, IpGroupsDeleteDefaultResponse, - IpGroupsGet200Response, - IpGroupsGetDefaultResponse, - IpGroupsList200Response, IpGroupsListByResourceGroup200Response, IpGroupsListByResourceGroupDefaultResponse, + IpGroupsList200Response, IpGroupsListDefaultResponse, - IpGroupsUpdateGroups200Response, - IpGroupsUpdateGroupsDefaultResponse, - ListActiveConnectivityConfigurations200Response, - ListActiveConnectivityConfigurationsDefaultResponse, - ListActiveSecurityAdminRules200Response, - ListActiveSecurityAdminRulesDefaultResponse, - ListNetworkManagerEffectiveConnectivityConfigurations200Response, - ListNetworkManagerEffectiveConnectivityConfigurationsDefaultResponse, - ListNetworkManagerEffectiveSecurityAdminRules200Response, - ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse, + LoadBalancersDelete200Response, + LoadBalancersDelete202Response, + LoadBalancersDelete204Response, + LoadBalancersDeleteDefaultResponse, + LoadBalancersGet200Response, + LoadBalancersGetDefaultResponse, + LoadBalancersCreateOrUpdate200Response, + LoadBalancersCreateOrUpdate201Response, + LoadBalancersCreateOrUpdateDefaultResponse, + LoadBalancersUpdateTags200Response, + LoadBalancersUpdateTagsDefaultResponse, + LoadBalancersListAll200Response, + LoadBalancersListAllDefaultResponse, + LoadBalancersList200Response, + LoadBalancersListDefaultResponse, + LoadBalancersSwapPublicIpAddresses200Response, + LoadBalancersSwapPublicIpAddresses202Response, + LoadBalancersSwapPublicIpAddressesDefaultResponse, + LoadBalancersListInboundNatRulePortMappings200Response, + LoadBalancersListInboundNatRulePortMappings202Response, + LoadBalancersListInboundNatRulePortMappingsDefaultResponse, + LoadBalancerBackendAddressPoolsList200Response, + LoadBalancerBackendAddressPoolsListDefaultResponse, + LoadBalancerBackendAddressPoolsGet200Response, + LoadBalancerBackendAddressPoolsGetDefaultResponse, LoadBalancerBackendAddressPoolsCreateOrUpdate200Response, LoadBalancerBackendAddressPoolsCreateOrUpdate201Response, LoadBalancerBackendAddressPoolsCreateOrUpdateDefaultResponse, @@ -1172,169 +1127,70 @@ import type { LoadBalancerBackendAddressPoolsDelete202Response, LoadBalancerBackendAddressPoolsDelete204Response, LoadBalancerBackendAddressPoolsDeleteDefaultResponse, - LoadBalancerBackendAddressPoolsGet200Response, - LoadBalancerBackendAddressPoolsGetDefaultResponse, - LoadBalancerBackendAddressPoolsList200Response, - LoadBalancerBackendAddressPoolsListDefaultResponse, - LoadBalancerFrontendIPConfigurationsGet200Response, - LoadBalancerFrontendIPConfigurationsGetDefaultResponse, LoadBalancerFrontendIPConfigurationsList200Response, LoadBalancerFrontendIPConfigurationsListDefaultResponse, - LoadBalancerLoadBalancingRulesGet200Response, - LoadBalancerLoadBalancingRulesGetDefaultResponse, + LoadBalancerFrontendIPConfigurationsGet200Response, + LoadBalancerFrontendIPConfigurationsGetDefaultResponse, + InboundNatRulesList200Response, + InboundNatRulesListDefaultResponse, + InboundNatRulesDelete200Response, + InboundNatRulesDelete202Response, + InboundNatRulesDelete204Response, + InboundNatRulesDeleteDefaultResponse, + InboundNatRulesGet200Response, + InboundNatRulesGetDefaultResponse, + InboundNatRulesCreateOrUpdate200Response, + InboundNatRulesCreateOrUpdate201Response, + InboundNatRulesCreateOrUpdateDefaultResponse, LoadBalancerLoadBalancingRulesList200Response, LoadBalancerLoadBalancingRulesListDefaultResponse, - LoadBalancerNetworkInterfacesList200Response, - LoadBalancerNetworkInterfacesListDefaultResponse, - LoadBalancerOutboundRulesGet200Response, - LoadBalancerOutboundRulesGetDefaultResponse, + LoadBalancerLoadBalancingRulesGet200Response, + LoadBalancerLoadBalancingRulesGetDefaultResponse, LoadBalancerOutboundRulesList200Response, LoadBalancerOutboundRulesListDefaultResponse, - LoadBalancerProbesGet200Response, - LoadBalancerProbesGetDefaultResponse, + LoadBalancerOutboundRulesGet200Response, + LoadBalancerOutboundRulesGetDefaultResponse, + LoadBalancerNetworkInterfacesList200Response, + LoadBalancerNetworkInterfacesListDefaultResponse, LoadBalancerProbesList200Response, LoadBalancerProbesListDefaultResponse, - LoadBalancersCreateOrUpdate200Response, - LoadBalancersCreateOrUpdate201Response, - LoadBalancersCreateOrUpdateDefaultResponse, - LoadBalancersDelete200Response, - LoadBalancersDelete202Response, - LoadBalancersDelete204Response, - LoadBalancersDeleteDefaultResponse, - LoadBalancersGet200Response, - LoadBalancersGetDefaultResponse, - LoadBalancersList200Response, - LoadBalancersListAll200Response, - LoadBalancersListAllDefaultResponse, - LoadBalancersListDefaultResponse, - LoadBalancersListInboundNatRulePortMappings200Response, - LoadBalancersListInboundNatRulePortMappings202Response, - LoadBalancersListInboundNatRulePortMappingsDefaultResponse, - LoadBalancersSwapPublicIpAddresses200Response, - LoadBalancersSwapPublicIpAddresses202Response, - LoadBalancersSwapPublicIpAddressesDefaultResponse, - LoadBalancersUpdateTags200Response, - LoadBalancersUpdateTagsDefaultResponse, - LocalNetworkGatewaysCreateOrUpdate200Response, - LocalNetworkGatewaysCreateOrUpdate201Response, - LocalNetworkGatewaysCreateOrUpdateDefaultResponse, - LocalNetworkGatewaysDelete200Response, - LocalNetworkGatewaysDelete202Response, - LocalNetworkGatewaysDelete204Response, - LocalNetworkGatewaysDeleteDefaultResponse, - LocalNetworkGatewaysGet200Response, - LocalNetworkGatewaysGetDefaultResponse, - LocalNetworkGatewaysList200Response, - LocalNetworkGatewaysListDefaultResponse, - LocalNetworkGatewaysUpdateTags200Response, - LocalNetworkGatewaysUpdateTagsDefaultResponse, - ManagementGroupNetworkManagerConnectionsCreateOrUpdate200Response, - ManagementGroupNetworkManagerConnectionsCreateOrUpdate201Response, - ManagementGroupNetworkManagerConnectionsCreateOrUpdateDefaultResponse, - ManagementGroupNetworkManagerConnectionsDelete200Response, - ManagementGroupNetworkManagerConnectionsDelete204Response, - ManagementGroupNetworkManagerConnectionsDeleteDefaultResponse, - ManagementGroupNetworkManagerConnectionsGet200Response, - ManagementGroupNetworkManagerConnectionsGetDefaultResponse, - ManagementGroupNetworkManagerConnectionsList200Response, - ManagementGroupNetworkManagerConnectionsListDefaultResponse, - NatGatewaysCreateOrUpdate200Response, - NatGatewaysCreateOrUpdate201Response, - NatGatewaysCreateOrUpdate202Response, - NatGatewaysCreateOrUpdateDefaultResponse, + LoadBalancerProbesGet200Response, + LoadBalancerProbesGetDefaultResponse, NatGatewaysDelete200Response, NatGatewaysDelete202Response, NatGatewaysDelete204Response, NatGatewaysDeleteDefaultResponse, NatGatewaysGet200Response, NatGatewaysGetDefaultResponse, - NatGatewaysList200Response, + NatGatewaysCreateOrUpdate200Response, + NatGatewaysCreateOrUpdate201Response, + NatGatewaysCreateOrUpdate202Response, + NatGatewaysCreateOrUpdateDefaultResponse, + NatGatewaysUpdateTags200Response, + NatGatewaysUpdateTagsDefaultResponse, NatGatewaysListAll200Response, NatGatewaysListAllDefaultResponse, + NatGatewaysList200Response, NatGatewaysListDefaultResponse, - NatGatewaysUpdateTags200Response, - NatGatewaysUpdateTagsDefaultResponse, - NatRulesCreateOrUpdate200Response, - NatRulesCreateOrUpdate201Response, - NatRulesCreateOrUpdateDefaultResponse, - NatRulesDelete200Response, - NatRulesDelete202Response, - NatRulesDelete204Response, - NatRulesDeleteDefaultResponse, - NatRulesGet200Response, - NatRulesGetDefaultResponse, - NatRulesListByVpnGateway200Response, - NatRulesListByVpnGatewayDefaultResponse, - NetworkGroupsCreateOrUpdate200Response, - NetworkGroupsCreateOrUpdate201Response, - NetworkGroupsCreateOrUpdateDefaultResponse, - NetworkGroupsDelete200Response, - NetworkGroupsDelete202Response, - NetworkGroupsDelete204Response, - NetworkGroupsDeleteDefaultResponse, - NetworkGroupsGet200Response, - NetworkGroupsGetDefaultResponse, - NetworkGroupsList200Response, - NetworkGroupsListDefaultResponse, - NetworkInterfaceIPConfigurationsGet200Response, - NetworkInterfaceIPConfigurationsGetDefaultResponse, NetworkInterfaceIPConfigurationsList200Response, NetworkInterfaceIPConfigurationsListDefaultResponse, + NetworkInterfaceIPConfigurationsGet200Response, + NetworkInterfaceIPConfigurationsGetDefaultResponse, NetworkInterfaceLoadBalancersList200Response, NetworkInterfaceLoadBalancersListDefaultResponse, - NetworkInterfaceTapConfigurationsCreateOrUpdate200Response, - NetworkInterfaceTapConfigurationsCreateOrUpdate201Response, - NetworkInterfaceTapConfigurationsCreateOrUpdateDefaultResponse, NetworkInterfaceTapConfigurationsDelete200Response, NetworkInterfaceTapConfigurationsDelete202Response, NetworkInterfaceTapConfigurationsDelete204Response, NetworkInterfaceTapConfigurationsDeleteDefaultResponse, NetworkInterfaceTapConfigurationsGet200Response, NetworkInterfaceTapConfigurationsGetDefaultResponse, + NetworkInterfaceTapConfigurationsCreateOrUpdate200Response, + NetworkInterfaceTapConfigurationsCreateOrUpdate201Response, + NetworkInterfaceTapConfigurationsCreateOrUpdateDefaultResponse, NetworkInterfaceTapConfigurationsList200Response, NetworkInterfaceTapConfigurationsListDefaultResponse, - NetworkInterfacesCreateOrUpdate200Response, - NetworkInterfacesCreateOrUpdate201Response, - NetworkInterfacesCreateOrUpdateDefaultResponse, - NetworkInterfacesDelete200Response, - NetworkInterfacesDelete202Response, - NetworkInterfacesDelete204Response, - NetworkInterfacesDeleteDefaultResponse, - NetworkInterfacesGet200Response, - NetworkInterfacesGetCloudServiceNetworkInterface200Response, - NetworkInterfacesGetCloudServiceNetworkInterfaceDefaultResponse, - NetworkInterfacesGetDefaultResponse, - NetworkInterfacesGetEffectiveRouteTable200Response, - NetworkInterfacesGetEffectiveRouteTable202Response, - NetworkInterfacesGetEffectiveRouteTableDefaultResponse, - NetworkInterfacesGetVirtualMachineScaleSetIpConfiguration200Response, - NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationDefaultResponse, - NetworkInterfacesGetVirtualMachineScaleSetNetworkInterface200Response, - NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceDefaultResponse, - NetworkInterfacesList200Response, - NetworkInterfacesListAll200Response, - NetworkInterfacesListAllDefaultResponse, - NetworkInterfacesListCloudServiceNetworkInterfaces200Response, - NetworkInterfacesListCloudServiceNetworkInterfacesDefaultResponse, - NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfaces200Response, - NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesDefaultResponse, - NetworkInterfacesListDefaultResponse, - NetworkInterfacesListEffectiveNetworkSecurityGroups200Response, - NetworkInterfacesListEffectiveNetworkSecurityGroups202Response, - NetworkInterfacesListEffectiveNetworkSecurityGroupsDefaultResponse, - NetworkInterfacesListVirtualMachineScaleSetIpConfigurations200Response, - NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsDefaultResponse, - NetworkInterfacesListVirtualMachineScaleSetNetworkInterfaces200Response, - NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesDefaultResponse, - NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfaces200Response, - NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesDefaultResponse, - NetworkInterfacesUpdateTags200Response, - NetworkInterfacesUpdateTagsDefaultResponse, - NetworkManagerCommitsPost200Response, - NetworkManagerCommitsPost202Response, - NetworkManagerCommitsPostDefaultResponse, - NetworkManagerDeploymentStatusList200Response, - NetworkManagerDeploymentStatusListDefaultResponse, + NetworkManagersGet200Response, + NetworkManagersGetDefaultResponse, NetworkManagersCreateOrUpdate200Response, NetworkManagersCreateOrUpdate201Response, NetworkManagersCreateOrUpdateDefaultResponse, @@ -1342,579 +1198,629 @@ import type { NetworkManagersDelete202Response, NetworkManagersDelete204Response, NetworkManagersDeleteDefaultResponse, - NetworkManagersGet200Response, - NetworkManagersGetDefaultResponse, - NetworkManagersList200Response, + NetworkManagersPatch200Response, + NetworkManagersPatchDefaultResponse, NetworkManagersListBySubscription200Response, NetworkManagersListBySubscriptionDefaultResponse, + NetworkManagersList200Response, NetworkManagersListDefaultResponse, - NetworkManagersPatch200Response, - NetworkManagersPatchDefaultResponse, - NetworkProfilesCreateOrUpdate200Response, - NetworkProfilesCreateOrUpdate201Response, - NetworkProfilesCreateOrUpdateDefaultResponse, - NetworkProfilesDelete200Response, - NetworkProfilesDelete202Response, - NetworkProfilesDelete204Response, - NetworkProfilesDeleteDefaultResponse, - NetworkProfilesGet200Response, - NetworkProfilesGetDefaultResponse, - NetworkProfilesList200Response, - NetworkProfilesListAll200Response, - NetworkProfilesListAllDefaultResponse, - NetworkProfilesListDefaultResponse, - NetworkProfilesUpdateTags200Response, - NetworkProfilesUpdateTagsDefaultResponse, - NetworkSecurityGroupsCreateOrUpdate200Response, - NetworkSecurityGroupsCreateOrUpdate201Response, - NetworkSecurityGroupsCreateOrUpdateDefaultResponse, - NetworkSecurityGroupsDelete200Response, - NetworkSecurityGroupsDelete202Response, - NetworkSecurityGroupsDelete204Response, - NetworkSecurityGroupsDeleteDefaultResponse, - NetworkSecurityGroupsGet200Response, - NetworkSecurityGroupsGetDefaultResponse, - NetworkSecurityGroupsList200Response, - NetworkSecurityGroupsListAll200Response, - NetworkSecurityGroupsListAllDefaultResponse, - NetworkSecurityGroupsListDefaultResponse, - NetworkSecurityGroupsUpdateTags200Response, - NetworkSecurityGroupsUpdateTagsDefaultResponse, - NetworkVirtualAppliancesCreateOrUpdate200Response, - NetworkVirtualAppliancesCreateOrUpdate201Response, - NetworkVirtualAppliancesCreateOrUpdateDefaultResponse, - NetworkVirtualAppliancesDelete200Response, - NetworkVirtualAppliancesDelete202Response, - NetworkVirtualAppliancesDelete204Response, - NetworkVirtualAppliancesDeleteDefaultResponse, - NetworkVirtualAppliancesGet200Response, - NetworkVirtualAppliancesGetDefaultResponse, - NetworkVirtualAppliancesList200Response, - NetworkVirtualAppliancesListByResourceGroup200Response, - NetworkVirtualAppliancesListByResourceGroupDefaultResponse, - NetworkVirtualAppliancesListDefaultResponse, - NetworkVirtualAppliancesUpdateTags200Response, - NetworkVirtualAppliancesUpdateTagsDefaultResponse, - NetworkWatchersCheckConnectivity200Response, - NetworkWatchersCheckConnectivity202Response, - NetworkWatchersCheckConnectivityDefaultResponse, + NetworkManagerCommitsPost200Response, + NetworkManagerCommitsPost202Response, + NetworkManagerCommitsPostDefaultResponse, + NetworkManagerDeploymentStatusList200Response, + NetworkManagerDeploymentStatusListDefaultResponse, + SubscriptionNetworkManagerConnectionsCreateOrUpdate200Response, + SubscriptionNetworkManagerConnectionsCreateOrUpdate201Response, + SubscriptionNetworkManagerConnectionsCreateOrUpdateDefaultResponse, + SubscriptionNetworkManagerConnectionsGet200Response, + SubscriptionNetworkManagerConnectionsGetDefaultResponse, + SubscriptionNetworkManagerConnectionsDelete200Response, + SubscriptionNetworkManagerConnectionsDelete204Response, + SubscriptionNetworkManagerConnectionsDeleteDefaultResponse, + SubscriptionNetworkManagerConnectionsList200Response, + SubscriptionNetworkManagerConnectionsListDefaultResponse, + ManagementGroupNetworkManagerConnectionsCreateOrUpdate200Response, + ManagementGroupNetworkManagerConnectionsCreateOrUpdate201Response, + ManagementGroupNetworkManagerConnectionsCreateOrUpdateDefaultResponse, + ManagementGroupNetworkManagerConnectionsGet200Response, + ManagementGroupNetworkManagerConnectionsGetDefaultResponse, + ManagementGroupNetworkManagerConnectionsDelete200Response, + ManagementGroupNetworkManagerConnectionsDelete204Response, + ManagementGroupNetworkManagerConnectionsDeleteDefaultResponse, + ManagementGroupNetworkManagerConnectionsList200Response, + ManagementGroupNetworkManagerConnectionsListDefaultResponse, + ConnectivityConfigurationsGet200Response, + ConnectivityConfigurationsGetDefaultResponse, + ConnectivityConfigurationsCreateOrUpdate200Response, + ConnectivityConfigurationsCreateOrUpdate201Response, + ConnectivityConfigurationsCreateOrUpdateDefaultResponse, + ConnectivityConfigurationsDelete200Response, + ConnectivityConfigurationsDelete202Response, + ConnectivityConfigurationsDelete204Response, + ConnectivityConfigurationsDeleteDefaultResponse, + ConnectivityConfigurationsList200Response, + ConnectivityConfigurationsListDefaultResponse, + NetworkGroupsGet200Response, + NetworkGroupsGetDefaultResponse, + NetworkGroupsCreateOrUpdate200Response, + NetworkGroupsCreateOrUpdate201Response, + NetworkGroupsCreateOrUpdateDefaultResponse, + NetworkGroupsDelete200Response, + NetworkGroupsDelete202Response, + NetworkGroupsDelete204Response, + NetworkGroupsDeleteDefaultResponse, + NetworkGroupsList200Response, + NetworkGroupsListDefaultResponse, + StaticMembersGet200Response, + StaticMembersGetDefaultResponse, + StaticMembersCreateOrUpdate200Response, + StaticMembersCreateOrUpdate201Response, + StaticMembersCreateOrUpdateDefaultResponse, + StaticMembersDelete200Response, + StaticMembersDelete204Response, + StaticMembersDeleteDefaultResponse, + StaticMembersList200Response, + StaticMembersListDefaultResponse, + ScopeConnectionsCreateOrUpdate200Response, + ScopeConnectionsCreateOrUpdate201Response, + ScopeConnectionsCreateOrUpdateDefaultResponse, + ScopeConnectionsGet200Response, + ScopeConnectionsGetDefaultResponse, + ScopeConnectionsDelete200Response, + ScopeConnectionsDelete204Response, + ScopeConnectionsDeleteDefaultResponse, + ScopeConnectionsList200Response, + ScopeConnectionsListDefaultResponse, + SecurityAdminConfigurationsList200Response, + SecurityAdminConfigurationsListDefaultResponse, + SecurityAdminConfigurationsGet200Response, + SecurityAdminConfigurationsGetDefaultResponse, + SecurityAdminConfigurationsCreateOrUpdate200Response, + SecurityAdminConfigurationsCreateOrUpdate201Response, + SecurityAdminConfigurationsCreateOrUpdateDefaultResponse, + SecurityAdminConfigurationsDelete200Response, + SecurityAdminConfigurationsDelete202Response, + SecurityAdminConfigurationsDelete204Response, + SecurityAdminConfigurationsDeleteDefaultResponse, + AdminRuleCollectionsList200Response, + AdminRuleCollectionsListDefaultResponse, + AdminRuleCollectionsGet200Response, + AdminRuleCollectionsGetDefaultResponse, + AdminRuleCollectionsCreateOrUpdate200Response, + AdminRuleCollectionsCreateOrUpdate201Response, + AdminRuleCollectionsCreateOrUpdateDefaultResponse, + AdminRuleCollectionsDelete200Response, + AdminRuleCollectionsDelete202Response, + AdminRuleCollectionsDelete204Response, + AdminRuleCollectionsDeleteDefaultResponse, + AdminRulesList200Response, + AdminRulesListDefaultResponse, + AdminRulesGet200Response, + AdminRulesGetDefaultResponse, + AdminRulesCreateOrUpdate200Response, + AdminRulesCreateOrUpdate201Response, + AdminRulesCreateOrUpdateDefaultResponse, + AdminRulesDelete200Response, + AdminRulesDelete202Response, + AdminRulesDelete204Response, + AdminRulesDeleteDefaultResponse, + NetworkProfilesDelete200Response, + NetworkProfilesDelete202Response, + NetworkProfilesDelete204Response, + NetworkProfilesDeleteDefaultResponse, + NetworkProfilesGet200Response, + NetworkProfilesGetDefaultResponse, + NetworkProfilesCreateOrUpdate200Response, + NetworkProfilesCreateOrUpdate201Response, + NetworkProfilesCreateOrUpdateDefaultResponse, + NetworkProfilesUpdateTags200Response, + NetworkProfilesUpdateTagsDefaultResponse, + NetworkProfilesListAll200Response, + NetworkProfilesListAllDefaultResponse, + NetworkProfilesList200Response, + NetworkProfilesListDefaultResponse, + NetworkSecurityGroupsDelete200Response, + NetworkSecurityGroupsDelete202Response, + NetworkSecurityGroupsDelete204Response, + NetworkSecurityGroupsDeleteDefaultResponse, + NetworkSecurityGroupsGet200Response, + NetworkSecurityGroupsGetDefaultResponse, + NetworkSecurityGroupsCreateOrUpdate200Response, + NetworkSecurityGroupsCreateOrUpdate201Response, + NetworkSecurityGroupsCreateOrUpdateDefaultResponse, + NetworkSecurityGroupsUpdateTags200Response, + NetworkSecurityGroupsUpdateTagsDefaultResponse, + NetworkSecurityGroupsListAll200Response, + NetworkSecurityGroupsListAllDefaultResponse, + NetworkSecurityGroupsList200Response, + NetworkSecurityGroupsListDefaultResponse, + SecurityRulesDelete200Response, + SecurityRulesDelete202Response, + SecurityRulesDelete204Response, + SecurityRulesDeleteDefaultResponse, + SecurityRulesGet200Response, + SecurityRulesGetDefaultResponse, + SecurityRulesCreateOrUpdate200Response, + SecurityRulesCreateOrUpdate201Response, + SecurityRulesCreateOrUpdateDefaultResponse, + SecurityRulesList200Response, + SecurityRulesListDefaultResponse, + DefaultSecurityRulesList200Response, + DefaultSecurityRulesListDefaultResponse, + DefaultSecurityRulesGet200Response, + DefaultSecurityRulesGetDefaultResponse, + NetworkVirtualAppliancesDelete200Response, + NetworkVirtualAppliancesDelete202Response, + NetworkVirtualAppliancesDelete204Response, + NetworkVirtualAppliancesDeleteDefaultResponse, + NetworkVirtualAppliancesGet200Response, + NetworkVirtualAppliancesGetDefaultResponse, + NetworkVirtualAppliancesUpdateTags200Response, + NetworkVirtualAppliancesUpdateTagsDefaultResponse, + NetworkVirtualAppliancesCreateOrUpdate200Response, + NetworkVirtualAppliancesCreateOrUpdate201Response, + NetworkVirtualAppliancesCreateOrUpdateDefaultResponse, + NetworkVirtualAppliancesListByResourceGroup200Response, + NetworkVirtualAppliancesListByResourceGroupDefaultResponse, + NetworkVirtualAppliancesList200Response, + NetworkVirtualAppliancesListDefaultResponse, + VirtualApplianceSitesDelete200Response, + VirtualApplianceSitesDelete202Response, + VirtualApplianceSitesDelete204Response, + VirtualApplianceSitesDeleteDefaultResponse, + VirtualApplianceSitesGet200Response, + VirtualApplianceSitesGetDefaultResponse, + VirtualApplianceSitesCreateOrUpdate200Response, + VirtualApplianceSitesCreateOrUpdate201Response, + VirtualApplianceSitesCreateOrUpdateDefaultResponse, + VirtualApplianceSitesList200Response, + VirtualApplianceSitesListDefaultResponse, + VirtualApplianceSkusList200Response, + VirtualApplianceSkusListDefaultResponse, + VirtualApplianceSkusGet200Response, + VirtualApplianceSkusGetDefaultResponse, + InboundSecurityRuleCreateOrUpdate200Response, + InboundSecurityRuleCreateOrUpdate201Response, + InboundSecurityRuleCreateOrUpdateDefaultResponse, NetworkWatchersCreateOrUpdate200Response, NetworkWatchersCreateOrUpdate201Response, NetworkWatchersCreateOrUpdateDefaultResponse, + NetworkWatchersGet200Response, + NetworkWatchersGetDefaultResponse, NetworkWatchersDelete202Response, NetworkWatchersDelete204Response, NetworkWatchersDeleteDefaultResponse, - NetworkWatchersGet200Response, - NetworkWatchersGetAzureReachabilityReport200Response, - NetworkWatchersGetAzureReachabilityReport202Response, - NetworkWatchersGetAzureReachabilityReportDefaultResponse, - NetworkWatchersGetDefaultResponse, - NetworkWatchersGetFlowLogStatus200Response, - NetworkWatchersGetFlowLogStatus202Response, - NetworkWatchersGetFlowLogStatusDefaultResponse, - NetworkWatchersGetNetworkConfigurationDiagnostic200Response, - NetworkWatchersGetNetworkConfigurationDiagnostic202Response, - NetworkWatchersGetNetworkConfigurationDiagnosticDefaultResponse, + NetworkWatchersUpdateTags200Response, + NetworkWatchersUpdateTagsDefaultResponse, + NetworkWatchersList200Response, + NetworkWatchersListDefaultResponse, + NetworkWatchersListAll200Response, + NetworkWatchersListAllDefaultResponse, + NetworkWatchersGetTopology200Response, + NetworkWatchersGetTopologyDefaultResponse, + NetworkWatchersVerifyIPFlow200Response, + NetworkWatchersVerifyIPFlow202Response, + NetworkWatchersVerifyIPFlowDefaultResponse, NetworkWatchersGetNextHop200Response, NetworkWatchersGetNextHop202Response, NetworkWatchersGetNextHopDefaultResponse, - NetworkWatchersGetTopology200Response, - NetworkWatchersGetTopologyDefaultResponse, + NetworkWatchersGetVMSecurityRules200Response, + NetworkWatchersGetVMSecurityRules202Response, + NetworkWatchersGetVMSecurityRulesDefaultResponse, NetworkWatchersGetTroubleshooting200Response, NetworkWatchersGetTroubleshooting202Response, NetworkWatchersGetTroubleshootingDefaultResponse, NetworkWatchersGetTroubleshootingResult200Response, NetworkWatchersGetTroubleshootingResult202Response, NetworkWatchersGetTroubleshootingResultDefaultResponse, - NetworkWatchersGetVMSecurityRules200Response, - NetworkWatchersGetVMSecurityRules202Response, - NetworkWatchersGetVMSecurityRulesDefaultResponse, - NetworkWatchersList200Response, - NetworkWatchersListAll200Response, - NetworkWatchersListAllDefaultResponse, - NetworkWatchersListAvailableProviders200Response, - NetworkWatchersListAvailableProviders202Response, - NetworkWatchersListAvailableProvidersDefaultResponse, - NetworkWatchersListDefaultResponse, NetworkWatchersSetFlowLogConfiguration200Response, NetworkWatchersSetFlowLogConfiguration202Response, NetworkWatchersSetFlowLogConfigurationDefaultResponse, - NetworkWatchersUpdateTags200Response, - NetworkWatchersUpdateTagsDefaultResponse, - NetworkWatchersVerifyIPFlow200Response, - NetworkWatchersVerifyIPFlow202Response, - NetworkWatchersVerifyIPFlowDefaultResponse, - OperationsList200Response, - OperationsListDefaultResponse, - P2SVpnGatewaysCreateOrUpdate200Response, - P2SVpnGatewaysCreateOrUpdate201Response, - P2SVpnGatewaysCreateOrUpdateDefaultResponse, - P2SVpnGatewaysDelete200Response, - P2SVpnGatewaysDelete202Response, - P2SVpnGatewaysDelete204Response, - P2SVpnGatewaysDeleteDefaultResponse, - P2SVpnGatewaysDisconnectP2SVpnConnections200Response, - P2SVpnGatewaysDisconnectP2SVpnConnections202Response, - P2SVpnGatewaysDisconnectP2SVpnConnectionsDefaultResponse, - P2SVpnGatewaysGenerateVpnProfile200Response, - P2SVpnGatewaysGenerateVpnProfile202Response, - P2SVpnGatewaysGenerateVpnProfileDefaultResponse, - P2SVpnGatewaysGet200Response, - P2SVpnGatewaysGetDefaultResponse, - P2SVpnGatewaysGetP2SVpnConnectionHealth200Response, - P2SVpnGatewaysGetP2SVpnConnectionHealth202Response, - P2SVpnGatewaysGetP2SVpnConnectionHealthDefaultResponse, - P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response, - P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response, - P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedDefaultResponse, - P2SVpnGatewaysList200Response, - P2SVpnGatewaysListByResourceGroup200Response, - P2SVpnGatewaysListByResourceGroupDefaultResponse, - P2SVpnGatewaysListDefaultResponse, - P2SVpnGatewaysReset200Response, - P2SVpnGatewaysReset202Response, - P2SVpnGatewaysResetDefaultResponse, - P2SVpnGatewaysUpdateTags200Response, - P2SVpnGatewaysUpdateTags202Response, - P2SVpnGatewaysUpdateTagsDefaultResponse, + NetworkWatchersGetFlowLogStatus200Response, + NetworkWatchersGetFlowLogStatus202Response, + NetworkWatchersGetFlowLogStatusDefaultResponse, + NetworkWatchersCheckConnectivity200Response, + NetworkWatchersCheckConnectivity202Response, + NetworkWatchersCheckConnectivityDefaultResponse, + NetworkWatchersGetAzureReachabilityReport200Response, + NetworkWatchersGetAzureReachabilityReport202Response, + NetworkWatchersGetAzureReachabilityReportDefaultResponse, + NetworkWatchersListAvailableProviders200Response, + NetworkWatchersListAvailableProviders202Response, + NetworkWatchersListAvailableProvidersDefaultResponse, + NetworkWatchersGetNetworkConfigurationDiagnostic200Response, + NetworkWatchersGetNetworkConfigurationDiagnostic202Response, + NetworkWatchersGetNetworkConfigurationDiagnosticDefaultResponse, PacketCapturesCreate201Response, PacketCapturesCreateDefaultResponse, + PacketCapturesGet200Response, + PacketCapturesGetDefaultResponse, PacketCapturesDelete202Response, PacketCapturesDelete204Response, PacketCapturesDeleteDefaultResponse, - PacketCapturesGet200Response, - PacketCapturesGetDefaultResponse, + PacketCapturesStop200Response, + PacketCapturesStop202Response, + PacketCapturesStopDefaultResponse, PacketCapturesGetStatus200Response, PacketCapturesGetStatus202Response, PacketCapturesGetStatusDefaultResponse, PacketCapturesList200Response, PacketCapturesListDefaultResponse, - PacketCapturesStop200Response, - PacketCapturesStop202Response, - PacketCapturesStopDefaultResponse, - PeerExpressRouteCircuitConnectionsGet200Response, - PeerExpressRouteCircuitConnectionsGetDefaultResponse, - PeerExpressRouteCircuitConnectionsList200Response, - PeerExpressRouteCircuitConnectionsListDefaultResponse, - PrivateDnsZoneGroupsCreateOrUpdate200Response, - PrivateDnsZoneGroupsCreateOrUpdate201Response, - PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse, - PrivateDnsZoneGroupsDelete200Response, - PrivateDnsZoneGroupsDelete202Response, - PrivateDnsZoneGroupsDelete204Response, - PrivateDnsZoneGroupsDeleteDefaultResponse, - PrivateDnsZoneGroupsGet200Response, - PrivateDnsZoneGroupsGetDefaultResponse, - PrivateDnsZoneGroupsList200Response, - PrivateDnsZoneGroupsListDefaultResponse, - PrivateEndpointsCreateOrUpdate200Response, - PrivateEndpointsCreateOrUpdate201Response, - PrivateEndpointsCreateOrUpdateDefaultResponse, + ConnectionMonitorsCreateOrUpdate200Response, + ConnectionMonitorsCreateOrUpdate201Response, + ConnectionMonitorsCreateOrUpdateDefaultResponse, + ConnectionMonitorsGet200Response, + ConnectionMonitorsGetDefaultResponse, + ConnectionMonitorsDelete202Response, + ConnectionMonitorsDelete204Response, + ConnectionMonitorsDeleteDefaultResponse, + ConnectionMonitorsUpdateTags200Response, + ConnectionMonitorsUpdateTagsDefaultResponse, + ConnectionMonitorsStop200Response, + ConnectionMonitorsStop202Response, + ConnectionMonitorsStopDefaultResponse, + ConnectionMonitorsStart200Response, + ConnectionMonitorsStart202Response, + ConnectionMonitorsStartDefaultResponse, + ConnectionMonitorsQuery200Response, + ConnectionMonitorsQuery202Response, + ConnectionMonitorsQueryDefaultResponse, + ConnectionMonitorsList200Response, + ConnectionMonitorsListDefaultResponse, + FlowLogsCreateOrUpdate200Response, + FlowLogsCreateOrUpdate201Response, + FlowLogsCreateOrUpdateDefaultResponse, + FlowLogsUpdateTags200Response, + FlowLogsUpdateTagsDefaultResponse, + FlowLogsGet200Response, + FlowLogsGetDefaultResponse, + FlowLogsDelete202Response, + FlowLogsDelete204Response, + FlowLogsDeleteDefaultResponse, + FlowLogsList200Response, + FlowLogsListDefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, PrivateEndpointsDelete200Response, PrivateEndpointsDelete202Response, PrivateEndpointsDelete204Response, PrivateEndpointsDeleteDefaultResponse, PrivateEndpointsGet200Response, PrivateEndpointsGetDefaultResponse, + PrivateEndpointsCreateOrUpdate200Response, + PrivateEndpointsCreateOrUpdate201Response, + PrivateEndpointsCreateOrUpdateDefaultResponse, PrivateEndpointsList200Response, + PrivateEndpointsListDefaultResponse, PrivateEndpointsListBySubscription200Response, PrivateEndpointsListBySubscriptionDefaultResponse, - PrivateEndpointsListDefaultResponse, - PrivateLinkServicesCheckPrivateLinkServiceVisibility200Response, - PrivateLinkServicesCheckPrivateLinkServiceVisibility202Response, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup200Response, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup202Response, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupDefaultResponse, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityDefaultResponse, - PrivateLinkServicesCreateOrUpdate200Response, - PrivateLinkServicesCreateOrUpdate201Response, - PrivateLinkServicesCreateOrUpdateDefaultResponse, + AvailablePrivateEndpointTypesList200Response, + AvailablePrivateEndpointTypesListDefaultResponse, + AvailablePrivateEndpointTypesListByResourceGroup200Response, + AvailablePrivateEndpointTypesListByResourceGroupDefaultResponse, + PrivateDnsZoneGroupsDelete200Response, + PrivateDnsZoneGroupsDelete202Response, + PrivateDnsZoneGroupsDelete204Response, + PrivateDnsZoneGroupsDeleteDefaultResponse, + PrivateDnsZoneGroupsGet200Response, + PrivateDnsZoneGroupsGetDefaultResponse, + PrivateDnsZoneGroupsCreateOrUpdate200Response, + PrivateDnsZoneGroupsCreateOrUpdate201Response, + PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse, + PrivateDnsZoneGroupsList200Response, + PrivateDnsZoneGroupsListDefaultResponse, PrivateLinkServicesDelete200Response, PrivateLinkServicesDelete202Response, PrivateLinkServicesDelete204Response, PrivateLinkServicesDeleteDefaultResponse, - PrivateLinkServicesDeletePrivateEndpointConnection200Response, - PrivateLinkServicesDeletePrivateEndpointConnection202Response, - PrivateLinkServicesDeletePrivateEndpointConnection204Response, - PrivateLinkServicesDeletePrivateEndpointConnectionDefaultResponse, PrivateLinkServicesGet200Response, PrivateLinkServicesGetDefaultResponse, - PrivateLinkServicesGetPrivateEndpointConnection200Response, - PrivateLinkServicesGetPrivateEndpointConnectionDefaultResponse, + PrivateLinkServicesCreateOrUpdate200Response, + PrivateLinkServicesCreateOrUpdate201Response, + PrivateLinkServicesCreateOrUpdateDefaultResponse, PrivateLinkServicesList200Response, - PrivateLinkServicesListAutoApprovedPrivateLinkServices200Response, - PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroup200Response, - PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupDefaultResponse, - PrivateLinkServicesListAutoApprovedPrivateLinkServicesDefaultResponse, + PrivateLinkServicesListDefaultResponse, PrivateLinkServicesListBySubscription200Response, PrivateLinkServicesListBySubscriptionDefaultResponse, - PrivateLinkServicesListDefaultResponse, - PrivateLinkServicesListPrivateEndpointConnections200Response, - PrivateLinkServicesListPrivateEndpointConnectionsDefaultResponse, + PrivateLinkServicesGetPrivateEndpointConnection200Response, + PrivateLinkServicesGetPrivateEndpointConnectionDefaultResponse, PrivateLinkServicesUpdatePrivateEndpointConnection200Response, PrivateLinkServicesUpdatePrivateEndpointConnectionDefaultResponse, - PublicIPAddressesCreateOrUpdate200Response, - PublicIPAddressesCreateOrUpdate201Response, - PublicIPAddressesCreateOrUpdateDefaultResponse, - PublicIPAddressesDdosProtectionStatus200Response, - PublicIPAddressesDdosProtectionStatus202Response, - PublicIPAddressesDdosProtectionStatusDefaultResponse, - PublicIPAddressesDelete200Response, - PublicIPAddressesDelete202Response, - PublicIPAddressesDelete204Response, - PublicIPAddressesDeleteDefaultResponse, - PublicIPAddressesGet200Response, - PublicIPAddressesGetCloudServicePublicIPAddress200Response, - PublicIPAddressesGetCloudServicePublicIPAddressDefaultResponse, - PublicIPAddressesGetDefaultResponse, - PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddress200Response, - PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressDefaultResponse, - PublicIPAddressesList200Response, - PublicIPAddressesListAll200Response, - PublicIPAddressesListAllDefaultResponse, - PublicIPAddressesListCloudServicePublicIPAddresses200Response, - PublicIPAddressesListCloudServicePublicIPAddressesDefaultResponse, - PublicIPAddressesListCloudServiceRoleInstancePublicIPAddresses200Response, - PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesDefaultResponse, - PublicIPAddressesListDefaultResponse, - PublicIPAddressesListVirtualMachineScaleSetPublicIPAddresses200Response, - PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesDefaultResponse, - PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddresses200Response, - PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesDefaultResponse, - PublicIPAddressesUpdateTags200Response, - PublicIPAddressesUpdateTagsDefaultResponse, - PublicIPPrefixesCreateOrUpdate200Response, - PublicIPPrefixesCreateOrUpdate201Response, - PublicIPPrefixesCreateOrUpdateDefaultResponse, + PrivateLinkServicesDeletePrivateEndpointConnection200Response, + PrivateLinkServicesDeletePrivateEndpointConnection202Response, + PrivateLinkServicesDeletePrivateEndpointConnection204Response, + PrivateLinkServicesDeletePrivateEndpointConnectionDefaultResponse, + PrivateLinkServicesListPrivateEndpointConnections200Response, + PrivateLinkServicesListPrivateEndpointConnectionsDefaultResponse, + PrivateLinkServicesCheckPrivateLinkServiceVisibility200Response, + PrivateLinkServicesCheckPrivateLinkServiceVisibility202Response, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityDefaultResponse, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup200Response, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup202Response, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupDefaultResponse, + PrivateLinkServicesListAutoApprovedPrivateLinkServices200Response, + PrivateLinkServicesListAutoApprovedPrivateLinkServicesDefaultResponse, + PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroup200Response, + PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupDefaultResponse, PublicIPPrefixesDelete200Response, PublicIPPrefixesDelete202Response, PublicIPPrefixesDelete204Response, PublicIPPrefixesDeleteDefaultResponse, PublicIPPrefixesGet200Response, PublicIPPrefixesGetDefaultResponse, - PublicIPPrefixesList200Response, + PublicIPPrefixesCreateOrUpdate200Response, + PublicIPPrefixesCreateOrUpdate201Response, + PublicIPPrefixesCreateOrUpdateDefaultResponse, + PublicIPPrefixesUpdateTags200Response, + PublicIPPrefixesUpdateTagsDefaultResponse, PublicIPPrefixesListAll200Response, PublicIPPrefixesListAllDefaultResponse, + PublicIPPrefixesList200Response, PublicIPPrefixesListDefaultResponse, - PublicIPPrefixesUpdateTags200Response, - PublicIPPrefixesUpdateTagsDefaultResponse, - PutBastionShareableLink200Response, - PutBastionShareableLink202Response, - PutBastionShareableLinkDefaultResponse, - ResourceNavigationLinksList200Response, - ResourceNavigationLinksListDefaultResponse, - RouteFilterRulesCreateOrUpdate200Response, - RouteFilterRulesCreateOrUpdate201Response, - RouteFilterRulesCreateOrUpdateDefaultResponse, - RouteFilterRulesDelete200Response, - RouteFilterRulesDelete202Response, - RouteFilterRulesDelete204Response, - RouteFilterRulesDeleteDefaultResponse, - RouteFilterRulesGet200Response, - RouteFilterRulesGetDefaultResponse, - RouteFilterRulesListByRouteFilter200Response, - RouteFilterRulesListByRouteFilterDefaultResponse, - RouteFiltersCreateOrUpdate200Response, - RouteFiltersCreateOrUpdate201Response, - RouteFiltersCreateOrUpdateDefaultResponse, RouteFiltersDelete200Response, RouteFiltersDelete202Response, RouteFiltersDelete204Response, RouteFiltersDeleteDefaultResponse, RouteFiltersGet200Response, RouteFiltersGetDefaultResponse, - RouteFiltersList200Response, + RouteFiltersCreateOrUpdate200Response, + RouteFiltersCreateOrUpdate201Response, + RouteFiltersCreateOrUpdateDefaultResponse, + RouteFiltersUpdateTags200Response, + RouteFiltersUpdateTagsDefaultResponse, RouteFiltersListByResourceGroup200Response, RouteFiltersListByResourceGroupDefaultResponse, + RouteFiltersList200Response, RouteFiltersListDefaultResponse, - RouteFiltersUpdateTags200Response, - RouteFiltersUpdateTagsDefaultResponse, - RouteMapsCreateOrUpdate200Response, - RouteMapsCreateOrUpdate201Response, - RouteMapsCreateOrUpdateDefaultResponse, - RouteMapsDelete200Response, - RouteMapsDelete202Response, - RouteMapsDelete204Response, - RouteMapsDeleteDefaultResponse, - RouteMapsGet200Response, - RouteMapsGetDefaultResponse, - RouteMapsList200Response, - RouteMapsListDefaultResponse, - RouteTablesCreateOrUpdate200Response, - RouteTablesCreateOrUpdate201Response, - RouteTablesCreateOrUpdateDefaultResponse, + RouteFilterRulesDelete200Response, + RouteFilterRulesDelete202Response, + RouteFilterRulesDelete204Response, + RouteFilterRulesDeleteDefaultResponse, + RouteFilterRulesGet200Response, + RouteFilterRulesGetDefaultResponse, + RouteFilterRulesCreateOrUpdate200Response, + RouteFilterRulesCreateOrUpdate201Response, + RouteFilterRulesCreateOrUpdateDefaultResponse, + RouteFilterRulesListByRouteFilter200Response, + RouteFilterRulesListByRouteFilterDefaultResponse, RouteTablesDelete200Response, RouteTablesDelete202Response, RouteTablesDelete204Response, RouteTablesDeleteDefaultResponse, RouteTablesGet200Response, RouteTablesGetDefaultResponse, + RouteTablesCreateOrUpdate200Response, + RouteTablesCreateOrUpdate201Response, + RouteTablesCreateOrUpdateDefaultResponse, + RouteTablesUpdateTags200Response, + RouteTablesUpdateTagsDefaultResponse, RouteTablesList200Response, + RouteTablesListDefaultResponse, RouteTablesListAll200Response, RouteTablesListAllDefaultResponse, - RouteTablesListDefaultResponse, - RouteTablesUpdateTags200Response, - RouteTablesUpdateTagsDefaultResponse, - RoutesCreateOrUpdate200Response, - RoutesCreateOrUpdate201Response, - RoutesCreateOrUpdateDefaultResponse, RoutesDelete200Response, RoutesDelete202Response, RoutesDelete204Response, RoutesDeleteDefaultResponse, RoutesGet200Response, RoutesGetDefaultResponse, + RoutesCreateOrUpdate200Response, + RoutesCreateOrUpdate201Response, + RoutesCreateOrUpdateDefaultResponse, RoutesList200Response, RoutesListDefaultResponse, - RoutingIntentCreateOrUpdate200Response, - RoutingIntentCreateOrUpdate201Response, - RoutingIntentCreateOrUpdateDefaultResponse, - RoutingIntentDelete200Response, - RoutingIntentDelete202Response, - RoutingIntentDelete204Response, - RoutingIntentDeleteDefaultResponse, - RoutingIntentGet200Response, - RoutingIntentGetDefaultResponse, - RoutingIntentList200Response, - RoutingIntentListDefaultResponse, - ScopeConnectionsCreateOrUpdate200Response, - ScopeConnectionsCreateOrUpdate201Response, - ScopeConnectionsCreateOrUpdateDefaultResponse, - ScopeConnectionsDelete200Response, - ScopeConnectionsDelete204Response, - ScopeConnectionsDeleteDefaultResponse, - ScopeConnectionsGet200Response, - ScopeConnectionsGetDefaultResponse, - ScopeConnectionsList200Response, - ScopeConnectionsListDefaultResponse, - SecurityAdminConfigurationsCreateOrUpdate200Response, - SecurityAdminConfigurationsCreateOrUpdate201Response, - SecurityAdminConfigurationsCreateOrUpdateDefaultResponse, - SecurityAdminConfigurationsDelete200Response, - SecurityAdminConfigurationsDelete202Response, - SecurityAdminConfigurationsDelete204Response, - SecurityAdminConfigurationsDeleteDefaultResponse, - SecurityAdminConfigurationsGet200Response, - SecurityAdminConfigurationsGetDefaultResponse, - SecurityAdminConfigurationsList200Response, - SecurityAdminConfigurationsListDefaultResponse, - SecurityPartnerProvidersCreateOrUpdate200Response, - SecurityPartnerProvidersCreateOrUpdate201Response, - SecurityPartnerProvidersCreateOrUpdateDefaultResponse, SecurityPartnerProvidersDelete200Response, SecurityPartnerProvidersDelete202Response, SecurityPartnerProvidersDelete204Response, SecurityPartnerProvidersDeleteDefaultResponse, SecurityPartnerProvidersGet200Response, SecurityPartnerProvidersGetDefaultResponse, - SecurityPartnerProvidersList200Response, + SecurityPartnerProvidersCreateOrUpdate200Response, + SecurityPartnerProvidersCreateOrUpdate201Response, + SecurityPartnerProvidersCreateOrUpdateDefaultResponse, + SecurityPartnerProvidersUpdateTags200Response, + SecurityPartnerProvidersUpdateTagsDefaultResponse, SecurityPartnerProvidersListByResourceGroup200Response, SecurityPartnerProvidersListByResourceGroupDefaultResponse, + SecurityPartnerProvidersList200Response, SecurityPartnerProvidersListDefaultResponse, - SecurityPartnerProvidersUpdateTags200Response, - SecurityPartnerProvidersUpdateTagsDefaultResponse, - SecurityRulesCreateOrUpdate200Response, - SecurityRulesCreateOrUpdate201Response, - SecurityRulesCreateOrUpdateDefaultResponse, - SecurityRulesDelete200Response, - SecurityRulesDelete202Response, - SecurityRulesDelete204Response, - SecurityRulesDeleteDefaultResponse, - SecurityRulesGet200Response, - SecurityRulesGetDefaultResponse, - SecurityRulesList200Response, - SecurityRulesListDefaultResponse, - ServiceAssociationLinksList200Response, - ServiceAssociationLinksListDefaultResponse, - ServiceEndpointPoliciesCreateOrUpdate200Response, - ServiceEndpointPoliciesCreateOrUpdate201Response, - ServiceEndpointPoliciesCreateOrUpdateDefaultResponse, + BgpServiceCommunitiesList200Response, + BgpServiceCommunitiesListDefaultResponse, ServiceEndpointPoliciesDelete200Response, ServiceEndpointPoliciesDelete202Response, ServiceEndpointPoliciesDelete204Response, ServiceEndpointPoliciesDeleteDefaultResponse, ServiceEndpointPoliciesGet200Response, ServiceEndpointPoliciesGetDefaultResponse, + ServiceEndpointPoliciesCreateOrUpdate200Response, + ServiceEndpointPoliciesCreateOrUpdate201Response, + ServiceEndpointPoliciesCreateOrUpdateDefaultResponse, + ServiceEndpointPoliciesUpdateTags200Response, + ServiceEndpointPoliciesUpdateTagsDefaultResponse, ServiceEndpointPoliciesList200Response, + ServiceEndpointPoliciesListDefaultResponse, ServiceEndpointPoliciesListByResourceGroup200Response, ServiceEndpointPoliciesListByResourceGroupDefaultResponse, - ServiceEndpointPoliciesListDefaultResponse, - ServiceEndpointPoliciesUpdateTags200Response, - ServiceEndpointPoliciesUpdateTagsDefaultResponse, - ServiceEndpointPolicyDefinitionsCreateOrUpdate200Response, - ServiceEndpointPolicyDefinitionsCreateOrUpdate201Response, - ServiceEndpointPolicyDefinitionsCreateOrUpdateDefaultResponse, ServiceEndpointPolicyDefinitionsDelete200Response, ServiceEndpointPolicyDefinitionsDelete202Response, ServiceEndpointPolicyDefinitionsDelete204Response, ServiceEndpointPolicyDefinitionsDeleteDefaultResponse, ServiceEndpointPolicyDefinitionsGet200Response, ServiceEndpointPolicyDefinitionsGetDefaultResponse, + ServiceEndpointPolicyDefinitionsCreateOrUpdate200Response, + ServiceEndpointPolicyDefinitionsCreateOrUpdate201Response, + ServiceEndpointPolicyDefinitionsCreateOrUpdateDefaultResponse, ServiceEndpointPolicyDefinitionsListByResourceGroup200Response, ServiceEndpointPolicyDefinitionsListByResourceGroupDefaultResponse, - ServiceTagInformationList200Response, - ServiceTagInformationListDefaultResponse, ServiceTagsList200Response, ServiceTagsListDefaultResponse, - StaticMembersCreateOrUpdate200Response, - StaticMembersCreateOrUpdate201Response, - StaticMembersCreateOrUpdateDefaultResponse, - StaticMembersDelete200Response, - StaticMembersDelete204Response, - StaticMembersDeleteDefaultResponse, - StaticMembersGet200Response, - StaticMembersGetDefaultResponse, - StaticMembersList200Response, - StaticMembersListDefaultResponse, - SubnetsCreateOrUpdate200Response, - SubnetsCreateOrUpdate201Response, - SubnetsCreateOrUpdateDefaultResponse, + ServiceTagInformationList200Response, + ServiceTagInformationListDefaultResponse, + UsagesList200Response, + UsagesListDefaultResponse, + VirtualNetworksDelete200Response, + VirtualNetworksDelete202Response, + VirtualNetworksDelete204Response, + VirtualNetworksDeleteDefaultResponse, + VirtualNetworksGet200Response, + VirtualNetworksGetDefaultResponse, + VirtualNetworksCreateOrUpdate200Response, + VirtualNetworksCreateOrUpdate201Response, + VirtualNetworksCreateOrUpdateDefaultResponse, + VirtualNetworksUpdateTags200Response, + VirtualNetworksUpdateTagsDefaultResponse, + VirtualNetworksListAll200Response, + VirtualNetworksListAllDefaultResponse, + VirtualNetworksList200Response, + VirtualNetworksListDefaultResponse, + VirtualNetworksCheckIPAddressAvailability200Response, + VirtualNetworksCheckIPAddressAvailabilityDefaultResponse, + VirtualNetworksListUsage200Response, + VirtualNetworksListUsageDefaultResponse, + VirtualNetworksListDdosProtectionStatus200Response, + VirtualNetworksListDdosProtectionStatus202Response, + VirtualNetworksListDdosProtectionStatusDefaultResponse, SubnetsDelete200Response, SubnetsDelete202Response, SubnetsDelete204Response, SubnetsDeleteDefaultResponse, SubnetsGet200Response, SubnetsGetDefaultResponse, - SubnetsList200Response, - SubnetsListDefaultResponse, + SubnetsCreateOrUpdate200Response, + SubnetsCreateOrUpdate201Response, + SubnetsCreateOrUpdateDefaultResponse, SubnetsPrepareNetworkPolicies200Response, SubnetsPrepareNetworkPolicies202Response, SubnetsPrepareNetworkPoliciesDefaultResponse, SubnetsUnprepareNetworkPolicies200Response, SubnetsUnprepareNetworkPolicies202Response, SubnetsUnprepareNetworkPoliciesDefaultResponse, - SubscriptionNetworkManagerConnectionsCreateOrUpdate200Response, - SubscriptionNetworkManagerConnectionsCreateOrUpdate201Response, - SubscriptionNetworkManagerConnectionsCreateOrUpdateDefaultResponse, - SubscriptionNetworkManagerConnectionsDelete200Response, - SubscriptionNetworkManagerConnectionsDelete204Response, - SubscriptionNetworkManagerConnectionsDeleteDefaultResponse, - SubscriptionNetworkManagerConnectionsGet200Response, - SubscriptionNetworkManagerConnectionsGetDefaultResponse, - SubscriptionNetworkManagerConnectionsList200Response, - SubscriptionNetworkManagerConnectionsListDefaultResponse, - SupportedSecurityProviders200Response, - SupportedSecurityProvidersDefaultResponse, - UsagesList200Response, - UsagesListDefaultResponse, - VipSwapCreate200Response, - VipSwapCreate202Response, - VipSwapCreateDefaultResponse, - VipSwapGet200Response, - VipSwapGetDefaultResponse, - VipSwapList200Response, - VipSwapListDefaultResponse, - VirtualApplianceSitesCreateOrUpdate200Response, - VirtualApplianceSitesCreateOrUpdate201Response, - VirtualApplianceSitesCreateOrUpdateDefaultResponse, - VirtualApplianceSitesDelete200Response, - VirtualApplianceSitesDelete202Response, - VirtualApplianceSitesDelete204Response, - VirtualApplianceSitesDeleteDefaultResponse, - VirtualApplianceSitesGet200Response, - VirtualApplianceSitesGetDefaultResponse, - VirtualApplianceSitesList200Response, - VirtualApplianceSitesListDefaultResponse, - VirtualApplianceSkusGet200Response, - VirtualApplianceSkusGetDefaultResponse, - VirtualApplianceSkusList200Response, - VirtualApplianceSkusListDefaultResponse, - VirtualHubBgpConnectionCreateOrUpdate200Response, - VirtualHubBgpConnectionCreateOrUpdate201Response, - VirtualHubBgpConnectionCreateOrUpdateDefaultResponse, - VirtualHubBgpConnectionDelete200Response, - VirtualHubBgpConnectionDelete202Response, - VirtualHubBgpConnectionDelete204Response, - VirtualHubBgpConnectionDeleteDefaultResponse, - VirtualHubBgpConnectionGet200Response, - VirtualHubBgpConnectionGetDefaultResponse, - VirtualHubBgpConnectionsList200Response, - VirtualHubBgpConnectionsListAdvertisedRoutes200Response, - VirtualHubBgpConnectionsListAdvertisedRoutes202Response, - VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse, - VirtualHubBgpConnectionsListDefaultResponse, - VirtualHubBgpConnectionsListLearnedRoutes200Response, - VirtualHubBgpConnectionsListLearnedRoutes202Response, - VirtualHubBgpConnectionsListLearnedRoutesDefaultResponse, - VirtualHubIpConfigurationCreateOrUpdate200Response, - VirtualHubIpConfigurationCreateOrUpdate201Response, - VirtualHubIpConfigurationCreateOrUpdateDefaultResponse, - VirtualHubIpConfigurationDelete200Response, - VirtualHubIpConfigurationDelete202Response, - VirtualHubIpConfigurationDelete204Response, - VirtualHubIpConfigurationDeleteDefaultResponse, - VirtualHubIpConfigurationGet200Response, - VirtualHubIpConfigurationGetDefaultResponse, - VirtualHubIpConfigurationList200Response, - VirtualHubIpConfigurationListDefaultResponse, - VirtualHubRouteTableV2SCreateOrUpdate200Response, - VirtualHubRouteTableV2SCreateOrUpdate201Response, - VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse, - VirtualHubRouteTableV2SDelete200Response, - VirtualHubRouteTableV2SDelete202Response, - VirtualHubRouteTableV2SDelete204Response, - VirtualHubRouteTableV2SDeleteDefaultResponse, - VirtualHubRouteTableV2SGet200Response, - VirtualHubRouteTableV2SGetDefaultResponse, - VirtualHubRouteTableV2SList200Response, - VirtualHubRouteTableV2SListDefaultResponse, - VirtualHubsCreateOrUpdate200Response, - VirtualHubsCreateOrUpdate201Response, - VirtualHubsCreateOrUpdateDefaultResponse, - VirtualHubsDelete200Response, - VirtualHubsDelete202Response, - VirtualHubsDelete204Response, - VirtualHubsDeleteDefaultResponse, - VirtualHubsGet200Response, - VirtualHubsGetDefaultResponse, - VirtualHubsGetEffectiveVirtualHubRoutes200Response, - VirtualHubsGetEffectiveVirtualHubRoutes202Response, - VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse, - VirtualHubsGetInboundRoutes200Response, - VirtualHubsGetInboundRoutes202Response, - VirtualHubsGetInboundRoutesDefaultResponse, - VirtualHubsGetOutboundRoutes200Response, - VirtualHubsGetOutboundRoutes202Response, - VirtualHubsGetOutboundRoutesDefaultResponse, - VirtualHubsList200Response, - VirtualHubsListByResourceGroup200Response, - VirtualHubsListByResourceGroupDefaultResponse, - VirtualHubsListDefaultResponse, - VirtualHubsUpdateTags200Response, - VirtualHubsUpdateTagsDefaultResponse, + SubnetsList200Response, + SubnetsListDefaultResponse, + ResourceNavigationLinksList200Response, + ResourceNavigationLinksListDefaultResponse, + ServiceAssociationLinksList200Response, + ServiceAssociationLinksListDefaultResponse, + VirtualNetworkPeeringsDelete200Response, + VirtualNetworkPeeringsDelete202Response, + VirtualNetworkPeeringsDelete204Response, + VirtualNetworkPeeringsDeleteDefaultResponse, + VirtualNetworkPeeringsGet200Response, + VirtualNetworkPeeringsGetDefaultResponse, + VirtualNetworkPeeringsCreateOrUpdate200Response, + VirtualNetworkPeeringsCreateOrUpdate201Response, + VirtualNetworkPeeringsCreateOrUpdateDefaultResponse, + VirtualNetworkPeeringsList200Response, + VirtualNetworkPeeringsListDefaultResponse, + VirtualNetworkGatewaysCreateOrUpdate200Response, + VirtualNetworkGatewaysCreateOrUpdate201Response, + VirtualNetworkGatewaysCreateOrUpdateDefaultResponse, + VirtualNetworkGatewaysGet200Response, + VirtualNetworkGatewaysGetDefaultResponse, + VirtualNetworkGatewaysDelete200Response, + VirtualNetworkGatewaysDelete202Response, + VirtualNetworkGatewaysDelete204Response, + VirtualNetworkGatewaysDeleteDefaultResponse, + VirtualNetworkGatewaysUpdateTags200Response, + VirtualNetworkGatewaysUpdateTags202Response, + VirtualNetworkGatewaysUpdateTagsDefaultResponse, + VirtualNetworkGatewaysList200Response, + VirtualNetworkGatewaysListDefaultResponse, + VirtualNetworkGatewaysListConnections200Response, + VirtualNetworkGatewaysListConnectionsDefaultResponse, + VirtualNetworkGatewaysReset200Response, + VirtualNetworkGatewaysReset202Response, + VirtualNetworkGatewaysResetDefaultResponse, + VirtualNetworkGatewaysResetVpnClientSharedKey200Response, + VirtualNetworkGatewaysResetVpnClientSharedKey202Response, + VirtualNetworkGatewaysResetVpnClientSharedKeyDefaultResponse, + VirtualNetworkGatewaysGeneratevpnclientpackage200Response, + VirtualNetworkGatewaysGeneratevpnclientpackage202Response, + VirtualNetworkGatewaysGeneratevpnclientpackageDefaultResponse, + VirtualNetworkGatewaysGenerateVpnProfile200Response, + VirtualNetworkGatewaysGenerateVpnProfile202Response, + VirtualNetworkGatewaysGenerateVpnProfileDefaultResponse, + VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response, + VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response, + VirtualNetworkGatewaysGetVpnProfilePackageUrlDefaultResponse, + VirtualNetworkGatewaysGetBgpPeerStatus200Response, + VirtualNetworkGatewaysGetBgpPeerStatus202Response, + VirtualNetworkGatewaysGetBgpPeerStatusDefaultResponse, + VirtualNetworkGatewaysSupportedVpnDevices200Response, + VirtualNetworkGatewaysSupportedVpnDevicesDefaultResponse, + VirtualNetworkGatewaysGetLearnedRoutes200Response, + VirtualNetworkGatewaysGetLearnedRoutes202Response, + VirtualNetworkGatewaysGetLearnedRoutesDefaultResponse, + VirtualNetworkGatewaysGetAdvertisedRoutes200Response, + VirtualNetworkGatewaysGetAdvertisedRoutes202Response, + VirtualNetworkGatewaysGetAdvertisedRoutesDefaultResponse, + VirtualNetworkGatewaysSetVpnclientIpsecParameters200Response, + VirtualNetworkGatewaysSetVpnclientIpsecParameters202Response, + VirtualNetworkGatewaysSetVpnclientIpsecParametersDefaultResponse, + VirtualNetworkGatewaysGetVpnclientIpsecParameters200Response, + VirtualNetworkGatewaysGetVpnclientIpsecParametersDefaultResponse, + VirtualNetworkGatewaysVpnDeviceConfigurationScript200Response, + VirtualNetworkGatewaysVpnDeviceConfigurationScriptDefaultResponse, + VirtualNetworkGatewaysStartPacketCapture200Response, + VirtualNetworkGatewaysStartPacketCapture202Response, + VirtualNetworkGatewaysStartPacketCaptureDefaultResponse, + VirtualNetworkGatewaysStopPacketCapture200Response, + VirtualNetworkGatewaysStopPacketCapture202Response, + VirtualNetworkGatewaysStopPacketCaptureDefaultResponse, + VirtualNetworkGatewaysGetVpnclientConnectionHealth200Response, + VirtualNetworkGatewaysGetVpnclientConnectionHealth202Response, + VirtualNetworkGatewaysGetVpnclientConnectionHealthDefaultResponse, + VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections200Response, + VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections202Response, + VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsDefaultResponse, VirtualNetworkGatewayConnectionsCreateOrUpdate200Response, VirtualNetworkGatewayConnectionsCreateOrUpdate201Response, VirtualNetworkGatewayConnectionsCreateOrUpdateDefaultResponse, + VirtualNetworkGatewayConnectionsGet200Response, + VirtualNetworkGatewayConnectionsGetDefaultResponse, VirtualNetworkGatewayConnectionsDelete200Response, VirtualNetworkGatewayConnectionsDelete202Response, VirtualNetworkGatewayConnectionsDelete204Response, VirtualNetworkGatewayConnectionsDeleteDefaultResponse, - VirtualNetworkGatewayConnectionsGet200Response, - VirtualNetworkGatewayConnectionsGetDefaultResponse, - VirtualNetworkGatewayConnectionsGetIkeSas200Response, - VirtualNetworkGatewayConnectionsGetIkeSas202Response, - VirtualNetworkGatewayConnectionsGetIkeSasDefaultResponse, + VirtualNetworkGatewayConnectionsUpdateTags200Response, + VirtualNetworkGatewayConnectionsUpdateTags202Response, + VirtualNetworkGatewayConnectionsUpdateTagsDefaultResponse, + VirtualNetworkGatewayConnectionsSetSharedKey200Response, + VirtualNetworkGatewayConnectionsSetSharedKey201Response, + VirtualNetworkGatewayConnectionsSetSharedKeyDefaultResponse, VirtualNetworkGatewayConnectionsGetSharedKey200Response, VirtualNetworkGatewayConnectionsGetSharedKeyDefaultResponse, VirtualNetworkGatewayConnectionsList200Response, VirtualNetworkGatewayConnectionsListDefaultResponse, - VirtualNetworkGatewayConnectionsResetConnection202Response, - VirtualNetworkGatewayConnectionsResetConnectionDefaultResponse, VirtualNetworkGatewayConnectionsResetSharedKey200Response, - VirtualNetworkGatewayConnectionsResetSharedKey202Response, - VirtualNetworkGatewayConnectionsResetSharedKeyDefaultResponse, - VirtualNetworkGatewayConnectionsSetSharedKey200Response, - VirtualNetworkGatewayConnectionsSetSharedKey201Response, - VirtualNetworkGatewayConnectionsSetSharedKeyDefaultResponse, + VirtualNetworkGatewayConnectionsResetSharedKey202Response, + VirtualNetworkGatewayConnectionsResetSharedKeyDefaultResponse, VirtualNetworkGatewayConnectionsStartPacketCapture200Response, VirtualNetworkGatewayConnectionsStartPacketCapture202Response, VirtualNetworkGatewayConnectionsStartPacketCaptureDefaultResponse, VirtualNetworkGatewayConnectionsStopPacketCapture200Response, VirtualNetworkGatewayConnectionsStopPacketCapture202Response, VirtualNetworkGatewayConnectionsStopPacketCaptureDefaultResponse, - VirtualNetworkGatewayConnectionsUpdateTags200Response, - VirtualNetworkGatewayConnectionsUpdateTags202Response, - VirtualNetworkGatewayConnectionsUpdateTagsDefaultResponse, + VirtualNetworkGatewayConnectionsGetIkeSas200Response, + VirtualNetworkGatewayConnectionsGetIkeSas202Response, + VirtualNetworkGatewayConnectionsGetIkeSasDefaultResponse, + VirtualNetworkGatewayConnectionsResetConnection202Response, + VirtualNetworkGatewayConnectionsResetConnectionDefaultResponse, + LocalNetworkGatewaysCreateOrUpdate200Response, + LocalNetworkGatewaysCreateOrUpdate201Response, + LocalNetworkGatewaysCreateOrUpdateDefaultResponse, + LocalNetworkGatewaysGet200Response, + LocalNetworkGatewaysGetDefaultResponse, + LocalNetworkGatewaysDelete200Response, + LocalNetworkGatewaysDelete202Response, + LocalNetworkGatewaysDelete204Response, + LocalNetworkGatewaysDeleteDefaultResponse, + LocalNetworkGatewaysUpdateTags200Response, + LocalNetworkGatewaysUpdateTagsDefaultResponse, + LocalNetworkGatewaysList200Response, + LocalNetworkGatewaysListDefaultResponse, + VirtualNetworkGatewayNatRulesGet200Response, + VirtualNetworkGatewayNatRulesGetDefaultResponse, VirtualNetworkGatewayNatRulesCreateOrUpdate200Response, VirtualNetworkGatewayNatRulesCreateOrUpdate201Response, VirtualNetworkGatewayNatRulesCreateOrUpdateDefaultResponse, @@ -1922,188 +1828,168 @@ import type { VirtualNetworkGatewayNatRulesDelete202Response, VirtualNetworkGatewayNatRulesDelete204Response, VirtualNetworkGatewayNatRulesDeleteDefaultResponse, - VirtualNetworkGatewayNatRulesGet200Response, - VirtualNetworkGatewayNatRulesGetDefaultResponse, VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway200Response, VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayDefaultResponse, - VirtualNetworkGatewaysCreateOrUpdate200Response, - VirtualNetworkGatewaysCreateOrUpdate201Response, - VirtualNetworkGatewaysCreateOrUpdateDefaultResponse, - VirtualNetworkGatewaysDelete200Response, - VirtualNetworkGatewaysDelete202Response, - VirtualNetworkGatewaysDelete204Response, - VirtualNetworkGatewaysDeleteDefaultResponse, - VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections200Response, - VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections202Response, - VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsDefaultResponse, - VirtualNetworkGatewaysGenerateVpnProfile200Response, - VirtualNetworkGatewaysGenerateVpnProfile202Response, - VirtualNetworkGatewaysGenerateVpnProfileDefaultResponse, - VirtualNetworkGatewaysGeneratevpnclientpackage200Response, - VirtualNetworkGatewaysGeneratevpnclientpackage202Response, - VirtualNetworkGatewaysGeneratevpnclientpackageDefaultResponse, - VirtualNetworkGatewaysGet200Response, - VirtualNetworkGatewaysGetAdvertisedRoutes200Response, - VirtualNetworkGatewaysGetAdvertisedRoutes202Response, - VirtualNetworkGatewaysGetAdvertisedRoutesDefaultResponse, - VirtualNetworkGatewaysGetBgpPeerStatus200Response, - VirtualNetworkGatewaysGetBgpPeerStatus202Response, - VirtualNetworkGatewaysGetBgpPeerStatusDefaultResponse, - VirtualNetworkGatewaysGetDefaultResponse, - VirtualNetworkGatewaysGetLearnedRoutes200Response, - VirtualNetworkGatewaysGetLearnedRoutes202Response, - VirtualNetworkGatewaysGetLearnedRoutesDefaultResponse, - VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response, - VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response, - VirtualNetworkGatewaysGetVpnProfilePackageUrlDefaultResponse, - VirtualNetworkGatewaysGetVpnclientConnectionHealth200Response, - VirtualNetworkGatewaysGetVpnclientConnectionHealth202Response, - VirtualNetworkGatewaysGetVpnclientConnectionHealthDefaultResponse, - VirtualNetworkGatewaysGetVpnclientIpsecParameters200Response, - VirtualNetworkGatewaysGetVpnclientIpsecParametersDefaultResponse, - VirtualNetworkGatewaysList200Response, - VirtualNetworkGatewaysListConnections200Response, - VirtualNetworkGatewaysListConnectionsDefaultResponse, - VirtualNetworkGatewaysListDefaultResponse, - VirtualNetworkGatewaysReset200Response, - VirtualNetworkGatewaysReset202Response, - VirtualNetworkGatewaysResetDefaultResponse, - VirtualNetworkGatewaysResetVpnClientSharedKey200Response, - VirtualNetworkGatewaysResetVpnClientSharedKey202Response, - VirtualNetworkGatewaysResetVpnClientSharedKeyDefaultResponse, - VirtualNetworkGatewaysSetVpnclientIpsecParameters200Response, - VirtualNetworkGatewaysSetVpnclientIpsecParameters202Response, - VirtualNetworkGatewaysSetVpnclientIpsecParametersDefaultResponse, - VirtualNetworkGatewaysStartPacketCapture200Response, - VirtualNetworkGatewaysStartPacketCapture202Response, - VirtualNetworkGatewaysStartPacketCaptureDefaultResponse, - VirtualNetworkGatewaysStopPacketCapture200Response, - VirtualNetworkGatewaysStopPacketCapture202Response, - VirtualNetworkGatewaysStopPacketCaptureDefaultResponse, - VirtualNetworkGatewaysSupportedVpnDevices200Response, - VirtualNetworkGatewaysSupportedVpnDevicesDefaultResponse, - VirtualNetworkGatewaysUpdateTags200Response, - VirtualNetworkGatewaysUpdateTags202Response, - VirtualNetworkGatewaysUpdateTagsDefaultResponse, - VirtualNetworkGatewaysVpnDeviceConfigurationScript200Response, - VirtualNetworkGatewaysVpnDeviceConfigurationScriptDefaultResponse, - VirtualNetworkPeeringsCreateOrUpdate200Response, - VirtualNetworkPeeringsCreateOrUpdate201Response, - VirtualNetworkPeeringsCreateOrUpdateDefaultResponse, - VirtualNetworkPeeringsDelete200Response, - VirtualNetworkPeeringsDelete202Response, - VirtualNetworkPeeringsDelete204Response, - VirtualNetworkPeeringsDeleteDefaultResponse, - VirtualNetworkPeeringsGet200Response, - VirtualNetworkPeeringsGetDefaultResponse, - VirtualNetworkPeeringsList200Response, - VirtualNetworkPeeringsListDefaultResponse, - VirtualNetworkTapsCreateOrUpdate200Response, - VirtualNetworkTapsCreateOrUpdate201Response, - VirtualNetworkTapsCreateOrUpdateDefaultResponse, VirtualNetworkTapsDelete200Response, VirtualNetworkTapsDelete202Response, VirtualNetworkTapsDelete204Response, VirtualNetworkTapsDeleteDefaultResponse, VirtualNetworkTapsGet200Response, VirtualNetworkTapsGetDefaultResponse, + VirtualNetworkTapsCreateOrUpdate200Response, + VirtualNetworkTapsCreateOrUpdate201Response, + VirtualNetworkTapsCreateOrUpdateDefaultResponse, + VirtualNetworkTapsUpdateTags200Response, + VirtualNetworkTapsUpdateTagsDefaultResponse, VirtualNetworkTapsListAll200Response, VirtualNetworkTapsListAllDefaultResponse, VirtualNetworkTapsListByResourceGroup200Response, VirtualNetworkTapsListByResourceGroupDefaultResponse, - VirtualNetworkTapsUpdateTags200Response, - VirtualNetworkTapsUpdateTagsDefaultResponse, - VirtualNetworksCheckIPAddressAvailability200Response, - VirtualNetworksCheckIPAddressAvailabilityDefaultResponse, - VirtualNetworksCreateOrUpdate200Response, - VirtualNetworksCreateOrUpdate201Response, - VirtualNetworksCreateOrUpdateDefaultResponse, - VirtualNetworksDelete200Response, - VirtualNetworksDelete202Response, - VirtualNetworksDelete204Response, - VirtualNetworksDeleteDefaultResponse, - VirtualNetworksGet200Response, - VirtualNetworksGetDefaultResponse, - VirtualNetworksList200Response, - VirtualNetworksListAll200Response, - VirtualNetworksListAllDefaultResponse, - VirtualNetworksListDdosProtectionStatus200Response, - VirtualNetworksListDdosProtectionStatus202Response, - VirtualNetworksListDdosProtectionStatusDefaultResponse, - VirtualNetworksListDefaultResponse, - VirtualNetworksListUsage200Response, - VirtualNetworksListUsageDefaultResponse, - VirtualNetworksUpdateTags200Response, - VirtualNetworksUpdateTagsDefaultResponse, - VirtualRouterPeeringsCreateOrUpdate200Response, - VirtualRouterPeeringsCreateOrUpdate201Response, - VirtualRouterPeeringsCreateOrUpdateDefaultResponse, - VirtualRouterPeeringsDelete200Response, - VirtualRouterPeeringsDelete202Response, - VirtualRouterPeeringsDelete204Response, - VirtualRouterPeeringsDeleteDefaultResponse, - VirtualRouterPeeringsGet200Response, - VirtualRouterPeeringsGetDefaultResponse, - VirtualRouterPeeringsList200Response, - VirtualRouterPeeringsListDefaultResponse, - VirtualRoutersCreateOrUpdate200Response, - VirtualRoutersCreateOrUpdate201Response, - VirtualRoutersCreateOrUpdateDefaultResponse, VirtualRoutersDelete200Response, VirtualRoutersDelete202Response, VirtualRoutersDelete204Response, VirtualRoutersDeleteDefaultResponse, VirtualRoutersGet200Response, VirtualRoutersGetDefaultResponse, - VirtualRoutersList200Response, + VirtualRoutersCreateOrUpdate200Response, + VirtualRoutersCreateOrUpdate201Response, + VirtualRoutersCreateOrUpdateDefaultResponse, VirtualRoutersListByResourceGroup200Response, VirtualRoutersListByResourceGroupDefaultResponse, + VirtualRoutersList200Response, VirtualRoutersListDefaultResponse, + VirtualRouterPeeringsDelete200Response, + VirtualRouterPeeringsDelete202Response, + VirtualRouterPeeringsDelete204Response, + VirtualRouterPeeringsDeleteDefaultResponse, + VirtualRouterPeeringsGet200Response, + VirtualRouterPeeringsGetDefaultResponse, + VirtualRouterPeeringsCreateOrUpdate200Response, + VirtualRouterPeeringsCreateOrUpdate201Response, + VirtualRouterPeeringsCreateOrUpdateDefaultResponse, + VirtualRouterPeeringsList200Response, + VirtualRouterPeeringsListDefaultResponse, + VirtualWansGet200Response, + VirtualWansGetDefaultResponse, VirtualWansCreateOrUpdate200Response, VirtualWansCreateOrUpdate201Response, VirtualWansCreateOrUpdateDefaultResponse, + VirtualWansUpdateTags200Response, + VirtualWansUpdateTagsDefaultResponse, VirtualWansDelete200Response, VirtualWansDelete202Response, VirtualWansDelete204Response, VirtualWansDeleteDefaultResponse, - VirtualWansGet200Response, - VirtualWansGetDefaultResponse, - VirtualWansList200Response, VirtualWansListByResourceGroup200Response, VirtualWansListByResourceGroupDefaultResponse, + VirtualWansList200Response, VirtualWansListDefaultResponse, - VirtualWansUpdateTags200Response, - VirtualWansUpdateTagsDefaultResponse, - VpnConnectionsCreateOrUpdate200Response, - VpnConnectionsCreateOrUpdate201Response, - VpnConnectionsCreateOrUpdateDefaultResponse, - VpnConnectionsDelete200Response, - VpnConnectionsDelete202Response, - VpnConnectionsDelete204Response, - VpnConnectionsDeleteDefaultResponse, - VpnConnectionsGet200Response, - VpnConnectionsGetDefaultResponse, - VpnConnectionsListByVpnGateway200Response, - VpnConnectionsListByVpnGatewayDefaultResponse, - VpnConnectionsStartPacketCapture200Response, - VpnConnectionsStartPacketCapture202Response, - VpnConnectionsStartPacketCaptureDefaultResponse, - VpnConnectionsStopPacketCapture200Response, - VpnConnectionsStopPacketCapture202Response, - VpnConnectionsStopPacketCaptureDefaultResponse, + VpnSitesGet200Response, + VpnSitesGetDefaultResponse, + VpnSitesCreateOrUpdate200Response, + VpnSitesCreateOrUpdate201Response, + VpnSitesCreateOrUpdateDefaultResponse, + VpnSitesUpdateTags200Response, + VpnSitesUpdateTagsDefaultResponse, + VpnSitesDelete200Response, + VpnSitesDelete202Response, + VpnSitesDelete204Response, + VpnSitesDeleteDefaultResponse, + VpnSitesListByResourceGroup200Response, + VpnSitesListByResourceGroupDefaultResponse, + VpnSitesList200Response, + VpnSitesListDefaultResponse, + VpnSiteLinksGet200Response, + VpnSiteLinksGetDefaultResponse, + VpnSiteLinksListByVpnSite200Response, + VpnSiteLinksListByVpnSiteDefaultResponse, + VpnSitesConfigurationDownload200Response, + VpnSitesConfigurationDownload202Response, + VpnSitesConfigurationDownloadDefaultResponse, + VpnServerConfigurationsGet200Response, + VpnServerConfigurationsGetDefaultResponse, + VpnServerConfigurationsCreateOrUpdate200Response, + VpnServerConfigurationsCreateOrUpdate201Response, + VpnServerConfigurationsCreateOrUpdateDefaultResponse, + VpnServerConfigurationsUpdateTags200Response, + VpnServerConfigurationsUpdateTagsDefaultResponse, + VpnServerConfigurationsDelete200Response, + VpnServerConfigurationsDelete202Response, + VpnServerConfigurationsDelete204Response, + VpnServerConfigurationsDeleteDefaultResponse, + VpnServerConfigurationsListByResourceGroup200Response, + VpnServerConfigurationsListByResourceGroupDefaultResponse, + VpnServerConfigurationsList200Response, + VpnServerConfigurationsListDefaultResponse, + ConfigurationPolicyGroupsCreateOrUpdate200Response, + ConfigurationPolicyGroupsCreateOrUpdate201Response, + ConfigurationPolicyGroupsCreateOrUpdateDefaultResponse, + ConfigurationPolicyGroupsDelete200Response, + ConfigurationPolicyGroupsDelete202Response, + ConfigurationPolicyGroupsDelete204Response, + ConfigurationPolicyGroupsDeleteDefaultResponse, + ConfigurationPolicyGroupsGet200Response, + ConfigurationPolicyGroupsGetDefaultResponse, + ConfigurationPolicyGroupsListByVpnServerConfiguration200Response, + ConfigurationPolicyGroupsListByVpnServerConfigurationDefaultResponse, + VirtualHubsGet200Response, + VirtualHubsGetDefaultResponse, + VirtualHubsCreateOrUpdate200Response, + VirtualHubsCreateOrUpdate201Response, + VirtualHubsCreateOrUpdateDefaultResponse, + VirtualHubsUpdateTags200Response, + VirtualHubsUpdateTagsDefaultResponse, + VirtualHubsDelete200Response, + VirtualHubsDelete202Response, + VirtualHubsDelete204Response, + VirtualHubsDeleteDefaultResponse, + VirtualHubsListByResourceGroup200Response, + VirtualHubsListByResourceGroupDefaultResponse, + VirtualHubsList200Response, + VirtualHubsListDefaultResponse, + VirtualHubsGetEffectiveVirtualHubRoutes200Response, + VirtualHubsGetEffectiveVirtualHubRoutes202Response, + VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse, + VirtualHubsGetInboundRoutes200Response, + VirtualHubsGetInboundRoutes202Response, + VirtualHubsGetInboundRoutesDefaultResponse, + VirtualHubsGetOutboundRoutes200Response, + VirtualHubsGetOutboundRoutes202Response, + VirtualHubsGetOutboundRoutesDefaultResponse, + RouteMapsGet200Response, + RouteMapsGetDefaultResponse, + RouteMapsCreateOrUpdate200Response, + RouteMapsCreateOrUpdate201Response, + RouteMapsCreateOrUpdateDefaultResponse, + RouteMapsDelete200Response, + RouteMapsDelete202Response, + RouteMapsDelete204Response, + RouteMapsDeleteDefaultResponse, + RouteMapsList200Response, + RouteMapsListDefaultResponse, + HubVirtualNetworkConnectionsCreateOrUpdate200Response, + HubVirtualNetworkConnectionsCreateOrUpdate201Response, + HubVirtualNetworkConnectionsCreateOrUpdateDefaultResponse, + HubVirtualNetworkConnectionsDelete200Response, + HubVirtualNetworkConnectionsDelete202Response, + HubVirtualNetworkConnectionsDelete204Response, + HubVirtualNetworkConnectionsDeleteDefaultResponse, + HubVirtualNetworkConnectionsGet200Response, + HubVirtualNetworkConnectionsGetDefaultResponse, + HubVirtualNetworkConnectionsList200Response, + HubVirtualNetworkConnectionsListDefaultResponse, + VpnGatewaysGet200Response, + VpnGatewaysGetDefaultResponse, VpnGatewaysCreateOrUpdate200Response, VpnGatewaysCreateOrUpdate201Response, VpnGatewaysCreateOrUpdateDefaultResponse, + VpnGatewaysUpdateTags200Response, + VpnGatewaysUpdateTags202Response, + VpnGatewaysUpdateTagsDefaultResponse, VpnGatewaysDelete200Response, VpnGatewaysDelete202Response, VpnGatewaysDelete204Response, VpnGatewaysDeleteDefaultResponse, - VpnGatewaysGet200Response, - VpnGatewaysGetDefaultResponse, - VpnGatewaysList200Response, - VpnGatewaysListByResourceGroup200Response, - VpnGatewaysListByResourceGroupDefaultResponse, - VpnGatewaysListDefaultResponse, VpnGatewaysReset200Response, VpnGatewaysReset202Response, VpnGatewaysResetDefaultResponse, @@ -2113,58 +1999,175 @@ import type { VpnGatewaysStopPacketCapture200Response, VpnGatewaysStopPacketCapture202Response, VpnGatewaysStopPacketCaptureDefaultResponse, - VpnGatewaysUpdateTags200Response, - VpnGatewaysUpdateTags202Response, - VpnGatewaysUpdateTagsDefaultResponse, + VpnGatewaysListByResourceGroup200Response, + VpnGatewaysListByResourceGroupDefaultResponse, + VpnGatewaysList200Response, + VpnGatewaysListDefaultResponse, + VpnLinkConnectionsResetConnection202Response, + VpnLinkConnectionsResetConnectionDefaultResponse, VpnLinkConnectionsGetIkeSas200Response, VpnLinkConnectionsGetIkeSas202Response, VpnLinkConnectionsGetIkeSasDefaultResponse, VpnLinkConnectionsListByVpnConnection200Response, VpnLinkConnectionsListByVpnConnectionDefaultResponse, - VpnLinkConnectionsResetConnection202Response, - VpnLinkConnectionsResetConnectionDefaultResponse, + VpnConnectionsGet200Response, + VpnConnectionsGetDefaultResponse, + VpnConnectionsCreateOrUpdate200Response, + VpnConnectionsCreateOrUpdate201Response, + VpnConnectionsCreateOrUpdateDefaultResponse, + VpnConnectionsDelete200Response, + VpnConnectionsDelete202Response, + VpnConnectionsDelete204Response, + VpnConnectionsDeleteDefaultResponse, + VpnConnectionsStartPacketCapture200Response, + VpnConnectionsStartPacketCapture202Response, + VpnConnectionsStartPacketCaptureDefaultResponse, + VpnConnectionsStopPacketCapture200Response, + VpnConnectionsStopPacketCapture202Response, + VpnConnectionsStopPacketCaptureDefaultResponse, + VpnConnectionsListByVpnGateway200Response, + VpnConnectionsListByVpnGatewayDefaultResponse, + VpnSiteLinkConnectionsGet200Response, + VpnSiteLinkConnectionsGetDefaultResponse, + NatRulesGet200Response, + NatRulesGetDefaultResponse, + NatRulesCreateOrUpdate200Response, + NatRulesCreateOrUpdate201Response, + NatRulesCreateOrUpdateDefaultResponse, + NatRulesDelete200Response, + NatRulesDelete202Response, + NatRulesDelete204Response, + NatRulesDeleteDefaultResponse, + NatRulesListByVpnGateway200Response, + NatRulesListByVpnGatewayDefaultResponse, + P2SVpnGatewaysGet200Response, + P2SVpnGatewaysGetDefaultResponse, + P2SVpnGatewaysCreateOrUpdate200Response, + P2SVpnGatewaysCreateOrUpdate201Response, + P2SVpnGatewaysCreateOrUpdateDefaultResponse, + P2SVpnGatewaysUpdateTags200Response, + P2SVpnGatewaysUpdateTags202Response, + P2SVpnGatewaysUpdateTagsDefaultResponse, + P2SVpnGatewaysDelete200Response, + P2SVpnGatewaysDelete202Response, + P2SVpnGatewaysDelete204Response, + P2SVpnGatewaysDeleteDefaultResponse, + P2SVpnGatewaysListByResourceGroup200Response, + P2SVpnGatewaysListByResourceGroupDefaultResponse, + P2SVpnGatewaysList200Response, + P2SVpnGatewaysListDefaultResponse, + P2SVpnGatewaysReset200Response, + P2SVpnGatewaysReset202Response, + P2SVpnGatewaysResetDefaultResponse, + P2SVpnGatewaysGenerateVpnProfile200Response, + P2SVpnGatewaysGenerateVpnProfile202Response, + P2SVpnGatewaysGenerateVpnProfileDefaultResponse, + P2SVpnGatewaysGetP2SVpnConnectionHealth200Response, + P2SVpnGatewaysGetP2SVpnConnectionHealth202Response, + P2SVpnGatewaysGetP2SVpnConnectionHealthDefaultResponse, + P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response, + P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response, + P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedDefaultResponse, + P2SVpnGatewaysDisconnectP2SVpnConnections200Response, + P2SVpnGatewaysDisconnectP2SVpnConnections202Response, + P2SVpnGatewaysDisconnectP2SVpnConnectionsDefaultResponse, VpnServerConfigurationsAssociatedWithVirtualWanList200Response, VpnServerConfigurationsAssociatedWithVirtualWanList202Response, VpnServerConfigurationsAssociatedWithVirtualWanListDefaultResponse, - VpnServerConfigurationsCreateOrUpdate200Response, - VpnServerConfigurationsCreateOrUpdate201Response, - VpnServerConfigurationsCreateOrUpdateDefaultResponse, - VpnServerConfigurationsDelete200Response, - VpnServerConfigurationsDelete202Response, - VpnServerConfigurationsDelete204Response, - VpnServerConfigurationsDeleteDefaultResponse, - VpnServerConfigurationsGet200Response, - VpnServerConfigurationsGetDefaultResponse, - VpnServerConfigurationsList200Response, - VpnServerConfigurationsListByResourceGroup200Response, - VpnServerConfigurationsListByResourceGroupDefaultResponse, - VpnServerConfigurationsListDefaultResponse, - VpnServerConfigurationsUpdateTags200Response, - VpnServerConfigurationsUpdateTagsDefaultResponse, - VpnSiteLinkConnectionsGet200Response, - VpnSiteLinkConnectionsGetDefaultResponse, - VpnSiteLinksGet200Response, - VpnSiteLinksGetDefaultResponse, - VpnSiteLinksListByVpnSite200Response, - VpnSiteLinksListByVpnSiteDefaultResponse, - VpnSitesConfigurationDownload200Response, - VpnSitesConfigurationDownload202Response, - VpnSitesConfigurationDownloadDefaultResponse, - VpnSitesCreateOrUpdate200Response, - VpnSitesCreateOrUpdate201Response, - VpnSitesCreateOrUpdateDefaultResponse, - VpnSitesDelete200Response, - VpnSitesDelete202Response, - VpnSitesDelete204Response, - VpnSitesDeleteDefaultResponse, - VpnSitesGet200Response, - VpnSitesGetDefaultResponse, - VpnSitesList200Response, - VpnSitesListByResourceGroup200Response, - VpnSitesListByResourceGroupDefaultResponse, - VpnSitesListDefaultResponse, - VpnSitesUpdateTags200Response, - VpnSitesUpdateTagsDefaultResponse, + VirtualHubRouteTableV2SGet200Response, + VirtualHubRouteTableV2SGetDefaultResponse, + VirtualHubRouteTableV2SCreateOrUpdate200Response, + VirtualHubRouteTableV2SCreateOrUpdate201Response, + VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse, + VirtualHubRouteTableV2SDelete200Response, + VirtualHubRouteTableV2SDelete202Response, + VirtualHubRouteTableV2SDelete204Response, + VirtualHubRouteTableV2SDeleteDefaultResponse, + VirtualHubRouteTableV2SList200Response, + VirtualHubRouteTableV2SListDefaultResponse, + ExpressRouteGatewaysListBySubscription200Response, + ExpressRouteGatewaysListBySubscriptionDefaultResponse, + ExpressRouteGatewaysListByResourceGroup200Response, + ExpressRouteGatewaysListByResourceGroupDefaultResponse, + ExpressRouteGatewaysCreateOrUpdate200Response, + ExpressRouteGatewaysCreateOrUpdate201Response, + ExpressRouteGatewaysCreateOrUpdateDefaultResponse, + ExpressRouteGatewaysUpdateTags200Response, + ExpressRouteGatewaysUpdateTags202Response, + ExpressRouteGatewaysUpdateTagsDefaultResponse, + ExpressRouteGatewaysGet200Response, + ExpressRouteGatewaysGetDefaultResponse, + ExpressRouteGatewaysDelete200Response, + ExpressRouteGatewaysDelete202Response, + ExpressRouteGatewaysDelete204Response, + ExpressRouteGatewaysDeleteDefaultResponse, + ExpressRouteConnectionsCreateOrUpdate200Response, + ExpressRouteConnectionsCreateOrUpdate201Response, + ExpressRouteConnectionsCreateOrUpdateDefaultResponse, + ExpressRouteConnectionsGet200Response, + ExpressRouteConnectionsGetDefaultResponse, + ExpressRouteConnectionsDelete200Response, + ExpressRouteConnectionsDelete202Response, + ExpressRouteConnectionsDelete204Response, + ExpressRouteConnectionsDeleteDefaultResponse, + ExpressRouteConnectionsList200Response, + ExpressRouteConnectionsListDefaultResponse, + VirtualHubBgpConnectionGet200Response, + VirtualHubBgpConnectionGetDefaultResponse, + VirtualHubBgpConnectionCreateOrUpdate200Response, + VirtualHubBgpConnectionCreateOrUpdate201Response, + VirtualHubBgpConnectionCreateOrUpdateDefaultResponse, + VirtualHubBgpConnectionDelete200Response, + VirtualHubBgpConnectionDelete202Response, + VirtualHubBgpConnectionDelete204Response, + VirtualHubBgpConnectionDeleteDefaultResponse, + VirtualHubBgpConnectionsList200Response, + VirtualHubBgpConnectionsListDefaultResponse, + VirtualHubBgpConnectionsListLearnedRoutes200Response, + VirtualHubBgpConnectionsListLearnedRoutes202Response, + VirtualHubBgpConnectionsListLearnedRoutesDefaultResponse, + VirtualHubBgpConnectionsListAdvertisedRoutes200Response, + VirtualHubBgpConnectionsListAdvertisedRoutes202Response, + VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse, + VirtualHubIpConfigurationGet200Response, + VirtualHubIpConfigurationGetDefaultResponse, + VirtualHubIpConfigurationCreateOrUpdate200Response, + VirtualHubIpConfigurationCreateOrUpdate201Response, + VirtualHubIpConfigurationCreateOrUpdateDefaultResponse, + VirtualHubIpConfigurationDelete200Response, + VirtualHubIpConfigurationDelete202Response, + VirtualHubIpConfigurationDelete204Response, + VirtualHubIpConfigurationDeleteDefaultResponse, + VirtualHubIpConfigurationList200Response, + VirtualHubIpConfigurationListDefaultResponse, + HubRouteTablesCreateOrUpdate200Response, + HubRouteTablesCreateOrUpdate201Response, + HubRouteTablesCreateOrUpdateDefaultResponse, + HubRouteTablesGet200Response, + HubRouteTablesGetDefaultResponse, + HubRouteTablesDelete200Response, + HubRouteTablesDelete202Response, + HubRouteTablesDelete204Response, + HubRouteTablesDeleteDefaultResponse, + HubRouteTablesList200Response, + HubRouteTablesListDefaultResponse, + RoutingIntentCreateOrUpdate200Response, + RoutingIntentCreateOrUpdate201Response, + RoutingIntentCreateOrUpdateDefaultResponse, + RoutingIntentGet200Response, + RoutingIntentGetDefaultResponse, + RoutingIntentDelete200Response, + RoutingIntentDelete202Response, + RoutingIntentDelete204Response, + RoutingIntentDeleteDefaultResponse, + RoutingIntentList200Response, + RoutingIntentListDefaultResponse, + WebApplicationFirewallPoliciesList200Response, + WebApplicationFirewallPoliciesListDefaultResponse, + WebApplicationFirewallPoliciesListAll200Response, + WebApplicationFirewallPoliciesListAllDefaultResponse, + WebApplicationFirewallPoliciesGet200Response, + WebApplicationFirewallPoliciesGetDefaultResponse, WebApplicationFirewallPoliciesCreateOrUpdate200Response, WebApplicationFirewallPoliciesCreateOrUpdate201Response, WebApplicationFirewallPoliciesCreateOrUpdateDefaultResponse, @@ -2172,18 +2175,15 @@ import type { WebApplicationFirewallPoliciesDelete202Response, WebApplicationFirewallPoliciesDelete204Response, WebApplicationFirewallPoliciesDeleteDefaultResponse, - WebApplicationFirewallPoliciesGet200Response, - WebApplicationFirewallPoliciesGetDefaultResponse, - WebApplicationFirewallPoliciesList200Response, - WebApplicationFirewallPoliciesListAll200Response, - WebApplicationFirewallPoliciesListAllDefaultResponse, - WebApplicationFirewallPoliciesListDefaultResponse, - WebCategoriesGet200Response, - WebCategoriesGetDefaultResponse, - WebCategoriesListBySubscription200Response, - WebCategoriesListBySubscriptionDefaultResponse, + VipSwapGet200Response, + VipSwapGetDefaultResponse, + VipSwapCreate200Response, + VipSwapCreate202Response, + VipSwapCreateDefaultResponse, + VipSwapList200Response, + VipSwapListDefaultResponse, } from "./responses"; -import type { Client, StreamableMethod } from "@azure-rest/core-client"; +import { Client, StreamableMethod } from "@azure-rest/core-client"; export interface ApplicationGatewaysDelete { /** Deletes the specified application gateway. */ @@ -2198,7 +2198,9 @@ export interface ApplicationGatewaysDelete { /** Gets the specified application gateway. */ get( options: ApplicationGatewaysGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ApplicationGatewaysGet200Response | ApplicationGatewaysGetDefaultResponse + >; /** Creates or updates the specified application gateway. */ put( options: ApplicationGatewaysCreateOrUpdateParameters, @@ -2211,7 +2213,8 @@ export interface ApplicationGatewaysDelete { patch( options: ApplicationGatewaysUpdateTagsParameters, ): StreamableMethod< - ApplicationGatewaysUpdateTags200Response | ApplicationGatewaysUpdateTagsDefaultResponse + | ApplicationGatewaysUpdateTags200Response + | ApplicationGatewaysUpdateTagsDefaultResponse >; } @@ -2219,7 +2222,9 @@ export interface ApplicationGatewaysList { /** Lists all application gateways in a resource group. */ get( options: ApplicationGatewaysListParameters, - ): StreamableMethod; + ): StreamableMethod< + ApplicationGatewaysList200Response | ApplicationGatewaysListDefaultResponse + >; } export interface ApplicationGatewaysListAll { @@ -2227,7 +2232,8 @@ export interface ApplicationGatewaysListAll { get( options: ApplicationGatewaysListAllParameters, ): StreamableMethod< - ApplicationGatewaysListAll200Response | ApplicationGatewaysListAllDefaultResponse + | ApplicationGatewaysListAll200Response + | ApplicationGatewaysListAllDefaultResponse >; } @@ -2426,7 +2432,8 @@ export interface ApplicationSecurityGroupsDelete { get( options: ApplicationSecurityGroupsGetParameters, ): StreamableMethod< - ApplicationSecurityGroupsGet200Response | ApplicationSecurityGroupsGetDefaultResponse + | ApplicationSecurityGroupsGet200Response + | ApplicationSecurityGroupsGetDefaultResponse >; /** Creates or updates an application security group. */ put( @@ -2450,7 +2457,8 @@ export interface ApplicationSecurityGroupsListAll { get( options: ApplicationSecurityGroupsListAllParameters, ): StreamableMethod< - ApplicationSecurityGroupsListAll200Response | ApplicationSecurityGroupsListAllDefaultResponse + | ApplicationSecurityGroupsListAll200Response + | ApplicationSecurityGroupsListAllDefaultResponse >; } @@ -2459,7 +2467,8 @@ export interface ApplicationSecurityGroupsList { get( options: ApplicationSecurityGroupsListParameters, ): StreamableMethod< - ApplicationSecurityGroupsList200Response | ApplicationSecurityGroupsListDefaultResponse + | ApplicationSecurityGroupsList200Response + | ApplicationSecurityGroupsListDefaultResponse >; } @@ -2468,7 +2477,8 @@ export interface AvailableDelegationsList { get( options: AvailableDelegationsListParameters, ): StreamableMethod< - AvailableDelegationsList200Response | AvailableDelegationsListDefaultResponse + | AvailableDelegationsList200Response + | AvailableDelegationsListDefaultResponse >; } @@ -2487,7 +2497,8 @@ export interface AvailableServiceAliasesList { get( options: AvailableServiceAliasesListParameters, ): StreamableMethod< - AvailableServiceAliasesList200Response | AvailableServiceAliasesListDefaultResponse + | AvailableServiceAliasesList200Response + | AvailableServiceAliasesListDefaultResponse >; } @@ -2514,7 +2525,9 @@ export interface AzureFirewallsDelete { /** Gets the specified Azure Firewall. */ get( options: AzureFirewallsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + AzureFirewallsGet200Response | AzureFirewallsGetDefaultResponse + >; /** Creates or updates the specified Azure Firewall. */ put( options: AzureFirewallsCreateOrUpdateParameters, @@ -2537,14 +2550,18 @@ export interface AzureFirewallsList { /** Lists all Azure Firewalls in a resource group. */ get( options: AzureFirewallsListParameters, - ): StreamableMethod; + ): StreamableMethod< + AzureFirewallsList200Response | AzureFirewallsListDefaultResponse + >; } export interface AzureFirewallsListAll { /** Gets all the Azure Firewalls in a subscription. */ get( options: AzureFirewallsListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + AzureFirewallsListAll200Response | AzureFirewallsListAllDefaultResponse + >; } export interface AzureFirewallsListLearnedPrefixes { @@ -2563,7 +2580,8 @@ export interface AzureFirewallFqdnTagsListAll { get( options: AzureFirewallFqdnTagsListAllParameters, ): StreamableMethod< - AzureFirewallFqdnTagsListAll200Response | AzureFirewallFqdnTagsListAllDefaultResponse + | AzureFirewallFqdnTagsListAll200Response + | AzureFirewallFqdnTagsListAllDefaultResponse >; } @@ -2571,7 +2589,9 @@ export interface WebCategoriesGet { /** Gets the specified Azure Web Category. */ get( options: WebCategoriesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + WebCategoriesGet200Response | WebCategoriesGetDefaultResponse + >; } export interface WebCategoriesListBySubscription { @@ -2579,7 +2599,8 @@ export interface WebCategoriesListBySubscription { get( options: WebCategoriesListBySubscriptionParameters, ): StreamableMethod< - WebCategoriesListBySubscription200Response | WebCategoriesListBySubscriptionDefaultResponse + | WebCategoriesListBySubscription200Response + | WebCategoriesListBySubscriptionDefaultResponse >; } @@ -2596,7 +2617,9 @@ export interface BastionHostsDelete { /** Gets the specified Bastion Host. */ get( options: BastionHostsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + BastionHostsGet200Response | BastionHostsGetDefaultResponse + >; /** Creates or updates the specified Bastion Host. */ put( options: BastionHostsCreateOrUpdateParameters, @@ -2619,7 +2642,9 @@ export interface BastionHostsList { /** Lists all Bastion Hosts in a subscription. */ get( options: BastionHostsListParameters, - ): StreamableMethod; + ): StreamableMethod< + BastionHostsList200Response | BastionHostsListDefaultResponse + >; } export interface BastionHostsListByResourceGroup { @@ -2627,7 +2652,8 @@ export interface BastionHostsListByResourceGroup { get( options: BastionHostsListByResourceGroupParameters, ): StreamableMethod< - BastionHostsListByResourceGroup200Response | BastionHostsListByResourceGroupDefaultResponse + | BastionHostsListByResourceGroup200Response + | BastionHostsListByResourceGroupDefaultResponse >; } @@ -2657,7 +2683,9 @@ export interface GetBastionShareableLink { /** Return the Bastion Shareable Links for all the VMs specified in the request. */ post( options: GetBastionShareableLinkParameters, - ): StreamableMethod; + ): StreamableMethod< + GetBastionShareableLink200Response | GetBastionShareableLinkDefaultResponse + >; } export interface GetActiveSessions { @@ -2665,7 +2693,9 @@ export interface GetActiveSessions { post( options: GetActiveSessionsParameters, ): StreamableMethod< - GetActiveSessions200Response | GetActiveSessions202Response | GetActiveSessionsDefaultResponse + | GetActiveSessions200Response + | GetActiveSessions202Response + | GetActiveSessionsDefaultResponse >; } @@ -2674,7 +2704,8 @@ export interface DisconnectActiveSessions { post( options: DisconnectActiveSessionsParameters, ): StreamableMethod< - DisconnectActiveSessions200Response | DisconnectActiveSessionsDefaultResponse + | DisconnectActiveSessions200Response + | DisconnectActiveSessionsDefaultResponse >; } @@ -2683,7 +2714,18 @@ export interface CheckDnsNameAvailability { get( options: CheckDnsNameAvailabilityParameters, ): StreamableMethod< - CheckDnsNameAvailability200Response | CheckDnsNameAvailabilityDefaultResponse + | CheckDnsNameAvailability200Response + | CheckDnsNameAvailabilityDefaultResponse + >; +} + +export interface ExpressRouteProviderPort { + /** Retrieves detail of a provider port. */ + get( + options: ExpressRouteProviderPortParameters, + ): StreamableMethod< + | ExpressRouteProviderPort200Response + | ExpressRouteProviderPortDefaultResponse >; } @@ -2702,7 +2744,8 @@ export interface ListActiveSecurityAdminRules { post( options: ListActiveSecurityAdminRulesParameters, ): StreamableMethod< - ListActiveSecurityAdminRules200Response | ListActiveSecurityAdminRulesDefaultResponse + | ListActiveSecurityAdminRules200Response + | ListActiveSecurityAdminRulesDefaultResponse >; } @@ -2731,7 +2774,8 @@ export interface SupportedSecurityProviders { get( options: SupportedSecurityProvidersParameters, ): StreamableMethod< - SupportedSecurityProviders200Response | SupportedSecurityProvidersDefaultResponse + | SupportedSecurityProviders200Response + | SupportedSecurityProvidersDefaultResponse >; } @@ -2789,7 +2833,9 @@ export interface NetworkInterfacesDelete { /** Gets information about the specified network interface. */ get( options: NetworkInterfacesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkInterfacesGet200Response | NetworkInterfacesGetDefaultResponse + >; /** Creates or updates a network interface. */ put( options: NetworkInterfacesCreateOrUpdateParameters, @@ -2802,7 +2848,8 @@ export interface NetworkInterfacesDelete { patch( options: NetworkInterfacesUpdateTagsParameters, ): StreamableMethod< - NetworkInterfacesUpdateTags200Response | NetworkInterfacesUpdateTagsDefaultResponse + | NetworkInterfacesUpdateTags200Response + | NetworkInterfacesUpdateTagsDefaultResponse >; } @@ -2811,7 +2858,8 @@ export interface NetworkInterfacesListAll { get( options: NetworkInterfacesListAllParameters, ): StreamableMethod< - NetworkInterfacesListAll200Response | NetworkInterfacesListAllDefaultResponse + | NetworkInterfacesListAll200Response + | NetworkInterfacesListAllDefaultResponse >; } @@ -2819,7 +2867,9 @@ export interface NetworkInterfacesList { /** Gets all network interfaces in a resource group. */ get( options: NetworkInterfacesListParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkInterfacesList200Response | NetworkInterfacesListDefaultResponse + >; } export interface NetworkInterfacesGetEffectiveRouteTable { @@ -2937,7 +2987,9 @@ export interface PublicIPAddressesDelete { /** Gets the specified public IP address in a specified resource group. */ get( options: PublicIPAddressesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + PublicIPAddressesGet200Response | PublicIPAddressesGetDefaultResponse + >; /** Creates or updates a static or dynamic public IP address. */ put( options: PublicIPAddressesCreateOrUpdateParameters, @@ -2950,7 +3002,8 @@ export interface PublicIPAddressesDelete { patch( options: PublicIPAddressesUpdateTagsParameters, ): StreamableMethod< - PublicIPAddressesUpdateTags200Response | PublicIPAddressesUpdateTagsDefaultResponse + | PublicIPAddressesUpdateTags200Response + | PublicIPAddressesUpdateTagsDefaultResponse >; } @@ -2959,7 +3012,8 @@ export interface PublicIPAddressesListAll { get( options: PublicIPAddressesListAllParameters, ): StreamableMethod< - PublicIPAddressesListAll200Response | PublicIPAddressesListAllDefaultResponse + | PublicIPAddressesListAll200Response + | PublicIPAddressesListAllDefaultResponse >; } @@ -2967,7 +3021,9 @@ export interface PublicIPAddressesList { /** Gets all public IP addresses in a resource group. */ get( options: PublicIPAddressesListParameters, - ): StreamableMethod; + ): StreamableMethod< + PublicIPAddressesList200Response | PublicIPAddressesListDefaultResponse + >; } export interface PublicIPAddressesDdosProtectionStatus { @@ -3024,7 +3080,9 @@ export interface CustomIPPrefixesDelete { /** Gets the specified custom IP prefix in a specified resource group. */ get( options: CustomIPPrefixesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + CustomIPPrefixesGet200Response | CustomIPPrefixesGetDefaultResponse + >; /** Creates or updates a custom IP prefix. */ put( options: CustomIPPrefixesCreateOrUpdateParameters, @@ -3037,7 +3095,8 @@ export interface CustomIPPrefixesDelete { patch( options: CustomIPPrefixesUpdateTagsParameters, ): StreamableMethod< - CustomIPPrefixesUpdateTags200Response | CustomIPPrefixesUpdateTagsDefaultResponse + | CustomIPPrefixesUpdateTags200Response + | CustomIPPrefixesUpdateTagsDefaultResponse >; } @@ -3045,14 +3104,18 @@ export interface CustomIPPrefixesListAll { /** Gets all the custom IP prefixes in a subscription. */ get( options: CustomIPPrefixesListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + CustomIPPrefixesListAll200Response | CustomIPPrefixesListAllDefaultResponse + >; } export interface CustomIPPrefixesList { /** Gets all custom IP prefixes in a resource group. */ get( options: CustomIPPrefixesListParameters, - ): StreamableMethod; + ): StreamableMethod< + CustomIPPrefixesList200Response | CustomIPPrefixesListDefaultResponse + >; } export interface DdosCustomPoliciesDelete { @@ -3068,7 +3131,9 @@ export interface DdosCustomPoliciesDelete { /** Gets information about the specified DDoS custom policy. */ get( options: DdosCustomPoliciesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + DdosCustomPoliciesGet200Response | DdosCustomPoliciesGetDefaultResponse + >; /** Creates or updates a DDoS custom policy. */ put( options: DdosCustomPoliciesCreateOrUpdateParameters, @@ -3081,7 +3146,8 @@ export interface DdosCustomPoliciesDelete { patch( options: DdosCustomPoliciesUpdateTagsParameters, ): StreamableMethod< - DdosCustomPoliciesUpdateTags200Response | DdosCustomPoliciesUpdateTagsDefaultResponse + | DdosCustomPoliciesUpdateTags200Response + | DdosCustomPoliciesUpdateTagsDefaultResponse >; } @@ -3098,7 +3164,9 @@ export interface DdosProtectionPlansDelete { /** Gets information about the specified DDoS protection plan. */ get( options: DdosProtectionPlansGetParameters, - ): StreamableMethod; + ): StreamableMethod< + DdosProtectionPlansGet200Response | DdosProtectionPlansGetDefaultResponse + >; /** Creates or updates a DDoS protection plan. */ put( options: DdosProtectionPlansCreateOrUpdateParameters, @@ -3111,7 +3179,8 @@ export interface DdosProtectionPlansDelete { patch( options: DdosProtectionPlansUpdateTagsParameters, ): StreamableMethod< - DdosProtectionPlansUpdateTags200Response | DdosProtectionPlansUpdateTagsDefaultResponse + | DdosProtectionPlansUpdateTags200Response + | DdosProtectionPlansUpdateTagsDefaultResponse >; } @@ -3119,7 +3188,9 @@ export interface DdosProtectionPlansList { /** Gets all DDoS protection plans in a subscription. */ get( options: DdosProtectionPlansListParameters, - ): StreamableMethod; + ): StreamableMethod< + DdosProtectionPlansList200Response | DdosProtectionPlansListDefaultResponse + >; } export interface DdosProtectionPlansListByResourceGroup { @@ -3153,14 +3224,18 @@ export interface DscpConfigurationCreateOrUpdate { /** Gets a DSCP Configuration. */ get( options: DscpConfigurationGetParameters, - ): StreamableMethod; + ): StreamableMethod< + DscpConfigurationGet200Response | DscpConfigurationGetDefaultResponse + >; } export interface DscpConfigurationList { /** Gets a DSCP Configuration. */ get( options: DscpConfigurationListParameters, - ): StreamableMethod; + ): StreamableMethod< + DscpConfigurationList200Response | DscpConfigurationListDefaultResponse + >; } export interface DscpConfigurationListAll { @@ -3168,7 +3243,8 @@ export interface DscpConfigurationListAll { get( options: DscpConfigurationListAllParameters, ): StreamableMethod< - DscpConfigurationListAll200Response | DscpConfigurationListAllDefaultResponse + | DscpConfigurationListAll200Response + | DscpConfigurationListAllDefaultResponse >; } @@ -3177,7 +3253,8 @@ export interface AvailableEndpointServicesList { get( options: AvailableEndpointServicesListParameters, ): StreamableMethod< - AvailableEndpointServicesList200Response | AvailableEndpointServicesListDefaultResponse + | AvailableEndpointServicesList200Response + | AvailableEndpointServicesListDefaultResponse >; } @@ -3232,7 +3309,8 @@ export interface ExpressRouteCircuitPeeringsDelete { get( options: ExpressRouteCircuitPeeringsGetParameters, ): StreamableMethod< - ExpressRouteCircuitPeeringsGet200Response | ExpressRouteCircuitPeeringsGetDefaultResponse + | ExpressRouteCircuitPeeringsGet200Response + | ExpressRouteCircuitPeeringsGetDefaultResponse >; /** Creates or updates a peering in the specified express route circuits. */ put( @@ -3249,7 +3327,8 @@ export interface ExpressRouteCircuitPeeringsList { get( options: ExpressRouteCircuitPeeringsListParameters, ): StreamableMethod< - ExpressRouteCircuitPeeringsList200Response | ExpressRouteCircuitPeeringsListDefaultResponse + | ExpressRouteCircuitPeeringsList200Response + | ExpressRouteCircuitPeeringsListDefaultResponse >; } @@ -3267,7 +3346,8 @@ export interface ExpressRouteCircuitConnectionsDelete { get( options: ExpressRouteCircuitConnectionsGetParameters, ): StreamableMethod< - ExpressRouteCircuitConnectionsGet200Response | ExpressRouteCircuitConnectionsGetDefaultResponse + | ExpressRouteCircuitConnectionsGet200Response + | ExpressRouteCircuitConnectionsGetDefaultResponse >; /** Creates or updates a Express Route Circuit Connection in the specified express route circuits. */ put( @@ -3322,7 +3402,9 @@ export interface ExpressRouteCircuitsDelete { /** Gets information about the specified express route circuit. */ get( options: ExpressRouteCircuitsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ExpressRouteCircuitsGet200Response | ExpressRouteCircuitsGetDefaultResponse + >; /** Creates or updates an express route circuit. */ put( options: ExpressRouteCircuitsCreateOrUpdateParameters, @@ -3335,7 +3417,8 @@ export interface ExpressRouteCircuitsDelete { patch( options: ExpressRouteCircuitsUpdateTagsParameters, ): StreamableMethod< - ExpressRouteCircuitsUpdateTags200Response | ExpressRouteCircuitsUpdateTagsDefaultResponse + | ExpressRouteCircuitsUpdateTags200Response + | ExpressRouteCircuitsUpdateTagsDefaultResponse >; } @@ -3377,7 +3460,8 @@ export interface ExpressRouteCircuitsGetStats { get( options: ExpressRouteCircuitsGetStatsParameters, ): StreamableMethod< - ExpressRouteCircuitsGetStats200Response | ExpressRouteCircuitsGetStatsDefaultResponse + | ExpressRouteCircuitsGetStats200Response + | ExpressRouteCircuitsGetStatsDefaultResponse >; } @@ -3396,7 +3480,8 @@ export interface ExpressRouteCircuitsList { get( options: ExpressRouteCircuitsListParameters, ): StreamableMethod< - ExpressRouteCircuitsList200Response | ExpressRouteCircuitsListDefaultResponse + | ExpressRouteCircuitsList200Response + | ExpressRouteCircuitsListDefaultResponse >; } @@ -3405,7 +3490,8 @@ export interface ExpressRouteCircuitsListAll { get( options: ExpressRouteCircuitsListAllParameters, ): StreamableMethod< - ExpressRouteCircuitsListAll200Response | ExpressRouteCircuitsListAllDefaultResponse + | ExpressRouteCircuitsListAll200Response + | ExpressRouteCircuitsListAllDefaultResponse >; } @@ -3414,7 +3500,8 @@ export interface ExpressRouteServiceProvidersList { get( options: ExpressRouteServiceProvidersListParameters, ): StreamableMethod< - ExpressRouteServiceProvidersList200Response | ExpressRouteServiceProvidersListDefaultResponse + | ExpressRouteServiceProvidersList200Response + | ExpressRouteServiceProvidersListDefaultResponse >; } @@ -3423,7 +3510,8 @@ export interface ExpressRouteCrossConnectionsList { get( options: ExpressRouteCrossConnectionsListParameters, ): StreamableMethod< - ExpressRouteCrossConnectionsList200Response | ExpressRouteCrossConnectionsListDefaultResponse + | ExpressRouteCrossConnectionsList200Response + | ExpressRouteCrossConnectionsListDefaultResponse >; } @@ -3442,7 +3530,8 @@ export interface ExpressRouteCrossConnectionsGet { get( options: ExpressRouteCrossConnectionsGetParameters, ): StreamableMethod< - ExpressRouteCrossConnectionsGet200Response | ExpressRouteCrossConnectionsGetDefaultResponse + | ExpressRouteCrossConnectionsGet200Response + | ExpressRouteCrossConnectionsGetDefaultResponse >; /** Update the specified ExpressRouteCrossConnection. */ put( @@ -3535,7 +3624,8 @@ export interface ExpressRoutePortsLocationsList { get( options: ExpressRoutePortsLocationsListParameters, ): StreamableMethod< - ExpressRoutePortsLocationsList200Response | ExpressRoutePortsLocationsListDefaultResponse + | ExpressRoutePortsLocationsList200Response + | ExpressRoutePortsLocationsListDefaultResponse >; } @@ -3544,7 +3634,8 @@ export interface ExpressRoutePortsLocationsGet { get( options: ExpressRoutePortsLocationsGetParameters, ): StreamableMethod< - ExpressRoutePortsLocationsGet200Response | ExpressRoutePortsLocationsGetDefaultResponse + | ExpressRoutePortsLocationsGet200Response + | ExpressRoutePortsLocationsGetDefaultResponse >; } @@ -3561,7 +3652,9 @@ export interface ExpressRoutePortsDelete { /** Retrieves the requested ExpressRoutePort resource. */ get( options: ExpressRoutePortsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ExpressRoutePortsGet200Response | ExpressRoutePortsGetDefaultResponse + >; /** Creates or updates the specified ExpressRoutePort resource. */ put( options: ExpressRoutePortsCreateOrUpdateParameters, @@ -3574,7 +3667,8 @@ export interface ExpressRoutePortsDelete { patch( options: ExpressRoutePortsUpdateTagsParameters, ): StreamableMethod< - ExpressRoutePortsUpdateTags200Response | ExpressRoutePortsUpdateTagsDefaultResponse + | ExpressRoutePortsUpdateTags200Response + | ExpressRoutePortsUpdateTagsDefaultResponse >; } @@ -3592,7 +3686,9 @@ export interface ExpressRoutePortsList { /** List all the ExpressRoutePort resources in the specified subscription. */ get( options: ExpressRoutePortsListParameters, - ): StreamableMethod; + ): StreamableMethod< + ExpressRoutePortsList200Response | ExpressRoutePortsListDefaultResponse + >; } export interface ExpressRoutePortsGenerateLOA { @@ -3600,7 +3696,8 @@ export interface ExpressRoutePortsGenerateLOA { post( options: ExpressRoutePortsGenerateLOAParameters, ): StreamableMethod< - ExpressRoutePortsGenerateLOA200Response | ExpressRoutePortsGenerateLOADefaultResponse + | ExpressRoutePortsGenerateLOA200Response + | ExpressRoutePortsGenerateLOADefaultResponse >; } @@ -3608,14 +3705,18 @@ export interface ExpressRouteLinksGet { /** Retrieves the specified ExpressRouteLink resource. */ get( options: ExpressRouteLinksGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ExpressRouteLinksGet200Response | ExpressRouteLinksGetDefaultResponse + >; } export interface ExpressRouteLinksList { /** Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. */ get( options: ExpressRouteLinksListParameters, - ): StreamableMethod; + ): StreamableMethod< + ExpressRouteLinksList200Response | ExpressRouteLinksListDefaultResponse + >; } export interface ExpressRoutePortAuthorizationsDelete { @@ -3632,7 +3733,8 @@ export interface ExpressRoutePortAuthorizationsDelete { get( options: ExpressRoutePortAuthorizationsGetParameters, ): StreamableMethod< - ExpressRoutePortAuthorizationsGet200Response | ExpressRoutePortAuthorizationsGetDefaultResponse + | ExpressRoutePortAuthorizationsGet200Response + | ExpressRoutePortAuthorizationsGetDefaultResponse >; /** Creates or updates an authorization in the specified express route port. */ put( @@ -3664,15 +3766,6 @@ export interface ExpressRouteProviderPortsLocationList { >; } -export interface ExpressRouteProviderPortsGet { - /** Retrieves detail of a provider port. */ - get( - options: ExpressRouteProviderPortsGetParameters, - ): StreamableMethod< - ExpressRouteProviderPortsGet200Response | ExpressRouteProviderPortsGetDefaultResponse - >; -} - export interface FirewallPoliciesDelete { /** Deletes the specified Firewall Policy. */ delete( @@ -3686,7 +3779,9 @@ export interface FirewallPoliciesDelete { /** Gets the specified Firewall Policy. */ get( options: FirewallPoliciesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + FirewallPoliciesGet200Response | FirewallPoliciesGetDefaultResponse + >; /** Creates or updates the specified Firewall Policy. */ put( options: FirewallPoliciesCreateOrUpdateParameters, @@ -3699,7 +3794,8 @@ export interface FirewallPoliciesDelete { patch( options: FirewallPoliciesUpdateTagsParameters, ): StreamableMethod< - FirewallPoliciesUpdateTags200Response | FirewallPoliciesUpdateTagsDefaultResponse + | FirewallPoliciesUpdateTags200Response + | FirewallPoliciesUpdateTagsDefaultResponse >; } @@ -3707,14 +3803,18 @@ export interface FirewallPoliciesList { /** Lists all Firewall Policies in a resource group. */ get( options: FirewallPoliciesListParameters, - ): StreamableMethod; + ): StreamableMethod< + FirewallPoliciesList200Response | FirewallPoliciesListDefaultResponse + >; } export interface FirewallPoliciesListAll { /** Gets all the Firewall Policies in a subscription. */ get( options: FirewallPoliciesListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + FirewallPoliciesListAll200Response | FirewallPoliciesListAllDefaultResponse + >; } export interface FirewallPolicyRuleCollectionGroupsDelete { @@ -3759,7 +3859,8 @@ export interface FirewallPolicyIdpsSignaturesList { post( options: FirewallPolicyIdpsSignaturesListParameters, ): StreamableMethod< - FirewallPolicyIdpsSignaturesList200Response | FirewallPolicyIdpsSignaturesListDefaultResponse + | FirewallPolicyIdpsSignaturesList200Response + | FirewallPolicyIdpsSignaturesListDefaultResponse >; } @@ -3820,7 +3921,9 @@ export interface IpAllocationsDelete { /** Gets the specified IpAllocation by resource group. */ get( options: IpAllocationsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + IpAllocationsGet200Response | IpAllocationsGetDefaultResponse + >; /** Creates or updates an IpAllocation in the specified resource group. */ put( options: IpAllocationsCreateOrUpdateParameters, @@ -3832,14 +3935,18 @@ export interface IpAllocationsDelete { /** Updates a IpAllocation tags. */ patch( options: IpAllocationsUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + IpAllocationsUpdateTags200Response | IpAllocationsUpdateTagsDefaultResponse + >; } export interface IpAllocationsList { /** Gets all IpAllocations in a subscription. */ get( options: IpAllocationsListParameters, - ): StreamableMethod; + ): StreamableMethod< + IpAllocationsList200Response | IpAllocationsListDefaultResponse + >; } export interface IpAllocationsListByResourceGroup { @@ -3847,7 +3954,8 @@ export interface IpAllocationsListByResourceGroup { get( options: IpAllocationsListByResourceGroupParameters, ): StreamableMethod< - IpAllocationsListByResourceGroup200Response | IpAllocationsListByResourceGroupDefaultResponse + | IpAllocationsListByResourceGroup200Response + | IpAllocationsListByResourceGroupDefaultResponse >; } @@ -3867,7 +3975,9 @@ export interface IpGroupsGet { /** Updates tags of an IpGroups resource. */ patch( options: IpGroupsUpdateGroupsParameters, - ): StreamableMethod; + ): StreamableMethod< + IpGroupsUpdateGroups200Response | IpGroupsUpdateGroupsDefaultResponse + >; /** Deletes the specified ipGroups. */ delete( options: IpGroupsDeleteParameters, @@ -3884,7 +3994,8 @@ export interface IpGroupsListByResourceGroup { get( options: IpGroupsListByResourceGroupParameters, ): StreamableMethod< - IpGroupsListByResourceGroup200Response | IpGroupsListByResourceGroupDefaultResponse + | IpGroupsListByResourceGroup200Response + | IpGroupsListByResourceGroupDefaultResponse >; } @@ -3908,7 +4019,9 @@ export interface LoadBalancersDelete { /** Gets the specified load balancer. */ get( options: LoadBalancersGetParameters, - ): StreamableMethod; + ): StreamableMethod< + LoadBalancersGet200Response | LoadBalancersGetDefaultResponse + >; /** Creates or updates a load balancer. */ put( options: LoadBalancersCreateOrUpdateParameters, @@ -3920,21 +4033,27 @@ export interface LoadBalancersDelete { /** Updates a load balancer tags. */ patch( options: LoadBalancersUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + LoadBalancersUpdateTags200Response | LoadBalancersUpdateTagsDefaultResponse + >; } export interface LoadBalancersListAll { /** Gets all the load balancers in a subscription. */ get( options: LoadBalancersListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + LoadBalancersListAll200Response | LoadBalancersListAllDefaultResponse + >; } export interface LoadBalancersList { /** Gets all the load balancers in a resource group. */ get( options: LoadBalancersListParameters, - ): StreamableMethod; + ): StreamableMethod< + LoadBalancersList200Response | LoadBalancersListDefaultResponse + >; } export interface LoadBalancersSwapPublicIpAddresses { @@ -4020,7 +4139,9 @@ export interface InboundNatRulesList { /** Gets all the inbound NAT rules in a load balancer. */ get( options: InboundNatRulesListParameters, - ): StreamableMethod; + ): StreamableMethod< + InboundNatRulesList200Response | InboundNatRulesListDefaultResponse + >; } export interface InboundNatRulesDelete { @@ -4036,7 +4157,9 @@ export interface InboundNatRulesDelete { /** Gets the specified load balancer inbound NAT rule. */ get( options: InboundNatRulesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + InboundNatRulesGet200Response | InboundNatRulesGetDefaultResponse + >; /** Creates or updates a load balancer inbound NAT rule. */ put( options: InboundNatRulesCreateOrUpdateParameters, @@ -4062,7 +4185,8 @@ export interface LoadBalancerLoadBalancingRulesGet { get( options: LoadBalancerLoadBalancingRulesGetParameters, ): StreamableMethod< - LoadBalancerLoadBalancingRulesGet200Response | LoadBalancerLoadBalancingRulesGetDefaultResponse + | LoadBalancerLoadBalancingRulesGet200Response + | LoadBalancerLoadBalancingRulesGetDefaultResponse >; } @@ -4071,7 +4195,8 @@ export interface LoadBalancerOutboundRulesList { get( options: LoadBalancerOutboundRulesListParameters, ): StreamableMethod< - LoadBalancerOutboundRulesList200Response | LoadBalancerOutboundRulesListDefaultResponse + | LoadBalancerOutboundRulesList200Response + | LoadBalancerOutboundRulesListDefaultResponse >; } @@ -4080,7 +4205,8 @@ export interface LoadBalancerOutboundRulesGet { get( options: LoadBalancerOutboundRulesGetParameters, ): StreamableMethod< - LoadBalancerOutboundRulesGet200Response | LoadBalancerOutboundRulesGetDefaultResponse + | LoadBalancerOutboundRulesGet200Response + | LoadBalancerOutboundRulesGetDefaultResponse >; } @@ -4089,7 +4215,8 @@ export interface LoadBalancerNetworkInterfacesList { get( options: LoadBalancerNetworkInterfacesListParameters, ): StreamableMethod< - LoadBalancerNetworkInterfacesList200Response | LoadBalancerNetworkInterfacesListDefaultResponse + | LoadBalancerNetworkInterfacesList200Response + | LoadBalancerNetworkInterfacesListDefaultResponse >; } @@ -4097,14 +4224,18 @@ export interface LoadBalancerProbesList { /** Gets all the load balancer probes. */ get( options: LoadBalancerProbesListParameters, - ): StreamableMethod; + ): StreamableMethod< + LoadBalancerProbesList200Response | LoadBalancerProbesListDefaultResponse + >; } export interface LoadBalancerProbesGet { /** Gets load balancer probe. */ get( options: LoadBalancerProbesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + LoadBalancerProbesGet200Response | LoadBalancerProbesGetDefaultResponse + >; } export interface NatGatewaysDelete { @@ -4120,7 +4251,9 @@ export interface NatGatewaysDelete { /** Gets the specified nat gateway in a specified resource group. */ get( options: NatGatewaysGetParameters, - ): StreamableMethod; + ): StreamableMethod< + NatGatewaysGet200Response | NatGatewaysGetDefaultResponse + >; /** Creates or updates a nat gateway. */ put( options: NatGatewaysCreateOrUpdateParameters, @@ -4133,21 +4266,27 @@ export interface NatGatewaysDelete { /** Updates nat gateway tags. */ patch( options: NatGatewaysUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + NatGatewaysUpdateTags200Response | NatGatewaysUpdateTagsDefaultResponse + >; } export interface NatGatewaysListAll { /** Gets all the Nat Gateways in a subscription. */ get( options: NatGatewaysListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + NatGatewaysListAll200Response | NatGatewaysListAllDefaultResponse + >; } export interface NatGatewaysList { /** Gets all nat gateways in a resource group. */ get( options: NatGatewaysListParameters, - ): StreamableMethod; + ): StreamableMethod< + NatGatewaysList200Response | NatGatewaysListDefaultResponse + >; } export interface NetworkInterfaceIPConfigurationsList { @@ -4175,7 +4314,8 @@ export interface NetworkInterfaceLoadBalancersList { get( options: NetworkInterfaceLoadBalancersListParameters, ): StreamableMethod< - NetworkInterfaceLoadBalancersList200Response | NetworkInterfaceLoadBalancersListDefaultResponse + | NetworkInterfaceLoadBalancersList200Response + | NetworkInterfaceLoadBalancersListDefaultResponse >; } @@ -4220,7 +4360,9 @@ export interface NetworkManagersGet { /** Gets the specified Network Manager. */ get( options: NetworkManagersGetParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkManagersGet200Response | NetworkManagersGetDefaultResponse + >; /** Creates or updates a Network Manager. */ put( options: NetworkManagersCreateOrUpdateParameters, @@ -4241,7 +4383,9 @@ export interface NetworkManagersGet { /** Patch NetworkManager. */ patch( options: NetworkManagersPatchParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkManagersPatch200Response | NetworkManagersPatchDefaultResponse + >; } export interface NetworkManagersListBySubscription { @@ -4249,7 +4393,8 @@ export interface NetworkManagersListBySubscription { get( options: NetworkManagersListBySubscriptionParameters, ): StreamableMethod< - NetworkManagersListBySubscription200Response | NetworkManagersListBySubscriptionDefaultResponse + | NetworkManagersListBySubscription200Response + | NetworkManagersListBySubscriptionDefaultResponse >; } @@ -4257,7 +4402,9 @@ export interface NetworkManagersList { /** List network managers in a resource group. */ get( options: NetworkManagersListParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkManagersList200Response | NetworkManagersListDefaultResponse + >; } export interface NetworkManagerCommitsPost { @@ -4358,7 +4505,8 @@ export interface ConnectivityConfigurationsGet { get( options: ConnectivityConfigurationsGetParameters, ): StreamableMethod< - ConnectivityConfigurationsGet200Response | ConnectivityConfigurationsGetDefaultResponse + | ConnectivityConfigurationsGet200Response + | ConnectivityConfigurationsGetDefaultResponse >; /** Creates/Updates a new network manager connectivity configuration */ put( @@ -4384,7 +4532,8 @@ export interface ConnectivityConfigurationsList { get( options: ConnectivityConfigurationsListParameters, ): StreamableMethod< - ConnectivityConfigurationsList200Response | ConnectivityConfigurationsListDefaultResponse + | ConnectivityConfigurationsList200Response + | ConnectivityConfigurationsListDefaultResponse >; } @@ -4392,7 +4541,9 @@ export interface NetworkGroupsGet { /** Gets the specified network group. */ get( options: NetworkGroupsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkGroupsGet200Response | NetworkGroupsGetDefaultResponse + >; /** Creates or updates a network group. */ put( options: NetworkGroupsCreateOrUpdateParameters, @@ -4416,14 +4567,18 @@ export interface NetworkGroupsList { /** Lists the specified network group. */ get( options: NetworkGroupsListParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkGroupsList200Response | NetworkGroupsListDefaultResponse + >; } export interface StaticMembersGet { /** Gets the specified static member. */ get( options: StaticMembersGetParameters, - ): StreamableMethod; + ): StreamableMethod< + StaticMembersGet200Response | StaticMembersGetDefaultResponse + >; /** Creates or updates a static member. */ put( options: StaticMembersCreateOrUpdateParameters, @@ -4446,7 +4601,9 @@ export interface StaticMembersList { /** Lists the specified static member. */ get( options: StaticMembersListParameters, - ): StreamableMethod; + ): StreamableMethod< + StaticMembersList200Response | StaticMembersListDefaultResponse + >; } export interface ScopeConnectionsCreateOrUpdate { @@ -4461,7 +4618,9 @@ export interface ScopeConnectionsCreateOrUpdate { /** Get specified scope connection created by this Network Manager. */ get( options: ScopeConnectionsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ScopeConnectionsGet200Response | ScopeConnectionsGetDefaultResponse + >; /** Delete the pending scope connection created by this network manager. */ delete( options: ScopeConnectionsDeleteParameters, @@ -4476,7 +4635,9 @@ export interface ScopeConnectionsList { /** List all scope connections created by this network manager. */ get( options: ScopeConnectionsListParameters, - ): StreamableMethod; + ): StreamableMethod< + ScopeConnectionsList200Response | ScopeConnectionsListDefaultResponse + >; } export interface SecurityAdminConfigurationsList { @@ -4484,7 +4645,8 @@ export interface SecurityAdminConfigurationsList { get( options: SecurityAdminConfigurationsListParameters, ): StreamableMethod< - SecurityAdminConfigurationsList200Response | SecurityAdminConfigurationsListDefaultResponse + | SecurityAdminConfigurationsList200Response + | SecurityAdminConfigurationsListDefaultResponse >; } @@ -4493,7 +4655,8 @@ export interface SecurityAdminConfigurationsGet { get( options: SecurityAdminConfigurationsGetParameters, ): StreamableMethod< - SecurityAdminConfigurationsGet200Response | SecurityAdminConfigurationsGetDefaultResponse + | SecurityAdminConfigurationsGet200Response + | SecurityAdminConfigurationsGetDefaultResponse >; /** Creates or updates a network manager security admin configuration. */ put( @@ -4519,7 +4682,8 @@ export interface AdminRuleCollectionsList { get( options: AdminRuleCollectionsListParameters, ): StreamableMethod< - AdminRuleCollectionsList200Response | AdminRuleCollectionsListDefaultResponse + | AdminRuleCollectionsList200Response + | AdminRuleCollectionsListDefaultResponse >; } @@ -4527,7 +4691,9 @@ export interface AdminRuleCollectionsGet { /** Gets a network manager security admin configuration rule collection. */ get( options: AdminRuleCollectionsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + AdminRuleCollectionsGet200Response | AdminRuleCollectionsGetDefaultResponse + >; /** Creates or updates an admin rule collection. */ put( options: AdminRuleCollectionsCreateOrUpdateParameters, @@ -4551,7 +4717,9 @@ export interface AdminRulesList { /** List all network manager security configuration admin rules. */ get( options: AdminRulesListParameters, - ): StreamableMethod; + ): StreamableMethod< + AdminRulesList200Response | AdminRulesListDefaultResponse + >; } export interface AdminRulesGet { @@ -4591,7 +4759,9 @@ export interface NetworkProfilesDelete { /** Gets the specified network profile in a specified resource group. */ get( options: NetworkProfilesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkProfilesGet200Response | NetworkProfilesGetDefaultResponse + >; /** Creates or updates a network profile. */ put( options: NetworkProfilesCreateOrUpdateParameters, @@ -4604,7 +4774,8 @@ export interface NetworkProfilesDelete { patch( options: NetworkProfilesUpdateTagsParameters, ): StreamableMethod< - NetworkProfilesUpdateTags200Response | NetworkProfilesUpdateTagsDefaultResponse + | NetworkProfilesUpdateTags200Response + | NetworkProfilesUpdateTagsDefaultResponse >; } @@ -4612,14 +4783,18 @@ export interface NetworkProfilesListAll { /** Gets all the network profiles in a subscription. */ get( options: NetworkProfilesListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkProfilesListAll200Response | NetworkProfilesListAllDefaultResponse + >; } export interface NetworkProfilesList { /** Gets all network profiles in a resource group. */ get( options: NetworkProfilesListParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkProfilesList200Response | NetworkProfilesListDefaultResponse + >; } export interface NetworkSecurityGroupsDelete { @@ -4636,7 +4811,8 @@ export interface NetworkSecurityGroupsDelete { get( options: NetworkSecurityGroupsGetParameters, ): StreamableMethod< - NetworkSecurityGroupsGet200Response | NetworkSecurityGroupsGetDefaultResponse + | NetworkSecurityGroupsGet200Response + | NetworkSecurityGroupsGetDefaultResponse >; /** Creates or updates a network security group in the specified resource group. */ put( @@ -4650,7 +4826,8 @@ export interface NetworkSecurityGroupsDelete { patch( options: NetworkSecurityGroupsUpdateTagsParameters, ): StreamableMethod< - NetworkSecurityGroupsUpdateTags200Response | NetworkSecurityGroupsUpdateTagsDefaultResponse + | NetworkSecurityGroupsUpdateTags200Response + | NetworkSecurityGroupsUpdateTagsDefaultResponse >; } @@ -4659,7 +4836,8 @@ export interface NetworkSecurityGroupsListAll { get( options: NetworkSecurityGroupsListAllParameters, ): StreamableMethod< - NetworkSecurityGroupsListAll200Response | NetworkSecurityGroupsListAllDefaultResponse + | NetworkSecurityGroupsListAll200Response + | NetworkSecurityGroupsListAllDefaultResponse >; } @@ -4668,7 +4846,8 @@ export interface NetworkSecurityGroupsList { get( options: NetworkSecurityGroupsListParameters, ): StreamableMethod< - NetworkSecurityGroupsList200Response | NetworkSecurityGroupsListDefaultResponse + | NetworkSecurityGroupsList200Response + | NetworkSecurityGroupsListDefaultResponse >; } @@ -4685,7 +4864,9 @@ export interface SecurityRulesDelete { /** Get the specified network security rule. */ get( options: SecurityRulesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + SecurityRulesGet200Response | SecurityRulesGetDefaultResponse + >; /** Creates or updates a security rule in the specified network security group. */ put( options: SecurityRulesCreateOrUpdateParameters, @@ -4700,7 +4881,9 @@ export interface SecurityRulesList { /** Gets all security rules in a network security group. */ get( options: SecurityRulesListParameters, - ): StreamableMethod; + ): StreamableMethod< + SecurityRulesList200Response | SecurityRulesListDefaultResponse + >; } export interface DefaultSecurityRulesList { @@ -4708,7 +4891,8 @@ export interface DefaultSecurityRulesList { get( options: DefaultSecurityRulesListParameters, ): StreamableMethod< - DefaultSecurityRulesList200Response | DefaultSecurityRulesListDefaultResponse + | DefaultSecurityRulesList200Response + | DefaultSecurityRulesListDefaultResponse >; } @@ -4716,7 +4900,9 @@ export interface DefaultSecurityRulesGet { /** Get the specified default network security rule. */ get( options: DefaultSecurityRulesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + DefaultSecurityRulesGet200Response | DefaultSecurityRulesGetDefaultResponse + >; } export interface NetworkVirtualAppliancesDelete { @@ -4733,7 +4919,8 @@ export interface NetworkVirtualAppliancesDelete { get( options: NetworkVirtualAppliancesGetParameters, ): StreamableMethod< - NetworkVirtualAppliancesGet200Response | NetworkVirtualAppliancesGetDefaultResponse + | NetworkVirtualAppliancesGet200Response + | NetworkVirtualAppliancesGetDefaultResponse >; /** Updates a Network Virtual Appliance. */ patch( @@ -4767,7 +4954,8 @@ export interface NetworkVirtualAppliancesList { get( options: NetworkVirtualAppliancesListParameters, ): StreamableMethod< - NetworkVirtualAppliancesList200Response | NetworkVirtualAppliancesListDefaultResponse + | NetworkVirtualAppliancesList200Response + | NetworkVirtualAppliancesListDefaultResponse >; } @@ -4785,7 +4973,8 @@ export interface VirtualApplianceSitesDelete { get( options: VirtualApplianceSitesGetParameters, ): StreamableMethod< - VirtualApplianceSitesGet200Response | VirtualApplianceSitesGetDefaultResponse + | VirtualApplianceSitesGet200Response + | VirtualApplianceSitesGetDefaultResponse >; /** Creates or updates the specified Network Virtual Appliance Site. */ put( @@ -4802,7 +4991,8 @@ export interface VirtualApplianceSitesList { get( options: VirtualApplianceSitesListParameters, ): StreamableMethod< - VirtualApplianceSitesList200Response | VirtualApplianceSitesListDefaultResponse + | VirtualApplianceSitesList200Response + | VirtualApplianceSitesListDefaultResponse >; } @@ -4811,7 +5001,8 @@ export interface VirtualApplianceSkusList { get( options: VirtualApplianceSkusListParameters, ): StreamableMethod< - VirtualApplianceSkusList200Response | VirtualApplianceSkusListDefaultResponse + | VirtualApplianceSkusList200Response + | VirtualApplianceSkusListDefaultResponse >; } @@ -4819,7 +5010,9 @@ export interface VirtualApplianceSkusGet { /** Retrieves a single available sku for network virtual appliance. */ get( options: VirtualApplianceSkusGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualApplianceSkusGet200Response | VirtualApplianceSkusGetDefaultResponse + >; } export interface InboundSecurityRuleCreateOrUpdate { @@ -4845,7 +5038,9 @@ export interface NetworkWatchersCreateOrUpdate { /** Gets the specified network watcher by resource group. */ get( options: NetworkWatchersGetParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkWatchersGet200Response | NetworkWatchersGetDefaultResponse + >; /** Deletes the specified network watcher resource. */ delete( options: NetworkWatchersDeleteParameters, @@ -4858,7 +5053,8 @@ export interface NetworkWatchersCreateOrUpdate { patch( options: NetworkWatchersUpdateTagsParameters, ): StreamableMethod< - NetworkWatchersUpdateTags200Response | NetworkWatchersUpdateTagsDefaultResponse + | NetworkWatchersUpdateTags200Response + | NetworkWatchersUpdateTagsDefaultResponse >; } @@ -4866,14 +5062,18 @@ export interface NetworkWatchersList { /** Gets all network watchers by resource group. */ get( options: NetworkWatchersListParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkWatchersList200Response | NetworkWatchersListDefaultResponse + >; } export interface NetworkWatchersListAll { /** Gets all network watchers by subscription. */ get( options: NetworkWatchersListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + NetworkWatchersListAll200Response | NetworkWatchersListAllDefaultResponse + >; } export interface NetworkWatchersGetTopology { @@ -4881,7 +5081,8 @@ export interface NetworkWatchersGetTopology { post( options: NetworkWatchersGetTopologyParameters, ): StreamableMethod< - NetworkWatchersGetTopology200Response | NetworkWatchersGetTopologyDefaultResponse + | NetworkWatchersGetTopology200Response + | NetworkWatchersGetTopologyDefaultResponse >; } @@ -5010,11 +5211,15 @@ export interface PacketCapturesCreate { /** Create and start a packet capture on the specified VM. */ put( options: PacketCapturesCreateParameters, - ): StreamableMethod; + ): StreamableMethod< + PacketCapturesCreate201Response | PacketCapturesCreateDefaultResponse + >; /** Gets a packet capture session by name. */ get( options: PacketCapturesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + PacketCapturesGet200Response | PacketCapturesGetDefaultResponse + >; /** Deletes the specified packet capture session. */ delete( options: PacketCapturesDeleteParameters, @@ -5051,7 +5256,9 @@ export interface PacketCapturesList { /** Lists all packet capture sessions within the specified resource group. */ get( options: PacketCapturesListParameters, - ): StreamableMethod; + ): StreamableMethod< + PacketCapturesList200Response | PacketCapturesListDefaultResponse + >; } export interface ConnectionMonitorsCreateOrUpdate { @@ -5066,7 +5273,9 @@ export interface ConnectionMonitorsCreateOrUpdate { /** Gets a connection monitor by name. */ get( options: ConnectionMonitorsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ConnectionMonitorsGet200Response | ConnectionMonitorsGetDefaultResponse + >; /** Deletes the specified connection monitor. */ delete( options: ConnectionMonitorsDeleteParameters, @@ -5079,7 +5288,8 @@ export interface ConnectionMonitorsCreateOrUpdate { patch( options: ConnectionMonitorsUpdateTagsParameters, ): StreamableMethod< - ConnectionMonitorsUpdateTags200Response | ConnectionMonitorsUpdateTagsDefaultResponse + | ConnectionMonitorsUpdateTags200Response + | ConnectionMonitorsUpdateTagsDefaultResponse >; } @@ -5120,7 +5330,9 @@ export interface ConnectionMonitorsList { /** Lists all connection monitors for the specified Network Watcher. */ get( options: ConnectionMonitorsListParameters, - ): StreamableMethod; + ): StreamableMethod< + ConnectionMonitorsList200Response | ConnectionMonitorsListDefaultResponse + >; } export interface FlowLogsCreateOrUpdate { @@ -5135,7 +5347,9 @@ export interface FlowLogsCreateOrUpdate { /** Update tags of the specified flow log. */ patch( options: FlowLogsUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + FlowLogsUpdateTags200Response | FlowLogsUpdateTagsDefaultResponse + >; /** Gets a flow log resource by name. */ get( options: FlowLogsGetParameters, @@ -5144,7 +5358,9 @@ export interface FlowLogsCreateOrUpdate { delete( options: FlowLogsDeleteParameters, ): StreamableMethod< - FlowLogsDelete202Response | FlowLogsDelete204Response | FlowLogsDeleteDefaultResponse + | FlowLogsDelete202Response + | FlowLogsDelete204Response + | FlowLogsDeleteDefaultResponse >; } @@ -5159,7 +5375,9 @@ export interface OperationsList { /** Lists all of the available Network Rest API operations. */ get( options: OperationsListParameters, - ): StreamableMethod; + ): StreamableMethod< + OperationsList200Response | OperationsListDefaultResponse + >; } export interface PrivateEndpointsDelete { @@ -5175,7 +5393,9 @@ export interface PrivateEndpointsDelete { /** Gets the specified private endpoint by resource group. */ get( options: PrivateEndpointsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + PrivateEndpointsGet200Response | PrivateEndpointsGetDefaultResponse + >; /** Creates or updates an private endpoint in the specified resource group. */ put( options: PrivateEndpointsCreateOrUpdateParameters, @@ -5190,7 +5410,9 @@ export interface PrivateEndpointsList { /** Gets all private endpoints in a resource group. */ get( options: PrivateEndpointsListParameters, - ): StreamableMethod; + ): StreamableMethod< + PrivateEndpointsList200Response | PrivateEndpointsListDefaultResponse + >; } export interface PrivateEndpointsListBySubscription { @@ -5208,7 +5430,8 @@ export interface AvailablePrivateEndpointTypesList { get( options: AvailablePrivateEndpointTypesListParameters, ): StreamableMethod< - AvailablePrivateEndpointTypesList200Response | AvailablePrivateEndpointTypesListDefaultResponse + | AvailablePrivateEndpointTypesList200Response + | AvailablePrivateEndpointTypesListDefaultResponse >; } @@ -5235,7 +5458,9 @@ export interface PrivateDnsZoneGroupsDelete { /** Gets the private dns zone group resource by specified private dns zone group name. */ get( options: PrivateDnsZoneGroupsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + PrivateDnsZoneGroupsGet200Response | PrivateDnsZoneGroupsGetDefaultResponse + >; /** Creates or updates a private dns zone group in the specified private endpoint. */ put( options: PrivateDnsZoneGroupsCreateOrUpdateParameters, @@ -5251,7 +5476,8 @@ export interface PrivateDnsZoneGroupsList { get( options: PrivateDnsZoneGroupsListParameters, ): StreamableMethod< - PrivateDnsZoneGroupsList200Response | PrivateDnsZoneGroupsListDefaultResponse + | PrivateDnsZoneGroupsList200Response + | PrivateDnsZoneGroupsListDefaultResponse >; } @@ -5268,7 +5494,9 @@ export interface PrivateLinkServicesDelete { /** Gets the specified private link service by resource group. */ get( options: PrivateLinkServicesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + PrivateLinkServicesGet200Response | PrivateLinkServicesGetDefaultResponse + >; /** Creates or updates an private link service in the specified resource group. */ put( options: PrivateLinkServicesCreateOrUpdateParameters, @@ -5283,7 +5511,9 @@ export interface PrivateLinkServicesList { /** Gets all private link services in a resource group. */ get( options: PrivateLinkServicesListParameters, - ): StreamableMethod; + ): StreamableMethod< + PrivateLinkServicesList200Response | PrivateLinkServicesListDefaultResponse + >; } export interface PrivateLinkServicesListBySubscription { @@ -5387,7 +5617,9 @@ export interface PublicIPPrefixesDelete { /** Gets the specified public IP prefix in a specified resource group. */ get( options: PublicIPPrefixesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + PublicIPPrefixesGet200Response | PublicIPPrefixesGetDefaultResponse + >; /** Creates or updates a static or dynamic public IP prefix. */ put( options: PublicIPPrefixesCreateOrUpdateParameters, @@ -5400,7 +5632,8 @@ export interface PublicIPPrefixesDelete { patch( options: PublicIPPrefixesUpdateTagsParameters, ): StreamableMethod< - PublicIPPrefixesUpdateTags200Response | PublicIPPrefixesUpdateTagsDefaultResponse + | PublicIPPrefixesUpdateTags200Response + | PublicIPPrefixesUpdateTagsDefaultResponse >; } @@ -5408,14 +5641,18 @@ export interface PublicIPPrefixesListAll { /** Gets all the public IP prefixes in a subscription. */ get( options: PublicIPPrefixesListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + PublicIPPrefixesListAll200Response | PublicIPPrefixesListAllDefaultResponse + >; } export interface PublicIPPrefixesList { /** Gets all public IP prefixes in a resource group. */ get( options: PublicIPPrefixesListParameters, - ): StreamableMethod; + ): StreamableMethod< + PublicIPPrefixesList200Response | PublicIPPrefixesListDefaultResponse + >; } export interface RouteFiltersDelete { @@ -5431,7 +5668,9 @@ export interface RouteFiltersDelete { /** Gets the specified route filter. */ get( options: RouteFiltersGetParameters, - ): StreamableMethod; + ): StreamableMethod< + RouteFiltersGet200Response | RouteFiltersGetDefaultResponse + >; /** Creates or updates a route filter in a specified resource group. */ put( options: RouteFiltersCreateOrUpdateParameters, @@ -5443,7 +5682,9 @@ export interface RouteFiltersDelete { /** Updates tags of a route filter. */ patch( options: RouteFiltersUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + RouteFiltersUpdateTags200Response | RouteFiltersUpdateTagsDefaultResponse + >; } export interface RouteFiltersListByResourceGroup { @@ -5451,7 +5692,8 @@ export interface RouteFiltersListByResourceGroup { get( options: RouteFiltersListByResourceGroupParameters, ): StreamableMethod< - RouteFiltersListByResourceGroup200Response | RouteFiltersListByResourceGroupDefaultResponse + | RouteFiltersListByResourceGroup200Response + | RouteFiltersListByResourceGroupDefaultResponse >; } @@ -5459,7 +5701,9 @@ export interface RouteFiltersList { /** Gets all route filters in a subscription. */ get( options: RouteFiltersListParameters, - ): StreamableMethod; + ): StreamableMethod< + RouteFiltersList200Response | RouteFiltersListDefaultResponse + >; } export interface RouteFilterRulesDelete { @@ -5475,7 +5719,9 @@ export interface RouteFilterRulesDelete { /** Gets the specified rule from a route filter. */ get( options: RouteFilterRulesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + RouteFilterRulesGet200Response | RouteFilterRulesGetDefaultResponse + >; /** Creates or updates a route in the specified route filter. */ put( options: RouteFilterRulesCreateOrUpdateParameters, @@ -5491,7 +5737,8 @@ export interface RouteFilterRulesListByRouteFilter { get( options: RouteFilterRulesListByRouteFilterParameters, ): StreamableMethod< - RouteFilterRulesListByRouteFilter200Response | RouteFilterRulesListByRouteFilterDefaultResponse + | RouteFilterRulesListByRouteFilter200Response + | RouteFilterRulesListByRouteFilterDefaultResponse >; } @@ -5508,7 +5755,9 @@ export interface RouteTablesDelete { /** Gets the specified route table. */ get( options: RouteTablesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + RouteTablesGet200Response | RouteTablesGetDefaultResponse + >; /** Create or updates a route table in a specified resource group. */ put( options: RouteTablesCreateOrUpdateParameters, @@ -5520,21 +5769,27 @@ export interface RouteTablesDelete { /** Updates a route table tags. */ patch( options: RouteTablesUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + RouteTablesUpdateTags200Response | RouteTablesUpdateTagsDefaultResponse + >; } export interface RouteTablesList { /** Gets all route tables in a resource group. */ get( options: RouteTablesListParameters, - ): StreamableMethod; + ): StreamableMethod< + RouteTablesList200Response | RouteTablesListDefaultResponse + >; } export interface RouteTablesListAll { /** Gets all route tables in a subscription. */ get( options: RouteTablesListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + RouteTablesListAll200Response | RouteTablesListAllDefaultResponse + >; } export interface RoutesDelete { @@ -5582,7 +5837,8 @@ export interface SecurityPartnerProvidersDelete { get( options: SecurityPartnerProvidersGetParameters, ): StreamableMethod< - SecurityPartnerProvidersGet200Response | SecurityPartnerProvidersGetDefaultResponse + | SecurityPartnerProvidersGet200Response + | SecurityPartnerProvidersGetDefaultResponse >; /** Creates or updates the specified Security Partner Provider. */ put( @@ -5616,7 +5872,8 @@ export interface SecurityPartnerProvidersList { get( options: SecurityPartnerProvidersListParameters, ): StreamableMethod< - SecurityPartnerProvidersList200Response | SecurityPartnerProvidersListDefaultResponse + | SecurityPartnerProvidersList200Response + | SecurityPartnerProvidersListDefaultResponse >; } @@ -5625,7 +5882,8 @@ export interface BgpServiceCommunitiesList { get( options: BgpServiceCommunitiesListParameters, ): StreamableMethod< - BgpServiceCommunitiesList200Response | BgpServiceCommunitiesListDefaultResponse + | BgpServiceCommunitiesList200Response + | BgpServiceCommunitiesListDefaultResponse >; } @@ -5643,7 +5901,8 @@ export interface ServiceEndpointPoliciesDelete { get( options: ServiceEndpointPoliciesGetParameters, ): StreamableMethod< - ServiceEndpointPoliciesGet200Response | ServiceEndpointPoliciesGetDefaultResponse + | ServiceEndpointPoliciesGet200Response + | ServiceEndpointPoliciesGetDefaultResponse >; /** Creates or updates a service Endpoint Policies. */ put( @@ -5657,7 +5916,8 @@ export interface ServiceEndpointPoliciesDelete { patch( options: ServiceEndpointPoliciesUpdateTagsParameters, ): StreamableMethod< - ServiceEndpointPoliciesUpdateTags200Response | ServiceEndpointPoliciesUpdateTagsDefaultResponse + | ServiceEndpointPoliciesUpdateTags200Response + | ServiceEndpointPoliciesUpdateTagsDefaultResponse >; } @@ -5666,7 +5926,8 @@ export interface ServiceEndpointPoliciesList { get( options: ServiceEndpointPoliciesListParameters, ): StreamableMethod< - ServiceEndpointPoliciesList200Response | ServiceEndpointPoliciesListDefaultResponse + | ServiceEndpointPoliciesList200Response + | ServiceEndpointPoliciesListDefaultResponse >; } @@ -5721,7 +5982,9 @@ export interface ServiceTagsList { /** Gets a list of service tag information resources. */ get( options: ServiceTagsListParameters, - ): StreamableMethod; + ): StreamableMethod< + ServiceTagsList200Response | ServiceTagsListDefaultResponse + >; } export interface ServiceTagInformationList { @@ -5729,7 +5992,8 @@ export interface ServiceTagInformationList { get( options: ServiceTagInformationListParameters, ): StreamableMethod< - ServiceTagInformationList200Response | ServiceTagInformationListDefaultResponse + | ServiceTagInformationList200Response + | ServiceTagInformationListDefaultResponse >; } @@ -5753,7 +6017,9 @@ export interface VirtualNetworksDelete { /** Gets the specified virtual network by resource group. */ get( options: VirtualNetworksGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualNetworksGet200Response | VirtualNetworksGetDefaultResponse + >; /** Creates or updates a virtual network in the specified resource group. */ put( options: VirtualNetworksCreateOrUpdateParameters, @@ -5766,7 +6032,8 @@ export interface VirtualNetworksDelete { patch( options: VirtualNetworksUpdateTagsParameters, ): StreamableMethod< - VirtualNetworksUpdateTags200Response | VirtualNetworksUpdateTagsDefaultResponse + | VirtualNetworksUpdateTags200Response + | VirtualNetworksUpdateTagsDefaultResponse >; } @@ -5774,14 +6041,18 @@ export interface VirtualNetworksListAll { /** Gets all virtual networks in a subscription. */ get( options: VirtualNetworksListAllParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualNetworksListAll200Response | VirtualNetworksListAllDefaultResponse + >; } export interface VirtualNetworksList { /** Gets all virtual networks in a resource group. */ get( options: VirtualNetworksListParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualNetworksList200Response | VirtualNetworksListDefaultResponse + >; } export interface VirtualNetworksCheckIPAddressAvailability { @@ -5799,7 +6070,8 @@ export interface VirtualNetworksListUsage { get( options: VirtualNetworksListUsageParameters, ): StreamableMethod< - VirtualNetworksListUsage200Response | VirtualNetworksListUsageDefaultResponse + | VirtualNetworksListUsage200Response + | VirtualNetworksListUsageDefaultResponse >; } @@ -5872,7 +6144,8 @@ export interface ResourceNavigationLinksList { get( options: ResourceNavigationLinksListParameters, ): StreamableMethod< - ResourceNavigationLinksList200Response | ResourceNavigationLinksListDefaultResponse + | ResourceNavigationLinksList200Response + | ResourceNavigationLinksListDefaultResponse >; } @@ -5881,7 +6154,8 @@ export interface ServiceAssociationLinksList { get( options: ServiceAssociationLinksListParameters, ): StreamableMethod< - ServiceAssociationLinksList200Response | ServiceAssociationLinksListDefaultResponse + | ServiceAssociationLinksList200Response + | ServiceAssociationLinksListDefaultResponse >; } @@ -5899,7 +6173,8 @@ export interface VirtualNetworkPeeringsDelete { get( options: VirtualNetworkPeeringsGetParameters, ): StreamableMethod< - VirtualNetworkPeeringsGet200Response | VirtualNetworkPeeringsGetDefaultResponse + | VirtualNetworkPeeringsGet200Response + | VirtualNetworkPeeringsGetDefaultResponse >; /** Creates or updates a peering in the specified virtual network. */ put( @@ -5916,7 +6191,8 @@ export interface VirtualNetworkPeeringsList { get( options: VirtualNetworkPeeringsListParameters, ): StreamableMethod< - VirtualNetworkPeeringsList200Response | VirtualNetworkPeeringsListDefaultResponse + | VirtualNetworkPeeringsList200Response + | VirtualNetworkPeeringsListDefaultResponse >; } @@ -5933,7 +6209,8 @@ export interface VirtualNetworkGatewaysCreateOrUpdate { get( options: VirtualNetworkGatewaysGetParameters, ): StreamableMethod< - VirtualNetworkGatewaysGet200Response | VirtualNetworkGatewaysGetDefaultResponse + | VirtualNetworkGatewaysGet200Response + | VirtualNetworkGatewaysGetDefaultResponse >; /** Deletes the specified virtual network gateway. */ delete( @@ -5959,7 +6236,8 @@ export interface VirtualNetworkGatewaysList { get( options: VirtualNetworkGatewaysListParameters, ): StreamableMethod< - VirtualNetworkGatewaysList200Response | VirtualNetworkGatewaysListDefaultResponse + | VirtualNetworkGatewaysList200Response + | VirtualNetworkGatewaysListDefaultResponse >; } @@ -6275,7 +6553,9 @@ export interface LocalNetworkGatewaysCreateOrUpdate { /** Gets the specified local network gateway in a resource group. */ get( options: LocalNetworkGatewaysGetParameters, - ): StreamableMethod; + ): StreamableMethod< + LocalNetworkGatewaysGet200Response | LocalNetworkGatewaysGetDefaultResponse + >; /** Deletes the specified local network gateway. */ delete( options: LocalNetworkGatewaysDeleteParameters, @@ -6289,7 +6569,8 @@ export interface LocalNetworkGatewaysCreateOrUpdate { patch( options: LocalNetworkGatewaysUpdateTagsParameters, ): StreamableMethod< - LocalNetworkGatewaysUpdateTags200Response | LocalNetworkGatewaysUpdateTagsDefaultResponse + | LocalNetworkGatewaysUpdateTags200Response + | LocalNetworkGatewaysUpdateTagsDefaultResponse >; } @@ -6298,7 +6579,8 @@ export interface LocalNetworkGatewaysList { get( options: LocalNetworkGatewaysListParameters, ): StreamableMethod< - LocalNetworkGatewaysList200Response | LocalNetworkGatewaysListDefaultResponse + | LocalNetworkGatewaysList200Response + | LocalNetworkGatewaysListDefaultResponse >; } @@ -6307,7 +6589,8 @@ export interface VirtualNetworkGatewayNatRulesGet { get( options: VirtualNetworkGatewayNatRulesGetParameters, ): StreamableMethod< - VirtualNetworkGatewayNatRulesGet200Response | VirtualNetworkGatewayNatRulesGetDefaultResponse + | VirtualNetworkGatewayNatRulesGet200Response + | VirtualNetworkGatewayNatRulesGetDefaultResponse >; /** Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. */ put( @@ -6351,7 +6634,9 @@ export interface VirtualNetworkTapsDelete { /** Gets information about the specified virtual network tap. */ get( options: VirtualNetworkTapsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualNetworkTapsGet200Response | VirtualNetworkTapsGetDefaultResponse + >; /** Creates or updates a Virtual Network Tap. */ put( options: VirtualNetworkTapsCreateOrUpdateParameters, @@ -6364,7 +6649,8 @@ export interface VirtualNetworkTapsDelete { patch( options: VirtualNetworkTapsUpdateTagsParameters, ): StreamableMethod< - VirtualNetworkTapsUpdateTags200Response | VirtualNetworkTapsUpdateTagsDefaultResponse + | VirtualNetworkTapsUpdateTags200Response + | VirtualNetworkTapsUpdateTagsDefaultResponse >; } @@ -6373,7 +6659,8 @@ export interface VirtualNetworkTapsListAll { get( options: VirtualNetworkTapsListAllParameters, ): StreamableMethod< - VirtualNetworkTapsListAll200Response | VirtualNetworkTapsListAllDefaultResponse + | VirtualNetworkTapsListAll200Response + | VirtualNetworkTapsListAllDefaultResponse >; } @@ -6400,7 +6687,9 @@ export interface VirtualRoutersDelete { /** Gets the specified Virtual Router. */ get( options: VirtualRoutersGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualRoutersGet200Response | VirtualRoutersGetDefaultResponse + >; /** Creates or updates the specified Virtual Router. */ put( options: VirtualRoutersCreateOrUpdateParameters, @@ -6416,7 +6705,8 @@ export interface VirtualRoutersListByResourceGroup { get( options: VirtualRoutersListByResourceGroupParameters, ): StreamableMethod< - VirtualRoutersListByResourceGroup200Response | VirtualRoutersListByResourceGroupDefaultResponse + | VirtualRoutersListByResourceGroup200Response + | VirtualRoutersListByResourceGroupDefaultResponse >; } @@ -6424,7 +6714,9 @@ export interface VirtualRoutersList { /** Gets all the Virtual Routers in a subscription. */ get( options: VirtualRoutersListParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualRoutersList200Response | VirtualRoutersListDefaultResponse + >; } export interface VirtualRouterPeeringsDelete { @@ -6441,7 +6733,8 @@ export interface VirtualRouterPeeringsDelete { get( options: VirtualRouterPeeringsGetParameters, ): StreamableMethod< - VirtualRouterPeeringsGet200Response | VirtualRouterPeeringsGetDefaultResponse + | VirtualRouterPeeringsGet200Response + | VirtualRouterPeeringsGetDefaultResponse >; /** Creates or updates the specified Virtual Router Peering. */ put( @@ -6458,7 +6751,8 @@ export interface VirtualRouterPeeringsList { get( options: VirtualRouterPeeringsListParameters, ): StreamableMethod< - VirtualRouterPeeringsList200Response | VirtualRouterPeeringsListDefaultResponse + | VirtualRouterPeeringsList200Response + | VirtualRouterPeeringsListDefaultResponse >; } @@ -6466,7 +6760,9 @@ export interface VirtualWansGet { /** Retrieves the details of a VirtualWAN. */ get( options: VirtualWansGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualWansGet200Response | VirtualWansGetDefaultResponse + >; /** Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. */ put( options: VirtualWansCreateOrUpdateParameters, @@ -6478,7 +6774,9 @@ export interface VirtualWansGet { /** Updates a VirtualWAN tags. */ patch( options: VirtualWansUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualWansUpdateTags200Response | VirtualWansUpdateTagsDefaultResponse + >; /** Deletes a VirtualWAN. */ delete( options: VirtualWansDeleteParameters, @@ -6495,7 +6793,8 @@ export interface VirtualWansListByResourceGroup { get( options: VirtualWansListByResourceGroupParameters, ): StreamableMethod< - VirtualWansListByResourceGroup200Response | VirtualWansListByResourceGroupDefaultResponse + | VirtualWansListByResourceGroup200Response + | VirtualWansListByResourceGroupDefaultResponse >; } @@ -6503,7 +6802,9 @@ export interface VirtualWansList { /** Lists all the VirtualWANs in a subscription. */ get( options: VirtualWansListParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualWansList200Response | VirtualWansListDefaultResponse + >; } export interface VpnSitesGet { @@ -6522,7 +6823,9 @@ export interface VpnSitesGet { /** Updates VpnSite tags. */ patch( options: VpnSitesUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + VpnSitesUpdateTags200Response | VpnSitesUpdateTagsDefaultResponse + >; /** Deletes a VpnSite. */ delete( options: VpnSitesDeleteParameters, @@ -6539,7 +6842,8 @@ export interface VpnSitesListByResourceGroup { get( options: VpnSitesListByResourceGroupParameters, ): StreamableMethod< - VpnSitesListByResourceGroup200Response | VpnSitesListByResourceGroupDefaultResponse + | VpnSitesListByResourceGroup200Response + | VpnSitesListByResourceGroupDefaultResponse >; } @@ -6554,7 +6858,9 @@ export interface VpnSiteLinksGet { /** Retrieves the details of a VPN site link. */ get( options: VpnSiteLinksGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VpnSiteLinksGet200Response | VpnSiteLinksGetDefaultResponse + >; } export interface VpnSiteLinksListByVpnSite { @@ -6562,7 +6868,8 @@ export interface VpnSiteLinksListByVpnSite { get( options: VpnSiteLinksListByVpnSiteParameters, ): StreamableMethod< - VpnSiteLinksListByVpnSite200Response | VpnSiteLinksListByVpnSiteDefaultResponse + | VpnSiteLinksListByVpnSite200Response + | VpnSiteLinksListByVpnSiteDefaultResponse >; } @@ -6582,7 +6889,8 @@ export interface VpnServerConfigurationsGet { get( options: VpnServerConfigurationsGetParameters, ): StreamableMethod< - VpnServerConfigurationsGet200Response | VpnServerConfigurationsGetDefaultResponse + | VpnServerConfigurationsGet200Response + | VpnServerConfigurationsGetDefaultResponse >; /** Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. */ put( @@ -6596,7 +6904,8 @@ export interface VpnServerConfigurationsGet { patch( options: VpnServerConfigurationsUpdateTagsParameters, ): StreamableMethod< - VpnServerConfigurationsUpdateTags200Response | VpnServerConfigurationsUpdateTagsDefaultResponse + | VpnServerConfigurationsUpdateTags200Response + | VpnServerConfigurationsUpdateTagsDefaultResponse >; /** Deletes a VpnServerConfiguration. */ delete( @@ -6624,7 +6933,8 @@ export interface VpnServerConfigurationsList { get( options: VpnServerConfigurationsListParameters, ): StreamableMethod< - VpnServerConfigurationsList200Response | VpnServerConfigurationsListDefaultResponse + | VpnServerConfigurationsList200Response + | VpnServerConfigurationsListDefaultResponse >; } @@ -6650,7 +6960,8 @@ export interface ConfigurationPolicyGroupsCreateOrUpdate { get( options: ConfigurationPolicyGroupsGetParameters, ): StreamableMethod< - ConfigurationPolicyGroupsGet200Response | ConfigurationPolicyGroupsGetDefaultResponse + | ConfigurationPolicyGroupsGet200Response + | ConfigurationPolicyGroupsGetDefaultResponse >; } @@ -6668,7 +6979,9 @@ export interface VirtualHubsGet { /** Retrieves the details of a VirtualHub. */ get( options: VirtualHubsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualHubsGet200Response | VirtualHubsGetDefaultResponse + >; /** Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. */ put( options: VirtualHubsCreateOrUpdateParameters, @@ -6680,7 +6993,9 @@ export interface VirtualHubsGet { /** Updates VirtualHub tags. */ patch( options: VirtualHubsUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualHubsUpdateTags200Response | VirtualHubsUpdateTagsDefaultResponse + >; /** Deletes a VirtualHub. */ delete( options: VirtualHubsDeleteParameters, @@ -6697,7 +7012,8 @@ export interface VirtualHubsListByResourceGroup { get( options: VirtualHubsListByResourceGroupParameters, ): StreamableMethod< - VirtualHubsListByResourceGroup200Response | VirtualHubsListByResourceGroupDefaultResponse + | VirtualHubsListByResourceGroup200Response + | VirtualHubsListByResourceGroupDefaultResponse >; } @@ -6705,7 +7021,9 @@ export interface VirtualHubsList { /** Lists all the VirtualHubs in a subscription. */ get( options: VirtualHubsListParameters, - ): StreamableMethod; + ): StreamableMethod< + VirtualHubsList200Response | VirtualHubsListDefaultResponse + >; } export interface VirtualHubsGetEffectiveVirtualHubRoutes { @@ -6794,7 +7112,8 @@ export interface HubVirtualNetworkConnectionsCreateOrUpdate { get( options: HubVirtualNetworkConnectionsGetParameters, ): StreamableMethod< - HubVirtualNetworkConnectionsGet200Response | HubVirtualNetworkConnectionsGetDefaultResponse + | HubVirtualNetworkConnectionsGet200Response + | HubVirtualNetworkConnectionsGetDefaultResponse >; } @@ -6803,7 +7122,8 @@ export interface HubVirtualNetworkConnectionsList { get( options: HubVirtualNetworkConnectionsListParameters, ): StreamableMethod< - HubVirtualNetworkConnectionsList200Response | HubVirtualNetworkConnectionsListDefaultResponse + | HubVirtualNetworkConnectionsList200Response + | HubVirtualNetworkConnectionsListDefaultResponse >; } @@ -6811,7 +7131,9 @@ export interface VpnGatewaysGet { /** Retrieves the details of a virtual wan vpn gateway. */ get( options: VpnGatewaysGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VpnGatewaysGet200Response | VpnGatewaysGetDefaultResponse + >; /** Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. */ put( options: VpnGatewaysCreateOrUpdateParameters, @@ -6844,7 +7166,9 @@ export interface VpnGatewaysReset { post( options: VpnGatewaysResetParameters, ): StreamableMethod< - VpnGatewaysReset200Response | VpnGatewaysReset202Response | VpnGatewaysResetDefaultResponse + | VpnGatewaysReset200Response + | VpnGatewaysReset202Response + | VpnGatewaysResetDefaultResponse >; } @@ -6875,7 +7199,8 @@ export interface VpnGatewaysListByResourceGroup { get( options: VpnGatewaysListByResourceGroupParameters, ): StreamableMethod< - VpnGatewaysListByResourceGroup200Response | VpnGatewaysListByResourceGroupDefaultResponse + | VpnGatewaysListByResourceGroup200Response + | VpnGatewaysListByResourceGroupDefaultResponse >; } @@ -6883,7 +7208,9 @@ export interface VpnGatewaysList { /** Lists all the VpnGateways in a subscription. */ get( options: VpnGatewaysListParameters, - ): StreamableMethod; + ): StreamableMethod< + VpnGatewaysList200Response | VpnGatewaysListDefaultResponse + >; } export interface VpnLinkConnectionsResetConnection { @@ -6891,7 +7218,8 @@ export interface VpnLinkConnectionsResetConnection { post( options: VpnLinkConnectionsResetConnectionParameters, ): StreamableMethod< - VpnLinkConnectionsResetConnection202Response | VpnLinkConnectionsResetConnectionDefaultResponse + | VpnLinkConnectionsResetConnection202Response + | VpnLinkConnectionsResetConnectionDefaultResponse >; } @@ -6920,7 +7248,9 @@ export interface VpnConnectionsGet { /** Retrieves the details of a vpn connection. */ get( options: VpnConnectionsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + VpnConnectionsGet200Response | VpnConnectionsGetDefaultResponse + >; /** Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. */ put( options: VpnConnectionsCreateOrUpdateParameters, @@ -6967,7 +7297,8 @@ export interface VpnConnectionsListByVpnGateway { get( options: VpnConnectionsListByVpnGatewayParameters, ): StreamableMethod< - VpnConnectionsListByVpnGateway200Response | VpnConnectionsListByVpnGatewayDefaultResponse + | VpnConnectionsListByVpnGateway200Response + | VpnConnectionsListByVpnGatewayDefaultResponse >; } @@ -6976,7 +7307,8 @@ export interface VpnSiteLinkConnectionsGet { get( options: VpnSiteLinkConnectionsGetParameters, ): StreamableMethod< - VpnSiteLinkConnectionsGet200Response | VpnSiteLinkConnectionsGetDefaultResponse + | VpnSiteLinkConnectionsGet200Response + | VpnSiteLinkConnectionsGetDefaultResponse >; } @@ -7009,7 +7341,8 @@ export interface NatRulesListByVpnGateway { get( options: NatRulesListByVpnGatewayParameters, ): StreamableMethod< - NatRulesListByVpnGateway200Response | NatRulesListByVpnGatewayDefaultResponse + | NatRulesListByVpnGateway200Response + | NatRulesListByVpnGatewayDefaultResponse >; } @@ -7017,7 +7350,9 @@ export interface P2SVpnGatewaysGet { /** Retrieves the details of a virtual wan p2s vpn gateway. */ get( options: P2SVpnGatewaysGetParameters, - ): StreamableMethod; + ): StreamableMethod< + P2SVpnGatewaysGet200Response | P2SVpnGatewaysGetDefaultResponse + >; /** Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. */ put( options: P2SVpnGatewaysCreateOrUpdateParameters, @@ -7050,7 +7385,8 @@ export interface P2SVpnGatewaysListByResourceGroup { get( options: P2SVpnGatewaysListByResourceGroupParameters, ): StreamableMethod< - P2SVpnGatewaysListByResourceGroup200Response | P2SVpnGatewaysListByResourceGroupDefaultResponse + | P2SVpnGatewaysListByResourceGroup200Response + | P2SVpnGatewaysListByResourceGroupDefaultResponse >; } @@ -7058,7 +7394,9 @@ export interface P2SVpnGatewaysList { /** Lists all the P2SVpnGateways in a subscription. */ get( options: P2SVpnGatewaysListParameters, - ): StreamableMethod; + ): StreamableMethod< + P2SVpnGatewaysList200Response | P2SVpnGatewaysListDefaultResponse + >; } export interface P2SVpnGatewaysReset { @@ -7132,7 +7470,8 @@ export interface VirtualHubRouteTableV2SGet { get( options: VirtualHubRouteTableV2SGetParameters, ): StreamableMethod< - VirtualHubRouteTableV2SGet200Response | VirtualHubRouteTableV2SGetDefaultResponse + | VirtualHubRouteTableV2SGet200Response + | VirtualHubRouteTableV2SGetDefaultResponse >; /** Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. */ put( @@ -7158,7 +7497,8 @@ export interface VirtualHubRouteTableV2SList { get( options: VirtualHubRouteTableV2SListParameters, ): StreamableMethod< - VirtualHubRouteTableV2SList200Response | VirtualHubRouteTableV2SListDefaultResponse + | VirtualHubRouteTableV2SList200Response + | VirtualHubRouteTableV2SListDefaultResponse >; } @@ -7202,7 +7542,9 @@ export interface ExpressRouteGatewaysCreateOrUpdate { /** Fetches the details of a ExpressRoute gateway in a resource group. */ get( options: ExpressRouteGatewaysGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ExpressRouteGatewaysGet200Response | ExpressRouteGatewaysGetDefaultResponse + >; /** Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. */ delete( options: ExpressRouteGatewaysDeleteParameters, @@ -7227,7 +7569,8 @@ export interface ExpressRouteConnectionsCreateOrUpdate { get( options: ExpressRouteConnectionsGetParameters, ): StreamableMethod< - ExpressRouteConnectionsGet200Response | ExpressRouteConnectionsGetDefaultResponse + | ExpressRouteConnectionsGet200Response + | ExpressRouteConnectionsGetDefaultResponse >; /** Deletes a connection to a ExpressRoute circuit. */ delete( @@ -7245,7 +7588,8 @@ export interface ExpressRouteConnectionsList { get( options: ExpressRouteConnectionsListParameters, ): StreamableMethod< - ExpressRouteConnectionsList200Response | ExpressRouteConnectionsListDefaultResponse + | ExpressRouteConnectionsList200Response + | ExpressRouteConnectionsListDefaultResponse >; } @@ -7254,7 +7598,8 @@ export interface VirtualHubBgpConnectionGet { get( options: VirtualHubBgpConnectionGetParameters, ): StreamableMethod< - VirtualHubBgpConnectionGet200Response | VirtualHubBgpConnectionGetDefaultResponse + | VirtualHubBgpConnectionGet200Response + | VirtualHubBgpConnectionGetDefaultResponse >; /** Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. */ put( @@ -7280,7 +7625,8 @@ export interface VirtualHubBgpConnectionsList { get( options: VirtualHubBgpConnectionsListParameters, ): StreamableMethod< - VirtualHubBgpConnectionsList200Response | VirtualHubBgpConnectionsListDefaultResponse + | VirtualHubBgpConnectionsList200Response + | VirtualHubBgpConnectionsListDefaultResponse >; } @@ -7311,7 +7657,8 @@ export interface VirtualHubIpConfigurationGet { get( options: VirtualHubIpConfigurationGetParameters, ): StreamableMethod< - VirtualHubIpConfigurationGet200Response | VirtualHubIpConfigurationGetDefaultResponse + | VirtualHubIpConfigurationGet200Response + | VirtualHubIpConfigurationGetDefaultResponse >; /** Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. */ put( @@ -7337,7 +7684,8 @@ export interface VirtualHubIpConfigurationList { get( options: VirtualHubIpConfigurationListParameters, ): StreamableMethod< - VirtualHubIpConfigurationList200Response | VirtualHubIpConfigurationListDefaultResponse + | VirtualHubIpConfigurationList200Response + | VirtualHubIpConfigurationListDefaultResponse >; } @@ -7353,7 +7701,9 @@ export interface HubRouteTablesCreateOrUpdate { /** Retrieves the details of a RouteTable. */ get( options: HubRouteTablesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + HubRouteTablesGet200Response | HubRouteTablesGetDefaultResponse + >; /** Deletes a RouteTable. */ delete( options: HubRouteTablesDeleteParameters, @@ -7369,7 +7719,9 @@ export interface HubRouteTablesList { /** Retrieves the details of all RouteTables. */ get( options: HubRouteTablesListParameters, - ): StreamableMethod; + ): StreamableMethod< + HubRouteTablesList200Response | HubRouteTablesListDefaultResponse + >; } export interface RoutingIntentCreateOrUpdate { @@ -7384,7 +7736,9 @@ export interface RoutingIntentCreateOrUpdate { /** Retrieves the details of a RoutingIntent. */ get( options: RoutingIntentGetParameters, - ): StreamableMethod; + ): StreamableMethod< + RoutingIntentGet200Response | RoutingIntentGetDefaultResponse + >; /** Deletes a RoutingIntent. */ delete( options: RoutingIntentDeleteParameters, @@ -7400,7 +7754,9 @@ export interface RoutingIntentList { /** Retrieves the details of all RoutingIntent child resources of the VirtualHub. */ get( options: RoutingIntentListParameters, - ): StreamableMethod; + ): StreamableMethod< + RoutingIntentList200Response | RoutingIntentListDefaultResponse + >; } export interface WebApplicationFirewallPoliciesList { @@ -7428,7 +7784,8 @@ export interface WebApplicationFirewallPoliciesGet { get( options: WebApplicationFirewallPoliciesGetParameters, ): StreamableMethod< - WebApplicationFirewallPoliciesGet200Response | WebApplicationFirewallPoliciesGetDefaultResponse + | WebApplicationFirewallPoliciesGet200Response + | WebApplicationFirewallPoliciesGetDefaultResponse >; /** Creates or update policy with specified rule set name within a resource group. */ put( @@ -7458,7 +7815,9 @@ export interface VipSwapGet { put( options: VipSwapCreateParameters, ): StreamableMethod< - VipSwapCreate200Response | VipSwapCreate202Response | VipSwapCreateDefaultResponse + | VipSwapCreate200Response + | VipSwapCreate202Response + | VipSwapCreateDefaultResponse >; } @@ -7730,6 +8089,12 @@ export interface Routes { subscriptionId: string, location: string, ): CheckDnsNameAvailability; + /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.Network/expressRouteProviderPorts/\{providerport\}' has methods for the following verbs: get */ + ( + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", + subscriptionId: string, + providerport: string, + ): ExpressRouteProviderPort; /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.Network/networkManagers/\{networkManagerName\}/listActiveConnectivityConfigurations' has methods for the following verbs: post */ ( path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations", @@ -8279,12 +8644,6 @@ export interface Routes { path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts", subscriptionId: string, ): ExpressRouteProviderPortsLocationList; - /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.Network/expressRouteProviderPorts/\{providerport\}' has methods for the following verbs: get */ - ( - path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", - subscriptionId: string, - providerport: string, - ): ExpressRouteProviderPortsGet; /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.Network/firewallPolicies/\{firewallPolicyName\}' has methods for the following verbs: delete, get, put, patch */ ( path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", @@ -9675,7 +10034,7 @@ export interface Routes { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId: string, resourceGroupName: string, - VirtualWANName: string, + virtualWANName: string, ): VirtualWansGet; /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.Network/virtualWans' has methods for the following verbs: get */ ( diff --git a/sdk/network/arm-network-rest/src/isUnexpected.ts b/sdk/network/arm-network-rest/src/isUnexpected.ts index 474142b3baa1..79094ace184e 100644 --- a/sdk/network/arm-network-rest/src/isUnexpected.ts +++ b/sdk/network/arm-network-rest/src/isUnexpected.ts @@ -1,250 +1,267 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { - AdminRuleCollectionsCreateOrUpdate200Response, - AdminRuleCollectionsCreateOrUpdate201Response, - AdminRuleCollectionsCreateOrUpdateDefaultResponse, - AdminRuleCollectionsDelete200Response, - AdminRuleCollectionsDelete202Response, - AdminRuleCollectionsDelete204Response, - AdminRuleCollectionsDeleteDefaultResponse, - AdminRuleCollectionsGet200Response, - AdminRuleCollectionsGetDefaultResponse, - AdminRuleCollectionsList200Response, - AdminRuleCollectionsListDefaultResponse, - AdminRulesCreateOrUpdate200Response, - AdminRulesCreateOrUpdate201Response, - AdminRulesCreateOrUpdateDefaultResponse, - AdminRulesDelete200Response, - AdminRulesDelete202Response, - AdminRulesDelete204Response, - AdminRulesDeleteDefaultResponse, - AdminRulesGet200Response, - AdminRulesGetDefaultResponse, - AdminRulesList200Response, - AdminRulesListDefaultResponse, - ApplicationGatewayPrivateEndpointConnectionsDelete200Response, - ApplicationGatewayPrivateEndpointConnectionsDelete202Response, - ApplicationGatewayPrivateEndpointConnectionsDelete204Response, - ApplicationGatewayPrivateEndpointConnectionsDeleteDefaultResponse, - ApplicationGatewayPrivateEndpointConnectionsGet200Response, - ApplicationGatewayPrivateEndpointConnectionsGetDefaultResponse, - ApplicationGatewayPrivateEndpointConnectionsList200Response, - ApplicationGatewayPrivateEndpointConnectionsListDefaultResponse, - ApplicationGatewayPrivateEndpointConnectionsUpdate200Response, - ApplicationGatewayPrivateEndpointConnectionsUpdate202Response, - ApplicationGatewayPrivateEndpointConnectionsUpdateDefaultResponse, - ApplicationGatewayPrivateLinkResourcesList200Response, - ApplicationGatewayPrivateLinkResourcesListDefaultResponse, - ApplicationGatewayWafDynamicManifestsDefaultGet200Response, - ApplicationGatewayWafDynamicManifestsDefaultGetDefaultResponse, - ApplicationGatewayWafDynamicManifestsGet200Response, - ApplicationGatewayWafDynamicManifestsGetDefaultResponse, - ApplicationGatewaysBackendHealth200Response, - ApplicationGatewaysBackendHealth202Response, - ApplicationGatewaysBackendHealthDefaultResponse, - ApplicationGatewaysBackendHealthOnDemand200Response, - ApplicationGatewaysBackendHealthOnDemand202Response, - ApplicationGatewaysBackendHealthOnDemandDefaultResponse, - ApplicationGatewaysCreateOrUpdate200Response, - ApplicationGatewaysCreateOrUpdate201Response, - ApplicationGatewaysCreateOrUpdateDefaultResponse, +import { ApplicationGatewaysDelete200Response, ApplicationGatewaysDelete202Response, ApplicationGatewaysDelete204Response, ApplicationGatewaysDeleteDefaultResponse, ApplicationGatewaysGet200Response, ApplicationGatewaysGetDefaultResponse, - ApplicationGatewaysGetSslPredefinedPolicy200Response, - ApplicationGatewaysGetSslPredefinedPolicyDefaultResponse, + ApplicationGatewaysCreateOrUpdate200Response, + ApplicationGatewaysCreateOrUpdate201Response, + ApplicationGatewaysCreateOrUpdateDefaultResponse, + ApplicationGatewaysUpdateTags200Response, + ApplicationGatewaysUpdateTagsDefaultResponse, ApplicationGatewaysList200Response, + ApplicationGatewaysListDefaultResponse, ApplicationGatewaysListAll200Response, ApplicationGatewaysListAllDefaultResponse, + ApplicationGatewaysStart200Response, + ApplicationGatewaysStart202Response, + ApplicationGatewaysStartDefaultResponse, + ApplicationGatewaysStop200Response, + ApplicationGatewaysStop202Response, + ApplicationGatewaysStopDefaultResponse, + ApplicationGatewaysBackendHealth200Response, + ApplicationGatewaysBackendHealth202Response, + ApplicationGatewaysBackendHealthDefaultResponse, + ApplicationGatewaysBackendHealthOnDemand200Response, + ApplicationGatewaysBackendHealthOnDemand202Response, + ApplicationGatewaysBackendHealthOnDemandDefaultResponse, + ApplicationGatewaysListAvailableServerVariables200Response, + ApplicationGatewaysListAvailableServerVariablesDefaultResponse, ApplicationGatewaysListAvailableRequestHeaders200Response, ApplicationGatewaysListAvailableRequestHeadersDefaultResponse, ApplicationGatewaysListAvailableResponseHeaders200Response, ApplicationGatewaysListAvailableResponseHeadersDefaultResponse, - ApplicationGatewaysListAvailableServerVariables200Response, - ApplicationGatewaysListAvailableServerVariablesDefaultResponse, + ApplicationGatewaysListAvailableWafRuleSets200Response, + ApplicationGatewaysListAvailableWafRuleSetsDefaultResponse, ApplicationGatewaysListAvailableSslOptions200Response, ApplicationGatewaysListAvailableSslOptionsDefaultResponse, ApplicationGatewaysListAvailableSslPredefinedPolicies200Response, ApplicationGatewaysListAvailableSslPredefinedPoliciesDefaultResponse, - ApplicationGatewaysListAvailableWafRuleSets200Response, - ApplicationGatewaysListAvailableWafRuleSetsDefaultResponse, - ApplicationGatewaysListDefaultResponse, - ApplicationGatewaysStart200Response, - ApplicationGatewaysStart202Response, - ApplicationGatewaysStartDefaultResponse, - ApplicationGatewaysStop200Response, - ApplicationGatewaysStop202Response, - ApplicationGatewaysStopDefaultResponse, - ApplicationGatewaysUpdateTags200Response, - ApplicationGatewaysUpdateTagsDefaultResponse, - ApplicationSecurityGroupsCreateOrUpdate200Response, - ApplicationSecurityGroupsCreateOrUpdate201Response, - ApplicationSecurityGroupsCreateOrUpdateDefaultResponse, + ApplicationGatewaysGetSslPredefinedPolicy200Response, + ApplicationGatewaysGetSslPredefinedPolicyDefaultResponse, + ApplicationGatewayPrivateLinkResourcesList200Response, + ApplicationGatewayPrivateLinkResourcesListDefaultResponse, + ApplicationGatewayPrivateEndpointConnectionsDelete200Response, + ApplicationGatewayPrivateEndpointConnectionsDelete202Response, + ApplicationGatewayPrivateEndpointConnectionsDelete204Response, + ApplicationGatewayPrivateEndpointConnectionsDeleteDefaultResponse, + ApplicationGatewayPrivateEndpointConnectionsUpdate200Response, + ApplicationGatewayPrivateEndpointConnectionsUpdate202Response, + ApplicationGatewayPrivateEndpointConnectionsUpdateDefaultResponse, + ApplicationGatewayPrivateEndpointConnectionsGet200Response, + ApplicationGatewayPrivateEndpointConnectionsGetDefaultResponse, + ApplicationGatewayPrivateEndpointConnectionsList200Response, + ApplicationGatewayPrivateEndpointConnectionsListDefaultResponse, + ApplicationGatewayWafDynamicManifestsDefaultGet200Response, + ApplicationGatewayWafDynamicManifestsDefaultGetDefaultResponse, + ApplicationGatewayWafDynamicManifestsGet200Response, + ApplicationGatewayWafDynamicManifestsGetDefaultResponse, ApplicationSecurityGroupsDelete200Response, ApplicationSecurityGroupsDelete202Response, ApplicationSecurityGroupsDelete204Response, ApplicationSecurityGroupsDeleteDefaultResponse, ApplicationSecurityGroupsGet200Response, ApplicationSecurityGroupsGetDefaultResponse, - ApplicationSecurityGroupsList200Response, + ApplicationSecurityGroupsCreateOrUpdate200Response, + ApplicationSecurityGroupsCreateOrUpdate201Response, + ApplicationSecurityGroupsCreateOrUpdateDefaultResponse, + ApplicationSecurityGroupsUpdateTags200Response, + ApplicationSecurityGroupsUpdateTagsDefaultResponse, ApplicationSecurityGroupsListAll200Response, ApplicationSecurityGroupsListAllDefaultResponse, + ApplicationSecurityGroupsList200Response, ApplicationSecurityGroupsListDefaultResponse, - ApplicationSecurityGroupsUpdateTags200Response, - ApplicationSecurityGroupsUpdateTagsDefaultResponse, AvailableDelegationsList200Response, AvailableDelegationsListDefaultResponse, - AvailableEndpointServicesList200Response, - AvailableEndpointServicesListDefaultResponse, - AvailablePrivateEndpointTypesList200Response, - AvailablePrivateEndpointTypesListByResourceGroup200Response, - AvailablePrivateEndpointTypesListByResourceGroupDefaultResponse, - AvailablePrivateEndpointTypesListDefaultResponse, AvailableResourceGroupDelegationsList200Response, AvailableResourceGroupDelegationsListDefaultResponse, AvailableServiceAliasesList200Response, + AvailableServiceAliasesListDefaultResponse, AvailableServiceAliasesListByResourceGroup200Response, AvailableServiceAliasesListByResourceGroupDefaultResponse, - AvailableServiceAliasesListDefaultResponse, - AzureFirewallFqdnTagsListAll200Response, - AzureFirewallFqdnTagsListAllDefaultResponse, - AzureFirewallsCreateOrUpdate200Response, - AzureFirewallsCreateOrUpdate201Response, - AzureFirewallsCreateOrUpdateDefaultResponse, AzureFirewallsDelete200Response, AzureFirewallsDelete202Response, AzureFirewallsDelete204Response, AzureFirewallsDeleteDefaultResponse, AzureFirewallsGet200Response, AzureFirewallsGetDefaultResponse, + AzureFirewallsCreateOrUpdate200Response, + AzureFirewallsCreateOrUpdate201Response, + AzureFirewallsCreateOrUpdateDefaultResponse, + AzureFirewallsUpdateTags200Response, + AzureFirewallsUpdateTags202Response, + AzureFirewallsUpdateTagsDefaultResponse, AzureFirewallsList200Response, + AzureFirewallsListDefaultResponse, AzureFirewallsListAll200Response, AzureFirewallsListAllDefaultResponse, - AzureFirewallsListDefaultResponse, AzureFirewallsListLearnedPrefixes200Response, AzureFirewallsListLearnedPrefixes202Response, AzureFirewallsListLearnedPrefixesDefaultResponse, - AzureFirewallsUpdateTags200Response, - AzureFirewallsUpdateTags202Response, - AzureFirewallsUpdateTagsDefaultResponse, - BastionHostsCreateOrUpdate200Response, - BastionHostsCreateOrUpdate201Response, - BastionHostsCreateOrUpdateDefaultResponse, + AzureFirewallFqdnTagsListAll200Response, + AzureFirewallFqdnTagsListAllDefaultResponse, + WebCategoriesGet200Response, + WebCategoriesGetDefaultResponse, + WebCategoriesListBySubscription200Response, + WebCategoriesListBySubscriptionDefaultResponse, BastionHostsDelete200Response, BastionHostsDelete202Response, BastionHostsDelete204Response, BastionHostsDeleteDefaultResponse, BastionHostsGet200Response, BastionHostsGetDefaultResponse, - BastionHostsList200Response, - BastionHostsListByResourceGroup200Response, - BastionHostsListByResourceGroupDefaultResponse, - BastionHostsListDefaultResponse, + BastionHostsCreateOrUpdate200Response, + BastionHostsCreateOrUpdate201Response, + BastionHostsCreateOrUpdateDefaultResponse, BastionHostsUpdateTags200Response, BastionHostsUpdateTags202Response, BastionHostsUpdateTagsDefaultResponse, - BgpServiceCommunitiesList200Response, - BgpServiceCommunitiesListDefaultResponse, - CheckDnsNameAvailability200Response, - CheckDnsNameAvailabilityDefaultResponse, - ConfigurationPolicyGroupsCreateOrUpdate200Response, - ConfigurationPolicyGroupsCreateOrUpdate201Response, - ConfigurationPolicyGroupsCreateOrUpdateDefaultResponse, - ConfigurationPolicyGroupsDelete200Response, - ConfigurationPolicyGroupsDelete202Response, - ConfigurationPolicyGroupsDelete204Response, - ConfigurationPolicyGroupsDeleteDefaultResponse, - ConfigurationPolicyGroupsGet200Response, - ConfigurationPolicyGroupsGetDefaultResponse, - ConfigurationPolicyGroupsListByVpnServerConfiguration200Response, - ConfigurationPolicyGroupsListByVpnServerConfigurationDefaultResponse, - ConnectionMonitorsCreateOrUpdate200Response, - ConnectionMonitorsCreateOrUpdate201Response, - ConnectionMonitorsCreateOrUpdateDefaultResponse, - ConnectionMonitorsDelete202Response, - ConnectionMonitorsDelete204Response, - ConnectionMonitorsDeleteDefaultResponse, - ConnectionMonitorsGet200Response, - ConnectionMonitorsGetDefaultResponse, - ConnectionMonitorsList200Response, - ConnectionMonitorsListDefaultResponse, - ConnectionMonitorsQuery200Response, - ConnectionMonitorsQuery202Response, - ConnectionMonitorsQueryDefaultResponse, - ConnectionMonitorsStart200Response, - ConnectionMonitorsStart202Response, - ConnectionMonitorsStartDefaultResponse, - ConnectionMonitorsStop200Response, - ConnectionMonitorsStop202Response, - ConnectionMonitorsStopDefaultResponse, - ConnectionMonitorsUpdateTags200Response, - ConnectionMonitorsUpdateTagsDefaultResponse, - ConnectivityConfigurationsCreateOrUpdate200Response, - ConnectivityConfigurationsCreateOrUpdate201Response, - ConnectivityConfigurationsCreateOrUpdateDefaultResponse, - ConnectivityConfigurationsDelete200Response, - ConnectivityConfigurationsDelete202Response, - ConnectivityConfigurationsDelete204Response, - ConnectivityConfigurationsDeleteDefaultResponse, - ConnectivityConfigurationsGet200Response, - ConnectivityConfigurationsGetDefaultResponse, - ConnectivityConfigurationsList200Response, - ConnectivityConfigurationsListDefaultResponse, - CustomIPPrefixesCreateOrUpdate200Response, - CustomIPPrefixesCreateOrUpdate201Response, - CustomIPPrefixesCreateOrUpdateDefaultResponse, - CustomIPPrefixesDelete200Response, - CustomIPPrefixesDelete202Response, - CustomIPPrefixesDelete204Response, - CustomIPPrefixesDeleteDefaultResponse, - CustomIPPrefixesGet200Response, - CustomIPPrefixesGetDefaultResponse, - CustomIPPrefixesList200Response, - CustomIPPrefixesListAll200Response, - CustomIPPrefixesListAllDefaultResponse, - CustomIPPrefixesListDefaultResponse, - CustomIPPrefixesUpdateTags200Response, - CustomIPPrefixesUpdateTagsDefaultResponse, - DdosCustomPoliciesCreateOrUpdate200Response, - DdosCustomPoliciesCreateOrUpdate201Response, - DdosCustomPoliciesCreateOrUpdateDefaultResponse, - DdosCustomPoliciesDelete200Response, - DdosCustomPoliciesDelete202Response, - DdosCustomPoliciesDelete204Response, - DdosCustomPoliciesDeleteDefaultResponse, - DdosCustomPoliciesGet200Response, - DdosCustomPoliciesGetDefaultResponse, - DdosCustomPoliciesUpdateTags200Response, - DdosCustomPoliciesUpdateTagsDefaultResponse, - DdosProtectionPlansCreateOrUpdate200Response, - DdosProtectionPlansCreateOrUpdate201Response, - DdosProtectionPlansCreateOrUpdateDefaultResponse, - DdosProtectionPlansDelete200Response, - DdosProtectionPlansDelete202Response, - DdosProtectionPlansDelete204Response, - DdosProtectionPlansDeleteDefaultResponse, - DdosProtectionPlansGet200Response, - DdosProtectionPlansGetDefaultResponse, - DdosProtectionPlansList200Response, - DdosProtectionPlansListByResourceGroup200Response, - DdosProtectionPlansListByResourceGroupDefaultResponse, - DdosProtectionPlansListDefaultResponse, - DdosProtectionPlansUpdateTags200Response, - DdosProtectionPlansUpdateTagsDefaultResponse, - DefaultSecurityRulesGet200Response, - DefaultSecurityRulesGetDefaultResponse, - DefaultSecurityRulesList200Response, - DefaultSecurityRulesListDefaultResponse, + BastionHostsList200Response, + BastionHostsListDefaultResponse, + BastionHostsListByResourceGroup200Response, + BastionHostsListByResourceGroupDefaultResponse, + PutBastionShareableLink200Response, + PutBastionShareableLink202Response, + PutBastionShareableLinkDefaultResponse, DeleteBastionShareableLink200Response, DeleteBastionShareableLink202Response, DeleteBastionShareableLinkDefaultResponse, - DisconnectActiveSessions200Response, + GetBastionShareableLink200Response, + GetBastionShareableLinkDefaultResponse, + GetActiveSessions200Response, + GetActiveSessions202Response, + GetActiveSessionsDefaultResponse, + DisconnectActiveSessions200Response, DisconnectActiveSessionsDefaultResponse, + CheckDnsNameAvailability200Response, + CheckDnsNameAvailabilityDefaultResponse, + ExpressRouteProviderPort200Response, + ExpressRouteProviderPortDefaultResponse, + ListActiveConnectivityConfigurations200Response, + ListActiveConnectivityConfigurationsDefaultResponse, + ListActiveSecurityAdminRules200Response, + ListActiveSecurityAdminRulesDefaultResponse, + ListNetworkManagerEffectiveConnectivityConfigurations200Response, + ListNetworkManagerEffectiveConnectivityConfigurationsDefaultResponse, + ListNetworkManagerEffectiveSecurityAdminRules200Response, + ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse, + SupportedSecurityProviders200Response, + SupportedSecurityProvidersDefaultResponse, + Generatevirtualwanvpnserverconfigurationvpnprofile200Response, + Generatevirtualwanvpnserverconfigurationvpnprofile202Response, + GeneratevirtualwanvpnserverconfigurationvpnprofileDefaultResponse, + NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfaces200Response, + NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesDefaultResponse, + NetworkInterfacesListCloudServiceNetworkInterfaces200Response, + NetworkInterfacesListCloudServiceNetworkInterfacesDefaultResponse, + NetworkInterfacesGetCloudServiceNetworkInterface200Response, + NetworkInterfacesGetCloudServiceNetworkInterfaceDefaultResponse, + NetworkInterfacesDelete200Response, + NetworkInterfacesDelete202Response, + NetworkInterfacesDelete204Response, + NetworkInterfacesDeleteDefaultResponse, + NetworkInterfacesGet200Response, + NetworkInterfacesGetDefaultResponse, + NetworkInterfacesCreateOrUpdate200Response, + NetworkInterfacesCreateOrUpdate201Response, + NetworkInterfacesCreateOrUpdateDefaultResponse, + NetworkInterfacesUpdateTags200Response, + NetworkInterfacesUpdateTagsDefaultResponse, + NetworkInterfacesListAll200Response, + NetworkInterfacesListAllDefaultResponse, + NetworkInterfacesList200Response, + NetworkInterfacesListDefaultResponse, + NetworkInterfacesGetEffectiveRouteTable200Response, + NetworkInterfacesGetEffectiveRouteTable202Response, + NetworkInterfacesGetEffectiveRouteTableDefaultResponse, + NetworkInterfacesListEffectiveNetworkSecurityGroups200Response, + NetworkInterfacesListEffectiveNetworkSecurityGroups202Response, + NetworkInterfacesListEffectiveNetworkSecurityGroupsDefaultResponse, + NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfaces200Response, + NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesDefaultResponse, + NetworkInterfacesListVirtualMachineScaleSetNetworkInterfaces200Response, + NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesDefaultResponse, + NetworkInterfacesGetVirtualMachineScaleSetNetworkInterface200Response, + NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceDefaultResponse, + NetworkInterfacesListVirtualMachineScaleSetIpConfigurations200Response, + NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsDefaultResponse, + NetworkInterfacesGetVirtualMachineScaleSetIpConfiguration200Response, + NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationDefaultResponse, + PublicIPAddressesListCloudServicePublicIPAddresses200Response, + PublicIPAddressesListCloudServicePublicIPAddressesDefaultResponse, + PublicIPAddressesListCloudServiceRoleInstancePublicIPAddresses200Response, + PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesDefaultResponse, + PublicIPAddressesGetCloudServicePublicIPAddress200Response, + PublicIPAddressesGetCloudServicePublicIPAddressDefaultResponse, + PublicIPAddressesDelete200Response, + PublicIPAddressesDelete202Response, + PublicIPAddressesDelete204Response, + PublicIPAddressesDeleteDefaultResponse, + PublicIPAddressesGet200Response, + PublicIPAddressesGetDefaultResponse, + PublicIPAddressesCreateOrUpdate200Response, + PublicIPAddressesCreateOrUpdate201Response, + PublicIPAddressesCreateOrUpdateDefaultResponse, + PublicIPAddressesUpdateTags200Response, + PublicIPAddressesUpdateTagsDefaultResponse, + PublicIPAddressesListAll200Response, + PublicIPAddressesListAllDefaultResponse, + PublicIPAddressesList200Response, + PublicIPAddressesListDefaultResponse, + PublicIPAddressesDdosProtectionStatus200Response, + PublicIPAddressesDdosProtectionStatus202Response, + PublicIPAddressesDdosProtectionStatusDefaultResponse, + PublicIPAddressesListVirtualMachineScaleSetPublicIPAddresses200Response, + PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesDefaultResponse, + PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddresses200Response, + PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesDefaultResponse, + PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddress200Response, + PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressDefaultResponse, + CustomIPPrefixesDelete200Response, + CustomIPPrefixesDelete202Response, + CustomIPPrefixesDelete204Response, + CustomIPPrefixesDeleteDefaultResponse, + CustomIPPrefixesGet200Response, + CustomIPPrefixesGetDefaultResponse, + CustomIPPrefixesCreateOrUpdate200Response, + CustomIPPrefixesCreateOrUpdate201Response, + CustomIPPrefixesCreateOrUpdateDefaultResponse, + CustomIPPrefixesUpdateTags200Response, + CustomIPPrefixesUpdateTagsDefaultResponse, + CustomIPPrefixesListAll200Response, + CustomIPPrefixesListAllDefaultResponse, + CustomIPPrefixesList200Response, + CustomIPPrefixesListDefaultResponse, + DdosCustomPoliciesDelete200Response, + DdosCustomPoliciesDelete202Response, + DdosCustomPoliciesDelete204Response, + DdosCustomPoliciesDeleteDefaultResponse, + DdosCustomPoliciesGet200Response, + DdosCustomPoliciesGetDefaultResponse, + DdosCustomPoliciesCreateOrUpdate200Response, + DdosCustomPoliciesCreateOrUpdate201Response, + DdosCustomPoliciesCreateOrUpdateDefaultResponse, + DdosCustomPoliciesUpdateTags200Response, + DdosCustomPoliciesUpdateTagsDefaultResponse, + DdosProtectionPlansDelete200Response, + DdosProtectionPlansDelete202Response, + DdosProtectionPlansDelete204Response, + DdosProtectionPlansDeleteDefaultResponse, + DdosProtectionPlansGet200Response, + DdosProtectionPlansGetDefaultResponse, + DdosProtectionPlansCreateOrUpdate200Response, + DdosProtectionPlansCreateOrUpdate201Response, + DdosProtectionPlansCreateOrUpdateDefaultResponse, + DdosProtectionPlansUpdateTags200Response, + DdosProtectionPlansUpdateTagsDefaultResponse, + DdosProtectionPlansList200Response, + DdosProtectionPlansListDefaultResponse, + DdosProtectionPlansListByResourceGroup200Response, + DdosProtectionPlansListByResourceGroupDefaultResponse, DscpConfigurationCreateOrUpdate200Response, DscpConfigurationCreateOrUpdate201Response, DscpConfigurationCreateOrUpdateDefaultResponse, @@ -255,301 +272,239 @@ import type { DscpConfigurationGet200Response, DscpConfigurationGetDefaultResponse, DscpConfigurationList200Response, + DscpConfigurationListDefaultResponse, DscpConfigurationListAll200Response, DscpConfigurationListAllDefaultResponse, - DscpConfigurationListDefaultResponse, - ExpressRouteCircuitAuthorizationsCreateOrUpdate200Response, - ExpressRouteCircuitAuthorizationsCreateOrUpdate201Response, - ExpressRouteCircuitAuthorizationsCreateOrUpdateDefaultResponse, + AvailableEndpointServicesList200Response, + AvailableEndpointServicesListDefaultResponse, ExpressRouteCircuitAuthorizationsDelete200Response, ExpressRouteCircuitAuthorizationsDelete202Response, ExpressRouteCircuitAuthorizationsDelete204Response, ExpressRouteCircuitAuthorizationsDeleteDefaultResponse, ExpressRouteCircuitAuthorizationsGet200Response, ExpressRouteCircuitAuthorizationsGetDefaultResponse, + ExpressRouteCircuitAuthorizationsCreateOrUpdate200Response, + ExpressRouteCircuitAuthorizationsCreateOrUpdate201Response, + ExpressRouteCircuitAuthorizationsCreateOrUpdateDefaultResponse, ExpressRouteCircuitAuthorizationsList200Response, ExpressRouteCircuitAuthorizationsListDefaultResponse, - ExpressRouteCircuitConnectionsCreateOrUpdate200Response, - ExpressRouteCircuitConnectionsCreateOrUpdate201Response, - ExpressRouteCircuitConnectionsCreateOrUpdateDefaultResponse, - ExpressRouteCircuitConnectionsDelete200Response, - ExpressRouteCircuitConnectionsDelete202Response, - ExpressRouteCircuitConnectionsDelete204Response, - ExpressRouteCircuitConnectionsDeleteDefaultResponse, - ExpressRouteCircuitConnectionsGet200Response, - ExpressRouteCircuitConnectionsGetDefaultResponse, - ExpressRouteCircuitConnectionsList200Response, - ExpressRouteCircuitConnectionsListDefaultResponse, - ExpressRouteCircuitPeeringsCreateOrUpdate200Response, - ExpressRouteCircuitPeeringsCreateOrUpdate201Response, - ExpressRouteCircuitPeeringsCreateOrUpdateDefaultResponse, ExpressRouteCircuitPeeringsDelete200Response, ExpressRouteCircuitPeeringsDelete202Response, ExpressRouteCircuitPeeringsDelete204Response, ExpressRouteCircuitPeeringsDeleteDefaultResponse, ExpressRouteCircuitPeeringsGet200Response, ExpressRouteCircuitPeeringsGetDefaultResponse, + ExpressRouteCircuitPeeringsCreateOrUpdate200Response, + ExpressRouteCircuitPeeringsCreateOrUpdate201Response, + ExpressRouteCircuitPeeringsCreateOrUpdateDefaultResponse, ExpressRouteCircuitPeeringsList200Response, ExpressRouteCircuitPeeringsListDefaultResponse, - ExpressRouteCircuitsCreateOrUpdate200Response, - ExpressRouteCircuitsCreateOrUpdate201Response, - ExpressRouteCircuitsCreateOrUpdateDefaultResponse, + ExpressRouteCircuitConnectionsDelete200Response, + ExpressRouteCircuitConnectionsDelete202Response, + ExpressRouteCircuitConnectionsDelete204Response, + ExpressRouteCircuitConnectionsDeleteDefaultResponse, + ExpressRouteCircuitConnectionsGet200Response, + ExpressRouteCircuitConnectionsGetDefaultResponse, + ExpressRouteCircuitConnectionsCreateOrUpdate200Response, + ExpressRouteCircuitConnectionsCreateOrUpdate201Response, + ExpressRouteCircuitConnectionsCreateOrUpdateDefaultResponse, + ExpressRouteCircuitConnectionsList200Response, + ExpressRouteCircuitConnectionsListDefaultResponse, + PeerExpressRouteCircuitConnectionsGet200Response, + PeerExpressRouteCircuitConnectionsGetDefaultResponse, + PeerExpressRouteCircuitConnectionsList200Response, + PeerExpressRouteCircuitConnectionsListDefaultResponse, ExpressRouteCircuitsDelete200Response, ExpressRouteCircuitsDelete202Response, ExpressRouteCircuitsDelete204Response, ExpressRouteCircuitsDeleteDefaultResponse, ExpressRouteCircuitsGet200Response, ExpressRouteCircuitsGetDefaultResponse, - ExpressRouteCircuitsGetPeeringStats200Response, - ExpressRouteCircuitsGetPeeringStatsDefaultResponse, - ExpressRouteCircuitsGetStats200Response, - ExpressRouteCircuitsGetStatsDefaultResponse, - ExpressRouteCircuitsList200Response, - ExpressRouteCircuitsListAll200Response, - ExpressRouteCircuitsListAllDefaultResponse, + ExpressRouteCircuitsCreateOrUpdate200Response, + ExpressRouteCircuitsCreateOrUpdate201Response, + ExpressRouteCircuitsCreateOrUpdateDefaultResponse, + ExpressRouteCircuitsUpdateTags200Response, + ExpressRouteCircuitsUpdateTagsDefaultResponse, ExpressRouteCircuitsListArpTable200Response, ExpressRouteCircuitsListArpTable202Response, ExpressRouteCircuitsListArpTableDefaultResponse, - ExpressRouteCircuitsListDefaultResponse, ExpressRouteCircuitsListRoutesTable200Response, ExpressRouteCircuitsListRoutesTable202Response, ExpressRouteCircuitsListRoutesTableDefaultResponse, ExpressRouteCircuitsListRoutesTableSummary200Response, ExpressRouteCircuitsListRoutesTableSummary202Response, ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse, - ExpressRouteCircuitsUpdateTags200Response, - ExpressRouteCircuitsUpdateTagsDefaultResponse, - ExpressRouteConnectionsCreateOrUpdate200Response, - ExpressRouteConnectionsCreateOrUpdate201Response, - ExpressRouteConnectionsCreateOrUpdateDefaultResponse, - ExpressRouteConnectionsDelete200Response, - ExpressRouteConnectionsDelete202Response, - ExpressRouteConnectionsDelete204Response, - ExpressRouteConnectionsDeleteDefaultResponse, - ExpressRouteConnectionsGet200Response, - ExpressRouteConnectionsGetDefaultResponse, - ExpressRouteConnectionsList200Response, - ExpressRouteConnectionsListDefaultResponse, - ExpressRouteCrossConnectionPeeringsCreateOrUpdate200Response, - ExpressRouteCrossConnectionPeeringsCreateOrUpdate201Response, - ExpressRouteCrossConnectionPeeringsCreateOrUpdateDefaultResponse, - ExpressRouteCrossConnectionPeeringsDelete200Response, - ExpressRouteCrossConnectionPeeringsDelete202Response, - ExpressRouteCrossConnectionPeeringsDelete204Response, - ExpressRouteCrossConnectionPeeringsDeleteDefaultResponse, - ExpressRouteCrossConnectionPeeringsGet200Response, - ExpressRouteCrossConnectionPeeringsGetDefaultResponse, - ExpressRouteCrossConnectionPeeringsList200Response, - ExpressRouteCrossConnectionPeeringsListDefaultResponse, - ExpressRouteCrossConnectionsCreateOrUpdate200Response, - ExpressRouteCrossConnectionsCreateOrUpdateDefaultResponse, + ExpressRouteCircuitsGetStats200Response, + ExpressRouteCircuitsGetStatsDefaultResponse, + ExpressRouteCircuitsGetPeeringStats200Response, + ExpressRouteCircuitsGetPeeringStatsDefaultResponse, + ExpressRouteCircuitsList200Response, + ExpressRouteCircuitsListDefaultResponse, + ExpressRouteCircuitsListAll200Response, + ExpressRouteCircuitsListAllDefaultResponse, + ExpressRouteServiceProvidersList200Response, + ExpressRouteServiceProvidersListDefaultResponse, + ExpressRouteCrossConnectionsList200Response, + ExpressRouteCrossConnectionsListDefaultResponse, + ExpressRouteCrossConnectionsListByResourceGroup200Response, + ExpressRouteCrossConnectionsListByResourceGroupDefaultResponse, ExpressRouteCrossConnectionsGet200Response, ExpressRouteCrossConnectionsGetDefaultResponse, - ExpressRouteCrossConnectionsList200Response, + ExpressRouteCrossConnectionsCreateOrUpdate200Response, + ExpressRouteCrossConnectionsCreateOrUpdateDefaultResponse, + ExpressRouteCrossConnectionsUpdateTags200Response, + ExpressRouteCrossConnectionsUpdateTagsDefaultResponse, ExpressRouteCrossConnectionsListArpTable200Response, ExpressRouteCrossConnectionsListArpTable202Response, ExpressRouteCrossConnectionsListArpTableDefaultResponse, - ExpressRouteCrossConnectionsListByResourceGroup200Response, - ExpressRouteCrossConnectionsListByResourceGroupDefaultResponse, - ExpressRouteCrossConnectionsListDefaultResponse, - ExpressRouteCrossConnectionsListRoutesTable200Response, - ExpressRouteCrossConnectionsListRoutesTable202Response, - ExpressRouteCrossConnectionsListRoutesTableDefaultResponse, ExpressRouteCrossConnectionsListRoutesTableSummary200Response, ExpressRouteCrossConnectionsListRoutesTableSummary202Response, ExpressRouteCrossConnectionsListRoutesTableSummaryDefaultResponse, - ExpressRouteCrossConnectionsUpdateTags200Response, - ExpressRouteCrossConnectionsUpdateTagsDefaultResponse, - ExpressRouteGatewaysCreateOrUpdate200Response, - ExpressRouteGatewaysCreateOrUpdate201Response, - ExpressRouteGatewaysCreateOrUpdateDefaultResponse, - ExpressRouteGatewaysDelete200Response, - ExpressRouteGatewaysDelete202Response, - ExpressRouteGatewaysDelete204Response, - ExpressRouteGatewaysDeleteDefaultResponse, - ExpressRouteGatewaysGet200Response, - ExpressRouteGatewaysGetDefaultResponse, - ExpressRouteGatewaysListByResourceGroup200Response, - ExpressRouteGatewaysListByResourceGroupDefaultResponse, - ExpressRouteGatewaysListBySubscription200Response, - ExpressRouteGatewaysListBySubscriptionDefaultResponse, - ExpressRouteGatewaysUpdateTags200Response, - ExpressRouteGatewaysUpdateTags202Response, - ExpressRouteGatewaysUpdateTagsDefaultResponse, + ExpressRouteCrossConnectionsListRoutesTable200Response, + ExpressRouteCrossConnectionsListRoutesTable202Response, + ExpressRouteCrossConnectionsListRoutesTableDefaultResponse, + ExpressRouteCrossConnectionPeeringsList200Response, + ExpressRouteCrossConnectionPeeringsListDefaultResponse, + ExpressRouteCrossConnectionPeeringsDelete200Response, + ExpressRouteCrossConnectionPeeringsDelete202Response, + ExpressRouteCrossConnectionPeeringsDelete204Response, + ExpressRouteCrossConnectionPeeringsDeleteDefaultResponse, + ExpressRouteCrossConnectionPeeringsGet200Response, + ExpressRouteCrossConnectionPeeringsGetDefaultResponse, + ExpressRouteCrossConnectionPeeringsCreateOrUpdate200Response, + ExpressRouteCrossConnectionPeeringsCreateOrUpdate201Response, + ExpressRouteCrossConnectionPeeringsCreateOrUpdateDefaultResponse, + ExpressRoutePortsLocationsList200Response, + ExpressRoutePortsLocationsListDefaultResponse, + ExpressRoutePortsLocationsGet200Response, + ExpressRoutePortsLocationsGetDefaultResponse, + ExpressRoutePortsDelete200Response, + ExpressRoutePortsDelete202Response, + ExpressRoutePortsDelete204Response, + ExpressRoutePortsDeleteDefaultResponse, + ExpressRoutePortsGet200Response, + ExpressRoutePortsGetDefaultResponse, + ExpressRoutePortsCreateOrUpdate200Response, + ExpressRoutePortsCreateOrUpdate201Response, + ExpressRoutePortsCreateOrUpdateDefaultResponse, + ExpressRoutePortsUpdateTags200Response, + ExpressRoutePortsUpdateTagsDefaultResponse, + ExpressRoutePortsListByResourceGroup200Response, + ExpressRoutePortsListByResourceGroupDefaultResponse, + ExpressRoutePortsList200Response, + ExpressRoutePortsListDefaultResponse, + ExpressRoutePortsGenerateLOA200Response, + ExpressRoutePortsGenerateLOADefaultResponse, ExpressRouteLinksGet200Response, ExpressRouteLinksGetDefaultResponse, ExpressRouteLinksList200Response, ExpressRouteLinksListDefaultResponse, - ExpressRoutePortAuthorizationsCreateOrUpdate200Response, - ExpressRoutePortAuthorizationsCreateOrUpdate201Response, - ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse, ExpressRoutePortAuthorizationsDelete200Response, ExpressRoutePortAuthorizationsDelete202Response, ExpressRoutePortAuthorizationsDelete204Response, ExpressRoutePortAuthorizationsDeleteDefaultResponse, ExpressRoutePortAuthorizationsGet200Response, ExpressRoutePortAuthorizationsGetDefaultResponse, + ExpressRoutePortAuthorizationsCreateOrUpdate200Response, + ExpressRoutePortAuthorizationsCreateOrUpdate201Response, + ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse, ExpressRoutePortAuthorizationsList200Response, ExpressRoutePortAuthorizationsListDefaultResponse, - ExpressRoutePortsCreateOrUpdate200Response, - ExpressRoutePortsCreateOrUpdate201Response, - ExpressRoutePortsCreateOrUpdateDefaultResponse, - ExpressRoutePortsDelete200Response, - ExpressRoutePortsDelete202Response, - ExpressRoutePortsDelete204Response, - ExpressRoutePortsDeleteDefaultResponse, - ExpressRoutePortsGenerateLOA200Response, - ExpressRoutePortsGenerateLOADefaultResponse, - ExpressRoutePortsGet200Response, - ExpressRoutePortsGetDefaultResponse, - ExpressRoutePortsList200Response, - ExpressRoutePortsListByResourceGroup200Response, - ExpressRoutePortsListByResourceGroupDefaultResponse, - ExpressRoutePortsListDefaultResponse, - ExpressRoutePortsLocationsGet200Response, - ExpressRoutePortsLocationsGetDefaultResponse, - ExpressRoutePortsLocationsList200Response, - ExpressRoutePortsLocationsListDefaultResponse, - ExpressRoutePortsUpdateTags200Response, - ExpressRoutePortsUpdateTagsDefaultResponse, - ExpressRouteProviderPortsGet200Response, - ExpressRouteProviderPortsGetDefaultResponse, ExpressRouteProviderPortsLocationList200Response, ExpressRouteProviderPortsLocationListDefaultResponse, - ExpressRouteServiceProvidersList200Response, - ExpressRouteServiceProvidersListDefaultResponse, - FirewallPoliciesCreateOrUpdate200Response, - FirewallPoliciesCreateOrUpdate201Response, - FirewallPoliciesCreateOrUpdateDefaultResponse, FirewallPoliciesDelete200Response, FirewallPoliciesDelete202Response, FirewallPoliciesDelete204Response, FirewallPoliciesDeleteDefaultResponse, FirewallPoliciesGet200Response, FirewallPoliciesGetDefaultResponse, + FirewallPoliciesCreateOrUpdate200Response, + FirewallPoliciesCreateOrUpdate201Response, + FirewallPoliciesCreateOrUpdateDefaultResponse, + FirewallPoliciesUpdateTags200Response, + FirewallPoliciesUpdateTagsDefaultResponse, FirewallPoliciesList200Response, + FirewallPoliciesListDefaultResponse, FirewallPoliciesListAll200Response, FirewallPoliciesListAllDefaultResponse, - FirewallPoliciesListDefaultResponse, - FirewallPoliciesUpdateTags200Response, - FirewallPoliciesUpdateTagsDefaultResponse, - FirewallPolicyIdpsSignaturesFilterValuesList200Response, - FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse, - FirewallPolicyIdpsSignaturesList200Response, - FirewallPolicyIdpsSignaturesListDefaultResponse, - FirewallPolicyIdpsSignaturesOverridesGet200Response, - FirewallPolicyIdpsSignaturesOverridesGetDefaultResponse, - FirewallPolicyIdpsSignaturesOverridesList200Response, - FirewallPolicyIdpsSignaturesOverridesListDefaultResponse, - FirewallPolicyIdpsSignaturesOverridesPatch200Response, - FirewallPolicyIdpsSignaturesOverridesPatchDefaultResponse, - FirewallPolicyIdpsSignaturesOverridesPut200Response, - FirewallPolicyIdpsSignaturesOverridesPutDefaultResponse, - FirewallPolicyRuleCollectionGroupsCreateOrUpdate200Response, - FirewallPolicyRuleCollectionGroupsCreateOrUpdate201Response, - FirewallPolicyRuleCollectionGroupsCreateOrUpdateDefaultResponse, FirewallPolicyRuleCollectionGroupsDelete200Response, FirewallPolicyRuleCollectionGroupsDelete202Response, FirewallPolicyRuleCollectionGroupsDelete204Response, FirewallPolicyRuleCollectionGroupsDeleteDefaultResponse, FirewallPolicyRuleCollectionGroupsGet200Response, FirewallPolicyRuleCollectionGroupsGetDefaultResponse, + FirewallPolicyRuleCollectionGroupsCreateOrUpdate200Response, + FirewallPolicyRuleCollectionGroupsCreateOrUpdate201Response, + FirewallPolicyRuleCollectionGroupsCreateOrUpdateDefaultResponse, FirewallPolicyRuleCollectionGroupsList200Response, FirewallPolicyRuleCollectionGroupsListDefaultResponse, - FlowLogsCreateOrUpdate200Response, - FlowLogsCreateOrUpdate201Response, - FlowLogsCreateOrUpdateDefaultResponse, - FlowLogsDelete202Response, - FlowLogsDelete204Response, - FlowLogsDeleteDefaultResponse, - FlowLogsGet200Response, - FlowLogsGetDefaultResponse, - FlowLogsList200Response, - FlowLogsListDefaultResponse, - FlowLogsUpdateTags200Response, - FlowLogsUpdateTagsDefaultResponse, - Generatevirtualwanvpnserverconfigurationvpnprofile200Response, - Generatevirtualwanvpnserverconfigurationvpnprofile202Response, - GeneratevirtualwanvpnserverconfigurationvpnprofileDefaultResponse, - GetActiveSessions200Response, - GetActiveSessions202Response, - GetActiveSessionsDefaultResponse, - GetBastionShareableLink200Response, - GetBastionShareableLinkDefaultResponse, - HubRouteTablesCreateOrUpdate200Response, - HubRouteTablesCreateOrUpdate201Response, - HubRouteTablesCreateOrUpdateDefaultResponse, - HubRouteTablesDelete200Response, - HubRouteTablesDelete202Response, - HubRouteTablesDelete204Response, - HubRouteTablesDeleteDefaultResponse, - HubRouteTablesGet200Response, - HubRouteTablesGetDefaultResponse, - HubRouteTablesList200Response, - HubRouteTablesListDefaultResponse, - HubVirtualNetworkConnectionsCreateOrUpdate200Response, - HubVirtualNetworkConnectionsCreateOrUpdate201Response, - HubVirtualNetworkConnectionsCreateOrUpdateDefaultResponse, - HubVirtualNetworkConnectionsDelete200Response, - HubVirtualNetworkConnectionsDelete202Response, - HubVirtualNetworkConnectionsDelete204Response, - HubVirtualNetworkConnectionsDeleteDefaultResponse, - HubVirtualNetworkConnectionsGet200Response, - HubVirtualNetworkConnectionsGetDefaultResponse, - HubVirtualNetworkConnectionsList200Response, - HubVirtualNetworkConnectionsListDefaultResponse, - InboundNatRulesCreateOrUpdate200Response, - InboundNatRulesCreateOrUpdate201Response, - InboundNatRulesCreateOrUpdateDefaultResponse, - InboundNatRulesDelete200Response, - InboundNatRulesDelete202Response, - InboundNatRulesDelete204Response, - InboundNatRulesDeleteDefaultResponse, - InboundNatRulesGet200Response, - InboundNatRulesGetDefaultResponse, - InboundNatRulesList200Response, - InboundNatRulesListDefaultResponse, - InboundSecurityRuleCreateOrUpdate200Response, - InboundSecurityRuleCreateOrUpdate201Response, - InboundSecurityRuleCreateOrUpdateDefaultResponse, - IpAllocationsCreateOrUpdate200Response, - IpAllocationsCreateOrUpdate201Response, - IpAllocationsCreateOrUpdateDefaultResponse, + FirewallPolicyIdpsSignaturesList200Response, + FirewallPolicyIdpsSignaturesListDefaultResponse, + FirewallPolicyIdpsSignaturesOverridesPatch200Response, + FirewallPolicyIdpsSignaturesOverridesPatchDefaultResponse, + FirewallPolicyIdpsSignaturesOverridesPut200Response, + FirewallPolicyIdpsSignaturesOverridesPutDefaultResponse, + FirewallPolicyIdpsSignaturesOverridesGet200Response, + FirewallPolicyIdpsSignaturesOverridesGetDefaultResponse, + FirewallPolicyIdpsSignaturesOverridesList200Response, + FirewallPolicyIdpsSignaturesOverridesListDefaultResponse, + FirewallPolicyIdpsSignaturesFilterValuesList200Response, + FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse, IpAllocationsDelete200Response, IpAllocationsDelete202Response, IpAllocationsDelete204Response, IpAllocationsDeleteDefaultResponse, IpAllocationsGet200Response, IpAllocationsGetDefaultResponse, + IpAllocationsCreateOrUpdate200Response, + IpAllocationsCreateOrUpdate201Response, + IpAllocationsCreateOrUpdateDefaultResponse, + IpAllocationsUpdateTags200Response, + IpAllocationsUpdateTagsDefaultResponse, IpAllocationsList200Response, + IpAllocationsListDefaultResponse, IpAllocationsListByResourceGroup200Response, IpAllocationsListByResourceGroupDefaultResponse, - IpAllocationsListDefaultResponse, - IpAllocationsUpdateTags200Response, - IpAllocationsUpdateTagsDefaultResponse, + IpGroupsGet200Response, + IpGroupsGetDefaultResponse, IpGroupsCreateOrUpdate200Response, IpGroupsCreateOrUpdate201Response, IpGroupsCreateOrUpdateDefaultResponse, + IpGroupsUpdateGroups200Response, + IpGroupsUpdateGroupsDefaultResponse, IpGroupsDelete200Response, IpGroupsDelete202Response, IpGroupsDelete204Response, IpGroupsDeleteDefaultResponse, - IpGroupsGet200Response, - IpGroupsGetDefaultResponse, - IpGroupsList200Response, IpGroupsListByResourceGroup200Response, IpGroupsListByResourceGroupDefaultResponse, + IpGroupsList200Response, IpGroupsListDefaultResponse, - IpGroupsUpdateGroups200Response, - IpGroupsUpdateGroupsDefaultResponse, - ListActiveConnectivityConfigurations200Response, - ListActiveConnectivityConfigurationsDefaultResponse, - ListActiveSecurityAdminRules200Response, - ListActiveSecurityAdminRulesDefaultResponse, - ListNetworkManagerEffectiveConnectivityConfigurations200Response, - ListNetworkManagerEffectiveConnectivityConfigurationsDefaultResponse, - ListNetworkManagerEffectiveSecurityAdminRules200Response, - ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse, + LoadBalancersDelete200Response, + LoadBalancersDelete202Response, + LoadBalancersDelete204Response, + LoadBalancersDeleteDefaultResponse, + LoadBalancersGet200Response, + LoadBalancersGetDefaultResponse, + LoadBalancersCreateOrUpdate200Response, + LoadBalancersCreateOrUpdate201Response, + LoadBalancersCreateOrUpdateDefaultResponse, + LoadBalancersUpdateTags200Response, + LoadBalancersUpdateTagsDefaultResponse, + LoadBalancersListAll200Response, + LoadBalancersListAllDefaultResponse, + LoadBalancersList200Response, + LoadBalancersListDefaultResponse, + LoadBalancersSwapPublicIpAddresses200Response, + LoadBalancersSwapPublicIpAddresses202Response, + LoadBalancersSwapPublicIpAddressesDefaultResponse, + LoadBalancersListInboundNatRulePortMappings200Response, + LoadBalancersListInboundNatRulePortMappings202Response, + LoadBalancersListInboundNatRulePortMappingsDefaultResponse, + LoadBalancerBackendAddressPoolsList200Response, + LoadBalancerBackendAddressPoolsListDefaultResponse, + LoadBalancerBackendAddressPoolsGet200Response, + LoadBalancerBackendAddressPoolsGetDefaultResponse, LoadBalancerBackendAddressPoolsCreateOrUpdate200Response, LoadBalancerBackendAddressPoolsCreateOrUpdate201Response, LoadBalancerBackendAddressPoolsCreateOrUpdateDefaultResponse, @@ -557,169 +512,70 @@ import type { LoadBalancerBackendAddressPoolsDelete202Response, LoadBalancerBackendAddressPoolsDelete204Response, LoadBalancerBackendAddressPoolsDeleteDefaultResponse, - LoadBalancerBackendAddressPoolsGet200Response, - LoadBalancerBackendAddressPoolsGetDefaultResponse, - LoadBalancerBackendAddressPoolsList200Response, - LoadBalancerBackendAddressPoolsListDefaultResponse, - LoadBalancerFrontendIPConfigurationsGet200Response, - LoadBalancerFrontendIPConfigurationsGetDefaultResponse, LoadBalancerFrontendIPConfigurationsList200Response, LoadBalancerFrontendIPConfigurationsListDefaultResponse, - LoadBalancerLoadBalancingRulesGet200Response, - LoadBalancerLoadBalancingRulesGetDefaultResponse, + LoadBalancerFrontendIPConfigurationsGet200Response, + LoadBalancerFrontendIPConfigurationsGetDefaultResponse, + InboundNatRulesList200Response, + InboundNatRulesListDefaultResponse, + InboundNatRulesDelete200Response, + InboundNatRulesDelete202Response, + InboundNatRulesDelete204Response, + InboundNatRulesDeleteDefaultResponse, + InboundNatRulesGet200Response, + InboundNatRulesGetDefaultResponse, + InboundNatRulesCreateOrUpdate200Response, + InboundNatRulesCreateOrUpdate201Response, + InboundNatRulesCreateOrUpdateDefaultResponse, LoadBalancerLoadBalancingRulesList200Response, LoadBalancerLoadBalancingRulesListDefaultResponse, - LoadBalancerNetworkInterfacesList200Response, - LoadBalancerNetworkInterfacesListDefaultResponse, - LoadBalancerOutboundRulesGet200Response, - LoadBalancerOutboundRulesGetDefaultResponse, + LoadBalancerLoadBalancingRulesGet200Response, + LoadBalancerLoadBalancingRulesGetDefaultResponse, LoadBalancerOutboundRulesList200Response, LoadBalancerOutboundRulesListDefaultResponse, - LoadBalancerProbesGet200Response, - LoadBalancerProbesGetDefaultResponse, + LoadBalancerOutboundRulesGet200Response, + LoadBalancerOutboundRulesGetDefaultResponse, + LoadBalancerNetworkInterfacesList200Response, + LoadBalancerNetworkInterfacesListDefaultResponse, LoadBalancerProbesList200Response, LoadBalancerProbesListDefaultResponse, - LoadBalancersCreateOrUpdate200Response, - LoadBalancersCreateOrUpdate201Response, - LoadBalancersCreateOrUpdateDefaultResponse, - LoadBalancersDelete200Response, - LoadBalancersDelete202Response, - LoadBalancersDelete204Response, - LoadBalancersDeleteDefaultResponse, - LoadBalancersGet200Response, - LoadBalancersGetDefaultResponse, - LoadBalancersList200Response, - LoadBalancersListAll200Response, - LoadBalancersListAllDefaultResponse, - LoadBalancersListDefaultResponse, - LoadBalancersListInboundNatRulePortMappings200Response, - LoadBalancersListInboundNatRulePortMappings202Response, - LoadBalancersListInboundNatRulePortMappingsDefaultResponse, - LoadBalancersSwapPublicIpAddresses200Response, - LoadBalancersSwapPublicIpAddresses202Response, - LoadBalancersSwapPublicIpAddressesDefaultResponse, - LoadBalancersUpdateTags200Response, - LoadBalancersUpdateTagsDefaultResponse, - LocalNetworkGatewaysCreateOrUpdate200Response, - LocalNetworkGatewaysCreateOrUpdate201Response, - LocalNetworkGatewaysCreateOrUpdateDefaultResponse, - LocalNetworkGatewaysDelete200Response, - LocalNetworkGatewaysDelete202Response, - LocalNetworkGatewaysDelete204Response, - LocalNetworkGatewaysDeleteDefaultResponse, - LocalNetworkGatewaysGet200Response, - LocalNetworkGatewaysGetDefaultResponse, - LocalNetworkGatewaysList200Response, - LocalNetworkGatewaysListDefaultResponse, - LocalNetworkGatewaysUpdateTags200Response, - LocalNetworkGatewaysUpdateTagsDefaultResponse, - ManagementGroupNetworkManagerConnectionsCreateOrUpdate200Response, - ManagementGroupNetworkManagerConnectionsCreateOrUpdate201Response, - ManagementGroupNetworkManagerConnectionsCreateOrUpdateDefaultResponse, - ManagementGroupNetworkManagerConnectionsDelete200Response, - ManagementGroupNetworkManagerConnectionsDelete204Response, - ManagementGroupNetworkManagerConnectionsDeleteDefaultResponse, - ManagementGroupNetworkManagerConnectionsGet200Response, - ManagementGroupNetworkManagerConnectionsGetDefaultResponse, - ManagementGroupNetworkManagerConnectionsList200Response, - ManagementGroupNetworkManagerConnectionsListDefaultResponse, - NatGatewaysCreateOrUpdate200Response, - NatGatewaysCreateOrUpdate201Response, - NatGatewaysCreateOrUpdate202Response, - NatGatewaysCreateOrUpdateDefaultResponse, + LoadBalancerProbesGet200Response, + LoadBalancerProbesGetDefaultResponse, NatGatewaysDelete200Response, NatGatewaysDelete202Response, NatGatewaysDelete204Response, NatGatewaysDeleteDefaultResponse, NatGatewaysGet200Response, NatGatewaysGetDefaultResponse, - NatGatewaysList200Response, + NatGatewaysCreateOrUpdate200Response, + NatGatewaysCreateOrUpdate201Response, + NatGatewaysCreateOrUpdate202Response, + NatGatewaysCreateOrUpdateDefaultResponse, + NatGatewaysUpdateTags200Response, + NatGatewaysUpdateTagsDefaultResponse, NatGatewaysListAll200Response, NatGatewaysListAllDefaultResponse, + NatGatewaysList200Response, NatGatewaysListDefaultResponse, - NatGatewaysUpdateTags200Response, - NatGatewaysUpdateTagsDefaultResponse, - NatRulesCreateOrUpdate200Response, - NatRulesCreateOrUpdate201Response, - NatRulesCreateOrUpdateDefaultResponse, - NatRulesDelete200Response, - NatRulesDelete202Response, - NatRulesDelete204Response, - NatRulesDeleteDefaultResponse, - NatRulesGet200Response, - NatRulesGetDefaultResponse, - NatRulesListByVpnGateway200Response, - NatRulesListByVpnGatewayDefaultResponse, - NetworkGroupsCreateOrUpdate200Response, - NetworkGroupsCreateOrUpdate201Response, - NetworkGroupsCreateOrUpdateDefaultResponse, - NetworkGroupsDelete200Response, - NetworkGroupsDelete202Response, - NetworkGroupsDelete204Response, - NetworkGroupsDeleteDefaultResponse, - NetworkGroupsGet200Response, - NetworkGroupsGetDefaultResponse, - NetworkGroupsList200Response, - NetworkGroupsListDefaultResponse, - NetworkInterfaceIPConfigurationsGet200Response, - NetworkInterfaceIPConfigurationsGetDefaultResponse, NetworkInterfaceIPConfigurationsList200Response, NetworkInterfaceIPConfigurationsListDefaultResponse, + NetworkInterfaceIPConfigurationsGet200Response, + NetworkInterfaceIPConfigurationsGetDefaultResponse, NetworkInterfaceLoadBalancersList200Response, NetworkInterfaceLoadBalancersListDefaultResponse, - NetworkInterfaceTapConfigurationsCreateOrUpdate200Response, - NetworkInterfaceTapConfigurationsCreateOrUpdate201Response, - NetworkInterfaceTapConfigurationsCreateOrUpdateDefaultResponse, NetworkInterfaceTapConfigurationsDelete200Response, NetworkInterfaceTapConfigurationsDelete202Response, NetworkInterfaceTapConfigurationsDelete204Response, NetworkInterfaceTapConfigurationsDeleteDefaultResponse, NetworkInterfaceTapConfigurationsGet200Response, NetworkInterfaceTapConfigurationsGetDefaultResponse, + NetworkInterfaceTapConfigurationsCreateOrUpdate200Response, + NetworkInterfaceTapConfigurationsCreateOrUpdate201Response, + NetworkInterfaceTapConfigurationsCreateOrUpdateDefaultResponse, NetworkInterfaceTapConfigurationsList200Response, NetworkInterfaceTapConfigurationsListDefaultResponse, - NetworkInterfacesCreateOrUpdate200Response, - NetworkInterfacesCreateOrUpdate201Response, - NetworkInterfacesCreateOrUpdateDefaultResponse, - NetworkInterfacesDelete200Response, - NetworkInterfacesDelete202Response, - NetworkInterfacesDelete204Response, - NetworkInterfacesDeleteDefaultResponse, - NetworkInterfacesGet200Response, - NetworkInterfacesGetCloudServiceNetworkInterface200Response, - NetworkInterfacesGetCloudServiceNetworkInterfaceDefaultResponse, - NetworkInterfacesGetDefaultResponse, - NetworkInterfacesGetEffectiveRouteTable200Response, - NetworkInterfacesGetEffectiveRouteTable202Response, - NetworkInterfacesGetEffectiveRouteTableDefaultResponse, - NetworkInterfacesGetVirtualMachineScaleSetIpConfiguration200Response, - NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationDefaultResponse, - NetworkInterfacesGetVirtualMachineScaleSetNetworkInterface200Response, - NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceDefaultResponse, - NetworkInterfacesList200Response, - NetworkInterfacesListAll200Response, - NetworkInterfacesListAllDefaultResponse, - NetworkInterfacesListCloudServiceNetworkInterfaces200Response, - NetworkInterfacesListCloudServiceNetworkInterfacesDefaultResponse, - NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfaces200Response, - NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesDefaultResponse, - NetworkInterfacesListDefaultResponse, - NetworkInterfacesListEffectiveNetworkSecurityGroups200Response, - NetworkInterfacesListEffectiveNetworkSecurityGroups202Response, - NetworkInterfacesListEffectiveNetworkSecurityGroupsDefaultResponse, - NetworkInterfacesListVirtualMachineScaleSetIpConfigurations200Response, - NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsDefaultResponse, - NetworkInterfacesListVirtualMachineScaleSetNetworkInterfaces200Response, - NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesDefaultResponse, - NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfaces200Response, - NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesDefaultResponse, - NetworkInterfacesUpdateTags200Response, - NetworkInterfacesUpdateTagsDefaultResponse, - NetworkManagerCommitsPost200Response, - NetworkManagerCommitsPost202Response, - NetworkManagerCommitsPostDefaultResponse, - NetworkManagerDeploymentStatusList200Response, - NetworkManagerDeploymentStatusListDefaultResponse, + NetworkManagersGet200Response, + NetworkManagersGetDefaultResponse, NetworkManagersCreateOrUpdate200Response, NetworkManagersCreateOrUpdate201Response, NetworkManagersCreateOrUpdateDefaultResponse, @@ -727,768 +583,798 @@ import type { NetworkManagersDelete202Response, NetworkManagersDelete204Response, NetworkManagersDeleteDefaultResponse, - NetworkManagersGet200Response, - NetworkManagersGetDefaultResponse, - NetworkManagersList200Response, + NetworkManagersPatch200Response, + NetworkManagersPatchDefaultResponse, NetworkManagersListBySubscription200Response, NetworkManagersListBySubscriptionDefaultResponse, + NetworkManagersList200Response, NetworkManagersListDefaultResponse, - NetworkManagersPatch200Response, - NetworkManagersPatchDefaultResponse, - NetworkProfilesCreateOrUpdate200Response, - NetworkProfilesCreateOrUpdate201Response, - NetworkProfilesCreateOrUpdateDefaultResponse, + NetworkManagerCommitsPost200Response, + NetworkManagerCommitsPost202Response, + NetworkManagerCommitsPostDefaultResponse, + NetworkManagerDeploymentStatusList200Response, + NetworkManagerDeploymentStatusListDefaultResponse, + SubscriptionNetworkManagerConnectionsCreateOrUpdate200Response, + SubscriptionNetworkManagerConnectionsCreateOrUpdate201Response, + SubscriptionNetworkManagerConnectionsCreateOrUpdateDefaultResponse, + SubscriptionNetworkManagerConnectionsGet200Response, + SubscriptionNetworkManagerConnectionsGetDefaultResponse, + SubscriptionNetworkManagerConnectionsDelete200Response, + SubscriptionNetworkManagerConnectionsDelete204Response, + SubscriptionNetworkManagerConnectionsDeleteDefaultResponse, + SubscriptionNetworkManagerConnectionsList200Response, + SubscriptionNetworkManagerConnectionsListDefaultResponse, + ManagementGroupNetworkManagerConnectionsCreateOrUpdate200Response, + ManagementGroupNetworkManagerConnectionsCreateOrUpdate201Response, + ManagementGroupNetworkManagerConnectionsCreateOrUpdateDefaultResponse, + ManagementGroupNetworkManagerConnectionsGet200Response, + ManagementGroupNetworkManagerConnectionsGetDefaultResponse, + ManagementGroupNetworkManagerConnectionsDelete200Response, + ManagementGroupNetworkManagerConnectionsDelete204Response, + ManagementGroupNetworkManagerConnectionsDeleteDefaultResponse, + ManagementGroupNetworkManagerConnectionsList200Response, + ManagementGroupNetworkManagerConnectionsListDefaultResponse, + ConnectivityConfigurationsGet200Response, + ConnectivityConfigurationsGetDefaultResponse, + ConnectivityConfigurationsCreateOrUpdate200Response, + ConnectivityConfigurationsCreateOrUpdate201Response, + ConnectivityConfigurationsCreateOrUpdateDefaultResponse, + ConnectivityConfigurationsDelete200Response, + ConnectivityConfigurationsDelete202Response, + ConnectivityConfigurationsDelete204Response, + ConnectivityConfigurationsDeleteDefaultResponse, + ConnectivityConfigurationsList200Response, + ConnectivityConfigurationsListDefaultResponse, + NetworkGroupsGet200Response, + NetworkGroupsGetDefaultResponse, + NetworkGroupsCreateOrUpdate200Response, + NetworkGroupsCreateOrUpdate201Response, + NetworkGroupsCreateOrUpdateDefaultResponse, + NetworkGroupsDelete200Response, + NetworkGroupsDelete202Response, + NetworkGroupsDelete204Response, + NetworkGroupsDeleteDefaultResponse, + NetworkGroupsList200Response, + NetworkGroupsListDefaultResponse, + StaticMembersGet200Response, + StaticMembersGetDefaultResponse, + StaticMembersCreateOrUpdate200Response, + StaticMembersCreateOrUpdate201Response, + StaticMembersCreateOrUpdateDefaultResponse, + StaticMembersDelete200Response, + StaticMembersDelete204Response, + StaticMembersDeleteDefaultResponse, + StaticMembersList200Response, + StaticMembersListDefaultResponse, + ScopeConnectionsCreateOrUpdate200Response, + ScopeConnectionsCreateOrUpdate201Response, + ScopeConnectionsCreateOrUpdateDefaultResponse, + ScopeConnectionsGet200Response, + ScopeConnectionsGetDefaultResponse, + ScopeConnectionsDelete200Response, + ScopeConnectionsDelete204Response, + ScopeConnectionsDeleteDefaultResponse, + ScopeConnectionsList200Response, + ScopeConnectionsListDefaultResponse, + SecurityAdminConfigurationsList200Response, + SecurityAdminConfigurationsListDefaultResponse, + SecurityAdminConfigurationsGet200Response, + SecurityAdminConfigurationsGetDefaultResponse, + SecurityAdminConfigurationsCreateOrUpdate200Response, + SecurityAdminConfigurationsCreateOrUpdate201Response, + SecurityAdminConfigurationsCreateOrUpdateDefaultResponse, + SecurityAdminConfigurationsDelete200Response, + SecurityAdminConfigurationsDelete202Response, + SecurityAdminConfigurationsDelete204Response, + SecurityAdminConfigurationsDeleteDefaultResponse, + AdminRuleCollectionsList200Response, + AdminRuleCollectionsListDefaultResponse, + AdminRuleCollectionsGet200Response, + AdminRuleCollectionsGetDefaultResponse, + AdminRuleCollectionsCreateOrUpdate200Response, + AdminRuleCollectionsCreateOrUpdate201Response, + AdminRuleCollectionsCreateOrUpdateDefaultResponse, + AdminRuleCollectionsDelete200Response, + AdminRuleCollectionsDelete202Response, + AdminRuleCollectionsDelete204Response, + AdminRuleCollectionsDeleteDefaultResponse, + AdminRulesList200Response, + AdminRulesListDefaultResponse, + AdminRulesGet200Response, + AdminRulesGetDefaultResponse, + AdminRulesCreateOrUpdate200Response, + AdminRulesCreateOrUpdate201Response, + AdminRulesCreateOrUpdateDefaultResponse, + AdminRulesDelete200Response, + AdminRulesDelete202Response, + AdminRulesDelete204Response, + AdminRulesDeleteDefaultResponse, NetworkProfilesDelete200Response, NetworkProfilesDelete202Response, NetworkProfilesDelete204Response, NetworkProfilesDeleteDefaultResponse, NetworkProfilesGet200Response, NetworkProfilesGetDefaultResponse, - NetworkProfilesList200Response, + NetworkProfilesCreateOrUpdate200Response, + NetworkProfilesCreateOrUpdate201Response, + NetworkProfilesCreateOrUpdateDefaultResponse, + NetworkProfilesUpdateTags200Response, + NetworkProfilesUpdateTagsDefaultResponse, NetworkProfilesListAll200Response, NetworkProfilesListAllDefaultResponse, + NetworkProfilesList200Response, NetworkProfilesListDefaultResponse, - NetworkProfilesUpdateTags200Response, - NetworkProfilesUpdateTagsDefaultResponse, - NetworkSecurityGroupsCreateOrUpdate200Response, - NetworkSecurityGroupsCreateOrUpdate201Response, - NetworkSecurityGroupsCreateOrUpdateDefaultResponse, NetworkSecurityGroupsDelete200Response, NetworkSecurityGroupsDelete202Response, NetworkSecurityGroupsDelete204Response, NetworkSecurityGroupsDeleteDefaultResponse, NetworkSecurityGroupsGet200Response, NetworkSecurityGroupsGetDefaultResponse, - NetworkSecurityGroupsList200Response, - NetworkSecurityGroupsListAll200Response, - NetworkSecurityGroupsListAllDefaultResponse, - NetworkSecurityGroupsListDefaultResponse, + NetworkSecurityGroupsCreateOrUpdate200Response, + NetworkSecurityGroupsCreateOrUpdate201Response, + NetworkSecurityGroupsCreateOrUpdateDefaultResponse, NetworkSecurityGroupsUpdateTags200Response, NetworkSecurityGroupsUpdateTagsDefaultResponse, - NetworkVirtualAppliancesCreateOrUpdate200Response, - NetworkVirtualAppliancesCreateOrUpdate201Response, - NetworkVirtualAppliancesCreateOrUpdateDefaultResponse, + NetworkSecurityGroupsListAll200Response, + NetworkSecurityGroupsListAllDefaultResponse, + NetworkSecurityGroupsList200Response, + NetworkSecurityGroupsListDefaultResponse, + SecurityRulesDelete200Response, + SecurityRulesDelete202Response, + SecurityRulesDelete204Response, + SecurityRulesDeleteDefaultResponse, + SecurityRulesGet200Response, + SecurityRulesGetDefaultResponse, + SecurityRulesCreateOrUpdate200Response, + SecurityRulesCreateOrUpdate201Response, + SecurityRulesCreateOrUpdateDefaultResponse, + SecurityRulesList200Response, + SecurityRulesListDefaultResponse, + DefaultSecurityRulesList200Response, + DefaultSecurityRulesListDefaultResponse, + DefaultSecurityRulesGet200Response, + DefaultSecurityRulesGetDefaultResponse, NetworkVirtualAppliancesDelete200Response, NetworkVirtualAppliancesDelete202Response, NetworkVirtualAppliancesDelete204Response, NetworkVirtualAppliancesDeleteDefaultResponse, NetworkVirtualAppliancesGet200Response, NetworkVirtualAppliancesGetDefaultResponse, - NetworkVirtualAppliancesList200Response, + NetworkVirtualAppliancesUpdateTags200Response, + NetworkVirtualAppliancesUpdateTagsDefaultResponse, + NetworkVirtualAppliancesCreateOrUpdate200Response, + NetworkVirtualAppliancesCreateOrUpdate201Response, + NetworkVirtualAppliancesCreateOrUpdateDefaultResponse, NetworkVirtualAppliancesListByResourceGroup200Response, NetworkVirtualAppliancesListByResourceGroupDefaultResponse, + NetworkVirtualAppliancesList200Response, NetworkVirtualAppliancesListDefaultResponse, - NetworkVirtualAppliancesUpdateTags200Response, - NetworkVirtualAppliancesUpdateTagsDefaultResponse, - NetworkWatchersCheckConnectivity200Response, - NetworkWatchersCheckConnectivity202Response, - NetworkWatchersCheckConnectivityDefaultResponse, + VirtualApplianceSitesDelete200Response, + VirtualApplianceSitesDelete202Response, + VirtualApplianceSitesDelete204Response, + VirtualApplianceSitesDeleteDefaultResponse, + VirtualApplianceSitesGet200Response, + VirtualApplianceSitesGetDefaultResponse, + VirtualApplianceSitesCreateOrUpdate200Response, + VirtualApplianceSitesCreateOrUpdate201Response, + VirtualApplianceSitesCreateOrUpdateDefaultResponse, + VirtualApplianceSitesList200Response, + VirtualApplianceSitesListDefaultResponse, + VirtualApplianceSkusList200Response, + VirtualApplianceSkusListDefaultResponse, + VirtualApplianceSkusGet200Response, + VirtualApplianceSkusGetDefaultResponse, + InboundSecurityRuleCreateOrUpdate200Response, + InboundSecurityRuleCreateOrUpdate201Response, + InboundSecurityRuleCreateOrUpdateDefaultResponse, NetworkWatchersCreateOrUpdate200Response, NetworkWatchersCreateOrUpdate201Response, NetworkWatchersCreateOrUpdateDefaultResponse, + NetworkWatchersGet200Response, + NetworkWatchersGetDefaultResponse, NetworkWatchersDelete202Response, NetworkWatchersDelete204Response, NetworkWatchersDeleteDefaultResponse, - NetworkWatchersGet200Response, - NetworkWatchersGetAzureReachabilityReport200Response, - NetworkWatchersGetAzureReachabilityReport202Response, - NetworkWatchersGetAzureReachabilityReportDefaultResponse, - NetworkWatchersGetDefaultResponse, - NetworkWatchersGetFlowLogStatus200Response, - NetworkWatchersGetFlowLogStatus202Response, - NetworkWatchersGetFlowLogStatusDefaultResponse, - NetworkWatchersGetNetworkConfigurationDiagnostic200Response, - NetworkWatchersGetNetworkConfigurationDiagnostic202Response, - NetworkWatchersGetNetworkConfigurationDiagnosticDefaultResponse, + NetworkWatchersUpdateTags200Response, + NetworkWatchersUpdateTagsDefaultResponse, + NetworkWatchersList200Response, + NetworkWatchersListDefaultResponse, + NetworkWatchersListAll200Response, + NetworkWatchersListAllDefaultResponse, + NetworkWatchersGetTopology200Response, + NetworkWatchersGetTopologyDefaultResponse, + NetworkWatchersVerifyIPFlow200Response, + NetworkWatchersVerifyIPFlow202Response, + NetworkWatchersVerifyIPFlowDefaultResponse, NetworkWatchersGetNextHop200Response, NetworkWatchersGetNextHop202Response, NetworkWatchersGetNextHopDefaultResponse, - NetworkWatchersGetTopology200Response, - NetworkWatchersGetTopologyDefaultResponse, + NetworkWatchersGetVMSecurityRules200Response, + NetworkWatchersGetVMSecurityRules202Response, + NetworkWatchersGetVMSecurityRulesDefaultResponse, NetworkWatchersGetTroubleshooting200Response, NetworkWatchersGetTroubleshooting202Response, NetworkWatchersGetTroubleshootingDefaultResponse, NetworkWatchersGetTroubleshootingResult200Response, NetworkWatchersGetTroubleshootingResult202Response, NetworkWatchersGetTroubleshootingResultDefaultResponse, - NetworkWatchersGetVMSecurityRules200Response, - NetworkWatchersGetVMSecurityRules202Response, - NetworkWatchersGetVMSecurityRulesDefaultResponse, - NetworkWatchersList200Response, - NetworkWatchersListAll200Response, - NetworkWatchersListAllDefaultResponse, - NetworkWatchersListAvailableProviders200Response, - NetworkWatchersListAvailableProviders202Response, - NetworkWatchersListAvailableProvidersDefaultResponse, - NetworkWatchersListDefaultResponse, NetworkWatchersSetFlowLogConfiguration200Response, NetworkWatchersSetFlowLogConfiguration202Response, NetworkWatchersSetFlowLogConfigurationDefaultResponse, - NetworkWatchersUpdateTags200Response, - NetworkWatchersUpdateTagsDefaultResponse, - NetworkWatchersVerifyIPFlow200Response, - NetworkWatchersVerifyIPFlow202Response, - NetworkWatchersVerifyIPFlowDefaultResponse, - OperationsList200Response, - OperationsListDefaultResponse, - P2SVpnGatewaysCreateOrUpdate200Response, - P2SVpnGatewaysCreateOrUpdate201Response, - P2SVpnGatewaysCreateOrUpdateDefaultResponse, - P2SVpnGatewaysDelete200Response, - P2SVpnGatewaysDelete202Response, - P2SVpnGatewaysDelete204Response, - P2SVpnGatewaysDeleteDefaultResponse, - P2SVpnGatewaysDisconnectP2SVpnConnections200Response, - P2SVpnGatewaysDisconnectP2SVpnConnections202Response, - P2SVpnGatewaysDisconnectP2SVpnConnectionsDefaultResponse, - P2SVpnGatewaysGenerateVpnProfile200Response, - P2SVpnGatewaysGenerateVpnProfile202Response, - P2SVpnGatewaysGenerateVpnProfileDefaultResponse, - P2SVpnGatewaysGet200Response, - P2SVpnGatewaysGetDefaultResponse, - P2SVpnGatewaysGetP2SVpnConnectionHealth200Response, - P2SVpnGatewaysGetP2SVpnConnectionHealth202Response, - P2SVpnGatewaysGetP2SVpnConnectionHealthDefaultResponse, - P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response, - P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response, - P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedDefaultResponse, - P2SVpnGatewaysList200Response, - P2SVpnGatewaysListByResourceGroup200Response, - P2SVpnGatewaysListByResourceGroupDefaultResponse, - P2SVpnGatewaysListDefaultResponse, - P2SVpnGatewaysReset200Response, - P2SVpnGatewaysReset202Response, - P2SVpnGatewaysResetDefaultResponse, - P2SVpnGatewaysUpdateTags200Response, - P2SVpnGatewaysUpdateTags202Response, - P2SVpnGatewaysUpdateTagsDefaultResponse, + NetworkWatchersGetFlowLogStatus200Response, + NetworkWatchersGetFlowLogStatus202Response, + NetworkWatchersGetFlowLogStatusDefaultResponse, + NetworkWatchersCheckConnectivity200Response, + NetworkWatchersCheckConnectivity202Response, + NetworkWatchersCheckConnectivityDefaultResponse, + NetworkWatchersGetAzureReachabilityReport200Response, + NetworkWatchersGetAzureReachabilityReport202Response, + NetworkWatchersGetAzureReachabilityReportDefaultResponse, + NetworkWatchersListAvailableProviders200Response, + NetworkWatchersListAvailableProviders202Response, + NetworkWatchersListAvailableProvidersDefaultResponse, + NetworkWatchersGetNetworkConfigurationDiagnostic200Response, + NetworkWatchersGetNetworkConfigurationDiagnostic202Response, + NetworkWatchersGetNetworkConfigurationDiagnosticDefaultResponse, PacketCapturesCreate201Response, PacketCapturesCreateDefaultResponse, + PacketCapturesGet200Response, + PacketCapturesGetDefaultResponse, PacketCapturesDelete202Response, PacketCapturesDelete204Response, PacketCapturesDeleteDefaultResponse, - PacketCapturesGet200Response, - PacketCapturesGetDefaultResponse, + PacketCapturesStop200Response, + PacketCapturesStop202Response, + PacketCapturesStopDefaultResponse, PacketCapturesGetStatus200Response, PacketCapturesGetStatus202Response, PacketCapturesGetStatusDefaultResponse, PacketCapturesList200Response, PacketCapturesListDefaultResponse, - PacketCapturesStop200Response, - PacketCapturesStop202Response, - PacketCapturesStopDefaultResponse, - PeerExpressRouteCircuitConnectionsGet200Response, - PeerExpressRouteCircuitConnectionsGetDefaultResponse, - PeerExpressRouteCircuitConnectionsList200Response, - PeerExpressRouteCircuitConnectionsListDefaultResponse, - PrivateDnsZoneGroupsCreateOrUpdate200Response, - PrivateDnsZoneGroupsCreateOrUpdate201Response, - PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse, - PrivateDnsZoneGroupsDelete200Response, - PrivateDnsZoneGroupsDelete202Response, - PrivateDnsZoneGroupsDelete204Response, - PrivateDnsZoneGroupsDeleteDefaultResponse, - PrivateDnsZoneGroupsGet200Response, - PrivateDnsZoneGroupsGetDefaultResponse, - PrivateDnsZoneGroupsList200Response, - PrivateDnsZoneGroupsListDefaultResponse, - PrivateEndpointsCreateOrUpdate200Response, - PrivateEndpointsCreateOrUpdate201Response, - PrivateEndpointsCreateOrUpdateDefaultResponse, + ConnectionMonitorsCreateOrUpdate200Response, + ConnectionMonitorsCreateOrUpdate201Response, + ConnectionMonitorsCreateOrUpdateDefaultResponse, + ConnectionMonitorsGet200Response, + ConnectionMonitorsGetDefaultResponse, + ConnectionMonitorsDelete202Response, + ConnectionMonitorsDelete204Response, + ConnectionMonitorsDeleteDefaultResponse, + ConnectionMonitorsUpdateTags200Response, + ConnectionMonitorsUpdateTagsDefaultResponse, + ConnectionMonitorsStop200Response, + ConnectionMonitorsStop202Response, + ConnectionMonitorsStopDefaultResponse, + ConnectionMonitorsStart200Response, + ConnectionMonitorsStart202Response, + ConnectionMonitorsStartDefaultResponse, + ConnectionMonitorsQuery200Response, + ConnectionMonitorsQuery202Response, + ConnectionMonitorsQueryDefaultResponse, + ConnectionMonitorsList200Response, + ConnectionMonitorsListDefaultResponse, + FlowLogsCreateOrUpdate200Response, + FlowLogsCreateOrUpdate201Response, + FlowLogsCreateOrUpdateDefaultResponse, + FlowLogsUpdateTags200Response, + FlowLogsUpdateTagsDefaultResponse, + FlowLogsGet200Response, + FlowLogsGetDefaultResponse, + FlowLogsDelete202Response, + FlowLogsDelete204Response, + FlowLogsDeleteDefaultResponse, + FlowLogsList200Response, + FlowLogsListDefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, PrivateEndpointsDelete200Response, PrivateEndpointsDelete202Response, PrivateEndpointsDelete204Response, PrivateEndpointsDeleteDefaultResponse, PrivateEndpointsGet200Response, PrivateEndpointsGetDefaultResponse, + PrivateEndpointsCreateOrUpdate200Response, + PrivateEndpointsCreateOrUpdate201Response, + PrivateEndpointsCreateOrUpdateDefaultResponse, PrivateEndpointsList200Response, + PrivateEndpointsListDefaultResponse, PrivateEndpointsListBySubscription200Response, PrivateEndpointsListBySubscriptionDefaultResponse, - PrivateEndpointsListDefaultResponse, - PrivateLinkServicesCheckPrivateLinkServiceVisibility200Response, - PrivateLinkServicesCheckPrivateLinkServiceVisibility202Response, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup200Response, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup202Response, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupDefaultResponse, - PrivateLinkServicesCheckPrivateLinkServiceVisibilityDefaultResponse, - PrivateLinkServicesCreateOrUpdate200Response, - PrivateLinkServicesCreateOrUpdate201Response, - PrivateLinkServicesCreateOrUpdateDefaultResponse, + AvailablePrivateEndpointTypesList200Response, + AvailablePrivateEndpointTypesListDefaultResponse, + AvailablePrivateEndpointTypesListByResourceGroup200Response, + AvailablePrivateEndpointTypesListByResourceGroupDefaultResponse, + PrivateDnsZoneGroupsDelete200Response, + PrivateDnsZoneGroupsDelete202Response, + PrivateDnsZoneGroupsDelete204Response, + PrivateDnsZoneGroupsDeleteDefaultResponse, + PrivateDnsZoneGroupsGet200Response, + PrivateDnsZoneGroupsGetDefaultResponse, + PrivateDnsZoneGroupsCreateOrUpdate200Response, + PrivateDnsZoneGroupsCreateOrUpdate201Response, + PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse, + PrivateDnsZoneGroupsList200Response, + PrivateDnsZoneGroupsListDefaultResponse, PrivateLinkServicesDelete200Response, PrivateLinkServicesDelete202Response, PrivateLinkServicesDelete204Response, PrivateLinkServicesDeleteDefaultResponse, - PrivateLinkServicesDeletePrivateEndpointConnection200Response, - PrivateLinkServicesDeletePrivateEndpointConnection202Response, - PrivateLinkServicesDeletePrivateEndpointConnection204Response, - PrivateLinkServicesDeletePrivateEndpointConnectionDefaultResponse, PrivateLinkServicesGet200Response, PrivateLinkServicesGetDefaultResponse, - PrivateLinkServicesGetPrivateEndpointConnection200Response, - PrivateLinkServicesGetPrivateEndpointConnectionDefaultResponse, + PrivateLinkServicesCreateOrUpdate200Response, + PrivateLinkServicesCreateOrUpdate201Response, + PrivateLinkServicesCreateOrUpdateDefaultResponse, PrivateLinkServicesList200Response, - PrivateLinkServicesListAutoApprovedPrivateLinkServices200Response, - PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroup200Response, - PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupDefaultResponse, - PrivateLinkServicesListAutoApprovedPrivateLinkServicesDefaultResponse, + PrivateLinkServicesListDefaultResponse, PrivateLinkServicesListBySubscription200Response, PrivateLinkServicesListBySubscriptionDefaultResponse, - PrivateLinkServicesListDefaultResponse, - PrivateLinkServicesListPrivateEndpointConnections200Response, - PrivateLinkServicesListPrivateEndpointConnectionsDefaultResponse, + PrivateLinkServicesGetPrivateEndpointConnection200Response, + PrivateLinkServicesGetPrivateEndpointConnectionDefaultResponse, PrivateLinkServicesUpdatePrivateEndpointConnection200Response, PrivateLinkServicesUpdatePrivateEndpointConnectionDefaultResponse, - PublicIPAddressesCreateOrUpdate200Response, - PublicIPAddressesCreateOrUpdate201Response, - PublicIPAddressesCreateOrUpdateDefaultResponse, - PublicIPAddressesDdosProtectionStatus200Response, - PublicIPAddressesDdosProtectionStatus202Response, - PublicIPAddressesDdosProtectionStatusDefaultResponse, - PublicIPAddressesDelete200Response, - PublicIPAddressesDelete202Response, - PublicIPAddressesDelete204Response, - PublicIPAddressesDeleteDefaultResponse, - PublicIPAddressesGet200Response, - PublicIPAddressesGetCloudServicePublicIPAddress200Response, - PublicIPAddressesGetCloudServicePublicIPAddressDefaultResponse, - PublicIPAddressesGetDefaultResponse, - PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddress200Response, - PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressDefaultResponse, - PublicIPAddressesList200Response, - PublicIPAddressesListAll200Response, - PublicIPAddressesListAllDefaultResponse, - PublicIPAddressesListCloudServicePublicIPAddresses200Response, - PublicIPAddressesListCloudServicePublicIPAddressesDefaultResponse, - PublicIPAddressesListCloudServiceRoleInstancePublicIPAddresses200Response, - PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesDefaultResponse, - PublicIPAddressesListDefaultResponse, - PublicIPAddressesListVirtualMachineScaleSetPublicIPAddresses200Response, - PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesDefaultResponse, - PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddresses200Response, - PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesDefaultResponse, - PublicIPAddressesUpdateTags200Response, - PublicIPAddressesUpdateTagsDefaultResponse, - PublicIPPrefixesCreateOrUpdate200Response, - PublicIPPrefixesCreateOrUpdate201Response, - PublicIPPrefixesCreateOrUpdateDefaultResponse, + PrivateLinkServicesDeletePrivateEndpointConnection200Response, + PrivateLinkServicesDeletePrivateEndpointConnection202Response, + PrivateLinkServicesDeletePrivateEndpointConnection204Response, + PrivateLinkServicesDeletePrivateEndpointConnectionDefaultResponse, + PrivateLinkServicesListPrivateEndpointConnections200Response, + PrivateLinkServicesListPrivateEndpointConnectionsDefaultResponse, + PrivateLinkServicesCheckPrivateLinkServiceVisibility200Response, + PrivateLinkServicesCheckPrivateLinkServiceVisibility202Response, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityDefaultResponse, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup200Response, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup202Response, + PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupDefaultResponse, + PrivateLinkServicesListAutoApprovedPrivateLinkServices200Response, + PrivateLinkServicesListAutoApprovedPrivateLinkServicesDefaultResponse, + PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroup200Response, + PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupDefaultResponse, PublicIPPrefixesDelete200Response, PublicIPPrefixesDelete202Response, PublicIPPrefixesDelete204Response, PublicIPPrefixesDeleteDefaultResponse, PublicIPPrefixesGet200Response, PublicIPPrefixesGetDefaultResponse, - PublicIPPrefixesList200Response, + PublicIPPrefixesCreateOrUpdate200Response, + PublicIPPrefixesCreateOrUpdate201Response, + PublicIPPrefixesCreateOrUpdateDefaultResponse, + PublicIPPrefixesUpdateTags200Response, + PublicIPPrefixesUpdateTagsDefaultResponse, PublicIPPrefixesListAll200Response, PublicIPPrefixesListAllDefaultResponse, + PublicIPPrefixesList200Response, PublicIPPrefixesListDefaultResponse, - PublicIPPrefixesUpdateTags200Response, - PublicIPPrefixesUpdateTagsDefaultResponse, - PutBastionShareableLink200Response, - PutBastionShareableLink202Response, - PutBastionShareableLinkDefaultResponse, - ResourceNavigationLinksList200Response, - ResourceNavigationLinksListDefaultResponse, - RouteFilterRulesCreateOrUpdate200Response, - RouteFilterRulesCreateOrUpdate201Response, - RouteFilterRulesCreateOrUpdateDefaultResponse, - RouteFilterRulesDelete200Response, - RouteFilterRulesDelete202Response, - RouteFilterRulesDelete204Response, - RouteFilterRulesDeleteDefaultResponse, - RouteFilterRulesGet200Response, - RouteFilterRulesGetDefaultResponse, - RouteFilterRulesListByRouteFilter200Response, - RouteFilterRulesListByRouteFilterDefaultResponse, - RouteFiltersCreateOrUpdate200Response, - RouteFiltersCreateOrUpdate201Response, - RouteFiltersCreateOrUpdateDefaultResponse, RouteFiltersDelete200Response, RouteFiltersDelete202Response, RouteFiltersDelete204Response, RouteFiltersDeleteDefaultResponse, RouteFiltersGet200Response, RouteFiltersGetDefaultResponse, - RouteFiltersList200Response, + RouteFiltersCreateOrUpdate200Response, + RouteFiltersCreateOrUpdate201Response, + RouteFiltersCreateOrUpdateDefaultResponse, + RouteFiltersUpdateTags200Response, + RouteFiltersUpdateTagsDefaultResponse, RouteFiltersListByResourceGroup200Response, RouteFiltersListByResourceGroupDefaultResponse, + RouteFiltersList200Response, RouteFiltersListDefaultResponse, - RouteFiltersUpdateTags200Response, - RouteFiltersUpdateTagsDefaultResponse, - RouteMapsCreateOrUpdate200Response, - RouteMapsCreateOrUpdate201Response, - RouteMapsCreateOrUpdateDefaultResponse, - RouteMapsDelete200Response, - RouteMapsDelete202Response, - RouteMapsDelete204Response, - RouteMapsDeleteDefaultResponse, - RouteMapsGet200Response, - RouteMapsGetDefaultResponse, - RouteMapsList200Response, - RouteMapsListDefaultResponse, - RouteTablesCreateOrUpdate200Response, - RouteTablesCreateOrUpdate201Response, - RouteTablesCreateOrUpdateDefaultResponse, + RouteFilterRulesDelete200Response, + RouteFilterRulesDelete202Response, + RouteFilterRulesDelete204Response, + RouteFilterRulesDeleteDefaultResponse, + RouteFilterRulesGet200Response, + RouteFilterRulesGetDefaultResponse, + RouteFilterRulesCreateOrUpdate200Response, + RouteFilterRulesCreateOrUpdate201Response, + RouteFilterRulesCreateOrUpdateDefaultResponse, + RouteFilterRulesListByRouteFilter200Response, + RouteFilterRulesListByRouteFilterDefaultResponse, RouteTablesDelete200Response, RouteTablesDelete202Response, RouteTablesDelete204Response, RouteTablesDeleteDefaultResponse, RouteTablesGet200Response, RouteTablesGetDefaultResponse, + RouteTablesCreateOrUpdate200Response, + RouteTablesCreateOrUpdate201Response, + RouteTablesCreateOrUpdateDefaultResponse, + RouteTablesUpdateTags200Response, + RouteTablesUpdateTagsDefaultResponse, RouteTablesList200Response, + RouteTablesListDefaultResponse, RouteTablesListAll200Response, RouteTablesListAllDefaultResponse, - RouteTablesListDefaultResponse, - RouteTablesUpdateTags200Response, - RouteTablesUpdateTagsDefaultResponse, - RoutesCreateOrUpdate200Response, - RoutesCreateOrUpdate201Response, - RoutesCreateOrUpdateDefaultResponse, RoutesDelete200Response, RoutesDelete202Response, RoutesDelete204Response, RoutesDeleteDefaultResponse, RoutesGet200Response, RoutesGetDefaultResponse, + RoutesCreateOrUpdate200Response, + RoutesCreateOrUpdate201Response, + RoutesCreateOrUpdateDefaultResponse, RoutesList200Response, RoutesListDefaultResponse, - RoutingIntentCreateOrUpdate200Response, - RoutingIntentCreateOrUpdate201Response, - RoutingIntentCreateOrUpdateDefaultResponse, - RoutingIntentDelete200Response, - RoutingIntentDelete202Response, - RoutingIntentDelete204Response, - RoutingIntentDeleteDefaultResponse, - RoutingIntentGet200Response, - RoutingIntentGetDefaultResponse, - RoutingIntentList200Response, - RoutingIntentListDefaultResponse, - ScopeConnectionsCreateOrUpdate200Response, - ScopeConnectionsCreateOrUpdate201Response, - ScopeConnectionsCreateOrUpdateDefaultResponse, - ScopeConnectionsDelete200Response, - ScopeConnectionsDelete204Response, - ScopeConnectionsDeleteDefaultResponse, - ScopeConnectionsGet200Response, - ScopeConnectionsGetDefaultResponse, - ScopeConnectionsList200Response, - ScopeConnectionsListDefaultResponse, - SecurityAdminConfigurationsCreateOrUpdate200Response, - SecurityAdminConfigurationsCreateOrUpdate201Response, - SecurityAdminConfigurationsCreateOrUpdateDefaultResponse, - SecurityAdminConfigurationsDelete200Response, - SecurityAdminConfigurationsDelete202Response, - SecurityAdminConfigurationsDelete204Response, - SecurityAdminConfigurationsDeleteDefaultResponse, - SecurityAdminConfigurationsGet200Response, - SecurityAdminConfigurationsGetDefaultResponse, - SecurityAdminConfigurationsList200Response, - SecurityAdminConfigurationsListDefaultResponse, - SecurityPartnerProvidersCreateOrUpdate200Response, - SecurityPartnerProvidersCreateOrUpdate201Response, - SecurityPartnerProvidersCreateOrUpdateDefaultResponse, SecurityPartnerProvidersDelete200Response, SecurityPartnerProvidersDelete202Response, SecurityPartnerProvidersDelete204Response, SecurityPartnerProvidersDeleteDefaultResponse, SecurityPartnerProvidersGet200Response, SecurityPartnerProvidersGetDefaultResponse, - SecurityPartnerProvidersList200Response, + SecurityPartnerProvidersCreateOrUpdate200Response, + SecurityPartnerProvidersCreateOrUpdate201Response, + SecurityPartnerProvidersCreateOrUpdateDefaultResponse, + SecurityPartnerProvidersUpdateTags200Response, + SecurityPartnerProvidersUpdateTagsDefaultResponse, SecurityPartnerProvidersListByResourceGroup200Response, SecurityPartnerProvidersListByResourceGroupDefaultResponse, + SecurityPartnerProvidersList200Response, SecurityPartnerProvidersListDefaultResponse, - SecurityPartnerProvidersUpdateTags200Response, - SecurityPartnerProvidersUpdateTagsDefaultResponse, - SecurityRulesCreateOrUpdate200Response, - SecurityRulesCreateOrUpdate201Response, - SecurityRulesCreateOrUpdateDefaultResponse, - SecurityRulesDelete200Response, - SecurityRulesDelete202Response, - SecurityRulesDelete204Response, - SecurityRulesDeleteDefaultResponse, - SecurityRulesGet200Response, - SecurityRulesGetDefaultResponse, - SecurityRulesList200Response, - SecurityRulesListDefaultResponse, - ServiceAssociationLinksList200Response, - ServiceAssociationLinksListDefaultResponse, - ServiceEndpointPoliciesCreateOrUpdate200Response, - ServiceEndpointPoliciesCreateOrUpdate201Response, - ServiceEndpointPoliciesCreateOrUpdateDefaultResponse, + BgpServiceCommunitiesList200Response, + BgpServiceCommunitiesListDefaultResponse, ServiceEndpointPoliciesDelete200Response, ServiceEndpointPoliciesDelete202Response, ServiceEndpointPoliciesDelete204Response, ServiceEndpointPoliciesDeleteDefaultResponse, ServiceEndpointPoliciesGet200Response, ServiceEndpointPoliciesGetDefaultResponse, + ServiceEndpointPoliciesCreateOrUpdate200Response, + ServiceEndpointPoliciesCreateOrUpdate201Response, + ServiceEndpointPoliciesCreateOrUpdateDefaultResponse, + ServiceEndpointPoliciesUpdateTags200Response, + ServiceEndpointPoliciesUpdateTagsDefaultResponse, ServiceEndpointPoliciesList200Response, + ServiceEndpointPoliciesListDefaultResponse, ServiceEndpointPoliciesListByResourceGroup200Response, ServiceEndpointPoliciesListByResourceGroupDefaultResponse, - ServiceEndpointPoliciesListDefaultResponse, - ServiceEndpointPoliciesUpdateTags200Response, - ServiceEndpointPoliciesUpdateTagsDefaultResponse, - ServiceEndpointPolicyDefinitionsCreateOrUpdate200Response, - ServiceEndpointPolicyDefinitionsCreateOrUpdate201Response, - ServiceEndpointPolicyDefinitionsCreateOrUpdateDefaultResponse, ServiceEndpointPolicyDefinitionsDelete200Response, ServiceEndpointPolicyDefinitionsDelete202Response, ServiceEndpointPolicyDefinitionsDelete204Response, ServiceEndpointPolicyDefinitionsDeleteDefaultResponse, ServiceEndpointPolicyDefinitionsGet200Response, ServiceEndpointPolicyDefinitionsGetDefaultResponse, + ServiceEndpointPolicyDefinitionsCreateOrUpdate200Response, + ServiceEndpointPolicyDefinitionsCreateOrUpdate201Response, + ServiceEndpointPolicyDefinitionsCreateOrUpdateDefaultResponse, ServiceEndpointPolicyDefinitionsListByResourceGroup200Response, ServiceEndpointPolicyDefinitionsListByResourceGroupDefaultResponse, - ServiceTagInformationList200Response, - ServiceTagInformationListDefaultResponse, ServiceTagsList200Response, ServiceTagsListDefaultResponse, - StaticMembersCreateOrUpdate200Response, - StaticMembersCreateOrUpdate201Response, - StaticMembersCreateOrUpdateDefaultResponse, - StaticMembersDelete200Response, - StaticMembersDelete204Response, - StaticMembersDeleteDefaultResponse, - StaticMembersGet200Response, - StaticMembersGetDefaultResponse, - StaticMembersList200Response, - StaticMembersListDefaultResponse, - SubnetsCreateOrUpdate200Response, - SubnetsCreateOrUpdate201Response, - SubnetsCreateOrUpdateDefaultResponse, + ServiceTagInformationList200Response, + ServiceTagInformationListDefaultResponse, + UsagesList200Response, + UsagesListDefaultResponse, + VirtualNetworksDelete200Response, + VirtualNetworksDelete202Response, + VirtualNetworksDelete204Response, + VirtualNetworksDeleteDefaultResponse, + VirtualNetworksGet200Response, + VirtualNetworksGetDefaultResponse, + VirtualNetworksCreateOrUpdate200Response, + VirtualNetworksCreateOrUpdate201Response, + VirtualNetworksCreateOrUpdateDefaultResponse, + VirtualNetworksUpdateTags200Response, + VirtualNetworksUpdateTagsDefaultResponse, + VirtualNetworksListAll200Response, + VirtualNetworksListAllDefaultResponse, + VirtualNetworksList200Response, + VirtualNetworksListDefaultResponse, + VirtualNetworksCheckIPAddressAvailability200Response, + VirtualNetworksCheckIPAddressAvailabilityDefaultResponse, + VirtualNetworksListUsage200Response, + VirtualNetworksListUsageDefaultResponse, + VirtualNetworksListDdosProtectionStatus200Response, + VirtualNetworksListDdosProtectionStatus202Response, + VirtualNetworksListDdosProtectionStatusDefaultResponse, SubnetsDelete200Response, SubnetsDelete202Response, SubnetsDelete204Response, SubnetsDeleteDefaultResponse, SubnetsGet200Response, SubnetsGetDefaultResponse, - SubnetsList200Response, - SubnetsListDefaultResponse, + SubnetsCreateOrUpdate200Response, + SubnetsCreateOrUpdate201Response, + SubnetsCreateOrUpdateDefaultResponse, SubnetsPrepareNetworkPolicies200Response, SubnetsPrepareNetworkPolicies202Response, SubnetsPrepareNetworkPoliciesDefaultResponse, SubnetsUnprepareNetworkPolicies200Response, SubnetsUnprepareNetworkPolicies202Response, SubnetsUnprepareNetworkPoliciesDefaultResponse, - SubscriptionNetworkManagerConnectionsCreateOrUpdate200Response, - SubscriptionNetworkManagerConnectionsCreateOrUpdate201Response, - SubscriptionNetworkManagerConnectionsCreateOrUpdateDefaultResponse, - SubscriptionNetworkManagerConnectionsDelete200Response, - SubscriptionNetworkManagerConnectionsDelete204Response, - SubscriptionNetworkManagerConnectionsDeleteDefaultResponse, - SubscriptionNetworkManagerConnectionsGet200Response, - SubscriptionNetworkManagerConnectionsGetDefaultResponse, - SubscriptionNetworkManagerConnectionsList200Response, - SubscriptionNetworkManagerConnectionsListDefaultResponse, - SupportedSecurityProviders200Response, - SupportedSecurityProvidersDefaultResponse, - UsagesList200Response, - UsagesListDefaultResponse, - VipSwapCreate200Response, - VipSwapCreate202Response, - VipSwapCreateDefaultResponse, - VipSwapGet200Response, - VipSwapGetDefaultResponse, - VipSwapList200Response, - VipSwapListDefaultResponse, - VirtualApplianceSitesCreateOrUpdate200Response, - VirtualApplianceSitesCreateOrUpdate201Response, - VirtualApplianceSitesCreateOrUpdateDefaultResponse, - VirtualApplianceSitesDelete200Response, - VirtualApplianceSitesDelete202Response, - VirtualApplianceSitesDelete204Response, - VirtualApplianceSitesDeleteDefaultResponse, - VirtualApplianceSitesGet200Response, - VirtualApplianceSitesGetDefaultResponse, - VirtualApplianceSitesList200Response, - VirtualApplianceSitesListDefaultResponse, - VirtualApplianceSkusGet200Response, - VirtualApplianceSkusGetDefaultResponse, - VirtualApplianceSkusList200Response, - VirtualApplianceSkusListDefaultResponse, - VirtualHubBgpConnectionCreateOrUpdate200Response, - VirtualHubBgpConnectionCreateOrUpdate201Response, - VirtualHubBgpConnectionCreateOrUpdateDefaultResponse, - VirtualHubBgpConnectionDelete200Response, - VirtualHubBgpConnectionDelete202Response, - VirtualHubBgpConnectionDelete204Response, - VirtualHubBgpConnectionDeleteDefaultResponse, - VirtualHubBgpConnectionGet200Response, - VirtualHubBgpConnectionGetDefaultResponse, - VirtualHubBgpConnectionsList200Response, - VirtualHubBgpConnectionsListAdvertisedRoutes200Response, - VirtualHubBgpConnectionsListAdvertisedRoutes202Response, - VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse, - VirtualHubBgpConnectionsListDefaultResponse, - VirtualHubBgpConnectionsListLearnedRoutes200Response, - VirtualHubBgpConnectionsListLearnedRoutes202Response, - VirtualHubBgpConnectionsListLearnedRoutesDefaultResponse, - VirtualHubIpConfigurationCreateOrUpdate200Response, - VirtualHubIpConfigurationCreateOrUpdate201Response, - VirtualHubIpConfigurationCreateOrUpdateDefaultResponse, - VirtualHubIpConfigurationDelete200Response, - VirtualHubIpConfigurationDelete202Response, - VirtualHubIpConfigurationDelete204Response, - VirtualHubIpConfigurationDeleteDefaultResponse, - VirtualHubIpConfigurationGet200Response, - VirtualHubIpConfigurationGetDefaultResponse, - VirtualHubIpConfigurationList200Response, - VirtualHubIpConfigurationListDefaultResponse, - VirtualHubRouteTableV2SCreateOrUpdate200Response, - VirtualHubRouteTableV2SCreateOrUpdate201Response, - VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse, - VirtualHubRouteTableV2SDelete200Response, - VirtualHubRouteTableV2SDelete202Response, - VirtualHubRouteTableV2SDelete204Response, - VirtualHubRouteTableV2SDeleteDefaultResponse, - VirtualHubRouteTableV2SGet200Response, - VirtualHubRouteTableV2SGetDefaultResponse, - VirtualHubRouteTableV2SList200Response, - VirtualHubRouteTableV2SListDefaultResponse, - VirtualHubsCreateOrUpdate200Response, - VirtualHubsCreateOrUpdate201Response, - VirtualHubsCreateOrUpdateDefaultResponse, - VirtualHubsDelete200Response, - VirtualHubsDelete202Response, - VirtualHubsDelete204Response, - VirtualHubsDeleteDefaultResponse, - VirtualHubsGet200Response, - VirtualHubsGetDefaultResponse, - VirtualHubsGetEffectiveVirtualHubRoutes200Response, - VirtualHubsGetEffectiveVirtualHubRoutes202Response, - VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse, - VirtualHubsGetInboundRoutes200Response, - VirtualHubsGetInboundRoutes202Response, - VirtualHubsGetInboundRoutesDefaultResponse, - VirtualHubsGetOutboundRoutes200Response, - VirtualHubsGetOutboundRoutes202Response, - VirtualHubsGetOutboundRoutesDefaultResponse, - VirtualHubsList200Response, - VirtualHubsListByResourceGroup200Response, - VirtualHubsListByResourceGroupDefaultResponse, - VirtualHubsListDefaultResponse, - VirtualHubsUpdateTags200Response, - VirtualHubsUpdateTagsDefaultResponse, - VirtualNetworkGatewayConnectionsCreateOrUpdate200Response, - VirtualNetworkGatewayConnectionsCreateOrUpdate201Response, - VirtualNetworkGatewayConnectionsCreateOrUpdateDefaultResponse, - VirtualNetworkGatewayConnectionsDelete200Response, - VirtualNetworkGatewayConnectionsDelete202Response, - VirtualNetworkGatewayConnectionsDelete204Response, - VirtualNetworkGatewayConnectionsDeleteDefaultResponse, - VirtualNetworkGatewayConnectionsGet200Response, - VirtualNetworkGatewayConnectionsGetDefaultResponse, - VirtualNetworkGatewayConnectionsGetIkeSas200Response, - VirtualNetworkGatewayConnectionsGetIkeSas202Response, - VirtualNetworkGatewayConnectionsGetIkeSasDefaultResponse, - VirtualNetworkGatewayConnectionsGetSharedKey200Response, - VirtualNetworkGatewayConnectionsGetSharedKeyDefaultResponse, - VirtualNetworkGatewayConnectionsList200Response, - VirtualNetworkGatewayConnectionsListDefaultResponse, - VirtualNetworkGatewayConnectionsResetConnection202Response, - VirtualNetworkGatewayConnectionsResetConnectionDefaultResponse, - VirtualNetworkGatewayConnectionsResetSharedKey200Response, - VirtualNetworkGatewayConnectionsResetSharedKey202Response, - VirtualNetworkGatewayConnectionsResetSharedKeyDefaultResponse, - VirtualNetworkGatewayConnectionsSetSharedKey200Response, - VirtualNetworkGatewayConnectionsSetSharedKey201Response, - VirtualNetworkGatewayConnectionsSetSharedKeyDefaultResponse, - VirtualNetworkGatewayConnectionsStartPacketCapture200Response, - VirtualNetworkGatewayConnectionsStartPacketCapture202Response, - VirtualNetworkGatewayConnectionsStartPacketCaptureDefaultResponse, - VirtualNetworkGatewayConnectionsStopPacketCapture200Response, - VirtualNetworkGatewayConnectionsStopPacketCapture202Response, - VirtualNetworkGatewayConnectionsStopPacketCaptureDefaultResponse, - VirtualNetworkGatewayConnectionsUpdateTags200Response, - VirtualNetworkGatewayConnectionsUpdateTags202Response, - VirtualNetworkGatewayConnectionsUpdateTagsDefaultResponse, - VirtualNetworkGatewayNatRulesCreateOrUpdate200Response, - VirtualNetworkGatewayNatRulesCreateOrUpdate201Response, - VirtualNetworkGatewayNatRulesCreateOrUpdateDefaultResponse, - VirtualNetworkGatewayNatRulesDelete200Response, - VirtualNetworkGatewayNatRulesDelete202Response, - VirtualNetworkGatewayNatRulesDelete204Response, - VirtualNetworkGatewayNatRulesDeleteDefaultResponse, - VirtualNetworkGatewayNatRulesGet200Response, - VirtualNetworkGatewayNatRulesGetDefaultResponse, - VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway200Response, - VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayDefaultResponse, + SubnetsList200Response, + SubnetsListDefaultResponse, + ResourceNavigationLinksList200Response, + ResourceNavigationLinksListDefaultResponse, + ServiceAssociationLinksList200Response, + ServiceAssociationLinksListDefaultResponse, + VirtualNetworkPeeringsDelete200Response, + VirtualNetworkPeeringsDelete202Response, + VirtualNetworkPeeringsDelete204Response, + VirtualNetworkPeeringsDeleteDefaultResponse, + VirtualNetworkPeeringsGet200Response, + VirtualNetworkPeeringsGetDefaultResponse, + VirtualNetworkPeeringsCreateOrUpdate200Response, + VirtualNetworkPeeringsCreateOrUpdate201Response, + VirtualNetworkPeeringsCreateOrUpdateDefaultResponse, + VirtualNetworkPeeringsList200Response, + VirtualNetworkPeeringsListDefaultResponse, VirtualNetworkGatewaysCreateOrUpdate200Response, VirtualNetworkGatewaysCreateOrUpdate201Response, VirtualNetworkGatewaysCreateOrUpdateDefaultResponse, + VirtualNetworkGatewaysGet200Response, + VirtualNetworkGatewaysGetDefaultResponse, VirtualNetworkGatewaysDelete200Response, VirtualNetworkGatewaysDelete202Response, VirtualNetworkGatewaysDelete204Response, VirtualNetworkGatewaysDeleteDefaultResponse, - VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections200Response, - VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections202Response, - VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsDefaultResponse, - VirtualNetworkGatewaysGenerateVpnProfile200Response, - VirtualNetworkGatewaysGenerateVpnProfile202Response, - VirtualNetworkGatewaysGenerateVpnProfileDefaultResponse, - VirtualNetworkGatewaysGeneratevpnclientpackage200Response, - VirtualNetworkGatewaysGeneratevpnclientpackage202Response, - VirtualNetworkGatewaysGeneratevpnclientpackageDefaultResponse, - VirtualNetworkGatewaysGet200Response, - VirtualNetworkGatewaysGetAdvertisedRoutes200Response, - VirtualNetworkGatewaysGetAdvertisedRoutes202Response, - VirtualNetworkGatewaysGetAdvertisedRoutesDefaultResponse, - VirtualNetworkGatewaysGetBgpPeerStatus200Response, - VirtualNetworkGatewaysGetBgpPeerStatus202Response, - VirtualNetworkGatewaysGetBgpPeerStatusDefaultResponse, - VirtualNetworkGatewaysGetDefaultResponse, - VirtualNetworkGatewaysGetLearnedRoutes200Response, - VirtualNetworkGatewaysGetLearnedRoutes202Response, - VirtualNetworkGatewaysGetLearnedRoutesDefaultResponse, - VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response, - VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response, - VirtualNetworkGatewaysGetVpnProfilePackageUrlDefaultResponse, - VirtualNetworkGatewaysGetVpnclientConnectionHealth200Response, - VirtualNetworkGatewaysGetVpnclientConnectionHealth202Response, - VirtualNetworkGatewaysGetVpnclientConnectionHealthDefaultResponse, - VirtualNetworkGatewaysGetVpnclientIpsecParameters200Response, - VirtualNetworkGatewaysGetVpnclientIpsecParametersDefaultResponse, + VirtualNetworkGatewaysUpdateTags200Response, + VirtualNetworkGatewaysUpdateTags202Response, + VirtualNetworkGatewaysUpdateTagsDefaultResponse, VirtualNetworkGatewaysList200Response, + VirtualNetworkGatewaysListDefaultResponse, VirtualNetworkGatewaysListConnections200Response, VirtualNetworkGatewaysListConnectionsDefaultResponse, - VirtualNetworkGatewaysListDefaultResponse, VirtualNetworkGatewaysReset200Response, VirtualNetworkGatewaysReset202Response, VirtualNetworkGatewaysResetDefaultResponse, VirtualNetworkGatewaysResetVpnClientSharedKey200Response, VirtualNetworkGatewaysResetVpnClientSharedKey202Response, VirtualNetworkGatewaysResetVpnClientSharedKeyDefaultResponse, + VirtualNetworkGatewaysGeneratevpnclientpackage200Response, + VirtualNetworkGatewaysGeneratevpnclientpackage202Response, + VirtualNetworkGatewaysGeneratevpnclientpackageDefaultResponse, + VirtualNetworkGatewaysGenerateVpnProfile200Response, + VirtualNetworkGatewaysGenerateVpnProfile202Response, + VirtualNetworkGatewaysGenerateVpnProfileDefaultResponse, + VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response, + VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response, + VirtualNetworkGatewaysGetVpnProfilePackageUrlDefaultResponse, + VirtualNetworkGatewaysGetBgpPeerStatus200Response, + VirtualNetworkGatewaysGetBgpPeerStatus202Response, + VirtualNetworkGatewaysGetBgpPeerStatusDefaultResponse, + VirtualNetworkGatewaysSupportedVpnDevices200Response, + VirtualNetworkGatewaysSupportedVpnDevicesDefaultResponse, + VirtualNetworkGatewaysGetLearnedRoutes200Response, + VirtualNetworkGatewaysGetLearnedRoutes202Response, + VirtualNetworkGatewaysGetLearnedRoutesDefaultResponse, + VirtualNetworkGatewaysGetAdvertisedRoutes200Response, + VirtualNetworkGatewaysGetAdvertisedRoutes202Response, + VirtualNetworkGatewaysGetAdvertisedRoutesDefaultResponse, VirtualNetworkGatewaysSetVpnclientIpsecParameters200Response, VirtualNetworkGatewaysSetVpnclientIpsecParameters202Response, VirtualNetworkGatewaysSetVpnclientIpsecParametersDefaultResponse, + VirtualNetworkGatewaysGetVpnclientIpsecParameters200Response, + VirtualNetworkGatewaysGetVpnclientIpsecParametersDefaultResponse, + VirtualNetworkGatewaysVpnDeviceConfigurationScript200Response, + VirtualNetworkGatewaysVpnDeviceConfigurationScriptDefaultResponse, VirtualNetworkGatewaysStartPacketCapture200Response, VirtualNetworkGatewaysStartPacketCapture202Response, VirtualNetworkGatewaysStartPacketCaptureDefaultResponse, VirtualNetworkGatewaysStopPacketCapture200Response, VirtualNetworkGatewaysStopPacketCapture202Response, VirtualNetworkGatewaysStopPacketCaptureDefaultResponse, - VirtualNetworkGatewaysSupportedVpnDevices200Response, - VirtualNetworkGatewaysSupportedVpnDevicesDefaultResponse, - VirtualNetworkGatewaysUpdateTags200Response, - VirtualNetworkGatewaysUpdateTags202Response, - VirtualNetworkGatewaysUpdateTagsDefaultResponse, - VirtualNetworkGatewaysVpnDeviceConfigurationScript200Response, - VirtualNetworkGatewaysVpnDeviceConfigurationScriptDefaultResponse, - VirtualNetworkPeeringsCreateOrUpdate200Response, - VirtualNetworkPeeringsCreateOrUpdate201Response, - VirtualNetworkPeeringsCreateOrUpdateDefaultResponse, - VirtualNetworkPeeringsDelete200Response, - VirtualNetworkPeeringsDelete202Response, - VirtualNetworkPeeringsDelete204Response, - VirtualNetworkPeeringsDeleteDefaultResponse, - VirtualNetworkPeeringsGet200Response, - VirtualNetworkPeeringsGetDefaultResponse, - VirtualNetworkPeeringsList200Response, - VirtualNetworkPeeringsListDefaultResponse, - VirtualNetworkTapsCreateOrUpdate200Response, - VirtualNetworkTapsCreateOrUpdate201Response, - VirtualNetworkTapsCreateOrUpdateDefaultResponse, + VirtualNetworkGatewaysGetVpnclientConnectionHealth200Response, + VirtualNetworkGatewaysGetVpnclientConnectionHealth202Response, + VirtualNetworkGatewaysGetVpnclientConnectionHealthDefaultResponse, + VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections200Response, + VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections202Response, + VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsDefaultResponse, + VirtualNetworkGatewayConnectionsCreateOrUpdate200Response, + VirtualNetworkGatewayConnectionsCreateOrUpdate201Response, + VirtualNetworkGatewayConnectionsCreateOrUpdateDefaultResponse, + VirtualNetworkGatewayConnectionsGet200Response, + VirtualNetworkGatewayConnectionsGetDefaultResponse, + VirtualNetworkGatewayConnectionsDelete200Response, + VirtualNetworkGatewayConnectionsDelete202Response, + VirtualNetworkGatewayConnectionsDelete204Response, + VirtualNetworkGatewayConnectionsDeleteDefaultResponse, + VirtualNetworkGatewayConnectionsUpdateTags200Response, + VirtualNetworkGatewayConnectionsUpdateTags202Response, + VirtualNetworkGatewayConnectionsUpdateTagsDefaultResponse, + VirtualNetworkGatewayConnectionsSetSharedKey200Response, + VirtualNetworkGatewayConnectionsSetSharedKey201Response, + VirtualNetworkGatewayConnectionsSetSharedKeyDefaultResponse, + VirtualNetworkGatewayConnectionsGetSharedKey200Response, + VirtualNetworkGatewayConnectionsGetSharedKeyDefaultResponse, + VirtualNetworkGatewayConnectionsList200Response, + VirtualNetworkGatewayConnectionsListDefaultResponse, + VirtualNetworkGatewayConnectionsResetSharedKey200Response, + VirtualNetworkGatewayConnectionsResetSharedKey202Response, + VirtualNetworkGatewayConnectionsResetSharedKeyDefaultResponse, + VirtualNetworkGatewayConnectionsStartPacketCapture200Response, + VirtualNetworkGatewayConnectionsStartPacketCapture202Response, + VirtualNetworkGatewayConnectionsStartPacketCaptureDefaultResponse, + VirtualNetworkGatewayConnectionsStopPacketCapture200Response, + VirtualNetworkGatewayConnectionsStopPacketCapture202Response, + VirtualNetworkGatewayConnectionsStopPacketCaptureDefaultResponse, + VirtualNetworkGatewayConnectionsGetIkeSas200Response, + VirtualNetworkGatewayConnectionsGetIkeSas202Response, + VirtualNetworkGatewayConnectionsGetIkeSasDefaultResponse, + VirtualNetworkGatewayConnectionsResetConnection202Response, + VirtualNetworkGatewayConnectionsResetConnectionDefaultResponse, + LocalNetworkGatewaysCreateOrUpdate200Response, + LocalNetworkGatewaysCreateOrUpdate201Response, + LocalNetworkGatewaysCreateOrUpdateDefaultResponse, + LocalNetworkGatewaysGet200Response, + LocalNetworkGatewaysGetDefaultResponse, + LocalNetworkGatewaysDelete200Response, + LocalNetworkGatewaysDelete202Response, + LocalNetworkGatewaysDelete204Response, + LocalNetworkGatewaysDeleteDefaultResponse, + LocalNetworkGatewaysUpdateTags200Response, + LocalNetworkGatewaysUpdateTagsDefaultResponse, + LocalNetworkGatewaysList200Response, + LocalNetworkGatewaysListDefaultResponse, + VirtualNetworkGatewayNatRulesGet200Response, + VirtualNetworkGatewayNatRulesGetDefaultResponse, + VirtualNetworkGatewayNatRulesCreateOrUpdate200Response, + VirtualNetworkGatewayNatRulesCreateOrUpdate201Response, + VirtualNetworkGatewayNatRulesCreateOrUpdateDefaultResponse, + VirtualNetworkGatewayNatRulesDelete200Response, + VirtualNetworkGatewayNatRulesDelete202Response, + VirtualNetworkGatewayNatRulesDelete204Response, + VirtualNetworkGatewayNatRulesDeleteDefaultResponse, + VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway200Response, + VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayDefaultResponse, VirtualNetworkTapsDelete200Response, VirtualNetworkTapsDelete202Response, VirtualNetworkTapsDelete204Response, VirtualNetworkTapsDeleteDefaultResponse, VirtualNetworkTapsGet200Response, VirtualNetworkTapsGetDefaultResponse, + VirtualNetworkTapsCreateOrUpdate200Response, + VirtualNetworkTapsCreateOrUpdate201Response, + VirtualNetworkTapsCreateOrUpdateDefaultResponse, + VirtualNetworkTapsUpdateTags200Response, + VirtualNetworkTapsUpdateTagsDefaultResponse, VirtualNetworkTapsListAll200Response, VirtualNetworkTapsListAllDefaultResponse, VirtualNetworkTapsListByResourceGroup200Response, VirtualNetworkTapsListByResourceGroupDefaultResponse, - VirtualNetworkTapsUpdateTags200Response, - VirtualNetworkTapsUpdateTagsDefaultResponse, - VirtualNetworksCheckIPAddressAvailability200Response, - VirtualNetworksCheckIPAddressAvailabilityDefaultResponse, - VirtualNetworksCreateOrUpdate200Response, - VirtualNetworksCreateOrUpdate201Response, - VirtualNetworksCreateOrUpdateDefaultResponse, - VirtualNetworksDelete200Response, - VirtualNetworksDelete202Response, - VirtualNetworksDelete204Response, - VirtualNetworksDeleteDefaultResponse, - VirtualNetworksGet200Response, - VirtualNetworksGetDefaultResponse, - VirtualNetworksList200Response, - VirtualNetworksListAll200Response, - VirtualNetworksListAllDefaultResponse, - VirtualNetworksListDdosProtectionStatus200Response, - VirtualNetworksListDdosProtectionStatus202Response, - VirtualNetworksListDdosProtectionStatusDefaultResponse, - VirtualNetworksListDefaultResponse, - VirtualNetworksListUsage200Response, - VirtualNetworksListUsageDefaultResponse, - VirtualNetworksUpdateTags200Response, - VirtualNetworksUpdateTagsDefaultResponse, - VirtualRouterPeeringsCreateOrUpdate200Response, - VirtualRouterPeeringsCreateOrUpdate201Response, - VirtualRouterPeeringsCreateOrUpdateDefaultResponse, - VirtualRouterPeeringsDelete200Response, - VirtualRouterPeeringsDelete202Response, - VirtualRouterPeeringsDelete204Response, - VirtualRouterPeeringsDeleteDefaultResponse, - VirtualRouterPeeringsGet200Response, - VirtualRouterPeeringsGetDefaultResponse, - VirtualRouterPeeringsList200Response, - VirtualRouterPeeringsListDefaultResponse, - VirtualRoutersCreateOrUpdate200Response, - VirtualRoutersCreateOrUpdate201Response, - VirtualRoutersCreateOrUpdateDefaultResponse, VirtualRoutersDelete200Response, VirtualRoutersDelete202Response, VirtualRoutersDelete204Response, VirtualRoutersDeleteDefaultResponse, VirtualRoutersGet200Response, VirtualRoutersGetDefaultResponse, - VirtualRoutersList200Response, + VirtualRoutersCreateOrUpdate200Response, + VirtualRoutersCreateOrUpdate201Response, + VirtualRoutersCreateOrUpdateDefaultResponse, VirtualRoutersListByResourceGroup200Response, VirtualRoutersListByResourceGroupDefaultResponse, + VirtualRoutersList200Response, VirtualRoutersListDefaultResponse, + VirtualRouterPeeringsDelete200Response, + VirtualRouterPeeringsDelete202Response, + VirtualRouterPeeringsDelete204Response, + VirtualRouterPeeringsDeleteDefaultResponse, + VirtualRouterPeeringsGet200Response, + VirtualRouterPeeringsGetDefaultResponse, + VirtualRouterPeeringsCreateOrUpdate200Response, + VirtualRouterPeeringsCreateOrUpdate201Response, + VirtualRouterPeeringsCreateOrUpdateDefaultResponse, + VirtualRouterPeeringsList200Response, + VirtualRouterPeeringsListDefaultResponse, + VirtualWansGet200Response, + VirtualWansGetDefaultResponse, VirtualWansCreateOrUpdate200Response, VirtualWansCreateOrUpdate201Response, VirtualWansCreateOrUpdateDefaultResponse, + VirtualWansUpdateTags200Response, + VirtualWansUpdateTagsDefaultResponse, VirtualWansDelete200Response, VirtualWansDelete202Response, VirtualWansDelete204Response, VirtualWansDeleteDefaultResponse, - VirtualWansGet200Response, - VirtualWansGetDefaultResponse, - VirtualWansList200Response, VirtualWansListByResourceGroup200Response, VirtualWansListByResourceGroupDefaultResponse, + VirtualWansList200Response, VirtualWansListDefaultResponse, - VirtualWansUpdateTags200Response, - VirtualWansUpdateTagsDefaultResponse, - VpnConnectionsCreateOrUpdate200Response, - VpnConnectionsCreateOrUpdate201Response, - VpnConnectionsCreateOrUpdateDefaultResponse, - VpnConnectionsDelete200Response, - VpnConnectionsDelete202Response, - VpnConnectionsDelete204Response, - VpnConnectionsDeleteDefaultResponse, - VpnConnectionsGet200Response, - VpnConnectionsGetDefaultResponse, - VpnConnectionsListByVpnGateway200Response, - VpnConnectionsListByVpnGatewayDefaultResponse, - VpnConnectionsStartPacketCapture200Response, - VpnConnectionsStartPacketCapture202Response, - VpnConnectionsStartPacketCaptureDefaultResponse, - VpnConnectionsStopPacketCapture200Response, - VpnConnectionsStopPacketCapture202Response, - VpnConnectionsStopPacketCaptureDefaultResponse, + VpnSitesGet200Response, + VpnSitesGetDefaultResponse, + VpnSitesCreateOrUpdate200Response, + VpnSitesCreateOrUpdate201Response, + VpnSitesCreateOrUpdateDefaultResponse, + VpnSitesUpdateTags200Response, + VpnSitesUpdateTagsDefaultResponse, + VpnSitesDelete200Response, + VpnSitesDelete202Response, + VpnSitesDelete204Response, + VpnSitesDeleteDefaultResponse, + VpnSitesListByResourceGroup200Response, + VpnSitesListByResourceGroupDefaultResponse, + VpnSitesList200Response, + VpnSitesListDefaultResponse, + VpnSiteLinksGet200Response, + VpnSiteLinksGetDefaultResponse, + VpnSiteLinksListByVpnSite200Response, + VpnSiteLinksListByVpnSiteDefaultResponse, + VpnSitesConfigurationDownload200Response, + VpnSitesConfigurationDownload202Response, + VpnSitesConfigurationDownloadDefaultResponse, + VpnServerConfigurationsGet200Response, + VpnServerConfigurationsGetDefaultResponse, + VpnServerConfigurationsCreateOrUpdate200Response, + VpnServerConfigurationsCreateOrUpdate201Response, + VpnServerConfigurationsCreateOrUpdateDefaultResponse, + VpnServerConfigurationsUpdateTags200Response, + VpnServerConfigurationsUpdateTagsDefaultResponse, + VpnServerConfigurationsDelete200Response, + VpnServerConfigurationsDelete202Response, + VpnServerConfigurationsDelete204Response, + VpnServerConfigurationsDeleteDefaultResponse, + VpnServerConfigurationsListByResourceGroup200Response, + VpnServerConfigurationsListByResourceGroupDefaultResponse, + VpnServerConfigurationsList200Response, + VpnServerConfigurationsListDefaultResponse, + ConfigurationPolicyGroupsCreateOrUpdate200Response, + ConfigurationPolicyGroupsCreateOrUpdate201Response, + ConfigurationPolicyGroupsCreateOrUpdateDefaultResponse, + ConfigurationPolicyGroupsDelete200Response, + ConfigurationPolicyGroupsDelete202Response, + ConfigurationPolicyGroupsDelete204Response, + ConfigurationPolicyGroupsDeleteDefaultResponse, + ConfigurationPolicyGroupsGet200Response, + ConfigurationPolicyGroupsGetDefaultResponse, + ConfigurationPolicyGroupsListByVpnServerConfiguration200Response, + ConfigurationPolicyGroupsListByVpnServerConfigurationDefaultResponse, + VirtualHubsGet200Response, + VirtualHubsGetDefaultResponse, + VirtualHubsCreateOrUpdate200Response, + VirtualHubsCreateOrUpdate201Response, + VirtualHubsCreateOrUpdateDefaultResponse, + VirtualHubsUpdateTags200Response, + VirtualHubsUpdateTagsDefaultResponse, + VirtualHubsDelete200Response, + VirtualHubsDelete202Response, + VirtualHubsDelete204Response, + VirtualHubsDeleteDefaultResponse, + VirtualHubsListByResourceGroup200Response, + VirtualHubsListByResourceGroupDefaultResponse, + VirtualHubsList200Response, + VirtualHubsListDefaultResponse, + VirtualHubsGetEffectiveVirtualHubRoutes200Response, + VirtualHubsGetEffectiveVirtualHubRoutes202Response, + VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse, + VirtualHubsGetInboundRoutes200Response, + VirtualHubsGetInboundRoutes202Response, + VirtualHubsGetInboundRoutesDefaultResponse, + VirtualHubsGetOutboundRoutes200Response, + VirtualHubsGetOutboundRoutes202Response, + VirtualHubsGetOutboundRoutesDefaultResponse, + RouteMapsGet200Response, + RouteMapsGetDefaultResponse, + RouteMapsCreateOrUpdate200Response, + RouteMapsCreateOrUpdate201Response, + RouteMapsCreateOrUpdateDefaultResponse, + RouteMapsDelete200Response, + RouteMapsDelete202Response, + RouteMapsDelete204Response, + RouteMapsDeleteDefaultResponse, + RouteMapsList200Response, + RouteMapsListDefaultResponse, + HubVirtualNetworkConnectionsCreateOrUpdate200Response, + HubVirtualNetworkConnectionsCreateOrUpdate201Response, + HubVirtualNetworkConnectionsCreateOrUpdateDefaultResponse, + HubVirtualNetworkConnectionsDelete200Response, + HubVirtualNetworkConnectionsDelete202Response, + HubVirtualNetworkConnectionsDelete204Response, + HubVirtualNetworkConnectionsDeleteDefaultResponse, + HubVirtualNetworkConnectionsGet200Response, + HubVirtualNetworkConnectionsGetDefaultResponse, + HubVirtualNetworkConnectionsList200Response, + HubVirtualNetworkConnectionsListDefaultResponse, + VpnGatewaysGet200Response, + VpnGatewaysGetDefaultResponse, VpnGatewaysCreateOrUpdate200Response, VpnGatewaysCreateOrUpdate201Response, VpnGatewaysCreateOrUpdateDefaultResponse, + VpnGatewaysUpdateTags200Response, + VpnGatewaysUpdateTags202Response, + VpnGatewaysUpdateTagsDefaultResponse, VpnGatewaysDelete200Response, VpnGatewaysDelete202Response, VpnGatewaysDelete204Response, VpnGatewaysDeleteDefaultResponse, - VpnGatewaysGet200Response, - VpnGatewaysGetDefaultResponse, - VpnGatewaysList200Response, - VpnGatewaysListByResourceGroup200Response, - VpnGatewaysListByResourceGroupDefaultResponse, - VpnGatewaysListDefaultResponse, VpnGatewaysReset200Response, VpnGatewaysReset202Response, VpnGatewaysResetDefaultResponse, @@ -1498,58 +1384,175 @@ import type { VpnGatewaysStopPacketCapture200Response, VpnGatewaysStopPacketCapture202Response, VpnGatewaysStopPacketCaptureDefaultResponse, - VpnGatewaysUpdateTags200Response, - VpnGatewaysUpdateTags202Response, - VpnGatewaysUpdateTagsDefaultResponse, + VpnGatewaysListByResourceGroup200Response, + VpnGatewaysListByResourceGroupDefaultResponse, + VpnGatewaysList200Response, + VpnGatewaysListDefaultResponse, + VpnLinkConnectionsResetConnection202Response, + VpnLinkConnectionsResetConnectionDefaultResponse, VpnLinkConnectionsGetIkeSas200Response, VpnLinkConnectionsGetIkeSas202Response, VpnLinkConnectionsGetIkeSasDefaultResponse, VpnLinkConnectionsListByVpnConnection200Response, VpnLinkConnectionsListByVpnConnectionDefaultResponse, - VpnLinkConnectionsResetConnection202Response, - VpnLinkConnectionsResetConnectionDefaultResponse, + VpnConnectionsGet200Response, + VpnConnectionsGetDefaultResponse, + VpnConnectionsCreateOrUpdate200Response, + VpnConnectionsCreateOrUpdate201Response, + VpnConnectionsCreateOrUpdateDefaultResponse, + VpnConnectionsDelete200Response, + VpnConnectionsDelete202Response, + VpnConnectionsDelete204Response, + VpnConnectionsDeleteDefaultResponse, + VpnConnectionsStartPacketCapture200Response, + VpnConnectionsStartPacketCapture202Response, + VpnConnectionsStartPacketCaptureDefaultResponse, + VpnConnectionsStopPacketCapture200Response, + VpnConnectionsStopPacketCapture202Response, + VpnConnectionsStopPacketCaptureDefaultResponse, + VpnConnectionsListByVpnGateway200Response, + VpnConnectionsListByVpnGatewayDefaultResponse, + VpnSiteLinkConnectionsGet200Response, + VpnSiteLinkConnectionsGetDefaultResponse, + NatRulesGet200Response, + NatRulesGetDefaultResponse, + NatRulesCreateOrUpdate200Response, + NatRulesCreateOrUpdate201Response, + NatRulesCreateOrUpdateDefaultResponse, + NatRulesDelete200Response, + NatRulesDelete202Response, + NatRulesDelete204Response, + NatRulesDeleteDefaultResponse, + NatRulesListByVpnGateway200Response, + NatRulesListByVpnGatewayDefaultResponse, + P2SVpnGatewaysGet200Response, + P2SVpnGatewaysGetDefaultResponse, + P2SVpnGatewaysCreateOrUpdate200Response, + P2SVpnGatewaysCreateOrUpdate201Response, + P2SVpnGatewaysCreateOrUpdateDefaultResponse, + P2SVpnGatewaysUpdateTags200Response, + P2SVpnGatewaysUpdateTags202Response, + P2SVpnGatewaysUpdateTagsDefaultResponse, + P2SVpnGatewaysDelete200Response, + P2SVpnGatewaysDelete202Response, + P2SVpnGatewaysDelete204Response, + P2SVpnGatewaysDeleteDefaultResponse, + P2SVpnGatewaysListByResourceGroup200Response, + P2SVpnGatewaysListByResourceGroupDefaultResponse, + P2SVpnGatewaysList200Response, + P2SVpnGatewaysListDefaultResponse, + P2SVpnGatewaysReset200Response, + P2SVpnGatewaysReset202Response, + P2SVpnGatewaysResetDefaultResponse, + P2SVpnGatewaysGenerateVpnProfile200Response, + P2SVpnGatewaysGenerateVpnProfile202Response, + P2SVpnGatewaysGenerateVpnProfileDefaultResponse, + P2SVpnGatewaysGetP2SVpnConnectionHealth200Response, + P2SVpnGatewaysGetP2SVpnConnectionHealth202Response, + P2SVpnGatewaysGetP2SVpnConnectionHealthDefaultResponse, + P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response, + P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response, + P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedDefaultResponse, + P2SVpnGatewaysDisconnectP2SVpnConnections200Response, + P2SVpnGatewaysDisconnectP2SVpnConnections202Response, + P2SVpnGatewaysDisconnectP2SVpnConnectionsDefaultResponse, VpnServerConfigurationsAssociatedWithVirtualWanList200Response, VpnServerConfigurationsAssociatedWithVirtualWanList202Response, VpnServerConfigurationsAssociatedWithVirtualWanListDefaultResponse, - VpnServerConfigurationsCreateOrUpdate200Response, - VpnServerConfigurationsCreateOrUpdate201Response, - VpnServerConfigurationsCreateOrUpdateDefaultResponse, - VpnServerConfigurationsDelete200Response, - VpnServerConfigurationsDelete202Response, - VpnServerConfigurationsDelete204Response, - VpnServerConfigurationsDeleteDefaultResponse, - VpnServerConfigurationsGet200Response, - VpnServerConfigurationsGetDefaultResponse, - VpnServerConfigurationsList200Response, - VpnServerConfigurationsListByResourceGroup200Response, - VpnServerConfigurationsListByResourceGroupDefaultResponse, - VpnServerConfigurationsListDefaultResponse, - VpnServerConfigurationsUpdateTags200Response, - VpnServerConfigurationsUpdateTagsDefaultResponse, - VpnSiteLinkConnectionsGet200Response, - VpnSiteLinkConnectionsGetDefaultResponse, - VpnSiteLinksGet200Response, - VpnSiteLinksGetDefaultResponse, - VpnSiteLinksListByVpnSite200Response, - VpnSiteLinksListByVpnSiteDefaultResponse, - VpnSitesConfigurationDownload200Response, - VpnSitesConfigurationDownload202Response, - VpnSitesConfigurationDownloadDefaultResponse, - VpnSitesCreateOrUpdate200Response, - VpnSitesCreateOrUpdate201Response, - VpnSitesCreateOrUpdateDefaultResponse, - VpnSitesDelete200Response, - VpnSitesDelete202Response, - VpnSitesDelete204Response, - VpnSitesDeleteDefaultResponse, - VpnSitesGet200Response, - VpnSitesGetDefaultResponse, - VpnSitesList200Response, - VpnSitesListByResourceGroup200Response, - VpnSitesListByResourceGroupDefaultResponse, - VpnSitesListDefaultResponse, - VpnSitesUpdateTags200Response, - VpnSitesUpdateTagsDefaultResponse, + VirtualHubRouteTableV2SGet200Response, + VirtualHubRouteTableV2SGetDefaultResponse, + VirtualHubRouteTableV2SCreateOrUpdate200Response, + VirtualHubRouteTableV2SCreateOrUpdate201Response, + VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse, + VirtualHubRouteTableV2SDelete200Response, + VirtualHubRouteTableV2SDelete202Response, + VirtualHubRouteTableV2SDelete204Response, + VirtualHubRouteTableV2SDeleteDefaultResponse, + VirtualHubRouteTableV2SList200Response, + VirtualHubRouteTableV2SListDefaultResponse, + ExpressRouteGatewaysListBySubscription200Response, + ExpressRouteGatewaysListBySubscriptionDefaultResponse, + ExpressRouteGatewaysListByResourceGroup200Response, + ExpressRouteGatewaysListByResourceGroupDefaultResponse, + ExpressRouteGatewaysCreateOrUpdate200Response, + ExpressRouteGatewaysCreateOrUpdate201Response, + ExpressRouteGatewaysCreateOrUpdateDefaultResponse, + ExpressRouteGatewaysUpdateTags200Response, + ExpressRouteGatewaysUpdateTags202Response, + ExpressRouteGatewaysUpdateTagsDefaultResponse, + ExpressRouteGatewaysGet200Response, + ExpressRouteGatewaysGetDefaultResponse, + ExpressRouteGatewaysDelete200Response, + ExpressRouteGatewaysDelete202Response, + ExpressRouteGatewaysDelete204Response, + ExpressRouteGatewaysDeleteDefaultResponse, + ExpressRouteConnectionsCreateOrUpdate200Response, + ExpressRouteConnectionsCreateOrUpdate201Response, + ExpressRouteConnectionsCreateOrUpdateDefaultResponse, + ExpressRouteConnectionsGet200Response, + ExpressRouteConnectionsGetDefaultResponse, + ExpressRouteConnectionsDelete200Response, + ExpressRouteConnectionsDelete202Response, + ExpressRouteConnectionsDelete204Response, + ExpressRouteConnectionsDeleteDefaultResponse, + ExpressRouteConnectionsList200Response, + ExpressRouteConnectionsListDefaultResponse, + VirtualHubBgpConnectionGet200Response, + VirtualHubBgpConnectionGetDefaultResponse, + VirtualHubBgpConnectionCreateOrUpdate200Response, + VirtualHubBgpConnectionCreateOrUpdate201Response, + VirtualHubBgpConnectionCreateOrUpdateDefaultResponse, + VirtualHubBgpConnectionDelete200Response, + VirtualHubBgpConnectionDelete202Response, + VirtualHubBgpConnectionDelete204Response, + VirtualHubBgpConnectionDeleteDefaultResponse, + VirtualHubBgpConnectionsList200Response, + VirtualHubBgpConnectionsListDefaultResponse, + VirtualHubBgpConnectionsListLearnedRoutes200Response, + VirtualHubBgpConnectionsListLearnedRoutes202Response, + VirtualHubBgpConnectionsListLearnedRoutesDefaultResponse, + VirtualHubBgpConnectionsListAdvertisedRoutes200Response, + VirtualHubBgpConnectionsListAdvertisedRoutes202Response, + VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse, + VirtualHubIpConfigurationGet200Response, + VirtualHubIpConfigurationGetDefaultResponse, + VirtualHubIpConfigurationCreateOrUpdate200Response, + VirtualHubIpConfigurationCreateOrUpdate201Response, + VirtualHubIpConfigurationCreateOrUpdateDefaultResponse, + VirtualHubIpConfigurationDelete200Response, + VirtualHubIpConfigurationDelete202Response, + VirtualHubIpConfigurationDelete204Response, + VirtualHubIpConfigurationDeleteDefaultResponse, + VirtualHubIpConfigurationList200Response, + VirtualHubIpConfigurationListDefaultResponse, + HubRouteTablesCreateOrUpdate200Response, + HubRouteTablesCreateOrUpdate201Response, + HubRouteTablesCreateOrUpdateDefaultResponse, + HubRouteTablesGet200Response, + HubRouteTablesGetDefaultResponse, + HubRouteTablesDelete200Response, + HubRouteTablesDelete202Response, + HubRouteTablesDelete204Response, + HubRouteTablesDeleteDefaultResponse, + HubRouteTablesList200Response, + HubRouteTablesListDefaultResponse, + RoutingIntentCreateOrUpdate200Response, + RoutingIntentCreateOrUpdate201Response, + RoutingIntentCreateOrUpdateDefaultResponse, + RoutingIntentGet200Response, + RoutingIntentGetDefaultResponse, + RoutingIntentDelete200Response, + RoutingIntentDelete202Response, + RoutingIntentDelete204Response, + RoutingIntentDeleteDefaultResponse, + RoutingIntentList200Response, + RoutingIntentListDefaultResponse, + WebApplicationFirewallPoliciesList200Response, + WebApplicationFirewallPoliciesListDefaultResponse, + WebApplicationFirewallPoliciesListAll200Response, + WebApplicationFirewallPoliciesListAllDefaultResponse, + WebApplicationFirewallPoliciesGet200Response, + WebApplicationFirewallPoliciesGetDefaultResponse, WebApplicationFirewallPoliciesCreateOrUpdate200Response, WebApplicationFirewallPoliciesCreateOrUpdate201Response, WebApplicationFirewallPoliciesCreateOrUpdateDefaultResponse, @@ -1557,46 +1560,44 @@ import type { WebApplicationFirewallPoliciesDelete202Response, WebApplicationFirewallPoliciesDelete204Response, WebApplicationFirewallPoliciesDeleteDefaultResponse, - WebApplicationFirewallPoliciesGet200Response, - WebApplicationFirewallPoliciesGetDefaultResponse, - WebApplicationFirewallPoliciesList200Response, - WebApplicationFirewallPoliciesListAll200Response, - WebApplicationFirewallPoliciesListAllDefaultResponse, - WebApplicationFirewallPoliciesListDefaultResponse, - WebCategoriesGet200Response, - WebCategoriesGetDefaultResponse, - WebCategoriesListBySubscription200Response, - WebCategoriesListBySubscriptionDefaultResponse, + VipSwapGet200Response, + VipSwapGetDefaultResponse, + VipSwapCreate200Response, + VipSwapCreate202Response, + VipSwapCreateDefaultResponse, + VipSwapList200Response, + VipSwapListDefaultResponse, } from "./responses"; const responseMap: Record = { - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": - ["200", "202"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": @@ -1613,10 +1614,10 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections": @@ -1625,17 +1626,16 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations": @@ -1646,55 +1646,60 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes": - ["200", "202"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes": ["200", "202"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}": [ - "200", - ], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": - ["200", "202", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": ["200", "202"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": + ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations": ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules": @@ -1705,35 +1710,36 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces": @@ -1750,88 +1756,92 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations": + ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections": @@ -1840,39 +1850,38 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": [ - "200", - ], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}": @@ -1881,76 +1890,74 @@ const responseMap: Record = { ["200"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}": ["200", "201"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": + ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": + ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": [ - "200", - ], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}": - ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups": @@ -1967,15 +1974,16 @@ const responseMap: Record = { ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsFilterOptions": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}": @@ -1988,26 +1996,29 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": - ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers": ["200"], - "POST /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses": - ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping": + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}": @@ -2022,10 +2033,10 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules": @@ -2042,15 +2053,16 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations": @@ -2059,10 +2071,10 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations": @@ -2075,13 +2087,14 @@ const responseMap: Record = { ["200", "202", "204"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus": ["200"], "PUT /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": @@ -2090,9 +2103,8 @@ const responseMap: Record = { ["200"], "DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": ["200", "204"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections": + ["200"], "PUT /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": ["200", "201"], "GET /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": @@ -2157,32 +2169,34 @@ const responseMap: Record = { ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}": ["200", "202", "204"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules": @@ -2191,36 +2205,34 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}": + ["200", "202", "204"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances": [ - "200", - ], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}": - ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus": + ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}": ["200", "201"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}": + ["200", "201"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}": @@ -2231,95 +2243,96 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers": + ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}": - ["201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}": + ["201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}": ["202", "204"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}": @@ -2327,36 +2340,38 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs": ["200"], "GET /providers/Microsoft.Network/operations": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": + ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}": @@ -2365,98 +2380,100 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections": ["200"], - "POST /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": - ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": + ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": ["200", "202", "204"], - "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": - ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": - ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": - ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders": [ - "200", - ], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": - ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions": @@ -2465,60 +2482,60 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages": [ - "200", - ], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": - ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus": ["200", "202"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}": - ["200", "202", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}": ["200", "201"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": ["200", "202", "204"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": @@ -2527,104 +2544,104 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters": - ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters": ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters": + ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": - ["200", "201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": ["200", "202", "204"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": + ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection": - ["202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection": ["202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": - ["200", "201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection": + ["202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": ["200", "202", "204"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": @@ -2639,30 +2656,32 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}": - ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}": + ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}": ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings": @@ -2677,7 +2696,8 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}": @@ -2688,15 +2708,17 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}": @@ -2707,13 +2729,12 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations": [ - "200", - ], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}": - ["200", "201"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups": @@ -2728,19 +2749,20 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes": - ["200", "202"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/inboundRoutes": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/inboundRoutes": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/outboundRoutes": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/inboundRoutes": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/outboundRoutes": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/outboundRoutes": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}": @@ -2749,10 +2771,10 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections": @@ -2765,29 +2787,30 @@ const responseMap: Record = { ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}": ["200", "202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection": - ["202"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection": ["202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas": - ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection": + ["202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}": @@ -2796,14 +2819,14 @@ const responseMap: Record = { ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}": ["200", "202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}": @@ -2826,31 +2849,32 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset": - ["200", "202"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}": @@ -2859,21 +2883,22 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": + ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": ["200", "202", "204"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": @@ -2886,14 +2911,14 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}": @@ -2902,18 +2927,18 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}": + ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent": @@ -2944,7 +2969,9 @@ export function isUnexpected( | ApplicationGatewaysDeleteDefaultResponse, ): response is ApplicationGatewaysDeleteDefaultResponse; export function isUnexpected( - response: ApplicationGatewaysGet200Response | ApplicationGatewaysGetDefaultResponse, + response: + | ApplicationGatewaysGet200Response + | ApplicationGatewaysGetDefaultResponse, ): response is ApplicationGatewaysGetDefaultResponse; export function isUnexpected( response: @@ -2953,13 +2980,19 @@ export function isUnexpected( | ApplicationGatewaysCreateOrUpdateDefaultResponse, ): response is ApplicationGatewaysCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ApplicationGatewaysUpdateTags200Response | ApplicationGatewaysUpdateTagsDefaultResponse, + response: + | ApplicationGatewaysUpdateTags200Response + | ApplicationGatewaysUpdateTagsDefaultResponse, ): response is ApplicationGatewaysUpdateTagsDefaultResponse; export function isUnexpected( - response: ApplicationGatewaysList200Response | ApplicationGatewaysListDefaultResponse, + response: + | ApplicationGatewaysList200Response + | ApplicationGatewaysListDefaultResponse, ): response is ApplicationGatewaysListDefaultResponse; export function isUnexpected( - response: ApplicationGatewaysListAll200Response | ApplicationGatewaysListAllDefaultResponse, + response: + | ApplicationGatewaysListAll200Response + | ApplicationGatewaysListAllDefaultResponse, ): response is ApplicationGatewaysListAllDefaultResponse; export function isUnexpected( response: @@ -3066,7 +3099,9 @@ export function isUnexpected( | ApplicationSecurityGroupsDeleteDefaultResponse, ): response is ApplicationSecurityGroupsDeleteDefaultResponse; export function isUnexpected( - response: ApplicationSecurityGroupsGet200Response | ApplicationSecurityGroupsGetDefaultResponse, + response: + | ApplicationSecurityGroupsGet200Response + | ApplicationSecurityGroupsGetDefaultResponse, ): response is ApplicationSecurityGroupsGetDefaultResponse; export function isUnexpected( response: @@ -3085,10 +3120,14 @@ export function isUnexpected( | ApplicationSecurityGroupsListAllDefaultResponse, ): response is ApplicationSecurityGroupsListAllDefaultResponse; export function isUnexpected( - response: ApplicationSecurityGroupsList200Response | ApplicationSecurityGroupsListDefaultResponse, + response: + | ApplicationSecurityGroupsList200Response + | ApplicationSecurityGroupsListDefaultResponse, ): response is ApplicationSecurityGroupsListDefaultResponse; export function isUnexpected( - response: AvailableDelegationsList200Response | AvailableDelegationsListDefaultResponse, + response: + | AvailableDelegationsList200Response + | AvailableDelegationsListDefaultResponse, ): response is AvailableDelegationsListDefaultResponse; export function isUnexpected( response: @@ -3096,7 +3135,9 @@ export function isUnexpected( | AvailableResourceGroupDelegationsListDefaultResponse, ): response is AvailableResourceGroupDelegationsListDefaultResponse; export function isUnexpected( - response: AvailableServiceAliasesList200Response | AvailableServiceAliasesListDefaultResponse, + response: + | AvailableServiceAliasesList200Response + | AvailableServiceAliasesListDefaultResponse, ): response is AvailableServiceAliasesListDefaultResponse; export function isUnexpected( response: @@ -3129,7 +3170,9 @@ export function isUnexpected( response: AzureFirewallsList200Response | AzureFirewallsListDefaultResponse, ): response is AzureFirewallsListDefaultResponse; export function isUnexpected( - response: AzureFirewallsListAll200Response | AzureFirewallsListAllDefaultResponse, + response: + | AzureFirewallsListAll200Response + | AzureFirewallsListAllDefaultResponse, ): response is AzureFirewallsListAllDefaultResponse; export function isUnexpected( response: @@ -3138,7 +3181,9 @@ export function isUnexpected( | AzureFirewallsListLearnedPrefixesDefaultResponse, ): response is AzureFirewallsListLearnedPrefixesDefaultResponse; export function isUnexpected( - response: AzureFirewallFqdnTagsListAll200Response | AzureFirewallFqdnTagsListAllDefaultResponse, + response: + | AzureFirewallFqdnTagsListAll200Response + | AzureFirewallFqdnTagsListAllDefaultResponse, ): response is AzureFirewallFqdnTagsListAllDefaultResponse; export function isUnexpected( response: WebCategoriesGet200Response | WebCategoriesGetDefaultResponse, @@ -3191,7 +3236,9 @@ export function isUnexpected( | DeleteBastionShareableLinkDefaultResponse, ): response is DeleteBastionShareableLinkDefaultResponse; export function isUnexpected( - response: GetBastionShareableLink200Response | GetBastionShareableLinkDefaultResponse, + response: + | GetBastionShareableLink200Response + | GetBastionShareableLinkDefaultResponse, ): response is GetBastionShareableLinkDefaultResponse; export function isUnexpected( response: @@ -3200,18 +3247,29 @@ export function isUnexpected( | GetActiveSessionsDefaultResponse, ): response is GetActiveSessionsDefaultResponse; export function isUnexpected( - response: DisconnectActiveSessions200Response | DisconnectActiveSessionsDefaultResponse, + response: + | DisconnectActiveSessions200Response + | DisconnectActiveSessionsDefaultResponse, ): response is DisconnectActiveSessionsDefaultResponse; export function isUnexpected( - response: CheckDnsNameAvailability200Response | CheckDnsNameAvailabilityDefaultResponse, + response: + | CheckDnsNameAvailability200Response + | CheckDnsNameAvailabilityDefaultResponse, ): response is CheckDnsNameAvailabilityDefaultResponse; +export function isUnexpected( + response: + | ExpressRouteProviderPort200Response + | ExpressRouteProviderPortDefaultResponse, +): response is ExpressRouteProviderPortDefaultResponse; export function isUnexpected( response: | ListActiveConnectivityConfigurations200Response | ListActiveConnectivityConfigurationsDefaultResponse, ): response is ListActiveConnectivityConfigurationsDefaultResponse; export function isUnexpected( - response: ListActiveSecurityAdminRules200Response | ListActiveSecurityAdminRulesDefaultResponse, + response: + | ListActiveSecurityAdminRules200Response + | ListActiveSecurityAdminRulesDefaultResponse, ): response is ListActiveSecurityAdminRulesDefaultResponse; export function isUnexpected( response: @@ -3224,7 +3282,9 @@ export function isUnexpected( | ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse, ): response is ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse; export function isUnexpected( - response: SupportedSecurityProviders200Response | SupportedSecurityProvidersDefaultResponse, + response: + | SupportedSecurityProviders200Response + | SupportedSecurityProvidersDefaultResponse, ): response is SupportedSecurityProvidersDefaultResponse; export function isUnexpected( response: @@ -3255,7 +3315,9 @@ export function isUnexpected( | NetworkInterfacesDeleteDefaultResponse, ): response is NetworkInterfacesDeleteDefaultResponse; export function isUnexpected( - response: NetworkInterfacesGet200Response | NetworkInterfacesGetDefaultResponse, + response: + | NetworkInterfacesGet200Response + | NetworkInterfacesGetDefaultResponse, ): response is NetworkInterfacesGetDefaultResponse; export function isUnexpected( response: @@ -3264,13 +3326,19 @@ export function isUnexpected( | NetworkInterfacesCreateOrUpdateDefaultResponse, ): response is NetworkInterfacesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: NetworkInterfacesUpdateTags200Response | NetworkInterfacesUpdateTagsDefaultResponse, + response: + | NetworkInterfacesUpdateTags200Response + | NetworkInterfacesUpdateTagsDefaultResponse, ): response is NetworkInterfacesUpdateTagsDefaultResponse; export function isUnexpected( - response: NetworkInterfacesListAll200Response | NetworkInterfacesListAllDefaultResponse, + response: + | NetworkInterfacesListAll200Response + | NetworkInterfacesListAllDefaultResponse, ): response is NetworkInterfacesListAllDefaultResponse; export function isUnexpected( - response: NetworkInterfacesList200Response | NetworkInterfacesListDefaultResponse, + response: + | NetworkInterfacesList200Response + | NetworkInterfacesListDefaultResponse, ): response is NetworkInterfacesListDefaultResponse; export function isUnexpected( response: @@ -3332,7 +3400,9 @@ export function isUnexpected( | PublicIPAddressesDeleteDefaultResponse, ): response is PublicIPAddressesDeleteDefaultResponse; export function isUnexpected( - response: PublicIPAddressesGet200Response | PublicIPAddressesGetDefaultResponse, + response: + | PublicIPAddressesGet200Response + | PublicIPAddressesGetDefaultResponse, ): response is PublicIPAddressesGetDefaultResponse; export function isUnexpected( response: @@ -3341,13 +3411,19 @@ export function isUnexpected( | PublicIPAddressesCreateOrUpdateDefaultResponse, ): response is PublicIPAddressesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: PublicIPAddressesUpdateTags200Response | PublicIPAddressesUpdateTagsDefaultResponse, + response: + | PublicIPAddressesUpdateTags200Response + | PublicIPAddressesUpdateTagsDefaultResponse, ): response is PublicIPAddressesUpdateTagsDefaultResponse; export function isUnexpected( - response: PublicIPAddressesListAll200Response | PublicIPAddressesListAllDefaultResponse, + response: + | PublicIPAddressesListAll200Response + | PublicIPAddressesListAllDefaultResponse, ): response is PublicIPAddressesListAllDefaultResponse; export function isUnexpected( - response: PublicIPAddressesList200Response | PublicIPAddressesListDefaultResponse, + response: + | PublicIPAddressesList200Response + | PublicIPAddressesListDefaultResponse, ): response is PublicIPAddressesListDefaultResponse; export function isUnexpected( response: @@ -3387,13 +3463,19 @@ export function isUnexpected( | CustomIPPrefixesCreateOrUpdateDefaultResponse, ): response is CustomIPPrefixesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: CustomIPPrefixesUpdateTags200Response | CustomIPPrefixesUpdateTagsDefaultResponse, + response: + | CustomIPPrefixesUpdateTags200Response + | CustomIPPrefixesUpdateTagsDefaultResponse, ): response is CustomIPPrefixesUpdateTagsDefaultResponse; export function isUnexpected( - response: CustomIPPrefixesListAll200Response | CustomIPPrefixesListAllDefaultResponse, + response: + | CustomIPPrefixesListAll200Response + | CustomIPPrefixesListAllDefaultResponse, ): response is CustomIPPrefixesListAllDefaultResponse; export function isUnexpected( - response: CustomIPPrefixesList200Response | CustomIPPrefixesListDefaultResponse, + response: + | CustomIPPrefixesList200Response + | CustomIPPrefixesListDefaultResponse, ): response is CustomIPPrefixesListDefaultResponse; export function isUnexpected( response: @@ -3403,7 +3485,9 @@ export function isUnexpected( | DdosCustomPoliciesDeleteDefaultResponse, ): response is DdosCustomPoliciesDeleteDefaultResponse; export function isUnexpected( - response: DdosCustomPoliciesGet200Response | DdosCustomPoliciesGetDefaultResponse, + response: + | DdosCustomPoliciesGet200Response + | DdosCustomPoliciesGetDefaultResponse, ): response is DdosCustomPoliciesGetDefaultResponse; export function isUnexpected( response: @@ -3412,7 +3496,9 @@ export function isUnexpected( | DdosCustomPoliciesCreateOrUpdateDefaultResponse, ): response is DdosCustomPoliciesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: DdosCustomPoliciesUpdateTags200Response | DdosCustomPoliciesUpdateTagsDefaultResponse, + response: + | DdosCustomPoliciesUpdateTags200Response + | DdosCustomPoliciesUpdateTagsDefaultResponse, ): response is DdosCustomPoliciesUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -3422,7 +3508,9 @@ export function isUnexpected( | DdosProtectionPlansDeleteDefaultResponse, ): response is DdosProtectionPlansDeleteDefaultResponse; export function isUnexpected( - response: DdosProtectionPlansGet200Response | DdosProtectionPlansGetDefaultResponse, + response: + | DdosProtectionPlansGet200Response + | DdosProtectionPlansGetDefaultResponse, ): response is DdosProtectionPlansGetDefaultResponse; export function isUnexpected( response: @@ -3431,10 +3519,14 @@ export function isUnexpected( | DdosProtectionPlansCreateOrUpdateDefaultResponse, ): response is DdosProtectionPlansCreateOrUpdateDefaultResponse; export function isUnexpected( - response: DdosProtectionPlansUpdateTags200Response | DdosProtectionPlansUpdateTagsDefaultResponse, + response: + | DdosProtectionPlansUpdateTags200Response + | DdosProtectionPlansUpdateTagsDefaultResponse, ): response is DdosProtectionPlansUpdateTagsDefaultResponse; export function isUnexpected( - response: DdosProtectionPlansList200Response | DdosProtectionPlansListDefaultResponse, + response: + | DdosProtectionPlansList200Response + | DdosProtectionPlansListDefaultResponse, ): response is DdosProtectionPlansListDefaultResponse; export function isUnexpected( response: @@ -3455,16 +3547,24 @@ export function isUnexpected( | DscpConfigurationDeleteDefaultResponse, ): response is DscpConfigurationDeleteDefaultResponse; export function isUnexpected( - response: DscpConfigurationGet200Response | DscpConfigurationGetDefaultResponse, + response: + | DscpConfigurationGet200Response + | DscpConfigurationGetDefaultResponse, ): response is DscpConfigurationGetDefaultResponse; export function isUnexpected( - response: DscpConfigurationList200Response | DscpConfigurationListDefaultResponse, + response: + | DscpConfigurationList200Response + | DscpConfigurationListDefaultResponse, ): response is DscpConfigurationListDefaultResponse; export function isUnexpected( - response: DscpConfigurationListAll200Response | DscpConfigurationListAllDefaultResponse, + response: + | DscpConfigurationListAll200Response + | DscpConfigurationListAllDefaultResponse, ): response is DscpConfigurationListAllDefaultResponse; export function isUnexpected( - response: AvailableEndpointServicesList200Response | AvailableEndpointServicesListDefaultResponse, + response: + | AvailableEndpointServicesList200Response + | AvailableEndpointServicesListDefaultResponse, ): response is AvailableEndpointServicesListDefaultResponse; export function isUnexpected( response: @@ -3553,7 +3653,9 @@ export function isUnexpected( | ExpressRouteCircuitsDeleteDefaultResponse, ): response is ExpressRouteCircuitsDeleteDefaultResponse; export function isUnexpected( - response: ExpressRouteCircuitsGet200Response | ExpressRouteCircuitsGetDefaultResponse, + response: + | ExpressRouteCircuitsGet200Response + | ExpressRouteCircuitsGetDefaultResponse, ): response is ExpressRouteCircuitsGetDefaultResponse; export function isUnexpected( response: @@ -3585,7 +3687,9 @@ export function isUnexpected( | ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse, ): response is ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse; export function isUnexpected( - response: ExpressRouteCircuitsGetStats200Response | ExpressRouteCircuitsGetStatsDefaultResponse, + response: + | ExpressRouteCircuitsGetStats200Response + | ExpressRouteCircuitsGetStatsDefaultResponse, ): response is ExpressRouteCircuitsGetStatsDefaultResponse; export function isUnexpected( response: @@ -3593,10 +3697,14 @@ export function isUnexpected( | ExpressRouteCircuitsGetPeeringStatsDefaultResponse, ): response is ExpressRouteCircuitsGetPeeringStatsDefaultResponse; export function isUnexpected( - response: ExpressRouteCircuitsList200Response | ExpressRouteCircuitsListDefaultResponse, + response: + | ExpressRouteCircuitsList200Response + | ExpressRouteCircuitsListDefaultResponse, ): response is ExpressRouteCircuitsListDefaultResponse; export function isUnexpected( - response: ExpressRouteCircuitsListAll200Response | ExpressRouteCircuitsListAllDefaultResponse, + response: + | ExpressRouteCircuitsListAll200Response + | ExpressRouteCircuitsListAllDefaultResponse, ): response is ExpressRouteCircuitsListAllDefaultResponse; export function isUnexpected( response: @@ -3675,7 +3783,9 @@ export function isUnexpected( | ExpressRoutePortsLocationsListDefaultResponse, ): response is ExpressRoutePortsLocationsListDefaultResponse; export function isUnexpected( - response: ExpressRoutePortsLocationsGet200Response | ExpressRoutePortsLocationsGetDefaultResponse, + response: + | ExpressRoutePortsLocationsGet200Response + | ExpressRoutePortsLocationsGetDefaultResponse, ): response is ExpressRoutePortsLocationsGetDefaultResponse; export function isUnexpected( response: @@ -3685,7 +3795,9 @@ export function isUnexpected( | ExpressRoutePortsDeleteDefaultResponse, ): response is ExpressRoutePortsDeleteDefaultResponse; export function isUnexpected( - response: ExpressRoutePortsGet200Response | ExpressRoutePortsGetDefaultResponse, + response: + | ExpressRoutePortsGet200Response + | ExpressRoutePortsGetDefaultResponse, ): response is ExpressRoutePortsGetDefaultResponse; export function isUnexpected( response: @@ -3694,7 +3806,9 @@ export function isUnexpected( | ExpressRoutePortsCreateOrUpdateDefaultResponse, ): response is ExpressRoutePortsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ExpressRoutePortsUpdateTags200Response | ExpressRoutePortsUpdateTagsDefaultResponse, + response: + | ExpressRoutePortsUpdateTags200Response + | ExpressRoutePortsUpdateTagsDefaultResponse, ): response is ExpressRoutePortsUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -3702,16 +3816,24 @@ export function isUnexpected( | ExpressRoutePortsListByResourceGroupDefaultResponse, ): response is ExpressRoutePortsListByResourceGroupDefaultResponse; export function isUnexpected( - response: ExpressRoutePortsList200Response | ExpressRoutePortsListDefaultResponse, + response: + | ExpressRoutePortsList200Response + | ExpressRoutePortsListDefaultResponse, ): response is ExpressRoutePortsListDefaultResponse; export function isUnexpected( - response: ExpressRoutePortsGenerateLOA200Response | ExpressRoutePortsGenerateLOADefaultResponse, + response: + | ExpressRoutePortsGenerateLOA200Response + | ExpressRoutePortsGenerateLOADefaultResponse, ): response is ExpressRoutePortsGenerateLOADefaultResponse; export function isUnexpected( - response: ExpressRouteLinksGet200Response | ExpressRouteLinksGetDefaultResponse, + response: + | ExpressRouteLinksGet200Response + | ExpressRouteLinksGetDefaultResponse, ): response is ExpressRouteLinksGetDefaultResponse; export function isUnexpected( - response: ExpressRouteLinksList200Response | ExpressRouteLinksListDefaultResponse, + response: + | ExpressRouteLinksList200Response + | ExpressRouteLinksListDefaultResponse, ): response is ExpressRouteLinksListDefaultResponse; export function isUnexpected( response: @@ -3741,9 +3863,6 @@ export function isUnexpected( | ExpressRouteProviderPortsLocationList200Response | ExpressRouteProviderPortsLocationListDefaultResponse, ): response is ExpressRouteProviderPortsLocationListDefaultResponse; -export function isUnexpected( - response: ExpressRouteProviderPortsGet200Response | ExpressRouteProviderPortsGetDefaultResponse, -): response is ExpressRouteProviderPortsGetDefaultResponse; export function isUnexpected( response: | FirewallPoliciesDelete200Response @@ -3761,13 +3880,19 @@ export function isUnexpected( | FirewallPoliciesCreateOrUpdateDefaultResponse, ): response is FirewallPoliciesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: FirewallPoliciesUpdateTags200Response | FirewallPoliciesUpdateTagsDefaultResponse, + response: + | FirewallPoliciesUpdateTags200Response + | FirewallPoliciesUpdateTagsDefaultResponse, ): response is FirewallPoliciesUpdateTagsDefaultResponse; export function isUnexpected( - response: FirewallPoliciesList200Response | FirewallPoliciesListDefaultResponse, + response: + | FirewallPoliciesList200Response + | FirewallPoliciesListDefaultResponse, ): response is FirewallPoliciesListDefaultResponse; export function isUnexpected( - response: FirewallPoliciesListAll200Response | FirewallPoliciesListAllDefaultResponse, + response: + | FirewallPoliciesListAll200Response + | FirewallPoliciesListAllDefaultResponse, ): response is FirewallPoliciesListAllDefaultResponse; export function isUnexpected( response: @@ -3839,7 +3964,9 @@ export function isUnexpected( | IpAllocationsCreateOrUpdateDefaultResponse, ): response is IpAllocationsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: IpAllocationsUpdateTags200Response | IpAllocationsUpdateTagsDefaultResponse, + response: + | IpAllocationsUpdateTags200Response + | IpAllocationsUpdateTagsDefaultResponse, ): response is IpAllocationsUpdateTagsDefaultResponse; export function isUnexpected( response: IpAllocationsList200Response | IpAllocationsListDefaultResponse, @@ -3859,7 +3986,9 @@ export function isUnexpected( | IpGroupsCreateOrUpdateDefaultResponse, ): response is IpGroupsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: IpGroupsUpdateGroups200Response | IpGroupsUpdateGroupsDefaultResponse, + response: + | IpGroupsUpdateGroups200Response + | IpGroupsUpdateGroupsDefaultResponse, ): response is IpGroupsUpdateGroupsDefaultResponse; export function isUnexpected( response: @@ -3869,7 +3998,9 @@ export function isUnexpected( | IpGroupsDeleteDefaultResponse, ): response is IpGroupsDeleteDefaultResponse; export function isUnexpected( - response: IpGroupsListByResourceGroup200Response | IpGroupsListByResourceGroupDefaultResponse, + response: + | IpGroupsListByResourceGroup200Response + | IpGroupsListByResourceGroupDefaultResponse, ): response is IpGroupsListByResourceGroupDefaultResponse; export function isUnexpected( response: IpGroupsList200Response | IpGroupsListDefaultResponse, @@ -3891,10 +4022,14 @@ export function isUnexpected( | LoadBalancersCreateOrUpdateDefaultResponse, ): response is LoadBalancersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: LoadBalancersUpdateTags200Response | LoadBalancersUpdateTagsDefaultResponse, + response: + | LoadBalancersUpdateTags200Response + | LoadBalancersUpdateTagsDefaultResponse, ): response is LoadBalancersUpdateTagsDefaultResponse; export function isUnexpected( - response: LoadBalancersListAll200Response | LoadBalancersListAllDefaultResponse, + response: + | LoadBalancersListAll200Response + | LoadBalancersListAllDefaultResponse, ): response is LoadBalancersListAllDefaultResponse; export function isUnexpected( response: LoadBalancersList200Response | LoadBalancersListDefaultResponse, @@ -3974,10 +4109,14 @@ export function isUnexpected( | LoadBalancerLoadBalancingRulesGetDefaultResponse, ): response is LoadBalancerLoadBalancingRulesGetDefaultResponse; export function isUnexpected( - response: LoadBalancerOutboundRulesList200Response | LoadBalancerOutboundRulesListDefaultResponse, + response: + | LoadBalancerOutboundRulesList200Response + | LoadBalancerOutboundRulesListDefaultResponse, ): response is LoadBalancerOutboundRulesListDefaultResponse; export function isUnexpected( - response: LoadBalancerOutboundRulesGet200Response | LoadBalancerOutboundRulesGetDefaultResponse, + response: + | LoadBalancerOutboundRulesGet200Response + | LoadBalancerOutboundRulesGetDefaultResponse, ): response is LoadBalancerOutboundRulesGetDefaultResponse; export function isUnexpected( response: @@ -3985,10 +4124,14 @@ export function isUnexpected( | LoadBalancerNetworkInterfacesListDefaultResponse, ): response is LoadBalancerNetworkInterfacesListDefaultResponse; export function isUnexpected( - response: LoadBalancerProbesList200Response | LoadBalancerProbesListDefaultResponse, + response: + | LoadBalancerProbesList200Response + | LoadBalancerProbesListDefaultResponse, ): response is LoadBalancerProbesListDefaultResponse; export function isUnexpected( - response: LoadBalancerProbesGet200Response | LoadBalancerProbesGetDefaultResponse, + response: + | LoadBalancerProbesGet200Response + | LoadBalancerProbesGetDefaultResponse, ): response is LoadBalancerProbesGetDefaultResponse; export function isUnexpected( response: @@ -4008,7 +4151,9 @@ export function isUnexpected( | NatGatewaysCreateOrUpdateDefaultResponse, ): response is NatGatewaysCreateOrUpdateDefaultResponse; export function isUnexpected( - response: NatGatewaysUpdateTags200Response | NatGatewaysUpdateTagsDefaultResponse, + response: + | NatGatewaysUpdateTags200Response + | NatGatewaysUpdateTagsDefaultResponse, ): response is NatGatewaysUpdateTagsDefaultResponse; export function isUnexpected( response: NatGatewaysListAll200Response | NatGatewaysListAllDefaultResponse, @@ -4071,7 +4216,9 @@ export function isUnexpected( | NetworkManagersDeleteDefaultResponse, ): response is NetworkManagersDeleteDefaultResponse; export function isUnexpected( - response: NetworkManagersPatch200Response | NetworkManagersPatchDefaultResponse, + response: + | NetworkManagersPatch200Response + | NetworkManagersPatchDefaultResponse, ): response is NetworkManagersPatchDefaultResponse; export function isUnexpected( response: @@ -4137,7 +4284,9 @@ export function isUnexpected( | ManagementGroupNetworkManagerConnectionsListDefaultResponse, ): response is ManagementGroupNetworkManagerConnectionsListDefaultResponse; export function isUnexpected( - response: ConnectivityConfigurationsGet200Response | ConnectivityConfigurationsGetDefaultResponse, + response: + | ConnectivityConfigurationsGet200Response + | ConnectivityConfigurationsGetDefaultResponse, ): response is ConnectivityConfigurationsGetDefaultResponse; export function isUnexpected( response: @@ -4210,7 +4359,9 @@ export function isUnexpected( | ScopeConnectionsDeleteDefaultResponse, ): response is ScopeConnectionsDeleteDefaultResponse; export function isUnexpected( - response: ScopeConnectionsList200Response | ScopeConnectionsListDefaultResponse, + response: + | ScopeConnectionsList200Response + | ScopeConnectionsListDefaultResponse, ): response is ScopeConnectionsListDefaultResponse; export function isUnexpected( response: @@ -4236,10 +4387,14 @@ export function isUnexpected( | SecurityAdminConfigurationsDeleteDefaultResponse, ): response is SecurityAdminConfigurationsDeleteDefaultResponse; export function isUnexpected( - response: AdminRuleCollectionsList200Response | AdminRuleCollectionsListDefaultResponse, + response: + | AdminRuleCollectionsList200Response + | AdminRuleCollectionsListDefaultResponse, ): response is AdminRuleCollectionsListDefaultResponse; export function isUnexpected( - response: AdminRuleCollectionsGet200Response | AdminRuleCollectionsGetDefaultResponse, + response: + | AdminRuleCollectionsGet200Response + | AdminRuleCollectionsGetDefaultResponse, ): response is AdminRuleCollectionsGetDefaultResponse; export function isUnexpected( response: @@ -4290,10 +4445,14 @@ export function isUnexpected( | NetworkProfilesCreateOrUpdateDefaultResponse, ): response is NetworkProfilesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: NetworkProfilesUpdateTags200Response | NetworkProfilesUpdateTagsDefaultResponse, + response: + | NetworkProfilesUpdateTags200Response + | NetworkProfilesUpdateTagsDefaultResponse, ): response is NetworkProfilesUpdateTagsDefaultResponse; export function isUnexpected( - response: NetworkProfilesListAll200Response | NetworkProfilesListAllDefaultResponse, + response: + | NetworkProfilesListAll200Response + | NetworkProfilesListAllDefaultResponse, ): response is NetworkProfilesListAllDefaultResponse; export function isUnexpected( response: NetworkProfilesList200Response | NetworkProfilesListDefaultResponse, @@ -4306,7 +4465,9 @@ export function isUnexpected( | NetworkSecurityGroupsDeleteDefaultResponse, ): response is NetworkSecurityGroupsDeleteDefaultResponse; export function isUnexpected( - response: NetworkSecurityGroupsGet200Response | NetworkSecurityGroupsGetDefaultResponse, + response: + | NetworkSecurityGroupsGet200Response + | NetworkSecurityGroupsGetDefaultResponse, ): response is NetworkSecurityGroupsGetDefaultResponse; export function isUnexpected( response: @@ -4320,10 +4481,14 @@ export function isUnexpected( | NetworkSecurityGroupsUpdateTagsDefaultResponse, ): response is NetworkSecurityGroupsUpdateTagsDefaultResponse; export function isUnexpected( - response: NetworkSecurityGroupsListAll200Response | NetworkSecurityGroupsListAllDefaultResponse, + response: + | NetworkSecurityGroupsListAll200Response + | NetworkSecurityGroupsListAllDefaultResponse, ): response is NetworkSecurityGroupsListAllDefaultResponse; export function isUnexpected( - response: NetworkSecurityGroupsList200Response | NetworkSecurityGroupsListDefaultResponse, + response: + | NetworkSecurityGroupsList200Response + | NetworkSecurityGroupsListDefaultResponse, ): response is NetworkSecurityGroupsListDefaultResponse; export function isUnexpected( response: @@ -4345,10 +4510,14 @@ export function isUnexpected( response: SecurityRulesList200Response | SecurityRulesListDefaultResponse, ): response is SecurityRulesListDefaultResponse; export function isUnexpected( - response: DefaultSecurityRulesList200Response | DefaultSecurityRulesListDefaultResponse, + response: + | DefaultSecurityRulesList200Response + | DefaultSecurityRulesListDefaultResponse, ): response is DefaultSecurityRulesListDefaultResponse; export function isUnexpected( - response: DefaultSecurityRulesGet200Response | DefaultSecurityRulesGetDefaultResponse, + response: + | DefaultSecurityRulesGet200Response + | DefaultSecurityRulesGetDefaultResponse, ): response is DefaultSecurityRulesGetDefaultResponse; export function isUnexpected( response: @@ -4358,7 +4527,9 @@ export function isUnexpected( | NetworkVirtualAppliancesDeleteDefaultResponse, ): response is NetworkVirtualAppliancesDeleteDefaultResponse; export function isUnexpected( - response: NetworkVirtualAppliancesGet200Response | NetworkVirtualAppliancesGetDefaultResponse, + response: + | NetworkVirtualAppliancesGet200Response + | NetworkVirtualAppliancesGetDefaultResponse, ): response is NetworkVirtualAppliancesGetDefaultResponse; export function isUnexpected( response: @@ -4377,7 +4548,9 @@ export function isUnexpected( | NetworkVirtualAppliancesListByResourceGroupDefaultResponse, ): response is NetworkVirtualAppliancesListByResourceGroupDefaultResponse; export function isUnexpected( - response: NetworkVirtualAppliancesList200Response | NetworkVirtualAppliancesListDefaultResponse, + response: + | NetworkVirtualAppliancesList200Response + | NetworkVirtualAppliancesListDefaultResponse, ): response is NetworkVirtualAppliancesListDefaultResponse; export function isUnexpected( response: @@ -4387,7 +4560,9 @@ export function isUnexpected( | VirtualApplianceSitesDeleteDefaultResponse, ): response is VirtualApplianceSitesDeleteDefaultResponse; export function isUnexpected( - response: VirtualApplianceSitesGet200Response | VirtualApplianceSitesGetDefaultResponse, + response: + | VirtualApplianceSitesGet200Response + | VirtualApplianceSitesGetDefaultResponse, ): response is VirtualApplianceSitesGetDefaultResponse; export function isUnexpected( response: @@ -4396,13 +4571,19 @@ export function isUnexpected( | VirtualApplianceSitesCreateOrUpdateDefaultResponse, ): response is VirtualApplianceSitesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: VirtualApplianceSitesList200Response | VirtualApplianceSitesListDefaultResponse, + response: + | VirtualApplianceSitesList200Response + | VirtualApplianceSitesListDefaultResponse, ): response is VirtualApplianceSitesListDefaultResponse; export function isUnexpected( - response: VirtualApplianceSkusList200Response | VirtualApplianceSkusListDefaultResponse, + response: + | VirtualApplianceSkusList200Response + | VirtualApplianceSkusListDefaultResponse, ): response is VirtualApplianceSkusListDefaultResponse; export function isUnexpected( - response: VirtualApplianceSkusGet200Response | VirtualApplianceSkusGetDefaultResponse, + response: + | VirtualApplianceSkusGet200Response + | VirtualApplianceSkusGetDefaultResponse, ): response is VirtualApplianceSkusGetDefaultResponse; export function isUnexpected( response: @@ -4426,16 +4607,22 @@ export function isUnexpected( | NetworkWatchersDeleteDefaultResponse, ): response is NetworkWatchersDeleteDefaultResponse; export function isUnexpected( - response: NetworkWatchersUpdateTags200Response | NetworkWatchersUpdateTagsDefaultResponse, + response: + | NetworkWatchersUpdateTags200Response + | NetworkWatchersUpdateTagsDefaultResponse, ): response is NetworkWatchersUpdateTagsDefaultResponse; export function isUnexpected( response: NetworkWatchersList200Response | NetworkWatchersListDefaultResponse, ): response is NetworkWatchersListDefaultResponse; export function isUnexpected( - response: NetworkWatchersListAll200Response | NetworkWatchersListAllDefaultResponse, + response: + | NetworkWatchersListAll200Response + | NetworkWatchersListAllDefaultResponse, ): response is NetworkWatchersListAllDefaultResponse; export function isUnexpected( - response: NetworkWatchersGetTopology200Response | NetworkWatchersGetTopologyDefaultResponse, + response: + | NetworkWatchersGetTopology200Response + | NetworkWatchersGetTopologyDefaultResponse, ): response is NetworkWatchersGetTopologyDefaultResponse; export function isUnexpected( response: @@ -4504,7 +4691,9 @@ export function isUnexpected( | NetworkWatchersGetNetworkConfigurationDiagnosticDefaultResponse, ): response is NetworkWatchersGetNetworkConfigurationDiagnosticDefaultResponse; export function isUnexpected( - response: PacketCapturesCreate201Response | PacketCapturesCreateDefaultResponse, + response: + | PacketCapturesCreate201Response + | PacketCapturesCreateDefaultResponse, ): response is PacketCapturesCreateDefaultResponse; export function isUnexpected( response: PacketCapturesGet200Response | PacketCapturesGetDefaultResponse, @@ -4537,7 +4726,9 @@ export function isUnexpected( | ConnectionMonitorsCreateOrUpdateDefaultResponse, ): response is ConnectionMonitorsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ConnectionMonitorsGet200Response | ConnectionMonitorsGetDefaultResponse, + response: + | ConnectionMonitorsGet200Response + | ConnectionMonitorsGetDefaultResponse, ): response is ConnectionMonitorsGetDefaultResponse; export function isUnexpected( response: @@ -4546,7 +4737,9 @@ export function isUnexpected( | ConnectionMonitorsDeleteDefaultResponse, ): response is ConnectionMonitorsDeleteDefaultResponse; export function isUnexpected( - response: ConnectionMonitorsUpdateTags200Response | ConnectionMonitorsUpdateTagsDefaultResponse, + response: + | ConnectionMonitorsUpdateTags200Response + | ConnectionMonitorsUpdateTagsDefaultResponse, ): response is ConnectionMonitorsUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -4567,7 +4760,9 @@ export function isUnexpected( | ConnectionMonitorsQueryDefaultResponse, ): response is ConnectionMonitorsQueryDefaultResponse; export function isUnexpected( - response: ConnectionMonitorsList200Response | ConnectionMonitorsListDefaultResponse, + response: + | ConnectionMonitorsList200Response + | ConnectionMonitorsListDefaultResponse, ): response is ConnectionMonitorsListDefaultResponse; export function isUnexpected( response: @@ -4582,7 +4777,10 @@ export function isUnexpected( response: FlowLogsGet200Response | FlowLogsGetDefaultResponse, ): response is FlowLogsGetDefaultResponse; export function isUnexpected( - response: FlowLogsDelete202Response | FlowLogsDelete204Response | FlowLogsDeleteDefaultResponse, + response: + | FlowLogsDelete202Response + | FlowLogsDelete204Response + | FlowLogsDeleteDefaultResponse, ): response is FlowLogsDeleteDefaultResponse; export function isUnexpected( response: FlowLogsList200Response | FlowLogsListDefaultResponse, @@ -4607,7 +4805,9 @@ export function isUnexpected( | PrivateEndpointsCreateOrUpdateDefaultResponse, ): response is PrivateEndpointsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: PrivateEndpointsList200Response | PrivateEndpointsListDefaultResponse, + response: + | PrivateEndpointsList200Response + | PrivateEndpointsListDefaultResponse, ): response is PrivateEndpointsListDefaultResponse; export function isUnexpected( response: @@ -4632,7 +4832,9 @@ export function isUnexpected( | PrivateDnsZoneGroupsDeleteDefaultResponse, ): response is PrivateDnsZoneGroupsDeleteDefaultResponse; export function isUnexpected( - response: PrivateDnsZoneGroupsGet200Response | PrivateDnsZoneGroupsGetDefaultResponse, + response: + | PrivateDnsZoneGroupsGet200Response + | PrivateDnsZoneGroupsGetDefaultResponse, ): response is PrivateDnsZoneGroupsGetDefaultResponse; export function isUnexpected( response: @@ -4641,7 +4843,9 @@ export function isUnexpected( | PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse, ): response is PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: PrivateDnsZoneGroupsList200Response | PrivateDnsZoneGroupsListDefaultResponse, + response: + | PrivateDnsZoneGroupsList200Response + | PrivateDnsZoneGroupsListDefaultResponse, ): response is PrivateDnsZoneGroupsListDefaultResponse; export function isUnexpected( response: @@ -4651,7 +4855,9 @@ export function isUnexpected( | PrivateLinkServicesDeleteDefaultResponse, ): response is PrivateLinkServicesDeleteDefaultResponse; export function isUnexpected( - response: PrivateLinkServicesGet200Response | PrivateLinkServicesGetDefaultResponse, + response: + | PrivateLinkServicesGet200Response + | PrivateLinkServicesGetDefaultResponse, ): response is PrivateLinkServicesGetDefaultResponse; export function isUnexpected( response: @@ -4660,7 +4866,9 @@ export function isUnexpected( | PrivateLinkServicesCreateOrUpdateDefaultResponse, ): response is PrivateLinkServicesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: PrivateLinkServicesList200Response | PrivateLinkServicesListDefaultResponse, + response: + | PrivateLinkServicesList200Response + | PrivateLinkServicesListDefaultResponse, ): response is PrivateLinkServicesListDefaultResponse; export function isUnexpected( response: @@ -4728,13 +4936,19 @@ export function isUnexpected( | PublicIPPrefixesCreateOrUpdateDefaultResponse, ): response is PublicIPPrefixesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: PublicIPPrefixesUpdateTags200Response | PublicIPPrefixesUpdateTagsDefaultResponse, + response: + | PublicIPPrefixesUpdateTags200Response + | PublicIPPrefixesUpdateTagsDefaultResponse, ): response is PublicIPPrefixesUpdateTagsDefaultResponse; export function isUnexpected( - response: PublicIPPrefixesListAll200Response | PublicIPPrefixesListAllDefaultResponse, + response: + | PublicIPPrefixesListAll200Response + | PublicIPPrefixesListAllDefaultResponse, ): response is PublicIPPrefixesListAllDefaultResponse; export function isUnexpected( - response: PublicIPPrefixesList200Response | PublicIPPrefixesListDefaultResponse, + response: + | PublicIPPrefixesList200Response + | PublicIPPrefixesListDefaultResponse, ): response is PublicIPPrefixesListDefaultResponse; export function isUnexpected( response: @@ -4753,7 +4967,9 @@ export function isUnexpected( | RouteFiltersCreateOrUpdateDefaultResponse, ): response is RouteFiltersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: RouteFiltersUpdateTags200Response | RouteFiltersUpdateTagsDefaultResponse, + response: + | RouteFiltersUpdateTags200Response + | RouteFiltersUpdateTagsDefaultResponse, ): response is RouteFiltersUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -4801,7 +5017,9 @@ export function isUnexpected( | RouteTablesCreateOrUpdateDefaultResponse, ): response is RouteTablesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: RouteTablesUpdateTags200Response | RouteTablesUpdateTagsDefaultResponse, + response: + | RouteTablesUpdateTags200Response + | RouteTablesUpdateTagsDefaultResponse, ): response is RouteTablesUpdateTagsDefaultResponse; export function isUnexpected( response: RouteTablesList200Response | RouteTablesListDefaultResponse, @@ -4836,7 +5054,9 @@ export function isUnexpected( | SecurityPartnerProvidersDeleteDefaultResponse, ): response is SecurityPartnerProvidersDeleteDefaultResponse; export function isUnexpected( - response: SecurityPartnerProvidersGet200Response | SecurityPartnerProvidersGetDefaultResponse, + response: + | SecurityPartnerProvidersGet200Response + | SecurityPartnerProvidersGetDefaultResponse, ): response is SecurityPartnerProvidersGetDefaultResponse; export function isUnexpected( response: @@ -4855,10 +5075,14 @@ export function isUnexpected( | SecurityPartnerProvidersListByResourceGroupDefaultResponse, ): response is SecurityPartnerProvidersListByResourceGroupDefaultResponse; export function isUnexpected( - response: SecurityPartnerProvidersList200Response | SecurityPartnerProvidersListDefaultResponse, + response: + | SecurityPartnerProvidersList200Response + | SecurityPartnerProvidersListDefaultResponse, ): response is SecurityPartnerProvidersListDefaultResponse; export function isUnexpected( - response: BgpServiceCommunitiesList200Response | BgpServiceCommunitiesListDefaultResponse, + response: + | BgpServiceCommunitiesList200Response + | BgpServiceCommunitiesListDefaultResponse, ): response is BgpServiceCommunitiesListDefaultResponse; export function isUnexpected( response: @@ -4868,7 +5092,9 @@ export function isUnexpected( | ServiceEndpointPoliciesDeleteDefaultResponse, ): response is ServiceEndpointPoliciesDeleteDefaultResponse; export function isUnexpected( - response: ServiceEndpointPoliciesGet200Response | ServiceEndpointPoliciesGetDefaultResponse, + response: + | ServiceEndpointPoliciesGet200Response + | ServiceEndpointPoliciesGetDefaultResponse, ): response is ServiceEndpointPoliciesGetDefaultResponse; export function isUnexpected( response: @@ -4882,7 +5108,9 @@ export function isUnexpected( | ServiceEndpointPoliciesUpdateTagsDefaultResponse, ): response is ServiceEndpointPoliciesUpdateTagsDefaultResponse; export function isUnexpected( - response: ServiceEndpointPoliciesList200Response | ServiceEndpointPoliciesListDefaultResponse, + response: + | ServiceEndpointPoliciesList200Response + | ServiceEndpointPoliciesListDefaultResponse, ): response is ServiceEndpointPoliciesListDefaultResponse; export function isUnexpected( response: @@ -4916,7 +5144,9 @@ export function isUnexpected( response: ServiceTagsList200Response | ServiceTagsListDefaultResponse, ): response is ServiceTagsListDefaultResponse; export function isUnexpected( - response: ServiceTagInformationList200Response | ServiceTagInformationListDefaultResponse, + response: + | ServiceTagInformationList200Response + | ServiceTagInformationListDefaultResponse, ): response is ServiceTagInformationListDefaultResponse; export function isUnexpected( response: UsagesList200Response | UsagesListDefaultResponse, @@ -4938,10 +5168,14 @@ export function isUnexpected( | VirtualNetworksCreateOrUpdateDefaultResponse, ): response is VirtualNetworksCreateOrUpdateDefaultResponse; export function isUnexpected( - response: VirtualNetworksUpdateTags200Response | VirtualNetworksUpdateTagsDefaultResponse, + response: + | VirtualNetworksUpdateTags200Response + | VirtualNetworksUpdateTagsDefaultResponse, ): response is VirtualNetworksUpdateTagsDefaultResponse; export function isUnexpected( - response: VirtualNetworksListAll200Response | VirtualNetworksListAllDefaultResponse, + response: + | VirtualNetworksListAll200Response + | VirtualNetworksListAllDefaultResponse, ): response is VirtualNetworksListAllDefaultResponse; export function isUnexpected( response: VirtualNetworksList200Response | VirtualNetworksListDefaultResponse, @@ -4952,7 +5186,9 @@ export function isUnexpected( | VirtualNetworksCheckIPAddressAvailabilityDefaultResponse, ): response is VirtualNetworksCheckIPAddressAvailabilityDefaultResponse; export function isUnexpected( - response: VirtualNetworksListUsage200Response | VirtualNetworksListUsageDefaultResponse, + response: + | VirtualNetworksListUsage200Response + | VirtualNetworksListUsageDefaultResponse, ): response is VirtualNetworksListUsageDefaultResponse; export function isUnexpected( response: @@ -4992,10 +5228,14 @@ export function isUnexpected( response: SubnetsList200Response | SubnetsListDefaultResponse, ): response is SubnetsListDefaultResponse; export function isUnexpected( - response: ResourceNavigationLinksList200Response | ResourceNavigationLinksListDefaultResponse, + response: + | ResourceNavigationLinksList200Response + | ResourceNavigationLinksListDefaultResponse, ): response is ResourceNavigationLinksListDefaultResponse; export function isUnexpected( - response: ServiceAssociationLinksList200Response | ServiceAssociationLinksListDefaultResponse, + response: + | ServiceAssociationLinksList200Response + | ServiceAssociationLinksListDefaultResponse, ): response is ServiceAssociationLinksListDefaultResponse; export function isUnexpected( response: @@ -5005,7 +5245,9 @@ export function isUnexpected( | VirtualNetworkPeeringsDeleteDefaultResponse, ): response is VirtualNetworkPeeringsDeleteDefaultResponse; export function isUnexpected( - response: VirtualNetworkPeeringsGet200Response | VirtualNetworkPeeringsGetDefaultResponse, + response: + | VirtualNetworkPeeringsGet200Response + | VirtualNetworkPeeringsGetDefaultResponse, ): response is VirtualNetworkPeeringsGetDefaultResponse; export function isUnexpected( response: @@ -5014,7 +5256,9 @@ export function isUnexpected( | VirtualNetworkPeeringsCreateOrUpdateDefaultResponse, ): response is VirtualNetworkPeeringsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: VirtualNetworkPeeringsList200Response | VirtualNetworkPeeringsListDefaultResponse, + response: + | VirtualNetworkPeeringsList200Response + | VirtualNetworkPeeringsListDefaultResponse, ): response is VirtualNetworkPeeringsListDefaultResponse; export function isUnexpected( response: @@ -5023,7 +5267,9 @@ export function isUnexpected( | VirtualNetworkGatewaysCreateOrUpdateDefaultResponse, ): response is VirtualNetworkGatewaysCreateOrUpdateDefaultResponse; export function isUnexpected( - response: VirtualNetworkGatewaysGet200Response | VirtualNetworkGatewaysGetDefaultResponse, + response: + | VirtualNetworkGatewaysGet200Response + | VirtualNetworkGatewaysGetDefaultResponse, ): response is VirtualNetworkGatewaysGetDefaultResponse; export function isUnexpected( response: @@ -5039,7 +5285,9 @@ export function isUnexpected( | VirtualNetworkGatewaysUpdateTagsDefaultResponse, ): response is VirtualNetworkGatewaysUpdateTagsDefaultResponse; export function isUnexpected( - response: VirtualNetworkGatewaysList200Response | VirtualNetworkGatewaysListDefaultResponse, + response: + | VirtualNetworkGatewaysList200Response + | VirtualNetworkGatewaysListDefaultResponse, ): response is VirtualNetworkGatewaysListDefaultResponse; export function isUnexpected( response: @@ -5215,7 +5463,9 @@ export function isUnexpected( | LocalNetworkGatewaysCreateOrUpdateDefaultResponse, ): response is LocalNetworkGatewaysCreateOrUpdateDefaultResponse; export function isUnexpected( - response: LocalNetworkGatewaysGet200Response | LocalNetworkGatewaysGetDefaultResponse, + response: + | LocalNetworkGatewaysGet200Response + | LocalNetworkGatewaysGetDefaultResponse, ): response is LocalNetworkGatewaysGetDefaultResponse; export function isUnexpected( response: @@ -5230,7 +5480,9 @@ export function isUnexpected( | LocalNetworkGatewaysUpdateTagsDefaultResponse, ): response is LocalNetworkGatewaysUpdateTagsDefaultResponse; export function isUnexpected( - response: LocalNetworkGatewaysList200Response | LocalNetworkGatewaysListDefaultResponse, + response: + | LocalNetworkGatewaysList200Response + | LocalNetworkGatewaysListDefaultResponse, ): response is LocalNetworkGatewaysListDefaultResponse; export function isUnexpected( response: @@ -5263,7 +5515,9 @@ export function isUnexpected( | VirtualNetworkTapsDeleteDefaultResponse, ): response is VirtualNetworkTapsDeleteDefaultResponse; export function isUnexpected( - response: VirtualNetworkTapsGet200Response | VirtualNetworkTapsGetDefaultResponse, + response: + | VirtualNetworkTapsGet200Response + | VirtualNetworkTapsGetDefaultResponse, ): response is VirtualNetworkTapsGetDefaultResponse; export function isUnexpected( response: @@ -5272,10 +5526,14 @@ export function isUnexpected( | VirtualNetworkTapsCreateOrUpdateDefaultResponse, ): response is VirtualNetworkTapsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: VirtualNetworkTapsUpdateTags200Response | VirtualNetworkTapsUpdateTagsDefaultResponse, + response: + | VirtualNetworkTapsUpdateTags200Response + | VirtualNetworkTapsUpdateTagsDefaultResponse, ): response is VirtualNetworkTapsUpdateTagsDefaultResponse; export function isUnexpected( - response: VirtualNetworkTapsListAll200Response | VirtualNetworkTapsListAllDefaultResponse, + response: + | VirtualNetworkTapsListAll200Response + | VirtualNetworkTapsListAllDefaultResponse, ): response is VirtualNetworkTapsListAllDefaultResponse; export function isUnexpected( response: @@ -5314,7 +5572,9 @@ export function isUnexpected( | VirtualRouterPeeringsDeleteDefaultResponse, ): response is VirtualRouterPeeringsDeleteDefaultResponse; export function isUnexpected( - response: VirtualRouterPeeringsGet200Response | VirtualRouterPeeringsGetDefaultResponse, + response: + | VirtualRouterPeeringsGet200Response + | VirtualRouterPeeringsGetDefaultResponse, ): response is VirtualRouterPeeringsGetDefaultResponse; export function isUnexpected( response: @@ -5323,7 +5583,9 @@ export function isUnexpected( | VirtualRouterPeeringsCreateOrUpdateDefaultResponse, ): response is VirtualRouterPeeringsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: VirtualRouterPeeringsList200Response | VirtualRouterPeeringsListDefaultResponse, + response: + | VirtualRouterPeeringsList200Response + | VirtualRouterPeeringsListDefaultResponse, ): response is VirtualRouterPeeringsListDefaultResponse; export function isUnexpected( response: VirtualWansGet200Response | VirtualWansGetDefaultResponse, @@ -5335,7 +5597,9 @@ export function isUnexpected( | VirtualWansCreateOrUpdateDefaultResponse, ): response is VirtualWansCreateOrUpdateDefaultResponse; export function isUnexpected( - response: VirtualWansUpdateTags200Response | VirtualWansUpdateTagsDefaultResponse, + response: + | VirtualWansUpdateTags200Response + | VirtualWansUpdateTagsDefaultResponse, ): response is VirtualWansUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -5372,7 +5636,9 @@ export function isUnexpected( | VpnSitesDeleteDefaultResponse, ): response is VpnSitesDeleteDefaultResponse; export function isUnexpected( - response: VpnSitesListByResourceGroup200Response | VpnSitesListByResourceGroupDefaultResponse, + response: + | VpnSitesListByResourceGroup200Response + | VpnSitesListByResourceGroupDefaultResponse, ): response is VpnSitesListByResourceGroupDefaultResponse; export function isUnexpected( response: VpnSitesList200Response | VpnSitesListDefaultResponse, @@ -5381,7 +5647,9 @@ export function isUnexpected( response: VpnSiteLinksGet200Response | VpnSiteLinksGetDefaultResponse, ): response is VpnSiteLinksGetDefaultResponse; export function isUnexpected( - response: VpnSiteLinksListByVpnSite200Response | VpnSiteLinksListByVpnSiteDefaultResponse, + response: + | VpnSiteLinksListByVpnSite200Response + | VpnSiteLinksListByVpnSiteDefaultResponse, ): response is VpnSiteLinksListByVpnSiteDefaultResponse; export function isUnexpected( response: @@ -5390,7 +5658,9 @@ export function isUnexpected( | VpnSitesConfigurationDownloadDefaultResponse, ): response is VpnSitesConfigurationDownloadDefaultResponse; export function isUnexpected( - response: VpnServerConfigurationsGet200Response | VpnServerConfigurationsGetDefaultResponse, + response: + | VpnServerConfigurationsGet200Response + | VpnServerConfigurationsGetDefaultResponse, ): response is VpnServerConfigurationsGetDefaultResponse; export function isUnexpected( response: @@ -5416,7 +5686,9 @@ export function isUnexpected( | VpnServerConfigurationsListByResourceGroupDefaultResponse, ): response is VpnServerConfigurationsListByResourceGroupDefaultResponse; export function isUnexpected( - response: VpnServerConfigurationsList200Response | VpnServerConfigurationsListDefaultResponse, + response: + | VpnServerConfigurationsList200Response + | VpnServerConfigurationsListDefaultResponse, ): response is VpnServerConfigurationsListDefaultResponse; export function isUnexpected( response: @@ -5432,7 +5704,9 @@ export function isUnexpected( | ConfigurationPolicyGroupsDeleteDefaultResponse, ): response is ConfigurationPolicyGroupsDeleteDefaultResponse; export function isUnexpected( - response: ConfigurationPolicyGroupsGet200Response | ConfigurationPolicyGroupsGetDefaultResponse, + response: + | ConfigurationPolicyGroupsGet200Response + | ConfigurationPolicyGroupsGetDefaultResponse, ): response is ConfigurationPolicyGroupsGetDefaultResponse; export function isUnexpected( response: @@ -5449,7 +5723,9 @@ export function isUnexpected( | VirtualHubsCreateOrUpdateDefaultResponse, ): response is VirtualHubsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: VirtualHubsUpdateTags200Response | VirtualHubsUpdateTagsDefaultResponse, + response: + | VirtualHubsUpdateTags200Response + | VirtualHubsUpdateTagsDefaultResponse, ): response is VirtualHubsUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -5624,7 +5900,9 @@ export function isUnexpected( | VpnConnectionsListByVpnGatewayDefaultResponse, ): response is VpnConnectionsListByVpnGatewayDefaultResponse; export function isUnexpected( - response: VpnSiteLinkConnectionsGet200Response | VpnSiteLinkConnectionsGetDefaultResponse, + response: + | VpnSiteLinkConnectionsGet200Response + | VpnSiteLinkConnectionsGetDefaultResponse, ): response is VpnSiteLinkConnectionsGetDefaultResponse; export function isUnexpected( response: NatRulesGet200Response | NatRulesGetDefaultResponse, @@ -5643,7 +5921,9 @@ export function isUnexpected( | NatRulesDeleteDefaultResponse, ): response is NatRulesDeleteDefaultResponse; export function isUnexpected( - response: NatRulesListByVpnGateway200Response | NatRulesListByVpnGatewayDefaultResponse, + response: + | NatRulesListByVpnGateway200Response + | NatRulesListByVpnGatewayDefaultResponse, ): response is NatRulesListByVpnGatewayDefaultResponse; export function isUnexpected( response: P2SVpnGatewaysGet200Response | P2SVpnGatewaysGetDefaultResponse, @@ -5712,7 +5992,9 @@ export function isUnexpected( | VpnServerConfigurationsAssociatedWithVirtualWanListDefaultResponse, ): response is VpnServerConfigurationsAssociatedWithVirtualWanListDefaultResponse; export function isUnexpected( - response: VirtualHubRouteTableV2SGet200Response | VirtualHubRouteTableV2SGetDefaultResponse, + response: + | VirtualHubRouteTableV2SGet200Response + | VirtualHubRouteTableV2SGetDefaultResponse, ): response is VirtualHubRouteTableV2SGetDefaultResponse; export function isUnexpected( response: @@ -5728,7 +6010,9 @@ export function isUnexpected( | VirtualHubRouteTableV2SDeleteDefaultResponse, ): response is VirtualHubRouteTableV2SDeleteDefaultResponse; export function isUnexpected( - response: VirtualHubRouteTableV2SList200Response | VirtualHubRouteTableV2SListDefaultResponse, + response: + | VirtualHubRouteTableV2SList200Response + | VirtualHubRouteTableV2SListDefaultResponse, ): response is VirtualHubRouteTableV2SListDefaultResponse; export function isUnexpected( response: @@ -5753,7 +6037,9 @@ export function isUnexpected( | ExpressRouteGatewaysUpdateTagsDefaultResponse, ): response is ExpressRouteGatewaysUpdateTagsDefaultResponse; export function isUnexpected( - response: ExpressRouteGatewaysGet200Response | ExpressRouteGatewaysGetDefaultResponse, + response: + | ExpressRouteGatewaysGet200Response + | ExpressRouteGatewaysGetDefaultResponse, ): response is ExpressRouteGatewaysGetDefaultResponse; export function isUnexpected( response: @@ -5769,7 +6055,9 @@ export function isUnexpected( | ExpressRouteConnectionsCreateOrUpdateDefaultResponse, ): response is ExpressRouteConnectionsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ExpressRouteConnectionsGet200Response | ExpressRouteConnectionsGetDefaultResponse, + response: + | ExpressRouteConnectionsGet200Response + | ExpressRouteConnectionsGetDefaultResponse, ): response is ExpressRouteConnectionsGetDefaultResponse; export function isUnexpected( response: @@ -5779,10 +6067,14 @@ export function isUnexpected( | ExpressRouteConnectionsDeleteDefaultResponse, ): response is ExpressRouteConnectionsDeleteDefaultResponse; export function isUnexpected( - response: ExpressRouteConnectionsList200Response | ExpressRouteConnectionsListDefaultResponse, + response: + | ExpressRouteConnectionsList200Response + | ExpressRouteConnectionsListDefaultResponse, ): response is ExpressRouteConnectionsListDefaultResponse; export function isUnexpected( - response: VirtualHubBgpConnectionGet200Response | VirtualHubBgpConnectionGetDefaultResponse, + response: + | VirtualHubBgpConnectionGet200Response + | VirtualHubBgpConnectionGetDefaultResponse, ): response is VirtualHubBgpConnectionGetDefaultResponse; export function isUnexpected( response: @@ -5798,7 +6090,9 @@ export function isUnexpected( | VirtualHubBgpConnectionDeleteDefaultResponse, ): response is VirtualHubBgpConnectionDeleteDefaultResponse; export function isUnexpected( - response: VirtualHubBgpConnectionsList200Response | VirtualHubBgpConnectionsListDefaultResponse, + response: + | VirtualHubBgpConnectionsList200Response + | VirtualHubBgpConnectionsListDefaultResponse, ): response is VirtualHubBgpConnectionsListDefaultResponse; export function isUnexpected( response: @@ -5813,7 +6107,9 @@ export function isUnexpected( | VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse, ): response is VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse; export function isUnexpected( - response: VirtualHubIpConfigurationGet200Response | VirtualHubIpConfigurationGetDefaultResponse, + response: + | VirtualHubIpConfigurationGet200Response + | VirtualHubIpConfigurationGetDefaultResponse, ): response is VirtualHubIpConfigurationGetDefaultResponse; export function isUnexpected( response: @@ -5829,7 +6125,9 @@ export function isUnexpected( | VirtualHubIpConfigurationDeleteDefaultResponse, ): response is VirtualHubIpConfigurationDeleteDefaultResponse; export function isUnexpected( - response: VirtualHubIpConfigurationList200Response | VirtualHubIpConfigurationListDefaultResponse, + response: + | VirtualHubIpConfigurationList200Response + | VirtualHubIpConfigurationListDefaultResponse, ): response is VirtualHubIpConfigurationListDefaultResponse; export function isUnexpected( response: @@ -5901,7 +6199,10 @@ export function isUnexpected( response: VipSwapGet200Response | VipSwapGetDefaultResponse, ): response is VipSwapGetDefaultResponse; export function isUnexpected( - response: VipSwapCreate200Response | VipSwapCreate202Response | VipSwapCreateDefaultResponse, + response: + | VipSwapCreate200Response + | VipSwapCreate202Response + | VipSwapCreateDefaultResponse, ): response is VipSwapCreateDefaultResponse; export function isUnexpected( response: VipSwapList200Response | VipSwapListDefaultResponse, @@ -6045,6 +6346,8 @@ export function isUnexpected( | DisconnectActiveSessionsDefaultResponse | CheckDnsNameAvailability200Response | CheckDnsNameAvailabilityDefaultResponse + | ExpressRouteProviderPort200Response + | ExpressRouteProviderPortDefaultResponse | ListActiveConnectivityConfigurations200Response | ListActiveConnectivityConfigurationsDefaultResponse | ListActiveSecurityAdminRules200Response @@ -6316,8 +6619,6 @@ export function isUnexpected( | ExpressRoutePortAuthorizationsListDefaultResponse | ExpressRouteProviderPortsLocationList200Response | ExpressRouteProviderPortsLocationListDefaultResponse - | ExpressRouteProviderPortsGet200Response - | ExpressRouteProviderPortsGetDefaultResponse | FirewallPoliciesDelete200Response | FirewallPoliciesDelete202Response | FirewallPoliciesDelete204Response @@ -7530,6 +7831,7 @@ export function isUnexpected( | GetActiveSessionsDefaultResponse | DisconnectActiveSessionsDefaultResponse | CheckDnsNameAvailabilityDefaultResponse + | ExpressRouteProviderPortDefaultResponse | ListActiveConnectivityConfigurationsDefaultResponse | ListActiveSecurityAdminRulesDefaultResponse | ListNetworkManagerEffectiveConnectivityConfigurationsDefaultResponse @@ -7641,7 +7943,6 @@ export function isUnexpected( | ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse | ExpressRoutePortAuthorizationsListDefaultResponse | ExpressRouteProviderPortsLocationListDefaultResponse - | ExpressRouteProviderPortsGetDefaultResponse | FirewallPoliciesDeleteDefaultResponse | FirewallPoliciesGetDefaultResponse | FirewallPoliciesCreateOrUpdateDefaultResponse @@ -8092,14 +8393,20 @@ export function isUnexpected( const method = response.request.method; let pathDetails = responseMap[`${method} ${url.pathname}`]; if (!pathDetails) { - pathDetails = geParametrizedPathSuccess(method, url.pathname); + pathDetails = getParametrizedPathSuccess(method, url.pathname); } return !pathDetails.includes(response.status); } -function geParametrizedPathSuccess(method: string, path: string): string[] { +function getParametrizedPathSuccess(method: string, path: string): string[] { const pathParts = path.split("/"); + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + // Iterate the responseMap to find a match for (const [key, value] of Object.entries(responseMap)) { // Extracting the path from the map key which is in format @@ -8111,43 +8418,52 @@ function geParametrizedPathSuccess(method: string, path: string): string[] { // Get each part of the url path const candidateParts = candidatePath.split("/"); - // If the candidate and actual paths don't match in size - // we move on to the next candidate path - if (candidateParts.length === pathParts.length && hasParametrizedPath(key)) { - // track if we have found a match to return the values found. - let found = true; - for (let i = 0; i < candidateParts.length; i++) { - if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.endsWith("}")) { - // If the current part of the candidate is a "template" part - // it is a match with the actual path part on hand - // skip as the parameterized part can match anything - continue; - } + // track if we have found a match to return the values found. + let found = true; + for ( + let i = candidateParts.length - 1, j = pathParts.length - 1; + i >= 1 && j >= 1; + i--, j-- + ) { + if ( + candidateParts[i]?.startsWith("{") && + candidateParts[i]?.indexOf("}") !== -1 + ) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp( + `${candidateParts[i]?.slice(start, end)}`, + ).test(pathParts[j] || ""); - // If the candidate part is not a template and - // the parts don't match mark the candidate as not found - // to move on with the next candidate path. - if (candidateParts[i] !== pathParts[i]) { + if (!isMatched) { found = false; break; } + continue; } - // We finished evaluating the current candidate parts - // if all parts matched we return the success values form - // the path mapping. - if (found) { - return value; + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; } } - } - // No match was found, return an empty array. - return []; -} + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } -function hasParametrizedPath(path: string): boolean { - return path.includes("/{"); + return matchedValue; } function getPathFromMapKey(mapKey: string): string { diff --git a/sdk/network/arm-network-rest/src/logger.ts b/sdk/network/arm-network-rest/src/logger.ts new file mode 100644 index 000000000000..07a1c95daaa0 --- /dev/null +++ b/sdk/network/arm-network-rest/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-network"); diff --git a/sdk/network/arm-network-rest/src/models.ts b/sdk/network/arm-network-rest/src/models.ts index 932c9e68ce7b..42d28222d0c1 100644 --- a/sdk/network/arm-network-rest/src/models.ts +++ b/sdk/network/arm-network-rest/src/models.ts @@ -5,8 +5,6 @@ export interface ApplicationGateway extends Resource { /** Properties of the application gateway. */ properties?: ApplicationGatewayPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** A list of availability zones denoting where the resource needs to come from. */ zones?: Array; /** The identity of the application gateway, if configured. */ @@ -19,8 +17,6 @@ export interface ApplicationGatewayPropertiesFormat { sku?: ApplicationGatewaySku; /** SSL policy of the application gateway resource. */ sslPolicy?: ApplicationGatewaySslPolicy; - /** Operational state of the application gateway resource. */ - operationalState?: "Stopped" | "Starting" | "Running" | "Stopping"; /** Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ gatewayIPConfigurations?: Array; /** Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ @@ -71,12 +67,6 @@ export interface ApplicationGatewayPropertiesFormat { autoscaleConfiguration?: ApplicationGatewayAutoscaleConfiguration; /** PrivateLink configurations on application gateway. */ privateLinkConfigurations?: Array; - /** Private Endpoint connections on application gateway. */ - privateEndpointConnections?: Array; - /** The resource GUID property of the application gateway resource. */ - resourceGuid?: string; - /** The provisioning state of the application gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Custom error configurations of the application gateway resource. */ customErrorConfigurations?: Array; /** If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. */ @@ -158,18 +148,12 @@ export interface ApplicationGatewayIPConfiguration extends SubResource { properties?: ApplicationGatewayIPConfigurationPropertiesFormat; /** Name of the IP configuration that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of IP configuration of an application gateway. */ export interface ApplicationGatewayIPConfigurationPropertiesFormat { /** Reference to the subnet resource. A subnet from where application gateway gets its private address. */ subnet?: SubResource; - /** The provisioning state of the application gateway IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Reference to another subresource. */ @@ -179,23 +163,18 @@ export interface SubResource { } /** Authentication certificates of an application gateway. */ -export interface ApplicationGatewayAuthenticationCertificate extends SubResource { +export interface ApplicationGatewayAuthenticationCertificate + extends SubResource { /** Properties of the application gateway authentication certificate. */ properties?: ApplicationGatewayAuthenticationCertificatePropertiesFormat; /** Name of the authentication certificate that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Authentication certificates properties of an application gateway. */ export interface ApplicationGatewayAuthenticationCertificatePropertiesFormat { /** Certificate public data. */ data?: string; - /** The provisioning state of the authentication certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Trusted Root certificates of an application gateway. */ @@ -204,10 +183,6 @@ export interface ApplicationGatewayTrustedRootCertificate extends SubResource { properties?: ApplicationGatewayTrustedRootCertificatePropertiesFormat; /** Name of the trusted root certificate that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Trusted Root certificates properties of an application gateway. */ @@ -216,32 +191,21 @@ export interface ApplicationGatewayTrustedRootCertificatePropertiesFormat { data?: string; /** Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. */ keyVaultSecretId?: string; - /** The provisioning state of the trusted root certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Trusted client certificates of an application gateway. */ -export interface ApplicationGatewayTrustedClientCertificate extends SubResource { +export interface ApplicationGatewayTrustedClientCertificate + extends SubResource { /** Properties of the application gateway trusted client certificate. */ properties?: ApplicationGatewayTrustedClientCertificatePropertiesFormat; /** Name of the trusted client certificate that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Trusted client certificates properties of an application gateway. */ export interface ApplicationGatewayTrustedClientCertificatePropertiesFormat { /** Certificate public data. */ data?: string; - /** Validated certificate data. */ - validatedCertData?: string; - /** Distinguished name of client certificate issuer. */ - clientCertIssuerDN?: string; - /** The provisioning state of the trusted client certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** SSL certificates of an application gateway. */ @@ -250,10 +214,6 @@ export interface ApplicationGatewaySslCertificate extends SubResource { properties?: ApplicationGatewaySslCertificatePropertiesFormat; /** Name of the SSL certificate that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of SSL certificates of an application gateway. */ @@ -262,12 +222,8 @@ export interface ApplicationGatewaySslCertificatePropertiesFormat { data?: string; /** Password for the pfx file specified in data. Only applicable in PUT request. */ password?: string; - /** Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request. */ - publicCertData?: string; /** Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. */ keyVaultSecretId?: string; - /** The provisioning state of the SSL certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Frontend IP configuration of an application gateway. */ @@ -276,10 +232,6 @@ export interface ApplicationGatewayFrontendIPConfiguration extends SubResource { properties?: ApplicationGatewayFrontendIPConfigurationPropertiesFormat; /** Name of the frontend IP configuration that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of Frontend IP configuration of an application gateway. */ @@ -294,8 +246,6 @@ export interface ApplicationGatewayFrontendIPConfigurationPropertiesFormat { publicIPAddress?: SubResource; /** Reference to the application gateway private link configuration. */ privateLinkConfiguration?: SubResource; - /** The provisioning state of the frontend IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Frontend port of an application gateway. */ @@ -304,18 +254,12 @@ export interface ApplicationGatewayFrontendPort extends SubResource { properties?: ApplicationGatewayFrontendPortPropertiesFormat; /** Name of the frontend port that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of Frontend port of an application gateway. */ export interface ApplicationGatewayFrontendPortPropertiesFormat { /** Frontend port. */ port?: number; - /** The provisioning state of the frontend port resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Probe of the application gateway. */ @@ -324,10 +268,6 @@ export interface ApplicationGatewayProbe extends SubResource { properties?: ApplicationGatewayProbePropertiesFormat; /** Name of the probe that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of probe of an application gateway. */ @@ -352,8 +292,6 @@ export interface ApplicationGatewayProbePropertiesFormat { minServers?: number; /** Criterion for classifying a healthy probe response. */ match?: ApplicationGatewayProbeHealthResponseMatch; - /** The provisioning state of the probe resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only. */ port?: number; } @@ -372,20 +310,12 @@ export interface ApplicationGatewayBackendAddressPool extends SubResource { properties?: ApplicationGatewayBackendAddressPoolPropertiesFormat; /** Name of the backend address pool that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of Backend Address Pool of an application gateway. */ export interface ApplicationGatewayBackendAddressPoolPropertiesFormat { - /** Collection of references to IPs defined in network interfaces. */ - backendIPConfigurations?: Array; /** Backend addresses. */ backendAddresses?: Array; - /** The provisioning state of the backend address pool resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IPConfiguration in a network interface. */ @@ -394,8 +324,6 @@ export interface NetworkInterfaceIPConfiguration extends SubResource { properties?: NetworkInterfaceIPConfigurationPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** Resource type. */ type?: string; } @@ -426,28 +354,16 @@ export interface NetworkInterfaceIPConfigurationPropertiesFormat { publicIPAddress?: PublicIPAddress; /** Application security groups in which the IP configuration is included. */ applicationSecurityGroups?: Array; - /** The provisioning state of the network interface IP configuration. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** PrivateLinkConnection properties for the network interface. */ - privateLinkConnectionProperties?: NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties; } /** Virtual Network Tap resource. */ export interface VirtualNetworkTap extends Resource { /** Virtual Network Tap Properties. */ properties?: VirtualNetworkTapPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Virtual Network Tap properties. */ export interface VirtualNetworkTapPropertiesFormat { - /** Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped. */ - networkInterfaceTapConfigurations?: Array; - /** The resource GUID property of the virtual network tap resource. */ - resourceGuid?: string; - /** The provisioning state of the virtual network tap resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The reference to the private IP Address of the collector nic that will receive the tap. */ destinationNetworkInterfaceIPConfiguration?: NetworkInterfaceIPConfiguration; /** The reference to the private IP address on the internal Load Balancer that will receive the tap. */ @@ -462,18 +378,12 @@ export interface NetworkInterfaceTapConfiguration extends SubResource { properties?: NetworkInterfaceTapConfigurationPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Sub Resource type. */ - type?: string; } /** Properties of Virtual Network Tap configuration. */ export interface NetworkInterfaceTapConfigurationPropertiesFormat { /** The reference to the Virtual Network Tap resource. */ virtualNetworkTap?: VirtualNetworkTap; - /** The provisioning state of the network interface tap configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Frontend IP address of the load balancer. */ @@ -482,24 +392,12 @@ export interface FrontendIPConfiguration extends SubResource { properties?: FrontendIPConfigurationPropertiesFormat; /** The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; /** A list of availability zones denoting the IP allocated for the resource needs to come from. */ zones?: Array; } /** Properties of Frontend IP Configuration of the load balancer. */ export interface FrontendIPConfigurationPropertiesFormat { - /** An array of references to inbound rules that use this frontend IP. */ - inboundNatRules?: Array; - /** An array of references to inbound pools that use this frontend IP. */ - inboundNatPools?: Array; - /** An array of references to outbound rules that use this frontend IP. */ - outboundRules?: Array; - /** An array of references to load balancing rules that use this frontend IP. */ - loadBalancingRules?: Array; /** The private IP address of the IP configuration. */ privateIPAddress?: string; /** The Private IP allocation method. */ @@ -514,8 +412,6 @@ export interface FrontendIPConfigurationPropertiesFormat { publicIPPrefix?: SubResource; /** The reference to gateway load balancer frontend IP. */ gatewayLoadBalancer?: SubResource; - /** The provisioning state of the frontend IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Subnet in a virtual network resource. */ @@ -524,8 +420,6 @@ export interface Subnet extends SubResource { properties?: SubnetPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** Resource type. */ type?: string; } @@ -546,24 +440,10 @@ export interface SubnetPropertiesFormat { serviceEndpoints?: Array; /** An array of service endpoint policies. */ serviceEndpointPolicies?: Array; - /** An array of references to private endpoints. */ - privateEndpoints?: Array; - /** An array of references to the network interface IP configurations using subnet. */ - ipConfigurations?: Array; - /** Array of IP configuration profiles which reference this subnet. */ - ipConfigurationProfiles?: Array; /** Array of IpAllocation which reference this subnet. */ ipAllocations?: Array; - /** An array of references to the external resources using subnet. */ - resourceNavigationLinks?: Array; - /** An array of references to services injecting into this subnet. */ - serviceAssociationLinks?: Array; /** An array of references to the delegations on the subnet. */ delegations?: Array; - /** A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. */ - purpose?: string; - /** The provisioning state of the subnet resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Enable or Disable apply network policies on private end point in the subnet. */ privateEndpointNetworkPolicies?: "Enabled" | "Disabled"; /** Enable or Disable apply network policies on private link service in the subnet. */ @@ -576,8 +456,6 @@ export interface SubnetPropertiesFormat { export interface NetworkSecurityGroup extends Resource { /** Properties of the network security group. */ properties?: NetworkSecurityGroupPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Network Security Group resource. */ @@ -586,18 +464,6 @@ export interface NetworkSecurityGroupPropertiesFormat { flushConnection?: boolean; /** A collection of security rules of the network security group. */ securityRules?: Array; - /** The default security rules of network security group. */ - defaultSecurityRules?: Array; - /** A collection of references to network interfaces. */ - networkInterfaces?: Array; - /** A collection of references to subnets. */ - subnets?: Array; - /** A collection of references to flow log resources. */ - flowLogs?: Array; - /** The resource GUID property of the network security group resource. */ - resourceGuid?: string; - /** The provisioning state of the network security group resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network security rule. */ @@ -606,8 +472,6 @@ export interface SecurityRule extends SubResource { properties?: SecurityRulePropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** The type of the resource. */ type?: string; } @@ -644,34 +508,21 @@ export interface SecurityRulePropertiesFormat { priority?: number; /** The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. */ direction: "Inbound" | "Outbound"; - /** The provisioning state of the security rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** An application security group in a resource group. */ export interface ApplicationSecurityGroup extends Resource { /** Properties of the application security group. */ properties?: ApplicationSecurityGroupPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Application security group properties. */ -export interface ApplicationSecurityGroupPropertiesFormat { - /** The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. */ - resourceGuid?: string; - /** The provisioning state of the application security group resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; -} +export interface ApplicationSecurityGroupPropertiesFormat {} /** Common resource representation. */ export interface Resource { /** Resource ID. */ id?: string; - /** Resource name. */ - name?: string; - /** Resource type. */ - type?: string; /** Resource location. */ location?: string; /** Resource tags. */ @@ -684,8 +535,6 @@ export interface NetworkInterface extends Resource { extendedLocation?: ExtendedLocation; /** Properties of the network interface. */ properties?: NetworkInterfacePropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** ExtendedLocation complex type. */ @@ -698,38 +547,18 @@ export interface ExtendedLocation { /** NetworkInterface properties. */ export interface NetworkInterfacePropertiesFormat { - /** The reference to a virtual machine. */ - virtualMachine?: SubResource; /** The reference to the NetworkSecurityGroup resource. */ networkSecurityGroup?: NetworkSecurityGroup; - /** A reference to the private endpoint to which the network interface is linked. */ - privateEndpoint?: PrivateEndpoint; /** A list of IPConfigurations of the network interface. */ ipConfigurations?: Array; - /** A list of TapConfigurations of the network interface. */ - tapConfigurations?: Array; /** The DNS settings in network interface. */ dnsSettings?: NetworkInterfaceDnsSettings; - /** The MAC address of the network interface. */ - macAddress?: string; - /** Whether this is a primary network interface on a virtual machine. */ - primary?: boolean; - /** Whether the virtual machine this nic is attached to supports encryption. */ - vnetEncryptionSupported?: boolean; /** If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. */ enableAcceleratedNetworking?: boolean; /** Indicates whether to disable tcp state tracking. */ disableTcpStateTracking?: boolean; /** Indicates whether IP forwarding is enabled on this network interface. */ enableIPForwarding?: boolean; - /** A list of references to linked BareMetal resources. */ - hostedWorkloads?: Array; - /** A reference to the dscp configuration to which the network interface is linked. */ - dscpConfiguration?: SubResource; - /** The resource GUID property of the network interface resource. */ - resourceGuid?: string; - /** The provisioning state of the network interface resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** WorkloadType of the NetworkInterface for BareMetal resources */ workloadType?: string; /** Type of Network Interface resource. */ @@ -748,18 +577,12 @@ export interface PrivateEndpoint extends Resource { extendedLocation?: ExtendedLocation; /** Properties of the private endpoint. */ properties?: PrivateEndpointProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the private endpoint. */ export interface PrivateEndpointProperties { /** The ID of the subnet from which the private IP will be allocated. */ subnet?: Subnet; - /** An array of references to the network interfaces created for this private endpoint. */ - networkInterfaces?: Array; - /** The provisioning state of the private endpoint resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** A grouping of information about the connection to the remote resource. */ privateLinkServiceConnections?: Array; /** A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. */ @@ -780,16 +603,10 @@ export interface PrivateLinkServiceConnection extends SubResource { properties?: PrivateLinkServiceConnectionProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** The resource type. */ - type?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the PrivateLinkServiceConnection. */ export interface PrivateLinkServiceConnectionProperties { - /** The provisioning state of the private link service connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The resource id of private link service. */ privateLinkServiceId?: string; /** The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. */ @@ -824,10 +641,6 @@ export interface PrivateEndpointIPConfiguration { properties?: PrivateEndpointIPConfigurationProperties; /** The name of the resource that is unique within a resource group. */ name?: string; - /** The resource type. */ - type?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of an IP Configuration of the private endpoint. */ @@ -844,14 +657,8 @@ export interface PrivateEndpointIPConfigurationProperties { export interface NetworkInterfaceDnsSettings { /** List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection. */ dnsServers?: Array; - /** If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs. */ - appliedDnsServers?: Array; /** Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. */ internalDnsNameLabel?: string; - /** Fully qualified DNS name supporting internal communications between VMs in the same virtual network. */ - internalFqdn?: string; - /** Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix. */ - internalDomainNameSuffix?: string; } /** Private link service resource. */ @@ -860,8 +667,6 @@ export interface PrivateLinkService extends Resource { extendedLocation?: ExtendedLocation; /** Properties of the private link service. */ properties?: PrivateLinkServiceProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the private link service. */ @@ -870,20 +675,12 @@ export interface PrivateLinkServiceProperties { loadBalancerFrontendIpConfigurations?: Array; /** An array of private link service IP configurations. */ ipConfigurations?: Array; - /** An array of references to the network interfaces created for this private link service. */ - networkInterfaces?: Array; - /** The provisioning state of the private link service resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** An array of list about connections to the private endpoint. */ - privateEndpointConnections?: Array; /** The visibility list of the private link service. */ visibility?: PrivateLinkServicePropertiesVisibility; /** The auto-approval list of the private link service. */ autoApproval?: PrivateLinkServicePropertiesAutoApproval; /** The list of Fqdn. */ fqdns?: Array; - /** The alias of the private link service. */ - alias?: string; /** Whether the private link service is enabled for proxy protocol or not. */ enableProxyProtocol?: boolean; } @@ -894,10 +691,6 @@ export interface PrivateLinkServiceIpConfiguration extends SubResource { properties?: PrivateLinkServiceIpConfigurationProperties; /** The name of private link service ip configuration. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** The resource type. */ - type?: string; } /** Properties of private link service IP configuration. */ @@ -910,8 +703,6 @@ export interface PrivateLinkServiceIpConfigurationProperties { subnet?: Subnet; /** Whether the ip configuration is primary or not. */ primary?: boolean; - /** The provisioning state of the private link service IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. */ privateIPAddressVersion?: "IPv4" | "IPv6"; } @@ -922,22 +713,12 @@ export interface PrivateEndpointConnection extends SubResource { properties?: PrivateEndpointConnectionProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** The resource type. */ - type?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the PrivateEndpointConnectProperties. */ export interface PrivateEndpointConnectionProperties { - /** The resource of private end point. */ - privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - /** The provisioning state of the private endpoint connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** The consumer link id. */ - linkIdentifier?: string; } /** The visibility list of the private link service. */ @@ -956,16 +737,12 @@ export interface PrivateLinkServicePropertiesAutoApproval extends ResourceSet {} export interface FlowLog extends Resource { /** Properties of the flow log. */ properties?: FlowLogPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters that define the configuration of flow log. */ export interface FlowLogPropertiesFormat { /** ID of network security group to which flow log will be applied. */ targetResourceId: string; - /** Guid of network security group to which flow log will be applied. */ - targetResourceGuid?: string; /** ID of the storage account which is used to store the flow log. */ storageId: string; /** Flag to enable/disable flow logging. */ @@ -976,8 +753,6 @@ export interface FlowLogPropertiesFormat { format?: FlowLogFormatParameters; /** Parameters that define the configuration of traffic analytics. */ flowAnalyticsConfiguration?: TrafficAnalyticsProperties; - /** The provisioning state of the flow log. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Parameters that define the retention policy for flow log. */ @@ -1020,22 +795,14 @@ export interface TrafficAnalyticsConfigurationProperties { export interface RouteTable extends Resource { /** Properties of the route table. */ properties?: RouteTablePropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Route Table resource. */ export interface RouteTablePropertiesFormat { /** Collection of routes contained within a route table. */ routes?: Array; - /** A collection of references to subnets. */ - subnets?: Array; /** Whether to disable the routes learned by BGP on that route table. True means disable. */ disableBgpRoutePropagation?: boolean; - /** The provisioning state of the route table resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** The resource GUID property of the route table. */ - resourceGuid?: string; } /** Route resource. */ @@ -1044,8 +811,6 @@ export interface Route extends SubResource { properties?: RoutePropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** The type of the resource. */ type?: string; } @@ -1055,11 +820,14 @@ export interface RoutePropertiesFormat { /** The destination CIDR to which the route applies. */ addressPrefix?: string; /** The type of Azure hop the packet should be sent to. */ - nextHopType: "VirtualNetworkGateway" | "VnetLocal" | "Internet" | "VirtualAppliance" | "None"; + nextHopType: + | "VirtualNetworkGateway" + | "VnetLocal" + | "Internet" + | "VirtualAppliance" + | "None"; /** The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. */ nextHopIpAddress?: string; - /** The provisioning state of the route resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** A value indicating whether this route overrides overlapping BGP routes regardless of LPM. */ hasBgpOverride?: boolean; } @@ -1070,30 +838,18 @@ export interface ServiceEndpointPropertiesFormat { service?: string; /** A list of locations. */ locations?: Array; - /** The provisioning state of the service endpoint resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Service End point policy resource. */ export interface ServiceEndpointPolicy extends Resource { /** Properties of the service end point policy. */ properties?: ServiceEndpointPolicyPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Kind of service endpoint policy. This is metadata used for the Azure portal experience. */ - kind?: string; } /** Service Endpoint Policy resource. */ export interface ServiceEndpointPolicyPropertiesFormat { /** A collection of service endpoint policy definitions of the service endpoint policy. */ serviceEndpointPolicyDefinitions?: Array; - /** A collection of references to subnets. */ - subnets?: Array; - /** The resource GUID property of the service endpoint policy resource. */ - resourceGuid?: string; - /** The provisioning state of the service endpoint policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The alias indicating if the policy belongs to a service */ serviceAlias?: string; /** A collection of contextual service endpoint policy. */ @@ -1106,8 +862,6 @@ export interface ServiceEndpointPolicyDefinition extends SubResource { properties?: ServiceEndpointPolicyDefinitionPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** The type of the resource. */ type?: string; } @@ -1120,8 +874,6 @@ export interface ServiceEndpointPolicyDefinitionPropertiesFormat { service?: string; /** A list of service resources. */ serviceResources?: Array; - /** The provisioning state of the service endpoint policy definition resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IP configuration. */ @@ -1130,8 +882,6 @@ export interface IPConfiguration extends SubResource { properties?: IPConfigurationPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of IP configuration. */ @@ -1144,8 +894,6 @@ export interface IPConfigurationPropertiesFormat { subnet?: Subnet; /** The reference to the public IP resource. */ publicIPAddress?: PublicIPAddress; - /** The provisioning state of the IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Public IP address resource. */ @@ -1156,8 +904,6 @@ export interface PublicIPAddress extends Resource { sku?: PublicIPAddressSku; /** Public IP address properties. */ properties?: PublicIPAddressPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** A list of availability zones denoting the IP allocated for the resource needs to come from. */ zones?: Array; } @@ -1176,8 +922,6 @@ export interface PublicIPAddressPropertiesFormat { publicIPAllocationMethod?: "Static" | "Dynamic"; /** The public IP address version. */ publicIPAddressVersion?: "IPv4" | "IPv6"; - /** The IP configuration associated with the public IP address. */ - ipConfiguration?: IPConfiguration; /** The FQDN of the DNS record associated with the public IP address. */ dnsSettings?: PublicIPAddressDnsSettings; /** The DDoS protection custom policy associated with the public IP address. */ @@ -1190,10 +934,6 @@ export interface PublicIPAddressPropertiesFormat { publicIPPrefix?: SubResource; /** The idle timeout of the public IP address. */ idleTimeoutInMinutes?: number; - /** The resource GUID property of the public IP address resource. */ - resourceGuid?: string; - /** The provisioning state of the public IP address resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The service public IP address of the public IP address resource. */ servicePublicIPAddress?: PublicIPAddress; /** The NatGateway for the Public IP address. */ @@ -1240,8 +980,6 @@ export interface NatGateway extends Resource { properties?: NatGatewayPropertiesFormat; /** A list of availability zones denoting the zone in which Nat Gateway should be deployed. */ zones?: Array; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** SKU of nat gateway. */ @@ -1258,12 +996,6 @@ export interface NatGatewayPropertiesFormat { publicIpAddresses?: Array; /** An array of public ip prefixes associated with the nat gateway resource. */ publicIpPrefixes?: Array; - /** An array of references to the subnets using this nat gateway resource. */ - subnets?: Array; - /** The resource GUID property of the NAT gateway resource. */ - resourceGuid?: string; - /** The provisioning state of the NAT gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IP configuration profile child resource. */ @@ -1272,18 +1004,12 @@ export interface IPConfigurationProfile extends SubResource { properties?: IPConfigurationProfilePropertiesFormat; /** The name of the resource. This name can be used to access the resource. */ name?: string; - /** Sub Resource type. */ - type?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** IP configuration profile properties. */ export interface IPConfigurationProfilePropertiesFormat { /** The reference to the subnet resource to create a container network interface ip configuration. */ subnet?: Subnet; - /** The provisioning state of the IP configuration profile resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** ResourceNavigationLink resource. */ @@ -1292,10 +1018,6 @@ export interface ResourceNavigationLink extends SubResource { properties?: ResourceNavigationLinkFormat; /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; } /** Properties of ResourceNavigationLink. */ @@ -1304,8 +1026,6 @@ export interface ResourceNavigationLinkFormat { linkedResourceType?: string; /** Link to the external resource. */ link?: string; - /** The provisioning state of the resource navigation link resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** ServiceAssociationLink resource. */ @@ -1314,10 +1034,6 @@ export interface ServiceAssociationLink extends SubResource { properties?: ServiceAssociationLinkPropertiesFormat; /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; } /** Properties of ServiceAssociationLink. */ @@ -1326,8 +1042,6 @@ export interface ServiceAssociationLinkPropertiesFormat { linkedResourceType?: string; /** Link to the external resource. */ link?: string; - /** The provisioning state of the service association link resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** If true, the resource can be deleted. */ allowDelete?: boolean; /** A list of locations. */ @@ -1340,8 +1054,6 @@ export interface Delegation extends SubResource { properties?: ServiceDelegationPropertiesFormat; /** The name of the resource that is unique within a subnet. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** Resource type. */ type?: string; } @@ -1350,10 +1062,6 @@ export interface Delegation extends SubResource { export interface ServiceDelegationPropertiesFormat { /** The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). */ serviceName?: string; - /** The actions permitted to the service upon delegation. */ - actions?: Array; - /** The provisioning state of the service delegation resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Pool of backend IP addresses. */ @@ -1362,10 +1070,6 @@ export interface BackendAddressPool extends SubResource { properties?: BackendAddressPoolPropertiesFormat; /** The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of the backend address pool. */ @@ -1376,18 +1080,6 @@ export interface BackendAddressPoolPropertiesFormat { tunnelInterfaces?: Array; /** An array of backend addresses. */ loadBalancerBackendAddresses?: Array; - /** An array of references to IP addresses defined in network interfaces. */ - backendIPConfigurations?: Array; - /** An array of references to load balancing rules that use this backend address pool. */ - loadBalancingRules?: Array; - /** A reference to an outbound rule that uses this backend address pool. */ - outboundRule?: SubResource; - /** An array of references to outbound rules that use this backend address pool. */ - outboundRules?: Array; - /** An array of references to inbound NAT rules that use this backend address pool. */ - inboundNatRules?: Array; - /** The provisioning state of the backend address pool resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Amount of seconds Load Balancer waits for before sending RESET to client and backend address. */ drainPeriodInSeconds?: number; } @@ -1420,12 +1112,8 @@ export interface LoadBalancerBackendAddressPropertiesFormat { subnet?: SubResource; /** IP Address belonging to the referenced virtual network. */ ipAddress?: string; - /** Reference to IP address defined in network interfaces. */ - networkInterfaceIPConfiguration?: SubResource; /** Reference to the frontend ip address configuration defined in regional loadbalancer. */ loadBalancerFrontendIPConfiguration?: SubResource; - /** Collection of inbound NAT rule port mappings. */ - inboundNatRulesPortMapping?: Array; /** A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. */ adminState?: "None" | "Up" | "Down" | "Drain"; } @@ -1446,18 +1134,12 @@ export interface InboundNatRule extends SubResource { properties?: InboundNatRulePropertiesFormat; /** The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of the inbound NAT rule. */ export interface InboundNatRulePropertiesFormat { /** A reference to frontend IP addresses. */ frontendIPConfiguration?: SubResource; - /** A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. */ - backendIPConfiguration?: NetworkInterfaceIPConfiguration; /** The reference to the transport protocol used by the load balancing rule. */ protocol?: "Udp" | "Tcp" | "All"; /** The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. */ @@ -1476,19 +1158,10 @@ export interface InboundNatRulePropertiesFormat { frontendPortRangeEnd?: number; /** A reference to backendAddressPool resource. */ backendAddressPool?: SubResource; - /** The provisioning state of the inbound NAT rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** PrivateLinkConnection properties for the network interface. */ -export interface NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties { - /** The group ID for current private link connection. */ - groupId?: string; - /** The required member name for current private link connection. */ - requiredMemberName?: string; - /** List of FQDNs for current private link connection. */ - fqdns?: Array; -} +export interface NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties {} /** Backend address of an application gateway. */ export interface ApplicationGatewayBackendAddress { @@ -1504,10 +1177,6 @@ export interface ApplicationGatewayBackendHttpSettings extends SubResource { properties?: ApplicationGatewayBackendHttpSettingsPropertiesFormat; /** Name of the backend http settings that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of Backend address pool settings of an application gateway. */ @@ -1538,8 +1207,6 @@ export interface ApplicationGatewayBackendHttpSettingsPropertiesFormat { probeEnabled?: boolean; /** Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null. */ path?: string; - /** The provisioning state of the backend HTTP settings resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration. */ @@ -1556,10 +1223,6 @@ export interface ApplicationGatewayBackendSettings extends SubResource { properties?: ApplicationGatewayBackendSettingsPropertiesFormat; /** Name of the backend settings that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of Backend address pool settings of an application gateway. */ @@ -1578,8 +1241,6 @@ export interface ApplicationGatewayBackendSettingsPropertiesFormat { hostName?: string; /** Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false. */ pickHostNameFromBackendAddress?: boolean; - /** The provisioning state of the backend HTTP settings resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Http listener of an application gateway. */ @@ -1588,10 +1249,6 @@ export interface ApplicationGatewayHttpListener extends SubResource { properties?: ApplicationGatewayHttpListenerPropertiesFormat; /** Name of the HTTP listener that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of HTTP listener of an application gateway. */ @@ -1610,8 +1267,6 @@ export interface ApplicationGatewayHttpListenerPropertiesFormat { sslProfile?: SubResource; /** Applicable only if protocol is https. Enables SNI for multi-hosting. */ requireServerNameIndication?: boolean; - /** The provisioning state of the HTTP listener resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Custom error configurations of the HTTP listener. */ customErrorConfigurations?: Array; /** Reference to the FirewallPolicy resource. */ @@ -1634,10 +1289,6 @@ export interface ApplicationGatewayListener extends SubResource { properties?: ApplicationGatewayListenerPropertiesFormat; /** Name of the listener that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of listener of an application gateway. */ @@ -1652,8 +1303,6 @@ export interface ApplicationGatewayListenerPropertiesFormat { sslCertificate?: SubResource; /** SSL profile resource of the application gateway. */ sslProfile?: SubResource; - /** The provisioning state of the listener resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** SSL profile of an application gateway. */ @@ -1662,10 +1311,6 @@ export interface ApplicationGatewaySslProfile extends SubResource { properties?: ApplicationGatewaySslProfilePropertiesFormat; /** Name of the SSL profile that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of SSL profile of an application gateway. */ @@ -1676,8 +1321,6 @@ export interface ApplicationGatewaySslProfilePropertiesFormat { sslPolicy?: ApplicationGatewaySslPolicy; /** Client authentication configuration of the application gateway resource. */ clientAuthConfiguration?: ApplicationGatewayClientAuthConfiguration; - /** The provisioning state of the HTTP listener resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Application gateway client authentication configuration. */ @@ -1694,10 +1337,6 @@ export interface ApplicationGatewayUrlPathMap extends SubResource { properties?: ApplicationGatewayUrlPathMapPropertiesFormat; /** Name of the URL path map that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of UrlPathMap of the application gateway. */ @@ -1714,8 +1353,6 @@ export interface ApplicationGatewayUrlPathMapPropertiesFormat { defaultLoadDistributionPolicy?: SubResource; /** Path rule of URL path map resource. */ pathRules?: Array; - /** The provisioning state of the URL path map resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Path rule of URL path map of an application gateway. */ @@ -1724,10 +1361,6 @@ export interface ApplicationGatewayPathRule extends SubResource { properties?: ApplicationGatewayPathRulePropertiesFormat; /** Name of the path rule that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of path rule of an application gateway. */ @@ -1744,8 +1377,6 @@ export interface ApplicationGatewayPathRulePropertiesFormat { rewriteRuleSet?: SubResource; /** Load Distribution Policy resource of URL path map path rule. */ loadDistributionPolicy?: SubResource; - /** The provisioning state of the path rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Reference to the FirewallPolicy resource. */ firewallPolicy?: SubResource; } @@ -1756,10 +1387,6 @@ export interface ApplicationGatewayRequestRoutingRule extends SubResource { properties?: ApplicationGatewayRequestRoutingRulePropertiesFormat; /** Name of the request routing rule that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of request routing rule of the application gateway. */ @@ -1782,8 +1409,6 @@ export interface ApplicationGatewayRequestRoutingRulePropertiesFormat { redirectConfiguration?: SubResource; /** Load Distribution Policy resource of the application gateway. */ loadDistributionPolicy?: SubResource; - /** The provisioning state of the request routing rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Routing rule of an application gateway. */ @@ -1792,10 +1417,6 @@ export interface ApplicationGatewayRoutingRule extends SubResource { properties?: ApplicationGatewayRoutingRulePropertiesFormat; /** Name of the routing rule that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of routing rule of the application gateway. */ @@ -1810,8 +1431,6 @@ export interface ApplicationGatewayRoutingRulePropertiesFormat { backendSettings?: SubResource; /** Listener resource of the application gateway. */ listener?: SubResource; - /** The provisioning state of the request routing rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Rewrite rule set of an application gateway. */ @@ -1820,16 +1439,12 @@ export interface ApplicationGatewayRewriteRuleSet extends SubResource { properties?: ApplicationGatewayRewriteRuleSetPropertiesFormat; /** Name of the rewrite rule set that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of rewrite rule set of the application gateway. */ export interface ApplicationGatewayRewriteRuleSetPropertiesFormat { /** Rewrite rules in the rewrite rule set. */ rewriteRules?: Array; - /** The provisioning state of the rewrite rule set resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Rewrite rule of an application gateway. */ @@ -1890,10 +1505,6 @@ export interface ApplicationGatewayRedirectConfiguration extends SubResource { properties?: ApplicationGatewayRedirectConfigurationPropertiesFormat; /** Name of the redirect configuration that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of redirect configuration of the application gateway. */ @@ -1967,35 +1578,27 @@ export interface ApplicationGatewayAutoscaleConfiguration { } /** Private Link Configuration on an application gateway. */ -export interface ApplicationGatewayPrivateLinkConfiguration extends SubResource { +export interface ApplicationGatewayPrivateLinkConfiguration + extends SubResource { /** Properties of the application gateway private link configuration. */ properties?: ApplicationGatewayPrivateLinkConfigurationProperties; /** Name of the private link configuration that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of private link configuration on an application gateway. */ export interface ApplicationGatewayPrivateLinkConfigurationProperties { /** An array of application gateway private link ip configurations. */ ipConfigurations?: Array; - /** The provisioning state of the application gateway private link configuration. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** The application gateway private link ip configuration. */ -export interface ApplicationGatewayPrivateLinkIpConfiguration extends SubResource { +export interface ApplicationGatewayPrivateLinkIpConfiguration + extends SubResource { /** Properties of an application gateway private link ip configuration. */ properties?: ApplicationGatewayPrivateLinkIpConfigurationProperties; /** The name of application gateway private link ip configuration. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** The resource type. */ - type?: string; } /** Properties of an application gateway private link IP configuration. */ @@ -2008,32 +1611,21 @@ export interface ApplicationGatewayPrivateLinkIpConfigurationProperties { subnet?: SubResource; /** Whether the ip configuration is primary or not. */ primary?: boolean; - /** The provisioning state of the application gateway private link IP configuration. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Private Endpoint connection on an application gateway. */ -export interface ApplicationGatewayPrivateEndpointConnection extends SubResource { +export interface ApplicationGatewayPrivateEndpointConnection + extends SubResource { /** Properties of the application gateway private endpoint connection. */ properties?: ApplicationGatewayPrivateEndpointConnectionProperties; /** Name of the private endpoint connection on an application gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of Private Link Resource of an application gateway. */ export interface ApplicationGatewayPrivateEndpointConnectionProperties { - /** The resource of private end point. */ - privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - /** The provisioning state of the application gateway private endpoint connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** The consumer link id. */ - linkIdentifier?: string; } /** Load Distribution Policy of an application gateway. */ @@ -2042,10 +1634,6 @@ export interface ApplicationGatewayLoadDistributionPolicy extends SubResource { properties?: ApplicationGatewayLoadDistributionPolicyPropertiesFormat; /** Name of the load distribution policy that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of Load Distribution Policy of an application gateway. */ @@ -2054,8 +1642,6 @@ export interface ApplicationGatewayLoadDistributionPolicyPropertiesFormat { loadDistributionTargets?: Array; /** Load Distribution Targets resource of an application gateway. */ loadDistributionAlgorithm?: "RoundRobin" | "LeastConnections" | "IpHash"; - /** The provisioning state of the Load Distribution Policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Load Distribution Target of an application gateway. */ @@ -2064,10 +1650,6 @@ export interface ApplicationGatewayLoadDistributionTarget extends SubResource { properties?: ApplicationGatewayLoadDistributionTargetPropertiesFormat; /** Name of the load distribution policy that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } export interface ApplicationGatewayLoadDistributionTargetPropertiesFormat { @@ -2087,12 +1669,12 @@ export interface ApplicationGatewayGlobalConfiguration { /** Identity for the resource. */ export interface ManagedServiceIdentity { - /** The principal id of the system assigned identity. This property will only be provided for a system assigned identity. */ - principalId?: string; - /** The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. */ - tenantId?: string; /** The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ - type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; + type?: + | "SystemAssigned" + | "UserAssigned" + | "SystemAssigned, UserAssigned" + | "None"; /** The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record< string, @@ -2100,12 +1682,7 @@ export interface ManagedServiceIdentity { >; } -export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties { - /** The principal id of user assigned identity. */ - principalId?: string; - /** The client id of user assigned identity. */ - clientId?: string; -} +export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties {} /** Tags object for patch operations. */ export interface TagsObject { @@ -2139,18 +1716,10 @@ export interface ApplicationGatewayPrivateLinkResource extends SubResource { properties?: ApplicationGatewayPrivateLinkResourceProperties; /** Name of the private link resource that is unique within an Application Gateway. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of a private link resource. */ export interface ApplicationGatewayPrivateLinkResourceProperties { - /** Group identifier of private link resource. */ - groupId?: string; - /** Required member names of private link resource. */ - requiredMembers?: Array; /** Required DNS zone names of the the private link resource. */ requiredZoneNames?: Array; } @@ -2163,8 +1732,6 @@ export interface ApplicationGatewayFirewallRuleSet extends Resource { /** Properties of the web application firewall rule set. */ export interface ApplicationGatewayFirewallRuleSetPropertiesFormat { - /** The provisioning state of the web application firewall rule set. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of the web application firewall rule set. */ ruleSetType: string; /** The version of the web application firewall rule set type. */ @@ -2302,8 +1869,6 @@ export interface AzureFirewall extends Resource { properties?: AzureFirewallPropertiesFormat; /** A list of availability zones denoting where the resource needs to come from. */ zones?: Array; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the Azure Firewall. */ @@ -2318,8 +1883,6 @@ export interface AzureFirewallPropertiesFormat { ipConfigurations?: Array; /** IP configuration of the Azure Firewall used for management traffic. */ managementIpConfiguration?: AzureFirewallIPConfiguration; - /** The provisioning state of the Azure firewall resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The operation mode for Threat Intelligence. */ threatIntelMode?: "Alert" | "Deny" | "Off"; /** The virtualHub to which the firewall belongs. */ @@ -2328,8 +1891,6 @@ export interface AzureFirewallPropertiesFormat { firewallPolicy?: SubResource; /** IP addresses associated with AzureFirewall. */ hubIPAddresses?: HubIPAddresses; - /** IpGroups associated with AzureFirewall. */ - ipGroups?: Array; /** The Azure Firewall Resource SKU. */ sku?: AzureFirewallSku; /** The additional properties used to further config this azure firewall. */ @@ -2342,8 +1903,6 @@ export interface AzureFirewallApplicationRuleCollection extends SubResource { properties?: AzureFirewallApplicationRuleCollectionPropertiesFormat; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the application rule collection. */ @@ -2354,8 +1913,6 @@ export interface AzureFirewallApplicationRuleCollectionPropertiesFormat { action?: AzureFirewallRCAction; /** Collection of rules used by a application rule collection. */ rules?: Array; - /** The provisioning state of the application rule collection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Properties of the AzureFirewallRCAction. */ @@ -2396,8 +1953,6 @@ export interface AzureFirewallNatRuleCollection extends SubResource { properties?: AzureFirewallNatRuleCollectionProperties; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the NAT rule collection. */ @@ -2408,8 +1963,6 @@ export interface AzureFirewallNatRuleCollectionProperties { action?: AzureFirewallNatRCAction; /** Collection of rules used by a NAT rule collection. */ rules?: Array; - /** The provisioning state of the NAT rule collection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** AzureFirewall NAT Rule Collection Action. */ @@ -2448,8 +2001,6 @@ export interface AzureFirewallNetworkRuleCollection extends SubResource { properties?: AzureFirewallNetworkRuleCollectionPropertiesFormat; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the network rule collection. */ @@ -2460,8 +2011,6 @@ export interface AzureFirewallNetworkRuleCollectionPropertiesFormat { action?: AzureFirewallRCAction; /** Collection of rules used by a network rule collection. */ rules?: Array; - /** The provisioning state of the network rule collection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Properties of the network rule. */ @@ -2492,22 +2041,14 @@ export interface AzureFirewallIPConfiguration extends SubResource { properties?: AzureFirewallIPConfigurationPropertiesFormat; /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of IP configuration of an Azure Firewall. */ export interface AzureFirewallIPConfigurationPropertiesFormat { - /** The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. */ - privateIPAddress?: string; /** Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. */ subnet?: SubResource; /** Reference to the PublicIP resource. This field is a mandatory input if subnet is not null. */ publicIPAddress?: SubResource; - /** The provisioning state of the Azure firewall IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IP addresses associated with azure firewall. */ @@ -2533,12 +2074,7 @@ export interface AzureFirewallPublicIPAddress { } /** IpGroups associated with azure firewall. */ -export interface AzureFirewallIpGroups { - /** Resource ID. */ - id?: string; - /** The iteration number. */ - changeNumber?: string; -} +export interface AzureFirewallIpGroups {} /** SKU of an Azure Firewall. */ export interface AzureFirewallSku { @@ -2552,24 +2088,15 @@ export interface AzureFirewallSku { export interface AzureFirewallFqdnTag extends Resource { /** Properties of the azure firewall FQDN tag. */ properties?: AzureFirewallFqdnTagPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Azure Firewall FQDN Tag Properties. */ -export interface AzureFirewallFqdnTagPropertiesFormat { - /** The provisioning state of the Azure firewall FQDN tag resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** The name of this FQDN Tag. */ - fqdnTagName?: string; -} +export interface AzureFirewallFqdnTagPropertiesFormat {} /** Bastion Host resource. */ export interface BastionHost extends Resource { /** Represents the bastion host resource. */ properties?: BastionHostPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** The sku of this Bastion Host. */ sku?: Sku; } @@ -2580,8 +2107,6 @@ export interface BastionHostPropertiesFormat { ipConfigurations?: Array; /** FQDN for the endpoint on which bastion host is accessible. */ dnsName?: string; - /** The provisioning state of the bastion host resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The scale units for the Bastion Host resource. */ scaleUnits?: number; /** Enable/Disable Copy/Paste feature of the Bastion Host resource. */ @@ -2602,10 +2127,6 @@ export interface BastionHostIPConfiguration extends SubResource { properties?: BastionHostIPConfigurationPropertiesFormat; /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Ip configuration type. */ - type?: string; } /** Properties of IP configuration of an Bastion Host. */ @@ -2614,8 +2135,6 @@ export interface BastionHostIPConfigurationPropertiesFormat { subnet: SubResource; /** Reference of the PublicIP resource. */ publicIPAddress: SubResource; - /** The provisioning state of the bastion host IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Private IP allocation method. */ privateIPAllocationMethod?: "Static" | "Dynamic"; } @@ -2636,12 +2155,6 @@ export interface BastionShareableLinkListRequest { export interface BastionShareableLink { /** Reference of the virtual machine resource. */ vm: Vm; - /** The unique Bastion Shareable Link to the virtual machine. */ - bsl?: string; - /** The time when the link was created. */ - createdAt?: string; - /** Optional field indicating the warning or error message related to the vm in case of partial failure. */ - message?: string; } /** Describes a Virtual Machine. */ @@ -2659,8 +2172,6 @@ export interface CustomIpPrefix extends Resource { extendedLocation?: ExtendedLocation; /** Custom IP prefix properties. */ properties?: CustomIpPrefixPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** A list of availability zones denoting the IP allocated for the resource needs to come from. */ zones?: Array; } @@ -2677,8 +2188,6 @@ export interface CustomIpPrefixPropertiesFormat { authorizationMessage?: string; /** The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. */ customIpPrefixParent?: SubResource; - /** The list of all Children for IPv6 /48 CustomIpPrefix. */ - childCustomIpPrefixes?: Array; /** The commissioned state of the Custom IP Prefix. */ commissionedState?: | "Provisioning" @@ -2692,73 +2201,48 @@ export interface CustomIpPrefixPropertiesFormat { /** Whether to do express route advertise. */ expressRouteAdvertise?: boolean; /** The Geo for CIDR advertising. Should be an Geo code. */ - geo?: "GLOBAL" | "AFRI" | "APAC" | "EURO" | "LATAM" | "NAM" | "ME" | "OCEANIA" | "AQ"; + geo?: + | "GLOBAL" + | "AFRI" + | "APAC" + | "EURO" + | "LATAM" + | "NAM" + | "ME" + | "OCEANIA" + | "AQ"; /** Whether to Advertise the range to Internet. */ noInternetAdvertise?: boolean; /** Type of custom IP prefix. Should be Singular, Parent, or Child. */ prefixType?: "Singular" | "Parent" | "Child"; - /** The list of all referenced PublicIpPrefixes. */ - publicIpPrefixes?: Array; - /** The resource GUID property of the custom IP prefix resource. */ - resourceGuid?: string; - /** The reason why resource is in failed state. */ - failedReason?: string; - /** The provisioning state of the custom IP prefix resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** A DDoS custom policy in a resource group. */ export interface DdosCustomPolicy extends Resource { /** Properties of the DDoS custom policy. */ properties?: DdosCustomPolicyPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** DDoS custom policy properties. */ -export interface DdosCustomPolicyPropertiesFormat { - /** The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. */ - resourceGuid?: string; - /** The provisioning state of the DDoS custom policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; -} +export interface DdosCustomPolicyPropertiesFormat {} /** A DDoS protection plan in a resource group. */ export interface DdosProtectionPlan { - /** Resource ID. */ - id?: string; - /** Resource name. */ - name?: string; - /** Resource type. */ - type?: string; /** Resource location. */ location?: string; /** Resource tags. */ tags?: Record; /** Properties of the DDoS protection plan. */ properties?: DdosProtectionPlanPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** DDoS protection plan properties. */ -export interface DdosProtectionPlanPropertiesFormat { - /** The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. */ - resourceGuid?: string; - /** The provisioning state of the DDoS protection plan resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** The list of public IPs associated with the DDoS protection plan resource. This list is read-only. */ - publicIpAddresses?: Array; - /** The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. */ - virtualNetworks?: Array; -} +export interface DdosProtectionPlanPropertiesFormat {} /** Differentiated Services Code Point configuration for any given network interface */ export interface DscpConfiguration extends Resource { /** Properties of the network interface. */ properties?: DscpConfigurationPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Differentiated Services Code Point configuration properties. */ @@ -2774,17 +2258,18 @@ export interface DscpConfigurationPropertiesFormat { /** Destination port ranges. */ destinationPortRanges?: Array; /** RNM supported protocol types. */ - protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; + protocol?: + | "DoNotUse" + | "Icmp" + | "Tcp" + | "Udp" + | "Gre" + | "Esp" + | "Ah" + | "Vxlan" + | "All"; /** QoS object definitions */ qosDefinitionCollection?: Array; - /** Qos Collection ID generated by RNM. */ - qosCollectionId?: string; - /** Associated Network Interfaces to the DSCP Configuration. */ - associatedNetworkInterfaces?: Array; - /** The resource GUID property of the DSCP Configuration resource. */ - resourceGuid?: string; - /** The provisioning state of the DSCP Configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Qos Traffic Profiler IP Range properties. */ @@ -2816,16 +2301,20 @@ export interface QosDefinition { /** Destination port ranges. */ destinationPortRanges?: Array; /** RNM supported protocol types. */ - protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; + protocol?: + | "DoNotUse" + | "Icmp" + | "Tcp" + | "Udp" + | "Gre" + | "Esp" + | "Ah" + | "Vxlan" + | "All"; } /** Endpoint service. */ -export interface EndpointServiceResult extends SubResource { - /** Name of the endpoint service. */ - name?: string; - /** Type of the endpoint service. */ - type?: string; -} +export interface EndpointServiceResult extends SubResource {} /** Authorization in an ExpressRouteCircuit resource. */ export interface ExpressRouteCircuitAuthorization extends SubResource { @@ -2833,10 +2322,6 @@ export interface ExpressRouteCircuitAuthorization extends SubResource { properties?: AuthorizationPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of ExpressRouteCircuitAuthorization. */ @@ -2845,8 +2330,6 @@ export interface AuthorizationPropertiesFormat { authorizationKey?: string; /** The authorization use status. */ authorizationUseStatus?: "Available" | "InUse"; - /** The provisioning state of the authorization resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Peering in an ExpressRouteCircuit resource. */ @@ -2855,16 +2338,15 @@ export interface ExpressRouteCircuitPeering extends SubResource { properties?: ExpressRouteCircuitPeeringPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of the express route circuit peering. */ export interface ExpressRouteCircuitPeeringPropertiesFormat { /** The peering type. */ - peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; + peeringType?: + | "AzurePublicPeering" + | "AzurePrivatePeering" + | "MicrosoftPeering"; /** The peering state. */ state?: "Disabled" | "Enabled"; /** The Azure ASN. */ @@ -2887,12 +2369,8 @@ export interface ExpressRouteCircuitPeeringPropertiesFormat { microsoftPeeringConfig?: ExpressRouteCircuitPeeringConfig; /** The peering stats of express route circuit. */ stats?: ExpressRouteCircuitStats; - /** The provisioning state of the express route circuit peering resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The GatewayManager Etag. */ gatewayManagerEtag?: string; - /** Who was the last to modify the peering. */ - lastModifiedBy?: string; /** The reference to the RouteFilter resource. */ routeFilter?: SubResource; /** The IPv6 peering configuration. */ @@ -2901,8 +2379,6 @@ export interface ExpressRouteCircuitPeeringPropertiesFormat { expressRouteConnection?: ExpressRouteConnectionId; /** The list of circuit connections associated with Azure Private Peering for this circuit. */ connections?: Array; - /** The list of peered circuit connections associated with Azure Private Peering for this circuit. */ - peeredConnections?: Array; } /** Specifies the peering configuration. */ @@ -2911,12 +2387,6 @@ export interface ExpressRouteCircuitPeeringConfig { advertisedPublicPrefixes?: Array; /** The communities of bgp peering. Specified for microsoft peering. */ advertisedCommunities?: Array; - /** The advertised public prefix state of the Peering resource. */ - advertisedPublicPrefixesState?: - | "NotConfigured" - | "Configuring" - | "Configured" - | "ValidationNeeded"; /** The legacy mode of the peering. */ legacyMode?: number; /** The CustomerASN of the peering. */ @@ -2952,10 +2422,7 @@ export interface Ipv6ExpressRouteCircuitPeeringConfig { } /** The ID of the ExpressRouteConnection. */ -export interface ExpressRouteConnectionId { - /** The ID of the ExpressRouteConnection. */ - id?: string; -} +export interface ExpressRouteConnectionId {} /** Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. */ export interface ExpressRouteCircuitConnection extends SubResource { @@ -2963,10 +2430,6 @@ export interface ExpressRouteCircuitConnection extends SubResource { properties?: ExpressRouteCircuitConnectionPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of the express route circuit connection. */ @@ -2981,18 +2444,12 @@ export interface ExpressRouteCircuitConnectionPropertiesFormat { authorizationKey?: string; /** IPv6 Address PrefixProperties of the express route circuit connection. */ ipv6CircuitConnectionConfig?: Ipv6CircuitConnectionConfig; - /** Express Route Circuit connection state. */ - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; - /** The provisioning state of the express route circuit connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IPv6 Circuit Connection properties for global reach. */ export interface Ipv6CircuitConnectionConfig { /** /125 IP address space to carve out customer addresses for global reach. */ addressPrefix?: string; - /** Express Route Circuit connection state. */ - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; } /** Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. */ @@ -3001,10 +2458,6 @@ export interface PeerExpressRouteCircuitConnection extends SubResource { properties?: PeerExpressRouteCircuitConnectionPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of the peer express route circuit connection. */ @@ -3015,14 +2468,10 @@ export interface PeerExpressRouteCircuitConnectionPropertiesFormat { peerExpressRouteCircuitPeering?: SubResource; /** /29 IP address space to carve out Customer addresses for tunnels. */ addressPrefix?: string; - /** Express Route Circuit connection state. */ - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; /** The name of the express route circuit connection resource. */ connectionName?: string; /** The resource guid of the authorization used for the express route circuit connection. */ authResourceGuid?: string; - /** The provisioning state of the peer express route circuit connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** ExpressRouteCircuit resource. */ @@ -3031,8 +2480,6 @@ export interface ExpressRouteCircuit extends Resource { sku?: ExpressRouteCircuitSku; /** Properties of the express route circuit. */ properties?: ExpressRouteCircuitPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Contains SKU in an ExpressRouteCircuit. */ @@ -3071,10 +2518,6 @@ export interface ExpressRouteCircuitPropertiesFormat { expressRoutePort?: SubResource; /** The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. */ bandwidthInGbps?: number; - /** The identifier of the circuit traffic. Outer tag for QinQ encapsulation. */ - stag?: number; - /** The provisioning state of the express route circuit resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The GatewayManager Etag. */ gatewayManagerEtag?: string; /** Flag denoting global reach status. */ @@ -3105,8 +2548,6 @@ export interface ExpressRouteServiceProviderPropertiesFormat { peeringLocations?: Array; /** A list of bandwidths offered. */ bandwidthsOffered?: Array; - /** The provisioning state of the express route service provider resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Contains bandwidths offered in ExpressRouteServiceProvider resources. */ @@ -3121,22 +2562,10 @@ export interface ExpressRouteServiceProviderBandwidthsOffered { export interface ExpressRouteCrossConnection extends Resource { /** Properties of the express route cross connection. */ properties?: ExpressRouteCrossConnectionProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of ExpressRouteCrossConnection. */ export interface ExpressRouteCrossConnectionProperties { - /** The name of the primary port. */ - primaryAzurePort?: string; - /** The name of the secondary port. */ - secondaryAzurePort?: string; - /** The identifier of the circuit traffic. */ - sTag?: number; - /** The peering location of the ExpressRoute circuit. */ - peeringLocation?: string; - /** The circuit bandwidth In Mbps. */ - bandwidthInMbps?: number; /** The ExpressRouteCircuit. */ expressRouteCircuit?: ExpressRouteCircuitReference; /** The provisioning state of the circuit in the connectivity provider system. */ @@ -3147,8 +2576,6 @@ export interface ExpressRouteCrossConnectionProperties { | "Deprovisioning"; /** Additional read only notes set by the connectivity provider. */ serviceProviderNotes?: string; - /** The provisioning state of the express route cross connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The list of peerings. */ peerings?: Array; } @@ -3165,40 +2592,31 @@ export interface ExpressRouteCrossConnectionPeering extends SubResource { properties?: ExpressRouteCrossConnectionPeeringProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of express route cross connection peering. */ export interface ExpressRouteCrossConnectionPeeringProperties { /** The peering type. */ - peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; + peeringType?: + | "AzurePublicPeering" + | "AzurePrivatePeering" + | "MicrosoftPeering"; /** The peering state. */ state?: "Disabled" | "Enabled"; - /** The Azure ASN. */ - azureASN?: number; /** The peer ASN. */ peerASN?: number; /** The primary address prefix. */ primaryPeerAddressPrefix?: string; /** The secondary address prefix. */ secondaryPeerAddressPrefix?: string; - /** The primary port. */ - primaryAzurePort?: string; - /** The secondary port. */ - secondaryAzurePort?: string; /** The shared key. */ sharedKey?: string; /** The VLAN ID. */ vlanId?: number; /** The Microsoft peering configuration. */ microsoftPeeringConfig?: ExpressRouteCircuitPeeringConfig; - /** The provisioning state of the express route cross connection peering resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The GatewayManager Etag. */ gatewayManagerEtag?: string; - /** Who was the last to modify the peering. */ - lastModifiedBy?: string; /** The IPv6 peering configuration. */ ipv6PeeringConfig?: Ipv6ExpressRouteCircuitPeeringConfig; } @@ -3211,30 +2629,17 @@ export interface ExpressRoutePortsLocation extends Resource { /** Properties specific to ExpressRoutePorts peering location resources. */ export interface ExpressRoutePortsLocationPropertiesFormat { - /** Address of peering location. */ - address?: string; - /** Contact details of peering locations. */ - contact?: string; /** The inventory of available ExpressRoutePort bandwidths. */ availableBandwidths?: Array; - /** The provisioning state of the express route port location resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Real-time inventory of available ExpressRoute port bandwidths. */ -export interface ExpressRoutePortsLocationBandwidths { - /** Bandwidth descriptive name. */ - offerName?: string; - /** Bandwidth value in Gbps. */ - valueInGbps?: number; -} +export interface ExpressRoutePortsLocationBandwidths {} /** ExpressRoutePort resource definition. */ export interface ExpressRoutePort extends Resource { /** ExpressRoutePort properties. */ properties?: ExpressRoutePortPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** The identity of ExpressRoutePort, if configured. */ identity?: ManagedServiceIdentity; } @@ -3245,24 +2650,10 @@ export interface ExpressRoutePortPropertiesFormat { peeringLocation?: string; /** Bandwidth of procured ports in Gbps. */ bandwidthInGbps?: number; - /** Aggregate Gbps of associated circuit bandwidths. */ - provisionedBandwidthInGbps?: number; - /** Maximum transmission unit of the physical port pair(s). */ - mtu?: string; /** Encapsulation method on physical ports. */ encapsulation?: "Dot1Q" | "QinQ"; - /** Ether type of the physical port. */ - etherType?: string; - /** Date of the physical port allocation to be used in Letter of Authorization. */ - allocationDate?: string; /** The set of physical links of the ExpressRoutePort resource. */ links?: Array; - /** Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. */ - circuits?: Array; - /** The provisioning state of the express route port resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** The resource GUID property of the express route port resource. */ - resourceGuid?: string; /** The billing type of the ExpressRoutePort resource. */ billingType?: "MeteredData" | "UnlimitedData"; } @@ -3273,28 +2664,12 @@ export interface ExpressRouteLink extends SubResource { properties?: ExpressRouteLinkPropertiesFormat; /** Name of child port resource that is unique among child port resources of the parent. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties specific to ExpressRouteLink resources. */ export interface ExpressRouteLinkPropertiesFormat { - /** Name of Azure router associated with physical port. */ - routerName?: string; - /** Name of Azure router interface. */ - interfaceName?: string; - /** Mapping between physical port to patch panel port. */ - patchPanelId?: string; - /** Mapping of physical patch panel to rack. */ - rackId?: string; - /** Cololocation for ExpressRoute Hybrid Direct. */ - coloLocation?: string; - /** Physical fiber port type. */ - connectorType?: "LC" | "SC"; /** Administrative state of the physical port. */ adminState?: "Enabled" | "Disabled"; - /** The provisioning state of the express route link resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** MacSec configuration. */ macSecConfig?: ExpressRouteLinkMacSecConfig; } @@ -3323,40 +2698,19 @@ export interface ExpressRoutePortAuthorization extends SubResource { properties?: ExpressRoutePortAuthorizationPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of ExpressRoutePort Authorization. */ -export interface ExpressRoutePortAuthorizationPropertiesFormat { - /** The authorization key. */ - authorizationKey?: string; - /** The authorization use status. */ - authorizationUseStatus?: "Available" | "InUse"; - /** The reference to the ExpressRoute circuit resource using the authorization. */ - circuitResourceUri?: string; - /** The provisioning state of the authorization resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; -} +export interface ExpressRoutePortAuthorizationPropertiesFormat {} /** ExpressRouteProviderPort resource. */ export interface ExpressRouteProviderPort extends Resource { /** Properties of the express route Service Provider Port. */ properties?: ExpressRouteProviderPortProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of ExpressRouteProviderPort. */ export interface ExpressRouteProviderPortProperties { - /** The name of the port pair. */ - portPairDescriptor?: string; - /** The name of the primary port. */ - primaryAzurePort?: string; - /** The name of the secondary port. */ - secondaryAzurePort?: string; /** The peering location of the port pair. */ peeringLocation?: string; /** Overprovisioning factor for the port pair. */ @@ -3373,24 +2727,14 @@ export interface ExpressRouteProviderPortProperties { export interface FirewallPolicy extends Resource { /** Properties of the firewall policy. */ properties?: FirewallPolicyPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** The identity of the firewall policy. */ identity?: ManagedServiceIdentity; } /** Firewall Policy definition. */ export interface FirewallPolicyPropertiesFormat { - /** List of references to FirewallPolicyRuleCollectionGroups. */ - ruleCollectionGroups?: Array; - /** The provisioning state of the firewall policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The parent firewall policy from which rules are inherited. */ basePolicy?: SubResource; - /** List of references to Azure Firewalls that this Firewall Policy is associated with. */ - firewalls?: Array; - /** List of references to Child Firewall Policies. */ - childPolicies?: Array; /** The operation mode for Threat Intelligence. */ threatIntelMode?: "Alert" | "Deny" | "Off"; /** ThreatIntel Whitelist for Firewall Policy. */ @@ -3559,10 +2903,6 @@ export interface FirewallPolicyRuleCollectionGroup extends SubResource { properties?: FirewallPolicyRuleCollectionGroupProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Rule Group type. */ - type?: string; } /** Properties of the rule collection group. */ @@ -3571,8 +2911,6 @@ export interface FirewallPolicyRuleCollectionGroupProperties { priority?: number; /** Group of Firewall Policy rule collections. */ ruleCollections?: Array; - /** The provisioning state of the firewall policy rule collection group resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Properties of the rule collection. */ @@ -3645,16 +2983,10 @@ export interface SignatureOverridesFilterValuesQuery { export interface IpAllocation extends Resource { /** Properties of the IpAllocation. */ properties?: IpAllocationPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the IpAllocation. */ export interface IpAllocationPropertiesFormat { - /** The Subnet that using the prefix of this IpAllocation resource. */ - subnet?: SubResource; - /** The VirtualNetwork that using the prefix of this IpAllocation resource. */ - virtualNetwork?: SubResource; /** The type for the IpAllocation. */ type?: "Undefined" | "Hypernet"; /** The address prefix for the IpAllocation. */ @@ -3673,20 +3005,12 @@ export interface IpAllocationPropertiesFormat { export interface IpGroup extends Resource { /** Properties of the IpGroups. */ properties?: IpGroupPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** The IpGroups property information. */ export interface IpGroupPropertiesFormat { - /** The provisioning state of the IpGroups resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** IpAddresses/IpAddressPrefixes in the IpGroups resource. */ ipAddresses?: Array; - /** List of references to Firewall resources that this IpGroups is associated with. */ - firewalls?: Array; - /** List of references to Firewall Policies resources that this IpGroups is associated with. */ - firewallPolicies?: Array; } /** LoadBalancer resource. */ @@ -3697,8 +3021,6 @@ export interface LoadBalancer extends Resource { sku?: LoadBalancerSku; /** Properties of load balancer. */ properties?: LoadBalancerPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** SKU of a load balancer. */ @@ -3725,10 +3047,6 @@ export interface LoadBalancerPropertiesFormat { inboundNatPools?: Array; /** The outbound rules. */ outboundRules?: Array; - /** The resource GUID property of the load balancer resource. */ - resourceGuid?: string; - /** The provisioning state of the load balancer resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** A load balancing rule for a load balancer. */ @@ -3737,10 +3055,6 @@ export interface LoadBalancingRule extends SubResource { properties?: LoadBalancingRulePropertiesFormat; /** The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of the load balancer. */ @@ -3769,8 +3083,6 @@ export interface LoadBalancingRulePropertiesFormat { enableTcpReset?: boolean; /** Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. */ disableOutboundSnat?: boolean; - /** The provisioning state of the load balancing rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** A load balancer probe. */ @@ -3779,16 +3091,10 @@ export interface Probe extends SubResource { properties?: ProbePropertiesFormat; /** The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Load balancer probe resource. */ export interface ProbePropertiesFormat { - /** The load balancer rules that use this probe. */ - loadBalancingRules?: Array; /** The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. */ protocol: "Http" | "Tcp" | "Https"; /** The port for communicating the probe. Possible values range from 1 to 65535, inclusive. */ @@ -3801,8 +3107,6 @@ export interface ProbePropertiesFormat { probeThreshold?: number; /** The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. */ requestPath?: string; - /** The provisioning state of the probe resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Inbound NAT pool of the load balancer. */ @@ -3811,10 +3115,6 @@ export interface InboundNatPool extends SubResource { properties?: InboundNatPoolPropertiesFormat; /** The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Properties of Inbound NAT pool. */ @@ -3835,8 +3135,6 @@ export interface InboundNatPoolPropertiesFormat { enableFloatingIP?: boolean; /** Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. */ enableTcpReset?: boolean; - /** The provisioning state of the inbound NAT pool resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Outbound rule of the load balancer. */ @@ -3845,10 +3143,6 @@ export interface OutboundRule extends SubResource { properties?: OutboundRulePropertiesFormat; /** The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Type of the resource. */ - type?: string; } /** Outbound rule of the load balancer. */ @@ -3859,8 +3153,6 @@ export interface OutboundRulePropertiesFormat { frontendIPConfigurations: Array; /** A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs. */ backendAddressPool: SubResource; - /** The provisioning state of the outbound rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The protocol for the outbound rule in load balancer. */ protocol: "Tcp" | "Udp" | "All"; /** Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. */ @@ -3901,10 +3193,6 @@ export interface QueryInboundNatRulePortMappingRequest { export interface NetworkManager extends Resource { /** The network manager properties */ properties?: NetworkManagerProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** The system metadata related to this resource. */ - systemData?: SystemData; } /** Properties of Managed Network */ @@ -3915,8 +3203,6 @@ export interface NetworkManagerProperties { networkManagerScopes: NetworkManagerPropertiesNetworkManagerScopes; /** Scope Access. */ networkManagerScopeAccesses: Array<"SecurityAdmin" | "Connectivity">; - /** The provisioning state of the network manager resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Scope of Network Manager. */ @@ -3925,19 +3211,10 @@ export interface NetworkManagerPropertiesNetworkManagerScopes { managementGroups?: Array; /** List of subscriptions. */ subscriptions?: Array; - /** List of cross tenant scopes. */ - crossTenantScopes?: Array; } /** Cross tenant scopes. */ -export interface CrossTenantScopes { - /** Tenant ID. */ - tenantId?: string; - /** List of management groups. */ - managementGroups?: Array; - /** List of subscriptions. */ - subscriptions?: Array; -} +export interface CrossTenantScopes {} /** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { @@ -3963,8 +3240,6 @@ export interface PatchObject { /** Network Manager Commit. */ export interface NetworkManagerCommit { - /** Commit Id. */ - commitId?: string; /** List of target locations. */ targetLocations: Array; /** List of configuration ids. */ @@ -4003,8 +3278,6 @@ export interface ConnectivityConfigurationProperties { isGlobal?: "False" | "True"; /** Groups for configuration */ appliesToGroups: Array; - /** The provisioning state of the connectivity configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Flag if need to remove current existing peerings. */ deleteExistingPeering?: "False" | "True"; } @@ -4033,8 +3306,6 @@ export interface ConnectivityGroupItem { export interface NetworkGroupProperties { /** A description of the network group. */ description?: string; - /** The provisioning state of the scope assignment resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network manager security group item. */ @@ -4047,38 +3318,23 @@ export interface NetworkManagerSecurityGroupItem { export interface NetworkManagerConnection extends ChildResource { /** The scope connection properties */ properties?: NetworkManagerConnectionProperties; - /** The system metadata related to this resource. */ - systemData?: SystemData; } /** Information about the network manager connection. */ export interface NetworkManagerConnectionProperties { /** Network Manager Id. */ networkManagerId?: string; - /** Connection state. */ - connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; /** A description of the network manager connection. */ description?: string; } /** Proxy resource representation. */ -export interface ChildResource { - /** Resource ID. */ - id?: string; - /** Resource name. */ - name?: string; - /** Resource type. */ - type?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; -} +export interface ChildResource {} /** The network manager connectivity configuration resource */ export interface ConnectivityConfiguration extends ChildResource { /** Properties of a network manager connectivity configuration */ properties?: ConnectivityConfigurationProperties; - /** The system metadata related to this resource. */ - systemData?: SystemData; } /** Query Request Options */ @@ -4091,34 +3347,24 @@ export interface QueryRequestOptions { export interface NetworkGroup extends ChildResource { /** The Network Group properties */ properties?: NetworkGroupProperties; - /** The system metadata related to this resource. */ - systemData?: SystemData; } /** StaticMember Item. */ export interface StaticMember extends ChildResource { /** The Static Member properties */ properties?: StaticMemberProperties; - /** The system metadata related to this resource. */ - systemData?: SystemData; } /** Properties of static member. */ export interface StaticMemberProperties { /** Resource Id. */ resourceId?: string; - /** Resource region. */ - region?: string; - /** The provisioning state of the scope assignment resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** The Scope Connections resource */ export interface ScopeConnection extends ChildResource { /** The scope connection properties */ properties?: ScopeConnectionProperties; - /** The system metadata related to this resource. */ - systemData?: SystemData; } /** Scope connection. */ @@ -4127,8 +3373,6 @@ export interface ScopeConnectionProperties { tenantId?: string; /** Resource ID. */ resourceId?: string; - /** Connection State */ - connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; /** A description of the scope connection. */ description?: string; } @@ -4137,8 +3381,6 @@ export interface ScopeConnectionProperties { export interface SecurityAdminConfiguration extends ChildResource { /** Indicates the properties for the network manager security admin configuration. */ properties?: SecurityAdminConfigurationPropertiesFormat; - /** The system metadata related to this resource. */ - systemData?: SystemData; } /** Defines the security admin configuration properties. */ @@ -4146,17 +3388,15 @@ export interface SecurityAdminConfigurationPropertiesFormat { /** A description of the security configuration. */ description?: string; /** Enum list of network intent policy based services. */ - applyOnNetworkIntentPolicyBasedServices?: Array<"None" | "All" | "AllowRulesOnly">; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + applyOnNetworkIntentPolicyBasedServices?: Array< + "None" | "All" | "AllowRulesOnly" + >; } /** Defines the admin rule collection. */ export interface AdminRuleCollection extends ChildResource { /** Indicates the properties for the network manager admin rule collection. */ properties?: AdminRuleCollectionPropertiesFormat; - /** The system metadata related to this resource. */ - systemData?: SystemData; } /** Defines the admin rule collection properties. */ @@ -4165,14 +3405,10 @@ export interface AdminRuleCollectionPropertiesFormat { description?: string; /** Groups for configuration */ appliesToGroups: Array; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network base admin rule. */ export interface BaseAdminRuleParent extends ChildResource { - /** The system metadata related to this resource. */ - systemData?: SystemData; kind: "BaseAdminRule" | "Custom" | "Default"; } @@ -4180,20 +3416,12 @@ export interface BaseAdminRuleParent extends ChildResource { export interface NetworkProfile extends Resource { /** Network profile properties. */ properties?: NetworkProfilePropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Network profile properties. */ export interface NetworkProfilePropertiesFormat { - /** List of child container network interfaces. */ - containerNetworkInterfaces?: Array; /** List of chid container network interface configurations. */ containerNetworkInterfaceConfigurations?: Array; - /** The resource GUID property of the network profile resource. */ - resourceGuid?: string; - /** The provisioning state of the network profile resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Container network interface child resource. */ @@ -4202,22 +3430,12 @@ export interface ContainerNetworkInterface extends SubResource { properties?: ContainerNetworkInterfacePropertiesFormat; /** The name of the resource. This name can be used to access the resource. */ name?: string; - /** Sub Resource type. */ - type?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of container network interface. */ export interface ContainerNetworkInterfacePropertiesFormat { - /** Container network interface configuration from which this container network interface is created. */ - containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfiguration; /** Reference to the container to which this container network interface is attached. */ container?: Container; - /** Reference to the ip configuration on this container nic. */ - ipConfigurations?: Array; - /** The provisioning state of the container network interface resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Container network interface configuration child resource. */ @@ -4226,10 +3444,6 @@ export interface ContainerNetworkInterfaceConfiguration extends SubResource { properties?: ContainerNetworkInterfaceConfigurationPropertiesFormat; /** The name of the resource. This name can be used to access the resource. */ name?: string; - /** Sub Resource type. */ - type?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Container network interface configuration properties. */ @@ -4238,8 +3452,6 @@ export interface ContainerNetworkInterfaceConfigurationPropertiesFormat { ipConfigurations?: Array; /** A list of container network interfaces created from this container network interface configuration. */ containerNetworkInterfaces?: Array; - /** The provisioning state of the container network interface configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Reference to container resource in remote resource provider. */ @@ -4251,17 +3463,10 @@ export interface ContainerNetworkInterfaceIpConfiguration { properties?: ContainerNetworkInterfaceIpConfigurationPropertiesFormat; /** The name of the resource. This name can be used to access the resource. */ name?: string; - /** Sub Resource type. */ - type?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the container network interface IP configuration. */ -export interface ContainerNetworkInterfaceIpConfigurationPropertiesFormat { - /** The provisioning state of the container network interface IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; -} +export interface ContainerNetworkInterfaceIpConfigurationPropertiesFormat {} /** NetworkVirtualAppliance Resource. */ export interface NetworkVirtualAppliance extends Resource { @@ -4269,16 +3474,12 @@ export interface NetworkVirtualAppliance extends Resource { properties?: NetworkVirtualAppliancePropertiesFormat; /** The service principal that has read access to cloud-init and config blob. */ identity?: ManagedServiceIdentity; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Network Virtual Appliance definition. */ export interface NetworkVirtualAppliancePropertiesFormat { /** Network Virtual Appliance SKU. */ nvaSku?: VirtualApplianceSkuProperties; - /** Address Prefix. */ - addressPrefix?: string; /** BootStrapConfigurationBlobs storage URLs. */ bootStrapConfigurationBlobs?: Array; /** The Virtual Hub where Network Virtual Appliance is being deployed. */ @@ -4291,14 +3492,6 @@ export interface NetworkVirtualAppliancePropertiesFormat { virtualApplianceAsn?: number; /** Public key for SSH login. */ sshPublicKey?: string; - /** List of Virtual Appliance Network Interfaces. */ - virtualApplianceNics?: Array; - /** List of references to VirtualApplianceSite. */ - virtualApplianceSites?: Array; - /** List of references to InboundSecurityRules. */ - inboundSecurityRules?: Array; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network Virtual Appliance Sku Properties. */ @@ -4312,14 +3505,7 @@ export interface VirtualApplianceSkuProperties { } /** Network Virtual Appliance NIC properties. */ -export interface VirtualApplianceNicProperties { - /** NIC name. */ - name?: string; - /** Public IP address. */ - publicIpAddress?: string; - /** Private IP address. */ - privateIpAddress?: string; -} +export interface VirtualApplianceNicProperties {} /** Virtual Appliance Site resource. */ export interface VirtualApplianceSite extends SubResource { @@ -4327,10 +3513,6 @@ export interface VirtualApplianceSite extends SubResource { properties?: VirtualApplianceSiteProperties; /** Name of the virtual appliance site. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Site type. */ - type?: string; } /** Properties of the rule group. */ @@ -4339,8 +3521,6 @@ export interface VirtualApplianceSiteProperties { addressPrefix?: string; /** Office 365 Policy. */ o365Policy?: Office365PolicyProperties; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network Virtual Appliance Sku Properties. */ @@ -4363,27 +3543,16 @@ export interface BreakOutCategoryPolicies { export interface NetworkVirtualApplianceSku extends Resource { /** NetworkVirtualApplianceSku properties. */ properties?: NetworkVirtualApplianceSkuPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties specific to NetworkVirtualApplianceSkus. */ export interface NetworkVirtualApplianceSkuPropertiesFormat { - /** Network Virtual Appliance Sku vendor. */ - vendor?: string; - /** Available Network Virtual Appliance versions. */ - availableVersions?: Array; /** The list of scale units available. */ availableScaleUnits?: Array; } /** List of available Sku and instances. */ -export interface NetworkVirtualApplianceSkuInstances { - /** Scale Unit. */ - scaleUnit?: string; - /** Instance Count. */ - instanceCount?: number; -} +export interface NetworkVirtualApplianceSkuInstances {} /** NVA Inbound Security Rule resource. */ export interface InboundSecurityRule extends SubResource { @@ -4391,18 +3560,12 @@ export interface InboundSecurityRule extends SubResource { properties?: InboundSecurityRuleProperties; /** Name of security rule collection. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** NVA inbound security rule type. */ - type?: string; } /** Properties of the Inbound Security Rules resource. */ export interface InboundSecurityRuleProperties { /** List of allowed rules. */ rules?: Array; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Properties of the Inbound Security Rules resource. */ @@ -4417,17 +3580,12 @@ export interface InboundSecurityRules { /** Network watcher in a resource group. */ export interface NetworkWatcher extends Resource { - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** Properties of the network watcher. */ properties?: NetworkWatcherPropertiesFormat; } /** The network watcher properties. */ -export interface NetworkWatcherPropertiesFormat { - /** The provisioning state of the network watcher resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; -} +export interface NetworkWatcherPropertiesFormat {} /** Parameters that define the representation of topology. */ export interface TopologyParameters { @@ -4536,10 +3694,8 @@ export interface PacketCaptureFilter { } /** The properties of a packet capture session. */ -export interface PacketCaptureResultProperties extends PacketCaptureParameters { - /** The provisioning state of the packet capture session. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; -} +export interface PacketCaptureResultProperties + extends PacketCaptureParameters {} /** Parameters that define the resource to troubleshoot. */ export interface TroubleshootingParameters { @@ -4780,7 +3936,13 @@ export interface ConnectionMonitorEndpoint { /** Endpoint scope. */ scope?: ConnectionMonitorEndpointScope; /** Test coverage for the endpoint. */ - coverageLevel?: "Default" | "Low" | "BelowAverage" | "Average" | "AboveAverage" | "Full"; + coverageLevel?: + | "Default" + | "Low" + | "BelowAverage" + | "Average" + | "AboveAverage" + | "Full"; } /** Describes the connection monitor endpoint filter. */ @@ -4902,31 +4064,19 @@ export interface ConnectionMonitorWorkspaceSettings { } /** Describes the properties of a connection monitor. */ -export interface ConnectionMonitorResultProperties extends ConnectionMonitorParameters { - /** The provisioning state of the connection monitor. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** The date and time when the connection monitor was started. */ - startTime?: Date | string; - /** The monitoring status of the connection monitor. */ - monitoringStatus?: string; - /** Type of connection monitor. */ - connectionMonitorType?: "MultiEndpoint" | "SingleSourceDestination"; -} +export interface ConnectionMonitorResultProperties + extends ConnectionMonitorParameters {} /** Private dns zone group resource. */ export interface PrivateDnsZoneGroup extends SubResource { /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** Properties of the private dns zone group. */ properties?: PrivateDnsZoneGroupPropertiesFormat; } /** Properties of the private dns zone group. */ export interface PrivateDnsZoneGroupPropertiesFormat { - /** The provisioning state of the private dns zone group resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** A collection of private dns zone configurations of the private dns zone group. */ privateDnsZoneConfigs?: Array; } @@ -4943,8 +4093,6 @@ export interface PrivateDnsZoneConfig { export interface PrivateDnsZonePropertiesFormat { /** The resource id of the private dns zone. */ privateDnsZoneId?: string; - /** A collection of information regarding a recordSet, holding information to identify private resources. */ - recordSets?: Array; } /** A collective group of information about the record set information. */ @@ -4955,8 +4103,6 @@ export interface RecordSet { recordSetName?: string; /** Fqdn that resolves to private endpoint ip address. */ fqdn?: string; - /** The provisioning state of the recordset. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Recordset time to live. */ ttl?: number; /** The private ip address of the private endpoint. */ @@ -4977,8 +4123,6 @@ export interface PublicIPPrefix extends Resource { sku?: PublicIPPrefixSku; /** Public IP prefix properties. */ properties?: PublicIPPrefixPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** A list of availability zones denoting the IP allocated for the resource needs to come from. */ zones?: Array; } @@ -4999,18 +4143,8 @@ export interface PublicIPPrefixPropertiesFormat { ipTags?: Array; /** The Length of the Public IP Prefix. */ prefixLength?: number; - /** The allocated Prefix. */ - ipPrefix?: string; - /** The list of all referenced PublicIPAddresses. */ - publicIPAddresses?: Array; - /** The reference to load balancer frontend IP configuration associated with the public IP prefix. */ - loadBalancerFrontendIpConfiguration?: SubResource; /** The customIpPrefix that this prefix is associated with. */ customIPPrefix?: SubResource; - /** The resource GUID property of the public IP prefix resource. */ - resourceGuid?: string; - /** The provisioning state of the public IP prefix resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** NatGateway of Public IP Prefix. */ natGateway?: NatGateway; } @@ -5025,20 +4159,12 @@ export interface ReferencedPublicIpAddress { export interface RouteFilter extends Resource { /** Properties of the route filter. */ properties?: RouteFilterPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Route Filter Resource. */ export interface RouteFilterPropertiesFormat { /** Collection of RouteFilterRules contained within a route filter. */ rules?: Array; - /** A collection of references to express route circuit peerings. */ - peerings?: Array; - /** A collection of references to express route circuit ipv6 peerings. */ - ipv6Peerings?: Array; - /** The provisioning state of the route filter resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Route Filter Rule Resource. */ @@ -5049,8 +4175,6 @@ export interface RouteFilterRule extends SubResource { name?: string; /** Resource location. */ location?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Route Filter Rule Resource. */ @@ -5061,26 +4185,18 @@ export interface RouteFilterRulePropertiesFormat { routeFilterRuleType: "Community"; /** The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. */ communities: Array; - /** The provisioning state of the route filter rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Security Partner Provider resource. */ export interface SecurityPartnerProvider extends Resource { /** Properties of the Security Partner Provider. */ properties?: SecurityPartnerProviderPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the Security Partner Provider. */ export interface SecurityPartnerProviderPropertiesFormat { - /** The provisioning state of the Security Partner Provider resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The security provider name. */ securityProviderName?: "ZScaler" | "IBoss" | "Checkpoint"; - /** The connection status with the Security Partner Provider. */ - connectionStatus?: "Unknown" | "PartiallyConnected" | "Connected" | "NotConnected"; /** The virtualHub to which the Security Partner Provider belongs. */ virtualHub?: SubResource; } @@ -5121,8 +4237,6 @@ export interface VirtualNetwork extends Resource { extendedLocation?: ExtendedLocation; /** Properties of the virtual network. */ properties?: VirtualNetworkPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the virtual network. */ @@ -5137,10 +4251,6 @@ export interface VirtualNetworkPropertiesFormat { subnets?: Array; /** A list of peerings in a Virtual Network. */ virtualNetworkPeerings?: Array; - /** The resourceGuid property of the Virtual Network resource. */ - resourceGuid?: string; - /** The provisioning state of the virtual network resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource. */ enableDdosProtection?: boolean; /** Indicates if VM protection is enabled for all the subnets in the virtual network. */ @@ -5173,8 +4283,6 @@ export interface VirtualNetworkPeering extends SubResource { properties?: VirtualNetworkPeeringPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** Resource type. */ type?: string; } @@ -5197,8 +4305,6 @@ export interface VirtualNetworkPeeringPropertiesFormat { remoteVirtualNetworkAddressSpace?: AddressSpace; /** The reference to the remote virtual network's Bgp Communities. */ remoteBgpCommunities?: VirtualNetworkBgpCommunities; - /** The reference to the remote virtual network's encryption */ - remoteVirtualNetworkEncryption?: VirtualNetworkEncryption; /** The status of the virtual network peering. */ peeringState?: "Initiated" | "Connected" | "Disconnected"; /** The peering sync status of the virtual network peering. */ @@ -5207,20 +4313,14 @@ export interface VirtualNetworkPeeringPropertiesFormat { | "RemoteNotInSync" | "LocalNotInSync" | "LocalAndRemoteNotInSync"; - /** The provisioning state of the virtual network peering resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** If we need to verify the provisioning state of the remote gateway. */ doNotVerifyRemoteGateways?: boolean; - /** The resourceGuid property of the Virtual Network peering resource. */ - resourceGuid?: string; } /** Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. */ export interface VirtualNetworkBgpCommunities { /** The BGP community associated with the virtual network. */ virtualNetworkCommunity: string; - /** The BGP community associated with the region of the virtual network. */ - regionalCommunity?: string; } /** Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet. */ @@ -5248,10 +4348,7 @@ export interface NetworkIntentPolicyConfiguration { } /** Network Intent Policy resource. */ -export interface NetworkIntentPolicy extends Resource { - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; -} +export interface NetworkIntentPolicy extends Resource {} /** Details of UnprepareNetworkPolicies for Subnet. */ export interface UnprepareNetworkPoliciesRequest { @@ -5265,8 +4362,6 @@ export interface VirtualNetworkGateway extends Resource { properties: VirtualNetworkGatewayPropertiesFormat; /** The extended location of type local virtual network gateway. */ extendedLocation?: ExtendedLocation; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** VirtualNetworkGateway properties. */ @@ -5299,14 +4394,8 @@ export interface VirtualNetworkGatewayPropertiesFormat { bgpSettings?: BgpSettings; /** The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient. */ customRoutes?: AddressSpace; - /** The resource GUID property of the virtual network gateway resource. */ - resourceGuid?: string; - /** The provisioning state of the virtual network gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Whether dns forwarding is enabled or not. */ enableDnsForwarding?: boolean; - /** The IP address allocated by the gateway to which dns requests can be sent. */ - inboundDnsForwardingEndpoint?: string; /** Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet. */ vNetExtendedLocationResourceId?: string; /** NatRules for virtual network gateway. */ @@ -5321,8 +4410,6 @@ export interface VirtualNetworkGatewayIPConfiguration extends SubResource { properties?: VirtualNetworkGatewayIPConfigurationPropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of VirtualNetworkGatewayIPConfiguration. */ @@ -5333,10 +4420,6 @@ export interface VirtualNetworkGatewayIPConfigurationPropertiesFormat { subnet?: SubResource; /** The reference to the public IP resource. */ publicIPAddress?: SubResource; - /** Private IP Address for this gateway. */ - privateIPAddress?: string; - /** The provisioning state of the virtual network gateway IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VirtualNetworkGatewaySku details. */ @@ -5379,8 +4462,6 @@ export interface VirtualNetworkGatewaySku { | "ErGw1AZ" | "ErGw2AZ" | "ErGw3AZ"; - /** The capacity. */ - capacity?: number; } /** VpnClientConfiguration for P2S client. */ @@ -5419,16 +4500,12 @@ export interface VpnClientRootCertificate extends SubResource { properties: VpnClientRootCertificatePropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of SSL certificates of application gateway. */ export interface VpnClientRootCertificatePropertiesFormat { /** The certificate public data. */ publicCertData: string; - /** The provisioning state of the VPN client root certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VPN client revoked certificate of virtual network gateway. */ @@ -5437,16 +4514,12 @@ export interface VpnClientRevokedCertificate extends SubResource { properties?: VpnClientRevokedCertificatePropertiesFormat; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of the revoked VPN client certificate of virtual network gateway. */ export interface VpnClientRevokedCertificatePropertiesFormat { /** The revoked VPN client certificate thumbprint. */ thumbprint?: string; - /** The provisioning state of the VPN client revoked certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** An IPSec Policy configuration for a virtual network gateway connection. */ @@ -5467,11 +4540,30 @@ export interface IpsecPolicy { | "GCMAES192" | "GCMAES256"; /** The IPSec integrity algorithm (IKE phase 1). */ - ipsecIntegrity: "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; + ipsecIntegrity: + | "MD5" + | "SHA1" + | "SHA256" + | "GCMAES128" + | "GCMAES192" + | "GCMAES256"; /** The IKE encryption algorithm (IKE phase 2). */ - ikeEncryption: "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"; + ikeEncryption: + | "DES" + | "DES3" + | "AES128" + | "AES192" + | "AES256" + | "GCMAES256" + | "GCMAES128"; /** The IKE integrity algorithm (IKE phase 2). */ - ikeIntegrity: "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; + ikeIntegrity: + | "MD5" + | "SHA1" + | "SHA256" + | "SHA384" + | "GCMAES256" + | "GCMAES128"; /** The DH Group used in IKE Phase 1 for initial SA. */ dhGroup: | "None" @@ -5511,8 +4603,6 @@ export interface VngClientConnectionConfiguration extends SubResource { properties?: VngClientConnectionConfigurationProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of VngClientConnectionConfiguration. */ @@ -5521,8 +4611,6 @@ export interface VngClientConnectionConfigurationProperties { vpnClientAddressPool: AddressSpace; /** List of references to virtualNetworkGatewayPolicyGroups */ virtualNetworkGatewayPolicyGroups: Array; - /** The provisioning state of the VngClientConnectionConfiguration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Parameters for VirtualNetworkGatewayPolicyGroup. */ @@ -5531,8 +4619,6 @@ export interface VirtualNetworkGatewayPolicyGroup extends SubResource { properties?: VirtualNetworkGatewayPolicyGroupProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of VirtualNetworkGatewayPolicyGroup. */ @@ -5543,10 +4629,6 @@ export interface VirtualNetworkGatewayPolicyGroupProperties { priority: number; /** Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup. */ policyMembers: Array; - /** List of references to vngClientConnectionConfigurations. */ - vngClientConnectionConfigurations?: Array; - /** The provisioning state of the VirtualNetworkGatewayPolicyGroup resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Vpn Client Connection configuration PolicyGroup member */ @@ -5575,12 +4657,8 @@ export interface BgpSettings { export interface IPConfigurationBgpPeeringAddress { /** The ID of IP configuration which belongs to gateway. */ ipconfigurationId?: string; - /** The list of default BGP peering addresses which belong to IP configuration. */ - defaultBgpIpAddresses?: Array; /** The list of custom BGP peering addresses which belong to IP configuration. */ customBgpIpAddresses?: Array; - /** The list of tunnel public IP addresses which belong to IP configuration. */ - tunnelIpAddresses?: Array; } /** VirtualNetworkGatewayNatRule Resource. */ @@ -5589,16 +4667,10 @@ export interface VirtualNetworkGatewayNatRule extends SubResource { properties?: VirtualNetworkGatewayNatRuleProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; } /** Parameters for VirtualNetworkGatewayNatRule. */ export interface VirtualNetworkGatewayNatRuleProperties { - /** The provisioning state of the NAT Rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of NAT rule for VPN NAT. */ type?: "Static" | "Dynamic"; /** The Source NAT direction of a VPN NAT. */ @@ -5623,8 +4695,6 @@ export interface VpnNatRuleMapping { export interface VirtualNetworkGatewayConnectionListEntity extends Resource { /** Properties of the virtual network gateway connection. */ properties: VirtualNetworkGatewayConnectionListEntityPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** VirtualNetworkGatewayConnection properties. */ @@ -5647,14 +4717,6 @@ export interface VirtualNetworkGatewayConnectionListEntityPropertiesFormat { connectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; /** The IPSec shared key. */ sharedKey?: string; - /** Virtual Network Gateway connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; - /** Collection of all tunnels' connection health status. */ - tunnelConnectionStatus?: Array; - /** The egress bytes transferred in this connection. */ - egressBytesTransferred?: number; - /** The ingress bytes transferred in this connection. */ - ingressBytesTransferred?: number; /** The reference to peerings resource. */ peer?: SubResource; /** EnableBgp flag. */ @@ -5667,10 +4729,6 @@ export interface VirtualNetworkGatewayConnectionListEntityPropertiesFormat { ipsecPolicies?: Array; /** The Traffic Selector Policies to be considered by this connection. */ trafficSelectorPolicies?: Array; - /** The resource GUID property of the virtual network gateway connection resource. */ - resourceGuid?: string; - /** The provisioning state of the virtual network gateway connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Bypass ExpressRoute Gateway for data forwarding. */ expressRouteGatewayBypass?: boolean; /** Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. */ @@ -5684,18 +4742,7 @@ export interface VirtualNetworkConnectionGatewayReference { } /** VirtualNetworkGatewayConnection properties. */ -export interface TunnelConnectionHealth { - /** Tunnel name. */ - tunnel?: string; - /** Virtual Network Gateway connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; - /** The Ingress Bytes Transferred in this connection. */ - ingressBytesTransferred?: number; - /** The Egress Bytes Transferred in this connection. */ - egressBytesTransferred?: number; - /** The time at which connection was established in Utc format. */ - lastConnectionEstablishedUtcTime?: string; -} +export interface TunnelConnectionHealth {} /** GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection. */ export interface GatewayCustomBgpIpAddressIpConfiguration { @@ -5743,11 +4790,30 @@ export interface VpnClientIPsecParameters { | "GCMAES192" | "GCMAES256"; /** The IPSec integrity algorithm (IKE phase 1). */ - ipsecIntegrity: "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; + ipsecIntegrity: + | "MD5" + | "SHA1" + | "SHA256" + | "GCMAES128" + | "GCMAES192" + | "GCMAES256"; /** The IKE encryption algorithm (IKE phase 2). */ - ikeEncryption: "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"; + ikeEncryption: + | "DES" + | "DES3" + | "AES128" + | "AES192" + | "AES256" + | "GCMAES256" + | "GCMAES128"; /** The IKE integrity algorithm (IKE phase 2). */ - ikeIntegrity: "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; + ikeIntegrity: + | "MD5" + | "SHA1" + | "SHA256" + | "SHA384" + | "GCMAES256" + | "GCMAES128"; /** The DH Group used in IKE Phase 1 for initial SA. */ dhGroup: | "None" @@ -5797,8 +4863,6 @@ export interface VpnPacketCaptureStopParameters { export interface VirtualNetworkGatewayConnection extends Resource { /** Properties of the virtual network gateway connection. */ properties: VirtualNetworkGatewayConnectionPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** VirtualNetworkGatewayConnection properties. */ @@ -5827,14 +4891,6 @@ export interface VirtualNetworkGatewayConnectionPropertiesFormat { connectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; /** The IPSec shared key. */ sharedKey?: string; - /** Virtual Network Gateway connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; - /** Collection of all tunnels' connection health status. */ - tunnelConnectionStatus?: Array; - /** The egress bytes transferred in this connection. */ - egressBytesTransferred?: number; - /** The ingress bytes transferred in this connection. */ - ingressBytesTransferred?: number; /** The reference to peerings resource. */ peer?: SubResource; /** EnableBgp flag. */ @@ -5849,10 +4905,6 @@ export interface VirtualNetworkGatewayConnectionPropertiesFormat { ipsecPolicies?: Array; /** The Traffic Selector Policies to be considered by this connection. */ trafficSelectorPolicies?: Array; - /** The resource GUID property of the virtual network gateway connection resource. */ - resourceGuid?: string; - /** The provisioning state of the virtual network gateway connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Bypass ExpressRoute Gateway for data forwarding. */ expressRouteGatewayBypass?: boolean; /** Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. */ @@ -5863,8 +4915,6 @@ export interface VirtualNetworkGatewayConnectionPropertiesFormat { export interface LocalNetworkGateway extends Resource { /** Properties of the local network gateway. */ properties: LocalNetworkGatewayPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** LocalNetworkGateway properties. */ @@ -5877,10 +4927,6 @@ export interface LocalNetworkGatewayPropertiesFormat { fqdn?: string; /** Local network gateway's BGP speaker settings. */ bgpSettings?: BgpSettings; - /** The resource GUID property of the local network gateway resource. */ - resourceGuid?: string; - /** The provisioning state of the local network gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for GetConnectionSharedKey API service call. */ @@ -5905,8 +4951,6 @@ export interface P2SVpnConnectionRequest { export interface VirtualRouter extends Resource { /** Properties of the Virtual Router. */ properties?: VirtualRouterPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Virtual Router definition. */ @@ -5919,10 +4963,6 @@ export interface VirtualRouterPropertiesFormat { hostedSubnet?: SubResource; /** The Gateway on which VirtualRouter is hosted. */ hostedGateway?: SubResource; - /** List of references to VirtualRouterPeerings. */ - peerings?: Array; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Virtual Router Peering resource. */ @@ -5931,10 +4971,6 @@ export interface VirtualRouterPeering extends SubResource { properties?: VirtualRouterPeeringProperties; /** Name of the virtual router peering that is unique within a virtual router. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Peering type. */ - type?: string; } /** Properties of the rule group. */ @@ -5943,34 +4979,22 @@ export interface VirtualRouterPeeringProperties { peerAsn?: number; /** Peer IP. */ peerIp?: string; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VirtualWAN Resource. */ export interface VirtualWAN extends Resource { /** Properties of the virtual WAN. */ properties?: VirtualWanProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for VirtualWAN. */ export interface VirtualWanProperties { /** Vpn encryption to be disabled or not. */ disableVpnEncryption?: boolean; - /** List of VirtualHubs in the VirtualWAN. */ - virtualHubs?: Array; - /** List of VpnSites in the VirtualWAN. */ - vpnSites?: Array; /** True if branch to branch traffic is allowed. */ allowBranchToBranchTraffic?: boolean; /** True if Vnet to Vnet traffic is allowed. */ allowVnetToVnetTraffic?: boolean; - /** The office local breakout category. */ - office365LocalBreakoutCategory?: "Optimize" | "OptimizeAndAllow" | "All" | "None"; - /** The provisioning state of the virtual WAN resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of the VirtualWAN. */ type?: string; } @@ -5979,8 +5003,6 @@ export interface VirtualWanProperties { export interface VpnSite extends Resource { /** Properties of the VPN site. */ properties?: VpnSiteProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for VpnSite. */ @@ -5997,8 +5019,6 @@ export interface VpnSiteProperties { addressSpace?: AddressSpace; /** The set of bgp properties. */ bgpProperties?: BgpSettings; - /** The provisioning state of the VPN site resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** IsSecuritySite flag. */ isSecuritySite?: boolean; /** List of all vpn site links. */ @@ -6021,12 +5041,8 @@ export interface DeviceProperties { export interface VpnSiteLink extends SubResource { /** Properties of the VPN site link. */ properties?: VpnSiteLinkProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** Resource type. */ - type?: string; } /** Parameters for VpnSite. */ @@ -6039,8 +5055,6 @@ export interface VpnSiteLinkProperties { fqdn?: string; /** The set of bgp properties. */ bgpProperties?: VpnLinkBgpSettings; - /** The provisioning state of the VPN site link resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** List of properties of a link provider. */ @@ -6087,8 +5101,6 @@ export interface GetVpnSitesConfigurationRequest { export interface VpnServerConfiguration extends Resource { /** Properties of the P2SVpnServer configuration. */ properties?: VpnServerConfigurationProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for VpnServerConfiguration. */ @@ -6117,14 +5129,8 @@ export interface VpnServerConfigurationProperties { radiusServers?: Array; /** The set of aad vpn authentication parameters. */ aadAuthenticationParameters?: AadAuthenticationParameters; - /** The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. */ - provisioningState?: string; - /** List of references to P2SVpnGateways. */ - p2SVpnGateways?: Array; /** List of all VpnServerConfigurationPolicyGroups. */ configurationPolicyGroups?: Array; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Properties of VPN client root certificate of VpnServerConfiguration. */ @@ -6173,8 +5179,6 @@ export interface AadAuthenticationParameters { export interface P2SVpnGateway extends Resource { /** Properties of the P2SVpnGateway. */ properties?: P2SVpnGatewayProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for P2SVpnGateway. */ @@ -6183,14 +5187,10 @@ export interface P2SVpnGatewayProperties { virtualHub?: SubResource; /** List of all p2s connection configurations of the gateway. */ p2SConnectionConfigurations?: Array; - /** The provisioning state of the P2S VPN gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The scale unit for this p2s vpn gateway. */ vpnGatewayScaleUnit?: number; /** The VpnServerConfiguration to which the p2sVpnGateway is attached to. */ vpnServerConfiguration?: SubResource; - /** All P2S VPN clients' connection health status. */ - vpnClientConnectionHealth?: VpnClientConnectionHealth; /** List of all customer specified DNS servers IP addresses. */ customDnsServers?: Array; /** Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway. */ @@ -6203,8 +5203,6 @@ export interface P2SConnectionConfiguration extends SubResource { properties?: P2SConnectionConfigurationProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for P2SConnectionConfiguration. */ @@ -6215,12 +5213,6 @@ export interface P2SConnectionConfigurationProperties { routingConfiguration?: RoutingConfiguration; /** Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not. */ enableInternetSecurity?: boolean; - /** List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to. */ - configurationPolicyGroupAssociations?: Array; - /** List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to. */ - previousConfigurationPolicyGroupAssociations?: Array; - /** The provisioning state of the P2SConnectionConfiguration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Routing Configuration indicating the associated and propagated route tables for this connection. */ @@ -6251,14 +5243,10 @@ export interface VnetRoute { staticRoutesConfig?: StaticRoutesConfig; /** List of all Static Routes. */ staticRoutes?: Array; - /** The list of references to HubBgpConnection objects. */ - bgpConnections?: Array; } /** Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection. */ export interface StaticRoutesConfig { - /** Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to. */ - propagateStaticRoutes?: boolean; /** Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke. */ vnetLocalRouteOverrideCriteria?: "Contains" | "Equal"; } @@ -6277,12 +5265,8 @@ export interface StaticRoute { export interface VpnServerConfigurationPolicyGroup extends SubResource { /** Properties of the VpnServerConfigurationPolicyGroup. */ properties?: VpnServerConfigurationPolicyGroupProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** Resource type. */ - type?: string; } /** Parameters for VpnServerConfigurationPolicyGroup. */ @@ -6293,10 +5277,6 @@ export interface VpnServerConfigurationPolicyGroupProperties { priority?: number; /** Multiple PolicyMembers for VpnServerConfigurationPolicyGroup. */ policyMembers?: Array; - /** List of references to P2SConnectionConfigurations. */ - p2SConnectionConfigurations?: Array; - /** The provisioning state of the VpnServerConfigurationPolicyGroup resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VpnServerConfiguration PolicyGroup member */ @@ -6311,10 +5291,6 @@ export interface VpnServerConfigurationPolicyGroupMember { /** VpnClientConnectionHealth properties. */ export interface VpnClientConnectionHealth { - /** Total of the Ingress Bytes Transferred in this P2S Vpn connection. */ - totalIngressBytesTransferred?: number; - /** Total of the Egress Bytes Transferred in this connection. */ - totalEgressBytesTransferred?: number; /** The total of p2s vpn clients connected at this time to this P2SVpnGateway. */ vpnClientConnectionsCount?: number; /** List of allocated ip addresses to the connected p2s vpn clients. */ @@ -6325,10 +5301,6 @@ export interface VpnClientConnectionHealth { export interface VirtualHub extends Resource { /** Properties of the virtual hub. */ properties?: VirtualHubProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server. */ - kind?: string; } /** Parameters for VirtualHub. */ @@ -6349,22 +5321,12 @@ export interface VirtualHubProperties { addressPrefix?: string; /** The routeTable associated with this virtual hub. */ routeTable?: VirtualHubRouteTable; - /** The provisioning state of the virtual hub resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The Security Provider name. */ securityProviderName?: string; /** List of all virtual hub route table v2s associated with this VirtualHub. */ virtualHubRouteTableV2s?: Array; /** The sku of this VirtualHub. */ sku?: string; - /** The routing state. */ - routingState?: "None" | "Provisioned" | "Provisioning" | "Failed"; - /** List of references to Bgp Connections. */ - bgpConnections?: Array; - /** List of references to IpConfigurations. */ - ipConfigurations?: Array; - /** List of references to RouteMaps. */ - routeMaps?: Array; /** VirtualRouter ASN. */ virtualRouterAsn?: number; /** VirtualRouter IPs. */ @@ -6399,8 +5361,6 @@ export interface VirtualHubRouteTableV2 extends SubResource { properties?: VirtualHubRouteTableV2Properties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for VirtualHubRouteTableV2. */ @@ -6409,8 +5369,6 @@ export interface VirtualHubRouteTableV2Properties { routes?: Array; /** List of all connections attached to this route table v2. */ attachedConnections?: Array; - /** The provisioning state of the virtual hub route table v2 resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VirtualHubRouteTableV2 route. */ @@ -6435,12 +5393,6 @@ export interface VirtualRouterAutoScaleConfiguration { export interface RouteMap extends SubResource { /** Properties of the RouteMap resource. */ properties?: RouteMapProperties; - /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; } /** Properties of RouteMap resource */ @@ -6451,8 +5403,6 @@ export interface RouteMapProperties { associatedOutboundConnections?: Array; /** List of RouteMap rules to be applied. */ rules?: Array; - /** The provisioning state of the RouteMap resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** A RouteMap Rule. */ @@ -6476,7 +5426,12 @@ export interface Criterion { /** List of AS paths which this criteria matches. */ asPath?: Array; /** Match condition to apply RouteMap rules. */ - matchCondition?: "Unknown" | "Contains" | "Equals" | "NotContains" | "NotEquals"; + matchCondition?: + | "Unknown" + | "Contains" + | "Equals" + | "NotContains" + | "NotEquals"; } /** Action to be taken on a route matching a RouteMap criterion. */ @@ -6503,8 +5458,6 @@ export interface HubVirtualNetworkConnection extends SubResource { properties?: HubVirtualNetworkConnectionProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for HubVirtualNetworkConnection. */ @@ -6519,16 +5472,12 @@ export interface HubVirtualNetworkConnectionProperties { enableInternetSecurity?: boolean; /** The Routing Configuration indicating the associated and propagated route tables on this connection. */ routingConfiguration?: RoutingConfiguration; - /** The provisioning state of the hub virtual network connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VpnGateway Resource. */ export interface VpnGateway extends Resource { /** Properties of the VPN gateway. */ properties?: VpnGatewayProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for VpnGateway. */ @@ -6539,12 +5488,8 @@ export interface VpnGatewayProperties { connections?: Array; /** Local network gateway's BGP speaker settings. */ bgpSettings?: BgpSettings; - /** The provisioning state of the VPN gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The scale unit for this vpn gateway. */ vpnGatewayScaleUnit?: number; - /** List of all IPs configured on the gateway. */ - ipConfigurations?: Array; /** Enable BGP routes translation for NAT on this VpnGateway. */ enableBgpRouteTranslationForNat?: boolean; /** Enable Routing Preference property for the Public IP Interface of the VpnGateway. */ @@ -6559,8 +5504,6 @@ export interface VpnConnection extends SubResource { properties?: VpnConnectionProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Parameters for VpnConnection. */ @@ -6571,14 +5514,8 @@ export interface VpnConnectionProperties { routingWeight?: number; /** DPD timeout in seconds for vpn connection. */ dpdTimeoutSeconds?: number; - /** The connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; /** Connection protocol used for this connection. */ vpnConnectionProtocolType?: "IKEv2" | "IKEv1"; - /** Ingress bytes transferred. */ - ingressBytesTransferred?: number; - /** Egress bytes transferred. */ - egressBytesTransferred?: number; /** Expected bandwidth in MBPS. */ connectionBandwidth?: number; /** SharedKey for the vpn connection. */ @@ -6597,8 +5534,6 @@ export interface VpnConnectionProperties { enableInternetSecurity?: boolean; /** Use local azure ip to initiate connection. */ useLocalAzureIpAddress?: boolean; - /** The provisioning state of the VPN connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** List of all vpn site link connections to the gateway. */ vpnLinkConnections?: Array; /** The Routing Configuration indicating the associated and propagated route tables on this connection. */ @@ -6611,10 +5546,6 @@ export interface VpnSiteLinkConnection extends SubResource { properties?: VpnSiteLinkConnectionProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; } /** Parameters for VpnConnection. */ @@ -6625,14 +5556,8 @@ export interface VpnSiteLinkConnectionProperties { routingWeight?: number; /** Vpn link connection mode. */ vpnLinkConnectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; - /** The connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; /** Connection protocol used for this connection. */ vpnConnectionProtocolType?: "IKEv2" | "IKEv1"; - /** Ingress bytes transferred. */ - ingressBytesTransferred?: number; - /** Egress bytes transferred. */ - egressBytesTransferred?: number; /** Expected bandwidth in MBPS. */ connectionBandwidth?: number; /** SharedKey for the vpn connection. */ @@ -6649,8 +5574,6 @@ export interface VpnSiteLinkConnectionProperties { enableRateLimiting?: boolean; /** Use local azure ip to initiate connection. */ useLocalAzureIpAddress?: boolean; - /** The provisioning state of the VPN site link connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** List of ingress NatRules. */ ingressNatRules?: Array; /** List of egress NatRules. */ @@ -6673,16 +5596,10 @@ export interface VpnGatewayNatRule extends SubResource { properties?: VpnGatewayNatRuleProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; } /** Parameters for VpnGatewayNatRule. */ export interface VpnGatewayNatRuleProperties { - /** The provisioning state of the NAT Rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of NAT rule for VPN NAT. */ type?: "Static" | "Dynamic"; /** The Source NAT direction of a VPN NAT. */ @@ -6693,10 +5610,6 @@ export interface VpnGatewayNatRuleProperties { externalMappings?: Array; /** The IP Configuration ID this NAT rule applies to. */ ipConfigurationId?: string; - /** List of egress VpnSiteLinkConnections. */ - egressVpnSiteLinkConnections?: Array; - /** List of ingress VpnSiteLinkConnections. */ - ingressVpnSiteLinkConnections?: Array; } /** Start packet capture parameters. */ @@ -6753,8 +5666,6 @@ export interface VirtualWanVpnProfileParameters { export interface ExpressRouteGateway extends Resource { /** Properties of the express route gateway. */ properties?: ExpressRouteGatewayProperties; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** ExpressRoute gateway resource properties. */ @@ -6763,8 +5674,6 @@ export interface ExpressRouteGatewayProperties { autoScaleConfiguration?: ExpressRouteGatewayPropertiesAutoScaleConfiguration; /** List of ExpressRoute connections to the ExpressRoute gateway. */ expressRouteConnections?: Array; - /** The provisioning state of the express route gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The Virtual Hub where the ExpressRoute gateway is or will be deployed. */ virtualHub: VirtualHubId; } @@ -6793,8 +5702,6 @@ export interface ExpressRouteConnection extends SubResource { /** Properties of the ExpressRouteConnection subresource. */ export interface ExpressRouteConnectionProperties { - /** The provisioning state of the express route connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The ExpressRoute circuit peering. */ expressRouteCircuitPeering: ExpressRouteCircuitPeeringId; /** Authorization key to establish the connection. */ @@ -6829,10 +5736,6 @@ export interface BgpConnection extends SubResource { properties?: BgpConnectionProperties; /** Name of the connection. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Connection type. */ - type?: string; } /** Properties of the bgp connection. */ @@ -6843,10 +5746,6 @@ export interface BgpConnectionProperties { peerIp?: string; /** The reference to the HubVirtualNetworkConnection resource. */ hubVirtualNetworkConnection?: SubResource; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** The current state of the VirtualHub to Peer. */ - connectionState?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; } /** IpConfigurations. */ @@ -6855,10 +5754,6 @@ export interface HubIpConfiguration extends SubResource { properties?: HubIPConfigurationPropertiesFormat; /** Name of the Ip Configuration. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Ipconfiguration type. */ - type?: string; } /** Properties of IP configuration. */ @@ -6871,8 +5766,6 @@ export interface HubIPConfigurationPropertiesFormat { subnet?: Subnet; /** The reference to the public IP resource. */ publicIPAddress?: PublicIPAddress; - /** The provisioning state of the IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** RouteTable resource in a virtual hub. */ @@ -6881,10 +5774,6 @@ export interface HubRouteTable extends SubResource { properties?: HubRouteTableProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; } /** Parameters for RouteTable. */ @@ -6893,12 +5782,6 @@ export interface HubRouteTableProperties { routes?: Array; /** List of labels associated with this route table. */ labels?: Array; - /** List of all connections associated with this route table. */ - associatedConnections?: Array; - /** List of all connections that advertise to this route table. */ - propagatingConnections?: Array; - /** The provisioning state of the RouteTable resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** RouteTable route. */ @@ -6945,18 +5828,12 @@ export interface RoutingIntent extends SubResource { properties?: RoutingIntentProperties; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; } /** The properties of a RoutingIntent resource. */ export interface RoutingIntentProperties { /** List of routing policies. */ routingPolicies?: Array; - /** The provisioning state of the RoutingIntent resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** The routing policy object used in a RoutingIntent resource. */ @@ -6973,8 +5850,6 @@ export interface RoutingPolicy { export interface WebApplicationFirewallPolicy extends Resource { /** Properties of the web application firewall policy. */ properties?: WebApplicationFirewallPolicyPropertiesFormat; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Defines web application firewall policy properties. */ @@ -6983,18 +5858,8 @@ export interface WebApplicationFirewallPolicyPropertiesFormat { policySettings?: PolicySettings; /** The custom rules inside the policy. */ customRules?: Array; - /** A collection of references to application gateways. */ - applicationGateways?: Array; - /** The provisioning state of the web application firewall policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - /** Resource status of the policy. */ - resourceState?: "Creating" | "Enabling" | "Enabled" | "Disabling" | "Disabled" | "Deleting"; /** Describes the managedRules structure. */ managedRules: ManagedRulesDefinition; - /** A collection of references to application gateway http listeners. */ - httpListeners?: Array; - /** A collection of references to application gateway path rules. */ - pathBasedRules?: Array; } /** Defines contents of a web application firewall global configuration. */ @@ -7015,8 +5880,6 @@ export interface PolicySettings { export interface WebApplicationFirewallCustomRule { /** The name of the resource that is unique within a policy. This name can be used to access the resource. */ name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; /** Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. */ priority: number; /** The rule type. */ @@ -7099,7 +5962,12 @@ export interface OwaspCrsExclusionEntry { | "RequestArgKeys" | "RequestArgValues"; /** When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. */ - selectorMatchOperator: "Equals" | "Contains" | "StartsWith" | "EndsWith" | "EqualsAny"; + selectorMatchOperator: + | "Equals" + | "Contains" + | "StartsWith" + | "EndsWith" + | "EqualsAny"; /** When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to. */ selector: string; /** The managed rule sets that are associated with the exclusion. */ @@ -7160,12 +6028,6 @@ export interface ManagedRuleOverride { /** SwapResource to represent slot type on the specified cloud service. */ export interface SwapResource { - /** Resource Id. */ - id?: string; - /** Resource name. */ - name?: string; - /** Resource type. */ - type?: string; /** Swap resource properties */ properties?: SwapResourceProperties; } @@ -7177,7 +6039,8 @@ export interface SwapResourceProperties { } /** Firewall Policy NAT Rule Collection. */ -export interface FirewallPolicyNatRuleCollection extends FirewallPolicyRuleCollectionParent { +export interface FirewallPolicyNatRuleCollection + extends FirewallPolicyRuleCollectionParent { /** The action type of a Nat rule collection. */ action?: FirewallPolicyNatRuleCollectionAction; /** List of rules included in a rule collection. */ @@ -7197,11 +6060,16 @@ export interface FirewallPolicyRuleParent { name?: string; /** Description of the rule. */ description?: string; - ruleType: "FirewallPolicyRule" | "ApplicationRule" | "NatRule" | "NetworkRule"; + ruleType: + | "FirewallPolicyRule" + | "ApplicationRule" + | "NatRule" + | "NetworkRule"; } /** Firewall Policy Filter Rule Collection. */ -export interface FirewallPolicyFilterRuleCollection extends FirewallPolicyRuleCollectionParent { +export interface FirewallPolicyFilterRuleCollection + extends FirewallPolicyRuleCollectionParent { /** The action type of a Filter rule collection. */ action?: FirewallPolicyFilterRuleCollectionAction; /** List of rules included in a rule collection. */ @@ -7306,8 +6174,6 @@ export interface AdminPropertiesFormat { priority: number; /** Indicates if the traffic matched against the rule in inbound or outbound. */ direction: "Inbound" | "Outbound"; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Address prefix item. */ @@ -7320,28 +6186,8 @@ export interface AddressPrefixItem { /** Security default admin rule resource. */ export interface DefaultAdminPropertiesFormat { - /** A description for this rule. Restricted to 140 chars. */ - description?: string; /** Default rule flag. */ flag?: string; - /** Network protocol this rule applies to. */ - protocol?: "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"; - /** The CIDR or source IP ranges. */ - sources?: Array; - /** The destination address prefixes. CIDR or destination IP ranges. */ - destinations?: Array; - /** The source port ranges. */ - sourcePortRanges?: Array; - /** The destination port ranges. */ - destinationPortRanges?: Array; - /** Indicates the access allowed for this particular rule */ - access?: "Allow" | "Deny" | "AlwaysAllow"; - /** The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. */ - priority?: number; - /** Indicates if the traffic matched against the rule in inbound or outbound. */ - direction?: "Inbound" | "Outbound"; - /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network admin rule. */ @@ -7362,22 +6208,12 @@ export interface DefaultAdminRule extends BaseAdminRuleParent { export interface PatchRouteFilterRule extends SubResource { /** Properties of the route filter rule. */ properties?: RouteFilterRulePropertiesFormat; - /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; } /** Route Filter Resource. */ export interface PatchRouteFilter extends SubResource { /** Properties of the route filter. */ properties?: RouteFilterPropertiesFormat; - /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; - /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** Resource type. */ - type?: string; /** Resource tags. */ tags?: Record; } diff --git a/sdk/network/arm-network-rest/src/networkManagementClient.ts b/sdk/network/arm-network-rest/src/networkManagementClient.ts index 9c35dcb81e33..7430ff8104f9 100644 --- a/sdk/network/arm-network-rest/src/networkManagementClient.ts +++ b/sdk/network/arm-network-rest/src/networkManagementClient.ts @@ -1,28 +1,26 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { ClientOptions } from "@azure-rest/core-client"; -import { getClient } from "@azure-rest/core-client"; -import type { TokenCredential } from "@azure/core-auth"; -import type { NetworkManagementClient } from "./clientDefinitions"; +import { getClient, ClientOptions } from "@azure-rest/core-client"; +import { logger } from "./logger"; +import { TokenCredential } from "@azure/core-auth"; +import { NetworkManagementClient } from "./clientDefinitions"; + +/** The optional parameters for the client */ +export interface NetworkManagementClientOptions extends ClientOptions {} /** - * Initialize a new instance of the class NetworkManagementClient class. - * @param credentials type: TokenCredential + * Initialize a new instance of `NetworkManagementClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters */ export default function createClient( credentials: TokenCredential, - options: ClientOptions = {}, + options: NetworkManagementClientOptions = {}, ): NetworkManagementClient { - const baseUrl = options.baseUrl ?? `https://management.azure.com`; - options = { - ...options, - credentials: { - scopes: ["https://management.azure.com/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-arm-network-rest/1.0.0-beta.1`; + const endpointUrl = + options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-network-rest/1.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` @@ -32,9 +30,27 @@ export default function createClient( userAgentOptions: { userAgentPrefix, }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? [ + "https://management.azure.com/.default", + ], + }, }; + const client = getClient( + endpointUrl, + credentials, + options, + ) as NetworkManagementClient; - const client = getClient(baseUrl, credentials, options) as NetworkManagementClient; + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + if (options.apiVersion) { + logger.warning( + "This client does not support client api-version, please change it at the operation level", + ); + } return client; } diff --git a/sdk/network/arm-network-rest/src/outputModels.ts b/sdk/network/arm-network-rest/src/outputModels.ts index 24fec130bc2a..2988144d5748 100644 --- a/sdk/network/arm-network-rest/src/outputModels.ts +++ b/sdk/network/arm-network-rest/src/outputModels.ts @@ -24,7 +24,7 @@ export interface ApplicationGatewayOutput extends ResourceOutput { /** Properties of the application gateway. */ properties?: ApplicationGatewayPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** A list of availability zones denoting where the resource needs to come from. */ zones?: Array; /** The identity of the application gateway, if configured. */ @@ -38,7 +38,7 @@ export interface ApplicationGatewayPropertiesFormatOutput { /** SSL policy of the application gateway resource. */ sslPolicy?: ApplicationGatewaySslPolicyOutput; /** Operational state of the application gateway resource. */ - operationalState?: "Stopped" | "Starting" | "Running" | "Stopping"; + readonly operationalState?: "Stopped" | "Starting" | "Running" | "Stopping"; /** Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ gatewayIPConfigurations?: Array; /** Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ @@ -90,11 +90,11 @@ export interface ApplicationGatewayPropertiesFormatOutput { /** PrivateLink configurations on application gateway. */ privateLinkConfigurations?: Array; /** Private Endpoint connections on application gateway. */ - privateEndpointConnections?: Array; + readonly privateEndpointConnections?: Array; /** The resource GUID property of the application gateway resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the application gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Custom error configurations of the application gateway resource. */ customErrorConfigurations?: Array; /** If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. */ @@ -171,15 +171,16 @@ export interface ApplicationGatewaySslPolicyOutput { } /** IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. */ -export interface ApplicationGatewayIPConfigurationOutput extends SubResourceOutput { +export interface ApplicationGatewayIPConfigurationOutput + extends SubResourceOutput { /** Properties of the application gateway IP configuration. */ properties?: ApplicationGatewayIPConfigurationPropertiesFormatOutput; /** Name of the IP configuration that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of IP configuration of an application gateway. */ @@ -187,7 +188,7 @@ export interface ApplicationGatewayIPConfigurationPropertiesFormatOutput { /** Reference to the subnet resource. A subnet from where application gateway gets its private address. */ subnet?: SubResourceOutput; /** The provisioning state of the application gateway IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Reference to another subresource. */ @@ -197,15 +198,16 @@ export interface SubResourceOutput { } /** Authentication certificates of an application gateway. */ -export interface ApplicationGatewayAuthenticationCertificateOutput extends SubResourceOutput { +export interface ApplicationGatewayAuthenticationCertificateOutput + extends SubResourceOutput { /** Properties of the application gateway authentication certificate. */ properties?: ApplicationGatewayAuthenticationCertificatePropertiesFormatOutput; /** Name of the authentication certificate that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Authentication certificates properties of an application gateway. */ @@ -213,19 +215,20 @@ export interface ApplicationGatewayAuthenticationCertificatePropertiesFormatOutp /** Certificate public data. */ data?: string; /** The provisioning state of the authentication certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Trusted Root certificates of an application gateway. */ -export interface ApplicationGatewayTrustedRootCertificateOutput extends SubResourceOutput { +export interface ApplicationGatewayTrustedRootCertificateOutput + extends SubResourceOutput { /** Properties of the application gateway trusted root certificate. */ properties?: ApplicationGatewayTrustedRootCertificatePropertiesFormatOutput; /** Name of the trusted root certificate that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Trusted Root certificates properties of an application gateway. */ @@ -235,19 +238,20 @@ export interface ApplicationGatewayTrustedRootCertificatePropertiesFormatOutput /** Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. */ keyVaultSecretId?: string; /** The provisioning state of the trusted root certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Trusted client certificates of an application gateway. */ -export interface ApplicationGatewayTrustedClientCertificateOutput extends SubResourceOutput { +export interface ApplicationGatewayTrustedClientCertificateOutput + extends SubResourceOutput { /** Properties of the application gateway trusted client certificate. */ properties?: ApplicationGatewayTrustedClientCertificatePropertiesFormatOutput; /** Name of the trusted client certificate that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Trusted client certificates properties of an application gateway. */ @@ -255,23 +259,24 @@ export interface ApplicationGatewayTrustedClientCertificatePropertiesFormatOutpu /** Certificate public data. */ data?: string; /** Validated certificate data. */ - validatedCertData?: string; + readonly validatedCertData?: string; /** Distinguished name of client certificate issuer. */ - clientCertIssuerDN?: string; + readonly clientCertIssuerDN?: string; /** The provisioning state of the trusted client certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** SSL certificates of an application gateway. */ -export interface ApplicationGatewaySslCertificateOutput extends SubResourceOutput { +export interface ApplicationGatewaySslCertificateOutput + extends SubResourceOutput { /** Properties of the application gateway SSL certificate. */ properties?: ApplicationGatewaySslCertificatePropertiesFormatOutput; /** Name of the SSL certificate that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of SSL certificates of an application gateway. */ @@ -281,23 +286,24 @@ export interface ApplicationGatewaySslCertificatePropertiesFormatOutput { /** Password for the pfx file specified in data. Only applicable in PUT request. */ password?: string; /** Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request. */ - publicCertData?: string; + readonly publicCertData?: string; /** Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. */ keyVaultSecretId?: string; /** The provisioning state of the SSL certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Frontend IP configuration of an application gateway. */ -export interface ApplicationGatewayFrontendIPConfigurationOutput extends SubResourceOutput { +export interface ApplicationGatewayFrontendIPConfigurationOutput + extends SubResourceOutput { /** Properties of the application gateway frontend IP configuration. */ properties?: ApplicationGatewayFrontendIPConfigurationPropertiesFormatOutput; /** Name of the frontend IP configuration that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of Frontend IP configuration of an application gateway. */ @@ -313,19 +319,20 @@ export interface ApplicationGatewayFrontendIPConfigurationPropertiesFormatOutput /** Reference to the application gateway private link configuration. */ privateLinkConfiguration?: SubResourceOutput; /** The provisioning state of the frontend IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Frontend port of an application gateway. */ -export interface ApplicationGatewayFrontendPortOutput extends SubResourceOutput { +export interface ApplicationGatewayFrontendPortOutput + extends SubResourceOutput { /** Properties of the application gateway frontend port. */ properties?: ApplicationGatewayFrontendPortPropertiesFormatOutput; /** Name of the frontend port that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of Frontend port of an application gateway. */ @@ -333,7 +340,7 @@ export interface ApplicationGatewayFrontendPortPropertiesFormatOutput { /** Frontend port. */ port?: number; /** The provisioning state of the frontend port resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Probe of the application gateway. */ @@ -343,9 +350,9 @@ export interface ApplicationGatewayProbeOutput extends SubResourceOutput { /** Name of the probe that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of probe of an application gateway. */ @@ -371,7 +378,7 @@ export interface ApplicationGatewayProbePropertiesFormatOutput { /** Criterion for classifying a healthy probe response. */ match?: ApplicationGatewayProbeHealthResponseMatchOutput; /** The provisioning state of the probe resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only. */ port?: number; } @@ -385,35 +392,37 @@ export interface ApplicationGatewayProbeHealthResponseMatchOutput { } /** Backend Address Pool of an application gateway. */ -export interface ApplicationGatewayBackendAddressPoolOutput extends SubResourceOutput { +export interface ApplicationGatewayBackendAddressPoolOutput + extends SubResourceOutput { /** Properties of the application gateway backend address pool. */ properties?: ApplicationGatewayBackendAddressPoolPropertiesFormatOutput; /** Name of the backend address pool that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of Backend Address Pool of an application gateway. */ export interface ApplicationGatewayBackendAddressPoolPropertiesFormatOutput { /** Collection of references to IPs defined in network interfaces. */ - backendIPConfigurations?: Array; + readonly backendIPConfigurations?: Array; /** Backend addresses. */ backendAddresses?: Array; /** The provisioning state of the backend address pool resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IPConfiguration in a network interface. */ -export interface NetworkInterfaceIPConfigurationOutput extends SubResourceOutput { +export interface NetworkInterfaceIPConfigurationOutput + extends SubResourceOutput { /** Network interface IP configuration properties. */ properties?: NetworkInterfaceIPConfigurationPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ type?: string; } @@ -445,9 +454,9 @@ export interface NetworkInterfaceIPConfigurationPropertiesFormatOutput { /** Application security groups in which the IP configuration is included. */ applicationSecurityGroups?: Array; /** The provisioning state of the network interface IP configuration. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** PrivateLinkConnection properties for the network interface. */ - privateLinkConnectionProperties?: NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesOutput; + readonly privateLinkConnectionProperties?: NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesOutput; } /** Virtual Network Tap resource. */ @@ -455,17 +464,17 @@ export interface VirtualNetworkTapOutput extends ResourceOutput { /** Virtual Network Tap Properties. */ properties?: VirtualNetworkTapPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Virtual Network Tap properties. */ export interface VirtualNetworkTapPropertiesFormatOutput { /** Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped. */ - networkInterfaceTapConfigurations?: Array; + readonly networkInterfaceTapConfigurations?: Array; /** The resource GUID property of the virtual network tap resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the virtual network tap resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The reference to the private IP Address of the collector nic that will receive the tap. */ destinationNetworkInterfaceIPConfiguration?: NetworkInterfaceIPConfigurationOutput; /** The reference to the private IP address on the internal Load Balancer that will receive the tap. */ @@ -475,15 +484,16 @@ export interface VirtualNetworkTapPropertiesFormatOutput { } /** Tap configuration in a Network Interface. */ -export interface NetworkInterfaceTapConfigurationOutput extends SubResourceOutput { +export interface NetworkInterfaceTapConfigurationOutput + extends SubResourceOutput { /** Properties of the Virtual Network Tap configuration. */ properties?: NetworkInterfaceTapConfigurationPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Sub Resource type. */ - type?: string; + readonly type?: string; } /** Properties of Virtual Network Tap configuration. */ @@ -491,7 +501,7 @@ export interface NetworkInterfaceTapConfigurationPropertiesFormatOutput { /** The reference to the Virtual Network Tap resource. */ virtualNetworkTap?: VirtualNetworkTapOutput; /** The provisioning state of the network interface tap configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Frontend IP address of the load balancer. */ @@ -501,9 +511,9 @@ export interface FrontendIPConfigurationOutput extends SubResourceOutput { /** The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; /** A list of availability zones denoting the IP allocated for the resource needs to come from. */ zones?: Array; } @@ -511,13 +521,13 @@ export interface FrontendIPConfigurationOutput extends SubResourceOutput { /** Properties of Frontend IP Configuration of the load balancer. */ export interface FrontendIPConfigurationPropertiesFormatOutput { /** An array of references to inbound rules that use this frontend IP. */ - inboundNatRules?: Array; + readonly inboundNatRules?: Array; /** An array of references to inbound pools that use this frontend IP. */ - inboundNatPools?: Array; + readonly inboundNatPools?: Array; /** An array of references to outbound rules that use this frontend IP. */ - outboundRules?: Array; + readonly outboundRules?: Array; /** An array of references to load balancing rules that use this frontend IP. */ - loadBalancingRules?: Array; + readonly loadBalancingRules?: Array; /** The private IP address of the IP configuration. */ privateIPAddress?: string; /** The Private IP allocation method. */ @@ -533,7 +543,7 @@ export interface FrontendIPConfigurationPropertiesFormatOutput { /** The reference to gateway load balancer frontend IP. */ gatewayLoadBalancer?: SubResourceOutput; /** The provisioning state of the frontend IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Subnet in a virtual network resource. */ @@ -543,7 +553,7 @@ export interface SubnetOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ type?: string; } @@ -565,23 +575,23 @@ export interface SubnetPropertiesFormatOutput { /** An array of service endpoint policies. */ serviceEndpointPolicies?: Array; /** An array of references to private endpoints. */ - privateEndpoints?: Array; + readonly privateEndpoints?: Array; /** An array of references to the network interface IP configurations using subnet. */ - ipConfigurations?: Array; + readonly ipConfigurations?: Array; /** Array of IP configuration profiles which reference this subnet. */ - ipConfigurationProfiles?: Array; + readonly ipConfigurationProfiles?: Array; /** Array of IpAllocation which reference this subnet. */ ipAllocations?: Array; /** An array of references to the external resources using subnet. */ - resourceNavigationLinks?: Array; + readonly resourceNavigationLinks?: Array; /** An array of references to services injecting into this subnet. */ - serviceAssociationLinks?: Array; + readonly serviceAssociationLinks?: Array; /** An array of references to the delegations on the subnet. */ delegations?: Array; /** A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. */ - purpose?: string; + readonly purpose?: string; /** The provisioning state of the subnet resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Enable or Disable apply network policies on private end point in the subnet. */ privateEndpointNetworkPolicies?: "Enabled" | "Disabled"; /** Enable or Disable apply network policies on private link service in the subnet. */ @@ -595,7 +605,7 @@ export interface NetworkSecurityGroupOutput extends ResourceOutput { /** Properties of the network security group. */ properties?: NetworkSecurityGroupPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Network Security Group resource. */ @@ -605,17 +615,17 @@ export interface NetworkSecurityGroupPropertiesFormatOutput { /** A collection of security rules of the network security group. */ securityRules?: Array; /** The default security rules of network security group. */ - defaultSecurityRules?: Array; + readonly defaultSecurityRules?: Array; /** A collection of references to network interfaces. */ - networkInterfaces?: Array; + readonly networkInterfaces?: Array; /** A collection of references to subnets. */ - subnets?: Array; + readonly subnets?: Array; /** A collection of references to flow log resources. */ - flowLogs?: Array; + readonly flowLogs?: Array; /** The resource GUID property of the network security group resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the network security group resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network security rule. */ @@ -625,7 +635,7 @@ export interface SecurityRuleOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The type of the resource. */ type?: string; } @@ -663,7 +673,7 @@ export interface SecurityRulePropertiesFormatOutput { /** The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. */ direction: "Inbound" | "Outbound"; /** The provisioning state of the security rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** An application security group in a resource group. */ @@ -671,15 +681,15 @@ export interface ApplicationSecurityGroupOutput extends ResourceOutput { /** Properties of the application security group. */ properties?: ApplicationSecurityGroupPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Application security group properties. */ export interface ApplicationSecurityGroupPropertiesFormatOutput { /** The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the application security group resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Common resource representation. */ @@ -687,9 +697,9 @@ export interface ResourceOutput { /** Resource ID. */ id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource location. */ location?: string; /** Resource tags. */ @@ -703,7 +713,7 @@ export interface NetworkInterfaceOutput extends ResourceOutput { /** Properties of the network interface. */ properties?: NetworkInterfacePropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** ExtendedLocation complex type. */ @@ -717,23 +727,23 @@ export interface ExtendedLocationOutput { /** NetworkInterface properties. */ export interface NetworkInterfacePropertiesFormatOutput { /** The reference to a virtual machine. */ - virtualMachine?: SubResourceOutput; + readonly virtualMachine?: SubResourceOutput; /** The reference to the NetworkSecurityGroup resource. */ networkSecurityGroup?: NetworkSecurityGroupOutput; /** A reference to the private endpoint to which the network interface is linked. */ - privateEndpoint?: PrivateEndpointOutput; + readonly privateEndpoint?: PrivateEndpointOutput; /** A list of IPConfigurations of the network interface. */ ipConfigurations?: Array; /** A list of TapConfigurations of the network interface. */ - tapConfigurations?: Array; + readonly tapConfigurations?: Array; /** The DNS settings in network interface. */ dnsSettings?: NetworkInterfaceDnsSettingsOutput; /** The MAC address of the network interface. */ - macAddress?: string; + readonly macAddress?: string; /** Whether this is a primary network interface on a virtual machine. */ - primary?: boolean; + readonly primary?: boolean; /** Whether the virtual machine this nic is attached to supports encryption. */ - vnetEncryptionSupported?: boolean; + readonly vnetEncryptionSupported?: boolean; /** If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. */ enableAcceleratedNetworking?: boolean; /** Indicates whether to disable tcp state tracking. */ @@ -741,13 +751,13 @@ export interface NetworkInterfacePropertiesFormatOutput { /** Indicates whether IP forwarding is enabled on this network interface. */ enableIPForwarding?: boolean; /** A list of references to linked BareMetal resources. */ - hostedWorkloads?: Array; + readonly hostedWorkloads?: Array; /** A reference to the dscp configuration to which the network interface is linked. */ - dscpConfiguration?: SubResourceOutput; + readonly dscpConfiguration?: SubResourceOutput; /** The resource GUID property of the network interface resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the network interface resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** WorkloadType of the NetworkInterface for BareMetal resources */ workloadType?: string; /** Type of Network Interface resource. */ @@ -767,7 +777,7 @@ export interface PrivateEndpointOutput extends ResourceOutput { /** Properties of the private endpoint. */ properties?: PrivateEndpointPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the private endpoint. */ @@ -775,9 +785,9 @@ export interface PrivateEndpointPropertiesOutput { /** The ID of the subnet from which the private IP will be allocated. */ subnet?: SubnetOutput; /** An array of references to the network interfaces created for this private endpoint. */ - networkInterfaces?: Array; + readonly networkInterfaces?: Array; /** The provisioning state of the private endpoint resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** A grouping of information about the connection to the remote resource. */ privateLinkServiceConnections?: Array; /** A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. */ @@ -799,15 +809,15 @@ export interface PrivateLinkServiceConnectionOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** The resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the PrivateLinkServiceConnection. */ export interface PrivateLinkServiceConnectionPropertiesOutput { /** The provisioning state of the private link service connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The resource id of private link service. */ privateLinkServiceId?: string; /** The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. */ @@ -843,9 +853,9 @@ export interface PrivateEndpointIPConfigurationOutput { /** The name of the resource that is unique within a resource group. */ name?: string; /** The resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of an IP Configuration of the private endpoint. */ @@ -863,13 +873,13 @@ export interface NetworkInterfaceDnsSettingsOutput { /** List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection. */ dnsServers?: Array; /** If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs. */ - appliedDnsServers?: Array; + readonly appliedDnsServers?: Array; /** Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. */ internalDnsNameLabel?: string; /** Fully qualified DNS name supporting internal communications between VMs in the same virtual network. */ - internalFqdn?: string; + readonly internalFqdn?: string; /** Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix. */ - internalDomainNameSuffix?: string; + readonly internalDomainNameSuffix?: string; } /** Private link service resource. */ @@ -879,7 +889,7 @@ export interface PrivateLinkServiceOutput extends ResourceOutput { /** Properties of the private link service. */ properties?: PrivateLinkServicePropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the private link service. */ @@ -889,11 +899,11 @@ export interface PrivateLinkServicePropertiesOutput { /** An array of private link service IP configurations. */ ipConfigurations?: Array; /** An array of references to the network interfaces created for this private link service. */ - networkInterfaces?: Array; + readonly networkInterfaces?: Array; /** The provisioning state of the private link service resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** An array of list about connections to the private endpoint. */ - privateEndpointConnections?: Array; + readonly privateEndpointConnections?: Array; /** The visibility list of the private link service. */ visibility?: PrivateLinkServicePropertiesVisibilityOutput; /** The auto-approval list of the private link service. */ @@ -901,21 +911,22 @@ export interface PrivateLinkServicePropertiesOutput { /** The list of Fqdn. */ fqdns?: Array; /** The alias of the private link service. */ - alias?: string; + readonly alias?: string; /** Whether the private link service is enabled for proxy protocol or not. */ enableProxyProtocol?: boolean; } /** The private link service ip configuration. */ -export interface PrivateLinkServiceIpConfigurationOutput extends SubResourceOutput { +export interface PrivateLinkServiceIpConfigurationOutput + extends SubResourceOutput { /** Properties of the private link service ip configuration. */ properties?: PrivateLinkServiceIpConfigurationPropertiesOutput; /** The name of private link service ip configuration. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The resource type. */ - type?: string; + readonly type?: string; } /** Properties of private link service IP configuration. */ @@ -929,7 +940,7 @@ export interface PrivateLinkServiceIpConfigurationPropertiesOutput { /** Whether the ip configuration is primary or not. */ primary?: boolean; /** The provisioning state of the private link service IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. */ privateIPAddressVersion?: "IPv4" | "IPv6"; } @@ -941,25 +952,26 @@ export interface PrivateEndpointConnectionOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** The resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the PrivateEndpointConnectProperties. */ export interface PrivateEndpointConnectionPropertiesOutput { /** The resource of private end point. */ - privateEndpoint?: PrivateEndpointOutput; + readonly privateEndpoint?: PrivateEndpointOutput; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateOutput; /** The provisioning state of the private endpoint connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The consumer link id. */ - linkIdentifier?: string; + readonly linkIdentifier?: string; } /** The visibility list of the private link service. */ -export interface PrivateLinkServicePropertiesVisibilityOutput extends ResourceSetOutput {} +export interface PrivateLinkServicePropertiesVisibilityOutput + extends ResourceSetOutput {} /** The base resource set for visibility and auto-approval. */ export interface ResourceSetOutput { @@ -968,14 +980,15 @@ export interface ResourceSetOutput { } /** The auto-approval list of the private link service. */ -export interface PrivateLinkServicePropertiesAutoApprovalOutput extends ResourceSetOutput {} +export interface PrivateLinkServicePropertiesAutoApprovalOutput + extends ResourceSetOutput {} /** A flow log resource. */ export interface FlowLogOutput extends ResourceOutput { /** Properties of the flow log. */ properties?: FlowLogPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters that define the configuration of flow log. */ @@ -983,7 +996,7 @@ export interface FlowLogPropertiesFormatOutput { /** ID of network security group to which flow log will be applied. */ targetResourceId: string; /** Guid of network security group to which flow log will be applied. */ - targetResourceGuid?: string; + readonly targetResourceGuid?: string; /** ID of the storage account which is used to store the flow log. */ storageId: string; /** Flag to enable/disable flow logging. */ @@ -995,7 +1008,7 @@ export interface FlowLogPropertiesFormatOutput { /** Parameters that define the configuration of traffic analytics. */ flowAnalyticsConfiguration?: TrafficAnalyticsPropertiesOutput; /** The provisioning state of the flow log. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Parameters that define the retention policy for flow log. */ @@ -1039,7 +1052,7 @@ export interface RouteTableOutput extends ResourceOutput { /** Properties of the route table. */ properties?: RouteTablePropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Route Table resource. */ @@ -1047,13 +1060,13 @@ export interface RouteTablePropertiesFormatOutput { /** Collection of routes contained within a route table. */ routes?: Array; /** A collection of references to subnets. */ - subnets?: Array; + readonly subnets?: Array; /** Whether to disable the routes learned by BGP on that route table. True means disable. */ disableBgpRoutePropagation?: boolean; /** The provisioning state of the route table resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The resource GUID property of the route table. */ - resourceGuid?: string; + readonly resourceGuid?: string; } /** Route resource. */ @@ -1063,7 +1076,7 @@ export interface RouteOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The type of the resource. */ type?: string; } @@ -1073,11 +1086,16 @@ export interface RoutePropertiesFormatOutput { /** The destination CIDR to which the route applies. */ addressPrefix?: string; /** The type of Azure hop the packet should be sent to. */ - nextHopType: "VirtualNetworkGateway" | "VnetLocal" | "Internet" | "VirtualAppliance" | "None"; + nextHopType: + | "VirtualNetworkGateway" + | "VnetLocal" + | "Internet" + | "VirtualAppliance" + | "None"; /** The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. */ nextHopIpAddress?: string; /** The provisioning state of the route resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** A value indicating whether this route overrides overlapping BGP routes regardless of LPM. */ hasBgpOverride?: boolean; } @@ -1089,7 +1107,7 @@ export interface ServiceEndpointPropertiesFormatOutput { /** A list of locations. */ locations?: Array; /** The provisioning state of the service endpoint resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Service End point policy resource. */ @@ -1097,9 +1115,9 @@ export interface ServiceEndpointPolicyOutput extends ResourceOutput { /** Properties of the service end point policy. */ properties?: ServiceEndpointPolicyPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Kind of service endpoint policy. This is metadata used for the Azure portal experience. */ - kind?: string; + readonly kind?: string; } /** Service Endpoint Policy resource. */ @@ -1107,11 +1125,11 @@ export interface ServiceEndpointPolicyPropertiesFormatOutput { /** A collection of service endpoint policy definitions of the service endpoint policy. */ serviceEndpointPolicyDefinitions?: Array; /** A collection of references to subnets. */ - subnets?: Array; + readonly subnets?: Array; /** The resource GUID property of the service endpoint policy resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the service endpoint policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The alias indicating if the policy belongs to a service */ serviceAlias?: string; /** A collection of contextual service endpoint policy. */ @@ -1119,13 +1137,14 @@ export interface ServiceEndpointPolicyPropertiesFormatOutput { } /** Service Endpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionOutput extends SubResourceOutput { +export interface ServiceEndpointPolicyDefinitionOutput + extends SubResourceOutput { /** Properties of the service endpoint policy definition. */ properties?: ServiceEndpointPolicyDefinitionPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The type of the resource. */ type?: string; } @@ -1139,7 +1158,7 @@ export interface ServiceEndpointPolicyDefinitionPropertiesFormatOutput { /** A list of service resources. */ serviceResources?: Array; /** The provisioning state of the service endpoint policy definition resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IP configuration. */ @@ -1149,7 +1168,7 @@ export interface IPConfigurationOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of IP configuration. */ @@ -1163,7 +1182,7 @@ export interface IPConfigurationPropertiesFormatOutput { /** The reference to the public IP resource. */ publicIPAddress?: PublicIPAddressOutput; /** The provisioning state of the IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Public IP address resource. */ @@ -1175,7 +1194,7 @@ export interface PublicIPAddressOutput extends ResourceOutput { /** Public IP address properties. */ properties?: PublicIPAddressPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** A list of availability zones denoting the IP allocated for the resource needs to come from. */ zones?: Array; } @@ -1195,7 +1214,7 @@ export interface PublicIPAddressPropertiesFormatOutput { /** The public IP address version. */ publicIPAddressVersion?: "IPv4" | "IPv6"; /** The IP configuration associated with the public IP address. */ - ipConfiguration?: IPConfigurationOutput; + readonly ipConfiguration?: IPConfigurationOutput; /** The FQDN of the DNS record associated with the public IP address. */ dnsSettings?: PublicIPAddressDnsSettingsOutput; /** The DDoS protection custom policy associated with the public IP address. */ @@ -1209,9 +1228,9 @@ export interface PublicIPAddressPropertiesFormatOutput { /** The idle timeout of the public IP address. */ idleTimeoutInMinutes?: number; /** The resource GUID property of the public IP address resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the public IP address resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The service public IP address of the public IP address resource. */ servicePublicIPAddress?: PublicIPAddressOutput; /** The NatGateway for the Public IP address. */ @@ -1259,7 +1278,7 @@ export interface NatGatewayOutput extends ResourceOutput { /** A list of availability zones denoting the zone in which Nat Gateway should be deployed. */ zones?: Array; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** SKU of nat gateway. */ @@ -1277,11 +1296,11 @@ export interface NatGatewayPropertiesFormatOutput { /** An array of public ip prefixes associated with the nat gateway resource. */ publicIpPrefixes?: Array; /** An array of references to the subnets using this nat gateway resource. */ - subnets?: Array; + readonly subnets?: Array; /** The resource GUID property of the NAT gateway resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the NAT gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IP configuration profile child resource. */ @@ -1291,9 +1310,9 @@ export interface IPConfigurationProfileOutput extends SubResourceOutput { /** The name of the resource. This name can be used to access the resource. */ name?: string; /** Sub Resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** IP configuration profile properties. */ @@ -1301,7 +1320,7 @@ export interface IPConfigurationProfilePropertiesFormatOutput { /** The reference to the subnet resource to create a container network interface ip configuration. */ subnet?: SubnetOutput; /** The provisioning state of the IP configuration profile resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** ResourceNavigationLink resource. */ @@ -1311,9 +1330,9 @@ export interface ResourceNavigationLinkOutput extends SubResourceOutput { /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Properties of ResourceNavigationLink. */ @@ -1323,7 +1342,7 @@ export interface ResourceNavigationLinkFormatOutput { /** Link to the external resource. */ link?: string; /** The provisioning state of the resource navigation link resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** ServiceAssociationLink resource. */ @@ -1333,9 +1352,9 @@ export interface ServiceAssociationLinkOutput extends SubResourceOutput { /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Properties of ServiceAssociationLink. */ @@ -1345,7 +1364,7 @@ export interface ServiceAssociationLinkPropertiesFormatOutput { /** Link to the external resource. */ link?: string; /** The provisioning state of the service association link resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** If true, the resource can be deleted. */ allowDelete?: boolean; /** A list of locations. */ @@ -1359,7 +1378,7 @@ export interface DelegationOutput extends SubResourceOutput { /** The name of the resource that is unique within a subnet. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ type?: string; } @@ -1369,9 +1388,9 @@ export interface ServiceDelegationPropertiesFormatOutput { /** The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). */ serviceName?: string; /** The actions permitted to the service upon delegation. */ - actions?: Array; + readonly actions?: Array; /** The provisioning state of the service delegation resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Pool of backend IP addresses. */ @@ -1381,9 +1400,9 @@ export interface BackendAddressPoolOutput extends SubResourceOutput { /** The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of the backend address pool. */ @@ -1395,17 +1414,17 @@ export interface BackendAddressPoolPropertiesFormatOutput { /** An array of backend addresses. */ loadBalancerBackendAddresses?: Array; /** An array of references to IP addresses defined in network interfaces. */ - backendIPConfigurations?: Array; + readonly backendIPConfigurations?: Array; /** An array of references to load balancing rules that use this backend address pool. */ - loadBalancingRules?: Array; + readonly loadBalancingRules?: Array; /** A reference to an outbound rule that uses this backend address pool. */ - outboundRule?: SubResourceOutput; + readonly outboundRule?: SubResourceOutput; /** An array of references to outbound rules that use this backend address pool. */ - outboundRules?: Array; + readonly outboundRules?: Array; /** An array of references to inbound NAT rules that use this backend address pool. */ - inboundNatRules?: Array; + readonly inboundNatRules?: Array; /** The provisioning state of the backend address pool resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Amount of seconds Load Balancer waits for before sending RESET to client and backend address. */ drainPeriodInSeconds?: number; } @@ -1439,11 +1458,11 @@ export interface LoadBalancerBackendAddressPropertiesFormatOutput { /** IP Address belonging to the referenced virtual network. */ ipAddress?: string; /** Reference to IP address defined in network interfaces. */ - networkInterfaceIPConfiguration?: SubResourceOutput; + readonly networkInterfaceIPConfiguration?: SubResourceOutput; /** Reference to the frontend ip address configuration defined in regional loadbalancer. */ loadBalancerFrontendIPConfiguration?: SubResourceOutput; /** Collection of inbound NAT rule port mappings. */ - inboundNatRulesPortMapping?: Array; + readonly inboundNatRulesPortMapping?: Array; /** A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. */ adminState?: "None" | "Up" | "Down" | "Drain"; } @@ -1465,9 +1484,9 @@ export interface InboundNatRuleOutput extends SubResourceOutput { /** The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of the inbound NAT rule. */ @@ -1475,7 +1494,7 @@ export interface InboundNatRulePropertiesFormatOutput { /** A reference to frontend IP addresses. */ frontendIPConfiguration?: SubResourceOutput; /** A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. */ - backendIPConfiguration?: NetworkInterfaceIPConfigurationOutput; + readonly backendIPConfiguration?: NetworkInterfaceIPConfigurationOutput; /** The reference to the transport protocol used by the load balancing rule. */ protocol?: "Udp" | "Tcp" | "All"; /** The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. */ @@ -1495,17 +1514,17 @@ export interface InboundNatRulePropertiesFormatOutput { /** A reference to backendAddressPool resource. */ backendAddressPool?: SubResourceOutput; /** The provisioning state of the inbound NAT rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** PrivateLinkConnection properties for the network interface. */ export interface NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesOutput { /** The group ID for current private link connection. */ - groupId?: string; + readonly groupId?: string; /** The required member name for current private link connection. */ - requiredMemberName?: string; + readonly requiredMemberName?: string; /** List of FQDNs for current private link connection. */ - fqdns?: Array; + readonly fqdns?: Array; } /** Backend address of an application gateway. */ @@ -1517,15 +1536,16 @@ export interface ApplicationGatewayBackendAddressOutput { } /** Backend address pool settings of an application gateway. */ -export interface ApplicationGatewayBackendHttpSettingsOutput extends SubResourceOutput { +export interface ApplicationGatewayBackendHttpSettingsOutput + extends SubResourceOutput { /** Properties of the application gateway backend HTTP settings. */ properties?: ApplicationGatewayBackendHttpSettingsPropertiesFormatOutput; /** Name of the backend http settings that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of Backend address pool settings of an application gateway. */ @@ -1557,7 +1577,7 @@ export interface ApplicationGatewayBackendHttpSettingsPropertiesFormatOutput { /** Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null. */ path?: string; /** The provisioning state of the backend HTTP settings resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration. */ @@ -1569,15 +1589,16 @@ export interface ApplicationGatewayConnectionDrainingOutput { } /** Backend address pool settings of an application gateway. */ -export interface ApplicationGatewayBackendSettingsOutput extends SubResourceOutput { +export interface ApplicationGatewayBackendSettingsOutput + extends SubResourceOutput { /** Properties of the application gateway backend settings. */ properties?: ApplicationGatewayBackendSettingsPropertiesFormatOutput; /** Name of the backend settings that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of Backend address pool settings of an application gateway. */ @@ -1597,19 +1618,20 @@ export interface ApplicationGatewayBackendSettingsPropertiesFormatOutput { /** Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false. */ pickHostNameFromBackendAddress?: boolean; /** The provisioning state of the backend HTTP settings resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Http listener of an application gateway. */ -export interface ApplicationGatewayHttpListenerOutput extends SubResourceOutput { +export interface ApplicationGatewayHttpListenerOutput + extends SubResourceOutput { /** Properties of the application gateway HTTP listener. */ properties?: ApplicationGatewayHttpListenerPropertiesFormatOutput; /** Name of the HTTP listener that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of HTTP listener of an application gateway. */ @@ -1629,7 +1651,7 @@ export interface ApplicationGatewayHttpListenerPropertiesFormatOutput { /** Applicable only if protocol is https. Enables SNI for multi-hosting. */ requireServerNameIndication?: boolean; /** The provisioning state of the HTTP listener resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Custom error configurations of the HTTP listener. */ customErrorConfigurations?: Array; /** Reference to the FirewallPolicy resource. */ @@ -1653,9 +1675,9 @@ export interface ApplicationGatewayListenerOutput extends SubResourceOutput { /** Name of the listener that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of listener of an application gateway. */ @@ -1671,7 +1693,7 @@ export interface ApplicationGatewayListenerPropertiesFormatOutput { /** SSL profile resource of the application gateway. */ sslProfile?: SubResourceOutput; /** The provisioning state of the listener resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** SSL profile of an application gateway. */ @@ -1681,9 +1703,9 @@ export interface ApplicationGatewaySslProfileOutput extends SubResourceOutput { /** Name of the SSL profile that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of SSL profile of an application gateway. */ @@ -1695,7 +1717,7 @@ export interface ApplicationGatewaySslProfilePropertiesFormatOutput { /** Client authentication configuration of the application gateway resource. */ clientAuthConfiguration?: ApplicationGatewayClientAuthConfigurationOutput; /** The provisioning state of the HTTP listener resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Application gateway client authentication configuration. */ @@ -1713,9 +1735,9 @@ export interface ApplicationGatewayUrlPathMapOutput extends SubResourceOutput { /** Name of the URL path map that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of UrlPathMap of the application gateway. */ @@ -1733,7 +1755,7 @@ export interface ApplicationGatewayUrlPathMapPropertiesFormatOutput { /** Path rule of URL path map resource. */ pathRules?: Array; /** The provisioning state of the URL path map resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Path rule of URL path map of an application gateway. */ @@ -1743,9 +1765,9 @@ export interface ApplicationGatewayPathRuleOutput extends SubResourceOutput { /** Name of the path rule that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of path rule of an application gateway. */ @@ -1763,21 +1785,22 @@ export interface ApplicationGatewayPathRulePropertiesFormatOutput { /** Load Distribution Policy resource of URL path map path rule. */ loadDistributionPolicy?: SubResourceOutput; /** The provisioning state of the path rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Reference to the FirewallPolicy resource. */ firewallPolicy?: SubResourceOutput; } /** Request routing rule of an application gateway. */ -export interface ApplicationGatewayRequestRoutingRuleOutput extends SubResourceOutput { +export interface ApplicationGatewayRequestRoutingRuleOutput + extends SubResourceOutput { /** Properties of the application gateway request routing rule. */ properties?: ApplicationGatewayRequestRoutingRulePropertiesFormatOutput; /** Name of the request routing rule that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of request routing rule of the application gateway. */ @@ -1801,7 +1824,7 @@ export interface ApplicationGatewayRequestRoutingRulePropertiesFormatOutput { /** Load Distribution Policy resource of the application gateway. */ loadDistributionPolicy?: SubResourceOutput; /** The provisioning state of the request routing rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Routing rule of an application gateway. */ @@ -1811,9 +1834,9 @@ export interface ApplicationGatewayRoutingRuleOutput extends SubResourceOutput { /** Name of the routing rule that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of routing rule of the application gateway. */ @@ -1829,17 +1852,18 @@ export interface ApplicationGatewayRoutingRulePropertiesFormatOutput { /** Listener resource of the application gateway. */ listener?: SubResourceOutput; /** The provisioning state of the request routing rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Rewrite rule set of an application gateway. */ -export interface ApplicationGatewayRewriteRuleSetOutput extends SubResourceOutput { +export interface ApplicationGatewayRewriteRuleSetOutput + extends SubResourceOutput { /** Properties of the application gateway rewrite rule set. */ properties?: ApplicationGatewayRewriteRuleSetPropertiesFormatOutput; /** Name of the rewrite rule set that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of rewrite rule set of the application gateway. */ @@ -1847,7 +1871,7 @@ export interface ApplicationGatewayRewriteRuleSetPropertiesFormatOutput { /** Rewrite rules in the rewrite rule set. */ rewriteRules?: Array; /** The provisioning state of the rewrite rule set resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Rewrite rule of an application gateway. */ @@ -1903,15 +1927,16 @@ export interface ApplicationGatewayUrlConfigurationOutput { } /** Redirect configuration of an application gateway. */ -export interface ApplicationGatewayRedirectConfigurationOutput extends SubResourceOutput { +export interface ApplicationGatewayRedirectConfigurationOutput + extends SubResourceOutput { /** Properties of the application gateway redirect configuration. */ properties?: ApplicationGatewayRedirectConfigurationPropertiesFormatOutput; /** Name of the redirect configuration that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of redirect configuration of the application gateway. */ @@ -1985,15 +2010,16 @@ export interface ApplicationGatewayAutoscaleConfigurationOutput { } /** Private Link Configuration on an application gateway. */ -export interface ApplicationGatewayPrivateLinkConfigurationOutput extends SubResourceOutput { +export interface ApplicationGatewayPrivateLinkConfigurationOutput + extends SubResourceOutput { /** Properties of the application gateway private link configuration. */ properties?: ApplicationGatewayPrivateLinkConfigurationPropertiesOutput; /** Name of the private link configuration that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of private link configuration on an application gateway. */ @@ -2001,19 +2027,20 @@ export interface ApplicationGatewayPrivateLinkConfigurationPropertiesOutput { /** An array of application gateway private link ip configurations. */ ipConfigurations?: Array; /** The provisioning state of the application gateway private link configuration. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** The application gateway private link ip configuration. */ -export interface ApplicationGatewayPrivateLinkIpConfigurationOutput extends SubResourceOutput { +export interface ApplicationGatewayPrivateLinkIpConfigurationOutput + extends SubResourceOutput { /** Properties of an application gateway private link ip configuration. */ properties?: ApplicationGatewayPrivateLinkIpConfigurationPropertiesOutput; /** The name of application gateway private link ip configuration. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The resource type. */ - type?: string; + readonly type?: string; } /** Properties of an application gateway private link IP configuration. */ @@ -2027,43 +2054,45 @@ export interface ApplicationGatewayPrivateLinkIpConfigurationPropertiesOutput { /** Whether the ip configuration is primary or not. */ primary?: boolean; /** The provisioning state of the application gateway private link IP configuration. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Private Endpoint connection on an application gateway. */ -export interface ApplicationGatewayPrivateEndpointConnectionOutput extends SubResourceOutput { +export interface ApplicationGatewayPrivateEndpointConnectionOutput + extends SubResourceOutput { /** Properties of the application gateway private endpoint connection. */ properties?: ApplicationGatewayPrivateEndpointConnectionPropertiesOutput; /** Name of the private endpoint connection on an application gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of Private Link Resource of an application gateway. */ export interface ApplicationGatewayPrivateEndpointConnectionPropertiesOutput { /** The resource of private end point. */ - privateEndpoint?: PrivateEndpointOutput; + readonly privateEndpoint?: PrivateEndpointOutput; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateOutput; /** The provisioning state of the application gateway private endpoint connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The consumer link id. */ - linkIdentifier?: string; + readonly linkIdentifier?: string; } /** Load Distribution Policy of an application gateway. */ -export interface ApplicationGatewayLoadDistributionPolicyOutput extends SubResourceOutput { +export interface ApplicationGatewayLoadDistributionPolicyOutput + extends SubResourceOutput { /** Properties of the application gateway load distribution policy. */ properties?: ApplicationGatewayLoadDistributionPolicyPropertiesFormatOutput; /** Name of the load distribution policy that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of Load Distribution Policy of an application gateway. */ @@ -2073,19 +2102,20 @@ export interface ApplicationGatewayLoadDistributionPolicyPropertiesFormatOutput /** Load Distribution Targets resource of an application gateway. */ loadDistributionAlgorithm?: "RoundRobin" | "LeastConnections" | "IpHash"; /** The provisioning state of the Load Distribution Policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Load Distribution Target of an application gateway. */ -export interface ApplicationGatewayLoadDistributionTargetOutput extends SubResourceOutput { +export interface ApplicationGatewayLoadDistributionTargetOutput + extends SubResourceOutput { /** Properties of the application gateway load distribution target. */ properties?: ApplicationGatewayLoadDistributionTargetPropertiesFormatOutput; /** Name of the load distribution policy that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } export interface ApplicationGatewayLoadDistributionTargetPropertiesFormatOutput { @@ -2106,11 +2136,15 @@ export interface ApplicationGatewayGlobalConfigurationOutput { /** Identity for the resource. */ export interface ManagedServiceIdentityOutput { /** The principal id of the system assigned identity. This property will only be provided for a system assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. */ - tenantId?: string; + readonly tenantId?: string; /** The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ - type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; + type?: + | "SystemAssigned" + | "UserAssigned" + | "SystemAssigned, UserAssigned" + | "None"; /** The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record< string, @@ -2120,9 +2154,9 @@ export interface ManagedServiceIdentityOutput { export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalpropertiesOutput { /** The principal id of user assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The client id of user assigned identity. */ - clientId?: string; + readonly clientId?: string; } /** Response for ListApplicationGateways API service call. */ @@ -2184,23 +2218,24 @@ export interface ApplicationGatewayPrivateLinkResourceListResultOutput { } /** PrivateLink Resource of an application gateway. */ -export interface ApplicationGatewayPrivateLinkResourceOutput extends SubResourceOutput { +export interface ApplicationGatewayPrivateLinkResourceOutput + extends SubResourceOutput { /** Properties of the application gateway private link resource. */ properties?: ApplicationGatewayPrivateLinkResourcePropertiesOutput; /** Name of the private link resource that is unique within an Application Gateway. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of a private link resource. */ export interface ApplicationGatewayPrivateLinkResourcePropertiesOutput { /** Group identifier of private link resource. */ - groupId?: string; + readonly groupId?: string; /** Required member names of private link resource. */ - requiredMembers?: Array; + readonly requiredMembers?: Array; /** Required DNS zone names of the the private link resource. */ requiredZoneNames?: Array; } @@ -2244,7 +2279,8 @@ export interface ApplicationGatewayAvailableWafRuleSetsResultOutput { } /** A web application firewall rule set. */ -export interface ApplicationGatewayFirewallRuleSetOutput extends ResourceOutput { +export interface ApplicationGatewayFirewallRuleSetOutput + extends ResourceOutput { /** Properties of the application gateway firewall rule set. */ properties?: ApplicationGatewayFirewallRuleSetPropertiesFormatOutput; } @@ -2252,7 +2288,7 @@ export interface ApplicationGatewayFirewallRuleSetOutput extends ResourceOutput /** Properties of the web application firewall rule set. */ export interface ApplicationGatewayFirewallRuleSetPropertiesFormatOutput { /** The provisioning state of the web application firewall rule set. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of the web application firewall rule set. */ ruleSetType: string; /** The version of the web application firewall rule set type. */ @@ -2288,7 +2324,8 @@ export interface ApplicationGatewayFirewallRuleOutput { } /** Response for ApplicationGatewayAvailableSslOptions API service call. */ -export interface ApplicationGatewayAvailableSslOptionsOutput extends ResourceOutput { +export interface ApplicationGatewayAvailableSslOptionsOutput + extends ResourceOutput { /** Properties of the application gateway available SSL options. */ properties?: ApplicationGatewayAvailableSslOptionsPropertiesFormatOutput; } @@ -2348,7 +2385,8 @@ export interface ApplicationGatewayAvailableSslPredefinedPoliciesOutput { } /** An Ssl predefined policy. */ -export interface ApplicationGatewaySslPredefinedPolicyOutput extends SubResourceOutput { +export interface ApplicationGatewaySslPredefinedPolicyOutput + extends SubResourceOutput { /** Name of the Ssl predefined policy. */ name?: string; /** Properties of the application gateway SSL predefined policy. */ @@ -2397,9 +2435,9 @@ export interface ApplicationGatewayWafDynamicManifestResultOutput { /** Resource ID. */ id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Properties of the ApplicationGatewayWafDynamicManifest . */ properties?: ApplicationGatewayWafDynamicManifestPropertiesResultOutput; } @@ -2447,7 +2485,7 @@ export interface ApplicationSecurityGroupListResultOutput { /** A list of application security groups. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** An array of available delegations. */ @@ -2455,7 +2493,7 @@ export interface AvailableDelegationsResultOutput { /** An array of available delegations. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. */ @@ -2477,7 +2515,7 @@ export interface AvailableServiceAliasesResultOutput { /** An array of available service aliases. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The available service alias. */ @@ -2499,7 +2537,7 @@ export interface AzureFirewallOutput extends ResourceOutput { /** A list of availability zones denoting where the resource needs to come from. */ zones?: Array; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the Azure Firewall. */ @@ -2515,7 +2553,7 @@ export interface AzureFirewallPropertiesFormatOutput { /** IP configuration of the Azure Firewall used for management traffic. */ managementIpConfiguration?: AzureFirewallIPConfigurationOutput; /** The provisioning state of the Azure firewall resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The operation mode for Threat Intelligence. */ threatIntelMode?: "Alert" | "Deny" | "Off"; /** The virtualHub to which the firewall belongs. */ @@ -2525,7 +2563,7 @@ export interface AzureFirewallPropertiesFormatOutput { /** IP addresses associated with AzureFirewall. */ hubIPAddresses?: HubIPAddressesOutput; /** IpGroups associated with AzureFirewall. */ - ipGroups?: Array; + readonly ipGroups?: Array; /** The Azure Firewall Resource SKU. */ sku?: AzureFirewallSkuOutput; /** The additional properties used to further config this azure firewall. */ @@ -2533,13 +2571,14 @@ export interface AzureFirewallPropertiesFormatOutput { } /** Application rule collection resource. */ -export interface AzureFirewallApplicationRuleCollectionOutput extends SubResourceOutput { +export interface AzureFirewallApplicationRuleCollectionOutput + extends SubResourceOutput { /** Properties of the azure firewall application rule collection. */ properties?: AzureFirewallApplicationRuleCollectionPropertiesFormatOutput; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the application rule collection. */ @@ -2551,7 +2590,7 @@ export interface AzureFirewallApplicationRuleCollectionPropertiesFormatOutput { /** Collection of rules used by a application rule collection. */ rules?: Array; /** The provisioning state of the application rule collection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Properties of the AzureFirewallRCAction. */ @@ -2587,13 +2626,14 @@ export interface AzureFirewallApplicationRuleProtocolOutput { } /** NAT rule collection resource. */ -export interface AzureFirewallNatRuleCollectionOutput extends SubResourceOutput { +export interface AzureFirewallNatRuleCollectionOutput + extends SubResourceOutput { /** Properties of the azure firewall NAT rule collection. */ properties?: AzureFirewallNatRuleCollectionPropertiesOutput; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the NAT rule collection. */ @@ -2605,7 +2645,7 @@ export interface AzureFirewallNatRuleCollectionPropertiesOutput { /** Collection of rules used by a NAT rule collection. */ rules?: Array; /** The provisioning state of the NAT rule collection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** AzureFirewall NAT Rule Collection Action. */ @@ -2639,13 +2679,14 @@ export interface AzureFirewallNatRuleOutput { } /** Network rule collection resource. */ -export interface AzureFirewallNetworkRuleCollectionOutput extends SubResourceOutput { +export interface AzureFirewallNetworkRuleCollectionOutput + extends SubResourceOutput { /** Properties of the azure firewall network rule collection. */ properties?: AzureFirewallNetworkRuleCollectionPropertiesFormatOutput; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the network rule collection. */ @@ -2657,7 +2698,7 @@ export interface AzureFirewallNetworkRuleCollectionPropertiesFormatOutput { /** Collection of rules used by a network rule collection. */ rules?: Array; /** The provisioning state of the network rule collection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Properties of the network rule. */ @@ -2689,21 +2730,21 @@ export interface AzureFirewallIPConfigurationOutput extends SubResourceOutput { /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of IP configuration of an Azure Firewall. */ export interface AzureFirewallIPConfigurationPropertiesFormatOutput { /** The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. */ - privateIPAddress?: string; + readonly privateIPAddress?: string; /** Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. */ subnet?: SubResourceOutput; /** Reference to the PublicIP resource. This field is a mandatory input if subnet is not null. */ publicIPAddress?: SubResourceOutput; /** The provisioning state of the Azure firewall IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IP addresses associated with azure firewall. */ @@ -2731,9 +2772,9 @@ export interface AzureFirewallPublicIPAddressOutput { /** IpGroups associated with azure firewall. */ export interface AzureFirewallIpGroupsOutput { /** Resource ID. */ - id?: string; + readonly id?: string; /** The iteration number. */ - changeNumber?: string; + readonly changeNumber?: string; } /** SKU of an Azure Firewall. */ @@ -2771,15 +2812,15 @@ export interface AzureFirewallFqdnTagOutput extends ResourceOutput { /** Properties of the azure firewall FQDN tag. */ properties?: AzureFirewallFqdnTagPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Azure Firewall FQDN Tag Properties. */ export interface AzureFirewallFqdnTagPropertiesFormatOutput { /** The provisioning state of the Azure firewall FQDN tag resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The name of this FQDN Tag. */ - fqdnTagName?: string; + readonly fqdnTagName?: string; } /** Azure Web Category Resource. */ @@ -2789,17 +2830,17 @@ export interface AzureWebCategoryOutput { /** Resource ID. */ id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Azure Web Category Properties. */ export interface AzureWebCategoryPropertiesFormatOutput { /** The name of the group that the category belongs to. */ - group?: string; + readonly group?: string; } /** Response for ListAzureWebCategories API service call. */ @@ -2815,7 +2856,7 @@ export interface BastionHostOutput extends ResourceOutput { /** Represents the bastion host resource. */ properties?: BastionHostPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The sku of this Bastion Host. */ sku?: SkuOutput; } @@ -2827,7 +2868,7 @@ export interface BastionHostPropertiesFormatOutput { /** FQDN for the endpoint on which bastion host is accessible. */ dnsName?: string; /** The provisioning state of the bastion host resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The scale units for the Bastion Host resource. */ scaleUnits?: number; /** Enable/Disable Copy/Paste feature of the Bastion Host resource. */ @@ -2849,9 +2890,9 @@ export interface BastionHostIPConfigurationOutput extends SubResourceOutput { /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Ip configuration type. */ - type?: string; + readonly type?: string; } /** Properties of IP configuration of an Bastion Host. */ @@ -2861,7 +2902,7 @@ export interface BastionHostIPConfigurationPropertiesFormatOutput { /** Reference of the PublicIP resource. */ publicIPAddress: SubResourceOutput; /** The provisioning state of the bastion host IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Private IP allocation method. */ privateIPAllocationMethod?: "Static" | "Dynamic"; } @@ -2885,11 +2926,11 @@ export interface BastionShareableLinkOutput { /** Reference of the virtual machine resource. */ vm: VmOutput; /** The unique Bastion Shareable Link to the virtual machine. */ - bsl?: string; + readonly bsl?: string; /** The time when the link was created. */ - createdAt?: string; + readonly createdAt?: string; /** Optional field indicating the warning or error message related to the vm in case of partial failure. */ - message?: string; + readonly message?: string; } /** Describes a Virtual Machine. */ @@ -2914,27 +2955,27 @@ export interface BastionActiveSessionListResultOutput { /** The session detail for a target. */ export interface BastionActiveSessionOutput { /** A unique id for the session. */ - sessionId?: string; + readonly sessionId?: string; /** The time when the session started. */ - startTime?: Record; + readonly startTime?: Record; /** The subscription id for the target virtual machine. */ - targetSubscriptionId?: string; + readonly targetSubscriptionId?: string; /** The type of the resource. */ - resourceType?: string; + readonly resourceType?: string; /** The host name of the target. */ - targetHostName?: string; + readonly targetHostName?: string; /** The resource group of the target. */ - targetResourceGroup?: string; + readonly targetResourceGroup?: string; /** The user name who is active on this session. */ - userName?: string; + readonly userName?: string; /** The IP Address of the target. */ - targetIpAddress?: string; + readonly targetIpAddress?: string; /** The protocol used to connect to the target. */ - protocol?: "SSH" | "RDP"; + readonly protocol?: "SSH" | "RDP"; /** The resource id of the target. */ - targetResourceId?: string; + readonly targetResourceId?: string; /** Duration in mins the session has been active. */ - sessionDurationInMins?: number; + readonly sessionDurationInMins?: number; } /** Response for DisconnectActiveSessions. */ @@ -2948,11 +2989,11 @@ export interface BastionSessionDeleteResultOutput { /** The session state detail for a target. */ export interface BastionSessionStateOutput { /** A unique id for the session. */ - sessionId?: string; + readonly sessionId?: string; /** Used for extra information. */ - message?: string; + readonly message?: string; /** The state of the session. Disconnected/Failed/NotFound. */ - state?: string; + readonly state?: string; } /** Response for the CheckDnsNameAvailability API service call. */ @@ -2966,7 +3007,7 @@ export interface NetworkInterfaceListResultOutput { /** A list of network interfaces in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListPublicIpAddresses API service call. */ @@ -2984,7 +3025,7 @@ export interface CustomIpPrefixOutput extends ResourceOutput { /** Custom IP prefix properties. */ properties?: CustomIpPrefixPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** A list of availability zones denoting the IP allocated for the resource needs to come from. */ zones?: Array; } @@ -3002,7 +3043,7 @@ export interface CustomIpPrefixPropertiesFormatOutput { /** The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. */ customIpPrefixParent?: SubResourceOutput; /** The list of all Children for IPv6 /48 CustomIpPrefix. */ - childCustomIpPrefixes?: Array; + readonly childCustomIpPrefixes?: Array; /** The commissioned state of the Custom IP Prefix. */ commissionedState?: | "Provisioning" @@ -3016,19 +3057,28 @@ export interface CustomIpPrefixPropertiesFormatOutput { /** Whether to do express route advertise. */ expressRouteAdvertise?: boolean; /** The Geo for CIDR advertising. Should be an Geo code. */ - geo?: "GLOBAL" | "AFRI" | "APAC" | "EURO" | "LATAM" | "NAM" | "ME" | "OCEANIA" | "AQ"; + geo?: + | "GLOBAL" + | "AFRI" + | "APAC" + | "EURO" + | "LATAM" + | "NAM" + | "ME" + | "OCEANIA" + | "AQ"; /** Whether to Advertise the range to Internet. */ noInternetAdvertise?: boolean; /** Type of custom IP prefix. Should be Singular, Parent, or Child. */ prefixType?: "Singular" | "Parent" | "Child"; /** The list of all referenced PublicIpPrefixes. */ - publicIpPrefixes?: Array; + readonly publicIpPrefixes?: Array; /** The resource GUID property of the custom IP prefix resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The reason why resource is in failed state. */ - failedReason?: string; + readonly failedReason?: string; /** The provisioning state of the custom IP prefix resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for ListCustomIpPrefixes API service call. */ @@ -3044,25 +3094,25 @@ export interface DdosCustomPolicyOutput extends ResourceOutput { /** Properties of the DDoS custom policy. */ properties?: DdosCustomPolicyPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** DDoS custom policy properties. */ export interface DdosCustomPolicyPropertiesFormatOutput { /** The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the DDoS custom policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** A DDoS protection plan in a resource group. */ export interface DdosProtectionPlanOutput { /** Resource ID. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource location. */ location?: string; /** Resource tags. */ @@ -3070,19 +3120,19 @@ export interface DdosProtectionPlanOutput { /** Properties of the DDoS protection plan. */ properties?: DdosProtectionPlanPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** DDoS protection plan properties. */ export interface DdosProtectionPlanPropertiesFormatOutput { /** The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the DDoS protection plan resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The list of public IPs associated with the DDoS protection plan resource. This list is read-only. */ - publicIpAddresses?: Array; + readonly publicIpAddresses?: Array; /** The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. */ - virtualNetworks?: Array; + readonly virtualNetworks?: Array; } /** A list of DDoS protection plans. */ @@ -3090,7 +3140,7 @@ export interface DdosProtectionPlanListResultOutput { /** A list of DDoS protection plans. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Differentiated Services Code Point configuration for any given network interface */ @@ -3098,7 +3148,7 @@ export interface DscpConfigurationOutput extends ResourceOutput { /** Properties of the network interface. */ properties?: DscpConfigurationPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Differentiated Services Code Point configuration properties. */ @@ -3114,17 +3164,26 @@ export interface DscpConfigurationPropertiesFormatOutput { /** Destination port ranges. */ destinationPortRanges?: Array; /** RNM supported protocol types. */ - protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; + protocol?: + | "DoNotUse" + | "Icmp" + | "Tcp" + | "Udp" + | "Gre" + | "Esp" + | "Ah" + | "Vxlan" + | "All"; /** QoS object definitions */ qosDefinitionCollection?: Array; /** Qos Collection ID generated by RNM. */ - qosCollectionId?: string; + readonly qosCollectionId?: string; /** Associated Network Interfaces to the DSCP Configuration. */ - associatedNetworkInterfaces?: Array; + readonly associatedNetworkInterfaces?: Array; /** The resource GUID property of the DSCP Configuration resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the DSCP Configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Qos Traffic Profiler IP Range properties. */ @@ -3156,7 +3215,16 @@ export interface QosDefinitionOutput { /** Destination port ranges. */ destinationPortRanges?: Array; /** RNM supported protocol types. */ - protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; + protocol?: + | "DoNotUse" + | "Icmp" + | "Tcp" + | "Udp" + | "Gre" + | "Esp" + | "Ah" + | "Vxlan" + | "All"; } /** Response for the DscpConfigurationList API service call. */ @@ -3164,7 +3232,7 @@ export interface DscpConfigurationListResultOutput { /** A list of dscp configurations in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for the ListAvailableEndpointServices API service call. */ @@ -3178,21 +3246,22 @@ export interface EndpointServicesListResultOutput { /** Endpoint service. */ export interface EndpointServiceResultOutput extends SubResourceOutput { /** Name of the endpoint service. */ - name?: string; + readonly name?: string; /** Type of the endpoint service. */ - type?: string; + readonly type?: string; } /** Authorization in an ExpressRouteCircuit resource. */ -export interface ExpressRouteCircuitAuthorizationOutput extends SubResourceOutput { +export interface ExpressRouteCircuitAuthorizationOutput + extends SubResourceOutput { /** Properties of the express route circuit authorization. */ properties?: AuthorizationPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of ExpressRouteCircuitAuthorization. */ @@ -3202,7 +3271,7 @@ export interface AuthorizationPropertiesFormatOutput { /** The authorization use status. */ authorizationUseStatus?: "Available" | "InUse"; /** The provisioning state of the authorization resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. */ @@ -3220,15 +3289,18 @@ export interface ExpressRouteCircuitPeeringOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of the express route circuit peering. */ export interface ExpressRouteCircuitPeeringPropertiesFormatOutput { /** The peering type. */ - peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; + peeringType?: + | "AzurePublicPeering" + | "AzurePrivatePeering" + | "MicrosoftPeering"; /** The peering state. */ state?: "Disabled" | "Enabled"; /** The Azure ASN. */ @@ -3252,11 +3324,11 @@ export interface ExpressRouteCircuitPeeringPropertiesFormatOutput { /** The peering stats of express route circuit. */ stats?: ExpressRouteCircuitStatsOutput; /** The provisioning state of the express route circuit peering resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The GatewayManager Etag. */ gatewayManagerEtag?: string; /** Who was the last to modify the peering. */ - lastModifiedBy?: string; + readonly lastModifiedBy?: string; /** The reference to the RouteFilter resource. */ routeFilter?: SubResourceOutput; /** The IPv6 peering configuration. */ @@ -3266,7 +3338,7 @@ export interface ExpressRouteCircuitPeeringPropertiesFormatOutput { /** The list of circuit connections associated with Azure Private Peering for this circuit. */ connections?: Array; /** The list of peered circuit connections associated with Azure Private Peering for this circuit. */ - peeredConnections?: Array; + readonly peeredConnections?: Array; } /** Specifies the peering configuration. */ @@ -3276,7 +3348,7 @@ export interface ExpressRouteCircuitPeeringConfigOutput { /** The communities of bgp peering. Specified for microsoft peering. */ advertisedCommunities?: Array; /** The advertised public prefix state of the Peering resource. */ - advertisedPublicPrefixesState?: + readonly advertisedPublicPrefixesState?: | "NotConfigured" | "Configuring" | "Configured" @@ -3318,7 +3390,7 @@ export interface Ipv6ExpressRouteCircuitPeeringConfigOutput { /** The ID of the ExpressRouteConnection. */ export interface ExpressRouteConnectionIdOutput { /** The ID of the ExpressRouteConnection. */ - id?: string; + readonly id?: string; } /** Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. */ @@ -3328,9 +3400,9 @@ export interface ExpressRouteCircuitConnectionOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of the express route circuit connection. */ @@ -3346,9 +3418,12 @@ export interface ExpressRouteCircuitConnectionPropertiesFormatOutput { /** IPv6 Address PrefixProperties of the express route circuit connection. */ ipv6CircuitConnectionConfig?: Ipv6CircuitConnectionConfigOutput; /** Express Route Circuit connection state. */ - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; + readonly circuitConnectionStatus?: + | "Connected" + | "Connecting" + | "Disconnected"; /** The provisioning state of the express route circuit connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** IPv6 Circuit Connection properties for global reach. */ @@ -3356,19 +3431,23 @@ export interface Ipv6CircuitConnectionConfigOutput { /** /125 IP address space to carve out customer addresses for global reach. */ addressPrefix?: string; /** Express Route Circuit connection state. */ - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; + readonly circuitConnectionStatus?: + | "Connected" + | "Connecting" + | "Disconnected"; } /** Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. */ -export interface PeerExpressRouteCircuitConnectionOutput extends SubResourceOutput { +export interface PeerExpressRouteCircuitConnectionOutput + extends SubResourceOutput { /** Properties of the peer express route circuit connection. */ properties?: PeerExpressRouteCircuitConnectionPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of the peer express route circuit connection. */ @@ -3380,13 +3459,16 @@ export interface PeerExpressRouteCircuitConnectionPropertiesFormatOutput { /** /29 IP address space to carve out Customer addresses for tunnels. */ addressPrefix?: string; /** Express Route Circuit connection state. */ - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; + readonly circuitConnectionStatus?: + | "Connected" + | "Connecting" + | "Disconnected"; /** The name of the express route circuit connection resource. */ connectionName?: string; /** The resource guid of the authorization used for the express route circuit connection. */ authResourceGuid?: string; /** The provisioning state of the peer express route circuit connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. */ @@ -3420,7 +3502,7 @@ export interface ExpressRouteCircuitOutput extends ResourceOutput { /** Properties of the express route circuit. */ properties?: ExpressRouteCircuitPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Contains SKU in an ExpressRouteCircuit. */ @@ -3460,9 +3542,9 @@ export interface ExpressRouteCircuitPropertiesFormatOutput { /** The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. */ bandwidthInGbps?: number; /** The identifier of the circuit traffic. Outer tag for QinQ encapsulation. */ - stag?: number; + readonly stag?: number; /** The provisioning state of the express route circuit resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The GatewayManager Etag. */ gatewayManagerEtag?: string; /** Flag denoting global reach status. */ @@ -3574,7 +3656,7 @@ export interface ExpressRouteServiceProviderPropertiesFormatOutput { /** A list of bandwidths offered. */ bandwidthsOffered?: Array; /** The provisioning state of the express route service provider resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Contains bandwidths offered in ExpressRouteServiceProvider resources. */ @@ -3590,7 +3672,7 @@ export interface ExpressRouteCrossConnectionListResultOutput { /** A list of ExpressRouteCrossConnection resources. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** ExpressRouteCrossConnection resource. */ @@ -3598,21 +3680,21 @@ export interface ExpressRouteCrossConnectionOutput extends ResourceOutput { /** Properties of the express route cross connection. */ properties?: ExpressRouteCrossConnectionPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of ExpressRouteCrossConnection. */ export interface ExpressRouteCrossConnectionPropertiesOutput { /** The name of the primary port. */ - primaryAzurePort?: string; + readonly primaryAzurePort?: string; /** The name of the secondary port. */ - secondaryAzurePort?: string; + readonly secondaryAzurePort?: string; /** The identifier of the circuit traffic. */ - sTag?: number; + readonly sTag?: number; /** The peering location of the ExpressRoute circuit. */ - peeringLocation?: string; + readonly peeringLocation?: string; /** The circuit bandwidth In Mbps. */ - bandwidthInMbps?: number; + readonly bandwidthInMbps?: number; /** The ExpressRouteCircuit. */ expressRouteCircuit?: ExpressRouteCircuitReferenceOutput; /** The provisioning state of the circuit in the connectivity provider system. */ @@ -3624,7 +3706,7 @@ export interface ExpressRouteCrossConnectionPropertiesOutput { /** Additional read only notes set by the connectivity provider. */ serviceProviderNotes?: string; /** The provisioning state of the express route cross connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The list of peerings. */ peerings?: Array; } @@ -3636,23 +3718,27 @@ export interface ExpressRouteCircuitReferenceOutput { } /** Peering in an ExpressRoute Cross Connection resource. */ -export interface ExpressRouteCrossConnectionPeeringOutput extends SubResourceOutput { +export interface ExpressRouteCrossConnectionPeeringOutput + extends SubResourceOutput { /** Properties of the express route cross connection peering. */ properties?: ExpressRouteCrossConnectionPeeringPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of express route cross connection peering. */ export interface ExpressRouteCrossConnectionPeeringPropertiesOutput { /** The peering type. */ - peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; + peeringType?: + | "AzurePublicPeering" + | "AzurePrivatePeering" + | "MicrosoftPeering"; /** The peering state. */ state?: "Disabled" | "Enabled"; /** The Azure ASN. */ - azureASN?: number; + readonly azureASN?: number; /** The peer ASN. */ peerASN?: number; /** The primary address prefix. */ @@ -3660,9 +3746,9 @@ export interface ExpressRouteCrossConnectionPeeringPropertiesOutput { /** The secondary address prefix. */ secondaryPeerAddressPrefix?: string; /** The primary port. */ - primaryAzurePort?: string; + readonly primaryAzurePort?: string; /** The secondary port. */ - secondaryAzurePort?: string; + readonly secondaryAzurePort?: string; /** The shared key. */ sharedKey?: string; /** The VLAN ID. */ @@ -3670,11 +3756,11 @@ export interface ExpressRouteCrossConnectionPeeringPropertiesOutput { /** The Microsoft peering configuration. */ microsoftPeeringConfig?: ExpressRouteCircuitPeeringConfigOutput; /** The provisioning state of the express route cross connection peering resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The GatewayManager Etag. */ gatewayManagerEtag?: string; /** Who was the last to modify the peering. */ - lastModifiedBy?: string; + readonly lastModifiedBy?: string; /** The IPv6 peering configuration. */ ipv6PeeringConfig?: Ipv6ExpressRouteCircuitPeeringConfigOutput; } @@ -3684,7 +3770,7 @@ export interface ExpressRouteCrossConnectionPeeringListOutput { /** The peerings in an express route cross connection. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListRoutesTable associated with the Express Route Cross Connections. */ @@ -3692,7 +3778,7 @@ export interface ExpressRouteCrossConnectionsRoutesTableSummaryListResultOutput /** A list of the routes table. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The routes table associated with the ExpressRouteCircuit. */ @@ -3724,21 +3810,21 @@ export interface ExpressRoutePortsLocationOutput extends ResourceOutput { /** Properties specific to ExpressRoutePorts peering location resources. */ export interface ExpressRoutePortsLocationPropertiesFormatOutput { /** Address of peering location. */ - address?: string; + readonly address?: string; /** Contact details of peering locations. */ - contact?: string; + readonly contact?: string; /** The inventory of available ExpressRoutePort bandwidths. */ availableBandwidths?: Array; /** The provisioning state of the express route port location resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Real-time inventory of available ExpressRoute port bandwidths. */ export interface ExpressRoutePortsLocationBandwidthsOutput { /** Bandwidth descriptive name. */ - offerName?: string; + readonly offerName?: string; /** Bandwidth value in Gbps. */ - valueInGbps?: number; + readonly valueInGbps?: number; } /** ExpressRoutePort resource definition. */ @@ -3746,7 +3832,7 @@ export interface ExpressRoutePortOutput extends ResourceOutput { /** ExpressRoutePort properties. */ properties?: ExpressRoutePortPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The identity of ExpressRoutePort, if configured. */ identity?: ManagedServiceIdentityOutput; } @@ -3758,23 +3844,23 @@ export interface ExpressRoutePortPropertiesFormatOutput { /** Bandwidth of procured ports in Gbps. */ bandwidthInGbps?: number; /** Aggregate Gbps of associated circuit bandwidths. */ - provisionedBandwidthInGbps?: number; + readonly provisionedBandwidthInGbps?: number; /** Maximum transmission unit of the physical port pair(s). */ - mtu?: string; + readonly mtu?: string; /** Encapsulation method on physical ports. */ encapsulation?: "Dot1Q" | "QinQ"; /** Ether type of the physical port. */ - etherType?: string; + readonly etherType?: string; /** Date of the physical port allocation to be used in Letter of Authorization. */ - allocationDate?: string; + readonly allocationDate?: string; /** The set of physical links of the ExpressRoutePort resource. */ links?: Array; /** Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. */ - circuits?: Array; + readonly circuits?: Array; /** The provisioning state of the express route port resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The resource GUID property of the express route port resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The billing type of the ExpressRoutePort resource. */ billingType?: "MeteredData" | "UnlimitedData"; } @@ -3786,27 +3872,27 @@ export interface ExpressRouteLinkOutput extends SubResourceOutput { /** Name of child port resource that is unique among child port resources of the parent. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties specific to ExpressRouteLink resources. */ export interface ExpressRouteLinkPropertiesFormatOutput { /** Name of Azure router associated with physical port. */ - routerName?: string; + readonly routerName?: string; /** Name of Azure router interface. */ - interfaceName?: string; + readonly interfaceName?: string; /** Mapping between physical port to patch panel port. */ - patchPanelId?: string; + readonly patchPanelId?: string; /** Mapping of physical patch panel to rack. */ - rackId?: string; + readonly rackId?: string; /** Cololocation for ExpressRoute Hybrid Direct. */ - coloLocation?: string; + readonly coloLocation?: string; /** Physical fiber port type. */ - connectorType?: "LC" | "SC"; + readonly connectorType?: "LC" | "SC"; /** Administrative state of the physical port. */ adminState?: "Enabled" | "Disabled"; /** The provisioning state of the express route link resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** MacSec configuration. */ macSecConfig?: ExpressRouteLinkMacSecConfigOutput; } @@ -3852,21 +3938,21 @@ export interface ExpressRoutePortAuthorizationOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of ExpressRoutePort Authorization. */ export interface ExpressRoutePortAuthorizationPropertiesFormatOutput { /** The authorization key. */ - authorizationKey?: string; + readonly authorizationKey?: string; /** The authorization use status. */ - authorizationUseStatus?: "Available" | "InUse"; + readonly authorizationUseStatus?: "Available" | "InUse"; /** The reference to the ExpressRoute circuit resource using the authorization. */ - circuitResourceUri?: string; + readonly circuitResourceUri?: string; /** The provisioning state of the authorization resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for ListExpressRoutePortAuthorizations API service call. */ @@ -3882,7 +3968,7 @@ export interface ExpressRouteProviderPortListResultOutput { /** A list of ExpressRouteProviderPort resources. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** ExpressRouteProviderPort resource. */ @@ -3890,17 +3976,17 @@ export interface ExpressRouteProviderPortOutput extends ResourceOutput { /** Properties of the express route Service Provider Port. */ properties?: ExpressRouteProviderPortPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of ExpressRouteProviderPort. */ export interface ExpressRouteProviderPortPropertiesOutput { /** The name of the port pair. */ - portPairDescriptor?: string; + readonly portPairDescriptor?: string; /** The name of the primary port. */ - primaryAzurePort?: string; + readonly primaryAzurePort?: string; /** The name of the secondary port. */ - secondaryAzurePort?: string; + readonly secondaryAzurePort?: string; /** The peering location of the port pair. */ peeringLocation?: string; /** Overprovisioning factor for the port pair. */ @@ -3918,7 +4004,7 @@ export interface FirewallPolicyOutput extends ResourceOutput { /** Properties of the firewall policy. */ properties?: FirewallPolicyPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The identity of the firewall policy. */ identity?: ManagedServiceIdentityOutput; } @@ -3926,15 +4012,15 @@ export interface FirewallPolicyOutput extends ResourceOutput { /** Firewall Policy definition. */ export interface FirewallPolicyPropertiesFormatOutput { /** List of references to FirewallPolicyRuleCollectionGroups. */ - ruleCollectionGroups?: Array; + readonly ruleCollectionGroups?: Array; /** The provisioning state of the firewall policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The parent firewall policy from which rules are inherited. */ basePolicy?: SubResourceOutput; /** List of references to Azure Firewalls that this Firewall Policy is associated with. */ - firewalls?: Array; + readonly firewalls?: Array; /** List of references to Child Firewall Policies. */ - childPolicies?: Array; + readonly childPolicies?: Array; /** The operation mode for Threat Intelligence. */ threatIntelMode?: "Alert" | "Deny" | "Off"; /** ThreatIntel Whitelist for Firewall Policy. */ @@ -4106,15 +4192,16 @@ export interface FirewallPolicyListResultOutput { } /** Rule Collection Group resource. */ -export interface FirewallPolicyRuleCollectionGroupOutput extends SubResourceOutput { +export interface FirewallPolicyRuleCollectionGroupOutput + extends SubResourceOutput { /** The properties of the firewall policy rule collection group. */ properties?: FirewallPolicyRuleCollectionGroupPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Rule Group type. */ - type?: string; + readonly type?: string; } /** Properties of the rule collection group. */ @@ -4124,7 +4211,7 @@ export interface FirewallPolicyRuleCollectionGroupPropertiesOutput { /** Group of Firewall Policy rule collections. */ ruleCollections?: Array; /** The provisioning state of the firewall policy rule collection group resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Properties of the rule collection. */ @@ -4215,15 +4302,15 @@ export interface IpAllocationOutput extends ResourceOutput { /** Properties of the IpAllocation. */ properties?: IpAllocationPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the IpAllocation. */ export interface IpAllocationPropertiesFormatOutput { /** The Subnet that using the prefix of this IpAllocation resource. */ - subnet?: SubResourceOutput; + readonly subnet?: SubResourceOutput; /** The VirtualNetwork that using the prefix of this IpAllocation resource. */ - virtualNetwork?: SubResourceOutput; + readonly virtualNetwork?: SubResourceOutput; /** The type for the IpAllocation. */ type?: "Undefined" | "Hypernet"; /** The address prefix for the IpAllocation. */ @@ -4251,19 +4338,19 @@ export interface IpGroupOutput extends ResourceOutput { /** Properties of the IpGroups. */ properties?: IpGroupPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** The IpGroups property information. */ export interface IpGroupPropertiesFormatOutput { /** The provisioning state of the IpGroups resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** IpAddresses/IpAddressPrefixes in the IpGroups resource. */ ipAddresses?: Array; /** List of references to Firewall resources that this IpGroups is associated with. */ - firewalls?: Array; + readonly firewalls?: Array; /** List of references to Firewall Policies resources that this IpGroups is associated with. */ - firewallPolicies?: Array; + readonly firewallPolicies?: Array; } /** Response for the ListIpGroups API service call. */ @@ -4283,7 +4370,7 @@ export interface LoadBalancerOutput extends ResourceOutput { /** Properties of load balancer. */ properties?: LoadBalancerPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** SKU of a load balancer. */ @@ -4311,9 +4398,9 @@ export interface LoadBalancerPropertiesFormatOutput { /** The outbound rules. */ outboundRules?: Array; /** The resource GUID property of the load balancer resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the load balancer resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** A load balancing rule for a load balancer. */ @@ -4323,9 +4410,9 @@ export interface LoadBalancingRuleOutput extends SubResourceOutput { /** The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of the load balancer. */ @@ -4355,7 +4442,7 @@ export interface LoadBalancingRulePropertiesFormatOutput { /** Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. */ disableOutboundSnat?: boolean; /** The provisioning state of the load balancing rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** A load balancer probe. */ @@ -4365,15 +4452,15 @@ export interface ProbeOutput extends SubResourceOutput { /** The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Load balancer probe resource. */ export interface ProbePropertiesFormatOutput { /** The load balancer rules that use this probe. */ - loadBalancingRules?: Array; + readonly loadBalancingRules?: Array; /** The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. */ protocol: "Http" | "Tcp" | "Https"; /** The port for communicating the probe. Possible values range from 1 to 65535, inclusive. */ @@ -4387,7 +4474,7 @@ export interface ProbePropertiesFormatOutput { /** The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. */ requestPath?: string; /** The provisioning state of the probe resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Inbound NAT pool of the load balancer. */ @@ -4397,9 +4484,9 @@ export interface InboundNatPoolOutput extends SubResourceOutput { /** The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Properties of Inbound NAT pool. */ @@ -4421,7 +4508,7 @@ export interface InboundNatPoolPropertiesFormatOutput { /** Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. */ enableTcpReset?: boolean; /** The provisioning state of the inbound NAT pool resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Outbound rule of the load balancer. */ @@ -4431,9 +4518,9 @@ export interface OutboundRuleOutput extends SubResourceOutput { /** The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Type of the resource. */ - type?: string; + readonly type?: string; } /** Outbound rule of the load balancer. */ @@ -4445,7 +4532,7 @@ export interface OutboundRulePropertiesFormatOutput { /** A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs. */ backendAddressPool: SubResourceOutput; /** The provisioning state of the outbound rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The protocol for the outbound rule in load balancer. */ protocol: "Tcp" | "Udp" | "All"; /** Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. */ @@ -4459,7 +4546,7 @@ export interface LoadBalancerListResultOutput { /** A list of load balancers in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListBackendAddressPool API service call. */ @@ -4467,7 +4554,7 @@ export interface LoadBalancerBackendAddressPoolListResultOutput { /** A list of backend address pools in a load balancer. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListFrontendIPConfiguration API service call. */ @@ -4475,7 +4562,7 @@ export interface LoadBalancerFrontendIPConfigurationListResultOutput { /** A list of frontend IP configurations in a load balancer. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListInboundNatRule API service call. */ @@ -4483,7 +4570,7 @@ export interface InboundNatRuleListResultOutput { /** A list of inbound NAT rules in a load balancer. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListLoadBalancingRule API service call. */ @@ -4491,7 +4578,7 @@ export interface LoadBalancerLoadBalancingRuleListResultOutput { /** A list of load balancing rules in a load balancer. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListOutboundRule API service call. */ @@ -4499,7 +4586,7 @@ export interface LoadBalancerOutboundRuleListResultOutput { /** A list of outbound rules in a load balancer. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListProbe API service call. */ @@ -4507,7 +4594,7 @@ export interface LoadBalancerProbeListResultOutput { /** A list of probes in a load balancer. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The response for a QueryInboundNatRulePortMapping API. */ @@ -4519,13 +4606,13 @@ export interface BackendAddressInboundNatRulePortMappingsOutput { /** Individual port mappings for inbound NAT rule created for backend pool. */ export interface InboundNatRulePortMappingOutput { /** Name of inbound NAT rule. */ - inboundNatRuleName?: string; + readonly inboundNatRuleName?: string; /** The reference to the transport protocol used by the inbound NAT rule. */ - protocol?: "Udp" | "Tcp" | "All"; + readonly protocol?: "Udp" | "Tcp" | "All"; /** Frontend port. */ - frontendPort?: number; + readonly frontendPort?: number; /** Backend port. */ - backendPort?: number; + readonly backendPort?: number; } /** Response for ListNatGateways API service call. */ @@ -4541,7 +4628,7 @@ export interface EffectiveRouteListResultOutput { /** A list of effective routes. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Effective Route. */ @@ -4559,7 +4646,12 @@ export interface EffectiveRouteOutput { /** The IP address of the next hop of the effective route. */ nextHopIpAddress?: Array; /** The type of Azure hop the packet should be sent to. */ - nextHopType?: "VirtualNetworkGateway" | "VnetLocal" | "Internet" | "VirtualAppliance" | "None"; + nextHopType?: + | "VirtualNetworkGateway" + | "VnetLocal" + | "Internet" + | "VirtualAppliance" + | "None"; } /** Response for list effective network security groups API service call. */ @@ -4567,7 +4659,7 @@ export interface EffectiveNetworkSecurityGroupListResultOutput { /** A list of effective network security groups. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Effective network security group. */ @@ -4631,7 +4723,7 @@ export interface NetworkInterfaceIPConfigurationListResultOutput { /** A list of ip configurations. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for list ip configurations API service call. */ @@ -4639,7 +4731,7 @@ export interface NetworkInterfaceLoadBalancerListResultOutput { /** A list of load balancers. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for list tap configurations API service call. */ @@ -4647,7 +4739,7 @@ export interface NetworkInterfaceTapConfigurationListResultOutput { /** A list of tap configurations. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The Managed Network resource */ @@ -4655,9 +4747,9 @@ export interface NetworkManagerOutput extends ResourceOutput { /** The network manager properties */ properties?: NetworkManagerPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } /** Properties of Managed Network */ @@ -4669,7 +4761,7 @@ export interface NetworkManagerPropertiesOutput { /** Scope Access. */ networkManagerScopeAccesses: Array<"SecurityAdmin" | "Connectivity">; /** The provisioning state of the network manager resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Scope of Network Manager. */ @@ -4679,17 +4771,17 @@ export interface NetworkManagerPropertiesNetworkManagerScopesOutput { /** List of subscriptions. */ subscriptions?: Array; /** List of cross tenant scopes. */ - crossTenantScopes?: Array; + readonly crossTenantScopes?: Array; } /** Cross tenant scopes. */ export interface CrossTenantScopesOutput { /** Tenant ID. */ - tenantId?: string; + readonly tenantId?: string; /** List of management groups. */ - managementGroups?: Array; + readonly managementGroups?: Array; /** List of subscriptions. */ - subscriptions?: Array; + readonly subscriptions?: Array; } /** Metadata pertaining to creation and last modification of the resource. */ @@ -4711,7 +4803,7 @@ export interface SystemDataOutput { /** Network Manager Commit. */ export interface NetworkManagerCommitOutput { /** Commit Id. */ - commitId?: string; + readonly commitId?: string; /** List of target locations. */ targetLocations: Array; /** List of configuration ids. */ @@ -4792,7 +4884,7 @@ export interface ConnectivityConfigurationPropertiesOutput { /** Groups for configuration */ appliesToGroups: Array; /** The provisioning state of the connectivity configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Flag if need to remove current existing peerings. */ deleteExistingPeering?: "False" | "True"; } @@ -4830,7 +4922,7 @@ export interface NetworkGroupPropertiesOutput { /** A description of the network group. */ description?: string; /** The provisioning state of the scope assignment resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Result of the request to list active security admin rules. It contains a list of active security admin rules and a skiptoken to get the next set of results. */ @@ -4871,7 +4963,7 @@ export interface NetworkManagerConnectionOutput extends ChildResourceOutput { /** The scope connection properties */ properties?: NetworkManagerConnectionPropertiesOutput; /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } /** Information about the network manager connection. */ @@ -4879,7 +4971,12 @@ export interface NetworkManagerConnectionPropertiesOutput { /** Network Manager Id. */ networkManagerId?: string; /** Connection state. */ - connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; + readonly connectionState?: + | "Connected" + | "Pending" + | "Conflict" + | "Revoked" + | "Rejected"; /** A description of the network manager connection. */ description?: string; } @@ -4887,13 +4984,13 @@ export interface NetworkManagerConnectionPropertiesOutput { /** Proxy resource representation. */ export interface ChildResourceOutput { /** Resource ID. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** List of network manager connections. */ @@ -4909,7 +5006,7 @@ export interface ConnectivityConfigurationOutput extends ChildResourceOutput { /** Properties of a network manager connectivity configuration */ properties?: ConnectivityConfigurationPropertiesOutput; /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } /** Result of the request to list network manager connectivity configurations. It contains a list of configurations and a link to get the next set of results. */ @@ -4956,7 +5053,7 @@ export interface NetworkGroupOutput extends ChildResourceOutput { /** The Network Group properties */ properties?: NetworkGroupPropertiesOutput; /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } /** Result of the request to list NetworkGroup. It contains a list of groups and a URL link to get the next set of results. */ @@ -4972,7 +5069,7 @@ export interface StaticMemberOutput extends ChildResourceOutput { /** The Static Member properties */ properties?: StaticMemberPropertiesOutput; /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } /** Properties of static member. */ @@ -4980,9 +5077,9 @@ export interface StaticMemberPropertiesOutput { /** Resource Id. */ resourceId?: string; /** Resource region. */ - region?: string; + readonly region?: string; /** The provisioning state of the scope assignment resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Result of the request to list StaticMember. It contains a list of groups and a URL link to get the next set of results. */ @@ -4998,7 +5095,7 @@ export interface ScopeConnectionOutput extends ChildResourceOutput { /** The scope connection properties */ properties?: ScopeConnectionPropertiesOutput; /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } /** Scope connection. */ @@ -5008,7 +5105,12 @@ export interface ScopeConnectionPropertiesOutput { /** Resource ID. */ resourceId?: string; /** Connection State */ - connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; + readonly connectionState?: + | "Connected" + | "Pending" + | "Conflict" + | "Revoked" + | "Rejected"; /** A description of the scope connection. */ description?: string; } @@ -5034,7 +5136,7 @@ export interface SecurityAdminConfigurationOutput extends ChildResourceOutput { /** Indicates the properties for the network manager security admin configuration. */ properties?: SecurityAdminConfigurationPropertiesFormatOutput; /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } /** Defines the security admin configuration properties. */ @@ -5042,9 +5144,11 @@ export interface SecurityAdminConfigurationPropertiesFormatOutput { /** A description of the security configuration. */ description?: string; /** Enum list of network intent policy based services. */ - applyOnNetworkIntentPolicyBasedServices?: Array<"None" | "All" | "AllowRulesOnly">; + applyOnNetworkIntentPolicyBasedServices?: Array< + "None" | "All" | "AllowRulesOnly" + >; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Security admin configuration rule collection list result. */ @@ -5060,7 +5164,7 @@ export interface AdminRuleCollectionOutput extends ChildResourceOutput { /** Indicates the properties for the network manager admin rule collection. */ properties?: AdminRuleCollectionPropertiesFormatOutput; /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } /** Defines the admin rule collection properties. */ @@ -5070,7 +5174,7 @@ export interface AdminRuleCollectionPropertiesFormatOutput { /** Groups for configuration */ appliesToGroups: Array; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** security configuration admin rule list result. */ @@ -5084,7 +5188,7 @@ export interface AdminRuleListResultOutput { /** Network base admin rule. */ export interface BaseAdminRuleOutputParent extends ChildResourceOutput { /** The system metadata related to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; kind: "BaseAdminRule" | "Custom" | "Default"; } @@ -5093,19 +5197,19 @@ export interface NetworkProfileOutput extends ResourceOutput { /** Network profile properties. */ properties?: NetworkProfilePropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Network profile properties. */ export interface NetworkProfilePropertiesFormatOutput { /** List of child container network interfaces. */ - containerNetworkInterfaces?: Array; + readonly containerNetworkInterfaces?: Array; /** List of chid container network interface configurations. */ containerNetworkInterfaceConfigurations?: Array; /** The resource GUID property of the network profile resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the network profile resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Container network interface child resource. */ @@ -5115,33 +5219,34 @@ export interface ContainerNetworkInterfaceOutput extends SubResourceOutput { /** The name of the resource. This name can be used to access the resource. */ name?: string; /** Sub Resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of container network interface. */ export interface ContainerNetworkInterfacePropertiesFormatOutput { /** Container network interface configuration from which this container network interface is created. */ - containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfigurationOutput; + readonly containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfigurationOutput; /** Reference to the container to which this container network interface is attached. */ container?: ContainerOutput; /** Reference to the ip configuration on this container nic. */ - ipConfigurations?: Array; + readonly ipConfigurations?: Array; /** The provisioning state of the container network interface resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Container network interface configuration child resource. */ -export interface ContainerNetworkInterfaceConfigurationOutput extends SubResourceOutput { +export interface ContainerNetworkInterfaceConfigurationOutput + extends SubResourceOutput { /** Container network interface configuration properties. */ properties?: ContainerNetworkInterfaceConfigurationPropertiesFormatOutput; /** The name of the resource. This name can be used to access the resource. */ name?: string; /** Sub Resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Container network interface configuration properties. */ @@ -5151,7 +5256,7 @@ export interface ContainerNetworkInterfaceConfigurationPropertiesFormatOutput { /** A list of container network interfaces created from this container network interface configuration. */ containerNetworkInterfaces?: Array; /** The provisioning state of the container network interface configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Reference to container resource in remote resource provider. */ @@ -5164,15 +5269,15 @@ export interface ContainerNetworkInterfaceIpConfigurationOutput { /** The name of the resource. This name can be used to access the resource. */ name?: string; /** Sub Resource type. */ - type?: string; + readonly type?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the container network interface IP configuration. */ export interface ContainerNetworkInterfaceIpConfigurationPropertiesFormatOutput { /** The provisioning state of the container network interface IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for ListNetworkProfiles API service call. */ @@ -5206,7 +5311,7 @@ export interface NetworkVirtualApplianceOutput extends ResourceOutput { /** The service principal that has read access to cloud-init and config blob. */ identity?: ManagedServiceIdentityOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Network Virtual Appliance definition. */ @@ -5214,7 +5319,7 @@ export interface NetworkVirtualAppliancePropertiesFormatOutput { /** Network Virtual Appliance SKU. */ nvaSku?: VirtualApplianceSkuPropertiesOutput; /** Address Prefix. */ - addressPrefix?: string; + readonly addressPrefix?: string; /** BootStrapConfigurationBlobs storage URLs. */ bootStrapConfigurationBlobs?: Array; /** The Virtual Hub where Network Virtual Appliance is being deployed. */ @@ -5228,13 +5333,13 @@ export interface NetworkVirtualAppliancePropertiesFormatOutput { /** Public key for SSH login. */ sshPublicKey?: string; /** List of Virtual Appliance Network Interfaces. */ - virtualApplianceNics?: Array; + readonly virtualApplianceNics?: Array; /** List of references to VirtualApplianceSite. */ - virtualApplianceSites?: Array; + readonly virtualApplianceSites?: Array; /** List of references to InboundSecurityRules. */ - inboundSecurityRules?: Array; + readonly inboundSecurityRules?: Array; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network Virtual Appliance Sku Properties. */ @@ -5250,11 +5355,11 @@ export interface VirtualApplianceSkuPropertiesOutput { /** Network Virtual Appliance NIC properties. */ export interface VirtualApplianceNicPropertiesOutput { /** NIC name. */ - name?: string; + readonly name?: string; /** Public IP address. */ - publicIpAddress?: string; + readonly publicIpAddress?: string; /** Private IP address. */ - privateIpAddress?: string; + readonly privateIpAddress?: string; } /** Response for ListNetworkVirtualAppliances API service call. */ @@ -5272,9 +5377,9 @@ export interface VirtualApplianceSiteOutput extends SubResourceOutput { /** Name of the virtual appliance site. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Site type. */ - type?: string; + readonly type?: string; } /** Properties of the rule group. */ @@ -5284,7 +5389,7 @@ export interface VirtualApplianceSitePropertiesOutput { /** Office 365 Policy. */ o365Policy?: Office365PolicyPropertiesOutput; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network Virtual Appliance Sku Properties. */ @@ -5324,15 +5429,15 @@ export interface NetworkVirtualApplianceSkuOutput extends ResourceOutput { /** NetworkVirtualApplianceSku properties. */ properties?: NetworkVirtualApplianceSkuPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties specific to NetworkVirtualApplianceSkus. */ export interface NetworkVirtualApplianceSkuPropertiesFormatOutput { /** Network Virtual Appliance Sku vendor. */ - vendor?: string; + readonly vendor?: string; /** Available Network Virtual Appliance versions. */ - availableVersions?: Array; + readonly availableVersions?: Array; /** The list of scale units available. */ availableScaleUnits?: Array; } @@ -5340,9 +5445,9 @@ export interface NetworkVirtualApplianceSkuPropertiesFormatOutput { /** List of available Sku and instances. */ export interface NetworkVirtualApplianceSkuInstancesOutput { /** Scale Unit. */ - scaleUnit?: string; + readonly scaleUnit?: string; /** Instance Count. */ - instanceCount?: number; + readonly instanceCount?: number; } /** NVA Inbound Security Rule resource. */ @@ -5352,9 +5457,9 @@ export interface InboundSecurityRuleOutput extends SubResourceOutput { /** Name of security rule collection. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** NVA inbound security rule type. */ - type?: string; + readonly type?: string; } /** Properties of the Inbound Security Rules resource. */ @@ -5362,7 +5467,7 @@ export interface InboundSecurityRulePropertiesOutput { /** List of allowed rules. */ rules?: Array; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Properties of the Inbound Security Rules resource. */ @@ -5378,7 +5483,7 @@ export interface InboundSecurityRulesOutput { /** Network watcher in a resource group. */ export interface NetworkWatcherOutput extends ResourceOutput { /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Properties of the network watcher. */ properties?: NetworkWatcherPropertiesFormatOutput; } @@ -5386,7 +5491,7 @@ export interface NetworkWatcherOutput extends ResourceOutput { /** The network watcher properties. */ export interface NetworkWatcherPropertiesFormatOutput { /** The provisioning state of the network watcher resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** The error object. */ @@ -5404,11 +5509,11 @@ export interface NetworkWatcherListResultOutput { /** Topology of the specified resource group. */ export interface TopologyOutput { /** GUID representing the operation id. */ - id?: string; + readonly id?: string; /** The datetime when the topology was initially created for the resource group. */ - createdDateTime?: string; + readonly createdDateTime?: string; /** The datetime when the topology was last modified. */ - lastModified?: string; + readonly lastModified?: string; /** A list of topology resources. */ resources?: Array; } @@ -5488,7 +5593,7 @@ export interface SecurityRuleAssociationsOutput { /** Network interface and its custom security rules. */ export interface NetworkInterfaceAssociationOutput { /** Network interface ID. */ - id?: string; + readonly id?: string; /** Collection of custom security rules. */ securityRules?: Array; } @@ -5496,7 +5601,7 @@ export interface NetworkInterfaceAssociationOutput { /** Subnet and it's custom security rules. */ export interface SubnetAssociationOutput { /** Subnet ID. */ - id?: string; + readonly id?: string; /** Collection of custom security rules. */ securityRules?: Array; } @@ -5556,19 +5661,20 @@ export interface PacketCaptureFilterOutput { /** Information about packet capture session. */ export interface PacketCaptureResultOutput { /** Name of the packet capture session. */ - name?: string; + readonly name?: string; /** ID of the packet capture operation. */ - id?: string; + readonly id?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Properties of the packet capture result. */ properties?: PacketCaptureResultPropertiesOutput; } /** The properties of a packet capture session. */ -export interface PacketCaptureResultPropertiesOutput extends PacketCaptureParametersOutput { +export interface PacketCaptureResultPropertiesOutput + extends PacketCaptureParametersOutput { /** The provisioning state of the packet capture session. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Status of packet capture session. */ @@ -5580,12 +5686,21 @@ export interface PacketCaptureQueryStatusResultOutput { /** The start time of the packet capture session. */ captureStartTime?: string; /** The status of the packet capture session. */ - packetCaptureStatus?: "NotStarted" | "Running" | "Stopped" | "Error" | "Unknown"; + packetCaptureStatus?: + | "NotStarted" + | "Running" + | "Stopped" + | "Error" + | "Unknown"; /** The reason the current packet capture session was stopped. */ stopReason?: string; /** List of errors of packet capture session. */ packetCaptureError?: Array< - "InternalError" | "AgentStopped" | "CaptureFailed" | "LocalFileFailed" | "StorageFailed" + | "InternalError" + | "AgentStopped" + | "CaptureFailed" + | "LocalFileFailed" + | "StorageFailed" >; } @@ -5666,77 +5781,81 @@ export interface HttpHeaderOutput { /** Information on the connectivity status. */ export interface ConnectivityInformationOutput { /** List of hops between the source and the destination. */ - hops?: Array; + readonly hops?: Array; /** The connection status. */ - connectionStatus?: "Unknown" | "Connected" | "Disconnected" | "Degraded"; + readonly connectionStatus?: + | "Unknown" + | "Connected" + | "Disconnected" + | "Degraded"; /** Average latency in milliseconds. */ - avgLatencyInMs?: number; + readonly avgLatencyInMs?: number; /** Minimum latency in milliseconds. */ - minLatencyInMs?: number; + readonly minLatencyInMs?: number; /** Maximum latency in milliseconds. */ - maxLatencyInMs?: number; + readonly maxLatencyInMs?: number; /** Total number of probes sent. */ - probesSent?: number; + readonly probesSent?: number; /** Number of failed probes. */ - probesFailed?: number; + readonly probesFailed?: number; } /** Information about a hop between the source and the destination. */ export interface ConnectivityHopOutput { /** The type of the hop. */ - type?: string; + readonly type?: string; /** The ID of the hop. */ - id?: string; + readonly id?: string; /** The IP address of the hop. */ - address?: string; + readonly address?: string; /** The ID of the resource corresponding to this hop. */ - resourceId?: string; + readonly resourceId?: string; /** List of next hop identifiers. */ - nextHopIds?: Array; + readonly nextHopIds?: Array; /** List of previous hop identifiers. */ - previousHopIds?: Array; + readonly previousHopIds?: Array; /** List of hop links. */ - links?: Array; + readonly links?: Array; /** List of previous hop links. */ - previousLinks?: Array; + readonly previousLinks?: Array; /** List of issues. */ - issues?: Array; + readonly issues?: Array; } /** Hop link. */ export interface HopLinkOutput { /** The ID of the next hop. */ - nextHopId?: string; + readonly nextHopId?: string; /** Link type. */ - linkType?: string; + readonly linkType?: string; /** Hop link properties. */ properties?: HopLinkPropertiesOutput; /** List of issues. */ - issues?: Array; + readonly issues?: Array; /** Provides additional context on links. */ - context?: Record; + readonly context?: Record; /** Resource ID. */ - resourceId?: string; + readonly resourceId?: string; } /** Hop link properties. */ export interface HopLinkPropertiesOutput { /** Minimum roundtrip time in milliseconds. */ - roundTripTimeMin?: number; + readonly roundTripTimeMin?: number; /** Average roundtrip time in milliseconds. */ - roundTripTimeAvg?: number; + readonly roundTripTimeAvg?: number; /** Maximum roundtrip time in milliseconds. */ - roundTripTimeMax?: number; + readonly roundTripTimeMax?: number; } /** Information about an issue encountered in the process of checking for connectivity. */ export interface ConnectivityIssueOutput { /** The origin of the issue. */ - origin?: "Local" | "Inbound" | "Outbound"; + readonly origin?: "Local" | "Inbound" | "Outbound"; /** The severity of the issue. */ - severity?: "Error" | "Warning"; + readonly severity?: "Error" | "Warning"; /** The type of issue. */ - type?: + readonly type?: | "Unknown" | "AgentStopped" | "GuestFirewall" @@ -5747,7 +5866,7 @@ export interface ConnectivityIssueOutput { | "PortThrottled" | "Platform"; /** Provides additional context on the issue. */ - context?: Array>; + readonly context?: Array>; } /** Parameters that define a geographic location. */ @@ -5839,7 +5958,7 @@ export interface NetworkConfigurationDiagnosticProfileOutput { /** Results of network configuration diagnostic on the target resource. */ export interface NetworkConfigurationDiagnosticResponseOutput { /** List of network configuration diagnostic results. */ - results?: Array; + readonly results?: Array; } /** Network configuration diagnostic result corresponded to provided traffic query. */ @@ -5855,7 +5974,7 @@ export interface NetworkSecurityGroupResultOutput { /** The network traffic is allowed or denied. */ securityRuleAccessResult?: "Allow" | "Deny"; /** List of results network security groups diagnostic. */ - evaluatedNetworkSecurityGroups?: Array; + readonly evaluatedNetworkSecurityGroups?: Array; } /** Results of network security group evaluation. */ @@ -5867,7 +5986,7 @@ export interface EvaluatedNetworkSecurityGroupOutput { /** Matched network security rule. */ matchedRule?: MatchedRuleOutput; /** List of network security rules evaluation results. */ - rulesEvaluationResult?: Array; + readonly rulesEvaluationResult?: Array; } /** Matched rule. */ @@ -5957,7 +6076,13 @@ export interface ConnectionMonitorEndpointOutput { /** Endpoint scope. */ scope?: ConnectionMonitorEndpointScopeOutput; /** Test coverage for the endpoint. */ - coverageLevel?: "Default" | "Low" | "BelowAverage" | "Average" | "AboveAverage" | "Full"; + coverageLevel?: + | "Default" + | "Low" + | "BelowAverage" + | "Average" + | "AboveAverage" + | "Full"; } /** Describes the connection monitor endpoint filter. */ @@ -6081,13 +6206,13 @@ export interface ConnectionMonitorWorkspaceSettingsOutput { /** Information about the connection monitor. */ export interface ConnectionMonitorResultOutput { /** Name of the connection monitor. */ - name?: string; + readonly name?: string; /** ID of the connection monitor. */ - id?: string; + readonly id?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Connection monitor type. */ - type?: string; + readonly type?: string; /** Connection monitor location. */ location?: string; /** Connection monitor tags. */ @@ -6097,15 +6222,16 @@ export interface ConnectionMonitorResultOutput { } /** Describes the properties of a connection monitor. */ -export interface ConnectionMonitorResultPropertiesOutput extends ConnectionMonitorParametersOutput { +export interface ConnectionMonitorResultPropertiesOutput + extends ConnectionMonitorParametersOutput { /** The provisioning state of the connection monitor. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The date and time when the connection monitor was started. */ - startTime?: string; + readonly startTime?: string; /** The monitoring status of the connection monitor. */ - monitoringStatus?: string; + readonly monitoringStatus?: string; /** Type of connection monitor. */ - connectionMonitorType?: "MultiEndpoint" | "SingleSourceDestination"; + readonly connectionMonitorType?: "MultiEndpoint" | "SingleSourceDestination"; } /** List of connection states snapshots. */ @@ -6137,7 +6263,7 @@ export interface ConnectionStateSnapshotOutput { /** The number of failed probes. */ probesFailed?: number; /** List of hops between the source and the destination. */ - hops?: Array; + readonly hops?: Array; } /** List of connection monitors. */ @@ -6151,7 +6277,7 @@ export interface FlowLogListResultOutput { /** Information about flow log resource. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. */ @@ -6267,7 +6393,7 @@ export interface PrivateEndpointListResultOutput { /** A list of private endpoint resources in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** An array of available PrivateEndpoint types. */ @@ -6275,7 +6401,7 @@ export interface AvailablePrivateEndpointTypesResultOutput { /** An array of available privateEndpoint type. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The information of an AvailablePrivateEndpointType. */ @@ -6297,7 +6423,7 @@ export interface PrivateDnsZoneGroupOutput extends SubResourceOutput { /** Name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Properties of the private dns zone group. */ properties?: PrivateDnsZoneGroupPropertiesFormatOutput; } @@ -6305,7 +6431,7 @@ export interface PrivateDnsZoneGroupOutput extends SubResourceOutput { /** Properties of the private dns zone group. */ export interface PrivateDnsZoneGroupPropertiesFormatOutput { /** The provisioning state of the private dns zone group resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** A collection of private dns zone configurations of the private dns zone group. */ privateDnsZoneConfigs?: Array; } @@ -6323,7 +6449,7 @@ export interface PrivateDnsZonePropertiesFormatOutput { /** The resource id of the private dns zone. */ privateDnsZoneId?: string; /** A collection of information regarding a recordSet, holding information to identify private resources. */ - recordSets?: Array; + readonly recordSets?: Array; } /** A collective group of information about the record set information. */ @@ -6335,7 +6461,7 @@ export interface RecordSetOutput { /** Fqdn that resolves to private endpoint ip address. */ fqdn?: string; /** The provisioning state of the recordset. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Recordset time to live. */ ttl?: number; /** The private ip address of the private endpoint. */ @@ -6347,7 +6473,7 @@ export interface PrivateDnsZoneGroupListResultOutput { /** A list of private dns zone group resources in a private endpoint. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for the ListPrivateLinkService API service call. */ @@ -6355,7 +6481,7 @@ export interface PrivateLinkServiceListResultOutput { /** A list of PrivateLinkService resources in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for the ListPrivateEndpointConnection API service call. */ @@ -6363,7 +6489,7 @@ export interface PrivateEndpointConnectionListResultOutput { /** A list of PrivateEndpointConnection resources for a specific private link service. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for the CheckPrivateLinkServiceVisibility API service call. */ @@ -6377,7 +6503,7 @@ export interface AutoApprovedPrivateLinkServicesResultOutput { /** An array of auto approved private link service. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The information of an AutoApprovedPrivateLinkService. */ @@ -6407,7 +6533,7 @@ export interface PublicIPPrefixOutput extends ResourceOutput { /** Public IP prefix properties. */ properties?: PublicIPPrefixPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** A list of availability zones denoting the IP allocated for the resource needs to come from. */ zones?: Array; } @@ -6429,17 +6555,17 @@ export interface PublicIPPrefixPropertiesFormatOutput { /** The Length of the Public IP Prefix. */ prefixLength?: number; /** The allocated Prefix. */ - ipPrefix?: string; + readonly ipPrefix?: string; /** The list of all referenced PublicIPAddresses. */ - publicIPAddresses?: Array; + readonly publicIPAddresses?: Array; /** The reference to load balancer frontend IP configuration associated with the public IP prefix. */ - loadBalancerFrontendIpConfiguration?: SubResourceOutput; + readonly loadBalancerFrontendIpConfiguration?: SubResourceOutput; /** The customIpPrefix that this prefix is associated with. */ customIPPrefix?: SubResourceOutput; /** The resource GUID property of the public IP prefix resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the public IP prefix resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** NatGateway of Public IP Prefix. */ natGateway?: NatGatewayOutput; } @@ -6463,7 +6589,7 @@ export interface RouteFilterOutput extends ResourceOutput { /** Properties of the route filter. */ properties?: RouteFilterPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Route Filter Resource. */ @@ -6471,11 +6597,11 @@ export interface RouteFilterPropertiesFormatOutput { /** Collection of RouteFilterRules contained within a route filter. */ rules?: Array; /** A collection of references to express route circuit peerings. */ - peerings?: Array; + readonly peerings?: Array; /** A collection of references to express route circuit ipv6 peerings. */ - ipv6Peerings?: Array; + readonly ipv6Peerings?: Array; /** The provisioning state of the route filter resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Route Filter Rule Resource. */ @@ -6487,7 +6613,7 @@ export interface RouteFilterRuleOutput extends SubResourceOutput { /** Resource location. */ location?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Route Filter Rule Resource. */ @@ -6499,7 +6625,7 @@ export interface RouteFilterRulePropertiesFormatOutput { /** The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. */ communities: Array; /** The provisioning state of the route filter rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for the ListRouteFilters API service call. */ @@ -6539,17 +6665,21 @@ export interface SecurityPartnerProviderOutput extends ResourceOutput { /** Properties of the Security Partner Provider. */ properties?: SecurityPartnerProviderPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the Security Partner Provider. */ export interface SecurityPartnerProviderPropertiesFormatOutput { /** The provisioning state of the Security Partner Provider resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The security provider name. */ securityProviderName?: "ZScaler" | "IBoss" | "Checkpoint"; /** The connection status with the Security Partner Provider. */ - connectionStatus?: "Unknown" | "PartiallyConnected" | "Connected" | "NotConnected"; + readonly connectionStatus?: + | "Unknown" + | "PartiallyConnected" + | "Connected" + | "NotConnected"; /** The virtualHub to which the Security Partner Provider belongs. */ virtualHub?: SubResourceOutput; } @@ -6605,7 +6735,7 @@ export interface ServiceEndpointPolicyListResultOutput { /** A list of ServiceEndpointPolicy resources. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy. */ @@ -6619,45 +6749,45 @@ export interface ServiceEndpointPolicyDefinitionListResultOutput { /** Response for the ListServiceTags API service call. */ export interface ServiceTagsListResultOutput { /** The name of the cloud. */ - name?: string; + readonly name?: string; /** The ID of the cloud. */ - id?: string; + readonly id?: string; /** The azure resource type. */ - type?: string; + readonly type?: string; /** The iteration number. */ - changeNumber?: string; + readonly changeNumber?: string; /** The name of the cloud. */ - cloud?: string; + readonly cloud?: string; /** The list of service tag information resources. */ - values?: Array; + readonly values?: Array; /** The URL to get next page of service tag information resources. */ - nextLink?: string; + readonly nextLink?: string; } /** The service tag information. */ export interface ServiceTagInformationOutput { /** Properties of the service tag information. */ - properties?: ServiceTagInformationPropertiesFormatOutput; + readonly properties?: ServiceTagInformationPropertiesFormatOutput; /** The name of service tag. */ - name?: string; + readonly name?: string; /** The ID of service tag. */ - id?: string; + readonly id?: string; /** The iteration number of service tag object for region. */ - serviceTagChangeNumber?: string; + readonly serviceTagChangeNumber?: string; } /** Properties of the service tag information. */ export interface ServiceTagInformationPropertiesFormatOutput { /** The iteration number of service tag. */ - changeNumber?: string; + readonly changeNumber?: string; /** The region of service tag. */ - region?: string; + readonly region?: string; /** The name of system service. */ - systemService?: string; + readonly systemService?: string; /** The list of IP address prefixes. */ - addressPrefixes?: Array; + readonly addressPrefixes?: Array; /** The state of the service tag. */ - state?: string; + readonly state?: string; } /** Response for Get ServiceTagInformation API service call. Retrieves the list of service tag information resources. */ @@ -6665,7 +6795,7 @@ export interface ServiceTagInformationListResultOutput { /** The list of service tag information resources. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The list usages operation response. */ @@ -6679,7 +6809,7 @@ export interface UsagesListResultOutput { /** The network resource usage. */ export interface UsageOutput { /** Resource identifier. */ - id?: string; + readonly id?: string; /** An enum describing the unit of measurement. */ unit: "Count"; /** The current value of the usage. */ @@ -6705,7 +6835,7 @@ export interface VirtualNetworkOutput extends ResourceOutput { /** Properties of the virtual network. */ properties?: VirtualNetworkPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the virtual network. */ @@ -6721,9 +6851,9 @@ export interface VirtualNetworkPropertiesFormatOutput { /** A list of peerings in a Virtual Network. */ virtualNetworkPeerings?: Array; /** The resourceGuid property of the Virtual Network resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the virtual network resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource. */ enableDdosProtection?: boolean; /** Indicates if VM protection is enabled for all the subnets in the virtual network. */ @@ -6757,7 +6887,7 @@ export interface VirtualNetworkPeeringOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ type?: string; } @@ -6781,7 +6911,7 @@ export interface VirtualNetworkPeeringPropertiesFormatOutput { /** The reference to the remote virtual network's Bgp Communities. */ remoteBgpCommunities?: VirtualNetworkBgpCommunitiesOutput; /** The reference to the remote virtual network's encryption */ - remoteVirtualNetworkEncryption?: VirtualNetworkEncryptionOutput; + readonly remoteVirtualNetworkEncryption?: VirtualNetworkEncryptionOutput; /** The status of the virtual network peering. */ peeringState?: "Initiated" | "Connected" | "Disconnected"; /** The peering sync status of the virtual network peering. */ @@ -6791,11 +6921,11 @@ export interface VirtualNetworkPeeringPropertiesFormatOutput { | "LocalNotInSync" | "LocalAndRemoteNotInSync"; /** The provisioning state of the virtual network peering resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** If we need to verify the provisioning state of the remote gateway. */ doNotVerifyRemoteGateways?: boolean; /** The resourceGuid property of the Virtual Network peering resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; } /** Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. */ @@ -6803,7 +6933,7 @@ export interface VirtualNetworkBgpCommunitiesOutput { /** The BGP community associated with the virtual network. */ virtualNetworkCommunity: string; /** The BGP community associated with the region of the virtual network. */ - regionalCommunity?: string; + readonly regionalCommunity?: string; } /** Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet. */ @@ -6825,7 +6955,7 @@ export interface VirtualNetworkListResultOutput { /** Network Intent Policy resource. */ export interface NetworkIntentPolicyOutput extends ResourceOutput { /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Response for ResourceNavigationLinks_List operation. */ @@ -6833,7 +6963,7 @@ export interface ResourceNavigationLinksListResultOutput { /** The resource navigation links in a subnet. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ServiceAssociationLinks_List operation. */ @@ -6841,7 +6971,7 @@ export interface ServiceAssociationLinksListResultOutput { /** The service association links in a subnet. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network. */ @@ -6873,7 +7003,7 @@ export interface IPAddressAvailabilityResultOutput { /** Response for the virtual networks GetUsage API service call. */ export interface VirtualNetworkListUsageResultOutput { /** VirtualNetwork usage stats. */ - value?: Array; + readonly value?: Array; /** The URL to get the next set of results. */ nextLink?: string; } @@ -6881,23 +7011,23 @@ export interface VirtualNetworkListUsageResultOutput { /** Usage details for subnet. */ export interface VirtualNetworkUsageOutput { /** Indicates number of IPs used from the Subnet. */ - currentValue?: number; + readonly currentValue?: number; /** Subnet identifier. */ - id?: string; + readonly id?: string; /** Indicates the size of the subnet. */ - limit?: number; + readonly limit?: number; /** The name containing common and localized value for usage. */ - name?: VirtualNetworkUsageNameOutput; + readonly name?: VirtualNetworkUsageNameOutput; /** Usage units. Returns 'Count'. */ - unit?: string; + readonly unit?: string; } /** Usage strings container. */ export interface VirtualNetworkUsageNameOutput { /** Localized subnet size and usage string. */ - localizedValue?: string; + readonly localizedValue?: string; /** Subnet size and usage string. */ - value?: string; + readonly value?: string; } /** Response for GetVirtualNetworkDdosProtectionStatusOperation. */ @@ -6915,7 +7045,7 @@ export interface VirtualNetworkGatewayOutput extends ResourceOutput { /** The extended location of type local virtual network gateway. */ extendedLocation?: ExtendedLocationOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** VirtualNetworkGateway properties. */ @@ -6949,13 +7079,13 @@ export interface VirtualNetworkGatewayPropertiesFormatOutput { /** The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient. */ customRoutes?: AddressSpaceOutput; /** The resource GUID property of the virtual network gateway resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the virtual network gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Whether dns forwarding is enabled or not. */ enableDnsForwarding?: boolean; /** The IP address allocated by the gateway to which dns requests can be sent. */ - inboundDnsForwardingEndpoint?: string; + readonly inboundDnsForwardingEndpoint?: string; /** Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet. */ vNetExtendedLocationResourceId?: string; /** NatRules for virtual network gateway. */ @@ -6965,13 +7095,14 @@ export interface VirtualNetworkGatewayPropertiesFormatOutput { } /** IP configuration for virtual network gateway. */ -export interface VirtualNetworkGatewayIPConfigurationOutput extends SubResourceOutput { +export interface VirtualNetworkGatewayIPConfigurationOutput + extends SubResourceOutput { /** Properties of the virtual network gateway ip configuration. */ properties?: VirtualNetworkGatewayIPConfigurationPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of VirtualNetworkGatewayIPConfiguration. */ @@ -6983,9 +7114,9 @@ export interface VirtualNetworkGatewayIPConfigurationPropertiesFormatOutput { /** The reference to the public IP resource. */ publicIPAddress?: SubResourceOutput; /** Private IP Address for this gateway. */ - privateIPAddress?: string; + readonly privateIPAddress?: string; /** The provisioning state of the virtual network gateway IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VirtualNetworkGatewaySku details. */ @@ -7029,7 +7160,7 @@ export interface VirtualNetworkGatewaySkuOutput { | "ErGw2AZ" | "ErGw3AZ"; /** The capacity. */ - capacity?: number; + readonly capacity?: number; } /** VpnClientConfiguration for P2S client. */ @@ -7069,7 +7200,7 @@ export interface VpnClientRootCertificateOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of SSL certificates of application gateway. */ @@ -7077,7 +7208,7 @@ export interface VpnClientRootCertificatePropertiesFormatOutput { /** The certificate public data. */ publicCertData: string; /** The provisioning state of the VPN client root certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VPN client revoked certificate of virtual network gateway. */ @@ -7087,7 +7218,7 @@ export interface VpnClientRevokedCertificateOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of the revoked VPN client certificate of virtual network gateway. */ @@ -7095,7 +7226,7 @@ export interface VpnClientRevokedCertificatePropertiesFormatOutput { /** The revoked VPN client certificate thumbprint. */ thumbprint?: string; /** The provisioning state of the VPN client revoked certificate resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** An IPSec Policy configuration for a virtual network gateway connection. */ @@ -7116,11 +7247,30 @@ export interface IpsecPolicyOutput { | "GCMAES192" | "GCMAES256"; /** The IPSec integrity algorithm (IKE phase 1). */ - ipsecIntegrity: "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; + ipsecIntegrity: + | "MD5" + | "SHA1" + | "SHA256" + | "GCMAES128" + | "GCMAES192" + | "GCMAES256"; /** The IKE encryption algorithm (IKE phase 2). */ - ikeEncryption: "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"; + ikeEncryption: + | "DES" + | "DES3" + | "AES128" + | "AES192" + | "AES256" + | "GCMAES256" + | "GCMAES128"; /** The IKE integrity algorithm (IKE phase 2). */ - ikeIntegrity: "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; + ikeIntegrity: + | "MD5" + | "SHA1" + | "SHA256" + | "SHA384" + | "GCMAES256" + | "GCMAES128"; /** The DH Group used in IKE Phase 1 for initial SA. */ dhGroup: | "None" @@ -7155,13 +7305,14 @@ export interface RadiusServerOutput { } /** A vpn client connection configuration for client connection configuration. */ -export interface VngClientConnectionConfigurationOutput extends SubResourceOutput { +export interface VngClientConnectionConfigurationOutput + extends SubResourceOutput { /** Properties of the vpn client root certificate. */ properties?: VngClientConnectionConfigurationPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of VngClientConnectionConfiguration. */ @@ -7171,17 +7322,18 @@ export interface VngClientConnectionConfigurationPropertiesOutput { /** List of references to virtualNetworkGatewayPolicyGroups */ virtualNetworkGatewayPolicyGroups: Array; /** The provisioning state of the VngClientConnectionConfiguration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Parameters for VirtualNetworkGatewayPolicyGroup. */ -export interface VirtualNetworkGatewayPolicyGroupOutput extends SubResourceOutput { +export interface VirtualNetworkGatewayPolicyGroupOutput + extends SubResourceOutput { /** Properties of tVirtualNetworkGatewayPolicyGroup. */ properties?: VirtualNetworkGatewayPolicyGroupPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of VirtualNetworkGatewayPolicyGroup. */ @@ -7193,9 +7345,9 @@ export interface VirtualNetworkGatewayPolicyGroupPropertiesOutput { /** Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup. */ policyMembers: Array; /** List of references to vngClientConnectionConfigurations. */ - vngClientConnectionConfigurations?: Array; + readonly vngClientConnectionConfigurations?: Array; /** The provisioning state of the VirtualNetworkGatewayPolicyGroup resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Vpn Client Connection configuration PolicyGroup member */ @@ -7225,11 +7377,11 @@ export interface IPConfigurationBgpPeeringAddressOutput { /** The ID of IP configuration which belongs to gateway. */ ipconfigurationId?: string; /** The list of default BGP peering addresses which belong to IP configuration. */ - defaultBgpIpAddresses?: Array; + readonly defaultBgpIpAddresses?: Array; /** The list of custom BGP peering addresses which belong to IP configuration. */ customBgpIpAddresses?: Array; /** The list of tunnel public IP addresses which belong to IP configuration. */ - tunnelIpAddresses?: Array; + readonly tunnelIpAddresses?: Array; } /** VirtualNetworkGatewayNatRule Resource. */ @@ -7239,15 +7391,15 @@ export interface VirtualNetworkGatewayNatRuleOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Parameters for VirtualNetworkGatewayNatRule. */ export interface VirtualNetworkGatewayNatRulePropertiesOutput { /** The provisioning state of the NAT Rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of NAT rule for VPN NAT. */ type?: "Static" | "Dynamic"; /** The Source NAT direction of a VPN NAT. */ @@ -7273,7 +7425,7 @@ export interface VirtualNetworkGatewayListResultOutput { /** A list of VirtualNetworkGateway resources that exists in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** Response for the VirtualNetworkGatewayListConnections API service call. */ @@ -7281,15 +7433,16 @@ export interface VirtualNetworkGatewayListConnectionsResultOutput { /** A list of VirtualNetworkGatewayConnection resources that exists in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** A common class for general resource information. */ -export interface VirtualNetworkGatewayConnectionListEntityOutput extends ResourceOutput { +export interface VirtualNetworkGatewayConnectionListEntityOutput + extends ResourceOutput { /** Properties of the virtual network gateway connection. */ properties: VirtualNetworkGatewayConnectionListEntityPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** VirtualNetworkGatewayConnection properties. */ @@ -7313,13 +7466,17 @@ export interface VirtualNetworkGatewayConnectionListEntityPropertiesFormatOutput /** The IPSec shared key. */ sharedKey?: string; /** Virtual Network Gateway connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionStatus?: + | "Unknown" + | "Connecting" + | "Connected" + | "NotConnected"; /** Collection of all tunnels' connection health status. */ - tunnelConnectionStatus?: Array; + readonly tunnelConnectionStatus?: Array; /** The egress bytes transferred in this connection. */ - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; /** The ingress bytes transferred in this connection. */ - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; /** The reference to peerings resource. */ peer?: SubResourceOutput; /** EnableBgp flag. */ @@ -7333,9 +7490,9 @@ export interface VirtualNetworkGatewayConnectionListEntityPropertiesFormatOutput /** The Traffic Selector Policies to be considered by this connection. */ trafficSelectorPolicies?: Array; /** The resource GUID property of the virtual network gateway connection resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the virtual network gateway connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Bypass ExpressRoute Gateway for data forwarding. */ expressRouteGatewayBypass?: boolean; /** Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. */ @@ -7351,15 +7508,19 @@ export interface VirtualNetworkConnectionGatewayReferenceOutput { /** VirtualNetworkGatewayConnection properties. */ export interface TunnelConnectionHealthOutput { /** Tunnel name. */ - tunnel?: string; + readonly tunnel?: string; /** Virtual Network Gateway connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionStatus?: + | "Unknown" + | "Connecting" + | "Connected" + | "NotConnected"; /** The Ingress Bytes Transferred in this connection. */ - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; /** The Egress Bytes Transferred in this connection. */ - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; /** The time at which connection was established in Utc format. */ - lastConnectionEstablishedUtcTime?: string; + readonly lastConnectionEstablishedUtcTime?: string; } /** GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection. */ @@ -7387,21 +7548,21 @@ export interface BgpPeerStatusListResultOutput { /** BGP peer status details. */ export interface BgpPeerStatusOutput { /** The virtual network gateway's local address. */ - localAddress?: string; + readonly localAddress?: string; /** The remote BGP peer. */ - neighbor?: string; + readonly neighbor?: string; /** The autonomous system number of the remote BGP peer. */ - asn?: number; + readonly asn?: number; /** The BGP peer state. */ - state?: "Unknown" | "Stopped" | "Idle" | "Connecting" | "Connected"; + readonly state?: "Unknown" | "Stopped" | "Idle" | "Connecting" | "Connected"; /** For how long the peering has been up. */ - connectedDuration?: string; + readonly connectedDuration?: string; /** The number of routes learned from this peer. */ - routesReceived?: number; + readonly routesReceived?: number; /** The number of BGP messages sent. */ - messagesSent?: number; + readonly messagesSent?: number; /** The number of BGP messages received. */ - messagesReceived?: number; + readonly messagesReceived?: number; } /** List of virtual network gateway routes. */ @@ -7413,19 +7574,19 @@ export interface GatewayRouteListResultOutput { /** Gateway routing details. */ export interface GatewayRouteOutput { /** The gateway's local address. */ - localAddress?: string; + readonly localAddress?: string; /** The route's network prefix. */ - network?: string; + readonly network?: string; /** The route's next hop. */ - nextHop?: string; + readonly nextHop?: string; /** The peer this route was learned from. */ - sourcePeer?: string; + readonly sourcePeer?: string; /** The source this route was learned from. */ - origin?: string; + readonly origin?: string; /** The route's AS path sequence. */ - asPath?: string; + readonly asPath?: string; /** The route's weight. */ - weight?: number; + readonly weight?: number; } /** An IPSec parameters for a virtual network gateway P2S connection. */ @@ -7446,11 +7607,30 @@ export interface VpnClientIPsecParametersOutput { | "GCMAES192" | "GCMAES256"; /** The IPSec integrity algorithm (IKE phase 1). */ - ipsecIntegrity: "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; + ipsecIntegrity: + | "MD5" + | "SHA1" + | "SHA256" + | "GCMAES128" + | "GCMAES192" + | "GCMAES256"; /** The IKE encryption algorithm (IKE phase 2). */ - ikeEncryption: "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"; + ikeEncryption: + | "DES" + | "DES3" + | "AES128" + | "AES192" + | "AES256" + | "GCMAES256" + | "GCMAES128"; /** The IKE integrity algorithm (IKE phase 2). */ - ikeIntegrity: "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; + ikeIntegrity: + | "MD5" + | "SHA1" + | "SHA256" + | "SHA384" + | "GCMAES256" + | "GCMAES128"; /** The DH Group used in IKE Phase 1 for initial SA. */ dhGroup: | "None" @@ -7479,7 +7659,7 @@ export interface VirtualNetworkGatewayConnectionOutput extends ResourceOutput { /** Properties of the virtual network gateway connection. */ properties: VirtualNetworkGatewayConnectionPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** VirtualNetworkGatewayConnection properties. */ @@ -7509,13 +7689,17 @@ export interface VirtualNetworkGatewayConnectionPropertiesFormatOutput { /** The IPSec shared key. */ sharedKey?: string; /** Virtual Network Gateway connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionStatus?: + | "Unknown" + | "Connecting" + | "Connected" + | "NotConnected"; /** Collection of all tunnels' connection health status. */ - tunnelConnectionStatus?: Array; + readonly tunnelConnectionStatus?: Array; /** The egress bytes transferred in this connection. */ - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; /** The ingress bytes transferred in this connection. */ - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; /** The reference to peerings resource. */ peer?: SubResourceOutput; /** EnableBgp flag. */ @@ -7531,9 +7715,9 @@ export interface VirtualNetworkGatewayConnectionPropertiesFormatOutput { /** The Traffic Selector Policies to be considered by this connection. */ trafficSelectorPolicies?: Array; /** The resource GUID property of the virtual network gateway connection resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the virtual network gateway connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Bypass ExpressRoute Gateway for data forwarding. */ expressRouteGatewayBypass?: boolean; /** Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. */ @@ -7545,7 +7729,7 @@ export interface LocalNetworkGatewayOutput extends ResourceOutput { /** Properties of the local network gateway. */ properties: LocalNetworkGatewayPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** LocalNetworkGateway properties. */ @@ -7559,9 +7743,9 @@ export interface LocalNetworkGatewayPropertiesFormatOutput { /** Local network gateway's BGP speaker settings. */ bgpSettings?: BgpSettingsOutput; /** The resource GUID property of the local network gateway resource. */ - resourceGuid?: string; + readonly resourceGuid?: string; /** The provisioning state of the local network gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for GetConnectionSharedKey API service call. */ @@ -7575,7 +7759,7 @@ export interface VirtualNetworkGatewayConnectionListResultOutput { /** A list of VirtualNetworkGatewayConnection resources that exists in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** The virtual network connection reset shared key. */ @@ -7589,7 +7773,7 @@ export interface LocalNetworkGatewayListResultOutput { /** A list of local network gateways that exists in a resource group. */ value?: Array; /** The URL to get the next set of results. */ - nextLink?: string; + readonly nextLink?: string; } /** List of virtual network gateway vpn client connection health. */ @@ -7601,29 +7785,29 @@ export interface VpnClientConnectionHealthDetailListResultOutput { /** VPN client connection health detail. */ export interface VpnClientConnectionHealthDetailOutput { /** The vpn client Id. */ - vpnConnectionId?: string; + readonly vpnConnectionId?: string; /** The duration time of a connected vpn client. */ - vpnConnectionDuration?: number; + readonly vpnConnectionDuration?: number; /** The start time of a connected vpn client. */ - vpnConnectionTime?: string; + readonly vpnConnectionTime?: string; /** The public Ip of a connected vpn client. */ - publicIpAddress?: string; + readonly publicIpAddress?: string; /** The assigned private Ip of a connected vpn client. */ - privateIpAddress?: string; + readonly privateIpAddress?: string; /** The user name of a connected vpn client. */ - vpnUserName?: string; + readonly vpnUserName?: string; /** The max band width. */ - maxBandwidth?: number; + readonly maxBandwidth?: number; /** The egress packets per second. */ - egressPacketsTransferred?: number; + readonly egressPacketsTransferred?: number; /** The egress bytes per second. */ - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; /** The ingress packets per second. */ - ingressPacketsTransferred?: number; + readonly ingressPacketsTransferred?: number; /** The ingress bytes per second. */ - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; /** The max packets transferred per second. */ - maxPacketsPerSecond?: number; + readonly maxPacketsPerSecond?: number; } /** Result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results. */ @@ -7647,7 +7831,7 @@ export interface VirtualRouterOutput extends ResourceOutput { /** Properties of the Virtual Router. */ properties?: VirtualRouterPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Virtual Router definition. */ @@ -7661,9 +7845,9 @@ export interface VirtualRouterPropertiesFormatOutput { /** The Gateway on which VirtualRouter is hosted. */ hostedGateway?: SubResourceOutput; /** List of references to VirtualRouterPeerings. */ - peerings?: Array; + readonly peerings?: Array; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for ListVirtualRouters API service call. */ @@ -7681,9 +7865,9 @@ export interface VirtualRouterPeeringOutput extends SubResourceOutput { /** Name of the virtual router peering that is unique within a virtual router. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Peering type. */ - type?: string; + readonly type?: string; } /** Properties of the rule group. */ @@ -7693,7 +7877,7 @@ export interface VirtualRouterPeeringPropertiesOutput { /** Peer IP. */ peerIp?: string; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Response for ListVirtualRouterPeerings API service call. */ @@ -7709,7 +7893,7 @@ export interface VirtualWANOutput extends ResourceOutput { /** Properties of the virtual WAN. */ properties?: VirtualWanPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for VirtualWAN. */ @@ -7717,17 +7901,21 @@ export interface VirtualWanPropertiesOutput { /** Vpn encryption to be disabled or not. */ disableVpnEncryption?: boolean; /** List of VirtualHubs in the VirtualWAN. */ - virtualHubs?: Array; + readonly virtualHubs?: Array; /** List of VpnSites in the VirtualWAN. */ - vpnSites?: Array; + readonly vpnSites?: Array; /** True if branch to branch traffic is allowed. */ allowBranchToBranchTraffic?: boolean; /** True if Vnet to Vnet traffic is allowed. */ allowVnetToVnetTraffic?: boolean; /** The office local breakout category. */ - office365LocalBreakoutCategory?: "Optimize" | "OptimizeAndAllow" | "All" | "None"; + readonly office365LocalBreakoutCategory?: + | "Optimize" + | "OptimizeAndAllow" + | "All" + | "None"; /** The provisioning state of the virtual WAN resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of the VirtualWAN. */ type?: string; } @@ -7745,7 +7933,7 @@ export interface VpnSiteOutput extends ResourceOutput { /** Properties of the VPN site. */ properties?: VpnSitePropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for VpnSite. */ @@ -7763,7 +7951,7 @@ export interface VpnSitePropertiesOutput { /** The set of bgp properties. */ bgpProperties?: BgpSettingsOutput; /** The provisioning state of the VPN site resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** IsSecuritySite flag. */ isSecuritySite?: boolean; /** List of all vpn site links. */ @@ -7787,11 +7975,11 @@ export interface VpnSiteLinkOutput extends SubResourceOutput { /** Properties of the VPN site link. */ properties?: VpnSiteLinkPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Parameters for VpnSite. */ @@ -7805,7 +7993,7 @@ export interface VpnSiteLinkPropertiesOutput { /** The set of bgp properties. */ bgpProperties?: VpnLinkBgpSettingsOutput; /** The provisioning state of the VPN site link resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** List of properties of a link provider. */ @@ -7869,7 +8057,7 @@ export interface VirtualWanSecurityProviderOutput { /** Url of the security provider. */ url?: string; /** Name of the security provider. */ - type?: "External" | "Native"; + readonly type?: "External" | "Native"; } /** VpnServerConfiguration Resource. */ @@ -7877,7 +8065,7 @@ export interface VpnServerConfigurationOutput extends ResourceOutput { /** Properties of the P2SVpnServer configuration. */ properties?: VpnServerConfigurationPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for VpnServerConfiguration. */ @@ -7907,13 +8095,13 @@ export interface VpnServerConfigurationPropertiesOutput { /** The set of aad vpn authentication parameters. */ aadAuthenticationParameters?: AadAuthenticationParametersOutput; /** The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. */ - provisioningState?: string; + readonly provisioningState?: string; /** List of references to P2SVpnGateways. */ - p2SVpnGateways?: Array; + readonly p2SVpnGateways?: Array; /** List of all VpnServerConfigurationPolicyGroups. */ configurationPolicyGroups?: Array; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Properties of VPN client root certificate of VpnServerConfiguration. */ @@ -7963,7 +8151,7 @@ export interface P2SVpnGatewayOutput extends ResourceOutput { /** Properties of the P2SVpnGateway. */ properties?: P2SVpnGatewayPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for P2SVpnGateway. */ @@ -7973,13 +8161,13 @@ export interface P2SVpnGatewayPropertiesOutput { /** List of all p2s connection configurations of the gateway. */ p2SConnectionConfigurations?: Array; /** The provisioning state of the P2S VPN gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The scale unit for this p2s vpn gateway. */ vpnGatewayScaleUnit?: number; /** The VpnServerConfiguration to which the p2sVpnGateway is attached to. */ vpnServerConfiguration?: SubResourceOutput; /** All P2S VPN clients' connection health status. */ - vpnClientConnectionHealth?: VpnClientConnectionHealthOutput; + readonly vpnClientConnectionHealth?: VpnClientConnectionHealthOutput; /** List of all customer specified DNS servers IP addresses. */ customDnsServers?: Array; /** Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway. */ @@ -7993,7 +8181,7 @@ export interface P2SConnectionConfigurationOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for P2SConnectionConfiguration. */ @@ -8005,11 +8193,11 @@ export interface P2SConnectionConfigurationPropertiesOutput { /** Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not. */ enableInternetSecurity?: boolean; /** List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to. */ - configurationPolicyGroupAssociations?: Array; + readonly configurationPolicyGroupAssociations?: Array; /** List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to. */ - previousConfigurationPolicyGroupAssociations?: Array; + readonly previousConfigurationPolicyGroupAssociations?: Array; /** The provisioning state of the P2SConnectionConfiguration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Routing Configuration indicating the associated and propagated route tables for this connection. */ @@ -8041,13 +8229,13 @@ export interface VnetRouteOutput { /** List of all Static Routes. */ staticRoutes?: Array; /** The list of references to HubBgpConnection objects. */ - bgpConnections?: Array; + readonly bgpConnections?: Array; } /** Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection. */ export interface StaticRoutesConfigOutput { /** Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to. */ - propagateStaticRoutes?: boolean; + readonly propagateStaticRoutes?: boolean; /** Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke. */ vnetLocalRouteOverrideCriteria?: "Contains" | "Equal"; } @@ -8063,15 +8251,16 @@ export interface StaticRouteOutput { } /** VpnServerConfigurationPolicyGroup Resource. */ -export interface VpnServerConfigurationPolicyGroupOutput extends SubResourceOutput { +export interface VpnServerConfigurationPolicyGroupOutput + extends SubResourceOutput { /** Properties of the VpnServerConfigurationPolicyGroup. */ properties?: VpnServerConfigurationPolicyGroupPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Parameters for VpnServerConfigurationPolicyGroup. */ @@ -8083,9 +8272,9 @@ export interface VpnServerConfigurationPolicyGroupPropertiesOutput { /** Multiple PolicyMembers for VpnServerConfigurationPolicyGroup. */ policyMembers?: Array; /** List of references to P2SConnectionConfigurations. */ - p2SConnectionConfigurations?: Array; + readonly p2SConnectionConfigurations?: Array; /** The provisioning state of the VpnServerConfigurationPolicyGroup resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VpnServerConfiguration PolicyGroup member */ @@ -8101,9 +8290,9 @@ export interface VpnServerConfigurationPolicyGroupMemberOutput { /** VpnClientConnectionHealth properties. */ export interface VpnClientConnectionHealthOutput { /** Total of the Ingress Bytes Transferred in this P2S Vpn connection. */ - totalIngressBytesTransferred?: number; + readonly totalIngressBytesTransferred?: number; /** Total of the Egress Bytes Transferred in this connection. */ - totalEgressBytesTransferred?: number; + readonly totalEgressBytesTransferred?: number; /** The total of p2s vpn clients connected at this time to this P2SVpnGateway. */ vpnClientConnectionsCount?: number; /** List of allocated ip addresses to the connected p2s vpn clients. */ @@ -8131,9 +8320,9 @@ export interface VirtualHubOutput extends ResourceOutput { /** Properties of the virtual hub. */ properties?: VirtualHubPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server. */ - kind?: string; + readonly kind?: string; } /** Parameters for VirtualHub. */ @@ -8155,7 +8344,7 @@ export interface VirtualHubPropertiesOutput { /** The routeTable associated with this virtual hub. */ routeTable?: VirtualHubRouteTableOutput; /** The provisioning state of the virtual hub resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The Security Provider name. */ securityProviderName?: string; /** List of all virtual hub route table v2s associated with this VirtualHub. */ @@ -8163,13 +8352,13 @@ export interface VirtualHubPropertiesOutput { /** The sku of this VirtualHub. */ sku?: string; /** The routing state. */ - routingState?: "None" | "Provisioned" | "Provisioning" | "Failed"; + readonly routingState?: "None" | "Provisioned" | "Provisioning" | "Failed"; /** List of references to Bgp Connections. */ - bgpConnections?: Array; + readonly bgpConnections?: Array; /** List of references to IpConfigurations. */ - ipConfigurations?: Array; + readonly ipConfigurations?: Array; /** List of references to RouteMaps. */ - routeMaps?: Array; + readonly routeMaps?: Array; /** VirtualRouter ASN. */ virtualRouterAsn?: number; /** VirtualRouter IPs. */ @@ -8205,7 +8394,7 @@ export interface VirtualHubRouteTableV2Output extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for VirtualHubRouteTableV2. */ @@ -8215,7 +8404,7 @@ export interface VirtualHubRouteTableV2PropertiesOutput { /** List of all connections attached to this route table v2. */ attachedConnections?: Array; /** The provisioning state of the virtual hub route table v2 resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VirtualHubRouteTableV2 route. */ @@ -8249,11 +8438,11 @@ export interface RouteMapOutput extends SubResourceOutput { /** Properties of the RouteMap resource. */ properties?: RouteMapPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; + readonly name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Properties of RouteMap resource */ @@ -8265,7 +8454,7 @@ export interface RouteMapPropertiesOutput { /** List of RouteMap rules to be applied. */ rules?: Array; /** The provisioning state of the RouteMap resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** A RouteMap Rule. */ @@ -8289,7 +8478,12 @@ export interface CriterionOutput { /** List of AS paths which this criteria matches. */ asPath?: Array; /** Match condition to apply RouteMap rules. */ - matchCondition?: "Unknown" | "Contains" | "Equals" | "NotContains" | "NotEquals"; + matchCondition?: + | "Unknown" + | "Contains" + | "Equals" + | "NotContains" + | "NotEquals"; } /** Action to be taken on a route matching a RouteMap criterion. */ @@ -8325,7 +8519,7 @@ export interface HubVirtualNetworkConnectionOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for HubVirtualNetworkConnection. */ @@ -8341,7 +8535,7 @@ export interface HubVirtualNetworkConnectionPropertiesOutput { /** The Routing Configuration indicating the associated and propagated route tables on this connection. */ routingConfiguration?: RoutingConfigurationOutput; /** The provisioning state of the hub virtual network connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results. */ @@ -8357,7 +8551,7 @@ export interface VpnGatewayOutput extends ResourceOutput { /** Properties of the VPN gateway. */ properties?: VpnGatewayPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for VpnGateway. */ @@ -8369,11 +8563,11 @@ export interface VpnGatewayPropertiesOutput { /** Local network gateway's BGP speaker settings. */ bgpSettings?: BgpSettingsOutput; /** The provisioning state of the VPN gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The scale unit for this vpn gateway. */ vpnGatewayScaleUnit?: number; /** List of all IPs configured on the gateway. */ - ipConfigurations?: Array; + readonly ipConfigurations?: Array; /** Enable BGP routes translation for NAT on this VpnGateway. */ enableBgpRouteTranslationForNat?: boolean; /** Enable Routing Preference property for the Public IP Interface of the VpnGateway. */ @@ -8389,7 +8583,7 @@ export interface VpnConnectionOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Parameters for VpnConnection. */ @@ -8401,13 +8595,17 @@ export interface VpnConnectionPropertiesOutput { /** DPD timeout in seconds for vpn connection. */ dpdTimeoutSeconds?: number; /** The connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionStatus?: + | "Unknown" + | "Connecting" + | "Connected" + | "NotConnected"; /** Connection protocol used for this connection. */ vpnConnectionProtocolType?: "IKEv2" | "IKEv1"; /** Ingress bytes transferred. */ - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; /** Egress bytes transferred. */ - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; /** Expected bandwidth in MBPS. */ connectionBandwidth?: number; /** SharedKey for the vpn connection. */ @@ -8427,7 +8625,7 @@ export interface VpnConnectionPropertiesOutput { /** Use local azure ip to initiate connection. */ useLocalAzureIpAddress?: boolean; /** The provisioning state of the VPN connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** List of all vpn site link connections to the gateway. */ vpnLinkConnections?: Array; /** The Routing Configuration indicating the associated and propagated route tables on this connection. */ @@ -8441,9 +8639,9 @@ export interface VpnSiteLinkConnectionOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Parameters for VpnConnection. */ @@ -8455,13 +8653,17 @@ export interface VpnSiteLinkConnectionPropertiesOutput { /** Vpn link connection mode. */ vpnLinkConnectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; /** The connection status. */ - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionStatus?: + | "Unknown" + | "Connecting" + | "Connected" + | "NotConnected"; /** Connection protocol used for this connection. */ vpnConnectionProtocolType?: "IKEv2" | "IKEv1"; /** Ingress bytes transferred. */ - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; /** Egress bytes transferred. */ - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; /** Expected bandwidth in MBPS. */ connectionBandwidth?: number; /** SharedKey for the vpn connection. */ @@ -8479,7 +8681,7 @@ export interface VpnSiteLinkConnectionPropertiesOutput { /** Use local azure ip to initiate connection. */ useLocalAzureIpAddress?: boolean; /** The provisioning state of the VPN site link connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** List of ingress NatRules. */ ingressNatRules?: Array; /** List of egress NatRules. */ @@ -8503,15 +8705,15 @@ export interface VpnGatewayNatRuleOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Parameters for VpnGatewayNatRule. */ export interface VpnGatewayNatRulePropertiesOutput { /** The provisioning state of the NAT Rule resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of NAT rule for VPN NAT. */ type?: "Static" | "Dynamic"; /** The Source NAT direction of a VPN NAT. */ @@ -8523,9 +8725,9 @@ export interface VpnGatewayNatRulePropertiesOutput { /** The IP Configuration ID this NAT rule applies to. */ ipConfigurationId?: string; /** List of egress VpnSiteLinkConnections. */ - egressVpnSiteLinkConnections?: Array; + readonly egressVpnSiteLinkConnections?: Array; /** List of ingress VpnSiteLinkConnections. */ - ingressVpnSiteLinkConnections?: Array; + readonly ingressVpnSiteLinkConnections?: Array; } /** Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results. */ @@ -8605,7 +8807,7 @@ export interface ExpressRouteGatewayOutput extends ResourceOutput { /** Properties of the express route gateway. */ properties?: ExpressRouteGatewayPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** ExpressRoute gateway resource properties. */ @@ -8615,7 +8817,7 @@ export interface ExpressRouteGatewayPropertiesOutput { /** List of ExpressRoute connections to the ExpressRoute gateway. */ expressRouteConnections?: Array; /** The provisioning state of the express route gateway resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The Virtual Hub where the ExpressRoute gateway is or will be deployed. */ virtualHub: VirtualHubIdOutput; } @@ -8645,7 +8847,7 @@ export interface ExpressRouteConnectionOutput extends SubResourceOutput { /** Properties of the ExpressRouteConnection subresource. */ export interface ExpressRouteConnectionPropertiesOutput { /** The provisioning state of the express route connection resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The ExpressRoute circuit peering. */ expressRouteCircuitPeering: ExpressRouteCircuitPeeringIdOutput; /** Authorization key to establish the connection. */ @@ -8687,9 +8889,9 @@ export interface BgpConnectionOutput extends SubResourceOutput { /** Name of the connection. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Connection type. */ - type?: string; + readonly type?: string; } /** Properties of the bgp connection. */ @@ -8701,9 +8903,13 @@ export interface BgpConnectionPropertiesOutput { /** The reference to the HubVirtualNetworkConnection resource. */ hubVirtualNetworkConnection?: SubResourceOutput; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The current state of the VirtualHub to Peer. */ - connectionState?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionState?: + | "Unknown" + | "Connecting" + | "Connected" + | "NotConnected"; } /** VirtualHubBgpConnections list. */ @@ -8723,19 +8929,19 @@ export interface PeerRouteListOutput { /** Peer routing details. */ export interface PeerRouteOutput { /** The peer's local address. */ - localAddress?: string; + readonly localAddress?: string; /** The route's network prefix. */ - network?: string; + readonly network?: string; /** The route's next hop. */ - nextHop?: string; + readonly nextHop?: string; /** The peer this route was learned from. */ - sourcePeer?: string; + readonly sourcePeer?: string; /** The source this route was learned from. */ - origin?: string; + readonly origin?: string; /** The route's AS path sequence. */ - asPath?: string; + readonly asPath?: string; /** The route's weight. */ - weight?: number; + readonly weight?: number; } /** IpConfigurations. */ @@ -8745,9 +8951,9 @@ export interface HubIpConfigurationOutput extends SubResourceOutput { /** Name of the Ip Configuration. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Ipconfiguration type. */ - type?: string; + readonly type?: string; } /** Properties of IP configuration. */ @@ -8761,7 +8967,7 @@ export interface HubIPConfigurationPropertiesFormatOutput { /** The reference to the public IP resource. */ publicIPAddress?: PublicIPAddressOutput; /** The provisioning state of the IP configuration resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** VirtualHubIpConfigurations list. */ @@ -8779,9 +8985,9 @@ export interface HubRouteTableOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** Parameters for RouteTable. */ @@ -8791,11 +8997,11 @@ export interface HubRouteTablePropertiesOutput { /** List of labels associated with this route table. */ labels?: Array; /** List of all connections associated with this route table. */ - associatedConnections?: Array; + readonly associatedConnections?: Array; /** List of all connections that advertise to this route table. */ - propagatingConnections?: Array; + readonly propagatingConnections?: Array; /** The provisioning state of the RouteTable resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** RouteTable route. */ @@ -8827,9 +9033,9 @@ export interface RoutingIntentOutput extends SubResourceOutput { /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; } /** The properties of a RoutingIntent resource. */ @@ -8837,7 +9043,7 @@ export interface RoutingIntentPropertiesOutput { /** List of routing policies. */ routingPolicies?: Array; /** The provisioning state of the RoutingIntent resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** The routing policy object used in a RoutingIntent resource. */ @@ -8861,9 +9067,9 @@ export interface ListRoutingIntentResultOutput { /** Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. */ export interface WebApplicationFirewallPolicyListResultOutput { /** List of WebApplicationFirewallPolicies within a resource group. */ - value?: Array; + readonly value?: Array; /** URL to get the next set of WebApplicationFirewallPolicy objects if there are any. */ - nextLink?: string; + readonly nextLink?: string; } /** Defines web application firewall policy. */ @@ -8871,7 +9077,7 @@ export interface WebApplicationFirewallPolicyOutput extends ResourceOutput { /** Properties of the web application firewall policy. */ properties?: WebApplicationFirewallPolicyPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Defines web application firewall policy properties. */ @@ -8881,17 +9087,23 @@ export interface WebApplicationFirewallPolicyPropertiesFormatOutput { /** The custom rules inside the policy. */ customRules?: Array; /** A collection of references to application gateways. */ - applicationGateways?: Array; + readonly applicationGateways?: Array; /** The provisioning state of the web application firewall policy resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** Resource status of the policy. */ - resourceState?: "Creating" | "Enabling" | "Enabled" | "Disabling" | "Disabled" | "Deleting"; + readonly resourceState?: + | "Creating" + | "Enabling" + | "Enabled" + | "Disabling" + | "Disabled" + | "Deleting"; /** Describes the managedRules structure. */ managedRules: ManagedRulesDefinitionOutput; /** A collection of references to application gateway http listeners. */ - httpListeners?: Array; + readonly httpListeners?: Array; /** A collection of references to application gateway path rules. */ - pathBasedRules?: Array; + readonly pathBasedRules?: Array; } /** Defines contents of a web application firewall global configuration. */ @@ -8913,7 +9125,7 @@ export interface WebApplicationFirewallCustomRuleOutput { /** The name of the resource that is unique within a policy. This name can be used to access the resource. */ name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. */ priority: number; /** The rule type. */ @@ -8996,7 +9208,12 @@ export interface OwaspCrsExclusionEntryOutput { | "RequestArgKeys" | "RequestArgValues"; /** When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. */ - selectorMatchOperator: "Equals" | "Contains" | "StartsWith" | "EndsWith" | "EqualsAny"; + selectorMatchOperator: + | "Equals" + | "Contains" + | "StartsWith" + | "EndsWith" + | "EqualsAny"; /** When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to. */ selector: string; /** The managed rule sets that are associated with the exclusion. */ @@ -9058,11 +9275,11 @@ export interface ManagedRuleOverrideOutput { /** SwapResource to represent slot type on the specified cloud service. */ export interface SwapResourceOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Swap resource properties */ properties?: SwapResourcePropertiesOutput; } @@ -9100,7 +9317,11 @@ export interface FirewallPolicyRuleOutputParent { name?: string; /** Description of the rule. */ description?: string; - ruleType: "FirewallPolicyRule" | "ApplicationRule" | "NatRule" | "NetworkRule"; + ruleType: + | "FirewallPolicyRule" + | "ApplicationRule" + | "NatRule" + | "NetworkRule"; } /** Firewall Policy Filter Rule Collection. */ @@ -9191,7 +9412,8 @@ export interface NetworkRuleOutput extends FirewallPolicyRuleOutputParent { } /** Network admin rule. */ -export interface ActiveSecurityAdminRuleOutput extends ActiveBaseSecurityAdminRuleOutputParent { +export interface ActiveSecurityAdminRuleOutput + extends ActiveBaseSecurityAdminRuleOutputParent { /** Indicates the properties of the security admin rule */ properties?: AdminPropertiesFormatOutput; kind: "Custom"; @@ -9218,7 +9440,7 @@ export interface AdminPropertiesFormatOutput { /** Indicates if the traffic matched against the rule in inbound or outbound. */ direction: "Inbound" | "Outbound"; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Address prefix item. */ @@ -9240,27 +9462,27 @@ export interface ActiveDefaultSecurityAdminRuleOutput /** Security default admin rule resource. */ export interface DefaultAdminPropertiesFormatOutput { /** A description for this rule. Restricted to 140 chars. */ - description?: string; + readonly description?: string; /** Default rule flag. */ flag?: string; /** Network protocol this rule applies to. */ - protocol?: "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"; + readonly protocol?: "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"; /** The CIDR or source IP ranges. */ - sources?: Array; + readonly sources?: Array; /** The destination address prefixes. CIDR or destination IP ranges. */ - destinations?: Array; + readonly destinations?: Array; /** The source port ranges. */ - sourcePortRanges?: Array; + readonly sourcePortRanges?: Array; /** The destination port ranges. */ - destinationPortRanges?: Array; + readonly destinationPortRanges?: Array; /** Indicates the access allowed for this particular rule */ - access?: "Allow" | "Deny" | "AlwaysAllow"; + readonly access?: "Allow" | "Deny" | "AlwaysAllow"; /** The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. */ - priority?: number; + readonly priority?: number; /** Indicates if the traffic matched against the rule in inbound or outbound. */ - direction?: "Inbound" | "Outbound"; + readonly direction?: "Inbound" | "Outbound"; /** The provisioning state of the resource. */ - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } /** Network admin rule. */ @@ -9298,9 +9520,9 @@ export interface PatchRouteFilterRuleOutput extends SubResourceOutput { /** Properties of the route filter rule. */ properties?: RouteFilterRulePropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; + readonly name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; } /** Route Filter Resource. */ @@ -9308,11 +9530,11 @@ export interface PatchRouteFilterOutput extends SubResourceOutput { /** Properties of the route filter. */ properties?: RouteFilterPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; + readonly name?: string; /** A unique read-only string that changes whenever the resource is updated. */ - etag?: string; + readonly etag?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource tags. */ tags?: Record; } @@ -9332,4 +9554,7 @@ export type EffectiveBaseSecurityAdminRuleOutput = /** Network base admin rule. */ export type BaseAdminRuleOutput = AdminRuleOutput | DefaultAdminRuleOutput; /** Properties of a rule. */ -export type FirewallPolicyRuleOutput = ApplicationRuleOutput | NatRuleOutput | NetworkRuleOutput; +export type FirewallPolicyRuleOutput = + | ApplicationRuleOutput + | NatRuleOutput + | NetworkRuleOutput; diff --git a/sdk/network/arm-network-rest/src/paginateHelper.ts b/sdk/network/arm-network-rest/src/paginateHelper.ts index 5d541b4e406d..5ef95e5ea0a3 100644 --- a/sdk/network/arm-network-rest/src/paginateHelper.ts +++ b/sdk/network/arm-network-rest/src/paginateHelper.ts @@ -1,10 +1,162 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { getPagedAsyncIterator } from "@azure/core-paging"; -import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; -import { createRestError } from "@azure-rest/core-client"; +import { + Client, + createRestError, + PathUncheckedResponse, +} from "@azure-rest/core-client"; + +/** + * returns an async iterator that iterates over results. It also has a `byPage` + * method that returns pages of items at once. + * + * @param pagedResult - an object that specifies how to get pages. + * @returns a paged async iterator that iterates over results. + */ +function getPagedAsyncIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, + TLink = string, +>( + pagedResult: PagedResult, +): PagedAsyncIterableIterator { + const iter = getItemAsyncIterator( + pagedResult, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: + pagedResult?.byPage ?? + (((settings?: PageSettings) => { + const { continuationToken } = settings ?? {}; + return getPageAsyncIterator(pagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + }); + }) as unknown as ( + settings?: TPageSettings, + ) => AsyncIterableIterator), + }; +} + +async function* getItemAsyncIterator( + pagedResult: PagedResult, +): AsyncIterableIterator { + const pages = getPageAsyncIterator(pagedResult); + const firstVal = await pages.next(); + // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is + if (!Array.isArray(firstVal.value)) { + // can extract elements from this page + const { toElements } = pagedResult; + if (toElements) { + yield* toElements(firstVal.value) as TElement[]; + for await (const page of pages) { + yield* toElements(page) as TElement[]; + } + } else { + yield firstVal.value; + // `pages` is of type `AsyncIterableIterator` but TPage = TElement in this case + yield* pages as unknown as AsyncIterableIterator; + } + } else { + yield* firstVal.value; + for await (const page of pages) { + // pages is of type `AsyncIterableIterator` so `page` is of type `TPage`. In this branch, + // it must be the case that `TPage = TElement[]` + yield* page as unknown as TElement[]; + } + } +} + +async function* getPageAsyncIterator( + pagedResult: PagedResult, + options: { + pageLink?: TLink; + } = {}, +): AsyncIterableIterator { + const { pageLink } = options; + let response = await pagedResult.getPage( + pageLink ?? pagedResult.firstPageLink, + ); + if (!response) { + return; + } + yield response.page; + while (response.nextPageLink) { + response = await pagedResult.getPage(response.nextPageLink); + if (!response) { + return; + } + yield response.page; + } +} + +/** + * An interface that tracks the settings for paged iteration + */ +export interface PageSettings { + /** + * The token that keeps track of where to continue the iterator + */ + continuationToken?: string; +} + +/** + * An interface that allows async iterable iteration both to completion and by page. + */ +export interface PagedAsyncIterableIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, +> { + /** + * The next method, part of the iteration protocol + */ + next(): Promise>; + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator](): PagedAsyncIterableIterator< + TElement, + TPage, + TPageSettings + >; + /** + * Return an AsyncIterableIterator that works a page at a time + */ + byPage: (settings?: TPageSettings) => AsyncIterableIterator; +} + +/** + * An interface that describes how to communicate with the service. + */ +interface PagedResult { + /** + * Link to the first page of results. + */ + firstPageLink: TLink; + /** + * A method that returns a page of results. + */ + getPage: ( + pageLink: TLink, + ) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + /** + * a function to implement the `byPage` method on the paged async iterator. + */ + byPage?: (settings?: TPageSettings) => AsyncIterableIterator; + + /** + * A function to extract elements from a page. + */ + toElements?: (page: TPage) => unknown[]; +} /** * Helper type to extract the type of an array @@ -14,10 +166,7 @@ export type GetArrayType = T extends Array ? TData : never; /** * The type of a custom function that defines how to get a page and a link to the next one if any. */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; @@ -69,7 +218,9 @@ export function paginate( typeof customGetPage === "function" ? customGetPage : async (pageLink: string) => { - const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get(); + const result = firstRun + ? initialResponse + : await client.pathUnchecked(pageLink).get(); firstRun = false; checkPagingRequest(result); const nextLink = getNextLink(result.body, nextLinkName); @@ -95,7 +246,9 @@ function getNextLink(body: unknown, nextLinkName?: string): string | undefined { const nextLink = (body as Record)[nextLinkName]; if (typeof nextLink !== "string" && typeof nextLink !== "undefined") { - throw new Error(`Body Property ${nextLinkName} should be a string or undefined`); + throw new Error( + `Body Property ${nextLinkName} should be a string or undefined`, + ); } return nextLink; @@ -123,7 +276,18 @@ function getElements(body: unknown, itemName: string): T[] { * Checks if a request failed */ function checkPagingRequest(response: PathUncheckedResponse): void { - const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"]; + const Http2xxStatusCodes = [ + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "226", + ]; if (!Http2xxStatusCodes.includes(response.status)) { throw createRestError( `Pagination failed with unexpected statusCode ${response.status}`, diff --git a/sdk/network/arm-network-rest/src/parameters.ts b/sdk/network/arm-network-rest/src/parameters.ts index 8c7dcd7f62ce..0c44e1bc0d9b 100644 --- a/sdk/network/arm-network-rest/src/parameters.ts +++ b/sdk/network/arm-network-rest/src/parameters.ts @@ -1,147 +1,147 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RawHttpHeadersInput } from "@azure/core-rest-pipeline"; -import type { RequestParameters } from "@azure-rest/core-client"; -import type { - ActiveConfigurationParameter, - AdminRuleCollection, +import { RawHttpHeadersInput } from "@azure/core-rest-pipeline"; +import { RequestParameters } from "@azure-rest/core-client"; +import { ApplicationGateway, + TagsObject, ApplicationGatewayOnDemandProbe, ApplicationGatewayPrivateEndpointConnection, ApplicationSecurityGroup, - AvailableProvidersListParameters, AzureFirewall, - AzureReachabilityReportParameters, - BackendAddressPool, - BaseAdminRule, BastionHost, BastionShareableLinkListRequest, - BgpConnection, - CheckPrivateLinkServiceVisibilityRequest, - ConnectionMonitor, - ConnectionResetSharedKey, - ConnectionSharedKey, - ConnectivityConfiguration, - ConnectivityParameters, + SessionIds, + ActiveConfigurationParameter, + QueryRequestOptions, + VirtualWanVpnProfileParameters, + NetworkInterface, + PublicIPAddress, CustomIpPrefix, DdosCustomPolicy, DdosProtectionPlan, DscpConfiguration, - EffectiveRoutesParameters, - ExpressRouteCircuit, ExpressRouteCircuitAuthorization, - ExpressRouteCircuitConnection, ExpressRouteCircuitPeering, - ExpressRouteConnection, + ExpressRouteCircuitConnection, + ExpressRouteCircuit, ExpressRouteCrossConnection, ExpressRouteCrossConnectionPeering, - ExpressRouteGateway, ExpressRoutePort, + GenerateExpressRoutePortsLOARequest, ExpressRoutePortAuthorization, FirewallPolicy, FirewallPolicyRuleCollectionGroup, - FlowLog, - FlowLogInformation, - FlowLogStatusParameters, - GenerateExpressRoutePortsLOARequest, - GetInboundRoutesParameters, - GetOutboundRoutesParameters, - GetVpnSitesConfigurationRequest, - HubIpConfiguration, - HubRouteTable, - HubVirtualNetworkConnection, IdpsQueryObject, - InboundNatRule, - InboundSecurityRule, + SignaturesOverrides, + SignatureOverridesFilterValuesQuery, IpAllocation, IpGroup, LoadBalancer, LoadBalancerVipSwapRequest, - LocalNetworkGateway, + QueryInboundNatRulePortMappingRequest, + BackendAddressPool, + InboundNatRule, NatGateway, - NetworkConfigurationDiagnosticParameters, - NetworkGroup, - NetworkInterface, NetworkInterfaceTapConfiguration, NetworkManager, + PatchObject, NetworkManagerCommit, - NetworkManagerConnection, NetworkManagerDeploymentStatusParameter, + NetworkManagerConnection, + ConnectivityConfiguration, + NetworkGroup, + StaticMember, + ScopeConnection, + SecurityAdminConfiguration, + AdminRuleCollection, + BaseAdminRule, NetworkProfile, NetworkSecurityGroup, + SecurityRule, NetworkVirtualAppliance, + VirtualApplianceSite, + InboundSecurityRule, NetworkWatcher, + TopologyParameters, + VerificationIPFlowParameters, NextHopParameters, - P2SVpnConnectionHealthRequest, - P2SVpnConnectionRequest, - P2SVpnGateway, - P2SVpnProfileParameters, + SecurityGroupViewParameters, + TroubleshootingParameters, + QueryTroubleshootingParameters, + FlowLogInformation, + FlowLogStatusParameters, + ConnectivityParameters, + AzureReachabilityReportParameters, + AvailableProvidersListParameters, + NetworkConfigurationDiagnosticParameters, PacketCapture, - PatchObject, - PrepareNetworkPoliciesRequest, - PrivateDnsZoneGroup, + ConnectionMonitor, + FlowLog, PrivateEndpoint, - PrivateEndpointConnection, + PrivateDnsZoneGroup, PrivateLinkService, - PublicIPAddress, + PrivateEndpointConnection, + CheckPrivateLinkServiceVisibilityRequest, PublicIPPrefix, - QueryInboundNatRulePortMappingRequest, - QueryRequestOptions, - QueryTroubleshootingParameters, - Route, RouteFilter, RouteFilterRule, - RouteMap, RouteTable, - RoutingIntent, - ScopeConnection, - SecurityAdminConfiguration, - SecurityGroupViewParameters, + Route, SecurityPartnerProvider, - SecurityRule, ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, - SessionIds, - SignatureOverridesFilterValuesQuery, - SignaturesOverrides, - StaticMember, + VirtualNetwork, Subnet, - SwapResource, - TagsObject, - TopologyParameters, - TroubleshootingParameters, + PrepareNetworkPoliciesRequest, UnprepareNetworkPoliciesRequest, - VerificationIPFlowParameters, - VirtualApplianceSite, - VirtualHub, - VirtualHubRouteTableV2, - VirtualNetwork, + VirtualNetworkPeering, VirtualNetworkGateway, + VpnClientParameters, + VpnClientIPsecParameters, + VpnDeviceScriptParameters, + VpnPacketCaptureStartParameters, + VpnPacketCaptureStopParameters, + P2SVpnConnectionRequest, VirtualNetworkGatewayConnection, + ConnectionSharedKey, + ConnectionResetSharedKey, + LocalNetworkGateway, VirtualNetworkGatewayNatRule, - VirtualNetworkPeering, VirtualNetworkTap, VirtualRouter, VirtualRouterPeering, VirtualWAN, - VirtualWanVpnProfileParameters, - VpnClientIPsecParameters, - VpnClientParameters, + VpnSite, + GetVpnSitesConfigurationRequest, + VpnServerConfiguration, + VpnServerConfigurationPolicyGroup, + VirtualHub, + EffectiveRoutesParameters, + GetInboundRoutesParameters, + GetOutboundRoutesParameters, + RouteMap, + HubVirtualNetworkConnection, + VpnGateway, + VpnGatewayPacketCaptureStartParameters, + VpnGatewayPacketCaptureStopParameters, VpnConnection, VpnConnectionPacketCaptureStartParameters, VpnConnectionPacketCaptureStopParameters, - VpnDeviceScriptParameters, - VpnGateway, VpnGatewayNatRule, - VpnGatewayPacketCaptureStartParameters, - VpnGatewayPacketCaptureStopParameters, - VpnPacketCaptureStartParameters, - VpnPacketCaptureStopParameters, - VpnServerConfiguration, - VpnServerConfigurationPolicyGroup, - VpnSite, + P2SVpnGateway, + P2SVpnProfileParameters, + P2SVpnConnectionHealthRequest, + VirtualHubRouteTableV2, + ExpressRouteGateway, + ExpressRouteConnection, + BgpConnection, + HubIpConfiguration, + HubRouteTable, + RoutingIntent, WebApplicationFirewallPolicy, + SwapResource, } from "./models"; export interface ApplicationGatewaysDeleteQueryParamProperties { @@ -153,8 +153,8 @@ export interface ApplicationGatewaysDeleteQueryParam { queryParameters: ApplicationGatewaysDeleteQueryParamProperties; } -export type ApplicationGatewaysDeleteParameters = ApplicationGatewaysDeleteQueryParam & - RequestParameters; +export type ApplicationGatewaysDeleteParameters = + ApplicationGatewaysDeleteQueryParam & RequestParameters; export interface ApplicationGatewaysGetQueryParamProperties { /** Api Version */ @@ -165,7 +165,8 @@ export interface ApplicationGatewaysGetQueryParam { queryParameters: ApplicationGatewaysGetQueryParamProperties; } -export type ApplicationGatewaysGetParameters = ApplicationGatewaysGetQueryParam & RequestParameters; +export type ApplicationGatewaysGetParameters = + ApplicationGatewaysGetQueryParam & RequestParameters; export interface ApplicationGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to the create or update application gateway operation. */ @@ -211,10 +212,11 @@ export interface ApplicationGatewaysUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ApplicationGatewaysUpdateTagsParameters = ApplicationGatewaysUpdateTagsQueryParam & - ApplicationGatewaysUpdateTagsMediaTypesParam & - ApplicationGatewaysUpdateTagsBodyParam & - RequestParameters; +export type ApplicationGatewaysUpdateTagsParameters = + ApplicationGatewaysUpdateTagsQueryParam & + ApplicationGatewaysUpdateTagsMediaTypesParam & + ApplicationGatewaysUpdateTagsBodyParam & + RequestParameters; export interface ApplicationGatewaysListQueryParamProperties { /** Api Version */ @@ -225,8 +227,8 @@ export interface ApplicationGatewaysListQueryParam { queryParameters: ApplicationGatewaysListQueryParamProperties; } -export type ApplicationGatewaysListParameters = ApplicationGatewaysListQueryParam & - RequestParameters; +export type ApplicationGatewaysListParameters = + ApplicationGatewaysListQueryParam & RequestParameters; export interface ApplicationGatewaysListAllQueryParamProperties { /** Api Version */ @@ -237,8 +239,8 @@ export interface ApplicationGatewaysListAllQueryParam { queryParameters: ApplicationGatewaysListAllQueryParamProperties; } -export type ApplicationGatewaysListAllParameters = ApplicationGatewaysListAllQueryParam & - RequestParameters; +export type ApplicationGatewaysListAllParameters = + ApplicationGatewaysListAllQueryParam & RequestParameters; export interface ApplicationGatewaysStartQueryParamProperties { /** Api Version */ @@ -249,8 +251,8 @@ export interface ApplicationGatewaysStartQueryParam { queryParameters: ApplicationGatewaysStartQueryParamProperties; } -export type ApplicationGatewaysStartParameters = ApplicationGatewaysStartQueryParam & - RequestParameters; +export type ApplicationGatewaysStartParameters = + ApplicationGatewaysStartQueryParam & RequestParameters; export interface ApplicationGatewaysStopQueryParamProperties { /** Api Version */ @@ -261,8 +263,8 @@ export interface ApplicationGatewaysStopQueryParam { queryParameters: ApplicationGatewaysStopQueryParamProperties; } -export type ApplicationGatewaysStopParameters = ApplicationGatewaysStopQueryParam & - RequestParameters; +export type ApplicationGatewaysStopParameters = + ApplicationGatewaysStopQueryParam & RequestParameters; export interface ApplicationGatewaysBackendHealthQueryParamProperties { /** Api Version */ @@ -375,7 +377,8 @@ export interface ApplicationGatewaysListAvailableSslPredefinedPoliciesQueryParam } export type ApplicationGatewaysListAvailableSslPredefinedPoliciesParameters = - ApplicationGatewaysListAvailableSslPredefinedPoliciesQueryParam & RequestParameters; + ApplicationGatewaysListAvailableSslPredefinedPoliciesQueryParam & + RequestParameters; export interface ApplicationGatewaysGetSslPredefinedPolicyQueryParamProperties { /** Api Version */ @@ -411,7 +414,8 @@ export interface ApplicationGatewayPrivateEndpointConnectionsDeleteQueryParam { } export type ApplicationGatewayPrivateEndpointConnectionsDeleteParameters = - ApplicationGatewayPrivateEndpointConnectionsDeleteQueryParam & RequestParameters; + ApplicationGatewayPrivateEndpointConnectionsDeleteQueryParam & + RequestParameters; export interface ApplicationGatewayPrivateEndpointConnectionsUpdateBodyParam { /** Parameters supplied to update application gateway private endpoint connection operation. */ @@ -460,7 +464,8 @@ export interface ApplicationGatewayPrivateEndpointConnectionsListQueryParam { } export type ApplicationGatewayPrivateEndpointConnectionsListParameters = - ApplicationGatewayPrivateEndpointConnectionsListQueryParam & RequestParameters; + ApplicationGatewayPrivateEndpointConnectionsListQueryParam & + RequestParameters; export interface ApplicationGatewayWafDynamicManifestsDefaultGetQueryParamProperties { /** Api Version */ @@ -495,8 +500,8 @@ export interface ApplicationSecurityGroupsDeleteQueryParam { queryParameters: ApplicationSecurityGroupsDeleteQueryParamProperties; } -export type ApplicationSecurityGroupsDeleteParameters = ApplicationSecurityGroupsDeleteQueryParam & - RequestParameters; +export type ApplicationSecurityGroupsDeleteParameters = + ApplicationSecurityGroupsDeleteQueryParam & RequestParameters; export interface ApplicationSecurityGroupsGetQueryParamProperties { /** Api Version */ @@ -507,8 +512,8 @@ export interface ApplicationSecurityGroupsGetQueryParam { queryParameters: ApplicationSecurityGroupsGetQueryParamProperties; } -export type ApplicationSecurityGroupsGetParameters = ApplicationSecurityGroupsGetQueryParam & - RequestParameters; +export type ApplicationSecurityGroupsGetParameters = + ApplicationSecurityGroupsGetQueryParam & RequestParameters; export interface ApplicationSecurityGroupsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update ApplicationSecurityGroup operation. */ @@ -581,8 +586,8 @@ export interface ApplicationSecurityGroupsListQueryParam { queryParameters: ApplicationSecurityGroupsListQueryParamProperties; } -export type ApplicationSecurityGroupsListParameters = ApplicationSecurityGroupsListQueryParam & - RequestParameters; +export type ApplicationSecurityGroupsListParameters = + ApplicationSecurityGroupsListQueryParam & RequestParameters; export interface AvailableDelegationsListQueryParamProperties { /** Api Version */ @@ -593,8 +598,8 @@ export interface AvailableDelegationsListQueryParam { queryParameters: AvailableDelegationsListQueryParamProperties; } -export type AvailableDelegationsListParameters = AvailableDelegationsListQueryParam & - RequestParameters; +export type AvailableDelegationsListParameters = + AvailableDelegationsListQueryParam & RequestParameters; export interface AvailableResourceGroupDelegationsListQueryParamProperties { /** Api Version */ @@ -617,8 +622,8 @@ export interface AvailableServiceAliasesListQueryParam { queryParameters: AvailableServiceAliasesListQueryParamProperties; } -export type AvailableServiceAliasesListParameters = AvailableServiceAliasesListQueryParam & - RequestParameters; +export type AvailableServiceAliasesListParameters = + AvailableServiceAliasesListQueryParam & RequestParameters; export interface AvailableServiceAliasesListByResourceGroupQueryParamProperties { /** Api Version */ @@ -641,7 +646,8 @@ export interface AzureFirewallsDeleteQueryParam { queryParameters: AzureFirewallsDeleteQueryParamProperties; } -export type AzureFirewallsDeleteParameters = AzureFirewallsDeleteQueryParam & RequestParameters; +export type AzureFirewallsDeleteParameters = AzureFirewallsDeleteQueryParam & + RequestParameters; export interface AzureFirewallsGetQueryParamProperties { /** Api Version */ @@ -652,7 +658,8 @@ export interface AzureFirewallsGetQueryParam { queryParameters: AzureFirewallsGetQueryParamProperties; } -export type AzureFirewallsGetParameters = AzureFirewallsGetQueryParam & RequestParameters; +export type AzureFirewallsGetParameters = AzureFirewallsGetQueryParam & + RequestParameters; export interface AzureFirewallsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Azure Firewall operation. */ @@ -673,10 +680,11 @@ export interface AzureFirewallsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type AzureFirewallsCreateOrUpdateParameters = AzureFirewallsCreateOrUpdateQueryParam & - AzureFirewallsCreateOrUpdateMediaTypesParam & - AzureFirewallsCreateOrUpdateBodyParam & - RequestParameters; +export type AzureFirewallsCreateOrUpdateParameters = + AzureFirewallsCreateOrUpdateQueryParam & + AzureFirewallsCreateOrUpdateMediaTypesParam & + AzureFirewallsCreateOrUpdateBodyParam & + RequestParameters; export interface AzureFirewallsUpdateTagsBodyParam { /** Parameters supplied to update azure firewall tags. */ @@ -697,10 +705,11 @@ export interface AzureFirewallsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type AzureFirewallsUpdateTagsParameters = AzureFirewallsUpdateTagsQueryParam & - AzureFirewallsUpdateTagsMediaTypesParam & - AzureFirewallsUpdateTagsBodyParam & - RequestParameters; +export type AzureFirewallsUpdateTagsParameters = + AzureFirewallsUpdateTagsQueryParam & + AzureFirewallsUpdateTagsMediaTypesParam & + AzureFirewallsUpdateTagsBodyParam & + RequestParameters; export interface AzureFirewallsListQueryParamProperties { /** Api Version */ @@ -711,7 +720,8 @@ export interface AzureFirewallsListQueryParam { queryParameters: AzureFirewallsListQueryParamProperties; } -export type AzureFirewallsListParameters = AzureFirewallsListQueryParam & RequestParameters; +export type AzureFirewallsListParameters = AzureFirewallsListQueryParam & + RequestParameters; export interface AzureFirewallsListAllQueryParamProperties { /** Api Version */ @@ -722,7 +732,8 @@ export interface AzureFirewallsListAllQueryParam { queryParameters: AzureFirewallsListAllQueryParamProperties; } -export type AzureFirewallsListAllParameters = AzureFirewallsListAllQueryParam & RequestParameters; +export type AzureFirewallsListAllParameters = AzureFirewallsListAllQueryParam & + RequestParameters; export interface AzureFirewallsListLearnedPrefixesQueryParamProperties { /** Api Version */ @@ -745,8 +756,8 @@ export interface AzureFirewallFqdnTagsListAllQueryParam { queryParameters: AzureFirewallFqdnTagsListAllQueryParamProperties; } -export type AzureFirewallFqdnTagsListAllParameters = AzureFirewallFqdnTagsListAllQueryParam & - RequestParameters; +export type AzureFirewallFqdnTagsListAllParameters = + AzureFirewallFqdnTagsListAllQueryParam & RequestParameters; export interface WebCategoriesGetQueryParamProperties { /** Api Version */ @@ -759,7 +770,8 @@ export interface WebCategoriesGetQueryParam { queryParameters: WebCategoriesGetQueryParamProperties; } -export type WebCategoriesGetParameters = WebCategoriesGetQueryParam & RequestParameters; +export type WebCategoriesGetParameters = WebCategoriesGetQueryParam & + RequestParameters; export interface WebCategoriesListBySubscriptionQueryParamProperties { /** Api Version */ @@ -770,8 +782,8 @@ export interface WebCategoriesListBySubscriptionQueryParam { queryParameters: WebCategoriesListBySubscriptionQueryParamProperties; } -export type WebCategoriesListBySubscriptionParameters = WebCategoriesListBySubscriptionQueryParam & - RequestParameters; +export type WebCategoriesListBySubscriptionParameters = + WebCategoriesListBySubscriptionQueryParam & RequestParameters; export interface BastionHostsDeleteQueryParamProperties { /** Api Version */ @@ -782,7 +794,8 @@ export interface BastionHostsDeleteQueryParam { queryParameters: BastionHostsDeleteQueryParamProperties; } -export type BastionHostsDeleteParameters = BastionHostsDeleteQueryParam & RequestParameters; +export type BastionHostsDeleteParameters = BastionHostsDeleteQueryParam & + RequestParameters; export interface BastionHostsGetQueryParamProperties { /** Api Version */ @@ -793,7 +806,8 @@ export interface BastionHostsGetQueryParam { queryParameters: BastionHostsGetQueryParamProperties; } -export type BastionHostsGetParameters = BastionHostsGetQueryParam & RequestParameters; +export type BastionHostsGetParameters = BastionHostsGetQueryParam & + RequestParameters; export interface BastionHostsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Bastion Host operation. */ @@ -814,10 +828,11 @@ export interface BastionHostsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type BastionHostsCreateOrUpdateParameters = BastionHostsCreateOrUpdateQueryParam & - BastionHostsCreateOrUpdateMediaTypesParam & - BastionHostsCreateOrUpdateBodyParam & - RequestParameters; +export type BastionHostsCreateOrUpdateParameters = + BastionHostsCreateOrUpdateQueryParam & + BastionHostsCreateOrUpdateMediaTypesParam & + BastionHostsCreateOrUpdateBodyParam & + RequestParameters; export interface BastionHostsUpdateTagsBodyParam { /** Parameters supplied to update BastionHost tags. */ @@ -838,10 +853,11 @@ export interface BastionHostsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type BastionHostsUpdateTagsParameters = BastionHostsUpdateTagsQueryParam & - BastionHostsUpdateTagsMediaTypesParam & - BastionHostsUpdateTagsBodyParam & - RequestParameters; +export type BastionHostsUpdateTagsParameters = + BastionHostsUpdateTagsQueryParam & + BastionHostsUpdateTagsMediaTypesParam & + BastionHostsUpdateTagsBodyParam & + RequestParameters; export interface BastionHostsListQueryParamProperties { /** Api Version */ @@ -852,7 +868,8 @@ export interface BastionHostsListQueryParam { queryParameters: BastionHostsListQueryParamProperties; } -export type BastionHostsListParameters = BastionHostsListQueryParam & RequestParameters; +export type BastionHostsListParameters = BastionHostsListQueryParam & + RequestParameters; export interface BastionHostsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -863,8 +880,8 @@ export interface BastionHostsListByResourceGroupQueryParam { queryParameters: BastionHostsListByResourceGroupQueryParamProperties; } -export type BastionHostsListByResourceGroupParameters = BastionHostsListByResourceGroupQueryParam & - RequestParameters; +export type BastionHostsListByResourceGroupParameters = + BastionHostsListByResourceGroupQueryParam & RequestParameters; export interface PutBastionShareableLinkBodyParam { /** Post request for all the Bastion Shareable Link endpoints. */ @@ -885,10 +902,11 @@ export interface PutBastionShareableLinkMediaTypesParam { contentType?: "application/json"; } -export type PutBastionShareableLinkParameters = PutBastionShareableLinkQueryParam & - PutBastionShareableLinkMediaTypesParam & - PutBastionShareableLinkBodyParam & - RequestParameters; +export type PutBastionShareableLinkParameters = + PutBastionShareableLinkQueryParam & + PutBastionShareableLinkMediaTypesParam & + PutBastionShareableLinkBodyParam & + RequestParameters; export interface DeleteBastionShareableLinkBodyParam { /** Post request for all the Bastion Shareable Link endpoints. */ @@ -909,10 +927,11 @@ export interface DeleteBastionShareableLinkMediaTypesParam { contentType?: "application/json"; } -export type DeleteBastionShareableLinkParameters = DeleteBastionShareableLinkQueryParam & - DeleteBastionShareableLinkMediaTypesParam & - DeleteBastionShareableLinkBodyParam & - RequestParameters; +export type DeleteBastionShareableLinkParameters = + DeleteBastionShareableLinkQueryParam & + DeleteBastionShareableLinkMediaTypesParam & + DeleteBastionShareableLinkBodyParam & + RequestParameters; export interface GetBastionShareableLinkBodyParam { /** Post request for all the Bastion Shareable Link endpoints. */ @@ -933,10 +952,11 @@ export interface GetBastionShareableLinkMediaTypesParam { contentType?: "application/json"; } -export type GetBastionShareableLinkParameters = GetBastionShareableLinkQueryParam & - GetBastionShareableLinkMediaTypesParam & - GetBastionShareableLinkBodyParam & - RequestParameters; +export type GetBastionShareableLinkParameters = + GetBastionShareableLinkQueryParam & + GetBastionShareableLinkMediaTypesParam & + GetBastionShareableLinkBodyParam & + RequestParameters; export interface GetActiveSessionsQueryParamProperties { /** Api Version */ @@ -947,7 +967,8 @@ export interface GetActiveSessionsQueryParam { queryParameters: GetActiveSessionsQueryParamProperties; } -export type GetActiveSessionsParameters = GetActiveSessionsQueryParam & RequestParameters; +export type GetActiveSessionsParameters = GetActiveSessionsQueryParam & + RequestParameters; export interface DisconnectActiveSessionsBodyParam { /** The list of sessionids to disconnect. */ @@ -968,10 +989,11 @@ export interface DisconnectActiveSessionsMediaTypesParam { contentType?: "application/json"; } -export type DisconnectActiveSessionsParameters = DisconnectActiveSessionsQueryParam & - DisconnectActiveSessionsMediaTypesParam & - DisconnectActiveSessionsBodyParam & - RequestParameters; +export type DisconnectActiveSessionsParameters = + DisconnectActiveSessionsQueryParam & + DisconnectActiveSessionsMediaTypesParam & + DisconnectActiveSessionsBodyParam & + RequestParameters; export interface CheckDnsNameAvailabilityQueryParamProperties { /** The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. */ @@ -984,8 +1006,20 @@ export interface CheckDnsNameAvailabilityQueryParam { queryParameters: CheckDnsNameAvailabilityQueryParamProperties; } -export type CheckDnsNameAvailabilityParameters = CheckDnsNameAvailabilityQueryParam & - RequestParameters; +export type CheckDnsNameAvailabilityParameters = + CheckDnsNameAvailabilityQueryParam & RequestParameters; + +export interface ExpressRouteProviderPortQueryParamProperties { + /** Api Version */ + "api-version": "2022-05-01"; +} + +export interface ExpressRouteProviderPortQueryParam { + queryParameters: ExpressRouteProviderPortQueryParamProperties; +} + +export type ExpressRouteProviderPortParameters = + ExpressRouteProviderPortQueryParam & RequestParameters; export interface ListActiveConnectivityConfigurationsBodyParam { /** Active Configuration Parameter. */ @@ -1035,10 +1069,11 @@ export interface ListActiveSecurityAdminRulesMediaTypesParam { contentType?: "application/json"; } -export type ListActiveSecurityAdminRulesParameters = ListActiveSecurityAdminRulesQueryParam & - ListActiveSecurityAdminRulesMediaTypesParam & - ListActiveSecurityAdminRulesBodyParam & - RequestParameters; +export type ListActiveSecurityAdminRulesParameters = + ListActiveSecurityAdminRulesQueryParam & + ListActiveSecurityAdminRulesMediaTypesParam & + ListActiveSecurityAdminRulesBodyParam & + RequestParameters; export interface ListNetworkManagerEffectiveConnectivityConfigurationsBodyParam { /** Parameters supplied to list correct page. */ @@ -1103,8 +1138,8 @@ export interface SupportedSecurityProvidersQueryParam { queryParameters: SupportedSecurityProvidersQueryParamProperties; } -export type SupportedSecurityProvidersParameters = SupportedSecurityProvidersQueryParam & - RequestParameters; +export type SupportedSecurityProvidersParameters = + SupportedSecurityProvidersQueryParam & RequestParameters; export interface GeneratevirtualwanvpnserverconfigurationvpnprofileBodyParam { /** Parameters supplied to the generate VirtualWan VPN profile generation operation. */ @@ -1141,7 +1176,8 @@ export interface NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesQ } export type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesParameters = - NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesQueryParam & RequestParameters; + NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesQueryParam & + RequestParameters; export interface NetworkInterfacesListCloudServiceNetworkInterfacesQueryParamProperties { /** Api Version */ @@ -1153,7 +1189,8 @@ export interface NetworkInterfacesListCloudServiceNetworkInterfacesQueryParam { } export type NetworkInterfacesListCloudServiceNetworkInterfacesParameters = - NetworkInterfacesListCloudServiceNetworkInterfacesQueryParam & RequestParameters; + NetworkInterfacesListCloudServiceNetworkInterfacesQueryParam & + RequestParameters; export interface NetworkInterfacesGetCloudServiceNetworkInterfaceQueryParamProperties { /** Api Version */ @@ -1167,7 +1204,8 @@ export interface NetworkInterfacesGetCloudServiceNetworkInterfaceQueryParam { } export type NetworkInterfacesGetCloudServiceNetworkInterfaceParameters = - NetworkInterfacesGetCloudServiceNetworkInterfaceQueryParam & RequestParameters; + NetworkInterfacesGetCloudServiceNetworkInterfaceQueryParam & + RequestParameters; export interface NetworkInterfacesDeleteQueryParamProperties { /** Api Version */ @@ -1178,8 +1216,8 @@ export interface NetworkInterfacesDeleteQueryParam { queryParameters: NetworkInterfacesDeleteQueryParamProperties; } -export type NetworkInterfacesDeleteParameters = NetworkInterfacesDeleteQueryParam & - RequestParameters; +export type NetworkInterfacesDeleteParameters = + NetworkInterfacesDeleteQueryParam & RequestParameters; export interface NetworkInterfacesGetQueryParamProperties { /** Api Version */ @@ -1192,7 +1230,8 @@ export interface NetworkInterfacesGetQueryParam { queryParameters: NetworkInterfacesGetQueryParamProperties; } -export type NetworkInterfacesGetParameters = NetworkInterfacesGetQueryParam & RequestParameters; +export type NetworkInterfacesGetParameters = NetworkInterfacesGetQueryParam & + RequestParameters; export interface NetworkInterfacesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update network interface operation. */ @@ -1213,10 +1252,11 @@ export interface NetworkInterfacesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkInterfacesCreateOrUpdateParameters = NetworkInterfacesCreateOrUpdateQueryParam & - NetworkInterfacesCreateOrUpdateMediaTypesParam & - NetworkInterfacesCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkInterfacesCreateOrUpdateParameters = + NetworkInterfacesCreateOrUpdateQueryParam & + NetworkInterfacesCreateOrUpdateMediaTypesParam & + NetworkInterfacesCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkInterfacesUpdateTagsBodyParam { /** Parameters supplied to update network interface tags. */ @@ -1237,10 +1277,11 @@ export interface NetworkInterfacesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type NetworkInterfacesUpdateTagsParameters = NetworkInterfacesUpdateTagsQueryParam & - NetworkInterfacesUpdateTagsMediaTypesParam & - NetworkInterfacesUpdateTagsBodyParam & - RequestParameters; +export type NetworkInterfacesUpdateTagsParameters = + NetworkInterfacesUpdateTagsQueryParam & + NetworkInterfacesUpdateTagsMediaTypesParam & + NetworkInterfacesUpdateTagsBodyParam & + RequestParameters; export interface NetworkInterfacesListAllQueryParamProperties { /** Api Version */ @@ -1251,8 +1292,8 @@ export interface NetworkInterfacesListAllQueryParam { queryParameters: NetworkInterfacesListAllQueryParamProperties; } -export type NetworkInterfacesListAllParameters = NetworkInterfacesListAllQueryParam & - RequestParameters; +export type NetworkInterfacesListAllParameters = + NetworkInterfacesListAllQueryParam & RequestParameters; export interface NetworkInterfacesListQueryParamProperties { /** Api Version */ @@ -1263,7 +1304,8 @@ export interface NetworkInterfacesListQueryParam { queryParameters: NetworkInterfacesListQueryParamProperties; } -export type NetworkInterfacesListParameters = NetworkInterfacesListQueryParam & RequestParameters; +export type NetworkInterfacesListParameters = NetworkInterfacesListQueryParam & + RequestParameters; export interface NetworkInterfacesGetEffectiveRouteTableQueryParamProperties { /** Api Version */ @@ -1287,7 +1329,8 @@ export interface NetworkInterfacesListEffectiveNetworkSecurityGroupsQueryParam { } export type NetworkInterfacesListEffectiveNetworkSecurityGroupsParameters = - NetworkInterfacesListEffectiveNetworkSecurityGroupsQueryParam & RequestParameters; + NetworkInterfacesListEffectiveNetworkSecurityGroupsQueryParam & + RequestParameters; export interface NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesQueryParamProperties { /** Api Version */ @@ -1299,7 +1342,8 @@ export interface NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesQ } export type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesParameters = - NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesQueryParam & RequestParameters; + NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesQueryParam & + RequestParameters; export interface NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesQueryParamProperties { /** Api Version */ @@ -1311,7 +1355,8 @@ export interface NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesQue } export type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesParameters = - NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesQueryParam & RequestParameters; + NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesQueryParam & + RequestParameters; export interface NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceQueryParamProperties { /** Api Version */ @@ -1325,7 +1370,8 @@ export interface NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceQuery } export type NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters = - NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceQueryParam & RequestParameters; + NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceQueryParam & + RequestParameters; export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsQueryParamProperties { /** Api Version */ @@ -1339,7 +1385,8 @@ export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsQuer } export type NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsParameters = - NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsQueryParam & RequestParameters; + NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsQueryParam & + RequestParameters; export interface NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationQueryParamProperties { /** Api Version */ @@ -1353,7 +1400,8 @@ export interface NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationQueryP } export type NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters = - NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationQueryParam & RequestParameters; + NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationQueryParam & + RequestParameters; export interface PublicIPAddressesListCloudServicePublicIPAddressesQueryParamProperties { /** Api Version */ @@ -1365,7 +1413,8 @@ export interface PublicIPAddressesListCloudServicePublicIPAddressesQueryParam { } export type PublicIPAddressesListCloudServicePublicIPAddressesParameters = - PublicIPAddressesListCloudServicePublicIPAddressesQueryParam & RequestParameters; + PublicIPAddressesListCloudServicePublicIPAddressesQueryParam & + RequestParameters; export interface PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesQueryParamProperties { /** Api Version */ @@ -1377,7 +1426,8 @@ export interface PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesQ } export type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesParameters = - PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesQueryParam & RequestParameters; + PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesQueryParam & + RequestParameters; export interface PublicIPAddressesGetCloudServicePublicIPAddressQueryParamProperties { /** Api Version */ @@ -1402,8 +1452,8 @@ export interface PublicIPAddressesDeleteQueryParam { queryParameters: PublicIPAddressesDeleteQueryParamProperties; } -export type PublicIPAddressesDeleteParameters = PublicIPAddressesDeleteQueryParam & - RequestParameters; +export type PublicIPAddressesDeleteParameters = + PublicIPAddressesDeleteQueryParam & RequestParameters; export interface PublicIPAddressesGetQueryParamProperties { /** Api Version */ @@ -1416,7 +1466,8 @@ export interface PublicIPAddressesGetQueryParam { queryParameters: PublicIPAddressesGetQueryParamProperties; } -export type PublicIPAddressesGetParameters = PublicIPAddressesGetQueryParam & RequestParameters; +export type PublicIPAddressesGetParameters = PublicIPAddressesGetQueryParam & + RequestParameters; export interface PublicIPAddressesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update public IP address operation. */ @@ -1437,10 +1488,11 @@ export interface PublicIPAddressesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type PublicIPAddressesCreateOrUpdateParameters = PublicIPAddressesCreateOrUpdateQueryParam & - PublicIPAddressesCreateOrUpdateMediaTypesParam & - PublicIPAddressesCreateOrUpdateBodyParam & - RequestParameters; +export type PublicIPAddressesCreateOrUpdateParameters = + PublicIPAddressesCreateOrUpdateQueryParam & + PublicIPAddressesCreateOrUpdateMediaTypesParam & + PublicIPAddressesCreateOrUpdateBodyParam & + RequestParameters; export interface PublicIPAddressesUpdateTagsBodyParam { /** Parameters supplied to update public IP address tags. */ @@ -1461,10 +1513,11 @@ export interface PublicIPAddressesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type PublicIPAddressesUpdateTagsParameters = PublicIPAddressesUpdateTagsQueryParam & - PublicIPAddressesUpdateTagsMediaTypesParam & - PublicIPAddressesUpdateTagsBodyParam & - RequestParameters; +export type PublicIPAddressesUpdateTagsParameters = + PublicIPAddressesUpdateTagsQueryParam & + PublicIPAddressesUpdateTagsMediaTypesParam & + PublicIPAddressesUpdateTagsBodyParam & + RequestParameters; export interface PublicIPAddressesListAllQueryParamProperties { /** Api Version */ @@ -1475,8 +1528,8 @@ export interface PublicIPAddressesListAllQueryParam { queryParameters: PublicIPAddressesListAllQueryParamProperties; } -export type PublicIPAddressesListAllParameters = PublicIPAddressesListAllQueryParam & - RequestParameters; +export type PublicIPAddressesListAllParameters = + PublicIPAddressesListAllQueryParam & RequestParameters; export interface PublicIPAddressesListQueryParamProperties { /** Api Version */ @@ -1487,7 +1540,8 @@ export interface PublicIPAddressesListQueryParam { queryParameters: PublicIPAddressesListQueryParamProperties; } -export type PublicIPAddressesListParameters = PublicIPAddressesListQueryParam & RequestParameters; +export type PublicIPAddressesListParameters = PublicIPAddressesListQueryParam & + RequestParameters; export interface PublicIPAddressesDdosProtectionStatusQueryParamProperties { /** Api Version */ @@ -1511,7 +1565,8 @@ export interface PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesQue } export type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesParameters = - PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesQueryParam & RequestParameters; + PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesQueryParam & + RequestParameters; export interface PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesQueryParamProperties { /** Api Version */ @@ -1523,7 +1578,8 @@ export interface PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesQ } export type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesParameters = - PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesQueryParam & RequestParameters; + PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesQueryParam & + RequestParameters; export interface PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressQueryParamProperties { /** Api Version */ @@ -1537,7 +1593,8 @@ export interface PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressQueryP } export type PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters = - PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressQueryParam & RequestParameters; + PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressQueryParam & + RequestParameters; export interface CustomIPPrefixesDeleteQueryParamProperties { /** Api Version */ @@ -1548,7 +1605,8 @@ export interface CustomIPPrefixesDeleteQueryParam { queryParameters: CustomIPPrefixesDeleteQueryParamProperties; } -export type CustomIPPrefixesDeleteParameters = CustomIPPrefixesDeleteQueryParam & RequestParameters; +export type CustomIPPrefixesDeleteParameters = + CustomIPPrefixesDeleteQueryParam & RequestParameters; export interface CustomIPPrefixesGetQueryParamProperties { /** Api Version */ @@ -1561,7 +1619,8 @@ export interface CustomIPPrefixesGetQueryParam { queryParameters: CustomIPPrefixesGetQueryParamProperties; } -export type CustomIPPrefixesGetParameters = CustomIPPrefixesGetQueryParam & RequestParameters; +export type CustomIPPrefixesGetParameters = CustomIPPrefixesGetQueryParam & + RequestParameters; export interface CustomIPPrefixesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update custom IP prefix operation. */ @@ -1582,10 +1641,11 @@ export interface CustomIPPrefixesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type CustomIPPrefixesCreateOrUpdateParameters = CustomIPPrefixesCreateOrUpdateQueryParam & - CustomIPPrefixesCreateOrUpdateMediaTypesParam & - CustomIPPrefixesCreateOrUpdateBodyParam & - RequestParameters; +export type CustomIPPrefixesCreateOrUpdateParameters = + CustomIPPrefixesCreateOrUpdateQueryParam & + CustomIPPrefixesCreateOrUpdateMediaTypesParam & + CustomIPPrefixesCreateOrUpdateBodyParam & + RequestParameters; export interface CustomIPPrefixesUpdateTagsBodyParam { /** Parameters supplied to update custom IP prefix tags. */ @@ -1606,10 +1666,11 @@ export interface CustomIPPrefixesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type CustomIPPrefixesUpdateTagsParameters = CustomIPPrefixesUpdateTagsQueryParam & - CustomIPPrefixesUpdateTagsMediaTypesParam & - CustomIPPrefixesUpdateTagsBodyParam & - RequestParameters; +export type CustomIPPrefixesUpdateTagsParameters = + CustomIPPrefixesUpdateTagsQueryParam & + CustomIPPrefixesUpdateTagsMediaTypesParam & + CustomIPPrefixesUpdateTagsBodyParam & + RequestParameters; export interface CustomIPPrefixesListAllQueryParamProperties { /** Api Version */ @@ -1620,8 +1681,8 @@ export interface CustomIPPrefixesListAllQueryParam { queryParameters: CustomIPPrefixesListAllQueryParamProperties; } -export type CustomIPPrefixesListAllParameters = CustomIPPrefixesListAllQueryParam & - RequestParameters; +export type CustomIPPrefixesListAllParameters = + CustomIPPrefixesListAllQueryParam & RequestParameters; export interface CustomIPPrefixesListQueryParamProperties { /** Api Version */ @@ -1632,7 +1693,8 @@ export interface CustomIPPrefixesListQueryParam { queryParameters: CustomIPPrefixesListQueryParamProperties; } -export type CustomIPPrefixesListParameters = CustomIPPrefixesListQueryParam & RequestParameters; +export type CustomIPPrefixesListParameters = CustomIPPrefixesListQueryParam & + RequestParameters; export interface DdosCustomPoliciesDeleteQueryParamProperties { /** Api Version */ @@ -1643,8 +1705,8 @@ export interface DdosCustomPoliciesDeleteQueryParam { queryParameters: DdosCustomPoliciesDeleteQueryParamProperties; } -export type DdosCustomPoliciesDeleteParameters = DdosCustomPoliciesDeleteQueryParam & - RequestParameters; +export type DdosCustomPoliciesDeleteParameters = + DdosCustomPoliciesDeleteQueryParam & RequestParameters; export interface DdosCustomPoliciesGetQueryParamProperties { /** Api Version */ @@ -1655,7 +1717,8 @@ export interface DdosCustomPoliciesGetQueryParam { queryParameters: DdosCustomPoliciesGetQueryParamProperties; } -export type DdosCustomPoliciesGetParameters = DdosCustomPoliciesGetQueryParam & RequestParameters; +export type DdosCustomPoliciesGetParameters = DdosCustomPoliciesGetQueryParam & + RequestParameters; export interface DdosCustomPoliciesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update operation. */ @@ -1701,10 +1764,11 @@ export interface DdosCustomPoliciesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type DdosCustomPoliciesUpdateTagsParameters = DdosCustomPoliciesUpdateTagsQueryParam & - DdosCustomPoliciesUpdateTagsMediaTypesParam & - DdosCustomPoliciesUpdateTagsBodyParam & - RequestParameters; +export type DdosCustomPoliciesUpdateTagsParameters = + DdosCustomPoliciesUpdateTagsQueryParam & + DdosCustomPoliciesUpdateTagsMediaTypesParam & + DdosCustomPoliciesUpdateTagsBodyParam & + RequestParameters; export interface DdosProtectionPlansDeleteQueryParamProperties { /** Api Version */ @@ -1715,8 +1779,8 @@ export interface DdosProtectionPlansDeleteQueryParam { queryParameters: DdosProtectionPlansDeleteQueryParamProperties; } -export type DdosProtectionPlansDeleteParameters = DdosProtectionPlansDeleteQueryParam & - RequestParameters; +export type DdosProtectionPlansDeleteParameters = + DdosProtectionPlansDeleteQueryParam & RequestParameters; export interface DdosProtectionPlansGetQueryParamProperties { /** Api Version */ @@ -1727,7 +1791,8 @@ export interface DdosProtectionPlansGetQueryParam { queryParameters: DdosProtectionPlansGetQueryParamProperties; } -export type DdosProtectionPlansGetParameters = DdosProtectionPlansGetQueryParam & RequestParameters; +export type DdosProtectionPlansGetParameters = + DdosProtectionPlansGetQueryParam & RequestParameters; export interface DdosProtectionPlansCreateOrUpdateBodyParam { /** Parameters supplied to the create or update operation. */ @@ -1773,10 +1838,11 @@ export interface DdosProtectionPlansUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type DdosProtectionPlansUpdateTagsParameters = DdosProtectionPlansUpdateTagsQueryParam & - DdosProtectionPlansUpdateTagsMediaTypesParam & - DdosProtectionPlansUpdateTagsBodyParam & - RequestParameters; +export type DdosProtectionPlansUpdateTagsParameters = + DdosProtectionPlansUpdateTagsQueryParam & + DdosProtectionPlansUpdateTagsMediaTypesParam & + DdosProtectionPlansUpdateTagsBodyParam & + RequestParameters; export interface DdosProtectionPlansListQueryParamProperties { /** Api Version */ @@ -1787,8 +1853,8 @@ export interface DdosProtectionPlansListQueryParam { queryParameters: DdosProtectionPlansListQueryParamProperties; } -export type DdosProtectionPlansListParameters = DdosProtectionPlansListQueryParam & - RequestParameters; +export type DdosProtectionPlansListParameters = + DdosProtectionPlansListQueryParam & RequestParameters; export interface DdosProtectionPlansListByResourceGroupQueryParamProperties { /** Api Version */ @@ -1821,10 +1887,11 @@ export interface DscpConfigurationCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type DscpConfigurationCreateOrUpdateParameters = DscpConfigurationCreateOrUpdateQueryParam & - DscpConfigurationCreateOrUpdateMediaTypesParam & - DscpConfigurationCreateOrUpdateBodyParam & - RequestParameters; +export type DscpConfigurationCreateOrUpdateParameters = + DscpConfigurationCreateOrUpdateQueryParam & + DscpConfigurationCreateOrUpdateMediaTypesParam & + DscpConfigurationCreateOrUpdateBodyParam & + RequestParameters; export interface DscpConfigurationDeleteQueryParamProperties { /** Api Version */ @@ -1835,8 +1902,8 @@ export interface DscpConfigurationDeleteQueryParam { queryParameters: DscpConfigurationDeleteQueryParamProperties; } -export type DscpConfigurationDeleteParameters = DscpConfigurationDeleteQueryParam & - RequestParameters; +export type DscpConfigurationDeleteParameters = + DscpConfigurationDeleteQueryParam & RequestParameters; export interface DscpConfigurationGetQueryParamProperties { /** Api Version */ @@ -1847,7 +1914,8 @@ export interface DscpConfigurationGetQueryParam { queryParameters: DscpConfigurationGetQueryParamProperties; } -export type DscpConfigurationGetParameters = DscpConfigurationGetQueryParam & RequestParameters; +export type DscpConfigurationGetParameters = DscpConfigurationGetQueryParam & + RequestParameters; export interface DscpConfigurationListQueryParamProperties { /** Api Version */ @@ -1858,7 +1926,8 @@ export interface DscpConfigurationListQueryParam { queryParameters: DscpConfigurationListQueryParamProperties; } -export type DscpConfigurationListParameters = DscpConfigurationListQueryParam & RequestParameters; +export type DscpConfigurationListParameters = DscpConfigurationListQueryParam & + RequestParameters; export interface DscpConfigurationListAllQueryParamProperties { /** Api Version */ @@ -1869,8 +1938,8 @@ export interface DscpConfigurationListAllQueryParam { queryParameters: DscpConfigurationListAllQueryParamProperties; } -export type DscpConfigurationListAllParameters = DscpConfigurationListAllQueryParam & - RequestParameters; +export type DscpConfigurationListAllParameters = + DscpConfigurationListAllQueryParam & RequestParameters; export interface AvailableEndpointServicesListQueryParamProperties { /** Api Version */ @@ -1881,8 +1950,8 @@ export interface AvailableEndpointServicesListQueryParam { queryParameters: AvailableEndpointServicesListQueryParamProperties; } -export type AvailableEndpointServicesListParameters = AvailableEndpointServicesListQueryParam & - RequestParameters; +export type AvailableEndpointServicesListParameters = + AvailableEndpointServicesListQueryParam & RequestParameters; export interface ExpressRouteCircuitAuthorizationsDeleteQueryParamProperties { /** Api Version */ @@ -1966,8 +2035,8 @@ export interface ExpressRouteCircuitPeeringsGetQueryParam { queryParameters: ExpressRouteCircuitPeeringsGetQueryParamProperties; } -export type ExpressRouteCircuitPeeringsGetParameters = ExpressRouteCircuitPeeringsGetQueryParam & - RequestParameters; +export type ExpressRouteCircuitPeeringsGetParameters = + ExpressRouteCircuitPeeringsGetQueryParam & RequestParameters; export interface ExpressRouteCircuitPeeringsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update express route circuit peering operation. */ @@ -2003,8 +2072,8 @@ export interface ExpressRouteCircuitPeeringsListQueryParam { queryParameters: ExpressRouteCircuitPeeringsListQueryParamProperties; } -export type ExpressRouteCircuitPeeringsListParameters = ExpressRouteCircuitPeeringsListQueryParam & - RequestParameters; +export type ExpressRouteCircuitPeeringsListParameters = + ExpressRouteCircuitPeeringsListQueryParam & RequestParameters; export interface ExpressRouteCircuitConnectionsDeleteQueryParamProperties { /** Api Version */ @@ -2100,8 +2169,8 @@ export interface ExpressRouteCircuitsDeleteQueryParam { queryParameters: ExpressRouteCircuitsDeleteQueryParamProperties; } -export type ExpressRouteCircuitsDeleteParameters = ExpressRouteCircuitsDeleteQueryParam & - RequestParameters; +export type ExpressRouteCircuitsDeleteParameters = + ExpressRouteCircuitsDeleteQueryParam & RequestParameters; export interface ExpressRouteCircuitsGetQueryParamProperties { /** Api Version */ @@ -2112,8 +2181,8 @@ export interface ExpressRouteCircuitsGetQueryParam { queryParameters: ExpressRouteCircuitsGetQueryParamProperties; } -export type ExpressRouteCircuitsGetParameters = ExpressRouteCircuitsGetQueryParam & - RequestParameters; +export type ExpressRouteCircuitsGetParameters = + ExpressRouteCircuitsGetQueryParam & RequestParameters; export interface ExpressRouteCircuitsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update express route circuit operation. */ @@ -2159,10 +2228,11 @@ export interface ExpressRouteCircuitsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ExpressRouteCircuitsUpdateTagsParameters = ExpressRouteCircuitsUpdateTagsQueryParam & - ExpressRouteCircuitsUpdateTagsMediaTypesParam & - ExpressRouteCircuitsUpdateTagsBodyParam & - RequestParameters; +export type ExpressRouteCircuitsUpdateTagsParameters = + ExpressRouteCircuitsUpdateTagsQueryParam & + ExpressRouteCircuitsUpdateTagsMediaTypesParam & + ExpressRouteCircuitsUpdateTagsBodyParam & + RequestParameters; export interface ExpressRouteCircuitsListArpTableQueryParamProperties { /** Api Version */ @@ -2209,8 +2279,8 @@ export interface ExpressRouteCircuitsGetStatsQueryParam { queryParameters: ExpressRouteCircuitsGetStatsQueryParamProperties; } -export type ExpressRouteCircuitsGetStatsParameters = ExpressRouteCircuitsGetStatsQueryParam & - RequestParameters; +export type ExpressRouteCircuitsGetStatsParameters = + ExpressRouteCircuitsGetStatsQueryParam & RequestParameters; export interface ExpressRouteCircuitsGetPeeringStatsQueryParamProperties { /** Api Version */ @@ -2233,8 +2303,8 @@ export interface ExpressRouteCircuitsListQueryParam { queryParameters: ExpressRouteCircuitsListQueryParamProperties; } -export type ExpressRouteCircuitsListParameters = ExpressRouteCircuitsListQueryParam & - RequestParameters; +export type ExpressRouteCircuitsListParameters = + ExpressRouteCircuitsListQueryParam & RequestParameters; export interface ExpressRouteCircuitsListAllQueryParamProperties { /** Api Version */ @@ -2245,8 +2315,8 @@ export interface ExpressRouteCircuitsListAllQueryParam { queryParameters: ExpressRouteCircuitsListAllQueryParamProperties; } -export type ExpressRouteCircuitsListAllParameters = ExpressRouteCircuitsListAllQueryParam & - RequestParameters; +export type ExpressRouteCircuitsListAllParameters = + ExpressRouteCircuitsListAllQueryParam & RequestParameters; export interface ExpressRouteServiceProvidersListQueryParamProperties { /** Api Version */ @@ -2293,8 +2363,8 @@ export interface ExpressRouteCrossConnectionsGetQueryParam { queryParameters: ExpressRouteCrossConnectionsGetQueryParamProperties; } -export type ExpressRouteCrossConnectionsGetParameters = ExpressRouteCrossConnectionsGetQueryParam & - RequestParameters; +export type ExpressRouteCrossConnectionsGetParameters = + ExpressRouteCrossConnectionsGetQueryParam & RequestParameters; export interface ExpressRouteCrossConnectionsCreateOrUpdateBodyParam { /** Parameters supplied to the update express route crossConnection operation. */ @@ -2368,7 +2438,8 @@ export interface ExpressRouteCrossConnectionsListRoutesTableSummaryQueryParam { } export type ExpressRouteCrossConnectionsListRoutesTableSummaryParameters = - ExpressRouteCrossConnectionsListRoutesTableSummaryQueryParam & RequestParameters; + ExpressRouteCrossConnectionsListRoutesTableSummaryQueryParam & + RequestParameters; export interface ExpressRouteCrossConnectionsListRoutesTableQueryParamProperties { /** Api Version */ @@ -2452,8 +2523,8 @@ export interface ExpressRoutePortsLocationsListQueryParam { queryParameters: ExpressRoutePortsLocationsListQueryParamProperties; } -export type ExpressRoutePortsLocationsListParameters = ExpressRoutePortsLocationsListQueryParam & - RequestParameters; +export type ExpressRoutePortsLocationsListParameters = + ExpressRoutePortsLocationsListQueryParam & RequestParameters; export interface ExpressRoutePortsLocationsGetQueryParamProperties { /** Api Version */ @@ -2464,8 +2535,8 @@ export interface ExpressRoutePortsLocationsGetQueryParam { queryParameters: ExpressRoutePortsLocationsGetQueryParamProperties; } -export type ExpressRoutePortsLocationsGetParameters = ExpressRoutePortsLocationsGetQueryParam & - RequestParameters; +export type ExpressRoutePortsLocationsGetParameters = + ExpressRoutePortsLocationsGetQueryParam & RequestParameters; export interface ExpressRoutePortsDeleteQueryParamProperties { /** Api Version */ @@ -2476,8 +2547,8 @@ export interface ExpressRoutePortsDeleteQueryParam { queryParameters: ExpressRoutePortsDeleteQueryParamProperties; } -export type ExpressRoutePortsDeleteParameters = ExpressRoutePortsDeleteQueryParam & - RequestParameters; +export type ExpressRoutePortsDeleteParameters = + ExpressRoutePortsDeleteQueryParam & RequestParameters; export interface ExpressRoutePortsGetQueryParamProperties { /** Api Version */ @@ -2488,7 +2559,8 @@ export interface ExpressRoutePortsGetQueryParam { queryParameters: ExpressRoutePortsGetQueryParamProperties; } -export type ExpressRoutePortsGetParameters = ExpressRoutePortsGetQueryParam & RequestParameters; +export type ExpressRoutePortsGetParameters = ExpressRoutePortsGetQueryParam & + RequestParameters; export interface ExpressRoutePortsCreateOrUpdateBodyParam { /** Parameters supplied to the create ExpressRoutePort operation. */ @@ -2509,10 +2581,11 @@ export interface ExpressRoutePortsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ExpressRoutePortsCreateOrUpdateParameters = ExpressRoutePortsCreateOrUpdateQueryParam & - ExpressRoutePortsCreateOrUpdateMediaTypesParam & - ExpressRoutePortsCreateOrUpdateBodyParam & - RequestParameters; +export type ExpressRoutePortsCreateOrUpdateParameters = + ExpressRoutePortsCreateOrUpdateQueryParam & + ExpressRoutePortsCreateOrUpdateMediaTypesParam & + ExpressRoutePortsCreateOrUpdateBodyParam & + RequestParameters; export interface ExpressRoutePortsUpdateTagsBodyParam { /** Parameters supplied to update ExpressRoutePort resource tags. */ @@ -2533,10 +2606,11 @@ export interface ExpressRoutePortsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ExpressRoutePortsUpdateTagsParameters = ExpressRoutePortsUpdateTagsQueryParam & - ExpressRoutePortsUpdateTagsMediaTypesParam & - ExpressRoutePortsUpdateTagsBodyParam & - RequestParameters; +export type ExpressRoutePortsUpdateTagsParameters = + ExpressRoutePortsUpdateTagsQueryParam & + ExpressRoutePortsUpdateTagsMediaTypesParam & + ExpressRoutePortsUpdateTagsBodyParam & + RequestParameters; export interface ExpressRoutePortsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -2559,7 +2633,8 @@ export interface ExpressRoutePortsListQueryParam { queryParameters: ExpressRoutePortsListQueryParamProperties; } -export type ExpressRoutePortsListParameters = ExpressRoutePortsListQueryParam & RequestParameters; +export type ExpressRoutePortsListParameters = ExpressRoutePortsListQueryParam & + RequestParameters; export interface ExpressRoutePortsGenerateLOABodyParam { /** Request parameters supplied to generate a letter of authorization. */ @@ -2580,10 +2655,11 @@ export interface ExpressRoutePortsGenerateLOAMediaTypesParam { contentType?: "application/json"; } -export type ExpressRoutePortsGenerateLOAParameters = ExpressRoutePortsGenerateLOAQueryParam & - ExpressRoutePortsGenerateLOAMediaTypesParam & - ExpressRoutePortsGenerateLOABodyParam & - RequestParameters; +export type ExpressRoutePortsGenerateLOAParameters = + ExpressRoutePortsGenerateLOAQueryParam & + ExpressRoutePortsGenerateLOAMediaTypesParam & + ExpressRoutePortsGenerateLOABodyParam & + RequestParameters; export interface ExpressRouteLinksGetQueryParamProperties { /** Api Version */ @@ -2594,7 +2670,8 @@ export interface ExpressRouteLinksGetQueryParam { queryParameters: ExpressRouteLinksGetQueryParamProperties; } -export type ExpressRouteLinksGetParameters = ExpressRouteLinksGetQueryParam & RequestParameters; +export type ExpressRouteLinksGetParameters = ExpressRouteLinksGetQueryParam & + RequestParameters; export interface ExpressRouteLinksListQueryParamProperties { /** Api Version */ @@ -2605,7 +2682,8 @@ export interface ExpressRouteLinksListQueryParam { queryParameters: ExpressRouteLinksListQueryParamProperties; } -export type ExpressRouteLinksListParameters = ExpressRouteLinksListQueryParam & RequestParameters; +export type ExpressRouteLinksListParameters = ExpressRouteLinksListQueryParam & + RequestParameters; export interface ExpressRoutePortAuthorizationsDeleteQueryParamProperties { /** Api Version */ @@ -2682,18 +2760,6 @@ export interface ExpressRouteProviderPortsLocationListQueryParam { export type ExpressRouteProviderPortsLocationListParameters = ExpressRouteProviderPortsLocationListQueryParam & RequestParameters; -export interface ExpressRouteProviderPortsGetQueryParamProperties { - /** Api Version */ - "api-version": "2022-05-01"; -} - -export interface ExpressRouteProviderPortsGetQueryParam { - queryParameters: ExpressRouteProviderPortsGetQueryParamProperties; -} - -export type ExpressRouteProviderPortsGetParameters = ExpressRouteProviderPortsGetQueryParam & - RequestParameters; - export interface FirewallPoliciesDeleteQueryParamProperties { /** Api Version */ "api-version": "2022-05-01"; @@ -2703,7 +2769,8 @@ export interface FirewallPoliciesDeleteQueryParam { queryParameters: FirewallPoliciesDeleteQueryParamProperties; } -export type FirewallPoliciesDeleteParameters = FirewallPoliciesDeleteQueryParam & RequestParameters; +export type FirewallPoliciesDeleteParameters = + FirewallPoliciesDeleteQueryParam & RequestParameters; export interface FirewallPoliciesGetQueryParamProperties { /** Api Version */ @@ -2716,7 +2783,8 @@ export interface FirewallPoliciesGetQueryParam { queryParameters: FirewallPoliciesGetQueryParamProperties; } -export type FirewallPoliciesGetParameters = FirewallPoliciesGetQueryParam & RequestParameters; +export type FirewallPoliciesGetParameters = FirewallPoliciesGetQueryParam & + RequestParameters; export interface FirewallPoliciesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Firewall Policy operation. */ @@ -2737,10 +2805,11 @@ export interface FirewallPoliciesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type FirewallPoliciesCreateOrUpdateParameters = FirewallPoliciesCreateOrUpdateQueryParam & - FirewallPoliciesCreateOrUpdateMediaTypesParam & - FirewallPoliciesCreateOrUpdateBodyParam & - RequestParameters; +export type FirewallPoliciesCreateOrUpdateParameters = + FirewallPoliciesCreateOrUpdateQueryParam & + FirewallPoliciesCreateOrUpdateMediaTypesParam & + FirewallPoliciesCreateOrUpdateBodyParam & + RequestParameters; export interface FirewallPoliciesUpdateTagsBodyParam { /** Parameters supplied to update Azure Firewall Policy tags. */ @@ -2761,10 +2830,11 @@ export interface FirewallPoliciesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type FirewallPoliciesUpdateTagsParameters = FirewallPoliciesUpdateTagsQueryParam & - FirewallPoliciesUpdateTagsMediaTypesParam & - FirewallPoliciesUpdateTagsBodyParam & - RequestParameters; +export type FirewallPoliciesUpdateTagsParameters = + FirewallPoliciesUpdateTagsQueryParam & + FirewallPoliciesUpdateTagsMediaTypesParam & + FirewallPoliciesUpdateTagsBodyParam & + RequestParameters; export interface FirewallPoliciesListQueryParamProperties { /** Api Version */ @@ -2775,7 +2845,8 @@ export interface FirewallPoliciesListQueryParam { queryParameters: FirewallPoliciesListQueryParamProperties; } -export type FirewallPoliciesListParameters = FirewallPoliciesListQueryParam & RequestParameters; +export type FirewallPoliciesListParameters = FirewallPoliciesListQueryParam & + RequestParameters; export interface FirewallPoliciesListAllQueryParamProperties { /** Api Version */ @@ -2786,8 +2857,8 @@ export interface FirewallPoliciesListAllQueryParam { queryParameters: FirewallPoliciesListAllQueryParamProperties; } -export type FirewallPoliciesListAllParameters = FirewallPoliciesListAllQueryParam & - RequestParameters; +export type FirewallPoliciesListAllParameters = + FirewallPoliciesListAllQueryParam & RequestParameters; export interface FirewallPolicyRuleCollectionGroupsDeleteQueryParamProperties { /** Api Version */ @@ -2981,7 +3052,8 @@ export interface IpAllocationsDeleteQueryParam { queryParameters: IpAllocationsDeleteQueryParamProperties; } -export type IpAllocationsDeleteParameters = IpAllocationsDeleteQueryParam & RequestParameters; +export type IpAllocationsDeleteParameters = IpAllocationsDeleteQueryParam & + RequestParameters; export interface IpAllocationsGetQueryParamProperties { /** Api Version */ @@ -2994,7 +3066,8 @@ export interface IpAllocationsGetQueryParam { queryParameters: IpAllocationsGetQueryParamProperties; } -export type IpAllocationsGetParameters = IpAllocationsGetQueryParam & RequestParameters; +export type IpAllocationsGetParameters = IpAllocationsGetQueryParam & + RequestParameters; export interface IpAllocationsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update virtual network operation. */ @@ -3015,10 +3088,11 @@ export interface IpAllocationsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type IpAllocationsCreateOrUpdateParameters = IpAllocationsCreateOrUpdateQueryParam & - IpAllocationsCreateOrUpdateMediaTypesParam & - IpAllocationsCreateOrUpdateBodyParam & - RequestParameters; +export type IpAllocationsCreateOrUpdateParameters = + IpAllocationsCreateOrUpdateQueryParam & + IpAllocationsCreateOrUpdateMediaTypesParam & + IpAllocationsCreateOrUpdateBodyParam & + RequestParameters; export interface IpAllocationsUpdateTagsBodyParam { /** Parameters supplied to update IpAllocation tags. */ @@ -3039,10 +3113,11 @@ export interface IpAllocationsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type IpAllocationsUpdateTagsParameters = IpAllocationsUpdateTagsQueryParam & - IpAllocationsUpdateTagsMediaTypesParam & - IpAllocationsUpdateTagsBodyParam & - RequestParameters; +export type IpAllocationsUpdateTagsParameters = + IpAllocationsUpdateTagsQueryParam & + IpAllocationsUpdateTagsMediaTypesParam & + IpAllocationsUpdateTagsBodyParam & + RequestParameters; export interface IpAllocationsListQueryParamProperties { /** Api Version */ @@ -3053,7 +3128,8 @@ export interface IpAllocationsListQueryParam { queryParameters: IpAllocationsListQueryParamProperties; } -export type IpAllocationsListParameters = IpAllocationsListQueryParam & RequestParameters; +export type IpAllocationsListParameters = IpAllocationsListQueryParam & + RequestParameters; export interface IpAllocationsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -3099,10 +3175,11 @@ export interface IpGroupsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type IpGroupsCreateOrUpdateParameters = IpGroupsCreateOrUpdateQueryParam & - IpGroupsCreateOrUpdateMediaTypesParam & - IpGroupsCreateOrUpdateBodyParam & - RequestParameters; +export type IpGroupsCreateOrUpdateParameters = + IpGroupsCreateOrUpdateQueryParam & + IpGroupsCreateOrUpdateMediaTypesParam & + IpGroupsCreateOrUpdateBodyParam & + RequestParameters; export interface IpGroupsUpdateGroupsBodyParam { /** Parameters supplied to the update ipGroups operation. */ @@ -3137,7 +3214,8 @@ export interface IpGroupsDeleteQueryParam { queryParameters: IpGroupsDeleteQueryParamProperties; } -export type IpGroupsDeleteParameters = IpGroupsDeleteQueryParam & RequestParameters; +export type IpGroupsDeleteParameters = IpGroupsDeleteQueryParam & + RequestParameters; export interface IpGroupsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -3148,8 +3226,8 @@ export interface IpGroupsListByResourceGroupQueryParam { queryParameters: IpGroupsListByResourceGroupQueryParamProperties; } -export type IpGroupsListByResourceGroupParameters = IpGroupsListByResourceGroupQueryParam & - RequestParameters; +export type IpGroupsListByResourceGroupParameters = + IpGroupsListByResourceGroupQueryParam & RequestParameters; export interface IpGroupsListQueryParamProperties { /** Api Version */ @@ -3171,7 +3249,8 @@ export interface LoadBalancersDeleteQueryParam { queryParameters: LoadBalancersDeleteQueryParamProperties; } -export type LoadBalancersDeleteParameters = LoadBalancersDeleteQueryParam & RequestParameters; +export type LoadBalancersDeleteParameters = LoadBalancersDeleteQueryParam & + RequestParameters; export interface LoadBalancersGetQueryParamProperties { /** Api Version */ @@ -3184,7 +3263,8 @@ export interface LoadBalancersGetQueryParam { queryParameters: LoadBalancersGetQueryParamProperties; } -export type LoadBalancersGetParameters = LoadBalancersGetQueryParam & RequestParameters; +export type LoadBalancersGetParameters = LoadBalancersGetQueryParam & + RequestParameters; export interface LoadBalancersCreateOrUpdateBodyParam { /** Parameters supplied to the create or update load balancer operation. */ @@ -3205,10 +3285,11 @@ export interface LoadBalancersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type LoadBalancersCreateOrUpdateParameters = LoadBalancersCreateOrUpdateQueryParam & - LoadBalancersCreateOrUpdateMediaTypesParam & - LoadBalancersCreateOrUpdateBodyParam & - RequestParameters; +export type LoadBalancersCreateOrUpdateParameters = + LoadBalancersCreateOrUpdateQueryParam & + LoadBalancersCreateOrUpdateMediaTypesParam & + LoadBalancersCreateOrUpdateBodyParam & + RequestParameters; export interface LoadBalancersUpdateTagsBodyParam { /** Parameters supplied to update load balancer tags. */ @@ -3229,10 +3310,11 @@ export interface LoadBalancersUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type LoadBalancersUpdateTagsParameters = LoadBalancersUpdateTagsQueryParam & - LoadBalancersUpdateTagsMediaTypesParam & - LoadBalancersUpdateTagsBodyParam & - RequestParameters; +export type LoadBalancersUpdateTagsParameters = + LoadBalancersUpdateTagsQueryParam & + LoadBalancersUpdateTagsMediaTypesParam & + LoadBalancersUpdateTagsBodyParam & + RequestParameters; export interface LoadBalancersListAllQueryParamProperties { /** Api Version */ @@ -3243,7 +3325,8 @@ export interface LoadBalancersListAllQueryParam { queryParameters: LoadBalancersListAllQueryParamProperties; } -export type LoadBalancersListAllParameters = LoadBalancersListAllQueryParam & RequestParameters; +export type LoadBalancersListAllParameters = LoadBalancersListAllQueryParam & + RequestParameters; export interface LoadBalancersListQueryParamProperties { /** Api Version */ @@ -3254,7 +3337,8 @@ export interface LoadBalancersListQueryParam { queryParameters: LoadBalancersListQueryParamProperties; } -export type LoadBalancersListParameters = LoadBalancersListQueryParam & RequestParameters; +export type LoadBalancersListParameters = LoadBalancersListQueryParam & + RequestParameters; export interface LoadBalancersSwapPublicIpAddressesBodyParam { /** Parameters that define which VIPs should be swapped. */ @@ -3400,7 +3484,8 @@ export interface InboundNatRulesListQueryParam { queryParameters: InboundNatRulesListQueryParamProperties; } -export type InboundNatRulesListParameters = InboundNatRulesListQueryParam & RequestParameters; +export type InboundNatRulesListParameters = InboundNatRulesListQueryParam & + RequestParameters; export interface InboundNatRulesDeleteQueryParamProperties { /** Api Version */ @@ -3411,7 +3496,8 @@ export interface InboundNatRulesDeleteQueryParam { queryParameters: InboundNatRulesDeleteQueryParamProperties; } -export type InboundNatRulesDeleteParameters = InboundNatRulesDeleteQueryParam & RequestParameters; +export type InboundNatRulesDeleteParameters = InboundNatRulesDeleteQueryParam & + RequestParameters; export interface InboundNatRulesGetQueryParamProperties { /** Api Version */ @@ -3424,7 +3510,8 @@ export interface InboundNatRulesGetQueryParam { queryParameters: InboundNatRulesGetQueryParamProperties; } -export type InboundNatRulesGetParameters = InboundNatRulesGetQueryParam & RequestParameters; +export type InboundNatRulesGetParameters = InboundNatRulesGetQueryParam & + RequestParameters; export interface InboundNatRulesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update inbound NAT rule operation. */ @@ -3445,10 +3532,11 @@ export interface InboundNatRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type InboundNatRulesCreateOrUpdateParameters = InboundNatRulesCreateOrUpdateQueryParam & - InboundNatRulesCreateOrUpdateMediaTypesParam & - InboundNatRulesCreateOrUpdateBodyParam & - RequestParameters; +export type InboundNatRulesCreateOrUpdateParameters = + InboundNatRulesCreateOrUpdateQueryParam & + InboundNatRulesCreateOrUpdateMediaTypesParam & + InboundNatRulesCreateOrUpdateBodyParam & + RequestParameters; export interface LoadBalancerLoadBalancingRulesListQueryParamProperties { /** Api Version */ @@ -3483,8 +3571,8 @@ export interface LoadBalancerOutboundRulesListQueryParam { queryParameters: LoadBalancerOutboundRulesListQueryParamProperties; } -export type LoadBalancerOutboundRulesListParameters = LoadBalancerOutboundRulesListQueryParam & - RequestParameters; +export type LoadBalancerOutboundRulesListParameters = + LoadBalancerOutboundRulesListQueryParam & RequestParameters; export interface LoadBalancerOutboundRulesGetQueryParamProperties { /** Api Version */ @@ -3495,8 +3583,8 @@ export interface LoadBalancerOutboundRulesGetQueryParam { queryParameters: LoadBalancerOutboundRulesGetQueryParamProperties; } -export type LoadBalancerOutboundRulesGetParameters = LoadBalancerOutboundRulesGetQueryParam & - RequestParameters; +export type LoadBalancerOutboundRulesGetParameters = + LoadBalancerOutboundRulesGetQueryParam & RequestParameters; export interface LoadBalancerNetworkInterfacesListQueryParamProperties { /** Api Version */ @@ -3519,7 +3607,8 @@ export interface LoadBalancerProbesListQueryParam { queryParameters: LoadBalancerProbesListQueryParamProperties; } -export type LoadBalancerProbesListParameters = LoadBalancerProbesListQueryParam & RequestParameters; +export type LoadBalancerProbesListParameters = + LoadBalancerProbesListQueryParam & RequestParameters; export interface LoadBalancerProbesGetQueryParamProperties { /** Api Version */ @@ -3530,7 +3619,8 @@ export interface LoadBalancerProbesGetQueryParam { queryParameters: LoadBalancerProbesGetQueryParamProperties; } -export type LoadBalancerProbesGetParameters = LoadBalancerProbesGetQueryParam & RequestParameters; +export type LoadBalancerProbesGetParameters = LoadBalancerProbesGetQueryParam & + RequestParameters; export interface NatGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -3541,7 +3631,8 @@ export interface NatGatewaysDeleteQueryParam { queryParameters: NatGatewaysDeleteQueryParamProperties; } -export type NatGatewaysDeleteParameters = NatGatewaysDeleteQueryParam & RequestParameters; +export type NatGatewaysDeleteParameters = NatGatewaysDeleteQueryParam & + RequestParameters; export interface NatGatewaysGetQueryParamProperties { /** Api Version */ @@ -3554,7 +3645,8 @@ export interface NatGatewaysGetQueryParam { queryParameters: NatGatewaysGetQueryParamProperties; } -export type NatGatewaysGetParameters = NatGatewaysGetQueryParam & RequestParameters; +export type NatGatewaysGetParameters = NatGatewaysGetQueryParam & + RequestParameters; export interface NatGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to the create or update nat gateway operation. */ @@ -3575,10 +3667,11 @@ export interface NatGatewaysCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NatGatewaysCreateOrUpdateParameters = NatGatewaysCreateOrUpdateQueryParam & - NatGatewaysCreateOrUpdateMediaTypesParam & - NatGatewaysCreateOrUpdateBodyParam & - RequestParameters; +export type NatGatewaysCreateOrUpdateParameters = + NatGatewaysCreateOrUpdateQueryParam & + NatGatewaysCreateOrUpdateMediaTypesParam & + NatGatewaysCreateOrUpdateBodyParam & + RequestParameters; export interface NatGatewaysUpdateTagsBodyParam { /** Parameters supplied to update nat gateway tags. */ @@ -3613,7 +3706,8 @@ export interface NatGatewaysListAllQueryParam { queryParameters: NatGatewaysListAllQueryParamProperties; } -export type NatGatewaysListAllParameters = NatGatewaysListAllQueryParam & RequestParameters; +export type NatGatewaysListAllParameters = NatGatewaysListAllQueryParam & + RequestParameters; export interface NatGatewaysListQueryParamProperties { /** Api Version */ @@ -3624,7 +3718,8 @@ export interface NatGatewaysListQueryParam { queryParameters: NatGatewaysListQueryParamProperties; } -export type NatGatewaysListParameters = NatGatewaysListQueryParam & RequestParameters; +export type NatGatewaysListParameters = NatGatewaysListQueryParam & + RequestParameters; export interface NetworkInterfaceIPConfigurationsListQueryParamProperties { /** Api Version */ @@ -3732,7 +3827,8 @@ export interface NetworkManagersGetQueryParam { queryParameters: NetworkManagersGetQueryParamProperties; } -export type NetworkManagersGetParameters = NetworkManagersGetQueryParam & RequestParameters; +export type NetworkManagersGetParameters = NetworkManagersGetQueryParam & + RequestParameters; export interface NetworkManagersCreateOrUpdateBodyParam { /** Parameters supplied to specify which network manager is. */ @@ -3753,10 +3849,11 @@ export interface NetworkManagersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkManagersCreateOrUpdateParameters = NetworkManagersCreateOrUpdateQueryParam & - NetworkManagersCreateOrUpdateMediaTypesParam & - NetworkManagersCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkManagersCreateOrUpdateParameters = + NetworkManagersCreateOrUpdateQueryParam & + NetworkManagersCreateOrUpdateMediaTypesParam & + NetworkManagersCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkManagersDeleteQueryParamProperties { /** Api Version */ @@ -3769,7 +3866,8 @@ export interface NetworkManagersDeleteQueryParam { queryParameters: NetworkManagersDeleteQueryParamProperties; } -export type NetworkManagersDeleteParameters = NetworkManagersDeleteQueryParam & RequestParameters; +export type NetworkManagersDeleteParameters = NetworkManagersDeleteQueryParam & + RequestParameters; export interface NetworkManagersPatchBodyParam { /** Parameters supplied to specify which network manager is. */ @@ -3824,7 +3922,8 @@ export interface NetworkManagersListQueryParam { queryParameters: NetworkManagersListQueryParamProperties; } -export type NetworkManagersListParameters = NetworkManagersListQueryParam & RequestParameters; +export type NetworkManagersListParameters = NetworkManagersListQueryParam & + RequestParameters; export interface NetworkManagerCommitsPostBodyParam { /** Parameters supplied to specify which Managed Network commit is. */ @@ -3845,10 +3944,11 @@ export interface NetworkManagerCommitsPostMediaTypesParam { contentType?: "application/json"; } -export type NetworkManagerCommitsPostParameters = NetworkManagerCommitsPostQueryParam & - NetworkManagerCommitsPostMediaTypesParam & - NetworkManagerCommitsPostBodyParam & - RequestParameters; +export type NetworkManagerCommitsPostParameters = + NetworkManagerCommitsPostQueryParam & + NetworkManagerCommitsPostMediaTypesParam & + NetworkManagerCommitsPostBodyParam & + RequestParameters; export interface NetworkManagerDeploymentStatusListBodyParam { /** Parameters supplied to specify which Managed Network deployment status is. */ @@ -4016,8 +4116,8 @@ export interface ConnectivityConfigurationsGetQueryParam { queryParameters: ConnectivityConfigurationsGetQueryParamProperties; } -export type ConnectivityConfigurationsGetParameters = ConnectivityConfigurationsGetQueryParam & - RequestParameters; +export type ConnectivityConfigurationsGetParameters = + ConnectivityConfigurationsGetQueryParam & RequestParameters; export interface ConnectivityConfigurationsCreateOrUpdateBodyParam { /** Parameters supplied to create/update a network manager connectivity configuration */ @@ -4071,8 +4171,8 @@ export interface ConnectivityConfigurationsListQueryParam { queryParameters: ConnectivityConfigurationsListQueryParamProperties; } -export type ConnectivityConfigurationsListParameters = ConnectivityConfigurationsListQueryParam & - RequestParameters; +export type ConnectivityConfigurationsListParameters = + ConnectivityConfigurationsListQueryParam & RequestParameters; export interface NetworkGroupsGetQueryParamProperties { /** Api Version */ @@ -4083,7 +4183,8 @@ export interface NetworkGroupsGetQueryParam { queryParameters: NetworkGroupsGetQueryParamProperties; } -export type NetworkGroupsGetParameters = NetworkGroupsGetQueryParam & RequestParameters; +export type NetworkGroupsGetParameters = NetworkGroupsGetQueryParam & + RequestParameters; export interface NetworkGroupsCreateOrUpdateHeaders { /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */ @@ -4105,7 +4206,7 @@ export interface NetworkGroupsCreateOrUpdateQueryParam { } export interface NetworkGroupsCreateOrUpdateHeaderParam { - headers: RawHttpHeadersInput & NetworkGroupsCreateOrUpdateHeaders; + headers?: RawHttpHeadersInput & NetworkGroupsCreateOrUpdateHeaders; } export interface NetworkGroupsCreateOrUpdateMediaTypesParam { @@ -4113,11 +4214,12 @@ export interface NetworkGroupsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkGroupsCreateOrUpdateParameters = NetworkGroupsCreateOrUpdateQueryParam & - NetworkGroupsCreateOrUpdateHeaderParam & - NetworkGroupsCreateOrUpdateMediaTypesParam & - NetworkGroupsCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkGroupsCreateOrUpdateParameters = + NetworkGroupsCreateOrUpdateQueryParam & + NetworkGroupsCreateOrUpdateHeaderParam & + NetworkGroupsCreateOrUpdateMediaTypesParam & + NetworkGroupsCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkGroupsDeleteQueryParamProperties { /** Api Version */ @@ -4130,7 +4232,8 @@ export interface NetworkGroupsDeleteQueryParam { queryParameters: NetworkGroupsDeleteQueryParamProperties; } -export type NetworkGroupsDeleteParameters = NetworkGroupsDeleteQueryParam & RequestParameters; +export type NetworkGroupsDeleteParameters = NetworkGroupsDeleteQueryParam & + RequestParameters; export interface NetworkGroupsListQueryParamProperties { /** Api Version */ @@ -4145,7 +4248,8 @@ export interface NetworkGroupsListQueryParam { queryParameters: NetworkGroupsListQueryParamProperties; } -export type NetworkGroupsListParameters = NetworkGroupsListQueryParam & RequestParameters; +export type NetworkGroupsListParameters = NetworkGroupsListQueryParam & + RequestParameters; export interface StaticMembersGetQueryParamProperties { /** Api Version */ @@ -4156,7 +4260,8 @@ export interface StaticMembersGetQueryParam { queryParameters: StaticMembersGetQueryParamProperties; } -export type StaticMembersGetParameters = StaticMembersGetQueryParam & RequestParameters; +export type StaticMembersGetParameters = StaticMembersGetQueryParam & + RequestParameters; export interface StaticMembersCreateOrUpdateBodyParam { /** Parameters supplied to the specify the static member to create */ @@ -4177,10 +4282,11 @@ export interface StaticMembersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type StaticMembersCreateOrUpdateParameters = StaticMembersCreateOrUpdateQueryParam & - StaticMembersCreateOrUpdateMediaTypesParam & - StaticMembersCreateOrUpdateBodyParam & - RequestParameters; +export type StaticMembersCreateOrUpdateParameters = + StaticMembersCreateOrUpdateQueryParam & + StaticMembersCreateOrUpdateMediaTypesParam & + StaticMembersCreateOrUpdateBodyParam & + RequestParameters; export interface StaticMembersDeleteQueryParamProperties { /** Api Version */ @@ -4191,7 +4297,8 @@ export interface StaticMembersDeleteQueryParam { queryParameters: StaticMembersDeleteQueryParamProperties; } -export type StaticMembersDeleteParameters = StaticMembersDeleteQueryParam & RequestParameters; +export type StaticMembersDeleteParameters = StaticMembersDeleteQueryParam & + RequestParameters; export interface StaticMembersListQueryParamProperties { /** Api Version */ @@ -4206,7 +4313,8 @@ export interface StaticMembersListQueryParam { queryParameters: StaticMembersListQueryParamProperties; } -export type StaticMembersListParameters = StaticMembersListQueryParam & RequestParameters; +export type StaticMembersListParameters = StaticMembersListQueryParam & + RequestParameters; export interface ScopeConnectionsCreateOrUpdateBodyParam { /** Scope connection to be created/updated. */ @@ -4227,10 +4335,11 @@ export interface ScopeConnectionsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ScopeConnectionsCreateOrUpdateParameters = ScopeConnectionsCreateOrUpdateQueryParam & - ScopeConnectionsCreateOrUpdateMediaTypesParam & - ScopeConnectionsCreateOrUpdateBodyParam & - RequestParameters; +export type ScopeConnectionsCreateOrUpdateParameters = + ScopeConnectionsCreateOrUpdateQueryParam & + ScopeConnectionsCreateOrUpdateMediaTypesParam & + ScopeConnectionsCreateOrUpdateBodyParam & + RequestParameters; export interface ScopeConnectionsGetQueryParamProperties { /** Api Version */ @@ -4241,7 +4350,8 @@ export interface ScopeConnectionsGetQueryParam { queryParameters: ScopeConnectionsGetQueryParamProperties; } -export type ScopeConnectionsGetParameters = ScopeConnectionsGetQueryParam & RequestParameters; +export type ScopeConnectionsGetParameters = ScopeConnectionsGetQueryParam & + RequestParameters; export interface ScopeConnectionsDeleteQueryParamProperties { /** Api Version */ @@ -4252,7 +4362,8 @@ export interface ScopeConnectionsDeleteQueryParam { queryParameters: ScopeConnectionsDeleteQueryParamProperties; } -export type ScopeConnectionsDeleteParameters = ScopeConnectionsDeleteQueryParam & RequestParameters; +export type ScopeConnectionsDeleteParameters = + ScopeConnectionsDeleteQueryParam & RequestParameters; export interface ScopeConnectionsListQueryParamProperties { /** Api Version */ @@ -4267,7 +4378,8 @@ export interface ScopeConnectionsListQueryParam { queryParameters: ScopeConnectionsListQueryParamProperties; } -export type ScopeConnectionsListParameters = ScopeConnectionsListQueryParam & RequestParameters; +export type ScopeConnectionsListParameters = ScopeConnectionsListQueryParam & + RequestParameters; export interface SecurityAdminConfigurationsListQueryParamProperties { /** Api Version */ @@ -4282,8 +4394,8 @@ export interface SecurityAdminConfigurationsListQueryParam { queryParameters: SecurityAdminConfigurationsListQueryParamProperties; } -export type SecurityAdminConfigurationsListParameters = SecurityAdminConfigurationsListQueryParam & - RequestParameters; +export type SecurityAdminConfigurationsListParameters = + SecurityAdminConfigurationsListQueryParam & RequestParameters; export interface SecurityAdminConfigurationsGetQueryParamProperties { /** Api Version */ @@ -4294,8 +4406,8 @@ export interface SecurityAdminConfigurationsGetQueryParam { queryParameters: SecurityAdminConfigurationsGetQueryParamProperties; } -export type SecurityAdminConfigurationsGetParameters = SecurityAdminConfigurationsGetQueryParam & - RequestParameters; +export type SecurityAdminConfigurationsGetParameters = + SecurityAdminConfigurationsGetQueryParam & RequestParameters; export interface SecurityAdminConfigurationsCreateOrUpdateBodyParam { /** The security admin configuration to create or update */ @@ -4349,8 +4461,8 @@ export interface AdminRuleCollectionsListQueryParam { queryParameters: AdminRuleCollectionsListQueryParamProperties; } -export type AdminRuleCollectionsListParameters = AdminRuleCollectionsListQueryParam & - RequestParameters; +export type AdminRuleCollectionsListParameters = + AdminRuleCollectionsListQueryParam & RequestParameters; export interface AdminRuleCollectionsGetQueryParamProperties { /** Api Version */ @@ -4361,8 +4473,8 @@ export interface AdminRuleCollectionsGetQueryParam { queryParameters: AdminRuleCollectionsGetQueryParamProperties; } -export type AdminRuleCollectionsGetParameters = AdminRuleCollectionsGetQueryParam & - RequestParameters; +export type AdminRuleCollectionsGetParameters = + AdminRuleCollectionsGetQueryParam & RequestParameters; export interface AdminRuleCollectionsCreateOrUpdateBodyParam { /** The Rule Collection to create or update */ @@ -4400,8 +4512,8 @@ export interface AdminRuleCollectionsDeleteQueryParam { queryParameters: AdminRuleCollectionsDeleteQueryParamProperties; } -export type AdminRuleCollectionsDeleteParameters = AdminRuleCollectionsDeleteQueryParam & - RequestParameters; +export type AdminRuleCollectionsDeleteParameters = + AdminRuleCollectionsDeleteQueryParam & RequestParameters; export interface AdminRulesListQueryParamProperties { /** Api Version */ @@ -4416,7 +4528,8 @@ export interface AdminRulesListQueryParam { queryParameters: AdminRulesListQueryParamProperties; } -export type AdminRulesListParameters = AdminRulesListQueryParam & RequestParameters; +export type AdminRulesListParameters = AdminRulesListQueryParam & + RequestParameters; export interface AdminRulesGetQueryParamProperties { /** Api Version */ @@ -4427,7 +4540,8 @@ export interface AdminRulesGetQueryParam { queryParameters: AdminRulesGetQueryParamProperties; } -export type AdminRulesGetParameters = AdminRulesGetQueryParam & RequestParameters; +export type AdminRulesGetParameters = AdminRulesGetQueryParam & + RequestParameters; export interface AdminRulesCreateOrUpdateBodyParam { /** The admin rule to create or update */ @@ -4448,10 +4562,11 @@ export interface AdminRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type AdminRulesCreateOrUpdateParameters = AdminRulesCreateOrUpdateQueryParam & - AdminRulesCreateOrUpdateMediaTypesParam & - AdminRulesCreateOrUpdateBodyParam & - RequestParameters; +export type AdminRulesCreateOrUpdateParameters = + AdminRulesCreateOrUpdateQueryParam & + AdminRulesCreateOrUpdateMediaTypesParam & + AdminRulesCreateOrUpdateBodyParam & + RequestParameters; export interface AdminRulesDeleteQueryParamProperties { /** Api Version */ @@ -4464,7 +4579,8 @@ export interface AdminRulesDeleteQueryParam { queryParameters: AdminRulesDeleteQueryParamProperties; } -export type AdminRulesDeleteParameters = AdminRulesDeleteQueryParam & RequestParameters; +export type AdminRulesDeleteParameters = AdminRulesDeleteQueryParam & + RequestParameters; export interface NetworkProfilesDeleteQueryParamProperties { /** Api Version */ @@ -4475,7 +4591,8 @@ export interface NetworkProfilesDeleteQueryParam { queryParameters: NetworkProfilesDeleteQueryParamProperties; } -export type NetworkProfilesDeleteParameters = NetworkProfilesDeleteQueryParam & RequestParameters; +export type NetworkProfilesDeleteParameters = NetworkProfilesDeleteQueryParam & + RequestParameters; export interface NetworkProfilesGetQueryParamProperties { /** Api Version */ @@ -4488,7 +4605,8 @@ export interface NetworkProfilesGetQueryParam { queryParameters: NetworkProfilesGetQueryParamProperties; } -export type NetworkProfilesGetParameters = NetworkProfilesGetQueryParam & RequestParameters; +export type NetworkProfilesGetParameters = NetworkProfilesGetQueryParam & + RequestParameters; export interface NetworkProfilesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update network profile operation. */ @@ -4509,10 +4627,11 @@ export interface NetworkProfilesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkProfilesCreateOrUpdateParameters = NetworkProfilesCreateOrUpdateQueryParam & - NetworkProfilesCreateOrUpdateMediaTypesParam & - NetworkProfilesCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkProfilesCreateOrUpdateParameters = + NetworkProfilesCreateOrUpdateQueryParam & + NetworkProfilesCreateOrUpdateMediaTypesParam & + NetworkProfilesCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkProfilesUpdateTagsBodyParam { /** Parameters supplied to update network profile tags. */ @@ -4533,10 +4652,11 @@ export interface NetworkProfilesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type NetworkProfilesUpdateTagsParameters = NetworkProfilesUpdateTagsQueryParam & - NetworkProfilesUpdateTagsMediaTypesParam & - NetworkProfilesUpdateTagsBodyParam & - RequestParameters; +export type NetworkProfilesUpdateTagsParameters = + NetworkProfilesUpdateTagsQueryParam & + NetworkProfilesUpdateTagsMediaTypesParam & + NetworkProfilesUpdateTagsBodyParam & + RequestParameters; export interface NetworkProfilesListAllQueryParamProperties { /** Api Version */ @@ -4547,7 +4667,8 @@ export interface NetworkProfilesListAllQueryParam { queryParameters: NetworkProfilesListAllQueryParamProperties; } -export type NetworkProfilesListAllParameters = NetworkProfilesListAllQueryParam & RequestParameters; +export type NetworkProfilesListAllParameters = + NetworkProfilesListAllQueryParam & RequestParameters; export interface NetworkProfilesListQueryParamProperties { /** Api Version */ @@ -4558,7 +4679,8 @@ export interface NetworkProfilesListQueryParam { queryParameters: NetworkProfilesListQueryParamProperties; } -export type NetworkProfilesListParameters = NetworkProfilesListQueryParam & RequestParameters; +export type NetworkProfilesListParameters = NetworkProfilesListQueryParam & + RequestParameters; export interface NetworkSecurityGroupsDeleteQueryParamProperties { /** Api Version */ @@ -4569,8 +4691,8 @@ export interface NetworkSecurityGroupsDeleteQueryParam { queryParameters: NetworkSecurityGroupsDeleteQueryParamProperties; } -export type NetworkSecurityGroupsDeleteParameters = NetworkSecurityGroupsDeleteQueryParam & - RequestParameters; +export type NetworkSecurityGroupsDeleteParameters = + NetworkSecurityGroupsDeleteQueryParam & RequestParameters; export interface NetworkSecurityGroupsGetQueryParamProperties { /** Api Version */ @@ -4583,8 +4705,8 @@ export interface NetworkSecurityGroupsGetQueryParam { queryParameters: NetworkSecurityGroupsGetQueryParamProperties; } -export type NetworkSecurityGroupsGetParameters = NetworkSecurityGroupsGetQueryParam & - RequestParameters; +export type NetworkSecurityGroupsGetParameters = + NetworkSecurityGroupsGetQueryParam & RequestParameters; export interface NetworkSecurityGroupsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update network security group operation. */ @@ -4630,10 +4752,11 @@ export interface NetworkSecurityGroupsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type NetworkSecurityGroupsUpdateTagsParameters = NetworkSecurityGroupsUpdateTagsQueryParam & - NetworkSecurityGroupsUpdateTagsMediaTypesParam & - NetworkSecurityGroupsUpdateTagsBodyParam & - RequestParameters; +export type NetworkSecurityGroupsUpdateTagsParameters = + NetworkSecurityGroupsUpdateTagsQueryParam & + NetworkSecurityGroupsUpdateTagsMediaTypesParam & + NetworkSecurityGroupsUpdateTagsBodyParam & + RequestParameters; export interface NetworkSecurityGroupsListAllQueryParamProperties { /** Api Version */ @@ -4644,8 +4767,8 @@ export interface NetworkSecurityGroupsListAllQueryParam { queryParameters: NetworkSecurityGroupsListAllQueryParamProperties; } -export type NetworkSecurityGroupsListAllParameters = NetworkSecurityGroupsListAllQueryParam & - RequestParameters; +export type NetworkSecurityGroupsListAllParameters = + NetworkSecurityGroupsListAllQueryParam & RequestParameters; export interface NetworkSecurityGroupsListQueryParamProperties { /** Api Version */ @@ -4656,8 +4779,8 @@ export interface NetworkSecurityGroupsListQueryParam { queryParameters: NetworkSecurityGroupsListQueryParamProperties; } -export type NetworkSecurityGroupsListParameters = NetworkSecurityGroupsListQueryParam & - RequestParameters; +export type NetworkSecurityGroupsListParameters = + NetworkSecurityGroupsListQueryParam & RequestParameters; export interface SecurityRulesDeleteQueryParamProperties { /** Api Version */ @@ -4668,7 +4791,8 @@ export interface SecurityRulesDeleteQueryParam { queryParameters: SecurityRulesDeleteQueryParamProperties; } -export type SecurityRulesDeleteParameters = SecurityRulesDeleteQueryParam & RequestParameters; +export type SecurityRulesDeleteParameters = SecurityRulesDeleteQueryParam & + RequestParameters; export interface SecurityRulesGetQueryParamProperties { /** Api Version */ @@ -4679,7 +4803,8 @@ export interface SecurityRulesGetQueryParam { queryParameters: SecurityRulesGetQueryParamProperties; } -export type SecurityRulesGetParameters = SecurityRulesGetQueryParam & RequestParameters; +export type SecurityRulesGetParameters = SecurityRulesGetQueryParam & + RequestParameters; export interface SecurityRulesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update network security rule operation. */ @@ -4700,10 +4825,11 @@ export interface SecurityRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type SecurityRulesCreateOrUpdateParameters = SecurityRulesCreateOrUpdateQueryParam & - SecurityRulesCreateOrUpdateMediaTypesParam & - SecurityRulesCreateOrUpdateBodyParam & - RequestParameters; +export type SecurityRulesCreateOrUpdateParameters = + SecurityRulesCreateOrUpdateQueryParam & + SecurityRulesCreateOrUpdateMediaTypesParam & + SecurityRulesCreateOrUpdateBodyParam & + RequestParameters; export interface SecurityRulesListQueryParamProperties { /** Api Version */ @@ -4714,7 +4840,8 @@ export interface SecurityRulesListQueryParam { queryParameters: SecurityRulesListQueryParamProperties; } -export type SecurityRulesListParameters = SecurityRulesListQueryParam & RequestParameters; +export type SecurityRulesListParameters = SecurityRulesListQueryParam & + RequestParameters; export interface DefaultSecurityRulesListQueryParamProperties { /** Api Version */ @@ -4725,8 +4852,8 @@ export interface DefaultSecurityRulesListQueryParam { queryParameters: DefaultSecurityRulesListQueryParamProperties; } -export type DefaultSecurityRulesListParameters = DefaultSecurityRulesListQueryParam & - RequestParameters; +export type DefaultSecurityRulesListParameters = + DefaultSecurityRulesListQueryParam & RequestParameters; export interface DefaultSecurityRulesGetQueryParamProperties { /** Api Version */ @@ -4737,8 +4864,8 @@ export interface DefaultSecurityRulesGetQueryParam { queryParameters: DefaultSecurityRulesGetQueryParamProperties; } -export type DefaultSecurityRulesGetParameters = DefaultSecurityRulesGetQueryParam & - RequestParameters; +export type DefaultSecurityRulesGetParameters = + DefaultSecurityRulesGetQueryParam & RequestParameters; export interface NetworkVirtualAppliancesDeleteQueryParamProperties { /** Api Version */ @@ -4749,8 +4876,8 @@ export interface NetworkVirtualAppliancesDeleteQueryParam { queryParameters: NetworkVirtualAppliancesDeleteQueryParamProperties; } -export type NetworkVirtualAppliancesDeleteParameters = NetworkVirtualAppliancesDeleteQueryParam & - RequestParameters; +export type NetworkVirtualAppliancesDeleteParameters = + NetworkVirtualAppliancesDeleteQueryParam & RequestParameters; export interface NetworkVirtualAppliancesGetQueryParamProperties { /** Api Version */ @@ -4763,8 +4890,8 @@ export interface NetworkVirtualAppliancesGetQueryParam { queryParameters: NetworkVirtualAppliancesGetQueryParamProperties; } -export type NetworkVirtualAppliancesGetParameters = NetworkVirtualAppliancesGetQueryParam & - RequestParameters; +export type NetworkVirtualAppliancesGetParameters = + NetworkVirtualAppliancesGetQueryParam & RequestParameters; export interface NetworkVirtualAppliancesUpdateTagsBodyParam { /** Parameters supplied to Update Network Virtual Appliance Tags. */ @@ -4837,8 +4964,8 @@ export interface NetworkVirtualAppliancesListQueryParam { queryParameters: NetworkVirtualAppliancesListQueryParamProperties; } -export type NetworkVirtualAppliancesListParameters = NetworkVirtualAppliancesListQueryParam & - RequestParameters; +export type NetworkVirtualAppliancesListParameters = + NetworkVirtualAppliancesListQueryParam & RequestParameters; export interface VirtualApplianceSitesDeleteQueryParamProperties { /** Api Version */ @@ -4849,8 +4976,8 @@ export interface VirtualApplianceSitesDeleteQueryParam { queryParameters: VirtualApplianceSitesDeleteQueryParamProperties; } -export type VirtualApplianceSitesDeleteParameters = VirtualApplianceSitesDeleteQueryParam & - RequestParameters; +export type VirtualApplianceSitesDeleteParameters = + VirtualApplianceSitesDeleteQueryParam & RequestParameters; export interface VirtualApplianceSitesGetQueryParamProperties { /** Api Version */ @@ -4861,8 +4988,8 @@ export interface VirtualApplianceSitesGetQueryParam { queryParameters: VirtualApplianceSitesGetQueryParamProperties; } -export type VirtualApplianceSitesGetParameters = VirtualApplianceSitesGetQueryParam & - RequestParameters; +export type VirtualApplianceSitesGetParameters = + VirtualApplianceSitesGetQueryParam & RequestParameters; export interface VirtualApplianceSitesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Network Virtual Appliance Site operation. */ @@ -4898,8 +5025,8 @@ export interface VirtualApplianceSitesListQueryParam { queryParameters: VirtualApplianceSitesListQueryParamProperties; } -export type VirtualApplianceSitesListParameters = VirtualApplianceSitesListQueryParam & - RequestParameters; +export type VirtualApplianceSitesListParameters = + VirtualApplianceSitesListQueryParam & RequestParameters; export interface VirtualApplianceSkusListQueryParamProperties { /** Api Version */ @@ -4910,8 +5037,8 @@ export interface VirtualApplianceSkusListQueryParam { queryParameters: VirtualApplianceSkusListQueryParamProperties; } -export type VirtualApplianceSkusListParameters = VirtualApplianceSkusListQueryParam & - RequestParameters; +export type VirtualApplianceSkusListParameters = + VirtualApplianceSkusListQueryParam & RequestParameters; export interface VirtualApplianceSkusGetQueryParamProperties { /** Api Version */ @@ -4922,8 +5049,8 @@ export interface VirtualApplianceSkusGetQueryParam { queryParameters: VirtualApplianceSkusGetQueryParamProperties; } -export type VirtualApplianceSkusGetParameters = VirtualApplianceSkusGetQueryParam & - RequestParameters; +export type VirtualApplianceSkusGetParameters = + VirtualApplianceSkusGetQueryParam & RequestParameters; export interface InboundSecurityRuleCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation. */ @@ -4969,10 +5096,11 @@ export interface NetworkWatchersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersCreateOrUpdateParameters = NetworkWatchersCreateOrUpdateQueryParam & - NetworkWatchersCreateOrUpdateMediaTypesParam & - NetworkWatchersCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkWatchersCreateOrUpdateParameters = + NetworkWatchersCreateOrUpdateQueryParam & + NetworkWatchersCreateOrUpdateMediaTypesParam & + NetworkWatchersCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkWatchersGetQueryParamProperties { /** Api Version */ @@ -4983,7 +5111,8 @@ export interface NetworkWatchersGetQueryParam { queryParameters: NetworkWatchersGetQueryParamProperties; } -export type NetworkWatchersGetParameters = NetworkWatchersGetQueryParam & RequestParameters; +export type NetworkWatchersGetParameters = NetworkWatchersGetQueryParam & + RequestParameters; export interface NetworkWatchersDeleteQueryParamProperties { /** Api Version */ @@ -4994,7 +5123,8 @@ export interface NetworkWatchersDeleteQueryParam { queryParameters: NetworkWatchersDeleteQueryParamProperties; } -export type NetworkWatchersDeleteParameters = NetworkWatchersDeleteQueryParam & RequestParameters; +export type NetworkWatchersDeleteParameters = NetworkWatchersDeleteQueryParam & + RequestParameters; export interface NetworkWatchersUpdateTagsBodyParam { /** Parameters supplied to update network watcher tags. */ @@ -5015,10 +5145,11 @@ export interface NetworkWatchersUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersUpdateTagsParameters = NetworkWatchersUpdateTagsQueryParam & - NetworkWatchersUpdateTagsMediaTypesParam & - NetworkWatchersUpdateTagsBodyParam & - RequestParameters; +export type NetworkWatchersUpdateTagsParameters = + NetworkWatchersUpdateTagsQueryParam & + NetworkWatchersUpdateTagsMediaTypesParam & + NetworkWatchersUpdateTagsBodyParam & + RequestParameters; export interface NetworkWatchersListQueryParamProperties { /** Api Version */ @@ -5029,7 +5160,8 @@ export interface NetworkWatchersListQueryParam { queryParameters: NetworkWatchersListQueryParamProperties; } -export type NetworkWatchersListParameters = NetworkWatchersListQueryParam & RequestParameters; +export type NetworkWatchersListParameters = NetworkWatchersListQueryParam & + RequestParameters; export interface NetworkWatchersListAllQueryParamProperties { /** Api Version */ @@ -5040,7 +5172,8 @@ export interface NetworkWatchersListAllQueryParam { queryParameters: NetworkWatchersListAllQueryParamProperties; } -export type NetworkWatchersListAllParameters = NetworkWatchersListAllQueryParam & RequestParameters; +export type NetworkWatchersListAllParameters = + NetworkWatchersListAllQueryParam & RequestParameters; export interface NetworkWatchersGetTopologyBodyParam { /** Parameters that define the representation of topology. */ @@ -5061,10 +5194,11 @@ export interface NetworkWatchersGetTopologyMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersGetTopologyParameters = NetworkWatchersGetTopologyQueryParam & - NetworkWatchersGetTopologyMediaTypesParam & - NetworkWatchersGetTopologyBodyParam & - RequestParameters; +export type NetworkWatchersGetTopologyParameters = + NetworkWatchersGetTopologyQueryParam & + NetworkWatchersGetTopologyMediaTypesParam & + NetworkWatchersGetTopologyBodyParam & + RequestParameters; export interface NetworkWatchersVerifyIPFlowBodyParam { /** Parameters that define the IP flow to be verified. */ @@ -5085,10 +5219,11 @@ export interface NetworkWatchersVerifyIPFlowMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersVerifyIPFlowParameters = NetworkWatchersVerifyIPFlowQueryParam & - NetworkWatchersVerifyIPFlowMediaTypesParam & - NetworkWatchersVerifyIPFlowBodyParam & - RequestParameters; +export type NetworkWatchersVerifyIPFlowParameters = + NetworkWatchersVerifyIPFlowQueryParam & + NetworkWatchersVerifyIPFlowMediaTypesParam & + NetworkWatchersVerifyIPFlowBodyParam & + RequestParameters; export interface NetworkWatchersGetNextHopBodyParam { /** Parameters that define the source and destination endpoint. */ @@ -5109,10 +5244,11 @@ export interface NetworkWatchersGetNextHopMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersGetNextHopParameters = NetworkWatchersGetNextHopQueryParam & - NetworkWatchersGetNextHopMediaTypesParam & - NetworkWatchersGetNextHopBodyParam & - RequestParameters; +export type NetworkWatchersGetNextHopParameters = + NetworkWatchersGetNextHopQueryParam & + NetworkWatchersGetNextHopMediaTypesParam & + NetworkWatchersGetNextHopBodyParam & + RequestParameters; export interface NetworkWatchersGetVMSecurityRulesBodyParam { /** Parameters that define the VM to check security groups for. */ @@ -5233,10 +5369,11 @@ export interface NetworkWatchersGetFlowLogStatusMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersGetFlowLogStatusParameters = NetworkWatchersGetFlowLogStatusQueryParam & - NetworkWatchersGetFlowLogStatusMediaTypesParam & - NetworkWatchersGetFlowLogStatusBodyParam & - RequestParameters; +export type NetworkWatchersGetFlowLogStatusParameters = + NetworkWatchersGetFlowLogStatusQueryParam & + NetworkWatchersGetFlowLogStatusMediaTypesParam & + NetworkWatchersGetFlowLogStatusBodyParam & + RequestParameters; export interface NetworkWatchersCheckConnectivityBodyParam { /** Parameters that determine how the connectivity check will be performed. */ @@ -5371,7 +5508,8 @@ export interface PacketCapturesGetQueryParam { queryParameters: PacketCapturesGetQueryParamProperties; } -export type PacketCapturesGetParameters = PacketCapturesGetQueryParam & RequestParameters; +export type PacketCapturesGetParameters = PacketCapturesGetQueryParam & + RequestParameters; export interface PacketCapturesDeleteQueryParamProperties { /** Api Version */ @@ -5382,7 +5520,8 @@ export interface PacketCapturesDeleteQueryParam { queryParameters: PacketCapturesDeleteQueryParamProperties; } -export type PacketCapturesDeleteParameters = PacketCapturesDeleteQueryParam & RequestParameters; +export type PacketCapturesDeleteParameters = PacketCapturesDeleteQueryParam & + RequestParameters; export interface PacketCapturesStopQueryParamProperties { /** Api Version */ @@ -5393,7 +5532,8 @@ export interface PacketCapturesStopQueryParam { queryParameters: PacketCapturesStopQueryParamProperties; } -export type PacketCapturesStopParameters = PacketCapturesStopQueryParam & RequestParameters; +export type PacketCapturesStopParameters = PacketCapturesStopQueryParam & + RequestParameters; export interface PacketCapturesGetStatusQueryParamProperties { /** Api Version */ @@ -5404,8 +5544,8 @@ export interface PacketCapturesGetStatusQueryParam { queryParameters: PacketCapturesGetStatusQueryParamProperties; } -export type PacketCapturesGetStatusParameters = PacketCapturesGetStatusQueryParam & - RequestParameters; +export type PacketCapturesGetStatusParameters = + PacketCapturesGetStatusQueryParam & RequestParameters; export interface PacketCapturesListQueryParamProperties { /** Api Version */ @@ -5416,7 +5556,8 @@ export interface PacketCapturesListQueryParam { queryParameters: PacketCapturesListQueryParamProperties; } -export type PacketCapturesListParameters = PacketCapturesListQueryParam & RequestParameters; +export type PacketCapturesListParameters = PacketCapturesListQueryParam & + RequestParameters; export interface ConnectionMonitorsCreateOrUpdateBodyParam { /** Parameters that define the operation to create a connection monitor. */ @@ -5454,7 +5595,8 @@ export interface ConnectionMonitorsGetQueryParam { queryParameters: ConnectionMonitorsGetQueryParamProperties; } -export type ConnectionMonitorsGetParameters = ConnectionMonitorsGetQueryParam & RequestParameters; +export type ConnectionMonitorsGetParameters = ConnectionMonitorsGetQueryParam & + RequestParameters; export interface ConnectionMonitorsDeleteQueryParamProperties { /** Api Version */ @@ -5465,8 +5607,8 @@ export interface ConnectionMonitorsDeleteQueryParam { queryParameters: ConnectionMonitorsDeleteQueryParamProperties; } -export type ConnectionMonitorsDeleteParameters = ConnectionMonitorsDeleteQueryParam & - RequestParameters; +export type ConnectionMonitorsDeleteParameters = + ConnectionMonitorsDeleteQueryParam & RequestParameters; export interface ConnectionMonitorsUpdateTagsBodyParam { /** Parameters supplied to update connection monitor tags. */ @@ -5487,10 +5629,11 @@ export interface ConnectionMonitorsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ConnectionMonitorsUpdateTagsParameters = ConnectionMonitorsUpdateTagsQueryParam & - ConnectionMonitorsUpdateTagsMediaTypesParam & - ConnectionMonitorsUpdateTagsBodyParam & - RequestParameters; +export type ConnectionMonitorsUpdateTagsParameters = + ConnectionMonitorsUpdateTagsQueryParam & + ConnectionMonitorsUpdateTagsMediaTypesParam & + ConnectionMonitorsUpdateTagsBodyParam & + RequestParameters; export interface ConnectionMonitorsStopQueryParamProperties { /** Api Version */ @@ -5501,7 +5644,8 @@ export interface ConnectionMonitorsStopQueryParam { queryParameters: ConnectionMonitorsStopQueryParamProperties; } -export type ConnectionMonitorsStopParameters = ConnectionMonitorsStopQueryParam & RequestParameters; +export type ConnectionMonitorsStopParameters = + ConnectionMonitorsStopQueryParam & RequestParameters; export interface ConnectionMonitorsStartQueryParamProperties { /** Api Version */ @@ -5512,8 +5656,8 @@ export interface ConnectionMonitorsStartQueryParam { queryParameters: ConnectionMonitorsStartQueryParamProperties; } -export type ConnectionMonitorsStartParameters = ConnectionMonitorsStartQueryParam & - RequestParameters; +export type ConnectionMonitorsStartParameters = + ConnectionMonitorsStartQueryParam & RequestParameters; export interface ConnectionMonitorsQueryQueryParamProperties { /** Api Version */ @@ -5524,8 +5668,8 @@ export interface ConnectionMonitorsQueryQueryParam { queryParameters: ConnectionMonitorsQueryQueryParamProperties; } -export type ConnectionMonitorsQueryParameters = ConnectionMonitorsQueryQueryParam & - RequestParameters; +export type ConnectionMonitorsQueryParameters = + ConnectionMonitorsQueryQueryParam & RequestParameters; export interface ConnectionMonitorsListQueryParamProperties { /** Api Version */ @@ -5536,7 +5680,8 @@ export interface ConnectionMonitorsListQueryParam { queryParameters: ConnectionMonitorsListQueryParamProperties; } -export type ConnectionMonitorsListParameters = ConnectionMonitorsListQueryParam & RequestParameters; +export type ConnectionMonitorsListParameters = + ConnectionMonitorsListQueryParam & RequestParameters; export interface FlowLogsCreateOrUpdateBodyParam { /** Parameters that define the create or update flow log resource. */ @@ -5557,10 +5702,11 @@ export interface FlowLogsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type FlowLogsCreateOrUpdateParameters = FlowLogsCreateOrUpdateQueryParam & - FlowLogsCreateOrUpdateMediaTypesParam & - FlowLogsCreateOrUpdateBodyParam & - RequestParameters; +export type FlowLogsCreateOrUpdateParameters = + FlowLogsCreateOrUpdateQueryParam & + FlowLogsCreateOrUpdateMediaTypesParam & + FlowLogsCreateOrUpdateBodyParam & + RequestParameters; export interface FlowLogsUpdateTagsBodyParam { /** Parameters supplied to update flow log tags. */ @@ -5606,7 +5752,8 @@ export interface FlowLogsDeleteQueryParam { queryParameters: FlowLogsDeleteQueryParamProperties; } -export type FlowLogsDeleteParameters = FlowLogsDeleteQueryParam & RequestParameters; +export type FlowLogsDeleteParameters = FlowLogsDeleteQueryParam & + RequestParameters; export interface FlowLogsListQueryParamProperties { /** Api Version */ @@ -5628,7 +5775,8 @@ export interface OperationsListQueryParam { queryParameters: OperationsListQueryParamProperties; } -export type OperationsListParameters = OperationsListQueryParam & RequestParameters; +export type OperationsListParameters = OperationsListQueryParam & + RequestParameters; export interface PrivateEndpointsDeleteQueryParamProperties { /** Api Version */ @@ -5639,7 +5787,8 @@ export interface PrivateEndpointsDeleteQueryParam { queryParameters: PrivateEndpointsDeleteQueryParamProperties; } -export type PrivateEndpointsDeleteParameters = PrivateEndpointsDeleteQueryParam & RequestParameters; +export type PrivateEndpointsDeleteParameters = + PrivateEndpointsDeleteQueryParam & RequestParameters; export interface PrivateEndpointsGetQueryParamProperties { /** Api Version */ @@ -5652,7 +5801,8 @@ export interface PrivateEndpointsGetQueryParam { queryParameters: PrivateEndpointsGetQueryParamProperties; } -export type PrivateEndpointsGetParameters = PrivateEndpointsGetQueryParam & RequestParameters; +export type PrivateEndpointsGetParameters = PrivateEndpointsGetQueryParam & + RequestParameters; export interface PrivateEndpointsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update private endpoint operation. */ @@ -5673,10 +5823,11 @@ export interface PrivateEndpointsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type PrivateEndpointsCreateOrUpdateParameters = PrivateEndpointsCreateOrUpdateQueryParam & - PrivateEndpointsCreateOrUpdateMediaTypesParam & - PrivateEndpointsCreateOrUpdateBodyParam & - RequestParameters; +export type PrivateEndpointsCreateOrUpdateParameters = + PrivateEndpointsCreateOrUpdateQueryParam & + PrivateEndpointsCreateOrUpdateMediaTypesParam & + PrivateEndpointsCreateOrUpdateBodyParam & + RequestParameters; export interface PrivateEndpointsListQueryParamProperties { /** Api Version */ @@ -5687,7 +5838,8 @@ export interface PrivateEndpointsListQueryParam { queryParameters: PrivateEndpointsListQueryParamProperties; } -export type PrivateEndpointsListParameters = PrivateEndpointsListQueryParam & RequestParameters; +export type PrivateEndpointsListParameters = PrivateEndpointsListQueryParam & + RequestParameters; export interface PrivateEndpointsListBySubscriptionQueryParamProperties { /** Api Version */ @@ -5723,7 +5875,8 @@ export interface AvailablePrivateEndpointTypesListByResourceGroupQueryParam { } export type AvailablePrivateEndpointTypesListByResourceGroupParameters = - AvailablePrivateEndpointTypesListByResourceGroupQueryParam & RequestParameters; + AvailablePrivateEndpointTypesListByResourceGroupQueryParam & + RequestParameters; export interface PrivateDnsZoneGroupsDeleteQueryParamProperties { /** Api Version */ @@ -5734,8 +5887,8 @@ export interface PrivateDnsZoneGroupsDeleteQueryParam { queryParameters: PrivateDnsZoneGroupsDeleteQueryParamProperties; } -export type PrivateDnsZoneGroupsDeleteParameters = PrivateDnsZoneGroupsDeleteQueryParam & - RequestParameters; +export type PrivateDnsZoneGroupsDeleteParameters = + PrivateDnsZoneGroupsDeleteQueryParam & RequestParameters; export interface PrivateDnsZoneGroupsGetQueryParamProperties { /** Api Version */ @@ -5746,8 +5899,8 @@ export interface PrivateDnsZoneGroupsGetQueryParam { queryParameters: PrivateDnsZoneGroupsGetQueryParamProperties; } -export type PrivateDnsZoneGroupsGetParameters = PrivateDnsZoneGroupsGetQueryParam & - RequestParameters; +export type PrivateDnsZoneGroupsGetParameters = + PrivateDnsZoneGroupsGetQueryParam & RequestParameters; export interface PrivateDnsZoneGroupsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update private dns zone group operation. */ @@ -5783,8 +5936,8 @@ export interface PrivateDnsZoneGroupsListQueryParam { queryParameters: PrivateDnsZoneGroupsListQueryParamProperties; } -export type PrivateDnsZoneGroupsListParameters = PrivateDnsZoneGroupsListQueryParam & - RequestParameters; +export type PrivateDnsZoneGroupsListParameters = + PrivateDnsZoneGroupsListQueryParam & RequestParameters; export interface PrivateLinkServicesDeleteQueryParamProperties { /** Api Version */ @@ -5795,8 +5948,8 @@ export interface PrivateLinkServicesDeleteQueryParam { queryParameters: PrivateLinkServicesDeleteQueryParamProperties; } -export type PrivateLinkServicesDeleteParameters = PrivateLinkServicesDeleteQueryParam & - RequestParameters; +export type PrivateLinkServicesDeleteParameters = + PrivateLinkServicesDeleteQueryParam & RequestParameters; export interface PrivateLinkServicesGetQueryParamProperties { /** Api Version */ @@ -5809,7 +5962,8 @@ export interface PrivateLinkServicesGetQueryParam { queryParameters: PrivateLinkServicesGetQueryParamProperties; } -export type PrivateLinkServicesGetParameters = PrivateLinkServicesGetQueryParam & RequestParameters; +export type PrivateLinkServicesGetParameters = + PrivateLinkServicesGetQueryParam & RequestParameters; export interface PrivateLinkServicesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update private link service operation. */ @@ -5845,8 +5999,8 @@ export interface PrivateLinkServicesListQueryParam { queryParameters: PrivateLinkServicesListQueryParamProperties; } -export type PrivateLinkServicesListParameters = PrivateLinkServicesListQueryParam & - RequestParameters; +export type PrivateLinkServicesListParameters = + PrivateLinkServicesListQueryParam & RequestParameters; export interface PrivateLinkServicesListBySubscriptionQueryParamProperties { /** Api Version */ @@ -5909,7 +6063,8 @@ export interface PrivateLinkServicesDeletePrivateEndpointConnectionQueryParam { } export type PrivateLinkServicesDeletePrivateEndpointConnectionParameters = - PrivateLinkServicesDeletePrivateEndpointConnectionQueryParam & RequestParameters; + PrivateLinkServicesDeletePrivateEndpointConnectionQueryParam & + RequestParameters; export interface PrivateLinkServicesListPrivateEndpointConnectionsQueryParamProperties { /** Api Version */ @@ -5921,7 +6076,8 @@ export interface PrivateLinkServicesListPrivateEndpointConnectionsQueryParam { } export type PrivateLinkServicesListPrivateEndpointConnectionsParameters = - PrivateLinkServicesListPrivateEndpointConnectionsQueryParam & RequestParameters; + PrivateLinkServicesListPrivateEndpointConnectionsQueryParam & + RequestParameters; export interface PrivateLinkServicesCheckPrivateLinkServiceVisibilityBodyParam { /** The request body of CheckPrivateLinkService API call. */ @@ -5983,7 +6139,8 @@ export interface PrivateLinkServicesListAutoApprovedPrivateLinkServicesQueryPara } export type PrivateLinkServicesListAutoApprovedPrivateLinkServicesParameters = - PrivateLinkServicesListAutoApprovedPrivateLinkServicesQueryParam & RequestParameters; + PrivateLinkServicesListAutoApprovedPrivateLinkServicesQueryParam & + RequestParameters; export interface PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupQueryParamProperties { /** Api Version */ @@ -6007,7 +6164,8 @@ export interface PublicIPPrefixesDeleteQueryParam { queryParameters: PublicIPPrefixesDeleteQueryParamProperties; } -export type PublicIPPrefixesDeleteParameters = PublicIPPrefixesDeleteQueryParam & RequestParameters; +export type PublicIPPrefixesDeleteParameters = + PublicIPPrefixesDeleteQueryParam & RequestParameters; export interface PublicIPPrefixesGetQueryParamProperties { /** Api Version */ @@ -6020,7 +6178,8 @@ export interface PublicIPPrefixesGetQueryParam { queryParameters: PublicIPPrefixesGetQueryParamProperties; } -export type PublicIPPrefixesGetParameters = PublicIPPrefixesGetQueryParam & RequestParameters; +export type PublicIPPrefixesGetParameters = PublicIPPrefixesGetQueryParam & + RequestParameters; export interface PublicIPPrefixesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update public IP prefix operation. */ @@ -6041,10 +6200,11 @@ export interface PublicIPPrefixesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type PublicIPPrefixesCreateOrUpdateParameters = PublicIPPrefixesCreateOrUpdateQueryParam & - PublicIPPrefixesCreateOrUpdateMediaTypesParam & - PublicIPPrefixesCreateOrUpdateBodyParam & - RequestParameters; +export type PublicIPPrefixesCreateOrUpdateParameters = + PublicIPPrefixesCreateOrUpdateQueryParam & + PublicIPPrefixesCreateOrUpdateMediaTypesParam & + PublicIPPrefixesCreateOrUpdateBodyParam & + RequestParameters; export interface PublicIPPrefixesUpdateTagsBodyParam { /** Parameters supplied to update public IP prefix tags. */ @@ -6065,10 +6225,11 @@ export interface PublicIPPrefixesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type PublicIPPrefixesUpdateTagsParameters = PublicIPPrefixesUpdateTagsQueryParam & - PublicIPPrefixesUpdateTagsMediaTypesParam & - PublicIPPrefixesUpdateTagsBodyParam & - RequestParameters; +export type PublicIPPrefixesUpdateTagsParameters = + PublicIPPrefixesUpdateTagsQueryParam & + PublicIPPrefixesUpdateTagsMediaTypesParam & + PublicIPPrefixesUpdateTagsBodyParam & + RequestParameters; export interface PublicIPPrefixesListAllQueryParamProperties { /** Api Version */ @@ -6079,8 +6240,8 @@ export interface PublicIPPrefixesListAllQueryParam { queryParameters: PublicIPPrefixesListAllQueryParamProperties; } -export type PublicIPPrefixesListAllParameters = PublicIPPrefixesListAllQueryParam & - RequestParameters; +export type PublicIPPrefixesListAllParameters = + PublicIPPrefixesListAllQueryParam & RequestParameters; export interface PublicIPPrefixesListQueryParamProperties { /** Api Version */ @@ -6091,7 +6252,8 @@ export interface PublicIPPrefixesListQueryParam { queryParameters: PublicIPPrefixesListQueryParamProperties; } -export type PublicIPPrefixesListParameters = PublicIPPrefixesListQueryParam & RequestParameters; +export type PublicIPPrefixesListParameters = PublicIPPrefixesListQueryParam & + RequestParameters; export interface RouteFiltersDeleteQueryParamProperties { /** Api Version */ @@ -6102,7 +6264,8 @@ export interface RouteFiltersDeleteQueryParam { queryParameters: RouteFiltersDeleteQueryParamProperties; } -export type RouteFiltersDeleteParameters = RouteFiltersDeleteQueryParam & RequestParameters; +export type RouteFiltersDeleteParameters = RouteFiltersDeleteQueryParam & + RequestParameters; export interface RouteFiltersGetQueryParamProperties { /** Api Version */ @@ -6115,7 +6278,8 @@ export interface RouteFiltersGetQueryParam { queryParameters: RouteFiltersGetQueryParamProperties; } -export type RouteFiltersGetParameters = RouteFiltersGetQueryParam & RequestParameters; +export type RouteFiltersGetParameters = RouteFiltersGetQueryParam & + RequestParameters; export interface RouteFiltersCreateOrUpdateBodyParam { /** Parameters supplied to the create or update route filter operation. */ @@ -6136,10 +6300,11 @@ export interface RouteFiltersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RouteFiltersCreateOrUpdateParameters = RouteFiltersCreateOrUpdateQueryParam & - RouteFiltersCreateOrUpdateMediaTypesParam & - RouteFiltersCreateOrUpdateBodyParam & - RequestParameters; +export type RouteFiltersCreateOrUpdateParameters = + RouteFiltersCreateOrUpdateQueryParam & + RouteFiltersCreateOrUpdateMediaTypesParam & + RouteFiltersCreateOrUpdateBodyParam & + RequestParameters; export interface RouteFiltersUpdateTagsBodyParam { /** Parameters supplied to update route filter tags. */ @@ -6160,10 +6325,11 @@ export interface RouteFiltersUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type RouteFiltersUpdateTagsParameters = RouteFiltersUpdateTagsQueryParam & - RouteFiltersUpdateTagsMediaTypesParam & - RouteFiltersUpdateTagsBodyParam & - RequestParameters; +export type RouteFiltersUpdateTagsParameters = + RouteFiltersUpdateTagsQueryParam & + RouteFiltersUpdateTagsMediaTypesParam & + RouteFiltersUpdateTagsBodyParam & + RequestParameters; export interface RouteFiltersListByResourceGroupQueryParamProperties { /** Api Version */ @@ -6174,8 +6340,8 @@ export interface RouteFiltersListByResourceGroupQueryParam { queryParameters: RouteFiltersListByResourceGroupQueryParamProperties; } -export type RouteFiltersListByResourceGroupParameters = RouteFiltersListByResourceGroupQueryParam & - RequestParameters; +export type RouteFiltersListByResourceGroupParameters = + RouteFiltersListByResourceGroupQueryParam & RequestParameters; export interface RouteFiltersListQueryParamProperties { /** Api Version */ @@ -6186,7 +6352,8 @@ export interface RouteFiltersListQueryParam { queryParameters: RouteFiltersListQueryParamProperties; } -export type RouteFiltersListParameters = RouteFiltersListQueryParam & RequestParameters; +export type RouteFiltersListParameters = RouteFiltersListQueryParam & + RequestParameters; export interface RouteFilterRulesDeleteQueryParamProperties { /** Api Version */ @@ -6197,7 +6364,8 @@ export interface RouteFilterRulesDeleteQueryParam { queryParameters: RouteFilterRulesDeleteQueryParamProperties; } -export type RouteFilterRulesDeleteParameters = RouteFilterRulesDeleteQueryParam & RequestParameters; +export type RouteFilterRulesDeleteParameters = + RouteFilterRulesDeleteQueryParam & RequestParameters; export interface RouteFilterRulesGetQueryParamProperties { /** Api Version */ @@ -6208,7 +6376,8 @@ export interface RouteFilterRulesGetQueryParam { queryParameters: RouteFilterRulesGetQueryParamProperties; } -export type RouteFilterRulesGetParameters = RouteFilterRulesGetQueryParam & RequestParameters; +export type RouteFilterRulesGetParameters = RouteFilterRulesGetQueryParam & + RequestParameters; export interface RouteFilterRulesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update route filter rule operation. */ @@ -6229,10 +6398,11 @@ export interface RouteFilterRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RouteFilterRulesCreateOrUpdateParameters = RouteFilterRulesCreateOrUpdateQueryParam & - RouteFilterRulesCreateOrUpdateMediaTypesParam & - RouteFilterRulesCreateOrUpdateBodyParam & - RequestParameters; +export type RouteFilterRulesCreateOrUpdateParameters = + RouteFilterRulesCreateOrUpdateQueryParam & + RouteFilterRulesCreateOrUpdateMediaTypesParam & + RouteFilterRulesCreateOrUpdateBodyParam & + RequestParameters; export interface RouteFilterRulesListByRouteFilterQueryParamProperties { /** Api Version */ @@ -6255,7 +6425,8 @@ export interface RouteTablesDeleteQueryParam { queryParameters: RouteTablesDeleteQueryParamProperties; } -export type RouteTablesDeleteParameters = RouteTablesDeleteQueryParam & RequestParameters; +export type RouteTablesDeleteParameters = RouteTablesDeleteQueryParam & + RequestParameters; export interface RouteTablesGetQueryParamProperties { /** Api Version */ @@ -6268,7 +6439,8 @@ export interface RouteTablesGetQueryParam { queryParameters: RouteTablesGetQueryParamProperties; } -export type RouteTablesGetParameters = RouteTablesGetQueryParam & RequestParameters; +export type RouteTablesGetParameters = RouteTablesGetQueryParam & + RequestParameters; export interface RouteTablesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update route table operation. */ @@ -6289,10 +6461,11 @@ export interface RouteTablesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RouteTablesCreateOrUpdateParameters = RouteTablesCreateOrUpdateQueryParam & - RouteTablesCreateOrUpdateMediaTypesParam & - RouteTablesCreateOrUpdateBodyParam & - RequestParameters; +export type RouteTablesCreateOrUpdateParameters = + RouteTablesCreateOrUpdateQueryParam & + RouteTablesCreateOrUpdateMediaTypesParam & + RouteTablesCreateOrUpdateBodyParam & + RequestParameters; export interface RouteTablesUpdateTagsBodyParam { /** Parameters supplied to update route table tags. */ @@ -6327,7 +6500,8 @@ export interface RouteTablesListQueryParam { queryParameters: RouteTablesListQueryParamProperties; } -export type RouteTablesListParameters = RouteTablesListQueryParam & RequestParameters; +export type RouteTablesListParameters = RouteTablesListQueryParam & + RequestParameters; export interface RouteTablesListAllQueryParamProperties { /** Api Version */ @@ -6338,7 +6512,8 @@ export interface RouteTablesListAllQueryParam { queryParameters: RouteTablesListAllQueryParamProperties; } -export type RouteTablesListAllParameters = RouteTablesListAllQueryParam & RequestParameters; +export type RouteTablesListAllParameters = RouteTablesListAllQueryParam & + RequestParameters; export interface RoutesDeleteQueryParamProperties { /** Api Version */ @@ -6406,8 +6581,8 @@ export interface SecurityPartnerProvidersDeleteQueryParam { queryParameters: SecurityPartnerProvidersDeleteQueryParamProperties; } -export type SecurityPartnerProvidersDeleteParameters = SecurityPartnerProvidersDeleteQueryParam & - RequestParameters; +export type SecurityPartnerProvidersDeleteParameters = + SecurityPartnerProvidersDeleteQueryParam & RequestParameters; export interface SecurityPartnerProvidersGetQueryParamProperties { /** Api Version */ @@ -6418,8 +6593,8 @@ export interface SecurityPartnerProvidersGetQueryParam { queryParameters: SecurityPartnerProvidersGetQueryParamProperties; } -export type SecurityPartnerProvidersGetParameters = SecurityPartnerProvidersGetQueryParam & - RequestParameters; +export type SecurityPartnerProvidersGetParameters = + SecurityPartnerProvidersGetQueryParam & RequestParameters; export interface SecurityPartnerProvidersCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Security Partner Provider operation. */ @@ -6492,8 +6667,8 @@ export interface SecurityPartnerProvidersListQueryParam { queryParameters: SecurityPartnerProvidersListQueryParamProperties; } -export type SecurityPartnerProvidersListParameters = SecurityPartnerProvidersListQueryParam & - RequestParameters; +export type SecurityPartnerProvidersListParameters = + SecurityPartnerProvidersListQueryParam & RequestParameters; export interface BgpServiceCommunitiesListQueryParamProperties { /** Api Version */ @@ -6504,8 +6679,8 @@ export interface BgpServiceCommunitiesListQueryParam { queryParameters: BgpServiceCommunitiesListQueryParamProperties; } -export type BgpServiceCommunitiesListParameters = BgpServiceCommunitiesListQueryParam & - RequestParameters; +export type BgpServiceCommunitiesListParameters = + BgpServiceCommunitiesListQueryParam & RequestParameters; export interface ServiceEndpointPoliciesDeleteQueryParamProperties { /** Api Version */ @@ -6516,8 +6691,8 @@ export interface ServiceEndpointPoliciesDeleteQueryParam { queryParameters: ServiceEndpointPoliciesDeleteQueryParamProperties; } -export type ServiceEndpointPoliciesDeleteParameters = ServiceEndpointPoliciesDeleteQueryParam & - RequestParameters; +export type ServiceEndpointPoliciesDeleteParameters = + ServiceEndpointPoliciesDeleteQueryParam & RequestParameters; export interface ServiceEndpointPoliciesGetQueryParamProperties { /** Api Version */ @@ -6530,8 +6705,8 @@ export interface ServiceEndpointPoliciesGetQueryParam { queryParameters: ServiceEndpointPoliciesGetQueryParamProperties; } -export type ServiceEndpointPoliciesGetParameters = ServiceEndpointPoliciesGetQueryParam & - RequestParameters; +export type ServiceEndpointPoliciesGetParameters = + ServiceEndpointPoliciesGetQueryParam & RequestParameters; export interface ServiceEndpointPoliciesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update service endpoint policy operation. */ @@ -6592,8 +6767,8 @@ export interface ServiceEndpointPoliciesListQueryParam { queryParameters: ServiceEndpointPoliciesListQueryParamProperties; } -export type ServiceEndpointPoliciesListParameters = ServiceEndpointPoliciesListQueryParam & - RequestParameters; +export type ServiceEndpointPoliciesListParameters = + ServiceEndpointPoliciesListQueryParam & RequestParameters; export interface ServiceEndpointPoliciesListByResourceGroupQueryParamProperties { /** Api Version */ @@ -6666,7 +6841,8 @@ export interface ServiceEndpointPolicyDefinitionsListByResourceGroupQueryParam { } export type ServiceEndpointPolicyDefinitionsListByResourceGroupParameters = - ServiceEndpointPolicyDefinitionsListByResourceGroupQueryParam & RequestParameters; + ServiceEndpointPolicyDefinitionsListByResourceGroupQueryParam & + RequestParameters; export interface ServiceTagsListQueryParamProperties { /** Api Version */ @@ -6677,7 +6853,8 @@ export interface ServiceTagsListQueryParam { queryParameters: ServiceTagsListQueryParamProperties; } -export type ServiceTagsListParameters = ServiceTagsListQueryParam & RequestParameters; +export type ServiceTagsListParameters = ServiceTagsListQueryParam & + RequestParameters; export interface ServiceTagInformationListQueryParamProperties { /** Api Version */ @@ -6692,8 +6869,8 @@ export interface ServiceTagInformationListQueryParam { queryParameters: ServiceTagInformationListQueryParamProperties; } -export type ServiceTagInformationListParameters = ServiceTagInformationListQueryParam & - RequestParameters; +export type ServiceTagInformationListParameters = + ServiceTagInformationListQueryParam & RequestParameters; export interface UsagesListQueryParamProperties { /** Api Version */ @@ -6715,7 +6892,8 @@ export interface VirtualNetworksDeleteQueryParam { queryParameters: VirtualNetworksDeleteQueryParamProperties; } -export type VirtualNetworksDeleteParameters = VirtualNetworksDeleteQueryParam & RequestParameters; +export type VirtualNetworksDeleteParameters = VirtualNetworksDeleteQueryParam & + RequestParameters; export interface VirtualNetworksGetQueryParamProperties { /** Api Version */ @@ -6728,7 +6906,8 @@ export interface VirtualNetworksGetQueryParam { queryParameters: VirtualNetworksGetQueryParamProperties; } -export type VirtualNetworksGetParameters = VirtualNetworksGetQueryParam & RequestParameters; +export type VirtualNetworksGetParameters = VirtualNetworksGetQueryParam & + RequestParameters; export interface VirtualNetworksCreateOrUpdateBodyParam { /** Parameters supplied to the create or update virtual network operation. */ @@ -6749,10 +6928,11 @@ export interface VirtualNetworksCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VirtualNetworksCreateOrUpdateParameters = VirtualNetworksCreateOrUpdateQueryParam & - VirtualNetworksCreateOrUpdateMediaTypesParam & - VirtualNetworksCreateOrUpdateBodyParam & - RequestParameters; +export type VirtualNetworksCreateOrUpdateParameters = + VirtualNetworksCreateOrUpdateQueryParam & + VirtualNetworksCreateOrUpdateMediaTypesParam & + VirtualNetworksCreateOrUpdateBodyParam & + RequestParameters; export interface VirtualNetworksUpdateTagsBodyParam { /** Parameters supplied to update virtual network tags. */ @@ -6773,10 +6953,11 @@ export interface VirtualNetworksUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type VirtualNetworksUpdateTagsParameters = VirtualNetworksUpdateTagsQueryParam & - VirtualNetworksUpdateTagsMediaTypesParam & - VirtualNetworksUpdateTagsBodyParam & - RequestParameters; +export type VirtualNetworksUpdateTagsParameters = + VirtualNetworksUpdateTagsQueryParam & + VirtualNetworksUpdateTagsMediaTypesParam & + VirtualNetworksUpdateTagsBodyParam & + RequestParameters; export interface VirtualNetworksListAllQueryParamProperties { /** Api Version */ @@ -6787,7 +6968,8 @@ export interface VirtualNetworksListAllQueryParam { queryParameters: VirtualNetworksListAllQueryParamProperties; } -export type VirtualNetworksListAllParameters = VirtualNetworksListAllQueryParam & RequestParameters; +export type VirtualNetworksListAllParameters = + VirtualNetworksListAllQueryParam & RequestParameters; export interface VirtualNetworksListQueryParamProperties { /** Api Version */ @@ -6798,7 +6980,8 @@ export interface VirtualNetworksListQueryParam { queryParameters: VirtualNetworksListQueryParamProperties; } -export type VirtualNetworksListParameters = VirtualNetworksListQueryParam & RequestParameters; +export type VirtualNetworksListParameters = VirtualNetworksListQueryParam & + RequestParameters; export interface VirtualNetworksCheckIPAddressAvailabilityQueryParamProperties { /** The private IP address to be verified. */ @@ -6823,8 +7006,8 @@ export interface VirtualNetworksListUsageQueryParam { queryParameters: VirtualNetworksListUsageQueryParamProperties; } -export type VirtualNetworksListUsageParameters = VirtualNetworksListUsageQueryParam & - RequestParameters; +export type VirtualNetworksListUsageParameters = + VirtualNetworksListUsageQueryParam & RequestParameters; export interface VirtualNetworksListDdosProtectionStatusQueryParamProperties { /** The max number of ip addresses to return. */ @@ -6851,7 +7034,8 @@ export interface SubnetsDeleteQueryParam { queryParameters: SubnetsDeleteQueryParamProperties; } -export type SubnetsDeleteParameters = SubnetsDeleteQueryParam & RequestParameters; +export type SubnetsDeleteParameters = SubnetsDeleteQueryParam & + RequestParameters; export interface SubnetsGetQueryParamProperties { /** Api Version */ @@ -6909,10 +7093,11 @@ export interface SubnetsPrepareNetworkPoliciesMediaTypesParam { contentType?: "application/json"; } -export type SubnetsPrepareNetworkPoliciesParameters = SubnetsPrepareNetworkPoliciesQueryParam & - SubnetsPrepareNetworkPoliciesMediaTypesParam & - SubnetsPrepareNetworkPoliciesBodyParam & - RequestParameters; +export type SubnetsPrepareNetworkPoliciesParameters = + SubnetsPrepareNetworkPoliciesQueryParam & + SubnetsPrepareNetworkPoliciesMediaTypesParam & + SubnetsPrepareNetworkPoliciesBodyParam & + RequestParameters; export interface SubnetsUnprepareNetworkPoliciesBodyParam { /** Parameters supplied to unprepare subnet to remove network intent policies. */ @@ -6933,10 +7118,11 @@ export interface SubnetsUnprepareNetworkPoliciesMediaTypesParam { contentType?: "application/json"; } -export type SubnetsUnprepareNetworkPoliciesParameters = SubnetsUnprepareNetworkPoliciesQueryParam & - SubnetsUnprepareNetworkPoliciesMediaTypesParam & - SubnetsUnprepareNetworkPoliciesBodyParam & - RequestParameters; +export type SubnetsUnprepareNetworkPoliciesParameters = + SubnetsUnprepareNetworkPoliciesQueryParam & + SubnetsUnprepareNetworkPoliciesMediaTypesParam & + SubnetsUnprepareNetworkPoliciesBodyParam & + RequestParameters; export interface SubnetsListQueryParamProperties { /** Api Version */ @@ -6958,8 +7144,8 @@ export interface ResourceNavigationLinksListQueryParam { queryParameters: ResourceNavigationLinksListQueryParamProperties; } -export type ResourceNavigationLinksListParameters = ResourceNavigationLinksListQueryParam & - RequestParameters; +export type ResourceNavigationLinksListParameters = + ResourceNavigationLinksListQueryParam & RequestParameters; export interface ServiceAssociationLinksListQueryParamProperties { /** Api Version */ @@ -6970,8 +7156,8 @@ export interface ServiceAssociationLinksListQueryParam { queryParameters: ServiceAssociationLinksListQueryParamProperties; } -export type ServiceAssociationLinksListParameters = ServiceAssociationLinksListQueryParam & - RequestParameters; +export type ServiceAssociationLinksListParameters = + ServiceAssociationLinksListQueryParam & RequestParameters; export interface VirtualNetworkPeeringsDeleteQueryParamProperties { /** Api Version */ @@ -6982,8 +7168,8 @@ export interface VirtualNetworkPeeringsDeleteQueryParam { queryParameters: VirtualNetworkPeeringsDeleteQueryParamProperties; } -export type VirtualNetworkPeeringsDeleteParameters = VirtualNetworkPeeringsDeleteQueryParam & - RequestParameters; +export type VirtualNetworkPeeringsDeleteParameters = + VirtualNetworkPeeringsDeleteQueryParam & RequestParameters; export interface VirtualNetworkPeeringsGetQueryParamProperties { /** Api Version */ @@ -6994,8 +7180,8 @@ export interface VirtualNetworkPeeringsGetQueryParam { queryParameters: VirtualNetworkPeeringsGetQueryParamProperties; } -export type VirtualNetworkPeeringsGetParameters = VirtualNetworkPeeringsGetQueryParam & - RequestParameters; +export type VirtualNetworkPeeringsGetParameters = + VirtualNetworkPeeringsGetQueryParam & RequestParameters; export interface VirtualNetworkPeeringsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update virtual network peering operation. */ @@ -7033,8 +7219,8 @@ export interface VirtualNetworkPeeringsListQueryParam { queryParameters: VirtualNetworkPeeringsListQueryParamProperties; } -export type VirtualNetworkPeeringsListParameters = VirtualNetworkPeeringsListQueryParam & - RequestParameters; +export type VirtualNetworkPeeringsListParameters = + VirtualNetworkPeeringsListQueryParam & RequestParameters; export interface VirtualNetworkGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to create or update virtual network gateway operation. */ @@ -7070,8 +7256,8 @@ export interface VirtualNetworkGatewaysGetQueryParam { queryParameters: VirtualNetworkGatewaysGetQueryParamProperties; } -export type VirtualNetworkGatewaysGetParameters = VirtualNetworkGatewaysGetQueryParam & - RequestParameters; +export type VirtualNetworkGatewaysGetParameters = + VirtualNetworkGatewaysGetQueryParam & RequestParameters; export interface VirtualNetworkGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -7082,8 +7268,8 @@ export interface VirtualNetworkGatewaysDeleteQueryParam { queryParameters: VirtualNetworkGatewaysDeleteQueryParamProperties; } -export type VirtualNetworkGatewaysDeleteParameters = VirtualNetworkGatewaysDeleteQueryParam & - RequestParameters; +export type VirtualNetworkGatewaysDeleteParameters = + VirtualNetworkGatewaysDeleteQueryParam & RequestParameters; export interface VirtualNetworkGatewaysUpdateTagsBodyParam { /** Parameters supplied to update virtual network gateway tags. */ @@ -7119,8 +7305,8 @@ export interface VirtualNetworkGatewaysListQueryParam { queryParameters: VirtualNetworkGatewaysListQueryParamProperties; } -export type VirtualNetworkGatewaysListParameters = VirtualNetworkGatewaysListQueryParam & - RequestParameters; +export type VirtualNetworkGatewaysListParameters = + VirtualNetworkGatewaysListQueryParam & RequestParameters; export interface VirtualNetworkGatewaysListConnectionsQueryParamProperties { /** Api Version */ @@ -7145,8 +7331,8 @@ export interface VirtualNetworkGatewaysResetQueryParam { queryParameters: VirtualNetworkGatewaysResetQueryParamProperties; } -export type VirtualNetworkGatewaysResetParameters = VirtualNetworkGatewaysResetQueryParam & - RequestParameters; +export type VirtualNetworkGatewaysResetParameters = + VirtualNetworkGatewaysResetQueryParam & RequestParameters; export interface VirtualNetworkGatewaysResetVpnClientSharedKeyQueryParamProperties { /** Api Version */ @@ -7309,7 +7495,8 @@ export interface VirtualNetworkGatewaysGetVpnclientIpsecParametersQueryParam { } export type VirtualNetworkGatewaysGetVpnclientIpsecParametersParameters = - VirtualNetworkGatewaysGetVpnclientIpsecParametersQueryParam & RequestParameters; + VirtualNetworkGatewaysGetVpnclientIpsecParametersQueryParam & + RequestParameters; export interface VirtualNetworkGatewaysVpnDeviceConfigurationScriptBodyParam { /** Parameters supplied to the generate vpn device script operation. */ @@ -7396,7 +7583,8 @@ export interface VirtualNetworkGatewaysGetVpnclientConnectionHealthQueryParam { } export type VirtualNetworkGatewaysGetVpnclientConnectionHealthParameters = - VirtualNetworkGatewaysGetVpnclientConnectionHealthQueryParam & RequestParameters; + VirtualNetworkGatewaysGetVpnclientConnectionHealthQueryParam & + RequestParameters; export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsBodyParam { /** The parameters are supplied to disconnect vpn connections. */ @@ -7679,8 +7867,8 @@ export interface LocalNetworkGatewaysGetQueryParam { queryParameters: LocalNetworkGatewaysGetQueryParamProperties; } -export type LocalNetworkGatewaysGetParameters = LocalNetworkGatewaysGetQueryParam & - RequestParameters; +export type LocalNetworkGatewaysGetParameters = + LocalNetworkGatewaysGetQueryParam & RequestParameters; export interface LocalNetworkGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -7691,8 +7879,8 @@ export interface LocalNetworkGatewaysDeleteQueryParam { queryParameters: LocalNetworkGatewaysDeleteQueryParamProperties; } -export type LocalNetworkGatewaysDeleteParameters = LocalNetworkGatewaysDeleteQueryParam & - RequestParameters; +export type LocalNetworkGatewaysDeleteParameters = + LocalNetworkGatewaysDeleteQueryParam & RequestParameters; export interface LocalNetworkGatewaysUpdateTagsBodyParam { /** Parameters supplied to update local network gateway tags. */ @@ -7713,10 +7901,11 @@ export interface LocalNetworkGatewaysUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type LocalNetworkGatewaysUpdateTagsParameters = LocalNetworkGatewaysUpdateTagsQueryParam & - LocalNetworkGatewaysUpdateTagsMediaTypesParam & - LocalNetworkGatewaysUpdateTagsBodyParam & - RequestParameters; +export type LocalNetworkGatewaysUpdateTagsParameters = + LocalNetworkGatewaysUpdateTagsQueryParam & + LocalNetworkGatewaysUpdateTagsMediaTypesParam & + LocalNetworkGatewaysUpdateTagsBodyParam & + RequestParameters; export interface LocalNetworkGatewaysListQueryParamProperties { /** Api Version */ @@ -7727,8 +7916,8 @@ export interface LocalNetworkGatewaysListQueryParam { queryParameters: LocalNetworkGatewaysListQueryParamProperties; } -export type LocalNetworkGatewaysListParameters = LocalNetworkGatewaysListQueryParam & - RequestParameters; +export type LocalNetworkGatewaysListParameters = + LocalNetworkGatewaysListQueryParam & RequestParameters; export interface VirtualNetworkGatewayNatRulesGetQueryParamProperties { /** Api Version */ @@ -7789,7 +7978,8 @@ export interface VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayQueryPa } export type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayParameters = - VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayQueryParam & RequestParameters; + VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayQueryParam & + RequestParameters; export interface VirtualNetworkTapsDeleteQueryParamProperties { /** Api Version */ @@ -7800,8 +7990,8 @@ export interface VirtualNetworkTapsDeleteQueryParam { queryParameters: VirtualNetworkTapsDeleteQueryParamProperties; } -export type VirtualNetworkTapsDeleteParameters = VirtualNetworkTapsDeleteQueryParam & - RequestParameters; +export type VirtualNetworkTapsDeleteParameters = + VirtualNetworkTapsDeleteQueryParam & RequestParameters; export interface VirtualNetworkTapsGetQueryParamProperties { /** Api Version */ @@ -7812,7 +8002,8 @@ export interface VirtualNetworkTapsGetQueryParam { queryParameters: VirtualNetworkTapsGetQueryParamProperties; } -export type VirtualNetworkTapsGetParameters = VirtualNetworkTapsGetQueryParam & RequestParameters; +export type VirtualNetworkTapsGetParameters = VirtualNetworkTapsGetQueryParam & + RequestParameters; export interface VirtualNetworkTapsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update virtual network tap operation. */ @@ -7858,10 +8049,11 @@ export interface VirtualNetworkTapsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type VirtualNetworkTapsUpdateTagsParameters = VirtualNetworkTapsUpdateTagsQueryParam & - VirtualNetworkTapsUpdateTagsMediaTypesParam & - VirtualNetworkTapsUpdateTagsBodyParam & - RequestParameters; +export type VirtualNetworkTapsUpdateTagsParameters = + VirtualNetworkTapsUpdateTagsQueryParam & + VirtualNetworkTapsUpdateTagsMediaTypesParam & + VirtualNetworkTapsUpdateTagsBodyParam & + RequestParameters; export interface VirtualNetworkTapsListAllQueryParamProperties { /** Api Version */ @@ -7872,8 +8064,8 @@ export interface VirtualNetworkTapsListAllQueryParam { queryParameters: VirtualNetworkTapsListAllQueryParamProperties; } -export type VirtualNetworkTapsListAllParameters = VirtualNetworkTapsListAllQueryParam & - RequestParameters; +export type VirtualNetworkTapsListAllParameters = + VirtualNetworkTapsListAllQueryParam & RequestParameters; export interface VirtualNetworkTapsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -7896,7 +8088,8 @@ export interface VirtualRoutersDeleteQueryParam { queryParameters: VirtualRoutersDeleteQueryParamProperties; } -export type VirtualRoutersDeleteParameters = VirtualRoutersDeleteQueryParam & RequestParameters; +export type VirtualRoutersDeleteParameters = VirtualRoutersDeleteQueryParam & + RequestParameters; export interface VirtualRoutersGetQueryParamProperties { /** Api Version */ @@ -7909,7 +8102,8 @@ export interface VirtualRoutersGetQueryParam { queryParameters: VirtualRoutersGetQueryParamProperties; } -export type VirtualRoutersGetParameters = VirtualRoutersGetQueryParam & RequestParameters; +export type VirtualRoutersGetParameters = VirtualRoutersGetQueryParam & + RequestParameters; export interface VirtualRoutersCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Virtual Router. */ @@ -7930,10 +8124,11 @@ export interface VirtualRoutersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VirtualRoutersCreateOrUpdateParameters = VirtualRoutersCreateOrUpdateQueryParam & - VirtualRoutersCreateOrUpdateMediaTypesParam & - VirtualRoutersCreateOrUpdateBodyParam & - RequestParameters; +export type VirtualRoutersCreateOrUpdateParameters = + VirtualRoutersCreateOrUpdateQueryParam & + VirtualRoutersCreateOrUpdateMediaTypesParam & + VirtualRoutersCreateOrUpdateBodyParam & + RequestParameters; export interface VirtualRoutersListByResourceGroupQueryParamProperties { /** Api Version */ @@ -7956,7 +8151,8 @@ export interface VirtualRoutersListQueryParam { queryParameters: VirtualRoutersListQueryParamProperties; } -export type VirtualRoutersListParameters = VirtualRoutersListQueryParam & RequestParameters; +export type VirtualRoutersListParameters = VirtualRoutersListQueryParam & + RequestParameters; export interface VirtualRouterPeeringsDeleteQueryParamProperties { /** Api Version */ @@ -7967,8 +8163,8 @@ export interface VirtualRouterPeeringsDeleteQueryParam { queryParameters: VirtualRouterPeeringsDeleteQueryParamProperties; } -export type VirtualRouterPeeringsDeleteParameters = VirtualRouterPeeringsDeleteQueryParam & - RequestParameters; +export type VirtualRouterPeeringsDeleteParameters = + VirtualRouterPeeringsDeleteQueryParam & RequestParameters; export interface VirtualRouterPeeringsGetQueryParamProperties { /** Api Version */ @@ -7979,8 +8175,8 @@ export interface VirtualRouterPeeringsGetQueryParam { queryParameters: VirtualRouterPeeringsGetQueryParamProperties; } -export type VirtualRouterPeeringsGetParameters = VirtualRouterPeeringsGetQueryParam & - RequestParameters; +export type VirtualRouterPeeringsGetParameters = + VirtualRouterPeeringsGetQueryParam & RequestParameters; export interface VirtualRouterPeeringsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Virtual Router Peering operation. */ @@ -8016,8 +8212,8 @@ export interface VirtualRouterPeeringsListQueryParam { queryParameters: VirtualRouterPeeringsListQueryParamProperties; } -export type VirtualRouterPeeringsListParameters = VirtualRouterPeeringsListQueryParam & - RequestParameters; +export type VirtualRouterPeeringsListParameters = + VirtualRouterPeeringsListQueryParam & RequestParameters; export interface VirtualWansGetQueryParamProperties { /** Api Version */ @@ -8028,7 +8224,8 @@ export interface VirtualWansGetQueryParam { queryParameters: VirtualWansGetQueryParamProperties; } -export type VirtualWansGetParameters = VirtualWansGetQueryParam & RequestParameters; +export type VirtualWansGetParameters = VirtualWansGetQueryParam & + RequestParameters; export interface VirtualWansCreateOrUpdateBodyParam { /** Parameters supplied to create or update VirtualWAN. */ @@ -8049,10 +8246,11 @@ export interface VirtualWansCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VirtualWansCreateOrUpdateParameters = VirtualWansCreateOrUpdateQueryParam & - VirtualWansCreateOrUpdateMediaTypesParam & - VirtualWansCreateOrUpdateBodyParam & - RequestParameters; +export type VirtualWansCreateOrUpdateParameters = + VirtualWansCreateOrUpdateQueryParam & + VirtualWansCreateOrUpdateMediaTypesParam & + VirtualWansCreateOrUpdateBodyParam & + RequestParameters; export interface VirtualWansUpdateTagsBodyParam { /** Parameters supplied to Update VirtualWAN tags. */ @@ -8087,7 +8285,8 @@ export interface VirtualWansDeleteQueryParam { queryParameters: VirtualWansDeleteQueryParamProperties; } -export type VirtualWansDeleteParameters = VirtualWansDeleteQueryParam & RequestParameters; +export type VirtualWansDeleteParameters = VirtualWansDeleteQueryParam & + RequestParameters; export interface VirtualWansListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8098,8 +8297,8 @@ export interface VirtualWansListByResourceGroupQueryParam { queryParameters: VirtualWansListByResourceGroupQueryParamProperties; } -export type VirtualWansListByResourceGroupParameters = VirtualWansListByResourceGroupQueryParam & - RequestParameters; +export type VirtualWansListByResourceGroupParameters = + VirtualWansListByResourceGroupQueryParam & RequestParameters; export interface VirtualWansListQueryParamProperties { /** Api Version */ @@ -8110,7 +8309,8 @@ export interface VirtualWansListQueryParam { queryParameters: VirtualWansListQueryParamProperties; } -export type VirtualWansListParameters = VirtualWansListQueryParam & RequestParameters; +export type VirtualWansListParameters = VirtualWansListQueryParam & + RequestParameters; export interface VpnSitesGetQueryParamProperties { /** Api Version */ @@ -8142,10 +8342,11 @@ export interface VpnSitesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VpnSitesCreateOrUpdateParameters = VpnSitesCreateOrUpdateQueryParam & - VpnSitesCreateOrUpdateMediaTypesParam & - VpnSitesCreateOrUpdateBodyParam & - RequestParameters; +export type VpnSitesCreateOrUpdateParameters = + VpnSitesCreateOrUpdateQueryParam & + VpnSitesCreateOrUpdateMediaTypesParam & + VpnSitesCreateOrUpdateBodyParam & + RequestParameters; export interface VpnSitesUpdateTagsBodyParam { /** Parameters supplied to update VpnSite tags. */ @@ -8180,7 +8381,8 @@ export interface VpnSitesDeleteQueryParam { queryParameters: VpnSitesDeleteQueryParamProperties; } -export type VpnSitesDeleteParameters = VpnSitesDeleteQueryParam & RequestParameters; +export type VpnSitesDeleteParameters = VpnSitesDeleteQueryParam & + RequestParameters; export interface VpnSitesListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8191,8 +8393,8 @@ export interface VpnSitesListByResourceGroupQueryParam { queryParameters: VpnSitesListByResourceGroupQueryParamProperties; } -export type VpnSitesListByResourceGroupParameters = VpnSitesListByResourceGroupQueryParam & - RequestParameters; +export type VpnSitesListByResourceGroupParameters = + VpnSitesListByResourceGroupQueryParam & RequestParameters; export interface VpnSitesListQueryParamProperties { /** Api Version */ @@ -8214,7 +8416,8 @@ export interface VpnSiteLinksGetQueryParam { queryParameters: VpnSiteLinksGetQueryParamProperties; } -export type VpnSiteLinksGetParameters = VpnSiteLinksGetQueryParam & RequestParameters; +export type VpnSiteLinksGetParameters = VpnSiteLinksGetQueryParam & + RequestParameters; export interface VpnSiteLinksListByVpnSiteQueryParamProperties { /** Api Version */ @@ -8225,8 +8428,8 @@ export interface VpnSiteLinksListByVpnSiteQueryParam { queryParameters: VpnSiteLinksListByVpnSiteQueryParamProperties; } -export type VpnSiteLinksListByVpnSiteParameters = VpnSiteLinksListByVpnSiteQueryParam & - RequestParameters; +export type VpnSiteLinksListByVpnSiteParameters = + VpnSiteLinksListByVpnSiteQueryParam & RequestParameters; export interface VpnSitesConfigurationDownloadBodyParam { /** Parameters supplied to download vpn-sites configuration. */ @@ -8247,10 +8450,11 @@ export interface VpnSitesConfigurationDownloadMediaTypesParam { contentType?: "application/json"; } -export type VpnSitesConfigurationDownloadParameters = VpnSitesConfigurationDownloadQueryParam & - VpnSitesConfigurationDownloadMediaTypesParam & - VpnSitesConfigurationDownloadBodyParam & - RequestParameters; +export type VpnSitesConfigurationDownloadParameters = + VpnSitesConfigurationDownloadQueryParam & + VpnSitesConfigurationDownloadMediaTypesParam & + VpnSitesConfigurationDownloadBodyParam & + RequestParameters; export interface VpnServerConfigurationsGetQueryParamProperties { /** Api Version */ @@ -8261,8 +8465,8 @@ export interface VpnServerConfigurationsGetQueryParam { queryParameters: VpnServerConfigurationsGetQueryParamProperties; } -export type VpnServerConfigurationsGetParameters = VpnServerConfigurationsGetQueryParam & - RequestParameters; +export type VpnServerConfigurationsGetParameters = + VpnServerConfigurationsGetQueryParam & RequestParameters; export interface VpnServerConfigurationsCreateOrUpdateBodyParam { /** Parameters supplied to create or update VpnServerConfiguration. */ @@ -8323,8 +8527,8 @@ export interface VpnServerConfigurationsDeleteQueryParam { queryParameters: VpnServerConfigurationsDeleteQueryParamProperties; } -export type VpnServerConfigurationsDeleteParameters = VpnServerConfigurationsDeleteQueryParam & - RequestParameters; +export type VpnServerConfigurationsDeleteParameters = + VpnServerConfigurationsDeleteQueryParam & RequestParameters; export interface VpnServerConfigurationsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8347,8 +8551,8 @@ export interface VpnServerConfigurationsListQueryParam { queryParameters: VpnServerConfigurationsListQueryParamProperties; } -export type VpnServerConfigurationsListParameters = VpnServerConfigurationsListQueryParam & - RequestParameters; +export type VpnServerConfigurationsListParameters = + VpnServerConfigurationsListQueryParam & RequestParameters; export interface ConfigurationPolicyGroupsCreateOrUpdateBodyParam { /** Parameters supplied to create or update a VpnServerConfiguration PolicyGroup. */ @@ -8384,8 +8588,8 @@ export interface ConfigurationPolicyGroupsDeleteQueryParam { queryParameters: ConfigurationPolicyGroupsDeleteQueryParamProperties; } -export type ConfigurationPolicyGroupsDeleteParameters = ConfigurationPolicyGroupsDeleteQueryParam & - RequestParameters; +export type ConfigurationPolicyGroupsDeleteParameters = + ConfigurationPolicyGroupsDeleteQueryParam & RequestParameters; export interface ConfigurationPolicyGroupsGetQueryParamProperties { /** Api Version */ @@ -8396,8 +8600,8 @@ export interface ConfigurationPolicyGroupsGetQueryParam { queryParameters: ConfigurationPolicyGroupsGetQueryParamProperties; } -export type ConfigurationPolicyGroupsGetParameters = ConfigurationPolicyGroupsGetQueryParam & - RequestParameters; +export type ConfigurationPolicyGroupsGetParameters = + ConfigurationPolicyGroupsGetQueryParam & RequestParameters; export interface ConfigurationPolicyGroupsListByVpnServerConfigurationQueryParamProperties { /** Api Version */ @@ -8409,7 +8613,8 @@ export interface ConfigurationPolicyGroupsListByVpnServerConfigurationQueryParam } export type ConfigurationPolicyGroupsListByVpnServerConfigurationParameters = - ConfigurationPolicyGroupsListByVpnServerConfigurationQueryParam & RequestParameters; + ConfigurationPolicyGroupsListByVpnServerConfigurationQueryParam & + RequestParameters; export interface VirtualHubsGetQueryParamProperties { /** Api Version */ @@ -8420,7 +8625,8 @@ export interface VirtualHubsGetQueryParam { queryParameters: VirtualHubsGetQueryParamProperties; } -export type VirtualHubsGetParameters = VirtualHubsGetQueryParam & RequestParameters; +export type VirtualHubsGetParameters = VirtualHubsGetQueryParam & + RequestParameters; export interface VirtualHubsCreateOrUpdateBodyParam { /** Parameters supplied to create or update VirtualHub. */ @@ -8441,10 +8647,11 @@ export interface VirtualHubsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VirtualHubsCreateOrUpdateParameters = VirtualHubsCreateOrUpdateQueryParam & - VirtualHubsCreateOrUpdateMediaTypesParam & - VirtualHubsCreateOrUpdateBodyParam & - RequestParameters; +export type VirtualHubsCreateOrUpdateParameters = + VirtualHubsCreateOrUpdateQueryParam & + VirtualHubsCreateOrUpdateMediaTypesParam & + VirtualHubsCreateOrUpdateBodyParam & + RequestParameters; export interface VirtualHubsUpdateTagsBodyParam { /** Parameters supplied to update VirtualHub tags. */ @@ -8479,7 +8686,8 @@ export interface VirtualHubsDeleteQueryParam { queryParameters: VirtualHubsDeleteQueryParamProperties; } -export type VirtualHubsDeleteParameters = VirtualHubsDeleteQueryParam & RequestParameters; +export type VirtualHubsDeleteParameters = VirtualHubsDeleteQueryParam & + RequestParameters; export interface VirtualHubsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8490,8 +8698,8 @@ export interface VirtualHubsListByResourceGroupQueryParam { queryParameters: VirtualHubsListByResourceGroupQueryParamProperties; } -export type VirtualHubsListByResourceGroupParameters = VirtualHubsListByResourceGroupQueryParam & - RequestParameters; +export type VirtualHubsListByResourceGroupParameters = + VirtualHubsListByResourceGroupQueryParam & RequestParameters; export interface VirtualHubsListQueryParamProperties { /** Api Version */ @@ -8502,7 +8710,8 @@ export interface VirtualHubsListQueryParam { queryParameters: VirtualHubsListQueryParamProperties; } -export type VirtualHubsListParameters = VirtualHubsListQueryParam & RequestParameters; +export type VirtualHubsListParameters = VirtualHubsListQueryParam & + RequestParameters; export interface VirtualHubsGetEffectiveVirtualHubRoutesBodyParam { /** Parameters supplied to get the effective routes for a specific resource. */ @@ -8548,10 +8757,11 @@ export interface VirtualHubsGetInboundRoutesMediaTypesParam { contentType?: "application/json"; } -export type VirtualHubsGetInboundRoutesParameters = VirtualHubsGetInboundRoutesQueryParam & - VirtualHubsGetInboundRoutesMediaTypesParam & - VirtualHubsGetInboundRoutesBodyParam & - RequestParameters; +export type VirtualHubsGetInboundRoutesParameters = + VirtualHubsGetInboundRoutesQueryParam & + VirtualHubsGetInboundRoutesMediaTypesParam & + VirtualHubsGetInboundRoutesBodyParam & + RequestParameters; export interface VirtualHubsGetOutboundRoutesBodyParam { /** Parameters supplied to get the outbound routes for a connection resource. */ @@ -8572,10 +8782,11 @@ export interface VirtualHubsGetOutboundRoutesMediaTypesParam { contentType?: "application/json"; } -export type VirtualHubsGetOutboundRoutesParameters = VirtualHubsGetOutboundRoutesQueryParam & - VirtualHubsGetOutboundRoutesMediaTypesParam & - VirtualHubsGetOutboundRoutesBodyParam & - RequestParameters; +export type VirtualHubsGetOutboundRoutesParameters = + VirtualHubsGetOutboundRoutesQueryParam & + VirtualHubsGetOutboundRoutesMediaTypesParam & + VirtualHubsGetOutboundRoutesBodyParam & + RequestParameters; export interface RouteMapsGetQueryParamProperties { /** Api Version */ @@ -8607,10 +8818,11 @@ export interface RouteMapsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RouteMapsCreateOrUpdateParameters = RouteMapsCreateOrUpdateQueryParam & - RouteMapsCreateOrUpdateMediaTypesParam & - RouteMapsCreateOrUpdateBodyParam & - RequestParameters; +export type RouteMapsCreateOrUpdateParameters = + RouteMapsCreateOrUpdateQueryParam & + RouteMapsCreateOrUpdateMediaTypesParam & + RouteMapsCreateOrUpdateBodyParam & + RequestParameters; export interface RouteMapsDeleteQueryParamProperties { /** Api Version */ @@ -8621,7 +8833,8 @@ export interface RouteMapsDeleteQueryParam { queryParameters: RouteMapsDeleteQueryParamProperties; } -export type RouteMapsDeleteParameters = RouteMapsDeleteQueryParam & RequestParameters; +export type RouteMapsDeleteParameters = RouteMapsDeleteQueryParam & + RequestParameters; export interface RouteMapsListQueryParamProperties { /** Api Version */ @@ -8632,7 +8845,8 @@ export interface RouteMapsListQueryParam { queryParameters: RouteMapsListQueryParamProperties; } -export type RouteMapsListParameters = RouteMapsListQueryParam & RequestParameters; +export type RouteMapsListParameters = RouteMapsListQueryParam & + RequestParameters; export interface HubVirtualNetworkConnectionsCreateOrUpdateBodyParam { /** Parameters supplied to create or update a hub virtual network connection. */ @@ -8680,8 +8894,8 @@ export interface HubVirtualNetworkConnectionsGetQueryParam { queryParameters: HubVirtualNetworkConnectionsGetQueryParamProperties; } -export type HubVirtualNetworkConnectionsGetParameters = HubVirtualNetworkConnectionsGetQueryParam & - RequestParameters; +export type HubVirtualNetworkConnectionsGetParameters = + HubVirtualNetworkConnectionsGetQueryParam & RequestParameters; export interface HubVirtualNetworkConnectionsListQueryParamProperties { /** Api Version */ @@ -8704,7 +8918,8 @@ export interface VpnGatewaysGetQueryParam { queryParameters: VpnGatewaysGetQueryParamProperties; } -export type VpnGatewaysGetParameters = VpnGatewaysGetQueryParam & RequestParameters; +export type VpnGatewaysGetParameters = VpnGatewaysGetQueryParam & + RequestParameters; export interface VpnGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to create or Update a virtual wan vpn gateway. */ @@ -8725,10 +8940,11 @@ export interface VpnGatewaysCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VpnGatewaysCreateOrUpdateParameters = VpnGatewaysCreateOrUpdateQueryParam & - VpnGatewaysCreateOrUpdateMediaTypesParam & - VpnGatewaysCreateOrUpdateBodyParam & - RequestParameters; +export type VpnGatewaysCreateOrUpdateParameters = + VpnGatewaysCreateOrUpdateQueryParam & + VpnGatewaysCreateOrUpdateMediaTypesParam & + VpnGatewaysCreateOrUpdateBodyParam & + RequestParameters; export interface VpnGatewaysUpdateTagsBodyParam { /** Parameters supplied to update a virtual wan vpn gateway tags. */ @@ -8763,7 +8979,8 @@ export interface VpnGatewaysDeleteQueryParam { queryParameters: VpnGatewaysDeleteQueryParamProperties; } -export type VpnGatewaysDeleteParameters = VpnGatewaysDeleteQueryParam & RequestParameters; +export type VpnGatewaysDeleteParameters = VpnGatewaysDeleteQueryParam & + RequestParameters; export interface VpnGatewaysResetQueryParamProperties { /** Api Version */ @@ -8774,7 +8991,8 @@ export interface VpnGatewaysResetQueryParam { queryParameters: VpnGatewaysResetQueryParamProperties; } -export type VpnGatewaysResetParameters = VpnGatewaysResetQueryParam & RequestParameters; +export type VpnGatewaysResetParameters = VpnGatewaysResetQueryParam & + RequestParameters; export interface VpnGatewaysStartPacketCaptureBodyParam { /** Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. */ @@ -8795,10 +9013,11 @@ export interface VpnGatewaysStartPacketCaptureMediaTypesParam { contentType?: "application/json"; } -export type VpnGatewaysStartPacketCaptureParameters = VpnGatewaysStartPacketCaptureQueryParam & - VpnGatewaysStartPacketCaptureMediaTypesParam & - VpnGatewaysStartPacketCaptureBodyParam & - RequestParameters; +export type VpnGatewaysStartPacketCaptureParameters = + VpnGatewaysStartPacketCaptureQueryParam & + VpnGatewaysStartPacketCaptureMediaTypesParam & + VpnGatewaysStartPacketCaptureBodyParam & + RequestParameters; export interface VpnGatewaysStopPacketCaptureBodyParam { /** Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. */ @@ -8819,10 +9038,11 @@ export interface VpnGatewaysStopPacketCaptureMediaTypesParam { contentType?: "application/json"; } -export type VpnGatewaysStopPacketCaptureParameters = VpnGatewaysStopPacketCaptureQueryParam & - VpnGatewaysStopPacketCaptureMediaTypesParam & - VpnGatewaysStopPacketCaptureBodyParam & - RequestParameters; +export type VpnGatewaysStopPacketCaptureParameters = + VpnGatewaysStopPacketCaptureQueryParam & + VpnGatewaysStopPacketCaptureMediaTypesParam & + VpnGatewaysStopPacketCaptureBodyParam & + RequestParameters; export interface VpnGatewaysListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8833,8 +9053,8 @@ export interface VpnGatewaysListByResourceGroupQueryParam { queryParameters: VpnGatewaysListByResourceGroupQueryParamProperties; } -export type VpnGatewaysListByResourceGroupParameters = VpnGatewaysListByResourceGroupQueryParam & - RequestParameters; +export type VpnGatewaysListByResourceGroupParameters = + VpnGatewaysListByResourceGroupQueryParam & RequestParameters; export interface VpnGatewaysListQueryParamProperties { /** Api Version */ @@ -8845,7 +9065,8 @@ export interface VpnGatewaysListQueryParam { queryParameters: VpnGatewaysListQueryParamProperties; } -export type VpnGatewaysListParameters = VpnGatewaysListQueryParam & RequestParameters; +export type VpnGatewaysListParameters = VpnGatewaysListQueryParam & + RequestParameters; export interface VpnLinkConnectionsResetConnectionQueryParamProperties { /** Api Version */ @@ -8868,8 +9089,8 @@ export interface VpnLinkConnectionsGetIkeSasQueryParam { queryParameters: VpnLinkConnectionsGetIkeSasQueryParamProperties; } -export type VpnLinkConnectionsGetIkeSasParameters = VpnLinkConnectionsGetIkeSasQueryParam & - RequestParameters; +export type VpnLinkConnectionsGetIkeSasParameters = + VpnLinkConnectionsGetIkeSasQueryParam & RequestParameters; export interface VpnLinkConnectionsListByVpnConnectionQueryParamProperties { /** Api Version */ @@ -8892,7 +9113,8 @@ export interface VpnConnectionsGetQueryParam { queryParameters: VpnConnectionsGetQueryParamProperties; } -export type VpnConnectionsGetParameters = VpnConnectionsGetQueryParam & RequestParameters; +export type VpnConnectionsGetParameters = VpnConnectionsGetQueryParam & + RequestParameters; export interface VpnConnectionsCreateOrUpdateBodyParam { /** Parameters supplied to create or Update a VPN Connection. */ @@ -8913,10 +9135,11 @@ export interface VpnConnectionsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VpnConnectionsCreateOrUpdateParameters = VpnConnectionsCreateOrUpdateQueryParam & - VpnConnectionsCreateOrUpdateMediaTypesParam & - VpnConnectionsCreateOrUpdateBodyParam & - RequestParameters; +export type VpnConnectionsCreateOrUpdateParameters = + VpnConnectionsCreateOrUpdateQueryParam & + VpnConnectionsCreateOrUpdateMediaTypesParam & + VpnConnectionsCreateOrUpdateBodyParam & + RequestParameters; export interface VpnConnectionsDeleteQueryParamProperties { /** Api Version */ @@ -8927,7 +9150,8 @@ export interface VpnConnectionsDeleteQueryParam { queryParameters: VpnConnectionsDeleteQueryParamProperties; } -export type VpnConnectionsDeleteParameters = VpnConnectionsDeleteQueryParam & RequestParameters; +export type VpnConnectionsDeleteParameters = VpnConnectionsDeleteQueryParam & + RequestParameters; export interface VpnConnectionsStartPacketCaptureBodyParam { /** Vpn Connection packet capture parameters supplied to start packet capture on gateway connection. */ @@ -8973,10 +9197,11 @@ export interface VpnConnectionsStopPacketCaptureMediaTypesParam { contentType?: "application/json"; } -export type VpnConnectionsStopPacketCaptureParameters = VpnConnectionsStopPacketCaptureQueryParam & - VpnConnectionsStopPacketCaptureMediaTypesParam & - VpnConnectionsStopPacketCaptureBodyParam & - RequestParameters; +export type VpnConnectionsStopPacketCaptureParameters = + VpnConnectionsStopPacketCaptureQueryParam & + VpnConnectionsStopPacketCaptureMediaTypesParam & + VpnConnectionsStopPacketCaptureBodyParam & + RequestParameters; export interface VpnConnectionsListByVpnGatewayQueryParamProperties { /** Api Version */ @@ -8987,8 +9212,8 @@ export interface VpnConnectionsListByVpnGatewayQueryParam { queryParameters: VpnConnectionsListByVpnGatewayQueryParamProperties; } -export type VpnConnectionsListByVpnGatewayParameters = VpnConnectionsListByVpnGatewayQueryParam & - RequestParameters; +export type VpnConnectionsListByVpnGatewayParameters = + VpnConnectionsListByVpnGatewayQueryParam & RequestParameters; export interface VpnSiteLinkConnectionsGetQueryParamProperties { /** Api Version */ @@ -8999,8 +9224,8 @@ export interface VpnSiteLinkConnectionsGetQueryParam { queryParameters: VpnSiteLinkConnectionsGetQueryParamProperties; } -export type VpnSiteLinkConnectionsGetParameters = VpnSiteLinkConnectionsGetQueryParam & - RequestParameters; +export type VpnSiteLinkConnectionsGetParameters = + VpnSiteLinkConnectionsGetQueryParam & RequestParameters; export interface NatRulesGetQueryParamProperties { /** Api Version */ @@ -9032,10 +9257,11 @@ export interface NatRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NatRulesCreateOrUpdateParameters = NatRulesCreateOrUpdateQueryParam & - NatRulesCreateOrUpdateMediaTypesParam & - NatRulesCreateOrUpdateBodyParam & - RequestParameters; +export type NatRulesCreateOrUpdateParameters = + NatRulesCreateOrUpdateQueryParam & + NatRulesCreateOrUpdateMediaTypesParam & + NatRulesCreateOrUpdateBodyParam & + RequestParameters; export interface NatRulesDeleteQueryParamProperties { /** Api Version */ @@ -9046,7 +9272,8 @@ export interface NatRulesDeleteQueryParam { queryParameters: NatRulesDeleteQueryParamProperties; } -export type NatRulesDeleteParameters = NatRulesDeleteQueryParam & RequestParameters; +export type NatRulesDeleteParameters = NatRulesDeleteQueryParam & + RequestParameters; export interface NatRulesListByVpnGatewayQueryParamProperties { /** Api Version */ @@ -9057,8 +9284,8 @@ export interface NatRulesListByVpnGatewayQueryParam { queryParameters: NatRulesListByVpnGatewayQueryParamProperties; } -export type NatRulesListByVpnGatewayParameters = NatRulesListByVpnGatewayQueryParam & - RequestParameters; +export type NatRulesListByVpnGatewayParameters = + NatRulesListByVpnGatewayQueryParam & RequestParameters; export interface P2SVpnGatewaysGetQueryParamProperties { /** Api Version */ @@ -9069,7 +9296,8 @@ export interface P2SVpnGatewaysGetQueryParam { queryParameters: P2SVpnGatewaysGetQueryParamProperties; } -export type P2SVpnGatewaysGetParameters = P2SVpnGatewaysGetQueryParam & RequestParameters; +export type P2SVpnGatewaysGetParameters = P2SVpnGatewaysGetQueryParam & + RequestParameters; export interface P2SVpnGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to create or Update a virtual wan p2s vpn gateway. */ @@ -9090,10 +9318,11 @@ export interface P2SVpnGatewaysCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type P2SVpnGatewaysCreateOrUpdateParameters = P2SVpnGatewaysCreateOrUpdateQueryParam & - P2SVpnGatewaysCreateOrUpdateMediaTypesParam & - P2SVpnGatewaysCreateOrUpdateBodyParam & - RequestParameters; +export type P2SVpnGatewaysCreateOrUpdateParameters = + P2SVpnGatewaysCreateOrUpdateQueryParam & + P2SVpnGatewaysCreateOrUpdateMediaTypesParam & + P2SVpnGatewaysCreateOrUpdateBodyParam & + RequestParameters; export interface P2SVpnGatewaysUpdateTagsBodyParam { /** Parameters supplied to update a virtual wan p2s vpn gateway tags. */ @@ -9114,10 +9343,11 @@ export interface P2SVpnGatewaysUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type P2SVpnGatewaysUpdateTagsParameters = P2SVpnGatewaysUpdateTagsQueryParam & - P2SVpnGatewaysUpdateTagsMediaTypesParam & - P2SVpnGatewaysUpdateTagsBodyParam & - RequestParameters; +export type P2SVpnGatewaysUpdateTagsParameters = + P2SVpnGatewaysUpdateTagsQueryParam & + P2SVpnGatewaysUpdateTagsMediaTypesParam & + P2SVpnGatewaysUpdateTagsBodyParam & + RequestParameters; export interface P2SVpnGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -9128,7 +9358,8 @@ export interface P2SVpnGatewaysDeleteQueryParam { queryParameters: P2SVpnGatewaysDeleteQueryParamProperties; } -export type P2SVpnGatewaysDeleteParameters = P2SVpnGatewaysDeleteQueryParam & RequestParameters; +export type P2SVpnGatewaysDeleteParameters = P2SVpnGatewaysDeleteQueryParam & + RequestParameters; export interface P2SVpnGatewaysListByResourceGroupQueryParamProperties { /** Api Version */ @@ -9151,7 +9382,8 @@ export interface P2SVpnGatewaysListQueryParam { queryParameters: P2SVpnGatewaysListQueryParamProperties; } -export type P2SVpnGatewaysListParameters = P2SVpnGatewaysListQueryParam & RequestParameters; +export type P2SVpnGatewaysListParameters = P2SVpnGatewaysListQueryParam & + RequestParameters; export interface P2SVpnGatewaysResetQueryParamProperties { /** Api Version */ @@ -9162,7 +9394,8 @@ export interface P2SVpnGatewaysResetQueryParam { queryParameters: P2SVpnGatewaysResetQueryParamProperties; } -export type P2SVpnGatewaysResetParameters = P2SVpnGatewaysResetQueryParam & RequestParameters; +export type P2SVpnGatewaysResetParameters = P2SVpnGatewaysResetQueryParam & + RequestParameters; export interface P2SVpnGatewaysGenerateVpnProfileBodyParam { /** Parameters supplied to the generate P2SVpnGateway VPN client package operation. */ @@ -9261,7 +9494,8 @@ export interface VpnServerConfigurationsAssociatedWithVirtualWanListQueryParam { } export type VpnServerConfigurationsAssociatedWithVirtualWanListParameters = - VpnServerConfigurationsAssociatedWithVirtualWanListQueryParam & RequestParameters; + VpnServerConfigurationsAssociatedWithVirtualWanListQueryParam & + RequestParameters; export interface VirtualHubRouteTableV2SGetQueryParamProperties { /** Api Version */ @@ -9272,8 +9506,8 @@ export interface VirtualHubRouteTableV2SGetQueryParam { queryParameters: VirtualHubRouteTableV2SGetQueryParamProperties; } -export type VirtualHubRouteTableV2SGetParameters = VirtualHubRouteTableV2SGetQueryParam & - RequestParameters; +export type VirtualHubRouteTableV2SGetParameters = + VirtualHubRouteTableV2SGetQueryParam & RequestParameters; export interface VirtualHubRouteTableV2SCreateOrUpdateBodyParam { /** Parameters supplied to create or update VirtualHubRouteTableV2. */ @@ -9309,8 +9543,8 @@ export interface VirtualHubRouteTableV2SDeleteQueryParam { queryParameters: VirtualHubRouteTableV2SDeleteQueryParamProperties; } -export type VirtualHubRouteTableV2SDeleteParameters = VirtualHubRouteTableV2SDeleteQueryParam & - RequestParameters; +export type VirtualHubRouteTableV2SDeleteParameters = + VirtualHubRouteTableV2SDeleteQueryParam & RequestParameters; export interface VirtualHubRouteTableV2SListQueryParamProperties { /** Api Version */ @@ -9321,8 +9555,8 @@ export interface VirtualHubRouteTableV2SListQueryParam { queryParameters: VirtualHubRouteTableV2SListQueryParamProperties; } -export type VirtualHubRouteTableV2SListParameters = VirtualHubRouteTableV2SListQueryParam & - RequestParameters; +export type VirtualHubRouteTableV2SListParameters = + VirtualHubRouteTableV2SListQueryParam & RequestParameters; export interface ExpressRouteGatewaysListBySubscriptionQueryParamProperties { /** Api Version */ @@ -9392,10 +9626,11 @@ export interface ExpressRouteGatewaysUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ExpressRouteGatewaysUpdateTagsParameters = ExpressRouteGatewaysUpdateTagsQueryParam & - ExpressRouteGatewaysUpdateTagsMediaTypesParam & - ExpressRouteGatewaysUpdateTagsBodyParam & - RequestParameters; +export type ExpressRouteGatewaysUpdateTagsParameters = + ExpressRouteGatewaysUpdateTagsQueryParam & + ExpressRouteGatewaysUpdateTagsMediaTypesParam & + ExpressRouteGatewaysUpdateTagsBodyParam & + RequestParameters; export interface ExpressRouteGatewaysGetQueryParamProperties { /** Api Version */ @@ -9406,8 +9641,8 @@ export interface ExpressRouteGatewaysGetQueryParam { queryParameters: ExpressRouteGatewaysGetQueryParamProperties; } -export type ExpressRouteGatewaysGetParameters = ExpressRouteGatewaysGetQueryParam & - RequestParameters; +export type ExpressRouteGatewaysGetParameters = + ExpressRouteGatewaysGetQueryParam & RequestParameters; export interface ExpressRouteGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -9418,8 +9653,8 @@ export interface ExpressRouteGatewaysDeleteQueryParam { queryParameters: ExpressRouteGatewaysDeleteQueryParamProperties; } -export type ExpressRouteGatewaysDeleteParameters = ExpressRouteGatewaysDeleteQueryParam & - RequestParameters; +export type ExpressRouteGatewaysDeleteParameters = + ExpressRouteGatewaysDeleteQueryParam & RequestParameters; export interface ExpressRouteConnectionsCreateOrUpdateBodyParam { /** Parameters required in an ExpressRouteConnection PUT operation. */ @@ -9455,8 +9690,8 @@ export interface ExpressRouteConnectionsGetQueryParam { queryParameters: ExpressRouteConnectionsGetQueryParamProperties; } -export type ExpressRouteConnectionsGetParameters = ExpressRouteConnectionsGetQueryParam & - RequestParameters; +export type ExpressRouteConnectionsGetParameters = + ExpressRouteConnectionsGetQueryParam & RequestParameters; export interface ExpressRouteConnectionsDeleteQueryParamProperties { /** Api Version */ @@ -9467,8 +9702,8 @@ export interface ExpressRouteConnectionsDeleteQueryParam { queryParameters: ExpressRouteConnectionsDeleteQueryParamProperties; } -export type ExpressRouteConnectionsDeleteParameters = ExpressRouteConnectionsDeleteQueryParam & - RequestParameters; +export type ExpressRouteConnectionsDeleteParameters = + ExpressRouteConnectionsDeleteQueryParam & RequestParameters; export interface ExpressRouteConnectionsListQueryParamProperties { /** Api Version */ @@ -9479,8 +9714,8 @@ export interface ExpressRouteConnectionsListQueryParam { queryParameters: ExpressRouteConnectionsListQueryParamProperties; } -export type ExpressRouteConnectionsListParameters = ExpressRouteConnectionsListQueryParam & - RequestParameters; +export type ExpressRouteConnectionsListParameters = + ExpressRouteConnectionsListQueryParam & RequestParameters; export interface VirtualHubBgpConnectionGetQueryParamProperties { /** Api Version */ @@ -9491,8 +9726,8 @@ export interface VirtualHubBgpConnectionGetQueryParam { queryParameters: VirtualHubBgpConnectionGetQueryParamProperties; } -export type VirtualHubBgpConnectionGetParameters = VirtualHubBgpConnectionGetQueryParam & - RequestParameters; +export type VirtualHubBgpConnectionGetParameters = + VirtualHubBgpConnectionGetQueryParam & RequestParameters; export interface VirtualHubBgpConnectionCreateOrUpdateBodyParam { /** Parameters of Bgp connection. */ @@ -9528,8 +9763,8 @@ export interface VirtualHubBgpConnectionDeleteQueryParam { queryParameters: VirtualHubBgpConnectionDeleteQueryParamProperties; } -export type VirtualHubBgpConnectionDeleteParameters = VirtualHubBgpConnectionDeleteQueryParam & - RequestParameters; +export type VirtualHubBgpConnectionDeleteParameters = + VirtualHubBgpConnectionDeleteQueryParam & RequestParameters; export interface VirtualHubBgpConnectionsListQueryParamProperties { /** Api Version */ @@ -9540,8 +9775,8 @@ export interface VirtualHubBgpConnectionsListQueryParam { queryParameters: VirtualHubBgpConnectionsListQueryParamProperties; } -export type VirtualHubBgpConnectionsListParameters = VirtualHubBgpConnectionsListQueryParam & - RequestParameters; +export type VirtualHubBgpConnectionsListParameters = + VirtualHubBgpConnectionsListQueryParam & RequestParameters; export interface VirtualHubBgpConnectionsListLearnedRoutesQueryParamProperties { /** Api Version */ @@ -9576,8 +9811,8 @@ export interface VirtualHubIpConfigurationGetQueryParam { queryParameters: VirtualHubIpConfigurationGetQueryParamProperties; } -export type VirtualHubIpConfigurationGetParameters = VirtualHubIpConfigurationGetQueryParam & - RequestParameters; +export type VirtualHubIpConfigurationGetParameters = + VirtualHubIpConfigurationGetQueryParam & RequestParameters; export interface VirtualHubIpConfigurationCreateOrUpdateBodyParam { /** Hub Ip Configuration parameters. */ @@ -9613,8 +9848,8 @@ export interface VirtualHubIpConfigurationDeleteQueryParam { queryParameters: VirtualHubIpConfigurationDeleteQueryParamProperties; } -export type VirtualHubIpConfigurationDeleteParameters = VirtualHubIpConfigurationDeleteQueryParam & - RequestParameters; +export type VirtualHubIpConfigurationDeleteParameters = + VirtualHubIpConfigurationDeleteQueryParam & RequestParameters; export interface VirtualHubIpConfigurationListQueryParamProperties { /** Api Version */ @@ -9625,8 +9860,8 @@ export interface VirtualHubIpConfigurationListQueryParam { queryParameters: VirtualHubIpConfigurationListQueryParamProperties; } -export type VirtualHubIpConfigurationListParameters = VirtualHubIpConfigurationListQueryParam & - RequestParameters; +export type VirtualHubIpConfigurationListParameters = + VirtualHubIpConfigurationListQueryParam & RequestParameters; export interface HubRouteTablesCreateOrUpdateBodyParam { /** Parameters supplied to create or update RouteTable. */ @@ -9647,10 +9882,11 @@ export interface HubRouteTablesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type HubRouteTablesCreateOrUpdateParameters = HubRouteTablesCreateOrUpdateQueryParam & - HubRouteTablesCreateOrUpdateMediaTypesParam & - HubRouteTablesCreateOrUpdateBodyParam & - RequestParameters; +export type HubRouteTablesCreateOrUpdateParameters = + HubRouteTablesCreateOrUpdateQueryParam & + HubRouteTablesCreateOrUpdateMediaTypesParam & + HubRouteTablesCreateOrUpdateBodyParam & + RequestParameters; export interface HubRouteTablesGetQueryParamProperties { /** Api Version */ @@ -9661,7 +9897,8 @@ export interface HubRouteTablesGetQueryParam { queryParameters: HubRouteTablesGetQueryParamProperties; } -export type HubRouteTablesGetParameters = HubRouteTablesGetQueryParam & RequestParameters; +export type HubRouteTablesGetParameters = HubRouteTablesGetQueryParam & + RequestParameters; export interface HubRouteTablesDeleteQueryParamProperties { /** Api Version */ @@ -9672,7 +9909,8 @@ export interface HubRouteTablesDeleteQueryParam { queryParameters: HubRouteTablesDeleteQueryParamProperties; } -export type HubRouteTablesDeleteParameters = HubRouteTablesDeleteQueryParam & RequestParameters; +export type HubRouteTablesDeleteParameters = HubRouteTablesDeleteQueryParam & + RequestParameters; export interface HubRouteTablesListQueryParamProperties { /** Api Version */ @@ -9683,7 +9921,8 @@ export interface HubRouteTablesListQueryParam { queryParameters: HubRouteTablesListQueryParamProperties; } -export type HubRouteTablesListParameters = HubRouteTablesListQueryParam & RequestParameters; +export type HubRouteTablesListParameters = HubRouteTablesListQueryParam & + RequestParameters; export interface RoutingIntentCreateOrUpdateBodyParam { /** Parameters supplied to create or update RoutingIntent. */ @@ -9704,10 +9943,11 @@ export interface RoutingIntentCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RoutingIntentCreateOrUpdateParameters = RoutingIntentCreateOrUpdateQueryParam & - RoutingIntentCreateOrUpdateMediaTypesParam & - RoutingIntentCreateOrUpdateBodyParam & - RequestParameters; +export type RoutingIntentCreateOrUpdateParameters = + RoutingIntentCreateOrUpdateQueryParam & + RoutingIntentCreateOrUpdateMediaTypesParam & + RoutingIntentCreateOrUpdateBodyParam & + RequestParameters; export interface RoutingIntentGetQueryParamProperties { /** Api Version */ @@ -9718,7 +9958,8 @@ export interface RoutingIntentGetQueryParam { queryParameters: RoutingIntentGetQueryParamProperties; } -export type RoutingIntentGetParameters = RoutingIntentGetQueryParam & RequestParameters; +export type RoutingIntentGetParameters = RoutingIntentGetQueryParam & + RequestParameters; export interface RoutingIntentDeleteQueryParamProperties { /** Api Version */ @@ -9729,7 +9970,8 @@ export interface RoutingIntentDeleteQueryParam { queryParameters: RoutingIntentDeleteQueryParamProperties; } -export type RoutingIntentDeleteParameters = RoutingIntentDeleteQueryParam & RequestParameters; +export type RoutingIntentDeleteParameters = RoutingIntentDeleteQueryParam & + RequestParameters; export interface RoutingIntentListQueryParamProperties { /** Api Version */ @@ -9740,7 +9982,8 @@ export interface RoutingIntentListQueryParam { queryParameters: RoutingIntentListQueryParamProperties; } -export type RoutingIntentListParameters = RoutingIntentListQueryParam & RequestParameters; +export type RoutingIntentListParameters = RoutingIntentListQueryParam & + RequestParameters; export interface WebApplicationFirewallPoliciesListQueryParamProperties { /** Api Version */ diff --git a/sdk/network/arm-network-rest/src/pollingHelper.ts b/sdk/network/arm-network-rest/src/pollingHelper.ts index d25daede0b1c..131043e0b2d0 100644 --- a/sdk/network/arm-network-rest/src/pollingHelper.ts +++ b/sdk/network/arm-network-rest/src/pollingHelper.ts @@ -1,15 +1,87 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { Client, HttpResponse } from "@azure-rest/core-client"; -import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollOperationState, - PollerLike, +import { Client, HttpResponse } from "@azure-rest/core-client"; +import { AbortSignalLike } from "@azure/abort-controller"; +import { + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState, + createHttpPoller, } from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike< + TState extends OperationState, + TResult, +> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} /** * Helper function that builds a Poller object to help polling a long running operation. @@ -18,43 +90,108 @@ import { LroEngine } from "@azure/core-lro"; * @param options - Options to set a resume state or custom polling interval. * @returns - A poller object to poll for operation state updates and eventually get the final response. */ -export function getLongRunningPoller( +export async function getLongRunningPoller( client: Client, initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { sendInitialRequest: async () => { // In the case of Rest Clients we are building the LRO poller object from a response that's the reason // we are not triggering the initial request here, just extracting the information from the // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async (path) => { + sendPollRequest: async ( + path: string, + pollOptions?: { abortSignal?: AbortSignalLike }, + ) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const response = await client.pathUnchecked(path ?? initialResponse.request.url).get(); + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } const lroResponse = getLroResponse(response as TResult); - lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; + lroResponse.rawResponse.headers["x-ms-original-url"] = + initialResponse.request.url; return lroResponse; }, }; - return new LroEngine(poller, options); + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; } /** - * Converts a Rest Client response to a response that the LRO engine knows about + * Converts a Rest Client response to a response that the LRO implementation understands * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with + * @returns - An LRO response that the LRO implementation understands */ -function getLroResponse(response: TResult): LroResponse { +function getLroResponse( + response: TResult, +): OperationResponse { if (Number.isNaN(response.status)) { - throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); + throw new TypeError( + `Status code of the response is not a number. Value: ${response.status}`, + ); } return { diff --git a/sdk/network/arm-network-rest/src/responses.ts b/sdk/network/arm-network-rest/src/responses.ts index 17b640e9eec7..32484f8875c9 100644 --- a/sdk/network/arm-network-rest/src/responses.ts +++ b/sdk/network/arm-network-rest/src/responses.ts @@ -1,309 +1,306 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RawHttpHeaders } from "@azure/core-rest-pipeline"; -import type { HttpResponse } from "@azure-rest/core-client"; -import type { - ActiveConnectivityConfigurationsListResultOutput, - ActiveSecurityAdminRulesListResultOutput, - AdminRuleCollectionListResultOutput, - AdminRuleCollectionOutput, - AdminRuleListResultOutput, +import { RawHttpHeaders } from "@azure/core-rest-pipeline"; +import { HttpResponse } from "@azure-rest/core-client"; +import { + CloudErrorOutput, + ApplicationGatewayOutput, + ApplicationGatewayListResultOutput, + ApplicationGatewayBackendHealthOutput, + ApplicationGatewayBackendHealthOnDemandOutput, + ErrorModelOutput, + ApplicationGatewayAvailableWafRuleSetsResultOutput, ApplicationGatewayAvailableSslOptionsOutput, ApplicationGatewayAvailableSslPredefinedPoliciesOutput, - ApplicationGatewayAvailableWafRuleSetsResultOutput, - ApplicationGatewayBackendHealthOnDemandOutput, - ApplicationGatewayBackendHealthOutput, - ApplicationGatewayListResultOutput, - ApplicationGatewayOutput, - ApplicationGatewayPrivateEndpointConnectionListResultOutput, - ApplicationGatewayPrivateEndpointConnectionOutput, - ApplicationGatewayPrivateLinkResourceListResultOutput, ApplicationGatewaySslPredefinedPolicyOutput, - ApplicationGatewayWafDynamicManifestResultListOutput, + ApplicationGatewayPrivateLinkResourceListResultOutput, + ApplicationGatewayPrivateEndpointConnectionOutput, + ApplicationGatewayPrivateEndpointConnectionListResultOutput, ApplicationGatewayWafDynamicManifestResultOutput, - ApplicationSecurityGroupListResultOutput, + ApplicationGatewayWafDynamicManifestResultListOutput, ApplicationSecurityGroupOutput, - AuthorizationListResultOutput, - AutoApprovedPrivateLinkServicesResultOutput, + ApplicationSecurityGroupListResultOutput, AvailableDelegationsResultOutput, - AvailablePrivateEndpointTypesResultOutput, - AvailableProvidersListOutput, AvailableServiceAliasesResultOutput, - AzureFirewallFqdnTagListResultOutput, - AzureFirewallListResultOutput, AzureFirewallOutput, - AzureReachabilityReportOutput, - AzureWebCategoryListResultOutput, + AzureFirewallListResultOutput, + IPPrefixesListOutput, + AzureFirewallFqdnTagListResultOutput, AzureWebCategoryOutput, - BackendAddressInboundNatRulePortMappingsOutput, - BackendAddressPoolOutput, - BaseAdminRuleOutput, - BastionActiveSessionListResultOutput, - BastionHostListResultOutput, + AzureWebCategoryListResultOutput, BastionHostOutput, - BastionSessionDeleteResultOutput, + BastionHostListResultOutput, BastionShareableLinkListResultOutput, - BgpConnectionOutput, - BgpPeerStatusListResultOutput, - BgpServiceCommunityListResultOutput, - CloudErrorOutput, - ConnectionMonitorListResultOutput, - ConnectionMonitorQueryResultOutput, - ConnectionMonitorResultOutput, - ConnectionResetSharedKeyOutput, - ConnectionSharedKeyOutput, - ConnectivityConfigurationListResultOutput, - ConnectivityConfigurationOutput, - ConnectivityInformationOutput, - CustomIpPrefixListResultOutput, + BastionActiveSessionListResultOutput, + BastionSessionDeleteResultOutput, + DnsNameAvailabilityResultOutput, + ExpressRouteProviderPortOutput, + ActiveConnectivityConfigurationsListResultOutput, + ActiveSecurityAdminRulesListResultOutput, + NetworkManagerEffectiveConnectivityConfigurationListResultOutput, + NetworkManagerEffectiveSecurityAdminRulesListResultOutput, + VirtualWanSecurityProvidersOutput, + VpnProfileResponseOutput, + NetworkInterfaceListResultOutput, + NetworkInterfaceOutput, + EffectiveRouteListResultOutput, + EffectiveNetworkSecurityGroupListResultOutput, + NetworkInterfaceIPConfigurationListResultOutput, + NetworkInterfaceIPConfigurationOutput, + PublicIPAddressListResultOutput, + PublicIPAddressOutput, + PublicIpDdosProtectionStatusResultOutput, CustomIpPrefixOutput, + CustomIpPrefixListResultOutput, DdosCustomPolicyOutput, - DdosProtectionPlanListResultOutput, DdosProtectionPlanOutput, - DnsNameAvailabilityResultOutput, - DscpConfigurationListResultOutput, + DdosProtectionPlanListResultOutput, DscpConfigurationOutput, - EffectiveNetworkSecurityGroupListResultOutput, - EffectiveRouteListResultOutput, + DscpConfigurationListResultOutput, EndpointServicesListResultOutput, - ErrorModelOutput, - ErrorResponseOutput, ExpressRouteCircuitAuthorizationOutput, - ExpressRouteCircuitConnectionListResultOutput, + AuthorizationListResultOutput, + ExpressRouteCircuitPeeringOutput, + ExpressRouteCircuitPeeringListResultOutput, ExpressRouteCircuitConnectionOutput, - ExpressRouteCircuitListResultOutput, + ExpressRouteCircuitConnectionListResultOutput, + PeerExpressRouteCircuitConnectionOutput, + PeerExpressRouteCircuitConnectionListResultOutput, ExpressRouteCircuitOutput, - ExpressRouteCircuitPeeringListResultOutput, - ExpressRouteCircuitPeeringOutput, - ExpressRouteCircuitStatsOutput, ExpressRouteCircuitsArpTableListResultOutput, ExpressRouteCircuitsRoutesTableListResultOutput, ExpressRouteCircuitsRoutesTableSummaryListResultOutput, - ExpressRouteConnectionListOutput, - ExpressRouteConnectionOutput, + ExpressRouteCircuitStatsOutput, + ExpressRouteCircuitListResultOutput, + ExpressRouteServiceProviderListResultOutput, ExpressRouteCrossConnectionListResultOutput, ExpressRouteCrossConnectionOutput, + ExpressRouteCrossConnectionsRoutesTableSummaryListResultOutput, ExpressRouteCrossConnectionPeeringListOutput, ExpressRouteCrossConnectionPeeringOutput, - ExpressRouteCrossConnectionsRoutesTableSummaryListResultOutput, - ExpressRouteGatewayListOutput, - ExpressRouteGatewayOutput, - ExpressRouteLinkListResultOutput, - ExpressRouteLinkOutput, - ExpressRoutePortAuthorizationListResultOutput, - ExpressRoutePortAuthorizationOutput, - ExpressRoutePortListResultOutput, - ExpressRoutePortOutput, ExpressRoutePortsLocationListResultOutput, ExpressRoutePortsLocationOutput, + ExpressRoutePortOutput, + ExpressRoutePortListResultOutput, + GenerateExpressRoutePortsLOAResultOutput, + ExpressRouteLinkOutput, + ExpressRouteLinkListResultOutput, + ExpressRoutePortAuthorizationOutput, + ExpressRoutePortAuthorizationListResultOutput, ExpressRouteProviderPortListResultOutput, - ExpressRouteProviderPortOutput, - ExpressRouteServiceProviderListResultOutput, - FirewallPolicyListResultOutput, FirewallPolicyOutput, - FirewallPolicyRuleCollectionGroupListResultOutput, + FirewallPolicyListResultOutput, FirewallPolicyRuleCollectionGroupOutput, - FlowLogInformationOutput, - FlowLogListResultOutput, - FlowLogOutput, - FrontendIPConfigurationOutput, - GatewayRouteListResultOutput, - GenerateExpressRoutePortsLOAResultOutput, - HubIpConfigurationOutput, - HubRouteTableOutput, - HubVirtualNetworkConnectionOutput, - IPAddressAvailabilityResultOutput, - IPPrefixesListOutput, - InboundNatRuleListResultOutput, - InboundNatRuleOutput, - InboundSecurityRuleOutput, - IpAllocationListResultOutput, + FirewallPolicyRuleCollectionGroupListResultOutput, + QueryResultsOutput, + SignaturesOverridesOutput, + SignaturesOverridesListOutput, + SignatureOverridesFilterValuesResponseOutput, IpAllocationOutput, - IpGroupListResultOutput, + IpAllocationListResultOutput, IpGroupOutput, - ListHubRouteTablesResultOutput, - ListHubVirtualNetworkConnectionsResultOutput, - ListP2SVpnGatewaysResultOutput, - ListRouteMapsResultOutput, - ListRoutingIntentResultOutput, - ListVirtualHubBgpConnectionResultsOutput, - ListVirtualHubIpConfigurationResultsOutput, - ListVirtualHubRouteTableV2SResultOutput, - ListVirtualHubsResultOutput, - ListVirtualNetworkGatewayNatRulesResultOutput, - ListVirtualWANsResultOutput, - ListVpnConnectionsResultOutput, - ListVpnGatewayNatRulesResultOutput, - ListVpnGatewaysResultOutput, - ListVpnServerConfigurationPolicyGroupsResultOutput, - ListVpnServerConfigurationsResultOutput, - ListVpnSiteLinkConnectionsResultOutput, - ListVpnSiteLinksResultOutput, - ListVpnSitesResultOutput, + IpGroupListResultOutput, + LoadBalancerOutput, + LoadBalancerListResultOutput, + BackendAddressInboundNatRulePortMappingsOutput, LoadBalancerBackendAddressPoolListResultOutput, + BackendAddressPoolOutput, LoadBalancerFrontendIPConfigurationListResultOutput, - LoadBalancerListResultOutput, + FrontendIPConfigurationOutput, + InboundNatRuleListResultOutput, + InboundNatRuleOutput, LoadBalancerLoadBalancingRuleListResultOutput, + LoadBalancingRuleOutput, LoadBalancerOutboundRuleListResultOutput, - LoadBalancerOutput, + OutboundRuleOutput, LoadBalancerProbeListResultOutput, - LoadBalancingRuleOutput, - LocalNetworkGatewayListResultOutput, - LocalNetworkGatewayOutput, - NatGatewayListResultOutput, + ProbeOutput, NatGatewayOutput, - NetworkConfigurationDiagnosticResponseOutput, - NetworkGroupListResultOutput, - NetworkGroupOutput, - NetworkInterfaceIPConfigurationListResultOutput, - NetworkInterfaceIPConfigurationOutput, - NetworkInterfaceListResultOutput, + NatGatewayListResultOutput, NetworkInterfaceLoadBalancerListResultOutput, - NetworkInterfaceOutput, - NetworkInterfaceTapConfigurationListResultOutput, NetworkInterfaceTapConfigurationOutput, + NetworkInterfaceTapConfigurationListResultOutput, + NetworkManagerOutput, + NetworkManagerListResultOutput, NetworkManagerCommitOutput, - NetworkManagerConnectionListResultOutput, - NetworkManagerConnectionOutput, NetworkManagerDeploymentStatusListResultOutput, - NetworkManagerEffectiveConnectivityConfigurationListResultOutput, - NetworkManagerEffectiveSecurityAdminRulesListResultOutput, - NetworkManagerListResultOutput, - NetworkManagerOutput, - NetworkProfileListResultOutput, + NetworkManagerConnectionOutput, + NetworkManagerConnectionListResultOutput, + ConnectivityConfigurationOutput, + ConnectivityConfigurationListResultOutput, + NetworkGroupOutput, + NetworkGroupListResultOutput, + StaticMemberOutput, + StaticMemberListResultOutput, + ScopeConnectionOutput, + ScopeConnectionListResultOutput, + SecurityAdminConfigurationListResultOutput, + SecurityAdminConfigurationOutput, + AdminRuleCollectionListResultOutput, + AdminRuleCollectionOutput, + AdminRuleListResultOutput, + BaseAdminRuleOutput, NetworkProfileOutput, - NetworkSecurityGroupListResultOutput, + NetworkProfileListResultOutput, NetworkSecurityGroupOutput, - NetworkVirtualApplianceListResultOutput, + NetworkSecurityGroupListResultOutput, + SecurityRuleOutput, + SecurityRuleListResultOutput, NetworkVirtualApplianceOutput, + NetworkVirtualApplianceListResultOutput, + VirtualApplianceSiteOutput, NetworkVirtualApplianceSiteListResultOutput, NetworkVirtualApplianceSkuListResultOutput, NetworkVirtualApplianceSkuOutput, - NetworkWatcherListResultOutput, + InboundSecurityRuleOutput, NetworkWatcherOutput, + ErrorResponseOutput, + NetworkWatcherListResultOutput, + TopologyOutput, + VerificationIPFlowResultOutput, NextHopResultOutput, - OperationListResultOutput, - OutboundRuleOutput, - P2SVpnConnectionHealthOutput, - P2SVpnGatewayOutput, - PacketCaptureListResultOutput, - PacketCaptureQueryStatusResultOutput, + SecurityGroupViewResultOutput, + TroubleshootingResultOutput, + FlowLogInformationOutput, + ConnectivityInformationOutput, + AzureReachabilityReportOutput, + AvailableProvidersListOutput, + NetworkConfigurationDiagnosticResponseOutput, PacketCaptureResultOutput, - PeerExpressRouteCircuitConnectionListResultOutput, - PeerExpressRouteCircuitConnectionOutput, - PeerRouteListOutput, - PrivateDnsZoneGroupListResultOutput, - PrivateDnsZoneGroupOutput, - PrivateEndpointConnectionListResultOutput, - PrivateEndpointConnectionOutput, - PrivateEndpointListResultOutput, + PacketCaptureQueryStatusResultOutput, + PacketCaptureListResultOutput, + ConnectionMonitorResultOutput, + ConnectionMonitorQueryResultOutput, + ConnectionMonitorListResultOutput, + FlowLogOutput, + FlowLogListResultOutput, + OperationListResultOutput, PrivateEndpointOutput, - PrivateLinkServiceListResultOutput, + PrivateEndpointListResultOutput, + AvailablePrivateEndpointTypesResultOutput, + PrivateDnsZoneGroupOutput, + PrivateDnsZoneGroupListResultOutput, PrivateLinkServiceOutput, + PrivateLinkServiceListResultOutput, + PrivateEndpointConnectionOutput, + PrivateEndpointConnectionListResultOutput, PrivateLinkServiceVisibilityOutput, - ProbeOutput, - PublicIPAddressListResultOutput, - PublicIPAddressOutput, - PublicIPPrefixListResultOutput, + AutoApprovedPrivateLinkServicesResultOutput, PublicIPPrefixOutput, - PublicIpDdosProtectionStatusResultOutput, - QueryResultsOutput, - ResourceNavigationLinksListResultOutput, - RouteFilterListResultOutput, + PublicIPPrefixListResultOutput, RouteFilterOutput, - RouteFilterRuleListResultOutput, + RouteFilterListResultOutput, RouteFilterRuleOutput, - RouteListResultOutput, - RouteMapOutput, - RouteOutput, - RouteTableListResultOutput, + RouteFilterRuleListResultOutput, RouteTableOutput, - RoutingIntentOutput, - ScopeConnectionListResultOutput, - ScopeConnectionOutput, - SecurityAdminConfigurationListResultOutput, - SecurityAdminConfigurationOutput, - SecurityGroupViewResultOutput, - SecurityPartnerProviderListResultOutput, + RouteTableListResultOutput, + RouteOutput, + RouteListResultOutput, SecurityPartnerProviderOutput, - SecurityRuleListResultOutput, - SecurityRuleOutput, - ServiceAssociationLinksListResultOutput, - ServiceEndpointPolicyDefinitionListResultOutput, - ServiceEndpointPolicyDefinitionOutput, - ServiceEndpointPolicyListResultOutput, + SecurityPartnerProviderListResultOutput, + BgpServiceCommunityListResultOutput, ServiceEndpointPolicyOutput, - ServiceTagInformationListResultOutput, + ServiceEndpointPolicyListResultOutput, + ServiceEndpointPolicyDefinitionOutput, + ServiceEndpointPolicyDefinitionListResultOutput, ServiceTagsListResultOutput, - SignatureOverridesFilterValuesResponseOutput, - SignaturesOverridesListOutput, - SignaturesOverridesOutput, - StaticMemberListResultOutput, - StaticMemberOutput, - SubnetListResultOutput, - SubnetOutput, - SwapResourceListResultOutput, - SwapResourceOutput, - TopologyOutput, - TroubleshootingResultOutput, + ServiceTagInformationListResultOutput, UsagesListResultOutput, - VerificationIPFlowResultOutput, - VirtualApplianceSiteOutput, - VirtualHubOutput, - VirtualHubRouteTableV2Output, - VirtualNetworkDdosProtectionStatusResultOutput, - VirtualNetworkGatewayConnectionListResultOutput, - VirtualNetworkGatewayConnectionOutput, - VirtualNetworkGatewayListConnectionsResultOutput, - VirtualNetworkGatewayListResultOutput, - VirtualNetworkGatewayNatRuleOutput, - VirtualNetworkGatewayOutput, + VirtualNetworkOutput, VirtualNetworkListResultOutput, + IPAddressAvailabilityResultOutput, VirtualNetworkListUsageResultOutput, - VirtualNetworkOutput, - VirtualNetworkPeeringListResultOutput, + VirtualNetworkDdosProtectionStatusResultOutput, + SubnetOutput, + SubnetListResultOutput, + ResourceNavigationLinksListResultOutput, + ServiceAssociationLinksListResultOutput, VirtualNetworkPeeringOutput, - VirtualNetworkTapListResultOutput, + VirtualNetworkPeeringListResultOutput, + VirtualNetworkGatewayOutput, + VirtualNetworkGatewayListResultOutput, + VirtualNetworkGatewayListConnectionsResultOutput, + BgpPeerStatusListResultOutput, + GatewayRouteListResultOutput, + VpnClientIPsecParametersOutput, + VpnClientConnectionHealthDetailListResultOutput, + VirtualNetworkGatewayConnectionOutput, + ConnectionSharedKeyOutput, + VirtualNetworkGatewayConnectionListResultOutput, + ConnectionResetSharedKeyOutput, + LocalNetworkGatewayOutput, + LocalNetworkGatewayListResultOutput, + VirtualNetworkGatewayNatRuleOutput, + ListVirtualNetworkGatewayNatRulesResultOutput, VirtualNetworkTapOutput, - VirtualRouterListResultOutput, + VirtualNetworkTapListResultOutput, VirtualRouterOutput, - VirtualRouterPeeringListResultOutput, + VirtualRouterListResultOutput, VirtualRouterPeeringOutput, + VirtualRouterPeeringListResultOutput, VirtualWANOutput, - VirtualWanSecurityProvidersOutput, - VpnClientConnectionHealthDetailListResultOutput, - VpnClientIPsecParametersOutput, - VpnConnectionOutput, - VpnGatewayNatRuleOutput, - VpnGatewayOutput, - VpnProfileResponseOutput, + ListVirtualWANsResultOutput, + VpnSiteOutput, + ListVpnSitesResultOutput, + VpnSiteLinkOutput, + ListVpnSiteLinksResultOutput, VpnServerConfigurationOutput, + ListVpnServerConfigurationsResultOutput, VpnServerConfigurationPolicyGroupOutput, - VpnServerConfigurationsResponseOutput, + ListVpnServerConfigurationPolicyGroupsResultOutput, + VirtualHubOutput, + ListVirtualHubsResultOutput, + RouteMapOutput, + ListRouteMapsResultOutput, + HubVirtualNetworkConnectionOutput, + ListHubVirtualNetworkConnectionsResultOutput, + VpnGatewayOutput, + ListVpnGatewaysResultOutput, + ListVpnSiteLinkConnectionsResultOutput, + VpnConnectionOutput, + ListVpnConnectionsResultOutput, VpnSiteLinkConnectionOutput, - VpnSiteLinkOutput, - VpnSiteOutput, + VpnGatewayNatRuleOutput, + ListVpnGatewayNatRulesResultOutput, + P2SVpnGatewayOutput, + ListP2SVpnGatewaysResultOutput, + P2SVpnConnectionHealthOutput, + VpnServerConfigurationsResponseOutput, + VirtualHubRouteTableV2Output, + ListVirtualHubRouteTableV2SResultOutput, + ExpressRouteGatewayListOutput, + ExpressRouteGatewayOutput, + ExpressRouteConnectionOutput, + ExpressRouteConnectionListOutput, + BgpConnectionOutput, + ListVirtualHubBgpConnectionResultsOutput, + PeerRouteListOutput, + HubIpConfigurationOutput, + ListVirtualHubIpConfigurationResultsOutput, + HubRouteTableOutput, + ListHubRouteTablesResultOutput, + RoutingIntentOutput, + ListRoutingIntentResultOutput, WebApplicationFirewallPolicyListResultOutput, WebApplicationFirewallPolicyOutput, + SwapResourceOutput, + SwapResourceListResultOutput, } from "./outputModels"; /** Deletes the specified application gateway. */ export interface ApplicationGatewaysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified application gateway. */ export interface ApplicationGatewaysDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified application gateway. */ export interface ApplicationGatewaysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified application gateway. */ @@ -325,19 +322,22 @@ export interface ApplicationGatewaysGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified application gateway. */ -export interface ApplicationGatewaysCreateOrUpdate200Response extends HttpResponse { +export interface ApplicationGatewaysCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayOutput; } /** Creates or updates the specified application gateway. */ -export interface ApplicationGatewaysCreateOrUpdate201Response extends HttpResponse { +export interface ApplicationGatewaysCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ApplicationGatewayOutput; } /** Creates or updates the specified application gateway. */ -export interface ApplicationGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ApplicationGatewaysCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -349,7 +349,8 @@ export interface ApplicationGatewaysUpdateTags200Response extends HttpResponse { } /** Updates the specified application gateway tags. */ -export interface ApplicationGatewaysUpdateTagsDefaultResponse extends HttpResponse { +export interface ApplicationGatewaysUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -373,7 +374,8 @@ export interface ApplicationGatewaysListAll200Response extends HttpResponse { } /** Gets all the application gateways in a subscription. */ -export interface ApplicationGatewaysListAllDefaultResponse extends HttpResponse { +export interface ApplicationGatewaysListAllDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -381,13 +383,11 @@ export interface ApplicationGatewaysListAllDefaultResponse extends HttpResponse /** Starts the specified application gateway. */ export interface ApplicationGatewaysStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts the specified application gateway. */ export interface ApplicationGatewaysStart202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts the specified application gateway. */ @@ -399,13 +399,11 @@ export interface ApplicationGatewaysStartDefaultResponse extends HttpResponse { /** Stops the specified application gateway in a resource group. */ export interface ApplicationGatewaysStop200Response extends HttpResponse { status: "200"; - body: Record; } /** Stops the specified application gateway in a resource group. */ export interface ApplicationGatewaysStop202Response extends HttpResponse { status: "202"; - body: Record; } /** Stops the specified application gateway in a resource group. */ @@ -415,43 +413,48 @@ export interface ApplicationGatewaysStopDefaultResponse extends HttpResponse { } /** Gets the backend health of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealth200Response extends HttpResponse { +export interface ApplicationGatewaysBackendHealth200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayBackendHealthOutput; } /** Gets the backend health of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealth202Response extends HttpResponse { +export interface ApplicationGatewaysBackendHealth202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the backend health of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealthDefaultResponse extends HttpResponse { +export interface ApplicationGatewaysBackendHealthDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealthOnDemand200Response extends HttpResponse { +export interface ApplicationGatewaysBackendHealthOnDemand200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayBackendHealthOnDemandOutput; } /** Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealthOnDemand202Response extends HttpResponse { +export interface ApplicationGatewaysBackendHealthOnDemand202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealthOnDemandDefaultResponse extends HttpResponse { +export interface ApplicationGatewaysBackendHealthOnDemandDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all available server variables. */ -export interface ApplicationGatewaysListAvailableServerVariables200Response extends HttpResponse { +export interface ApplicationGatewaysListAvailableServerVariables200Response + extends HttpResponse { status: "200"; body: Array; } @@ -464,7 +467,8 @@ export interface ApplicationGatewaysListAvailableServerVariablesDefaultResponse } /** Lists all available request headers. */ -export interface ApplicationGatewaysListAvailableRequestHeaders200Response extends HttpResponse { +export interface ApplicationGatewaysListAvailableRequestHeaders200Response + extends HttpResponse { status: "200"; body: Array; } @@ -477,7 +481,8 @@ export interface ApplicationGatewaysListAvailableRequestHeadersDefaultResponse } /** Lists all available response headers. */ -export interface ApplicationGatewaysListAvailableResponseHeaders200Response extends HttpResponse { +export interface ApplicationGatewaysListAvailableResponseHeaders200Response + extends HttpResponse { status: "200"; body: Array; } @@ -490,25 +495,29 @@ export interface ApplicationGatewaysListAvailableResponseHeadersDefaultResponse } /** Lists all available web application firewall rule sets. */ -export interface ApplicationGatewaysListAvailableWafRuleSets200Response extends HttpResponse { +export interface ApplicationGatewaysListAvailableWafRuleSets200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayAvailableWafRuleSetsResultOutput; } /** Lists all available web application firewall rule sets. */ -export interface ApplicationGatewaysListAvailableWafRuleSetsDefaultResponse extends HttpResponse { +export interface ApplicationGatewaysListAvailableWafRuleSetsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists available Ssl options for configuring Ssl policy. */ -export interface ApplicationGatewaysListAvailableSslOptions200Response extends HttpResponse { +export interface ApplicationGatewaysListAvailableSslOptions200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayAvailableSslOptionsOutput; } /** Lists available Ssl options for configuring Ssl policy. */ -export interface ApplicationGatewaysListAvailableSslOptionsDefaultResponse extends HttpResponse { +export interface ApplicationGatewaysListAvailableSslOptionsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -528,25 +537,29 @@ export interface ApplicationGatewaysListAvailableSslPredefinedPoliciesDefaultRes } /** Gets Ssl predefined policy with the specified policy name. */ -export interface ApplicationGatewaysGetSslPredefinedPolicy200Response extends HttpResponse { +export interface ApplicationGatewaysGetSslPredefinedPolicy200Response + extends HttpResponse { status: "200"; body: ApplicationGatewaySslPredefinedPolicyOutput; } /** Gets Ssl predefined policy with the specified policy name. */ -export interface ApplicationGatewaysGetSslPredefinedPolicyDefaultResponse extends HttpResponse { +export interface ApplicationGatewaysGetSslPredefinedPolicyDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all private link resources on an application gateway. */ -export interface ApplicationGatewayPrivateLinkResourcesList200Response extends HttpResponse { +export interface ApplicationGatewayPrivateLinkResourcesList200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayPrivateLinkResourceListResultOutput; } /** Lists all private link resources on an application gateway. */ -export interface ApplicationGatewayPrivateLinkResourcesListDefaultResponse extends HttpResponse { +export interface ApplicationGatewayPrivateLinkResourcesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -555,21 +568,18 @@ export interface ApplicationGatewayPrivateLinkResourcesListDefaultResponse exten export interface ApplicationGatewayPrivateEndpointConnectionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified private endpoint connection on application gateway. */ export interface ApplicationGatewayPrivateEndpointConnectionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified private endpoint connection on application gateway. */ export interface ApplicationGatewayPrivateEndpointConnectionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified private endpoint connection on application gateway. */ @@ -590,7 +600,6 @@ export interface ApplicationGatewayPrivateEndpointConnectionsUpdate200Response export interface ApplicationGatewayPrivateEndpointConnectionsUpdate202Response extends HttpResponse { status: "202"; - body: Record; } /** Updates the specified private endpoint connection on application gateway. */ @@ -601,7 +610,8 @@ export interface ApplicationGatewayPrivateEndpointConnectionsUpdateDefaultRespon } /** Gets the specified private endpoint connection on application gateway. */ -export interface ApplicationGatewayPrivateEndpointConnectionsGet200Response extends HttpResponse { +export interface ApplicationGatewayPrivateEndpointConnectionsGet200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayPrivateEndpointConnectionOutput; } @@ -614,7 +624,8 @@ export interface ApplicationGatewayPrivateEndpointConnectionsGetDefaultResponse } /** Lists all private endpoint connections on an application gateway. */ -export interface ApplicationGatewayPrivateEndpointConnectionsList200Response extends HttpResponse { +export interface ApplicationGatewayPrivateEndpointConnectionsList200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayPrivateEndpointConnectionListResultOutput; } @@ -627,7 +638,8 @@ export interface ApplicationGatewayPrivateEndpointConnectionsListDefaultResponse } /** Gets the regional application gateway waf manifest. */ -export interface ApplicationGatewayWafDynamicManifestsDefaultGet200Response extends HttpResponse { +export interface ApplicationGatewayWafDynamicManifestsDefaultGet200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayWafDynamicManifestResultOutput; } @@ -640,37 +652,40 @@ export interface ApplicationGatewayWafDynamicManifestsDefaultGetDefaultResponse } /** Gets the regional application gateway waf manifest. */ -export interface ApplicationGatewayWafDynamicManifestsGet200Response extends HttpResponse { +export interface ApplicationGatewayWafDynamicManifestsGet200Response + extends HttpResponse { status: "200"; body: ApplicationGatewayWafDynamicManifestResultListOutput; } /** Gets the regional application gateway waf manifest. */ -export interface ApplicationGatewayWafDynamicManifestsGetDefaultResponse extends HttpResponse { +export interface ApplicationGatewayWafDynamicManifestsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified application security group. */ -export interface ApplicationSecurityGroupsDelete200Response extends HttpResponse { +export interface ApplicationSecurityGroupsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified application security group. */ -export interface ApplicationSecurityGroupsDelete202Response extends HttpResponse { +export interface ApplicationSecurityGroupsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified application security group. */ -export interface ApplicationSecurityGroupsDelete204Response extends HttpResponse { +export interface ApplicationSecurityGroupsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified application security group. */ -export interface ApplicationSecurityGroupsDeleteDefaultResponse extends HttpResponse { +export interface ApplicationSecurityGroupsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -682,49 +697,57 @@ export interface ApplicationSecurityGroupsGet200Response extends HttpResponse { } /** Gets information about the specified application security group. */ -export interface ApplicationSecurityGroupsGetDefaultResponse extends HttpResponse { +export interface ApplicationSecurityGroupsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates an application security group. */ -export interface ApplicationSecurityGroupsCreateOrUpdate200Response extends HttpResponse { +export interface ApplicationSecurityGroupsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ApplicationSecurityGroupOutput; } /** Creates or updates an application security group. */ -export interface ApplicationSecurityGroupsCreateOrUpdate201Response extends HttpResponse { +export interface ApplicationSecurityGroupsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ApplicationSecurityGroupOutput; } /** Creates or updates an application security group. */ -export interface ApplicationSecurityGroupsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ApplicationSecurityGroupsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates an application security group's tags. */ -export interface ApplicationSecurityGroupsUpdateTags200Response extends HttpResponse { +export interface ApplicationSecurityGroupsUpdateTags200Response + extends HttpResponse { status: "200"; body: ApplicationSecurityGroupOutput; } /** Updates an application security group's tags. */ -export interface ApplicationSecurityGroupsUpdateTagsDefaultResponse extends HttpResponse { +export interface ApplicationSecurityGroupsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all application security groups in a subscription. */ -export interface ApplicationSecurityGroupsListAll200Response extends HttpResponse { +export interface ApplicationSecurityGroupsListAll200Response + extends HttpResponse { status: "200"; body: ApplicationSecurityGroupListResultOutput; } /** Gets all application security groups in a subscription. */ -export interface ApplicationSecurityGroupsListAllDefaultResponse extends HttpResponse { +export interface ApplicationSecurityGroupsListAllDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -736,7 +759,8 @@ export interface ApplicationSecurityGroupsList200Response extends HttpResponse { } /** Gets all the application security groups in a resource group. */ -export interface ApplicationSecurityGroupsListDefaultResponse extends HttpResponse { +export interface ApplicationSecurityGroupsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -754,13 +778,15 @@ export interface AvailableDelegationsListDefaultResponse extends HttpResponse { } /** Gets all of the available subnet delegations for this resource group in this region. */ -export interface AvailableResourceGroupDelegationsList200Response extends HttpResponse { +export interface AvailableResourceGroupDelegationsList200Response + extends HttpResponse { status: "200"; body: AvailableDelegationsResultOutput; } /** Gets all of the available subnet delegations for this resource group in this region. */ -export interface AvailableResourceGroupDelegationsListDefaultResponse extends HttpResponse { +export interface AvailableResourceGroupDelegationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -772,19 +798,22 @@ export interface AvailableServiceAliasesList200Response extends HttpResponse { } /** Gets all available service aliases for this subscription in this region. */ -export interface AvailableServiceAliasesListDefaultResponse extends HttpResponse { +export interface AvailableServiceAliasesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all available service aliases for this resource group in this region. */ -export interface AvailableServiceAliasesListByResourceGroup200Response extends HttpResponse { +export interface AvailableServiceAliasesListByResourceGroup200Response + extends HttpResponse { status: "200"; body: AvailableServiceAliasesResultOutput; } /** Gets all available service aliases for this resource group in this region. */ -export interface AvailableServiceAliasesListByResourceGroupDefaultResponse extends HttpResponse { +export interface AvailableServiceAliasesListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -792,19 +821,16 @@ export interface AvailableServiceAliasesListByResourceGroupDefaultResponse exten /** Deletes the specified Azure Firewall. */ export interface AzureFirewallsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified Azure Firewall. */ export interface AzureFirewallsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified Azure Firewall. */ export interface AzureFirewallsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified Azure Firewall. */ @@ -838,7 +864,8 @@ export interface AzureFirewallsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates the specified Azure Firewall. */ -export interface AzureFirewallsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface AzureFirewallsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -852,7 +879,6 @@ export interface AzureFirewallsUpdateTags200Response extends HttpResponse { /** Updates tags of an Azure Firewall resource. */ export interface AzureFirewallsUpdateTags202Response extends HttpResponse { status: "202"; - body: Record; } /** Updates tags of an Azure Firewall resource. */ @@ -886,19 +912,21 @@ export interface AzureFirewallsListAllDefaultResponse extends HttpResponse { } /** Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. */ -export interface AzureFirewallsListLearnedPrefixes200Response extends HttpResponse { +export interface AzureFirewallsListLearnedPrefixes200Response + extends HttpResponse { status: "200"; body: IPPrefixesListOutput; } /** Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. */ -export interface AzureFirewallsListLearnedPrefixes202Response extends HttpResponse { +export interface AzureFirewallsListLearnedPrefixes202Response + extends HttpResponse { status: "202"; - body: Record; } /** Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. */ -export interface AzureFirewallsListLearnedPrefixesDefaultResponse extends HttpResponse { +export interface AzureFirewallsListLearnedPrefixesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -910,7 +938,8 @@ export interface AzureFirewallFqdnTagsListAll200Response extends HttpResponse { } /** Gets all the Azure Firewall FQDN Tags in a subscription. */ -export interface AzureFirewallFqdnTagsListAllDefaultResponse extends HttpResponse { +export interface AzureFirewallFqdnTagsListAllDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -928,13 +957,15 @@ export interface WebCategoriesGetDefaultResponse extends HttpResponse { } /** Gets all the Azure Web Categories in a subscription. */ -export interface WebCategoriesListBySubscription200Response extends HttpResponse { +export interface WebCategoriesListBySubscription200Response + extends HttpResponse { status: "200"; body: AzureWebCategoryListResultOutput; } /** Gets all the Azure Web Categories in a subscription. */ -export interface WebCategoriesListBySubscriptionDefaultResponse extends HttpResponse { +export interface WebCategoriesListBySubscriptionDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -942,19 +973,16 @@ export interface WebCategoriesListBySubscriptionDefaultResponse extends HttpResp /** Deletes the specified Bastion Host. */ export interface BastionHostsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified Bastion Host. */ export interface BastionHostsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified Bastion Host. */ export interface BastionHostsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified Bastion Host. */ @@ -988,7 +1016,8 @@ export interface BastionHostsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates the specified Bastion Host. */ -export interface BastionHostsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface BastionHostsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1002,7 +1031,6 @@ export interface BastionHostsUpdateTags200Response extends HttpResponse { /** Updates Tags for BastionHost resource */ export interface BastionHostsUpdateTags202Response extends HttpResponse { status: "202"; - body: Record; } /** Updates Tags for BastionHost resource */ @@ -1024,13 +1052,15 @@ export interface BastionHostsListDefaultResponse extends HttpResponse { } /** Lists all Bastion Hosts in a resource group. */ -export interface BastionHostsListByResourceGroup200Response extends HttpResponse { +export interface BastionHostsListByResourceGroup200Response + extends HttpResponse { status: "200"; body: BastionHostListResultOutput; } /** Lists all Bastion Hosts in a resource group. */ -export interface BastionHostsListByResourceGroupDefaultResponse extends HttpResponse { +export interface BastionHostsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1044,7 +1074,6 @@ export interface PutBastionShareableLink200Response extends HttpResponse { /** Creates a Bastion Shareable Links for all the VMs specified in the request. */ export interface PutBastionShareableLink202Response extends HttpResponse { status: "202"; - body: Record; } /** Creates a Bastion Shareable Links for all the VMs specified in the request. */ @@ -1056,17 +1085,16 @@ export interface PutBastionShareableLinkDefaultResponse extends HttpResponse { /** Deletes the Bastion Shareable Links for all the VMs specified in the request. */ export interface DeleteBastionShareableLink200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the Bastion Shareable Links for all the VMs specified in the request. */ export interface DeleteBastionShareableLink202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the Bastion Shareable Links for all the VMs specified in the request. */ -export interface DeleteBastionShareableLinkDefaultResponse extends HttpResponse { +export interface DeleteBastionShareableLinkDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1092,7 +1120,6 @@ export interface GetActiveSessions200Response extends HttpResponse { /** Returns the list of currently active sessions on the Bastion. */ export interface GetActiveSessions202Response extends HttpResponse { status: "202"; - body: Record; } /** Returns the list of currently active sessions on the Bastion. */ @@ -1125,14 +1152,28 @@ export interface CheckDnsNameAvailabilityDefaultResponse extends HttpResponse { body: CloudErrorOutput; } +/** Retrieves detail of a provider port. */ +export interface ExpressRouteProviderPort200Response extends HttpResponse { + status: "200"; + body: ExpressRouteProviderPortOutput; +} + +/** Retrieves detail of a provider port. */ +export interface ExpressRouteProviderPortDefaultResponse extends HttpResponse { + status: string; + body: CloudErrorOutput; +} + /** Lists active connectivity configurations in a network manager. */ -export interface ListActiveConnectivityConfigurations200Response extends HttpResponse { +export interface ListActiveConnectivityConfigurations200Response + extends HttpResponse { status: "200"; body: ActiveConnectivityConfigurationsListResultOutput; } /** Lists active connectivity configurations in a network manager. */ -export interface ListActiveConnectivityConfigurationsDefaultResponse extends HttpResponse { +export interface ListActiveConnectivityConfigurationsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1144,7 +1185,8 @@ export interface ListActiveSecurityAdminRules200Response extends HttpResponse { } /** Lists active security admin rules in a network manager. */ -export interface ListActiveSecurityAdminRulesDefaultResponse extends HttpResponse { +export interface ListActiveSecurityAdminRulesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1164,13 +1206,15 @@ export interface ListNetworkManagerEffectiveConnectivityConfigurationsDefaultRes } /** List all effective security admin rules applied on a virtual network. */ -export interface ListNetworkManagerEffectiveSecurityAdminRules200Response extends HttpResponse { +export interface ListNetworkManagerEffectiveSecurityAdminRules200Response + extends HttpResponse { status: "200"; body: NetworkManagerEffectiveSecurityAdminRulesListResultOutput; } /** List all effective security admin rules applied on a virtual network. */ -export interface ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse extends HttpResponse { +export interface ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1182,7 +1226,8 @@ export interface SupportedSecurityProviders200Response extends HttpResponse { } /** Gives the supported security providers for the virtual wan. */ -export interface SupportedSecurityProvidersDefaultResponse extends HttpResponse { +export interface SupportedSecurityProvidersDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1198,7 +1243,6 @@ export interface Generatevirtualwanvpnserverconfigurationvpnprofile200Response export interface Generatevirtualwanvpnserverconfigurationvpnprofile202Response extends HttpResponse { status: "202"; - body: Record; } /** Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group. */ @@ -1237,7 +1281,8 @@ export interface NetworkInterfacesListCloudServiceNetworkInterfacesDefaultRespon } /** Get the specified network interface in a cloud service. */ -export interface NetworkInterfacesGetCloudServiceNetworkInterface200Response extends HttpResponse { +export interface NetworkInterfacesGetCloudServiceNetworkInterface200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceOutput; } @@ -1252,19 +1297,16 @@ export interface NetworkInterfacesGetCloudServiceNetworkInterfaceDefaultResponse /** Deletes the specified network interface. */ export interface NetworkInterfacesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified network interface. */ export interface NetworkInterfacesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified network interface. */ export interface NetworkInterfacesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified network interface. */ @@ -1286,19 +1328,22 @@ export interface NetworkInterfacesGetDefaultResponse extends HttpResponse { } /** Creates or updates a network interface. */ -export interface NetworkInterfacesCreateOrUpdate200Response extends HttpResponse { +export interface NetworkInterfacesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceOutput; } /** Creates or updates a network interface. */ -export interface NetworkInterfacesCreateOrUpdate201Response extends HttpResponse { +export interface NetworkInterfacesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: NetworkInterfaceOutput; } /** Creates or updates a network interface. */ -export interface NetworkInterfacesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface NetworkInterfacesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1310,7 +1355,8 @@ export interface NetworkInterfacesUpdateTags200Response extends HttpResponse { } /** Updates a network interface tags. */ -export interface NetworkInterfacesUpdateTagsDefaultResponse extends HttpResponse { +export interface NetworkInterfacesUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1340,19 +1386,21 @@ export interface NetworkInterfacesListDefaultResponse extends HttpResponse { } /** Gets all route tables applied to a network interface. */ -export interface NetworkInterfacesGetEffectiveRouteTable200Response extends HttpResponse { +export interface NetworkInterfacesGetEffectiveRouteTable200Response + extends HttpResponse { status: "200"; body: EffectiveRouteListResultOutput; } /** Gets all route tables applied to a network interface. */ -export interface NetworkInterfacesGetEffectiveRouteTable202Response extends HttpResponse { +export interface NetworkInterfacesGetEffectiveRouteTable202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets all route tables applied to a network interface. */ -export interface NetworkInterfacesGetEffectiveRouteTableDefaultResponse extends HttpResponse { +export interface NetworkInterfacesGetEffectiveRouteTableDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1368,7 +1416,6 @@ export interface NetworkInterfacesListEffectiveNetworkSecurityGroups200Response export interface NetworkInterfacesListEffectiveNetworkSecurityGroups202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets all network security groups applied to a network interface. */ @@ -1477,7 +1524,8 @@ export interface PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesD } /** Get the specified public IP address in a cloud service. */ -export interface PublicIPAddressesGetCloudServicePublicIPAddress200Response extends HttpResponse { +export interface PublicIPAddressesGetCloudServicePublicIPAddress200Response + extends HttpResponse { status: "200"; body: PublicIPAddressOutput; } @@ -1492,19 +1540,16 @@ export interface PublicIPAddressesGetCloudServicePublicIPAddressDefaultResponse /** Deletes the specified public IP address. */ export interface PublicIPAddressesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified public IP address. */ export interface PublicIPAddressesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified public IP address. */ export interface PublicIPAddressesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified public IP address. */ @@ -1526,19 +1571,22 @@ export interface PublicIPAddressesGetDefaultResponse extends HttpResponse { } /** Creates or updates a static or dynamic public IP address. */ -export interface PublicIPAddressesCreateOrUpdate200Response extends HttpResponse { +export interface PublicIPAddressesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: PublicIPAddressOutput; } /** Creates or updates a static or dynamic public IP address. */ -export interface PublicIPAddressesCreateOrUpdate201Response extends HttpResponse { +export interface PublicIPAddressesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: PublicIPAddressOutput; } /** Creates or updates a static or dynamic public IP address. */ -export interface PublicIPAddressesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface PublicIPAddressesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1550,7 +1598,8 @@ export interface PublicIPAddressesUpdateTags200Response extends HttpResponse { } /** Updates public IP address tags. */ -export interface PublicIPAddressesUpdateTagsDefaultResponse extends HttpResponse { +export interface PublicIPAddressesUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1580,19 +1629,21 @@ export interface PublicIPAddressesListDefaultResponse extends HttpResponse { } /** Gets the Ddos Protection Status of a Public IP Address */ -export interface PublicIPAddressesDdosProtectionStatus200Response extends HttpResponse { +export interface PublicIPAddressesDdosProtectionStatus200Response + extends HttpResponse { status: "200"; body: PublicIpDdosProtectionStatusResultOutput; } /** Gets the Ddos Protection Status of a Public IP Address */ -export interface PublicIPAddressesDdosProtectionStatus202Response extends HttpResponse { +export interface PublicIPAddressesDdosProtectionStatus202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the Ddos Protection Status of a Public IP Address */ -export interface PublicIPAddressesDdosProtectionStatusDefaultResponse extends HttpResponse { +export interface PublicIPAddressesDdosProtectionStatusDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1642,19 +1693,16 @@ export interface PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressDefaul /** Deletes the specified custom IP prefix. */ export interface CustomIPPrefixesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified custom IP prefix. */ export interface CustomIPPrefixesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified custom IP prefix. */ export interface CustomIPPrefixesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified custom IP prefix. */ @@ -1676,19 +1724,22 @@ export interface CustomIPPrefixesGetDefaultResponse extends HttpResponse { } /** Creates or updates a custom IP prefix. */ -export interface CustomIPPrefixesCreateOrUpdate200Response extends HttpResponse { +export interface CustomIPPrefixesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: CustomIpPrefixOutput; } /** Creates or updates a custom IP prefix. */ -export interface CustomIPPrefixesCreateOrUpdate201Response extends HttpResponse { +export interface CustomIPPrefixesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: CustomIpPrefixOutput; } /** Creates or updates a custom IP prefix. */ -export interface CustomIPPrefixesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface CustomIPPrefixesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1700,7 +1751,8 @@ export interface CustomIPPrefixesUpdateTags200Response extends HttpResponse { } /** Updates custom IP prefix tags. */ -export interface CustomIPPrefixesUpdateTagsDefaultResponse extends HttpResponse { +export interface CustomIPPrefixesUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1732,19 +1784,16 @@ export interface CustomIPPrefixesListDefaultResponse extends HttpResponse { /** Deletes the specified DDoS custom policy. */ export interface DdosCustomPoliciesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified DDoS custom policy. */ export interface DdosCustomPoliciesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified DDoS custom policy. */ export interface DdosCustomPoliciesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified DDoS custom policy. */ @@ -1766,19 +1815,22 @@ export interface DdosCustomPoliciesGetDefaultResponse extends HttpResponse { } /** Creates or updates a DDoS custom policy. */ -export interface DdosCustomPoliciesCreateOrUpdate200Response extends HttpResponse { +export interface DdosCustomPoliciesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: DdosCustomPolicyOutput; } /** Creates or updates a DDoS custom policy. */ -export interface DdosCustomPoliciesCreateOrUpdate201Response extends HttpResponse { +export interface DdosCustomPoliciesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: DdosCustomPolicyOutput; } /** Creates or updates a DDoS custom policy. */ -export interface DdosCustomPoliciesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface DdosCustomPoliciesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1790,7 +1842,8 @@ export interface DdosCustomPoliciesUpdateTags200Response extends HttpResponse { } /** Update a DDoS custom policy tags. */ -export interface DdosCustomPoliciesUpdateTagsDefaultResponse extends HttpResponse { +export interface DdosCustomPoliciesUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1798,19 +1851,16 @@ export interface DdosCustomPoliciesUpdateTagsDefaultResponse extends HttpRespons /** Deletes the specified DDoS protection plan. */ export interface DdosProtectionPlansDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified DDoS protection plan. */ export interface DdosProtectionPlansDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified DDoS protection plan. */ export interface DdosProtectionPlansDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified DDoS protection plan. */ @@ -1832,19 +1882,22 @@ export interface DdosProtectionPlansGetDefaultResponse extends HttpResponse { } /** Creates or updates a DDoS protection plan. */ -export interface DdosProtectionPlansCreateOrUpdate200Response extends HttpResponse { +export interface DdosProtectionPlansCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: DdosProtectionPlanOutput; } /** Creates or updates a DDoS protection plan. */ -export interface DdosProtectionPlansCreateOrUpdate201Response extends HttpResponse { +export interface DdosProtectionPlansCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: DdosProtectionPlanOutput; } /** Creates or updates a DDoS protection plan. */ -export interface DdosProtectionPlansCreateOrUpdateDefaultResponse extends HttpResponse { +export interface DdosProtectionPlansCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1856,7 +1909,8 @@ export interface DdosProtectionPlansUpdateTags200Response extends HttpResponse { } /** Update a DDoS protection plan tags. */ -export interface DdosProtectionPlansUpdateTagsDefaultResponse extends HttpResponse { +export interface DdosProtectionPlansUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1874,31 +1928,36 @@ export interface DdosProtectionPlansListDefaultResponse extends HttpResponse { } /** Gets all the DDoS protection plans in a resource group. */ -export interface DdosProtectionPlansListByResourceGroup200Response extends HttpResponse { +export interface DdosProtectionPlansListByResourceGroup200Response + extends HttpResponse { status: "200"; body: DdosProtectionPlanListResultOutput; } /** Gets all the DDoS protection plans in a resource group. */ -export interface DdosProtectionPlansListByResourceGroupDefaultResponse extends HttpResponse { +export interface DdosProtectionPlansListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a DSCP Configuration. */ -export interface DscpConfigurationCreateOrUpdate200Response extends HttpResponse { +export interface DscpConfigurationCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: DscpConfigurationOutput; } /** Creates or updates a DSCP Configuration. */ -export interface DscpConfigurationCreateOrUpdate201Response extends HttpResponse { +export interface DscpConfigurationCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: DscpConfigurationOutput; } /** Creates or updates a DSCP Configuration. */ -export interface DscpConfigurationCreateOrUpdateDefaultResponse extends HttpResponse { +export interface DscpConfigurationCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1906,19 +1965,16 @@ export interface DscpConfigurationCreateOrUpdateDefaultResponse extends HttpResp /** Deletes a DSCP Configuration. */ export interface DscpConfigurationDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a DSCP Configuration. */ export interface DscpConfigurationDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a DSCP Configuration. */ export interface DscpConfigurationDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a DSCP Configuration. */ @@ -1970,55 +2026,61 @@ export interface AvailableEndpointServicesList200Response extends HttpResponse { } /** List what values of endpoint services are available for use. */ -export interface AvailableEndpointServicesListDefaultResponse extends HttpResponse { +export interface AvailableEndpointServicesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsDelete200Response extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsDelete202Response extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsDelete204Response extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsDeleteDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsGet200Response extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsGet200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitAuthorizationOutput; } /** Gets the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsGetDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates an authorization in the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitAuthorizationOutput; } /** Creates or updates an authorization in the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRouteCircuitAuthorizationOutput; } @@ -2031,169 +2093,191 @@ export interface ExpressRouteCircuitAuthorizationsCreateOrUpdateDefaultResponse } /** Gets all authorizations in an express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsList200Response extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsList200Response + extends HttpResponse { status: "200"; body: AuthorizationListResultOutput; } /** Gets all authorizations in an express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsListDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified peering from the specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsDelete200Response extends HttpResponse { +export interface ExpressRouteCircuitPeeringsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified peering from the specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsDelete202Response extends HttpResponse { +export interface ExpressRouteCircuitPeeringsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified peering from the specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsDelete204Response extends HttpResponse { +export interface ExpressRouteCircuitPeeringsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified peering from the specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsDeleteDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitPeeringsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified peering for the express route circuit. */ -export interface ExpressRouteCircuitPeeringsGet200Response extends HttpResponse { +export interface ExpressRouteCircuitPeeringsGet200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitPeeringOutput; } /** Gets the specified peering for the express route circuit. */ -export interface ExpressRouteCircuitPeeringsGetDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitPeeringsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a peering in the specified express route circuits. */ -export interface ExpressRouteCircuitPeeringsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRouteCircuitPeeringsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitPeeringOutput; } /** Creates or updates a peering in the specified express route circuits. */ -export interface ExpressRouteCircuitPeeringsCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRouteCircuitPeeringsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRouteCircuitPeeringOutput; } /** Creates or updates a peering in the specified express route circuits. */ -export interface ExpressRouteCircuitPeeringsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitPeeringsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all peerings in a specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsList200Response extends HttpResponse { +export interface ExpressRouteCircuitPeeringsList200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitPeeringListResultOutput; } /** Gets all peerings in a specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsListDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitPeeringsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsDelete200Response extends HttpResponse { +export interface ExpressRouteCircuitConnectionsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsDelete202Response extends HttpResponse { +export interface ExpressRouteCircuitConnectionsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsDelete204Response extends HttpResponse { +export interface ExpressRouteCircuitConnectionsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsDeleteDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitConnectionsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsGet200Response extends HttpResponse { +export interface ExpressRouteCircuitConnectionsGet200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitConnectionOutput; } /** Gets the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsGetDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a Express Route Circuit Connection in the specified express route circuits. */ -export interface ExpressRouteCircuitConnectionsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRouteCircuitConnectionsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitConnectionOutput; } /** Creates or updates a Express Route Circuit Connection in the specified express route circuits. */ -export interface ExpressRouteCircuitConnectionsCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRouteCircuitConnectionsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRouteCircuitConnectionOutput; } /** Creates or updates a Express Route Circuit Connection in the specified express route circuits. */ -export interface ExpressRouteCircuitConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitConnectionsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all global reach connections associated with a private peering in an express route circuit. */ -export interface ExpressRouteCircuitConnectionsList200Response extends HttpResponse { +export interface ExpressRouteCircuitConnectionsList200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitConnectionListResultOutput; } /** Gets all global reach connections associated with a private peering in an express route circuit. */ -export interface ExpressRouteCircuitConnectionsListDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. */ -export interface PeerExpressRouteCircuitConnectionsGet200Response extends HttpResponse { +export interface PeerExpressRouteCircuitConnectionsGet200Response + extends HttpResponse { status: "200"; body: PeerExpressRouteCircuitConnectionOutput; } /** Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. */ -export interface PeerExpressRouteCircuitConnectionsGetDefaultResponse extends HttpResponse { +export interface PeerExpressRouteCircuitConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all global reach peer connections associated with a private peering in an express route circuit. */ -export interface PeerExpressRouteCircuitConnectionsList200Response extends HttpResponse { +export interface PeerExpressRouteCircuitConnectionsList200Response + extends HttpResponse { status: "200"; body: PeerExpressRouteCircuitConnectionListResultOutput; } /** Gets all global reach peer connections associated with a private peering in an express route circuit. */ -export interface PeerExpressRouteCircuitConnectionsListDefaultResponse extends HttpResponse { +export interface PeerExpressRouteCircuitConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2201,23 +2285,21 @@ export interface PeerExpressRouteCircuitConnectionsListDefaultResponse extends H /** Deletes the specified express route circuit. */ export interface ExpressRouteCircuitsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified express route circuit. */ export interface ExpressRouteCircuitsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified express route circuit. */ export interface ExpressRouteCircuitsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified express route circuit. */ -export interface ExpressRouteCircuitsDeleteDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2235,85 +2317,96 @@ export interface ExpressRouteCircuitsGetDefaultResponse extends HttpResponse { } /** Creates or updates an express route circuit. */ -export interface ExpressRouteCircuitsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRouteCircuitsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitOutput; } /** Creates or updates an express route circuit. */ -export interface ExpressRouteCircuitsCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRouteCircuitsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRouteCircuitOutput; } /** Creates or updates an express route circuit. */ -export interface ExpressRouteCircuitsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates an express route circuit tags. */ -export interface ExpressRouteCircuitsUpdateTags200Response extends HttpResponse { +export interface ExpressRouteCircuitsUpdateTags200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitOutput; } /** Updates an express route circuit tags. */ -export interface ExpressRouteCircuitsUpdateTagsDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the currently advertised ARP table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListArpTable200Response extends HttpResponse { +export interface ExpressRouteCircuitsListArpTable200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitsArpTableListResultOutput; } /** Gets the currently advertised ARP table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListArpTable202Response extends HttpResponse { +export interface ExpressRouteCircuitsListArpTable202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the currently advertised ARP table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListArpTableDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsListArpTableDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the currently advertised routes table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTable200Response extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTable200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitsRoutesTableListResultOutput; } /** Gets the currently advertised routes table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTable202Response extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTable202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the currently advertised routes table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTableDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTableDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the currently advertised routes table summary associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTableSummary200Response extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTableSummary200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitsRoutesTableSummaryListResultOutput; } /** Gets the currently advertised routes table summary associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTableSummary202Response extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTableSummary202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the currently advertised routes table summary associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2325,19 +2418,22 @@ export interface ExpressRouteCircuitsGetStats200Response extends HttpResponse { } /** Gets all the stats from an express route circuit in a resource group. */ -export interface ExpressRouteCircuitsGetStatsDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsGetStatsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all stats from an express route circuit in a resource group. */ -export interface ExpressRouteCircuitsGetPeeringStats200Response extends HttpResponse { +export interface ExpressRouteCircuitsGetPeeringStats200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitStatsOutput; } /** Gets all stats from an express route circuit in a resource group. */ -export interface ExpressRouteCircuitsGetPeeringStatsDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsGetPeeringStatsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2361,37 +2457,43 @@ export interface ExpressRouteCircuitsListAll200Response extends HttpResponse { } /** Gets all the express route circuits in a subscription. */ -export interface ExpressRouteCircuitsListAllDefaultResponse extends HttpResponse { +export interface ExpressRouteCircuitsListAllDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the available express route service providers. */ -export interface ExpressRouteServiceProvidersList200Response extends HttpResponse { +export interface ExpressRouteServiceProvidersList200Response + extends HttpResponse { status: "200"; body: ExpressRouteServiceProviderListResultOutput; } /** Gets all the available express route service providers. */ -export interface ExpressRouteServiceProvidersListDefaultResponse extends HttpResponse { +export interface ExpressRouteServiceProvidersListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves all the ExpressRouteCrossConnections in a subscription. */ -export interface ExpressRouteCrossConnectionsList200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsList200Response + extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionListResultOutput; } /** Retrieves all the ExpressRouteCrossConnections in a subscription. */ -export interface ExpressRouteCrossConnectionsListDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves all the ExpressRouteCrossConnections in a resource group. */ -export interface ExpressRouteCrossConnectionsListByResourceGroup200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionListResultOutput; } @@ -2404,55 +2506,63 @@ export interface ExpressRouteCrossConnectionsListByResourceGroupDefaultResponse } /** Gets details about the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionsGet200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsGet200Response + extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionOutput; } /** Gets details about the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionsGetDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Update the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionOutput; } /** Update the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates an express route cross connection tags. */ -export interface ExpressRouteCrossConnectionsUpdateTags200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsUpdateTags200Response + extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionOutput; } /** Updates an express route cross connection tags. */ -export interface ExpressRouteCrossConnectionsUpdateTagsDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the currently advertised ARP table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListArpTable200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsListArpTable200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitsArpTableListResultOutput; } /** Gets the currently advertised ARP table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListArpTable202Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsListArpTable202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the currently advertised ARP table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListArpTableDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionsListArpTableDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2468,7 +2578,6 @@ export interface ExpressRouteCrossConnectionsListRoutesTableSummary200Response export interface ExpressRouteCrossConnectionsListRoutesTableSummary202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets the route table summary associated with the express route cross connection in a resource group. */ @@ -2479,79 +2588,88 @@ export interface ExpressRouteCrossConnectionsListRoutesTableSummaryDefaultRespon } /** Gets the currently advertised routes table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListRoutesTable200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsListRoutesTable200Response + extends HttpResponse { status: "200"; body: ExpressRouteCircuitsRoutesTableListResultOutput; } /** Gets the currently advertised routes table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListRoutesTable202Response extends HttpResponse { +export interface ExpressRouteCrossConnectionsListRoutesTable202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the currently advertised routes table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListRoutesTableDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionsListRoutesTableDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all peerings in a specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsList200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsList200Response + extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionPeeringListOutput; } /** Gets all peerings in a specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsListDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified peering from the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsDelete200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified peering from the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsDelete202Response extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified peering from the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsDelete204Response extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified peering from the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsDeleteDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified peering for the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsGet200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsGet200Response + extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionPeeringOutput; } /** Gets the specified peering for the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsGetDefaultResponse extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a peering in the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionPeeringOutput; } /** Creates or updates a peering in the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRouteCrossConnectionPeeringOutput; } @@ -2564,13 +2682,15 @@ export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdateDefaultRespons } /** Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. */ -export interface ExpressRoutePortsLocationsList200Response extends HttpResponse { +export interface ExpressRoutePortsLocationsList200Response + extends HttpResponse { status: "200"; body: ExpressRoutePortsLocationListResultOutput; } /** Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. */ -export interface ExpressRoutePortsLocationsListDefaultResponse extends HttpResponse { +export interface ExpressRoutePortsLocationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2582,7 +2702,8 @@ export interface ExpressRoutePortsLocationsGet200Response extends HttpResponse { } /** Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. */ -export interface ExpressRoutePortsLocationsGetDefaultResponse extends HttpResponse { +export interface ExpressRoutePortsLocationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2590,19 +2711,16 @@ export interface ExpressRoutePortsLocationsGetDefaultResponse extends HttpRespon /** Deletes the specified ExpressRoutePort resource. */ export interface ExpressRoutePortsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified ExpressRoutePort resource. */ export interface ExpressRoutePortsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified ExpressRoutePort resource. */ export interface ExpressRoutePortsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified ExpressRoutePort resource. */ @@ -2624,19 +2742,22 @@ export interface ExpressRoutePortsGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified ExpressRoutePort resource. */ -export interface ExpressRoutePortsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRoutePortsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRoutePortOutput; } /** Creates or updates the specified ExpressRoutePort resource. */ -export interface ExpressRoutePortsCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRoutePortsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRoutePortOutput; } /** Creates or updates the specified ExpressRoutePort resource. */ -export interface ExpressRoutePortsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ExpressRoutePortsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2648,19 +2769,22 @@ export interface ExpressRoutePortsUpdateTags200Response extends HttpResponse { } /** Update ExpressRoutePort tags. */ -export interface ExpressRoutePortsUpdateTagsDefaultResponse extends HttpResponse { +export interface ExpressRoutePortsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** List all the ExpressRoutePort resources in the specified resource group. */ -export interface ExpressRoutePortsListByResourceGroup200Response extends HttpResponse { +export interface ExpressRoutePortsListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ExpressRoutePortListResultOutput; } /** List all the ExpressRoutePort resources in the specified resource group. */ -export interface ExpressRoutePortsListByResourceGroupDefaultResponse extends HttpResponse { +export interface ExpressRoutePortsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2684,7 +2808,8 @@ export interface ExpressRoutePortsGenerateLOA200Response extends HttpResponse { } /** Generate a letter of authorization for the requested ExpressRoutePort resource. */ -export interface ExpressRoutePortsGenerateLOADefaultResponse extends HttpResponse { +export interface ExpressRoutePortsGenerateLOADefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2714,91 +2839,89 @@ export interface ExpressRouteLinksListDefaultResponse extends HttpResponse { } /** Deletes the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsDelete200Response extends HttpResponse { +export interface ExpressRoutePortAuthorizationsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsDelete202Response extends HttpResponse { +export interface ExpressRoutePortAuthorizationsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsDelete204Response extends HttpResponse { +export interface ExpressRoutePortAuthorizationsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsDeleteDefaultResponse extends HttpResponse { +export interface ExpressRoutePortAuthorizationsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsGet200Response extends HttpResponse { +export interface ExpressRoutePortAuthorizationsGet200Response + extends HttpResponse { status: "200"; body: ExpressRoutePortAuthorizationOutput; } /** Gets the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsGetDefaultResponse extends HttpResponse { +export interface ExpressRoutePortAuthorizationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates an authorization in the specified express route port. */ -export interface ExpressRoutePortAuthorizationsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRoutePortAuthorizationsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRoutePortAuthorizationOutput; } /** Creates or updates an authorization in the specified express route port. */ -export interface ExpressRoutePortAuthorizationsCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRoutePortAuthorizationsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRoutePortAuthorizationOutput; } /** Creates or updates an authorization in the specified express route port. */ -export interface ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all authorizations in an express route port. */ -export interface ExpressRoutePortAuthorizationsList200Response extends HttpResponse { +export interface ExpressRoutePortAuthorizationsList200Response + extends HttpResponse { status: "200"; body: ExpressRoutePortAuthorizationListResultOutput; } /** Gets all authorizations in an express route port. */ -export interface ExpressRoutePortAuthorizationsListDefaultResponse extends HttpResponse { +export interface ExpressRoutePortAuthorizationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves all the ExpressRouteProviderPorts in a subscription. */ -export interface ExpressRouteProviderPortsLocationList200Response extends HttpResponse { +export interface ExpressRouteProviderPortsLocationList200Response + extends HttpResponse { status: "200"; body: ExpressRouteProviderPortListResultOutput; } /** Retrieves all the ExpressRouteProviderPorts in a subscription. */ -export interface ExpressRouteProviderPortsLocationListDefaultResponse extends HttpResponse { - status: string; - body: CloudErrorOutput; -} - -/** Retrieves detail of a provider port. */ -export interface ExpressRouteProviderPortsGet200Response extends HttpResponse { - status: "200"; - body: ExpressRouteProviderPortOutput; -} - -/** Retrieves detail of a provider port. */ -export interface ExpressRouteProviderPortsGetDefaultResponse extends HttpResponse { +export interface ExpressRouteProviderPortsLocationListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2806,19 +2929,16 @@ export interface ExpressRouteProviderPortsGetDefaultResponse extends HttpRespons /** Deletes the specified Firewall Policy. */ export interface FirewallPoliciesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified Firewall Policy. */ export interface FirewallPoliciesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified Firewall Policy. */ export interface FirewallPoliciesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified Firewall Policy. */ @@ -2840,19 +2960,22 @@ export interface FirewallPoliciesGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified Firewall Policy. */ -export interface FirewallPoliciesCreateOrUpdate200Response extends HttpResponse { +export interface FirewallPoliciesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: FirewallPolicyOutput; } /** Creates or updates the specified Firewall Policy. */ -export interface FirewallPoliciesCreateOrUpdate201Response extends HttpResponse { +export interface FirewallPoliciesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: FirewallPolicyOutput; } /** Creates or updates the specified Firewall Policy. */ -export interface FirewallPoliciesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface FirewallPoliciesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2864,7 +2987,8 @@ export interface FirewallPoliciesUpdateTags200Response extends HttpResponse { } /** Updates tags of a Azure Firewall Policy resource. */ -export interface FirewallPoliciesUpdateTagsDefaultResponse extends HttpResponse { +export interface FirewallPoliciesUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2894,49 +3018,54 @@ export interface FirewallPoliciesListAllDefaultResponse extends HttpResponse { } /** Deletes the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsDelete200Response extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsDelete202Response extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsDelete204Response extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsDeleteDefaultResponse extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsGet200Response extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsGet200Response + extends HttpResponse { status: "200"; body: FirewallPolicyRuleCollectionGroupOutput; } /** Gets the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsGetDefaultResponse extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdate200Response extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: FirewallPolicyRuleCollectionGroupOutput; } /** Creates or updates the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdate201Response extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: FirewallPolicyRuleCollectionGroupOutput; } @@ -2949,85 +3078,99 @@ export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdateDefaultResponse } /** Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. */ -export interface FirewallPolicyRuleCollectionGroupsList200Response extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsList200Response + extends HttpResponse { status: "200"; body: FirewallPolicyRuleCollectionGroupListResultOutput; } /** Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. */ -export interface FirewallPolicyRuleCollectionGroupsListDefaultResponse extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves the current status of IDPS signatures for the relevant policy */ -export interface FirewallPolicyIdpsSignaturesList200Response extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesList200Response + extends HttpResponse { status: "200"; body: QueryResultsOutput; } /** Retrieves the current status of IDPS signatures for the relevant policy */ -export interface FirewallPolicyIdpsSignaturesListDefaultResponse extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Will update the status of policy's signature overrides for IDPS */ -export interface FirewallPolicyIdpsSignaturesOverridesPatch200Response extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesPatch200Response + extends HttpResponse { status: "200"; body: SignaturesOverridesOutput; } /** Will update the status of policy's signature overrides for IDPS */ -export interface FirewallPolicyIdpsSignaturesOverridesPatchDefaultResponse extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesPatchDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Will override/create a new signature overrides for the policy's IDPS */ -export interface FirewallPolicyIdpsSignaturesOverridesPut200Response extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesPut200Response + extends HttpResponse { status: "200"; body: SignaturesOverridesOutput; } /** Will override/create a new signature overrides for the policy's IDPS */ -export interface FirewallPolicyIdpsSignaturesOverridesPutDefaultResponse extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesPutDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Returns all signatures overrides for a specific policy. */ -export interface FirewallPolicyIdpsSignaturesOverridesGet200Response extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesGet200Response + extends HttpResponse { status: "200"; body: SignaturesOverridesOutput; } /** Returns all signatures overrides for a specific policy. */ -export interface FirewallPolicyIdpsSignaturesOverridesGetDefaultResponse extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Returns all signatures overrides objects for a specific policy as a list containing a single value. */ -export interface FirewallPolicyIdpsSignaturesOverridesList200Response extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesList200Response + extends HttpResponse { status: "200"; body: SignaturesOverridesListOutput; } /** Returns all signatures overrides objects for a specific policy as a list containing a single value. */ -export interface FirewallPolicyIdpsSignaturesOverridesListDefaultResponse extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves the current filter values for the signatures overrides */ -export interface FirewallPolicyIdpsSignaturesFilterValuesList200Response extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesFilterValuesList200Response + extends HttpResponse { status: "200"; body: SignatureOverridesFilterValuesResponseOutput; } /** Retrieves the current filter values for the signatures overrides */ -export interface FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3035,19 +3178,16 @@ export interface FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse ext /** Deletes the specified IpAllocation. */ export interface IpAllocationsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified IpAllocation. */ export interface IpAllocationsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified IpAllocation. */ export interface IpAllocationsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified IpAllocation. */ @@ -3081,7 +3221,8 @@ export interface IpAllocationsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates an IpAllocation in the specified resource group. */ -export interface IpAllocationsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface IpAllocationsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3111,13 +3252,15 @@ export interface IpAllocationsListDefaultResponse extends HttpResponse { } /** Gets all IpAllocations in a resource group. */ -export interface IpAllocationsListByResourceGroup200Response extends HttpResponse { +export interface IpAllocationsListByResourceGroup200Response + extends HttpResponse { status: "200"; body: IpAllocationListResultOutput; } /** Gets all IpAllocations in a resource group. */ -export interface IpAllocationsListByResourceGroupDefaultResponse extends HttpResponse { +export interface IpAllocationsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3167,19 +3310,16 @@ export interface IpGroupsUpdateGroupsDefaultResponse extends HttpResponse { /** Deletes the specified ipGroups. */ export interface IpGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified ipGroups. */ export interface IpGroupsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified ipGroups. */ export interface IpGroupsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified ipGroups. */ @@ -3195,7 +3335,8 @@ export interface IpGroupsListByResourceGroup200Response extends HttpResponse { } /** Gets all IpGroups in a resource group. */ -export interface IpGroupsListByResourceGroupDefaultResponse extends HttpResponse { +export interface IpGroupsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -3215,19 +3356,16 @@ export interface IpGroupsListDefaultResponse extends HttpResponse { /** Deletes the specified load balancer. */ export interface LoadBalancersDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified load balancer. */ export interface LoadBalancersDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified load balancer. */ export interface LoadBalancersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified load balancer. */ @@ -3261,7 +3399,8 @@ export interface LoadBalancersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a load balancer. */ -export interface LoadBalancersCreateOrUpdateDefaultResponse extends HttpResponse { +export interface LoadBalancersCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3303,127 +3442,143 @@ export interface LoadBalancersListDefaultResponse extends HttpResponse { } /** Swaps VIPs between two load balancers. */ -export interface LoadBalancersSwapPublicIpAddresses200Response extends HttpResponse { +export interface LoadBalancersSwapPublicIpAddresses200Response + extends HttpResponse { status: "200"; - body: Record; } /** Swaps VIPs between two load balancers. */ -export interface LoadBalancersSwapPublicIpAddresses202Response extends HttpResponse { +export interface LoadBalancersSwapPublicIpAddresses202Response + extends HttpResponse { status: "202"; - body: Record; } /** Swaps VIPs between two load balancers. */ -export interface LoadBalancersSwapPublicIpAddressesDefaultResponse extends HttpResponse { +export interface LoadBalancersSwapPublicIpAddressesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** List of inbound NAT rule port mappings. */ -export interface LoadBalancersListInboundNatRulePortMappings200Response extends HttpResponse { +export interface LoadBalancersListInboundNatRulePortMappings200Response + extends HttpResponse { status: "200"; body: BackendAddressInboundNatRulePortMappingsOutput; } /** List of inbound NAT rule port mappings. */ -export interface LoadBalancersListInboundNatRulePortMappings202Response extends HttpResponse { +export interface LoadBalancersListInboundNatRulePortMappings202Response + extends HttpResponse { status: "202"; body: BackendAddressInboundNatRulePortMappingsOutput; } /** List of inbound NAT rule port mappings. */ -export interface LoadBalancersListInboundNatRulePortMappingsDefaultResponse extends HttpResponse { +export interface LoadBalancersListInboundNatRulePortMappingsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the load balancer backed address pools. */ -export interface LoadBalancerBackendAddressPoolsList200Response extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsList200Response + extends HttpResponse { status: "200"; body: LoadBalancerBackendAddressPoolListResultOutput; } /** Gets all the load balancer backed address pools. */ -export interface LoadBalancerBackendAddressPoolsListDefaultResponse extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsGet200Response extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsGet200Response + extends HttpResponse { status: "200"; body: BackendAddressPoolOutput; } /** Gets load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsGetDefaultResponse extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsCreateOrUpdate200Response extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: BackendAddressPoolOutput; } /** Creates or updates a load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsCreateOrUpdate201Response extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: BackendAddressPoolOutput; } /** Creates or updates a load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsDelete200Response extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsDelete202Response extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsDelete204Response extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsDeleteDefaultResponse extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the load balancer frontend IP configurations. */ -export interface LoadBalancerFrontendIPConfigurationsList200Response extends HttpResponse { +export interface LoadBalancerFrontendIPConfigurationsList200Response + extends HttpResponse { status: "200"; body: LoadBalancerFrontendIPConfigurationListResultOutput; } /** Gets all the load balancer frontend IP configurations. */ -export interface LoadBalancerFrontendIPConfigurationsListDefaultResponse extends HttpResponse { +export interface LoadBalancerFrontendIPConfigurationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets load balancer frontend IP configuration. */ -export interface LoadBalancerFrontendIPConfigurationsGet200Response extends HttpResponse { +export interface LoadBalancerFrontendIPConfigurationsGet200Response + extends HttpResponse { status: "200"; body: FrontendIPConfigurationOutput; } /** Gets load balancer frontend IP configuration. */ -export interface LoadBalancerFrontendIPConfigurationsGetDefaultResponse extends HttpResponse { +export interface LoadBalancerFrontendIPConfigurationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3443,19 +3598,16 @@ export interface InboundNatRulesListDefaultResponse extends HttpResponse { /** Deletes the specified load balancer inbound NAT rule. */ export interface InboundNatRulesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified load balancer inbound NAT rule. */ export interface InboundNatRulesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified load balancer inbound NAT rule. */ export interface InboundNatRulesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified load balancer inbound NAT rule. */ @@ -3489,31 +3641,36 @@ export interface InboundNatRulesCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a load balancer inbound NAT rule. */ -export interface InboundNatRulesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface InboundNatRulesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the load balancing rules in a load balancer. */ -export interface LoadBalancerLoadBalancingRulesList200Response extends HttpResponse { +export interface LoadBalancerLoadBalancingRulesList200Response + extends HttpResponse { status: "200"; body: LoadBalancerLoadBalancingRuleListResultOutput; } /** Gets all the load balancing rules in a load balancer. */ -export interface LoadBalancerLoadBalancingRulesListDefaultResponse extends HttpResponse { +export interface LoadBalancerLoadBalancingRulesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified load balancer load balancing rule. */ -export interface LoadBalancerLoadBalancingRulesGet200Response extends HttpResponse { +export interface LoadBalancerLoadBalancingRulesGet200Response + extends HttpResponse { status: "200"; body: LoadBalancingRuleOutput; } /** Gets the specified load balancer load balancing rule. */ -export interface LoadBalancerLoadBalancingRulesGetDefaultResponse extends HttpResponse { +export interface LoadBalancerLoadBalancingRulesGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3525,7 +3682,8 @@ export interface LoadBalancerOutboundRulesList200Response extends HttpResponse { } /** Gets all the outbound rules in a load balancer. */ -export interface LoadBalancerOutboundRulesListDefaultResponse extends HttpResponse { +export interface LoadBalancerOutboundRulesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3537,19 +3695,22 @@ export interface LoadBalancerOutboundRulesGet200Response extends HttpResponse { } /** Gets the specified load balancer outbound rule. */ -export interface LoadBalancerOutboundRulesGetDefaultResponse extends HttpResponse { +export interface LoadBalancerOutboundRulesGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets associated load balancer network interfaces. */ -export interface LoadBalancerNetworkInterfacesList200Response extends HttpResponse { +export interface LoadBalancerNetworkInterfacesList200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceListResultOutput; } /** Gets associated load balancer network interfaces. */ -export interface LoadBalancerNetworkInterfacesListDefaultResponse extends HttpResponse { +export interface LoadBalancerNetworkInterfacesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3581,19 +3742,16 @@ export interface LoadBalancerProbesGetDefaultResponse extends HttpResponse { /** Deletes the specified nat gateway. */ export interface NatGatewaysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified nat gateway. */ export interface NatGatewaysDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified nat gateway. */ export interface NatGatewaysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified nat gateway. */ @@ -3629,7 +3787,6 @@ export interface NatGatewaysCreateOrUpdate201Response extends HttpResponse { /** Creates or updates a nat gateway. */ export interface NatGatewaysCreateOrUpdate202Response extends HttpResponse { status: "202"; - body: Record; } /** Creates or updates a nat gateway. */ @@ -3675,85 +3832,96 @@ export interface NatGatewaysListDefaultResponse extends HttpResponse { } /** Get all ip configurations in a network interface. */ -export interface NetworkInterfaceIPConfigurationsList200Response extends HttpResponse { +export interface NetworkInterfaceIPConfigurationsList200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceIPConfigurationListResultOutput; } /** Get all ip configurations in a network interface. */ -export interface NetworkInterfaceIPConfigurationsListDefaultResponse extends HttpResponse { +export interface NetworkInterfaceIPConfigurationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified network interface ip configuration. */ -export interface NetworkInterfaceIPConfigurationsGet200Response extends HttpResponse { +export interface NetworkInterfaceIPConfigurationsGet200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceIPConfigurationOutput; } /** Gets the specified network interface ip configuration. */ -export interface NetworkInterfaceIPConfigurationsGetDefaultResponse extends HttpResponse { +export interface NetworkInterfaceIPConfigurationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** List all load balancers in a network interface. */ -export interface NetworkInterfaceLoadBalancersList200Response extends HttpResponse { +export interface NetworkInterfaceLoadBalancersList200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceLoadBalancerListResultOutput; } /** List all load balancers in a network interface. */ -export interface NetworkInterfaceLoadBalancersListDefaultResponse extends HttpResponse { +export interface NetworkInterfaceLoadBalancersListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified tap configuration from the NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsDelete200Response extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified tap configuration from the NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsDelete202Response extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified tap configuration from the NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsDelete204Response extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified tap configuration from the NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsDeleteDefaultResponse extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Get the specified tap configuration on a network interface. */ -export interface NetworkInterfaceTapConfigurationsGet200Response extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsGet200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceTapConfigurationOutput; } /** Get the specified tap configuration on a network interface. */ -export interface NetworkInterfaceTapConfigurationsGetDefaultResponse extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a Tap configuration in the specified NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsCreateOrUpdate200Response extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceTapConfigurationOutput; } /** Creates or updates a Tap configuration in the specified NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsCreateOrUpdate201Response extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: NetworkInterfaceTapConfigurationOutput; } @@ -3766,13 +3934,15 @@ export interface NetworkInterfaceTapConfigurationsCreateOrUpdateDefaultResponse } /** Get all Tap configurations in a network interface. */ -export interface NetworkInterfaceTapConfigurationsList200Response extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsList200Response + extends HttpResponse { status: "200"; body: NetworkInterfaceTapConfigurationListResultOutput; } /** Get all Tap configurations in a network interface. */ -export interface NetworkInterfaceTapConfigurationsListDefaultResponse extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3802,7 +3972,8 @@ export interface NetworkManagersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a Network Manager. */ -export interface NetworkManagersCreateOrUpdateDefaultResponse extends HttpResponse { +export interface NetworkManagersCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3810,7 +3981,6 @@ export interface NetworkManagersCreateOrUpdateDefaultResponse extends HttpRespon /** Deletes a network manager. */ export interface NetworkManagersDelete200Response extends HttpResponse { status: "200"; - body: Record; } export interface NetworkManagersDelete202Headers { @@ -3821,14 +3991,12 @@ export interface NetworkManagersDelete202Headers { /** Deletes a network manager. */ export interface NetworkManagersDelete202Response extends HttpResponse { status: "202"; - body: Record; headers: RawHttpHeaders & NetworkManagersDelete202Headers; } /** Deletes a network manager. */ export interface NetworkManagersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a network manager. */ @@ -3850,13 +4018,15 @@ export interface NetworkManagersPatchDefaultResponse extends HttpResponse { } /** List all network managers in a subscription. */ -export interface NetworkManagersListBySubscription200Response extends HttpResponse { +export interface NetworkManagersListBySubscription200Response + extends HttpResponse { status: "200"; body: NetworkManagerListResultOutput; } /** List all network managers in a subscription. */ -export interface NetworkManagersListBySubscriptionDefaultResponse extends HttpResponse { +export interface NetworkManagersListBySubscriptionDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3898,13 +4068,15 @@ export interface NetworkManagerCommitsPostDefaultResponse extends HttpResponse { } /** Post to List of Network Manager Deployment Status. */ -export interface NetworkManagerDeploymentStatusList200Response extends HttpResponse { +export interface NetworkManagerDeploymentStatusList200Response + extends HttpResponse { status: "200"; body: NetworkManagerDeploymentStatusListResultOutput; } /** Post to List of Network Manager Deployment Status. */ -export interface NetworkManagerDeploymentStatusListDefaultResponse extends HttpResponse { +export interface NetworkManagerDeploymentStatusListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3931,43 +4103,48 @@ export interface SubscriptionNetworkManagerConnectionsCreateOrUpdateDefaultRespo } /** Get a specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsGet200Response extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsGet200Response + extends HttpResponse { status: "200"; body: NetworkManagerConnectionOutput; } /** Get a specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsGetDefaultResponse extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Delete specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsDelete200Response extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Delete specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsDelete204Response extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Delete specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsDeleteDefaultResponse extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** List all network manager connections created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsList200Response extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsList200Response + extends HttpResponse { status: "200"; body: NetworkManagerConnectionListResultOutput; } /** List all network manager connections created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsListDefaultResponse extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3994,27 +4171,29 @@ export interface ManagementGroupNetworkManagerConnectionsCreateOrUpdateDefaultRe } /** Get a specified connection created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsGet200Response extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsGet200Response + extends HttpResponse { status: "200"; body: NetworkManagerConnectionOutput; } /** Get a specified connection created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsGetDefaultResponse extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Delete specified pending connection created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsDelete200Response extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Delete specified pending connection created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsDelete204Response extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Delete specified pending connection created by this management group. */ @@ -4025,13 +4204,15 @@ export interface ManagementGroupNetworkManagerConnectionsDeleteDefaultResponse } /** List all network manager connections created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsList200Response extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsList200Response + extends HttpResponse { status: "200"; body: NetworkManagerConnectionListResultOutput; } /** List all network manager connections created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsListDefaultResponse extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4043,33 +4224,37 @@ export interface ConnectivityConfigurationsGet200Response extends HttpResponse { } /** Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name */ -export interface ConnectivityConfigurationsGetDefaultResponse extends HttpResponse { +export interface ConnectivityConfigurationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates/Updates a new network manager connectivity configuration */ -export interface ConnectivityConfigurationsCreateOrUpdate200Response extends HttpResponse { +export interface ConnectivityConfigurationsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ConnectivityConfigurationOutput; } /** Creates/Updates a new network manager connectivity configuration */ -export interface ConnectivityConfigurationsCreateOrUpdate201Response extends HttpResponse { +export interface ConnectivityConfigurationsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ConnectivityConfigurationOutput; } /** Creates/Updates a new network manager connectivity configuration */ -export interface ConnectivityConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ConnectivityConfigurationsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name */ -export interface ConnectivityConfigurationsDelete200Response extends HttpResponse { +export interface ConnectivityConfigurationsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } export interface ConnectivityConfigurationsDelete202Headers { @@ -4078,32 +4263,35 @@ export interface ConnectivityConfigurationsDelete202Headers { } /** Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name */ -export interface ConnectivityConfigurationsDelete202Response extends HttpResponse { +export interface ConnectivityConfigurationsDelete202Response + extends HttpResponse { status: "202"; - body: Record; headers: RawHttpHeaders & ConnectivityConfigurationsDelete202Headers; } /** Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name */ -export interface ConnectivityConfigurationsDelete204Response extends HttpResponse { +export interface ConnectivityConfigurationsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name */ -export interface ConnectivityConfigurationsDeleteDefaultResponse extends HttpResponse { +export interface ConnectivityConfigurationsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all the network manager connectivity configuration in a specified network manager. */ -export interface ConnectivityConfigurationsList200Response extends HttpResponse { +export interface ConnectivityConfigurationsList200Response + extends HttpResponse { status: "200"; body: ConnectivityConfigurationListResultOutput; } /** Lists all the network manager connectivity configuration in a specified network manager. */ -export interface ConnectivityConfigurationsListDefaultResponse extends HttpResponse { +export interface ConnectivityConfigurationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4145,7 +4333,8 @@ export interface NetworkGroupsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a network group. */ -export interface NetworkGroupsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface NetworkGroupsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4153,7 +4342,6 @@ export interface NetworkGroupsCreateOrUpdateDefaultResponse extends HttpResponse /** Deletes a network group. */ export interface NetworkGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } export interface NetworkGroupsDelete202Headers { @@ -4164,14 +4352,12 @@ export interface NetworkGroupsDelete202Headers { /** Deletes a network group. */ export interface NetworkGroupsDelete202Response extends HttpResponse { status: "202"; - body: Record; headers: RawHttpHeaders & NetworkGroupsDelete202Headers; } /** Deletes a network group. */ export interface NetworkGroupsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a network group. */ @@ -4217,7 +4403,8 @@ export interface StaticMembersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a static member. */ -export interface StaticMembersCreateOrUpdateDefaultResponse extends HttpResponse { +export interface StaticMembersCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4225,13 +4412,11 @@ export interface StaticMembersCreateOrUpdateDefaultResponse extends HttpResponse /** Deletes a static member. */ export interface StaticMembersDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a static member. */ export interface StaticMembersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a static member. */ @@ -4253,19 +4438,22 @@ export interface StaticMembersListDefaultResponse extends HttpResponse { } /** Creates or updates scope connection from Network Manager */ -export interface ScopeConnectionsCreateOrUpdate200Response extends HttpResponse { +export interface ScopeConnectionsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ScopeConnectionOutput; } /** Creates or updates scope connection from Network Manager */ -export interface ScopeConnectionsCreateOrUpdate201Response extends HttpResponse { +export interface ScopeConnectionsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ScopeConnectionOutput; } /** Creates or updates scope connection from Network Manager */ -export interface ScopeConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ScopeConnectionsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4285,13 +4473,11 @@ export interface ScopeConnectionsGetDefaultResponse extends HttpResponse { /** Delete the pending scope connection created by this network manager. */ export interface ScopeConnectionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete the pending scope connection created by this network manager. */ export interface ScopeConnectionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete the pending scope connection created by this network manager. */ @@ -4313,51 +4499,58 @@ export interface ScopeConnectionsListDefaultResponse extends HttpResponse { } /** Lists all the network manager security admin configurations in a network manager, in a paginated format. */ -export interface SecurityAdminConfigurationsList200Response extends HttpResponse { +export interface SecurityAdminConfigurationsList200Response + extends HttpResponse { status: "200"; body: SecurityAdminConfigurationListResultOutput; } /** Lists all the network manager security admin configurations in a network manager, in a paginated format. */ -export interface SecurityAdminConfigurationsListDefaultResponse extends HttpResponse { +export interface SecurityAdminConfigurationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsGet200Response extends HttpResponse { +export interface SecurityAdminConfigurationsGet200Response + extends HttpResponse { status: "200"; body: SecurityAdminConfigurationOutput; } /** Retrieves a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsGetDefaultResponse extends HttpResponse { +export interface SecurityAdminConfigurationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsCreateOrUpdate200Response extends HttpResponse { +export interface SecurityAdminConfigurationsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: SecurityAdminConfigurationOutput; } /** Creates or updates a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsCreateOrUpdate201Response extends HttpResponse { +export interface SecurityAdminConfigurationsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: SecurityAdminConfigurationOutput; } /** Creates or updates a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface SecurityAdminConfigurationsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsDelete200Response extends HttpResponse { +export interface SecurityAdminConfigurationsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } export interface SecurityAdminConfigurationsDelete202Headers { @@ -4366,20 +4559,21 @@ export interface SecurityAdminConfigurationsDelete202Headers { } /** Deletes a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsDelete202Response extends HttpResponse { +export interface SecurityAdminConfigurationsDelete202Response + extends HttpResponse { status: "202"; - body: Record; headers: RawHttpHeaders & SecurityAdminConfigurationsDelete202Headers; } /** Deletes a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsDelete204Response extends HttpResponse { +export interface SecurityAdminConfigurationsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsDeleteDefaultResponse extends HttpResponse { +export interface SecurityAdminConfigurationsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4409,19 +4603,22 @@ export interface AdminRuleCollectionsGetDefaultResponse extends HttpResponse { } /** Creates or updates an admin rule collection. */ -export interface AdminRuleCollectionsCreateOrUpdate200Response extends HttpResponse { +export interface AdminRuleCollectionsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: AdminRuleCollectionOutput; } /** Creates or updates an admin rule collection. */ -export interface AdminRuleCollectionsCreateOrUpdate201Response extends HttpResponse { +export interface AdminRuleCollectionsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: AdminRuleCollectionOutput; } /** Creates or updates an admin rule collection. */ -export interface AdminRuleCollectionsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface AdminRuleCollectionsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4429,7 +4626,6 @@ export interface AdminRuleCollectionsCreateOrUpdateDefaultResponse extends HttpR /** Deletes an admin rule collection. */ export interface AdminRuleCollectionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } export interface AdminRuleCollectionsDelete202Headers { @@ -4440,18 +4636,17 @@ export interface AdminRuleCollectionsDelete202Headers { /** Deletes an admin rule collection. */ export interface AdminRuleCollectionsDelete202Response extends HttpResponse { status: "202"; - body: Record; headers: RawHttpHeaders & AdminRuleCollectionsDelete202Headers; } /** Deletes an admin rule collection. */ export interface AdminRuleCollectionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes an admin rule collection. */ -export interface AdminRuleCollectionsDeleteDefaultResponse extends HttpResponse { +export interface AdminRuleCollectionsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4501,7 +4696,6 @@ export interface AdminRulesCreateOrUpdateDefaultResponse extends HttpResponse { /** Deletes an admin rule. */ export interface AdminRulesDelete200Response extends HttpResponse { status: "200"; - body: Record; } export interface AdminRulesDelete202Headers { @@ -4512,14 +4706,12 @@ export interface AdminRulesDelete202Headers { /** Deletes an admin rule. */ export interface AdminRulesDelete202Response extends HttpResponse { status: "202"; - body: Record; headers: RawHttpHeaders & AdminRulesDelete202Headers; } /** Deletes an admin rule. */ export interface AdminRulesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes an admin rule. */ @@ -4531,19 +4723,16 @@ export interface AdminRulesDeleteDefaultResponse extends HttpResponse { /** Deletes the specified network profile. */ export interface NetworkProfilesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified network profile. */ export interface NetworkProfilesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified network profile. */ export interface NetworkProfilesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified network profile. */ @@ -4577,7 +4766,8 @@ export interface NetworkProfilesCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a network profile. */ -export interface NetworkProfilesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface NetworkProfilesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4621,23 +4811,21 @@ export interface NetworkProfilesListDefaultResponse extends HttpResponse { /** Deletes the specified network security group. */ export interface NetworkSecurityGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified network security group. */ export interface NetworkSecurityGroupsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified network security group. */ export interface NetworkSecurityGroupsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified network security group. */ -export interface NetworkSecurityGroupsDeleteDefaultResponse extends HttpResponse { +export interface NetworkSecurityGroupsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4655,31 +4843,36 @@ export interface NetworkSecurityGroupsGetDefaultResponse extends HttpResponse { } /** Creates or updates a network security group in the specified resource group. */ -export interface NetworkSecurityGroupsCreateOrUpdate200Response extends HttpResponse { +export interface NetworkSecurityGroupsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: NetworkSecurityGroupOutput; } /** Creates or updates a network security group in the specified resource group. */ -export interface NetworkSecurityGroupsCreateOrUpdate201Response extends HttpResponse { +export interface NetworkSecurityGroupsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: NetworkSecurityGroupOutput; } /** Creates or updates a network security group in the specified resource group. */ -export interface NetworkSecurityGroupsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface NetworkSecurityGroupsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a network security group tags. */ -export interface NetworkSecurityGroupsUpdateTags200Response extends HttpResponse { +export interface NetworkSecurityGroupsUpdateTags200Response + extends HttpResponse { status: "200"; body: NetworkSecurityGroupOutput; } /** Updates a network security group tags. */ -export interface NetworkSecurityGroupsUpdateTagsDefaultResponse extends HttpResponse { +export interface NetworkSecurityGroupsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4691,7 +4884,8 @@ export interface NetworkSecurityGroupsListAll200Response extends HttpResponse { } /** Gets all network security groups in a subscription. */ -export interface NetworkSecurityGroupsListAllDefaultResponse extends HttpResponse { +export interface NetworkSecurityGroupsListAllDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4711,19 +4905,16 @@ export interface NetworkSecurityGroupsListDefaultResponse extends HttpResponse { /** Deletes the specified network security rule. */ export interface SecurityRulesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified network security rule. */ export interface SecurityRulesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified network security rule. */ export interface SecurityRulesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified network security rule. */ @@ -4757,7 +4948,8 @@ export interface SecurityRulesCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a security rule in the specified network security group. */ -export interface SecurityRulesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface SecurityRulesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4799,25 +4991,26 @@ export interface DefaultSecurityRulesGetDefaultResponse extends HttpResponse { } /** Deletes the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesDelete200Response extends HttpResponse { +export interface NetworkVirtualAppliancesDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesDelete202Response extends HttpResponse { +export interface NetworkVirtualAppliancesDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesDelete204Response extends HttpResponse { +export interface NetworkVirtualAppliancesDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesDeleteDefaultResponse extends HttpResponse { +export interface NetworkVirtualAppliancesDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4829,49 +5022,57 @@ export interface NetworkVirtualAppliancesGet200Response extends HttpResponse { } /** Gets the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesGetDefaultResponse extends HttpResponse { +export interface NetworkVirtualAppliancesGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesUpdateTags200Response extends HttpResponse { +export interface NetworkVirtualAppliancesUpdateTags200Response + extends HttpResponse { status: "200"; body: NetworkVirtualApplianceOutput; } /** Updates a Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesUpdateTagsDefaultResponse extends HttpResponse { +export interface NetworkVirtualAppliancesUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesCreateOrUpdate200Response extends HttpResponse { +export interface NetworkVirtualAppliancesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: NetworkVirtualApplianceOutput; } /** Creates or updates the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesCreateOrUpdate201Response extends HttpResponse { +export interface NetworkVirtualAppliancesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: NetworkVirtualApplianceOutput; } /** Creates or updates the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface NetworkVirtualAppliancesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all Network Virtual Appliances in a resource group. */ -export interface NetworkVirtualAppliancesListByResourceGroup200Response extends HttpResponse { +export interface NetworkVirtualAppliancesListByResourceGroup200Response + extends HttpResponse { status: "200"; body: NetworkVirtualApplianceListResultOutput; } /** Lists all Network Virtual Appliances in a resource group. */ -export interface NetworkVirtualAppliancesListByResourceGroupDefaultResponse extends HttpResponse { +export interface NetworkVirtualAppliancesListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4883,7 +5084,8 @@ export interface NetworkVirtualAppliancesList200Response extends HttpResponse { } /** Gets all Network Virtual Appliances in a subscription. */ -export interface NetworkVirtualAppliancesListDefaultResponse extends HttpResponse { +export interface NetworkVirtualAppliancesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4891,23 +5093,21 @@ export interface NetworkVirtualAppliancesListDefaultResponse extends HttpRespons /** Deletes the specified site from a Virtual Appliance. */ export interface VirtualApplianceSitesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified site from a Virtual Appliance. */ export interface VirtualApplianceSitesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified site from a Virtual Appliance. */ export interface VirtualApplianceSitesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified site from a Virtual Appliance. */ -export interface VirtualApplianceSitesDeleteDefaultResponse extends HttpResponse { +export interface VirtualApplianceSitesDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4925,19 +5125,22 @@ export interface VirtualApplianceSitesGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified Network Virtual Appliance Site. */ -export interface VirtualApplianceSitesCreateOrUpdate200Response extends HttpResponse { +export interface VirtualApplianceSitesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VirtualApplianceSiteOutput; } /** Creates or updates the specified Network Virtual Appliance Site. */ -export interface VirtualApplianceSitesCreateOrUpdate201Response extends HttpResponse { +export interface VirtualApplianceSitesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VirtualApplianceSiteOutput; } /** Creates or updates the specified Network Virtual Appliance Site. */ -export interface VirtualApplianceSitesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualApplianceSitesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4979,19 +5182,22 @@ export interface VirtualApplianceSkusGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified Network Virtual Appliance Inbound Security Rules. */ -export interface InboundSecurityRuleCreateOrUpdate200Response extends HttpResponse { +export interface InboundSecurityRuleCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: InboundSecurityRuleOutput; } /** Creates or updates the specified Network Virtual Appliance Inbound Security Rules. */ -export interface InboundSecurityRuleCreateOrUpdate201Response extends HttpResponse { +export interface InboundSecurityRuleCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: InboundSecurityRuleOutput; } /** Creates or updates the specified Network Virtual Appliance Inbound Security Rules. */ -export interface InboundSecurityRuleCreateOrUpdateDefaultResponse extends HttpResponse { +export interface InboundSecurityRuleCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5009,7 +5215,8 @@ export interface NetworkWatchersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a network watcher in the specified resource group. */ -export interface NetworkWatchersCreateOrUpdateDefaultResponse extends HttpResponse { +export interface NetworkWatchersCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5029,13 +5236,11 @@ export interface NetworkWatchersGetDefaultResponse extends HttpResponse { /** Deletes the specified network watcher resource. */ export interface NetworkWatchersDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified network watcher resource. */ export interface NetworkWatchersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified network watcher resource. */ @@ -5087,7 +5292,8 @@ export interface NetworkWatchersGetTopology200Response extends HttpResponse { } /** Gets the current network topology by resource group. */ -export interface NetworkWatchersGetTopologyDefaultResponse extends HttpResponse { +export interface NetworkWatchersGetTopologyDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5105,7 +5311,8 @@ export interface NetworkWatchersVerifyIPFlow202Response extends HttpResponse { } /** Verify IP flow from the specified VM to a location given the currently configured NSG rules. */ -export interface NetworkWatchersVerifyIPFlowDefaultResponse extends HttpResponse { +export interface NetworkWatchersVerifyIPFlowDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5129,157 +5336,183 @@ export interface NetworkWatchersGetNextHopDefaultResponse extends HttpResponse { } /** Gets the configured and effective security group rules on the specified VM. */ -export interface NetworkWatchersGetVMSecurityRules200Response extends HttpResponse { +export interface NetworkWatchersGetVMSecurityRules200Response + extends HttpResponse { status: "200"; body: SecurityGroupViewResultOutput; } /** Gets the configured and effective security group rules on the specified VM. */ -export interface NetworkWatchersGetVMSecurityRules202Response extends HttpResponse { +export interface NetworkWatchersGetVMSecurityRules202Response + extends HttpResponse { status: "202"; body: SecurityGroupViewResultOutput; } /** Gets the configured and effective security group rules on the specified VM. */ -export interface NetworkWatchersGetVMSecurityRulesDefaultResponse extends HttpResponse { +export interface NetworkWatchersGetVMSecurityRulesDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Initiate troubleshooting on a specified resource. */ -export interface NetworkWatchersGetTroubleshooting200Response extends HttpResponse { +export interface NetworkWatchersGetTroubleshooting200Response + extends HttpResponse { status: "200"; body: TroubleshootingResultOutput; } /** Initiate troubleshooting on a specified resource. */ -export interface NetworkWatchersGetTroubleshooting202Response extends HttpResponse { +export interface NetworkWatchersGetTroubleshooting202Response + extends HttpResponse { status: "202"; body: TroubleshootingResultOutput; } /** Initiate troubleshooting on a specified resource. */ -export interface NetworkWatchersGetTroubleshootingDefaultResponse extends HttpResponse { +export interface NetworkWatchersGetTroubleshootingDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Get the last completed troubleshooting result on a specified resource. */ -export interface NetworkWatchersGetTroubleshootingResult200Response extends HttpResponse { +export interface NetworkWatchersGetTroubleshootingResult200Response + extends HttpResponse { status: "200"; body: TroubleshootingResultOutput; } /** Get the last completed troubleshooting result on a specified resource. */ -export interface NetworkWatchersGetTroubleshootingResult202Response extends HttpResponse { +export interface NetworkWatchersGetTroubleshootingResult202Response + extends HttpResponse { status: "202"; body: TroubleshootingResultOutput; } /** Get the last completed troubleshooting result on a specified resource. */ -export interface NetworkWatchersGetTroubleshootingResultDefaultResponse extends HttpResponse { +export interface NetworkWatchersGetTroubleshootingResultDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Configures flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersSetFlowLogConfiguration200Response extends HttpResponse { +export interface NetworkWatchersSetFlowLogConfiguration200Response + extends HttpResponse { status: "200"; body: FlowLogInformationOutput; } /** Configures flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersSetFlowLogConfiguration202Response extends HttpResponse { +export interface NetworkWatchersSetFlowLogConfiguration202Response + extends HttpResponse { status: "202"; body: FlowLogInformationOutput; } /** Configures flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersSetFlowLogConfigurationDefaultResponse extends HttpResponse { +export interface NetworkWatchersSetFlowLogConfigurationDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Queries status of flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersGetFlowLogStatus200Response extends HttpResponse { +export interface NetworkWatchersGetFlowLogStatus200Response + extends HttpResponse { status: "200"; body: FlowLogInformationOutput; } /** Queries status of flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersGetFlowLogStatus202Response extends HttpResponse { +export interface NetworkWatchersGetFlowLogStatus202Response + extends HttpResponse { status: "202"; body: FlowLogInformationOutput; } /** Queries status of flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersGetFlowLogStatusDefaultResponse extends HttpResponse { +export interface NetworkWatchersGetFlowLogStatusDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. */ -export interface NetworkWatchersCheckConnectivity200Response extends HttpResponse { +export interface NetworkWatchersCheckConnectivity200Response + extends HttpResponse { status: "200"; body: ConnectivityInformationOutput; } /** Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. */ -export interface NetworkWatchersCheckConnectivity202Response extends HttpResponse { +export interface NetworkWatchersCheckConnectivity202Response + extends HttpResponse { status: "202"; body: ConnectivityInformationOutput; } /** Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. */ -export interface NetworkWatchersCheckConnectivityDefaultResponse extends HttpResponse { +export interface NetworkWatchersCheckConnectivityDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. */ -export interface NetworkWatchersGetAzureReachabilityReport200Response extends HttpResponse { +export interface NetworkWatchersGetAzureReachabilityReport200Response + extends HttpResponse { status: "200"; body: AzureReachabilityReportOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. */ -export interface NetworkWatchersGetAzureReachabilityReport202Response extends HttpResponse { +export interface NetworkWatchersGetAzureReachabilityReport202Response + extends HttpResponse { status: "202"; body: AzureReachabilityReportOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. */ -export interface NetworkWatchersGetAzureReachabilityReportDefaultResponse extends HttpResponse { +export interface NetworkWatchersGetAzureReachabilityReportDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. */ -export interface NetworkWatchersListAvailableProviders200Response extends HttpResponse { +export interface NetworkWatchersListAvailableProviders200Response + extends HttpResponse { status: "200"; body: AvailableProvidersListOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. */ -export interface NetworkWatchersListAvailableProviders202Response extends HttpResponse { +export interface NetworkWatchersListAvailableProviders202Response + extends HttpResponse { status: "202"; body: AvailableProvidersListOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. */ -export interface NetworkWatchersListAvailableProvidersDefaultResponse extends HttpResponse { +export interface NetworkWatchersListAvailableProvidersDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. */ -export interface NetworkWatchersGetNetworkConfigurationDiagnostic200Response extends HttpResponse { +export interface NetworkWatchersGetNetworkConfigurationDiagnostic200Response + extends HttpResponse { status: "200"; body: NetworkConfigurationDiagnosticResponseOutput; } /** Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. */ -export interface NetworkWatchersGetNetworkConfigurationDiagnostic202Response extends HttpResponse { +export interface NetworkWatchersGetNetworkConfigurationDiagnostic202Response + extends HttpResponse { status: "202"; body: NetworkConfigurationDiagnosticResponseOutput; } @@ -5318,13 +5551,11 @@ export interface PacketCapturesGetDefaultResponse extends HttpResponse { /** Deletes the specified packet capture session. */ export interface PacketCapturesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified packet capture session. */ export interface PacketCapturesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified packet capture session. */ @@ -5336,13 +5567,11 @@ export interface PacketCapturesDeleteDefaultResponse extends HttpResponse { /** Stops a specified packet capture session. */ export interface PacketCapturesStop200Response extends HttpResponse { status: "200"; - body: Record; } /** Stops a specified packet capture session. */ export interface PacketCapturesStop202Response extends HttpResponse { status: "202"; - body: Record; } /** Stops a specified packet capture session. */ @@ -5382,19 +5611,22 @@ export interface PacketCapturesListDefaultResponse extends HttpResponse { } /** Create or update a connection monitor. */ -export interface ConnectionMonitorsCreateOrUpdate200Response extends HttpResponse { +export interface ConnectionMonitorsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ConnectionMonitorResultOutput; } /** Create or update a connection monitor. */ -export interface ConnectionMonitorsCreateOrUpdate201Response extends HttpResponse { +export interface ConnectionMonitorsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ConnectionMonitorResultOutput; } /** Create or update a connection monitor. */ -export interface ConnectionMonitorsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ConnectionMonitorsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5414,13 +5646,11 @@ export interface ConnectionMonitorsGetDefaultResponse extends HttpResponse { /** Deletes the specified connection monitor. */ export interface ConnectionMonitorsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified connection monitor. */ export interface ConnectionMonitorsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified connection monitor. */ @@ -5436,7 +5666,8 @@ export interface ConnectionMonitorsUpdateTags200Response extends HttpResponse { } /** Update tags of the specified connection monitor. */ -export interface ConnectionMonitorsUpdateTagsDefaultResponse extends HttpResponse { +export interface ConnectionMonitorsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5444,13 +5675,11 @@ export interface ConnectionMonitorsUpdateTagsDefaultResponse extends HttpRespons /** Stops the specified connection monitor. */ export interface ConnectionMonitorsStop200Response extends HttpResponse { status: "200"; - body: Record; } /** Stops the specified connection monitor. */ export interface ConnectionMonitorsStop202Response extends HttpResponse { status: "202"; - body: Record; } /** Stops the specified connection monitor. */ @@ -5462,13 +5691,11 @@ export interface ConnectionMonitorsStopDefaultResponse extends HttpResponse { /** Starts the specified connection monitor. */ export interface ConnectionMonitorsStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts the specified connection monitor. */ export interface ConnectionMonitorsStart202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts the specified connection monitor. */ @@ -5552,13 +5779,11 @@ export interface FlowLogsGetDefaultResponse extends HttpResponse { /** Deletes the specified flow log resource. */ export interface FlowLogsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified flow log resource. */ export interface FlowLogsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified flow log resource. */ @@ -5594,19 +5819,16 @@ export interface OperationsListDefaultResponse extends HttpResponse { /** Deletes the specified private endpoint. */ export interface PrivateEndpointsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified private endpoint. */ export interface PrivateEndpointsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified private endpoint. */ export interface PrivateEndpointsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified private endpoint. */ @@ -5628,19 +5850,22 @@ export interface PrivateEndpointsGetDefaultResponse extends HttpResponse { } /** Creates or updates an private endpoint in the specified resource group. */ -export interface PrivateEndpointsCreateOrUpdate200Response extends HttpResponse { +export interface PrivateEndpointsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: PrivateEndpointOutput; } /** Creates or updates an private endpoint in the specified resource group. */ -export interface PrivateEndpointsCreateOrUpdate201Response extends HttpResponse { +export interface PrivateEndpointsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: PrivateEndpointOutput; } /** Creates or updates an private endpoint in the specified resource group. */ -export interface PrivateEndpointsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface PrivateEndpointsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -5658,31 +5883,36 @@ export interface PrivateEndpointsListDefaultResponse extends HttpResponse { } /** Gets all private endpoints in a subscription. */ -export interface PrivateEndpointsListBySubscription200Response extends HttpResponse { +export interface PrivateEndpointsListBySubscription200Response + extends HttpResponse { status: "200"; body: PrivateEndpointListResultOutput; } /** Gets all private endpoints in a subscription. */ -export interface PrivateEndpointsListBySubscriptionDefaultResponse extends HttpResponse { +export interface PrivateEndpointsListBySubscriptionDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } /** Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. */ -export interface AvailablePrivateEndpointTypesList200Response extends HttpResponse { +export interface AvailablePrivateEndpointTypesList200Response + extends HttpResponse { status: "200"; body: AvailablePrivateEndpointTypesResultOutput; } /** Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. */ -export interface AvailablePrivateEndpointTypesListDefaultResponse extends HttpResponse { +export interface AvailablePrivateEndpointTypesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. */ -export interface AvailablePrivateEndpointTypesListByResourceGroup200Response extends HttpResponse { +export interface AvailablePrivateEndpointTypesListByResourceGroup200Response + extends HttpResponse { status: "200"; body: AvailablePrivateEndpointTypesResultOutput; } @@ -5697,23 +5927,21 @@ export interface AvailablePrivateEndpointTypesListByResourceGroupDefaultResponse /** Deletes the specified private dns zone group. */ export interface PrivateDnsZoneGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified private dns zone group. */ export interface PrivateDnsZoneGroupsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified private dns zone group. */ export interface PrivateDnsZoneGroupsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified private dns zone group. */ -export interface PrivateDnsZoneGroupsDeleteDefaultResponse extends HttpResponse { +export interface PrivateDnsZoneGroupsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5731,19 +5959,22 @@ export interface PrivateDnsZoneGroupsGetDefaultResponse extends HttpResponse { } /** Creates or updates a private dns zone group in the specified private endpoint. */ -export interface PrivateDnsZoneGroupsCreateOrUpdate200Response extends HttpResponse { +export interface PrivateDnsZoneGroupsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: PrivateDnsZoneGroupOutput; } /** Creates or updates a private dns zone group in the specified private endpoint. */ -export interface PrivateDnsZoneGroupsCreateOrUpdate201Response extends HttpResponse { +export interface PrivateDnsZoneGroupsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: PrivateDnsZoneGroupOutput; } /** Creates or updates a private dns zone group in the specified private endpoint. */ -export interface PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5763,19 +5994,16 @@ export interface PrivateDnsZoneGroupsListDefaultResponse extends HttpResponse { /** Deletes the specified private link service. */ export interface PrivateLinkServicesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified private link service. */ export interface PrivateLinkServicesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified private link service. */ export interface PrivateLinkServicesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified private link service. */ @@ -5797,19 +6025,22 @@ export interface PrivateLinkServicesGetDefaultResponse extends HttpResponse { } /** Creates or updates an private link service in the specified resource group. */ -export interface PrivateLinkServicesCreateOrUpdate200Response extends HttpResponse { +export interface PrivateLinkServicesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: PrivateLinkServiceOutput; } /** Creates or updates an private link service in the specified resource group. */ -export interface PrivateLinkServicesCreateOrUpdate201Response extends HttpResponse { +export interface PrivateLinkServicesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: PrivateLinkServiceOutput; } /** Creates or updates an private link service in the specified resource group. */ -export interface PrivateLinkServicesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface PrivateLinkServicesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -5827,19 +6058,22 @@ export interface PrivateLinkServicesListDefaultResponse extends HttpResponse { } /** Gets all private link service in a subscription. */ -export interface PrivateLinkServicesListBySubscription200Response extends HttpResponse { +export interface PrivateLinkServicesListBySubscription200Response + extends HttpResponse { status: "200"; body: PrivateLinkServiceListResultOutput; } /** Gets all private link service in a subscription. */ -export interface PrivateLinkServicesListBySubscriptionDefaultResponse extends HttpResponse { +export interface PrivateLinkServicesListBySubscriptionDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } /** Get the specific private end point connection by specific private link service in the resource group. */ -export interface PrivateLinkServicesGetPrivateEndpointConnection200Response extends HttpResponse { +export interface PrivateLinkServicesGetPrivateEndpointConnection200Response + extends HttpResponse { status: "200"; body: PrivateEndpointConnectionOutput; } @@ -5869,21 +6103,18 @@ export interface PrivateLinkServicesUpdatePrivateEndpointConnectionDefaultRespon export interface PrivateLinkServicesDeletePrivateEndpointConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete private end point connection for a private link service in a subscription. */ export interface PrivateLinkServicesDeletePrivateEndpointConnection202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete private end point connection for a private link service in a subscription. */ export interface PrivateLinkServicesDeletePrivateEndpointConnection204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete private end point connection for a private link service in a subscription. */ @@ -5894,7 +6125,8 @@ export interface PrivateLinkServicesDeletePrivateEndpointConnectionDefaultRespon } /** Gets all private end point connections for a specific private link service. */ -export interface PrivateLinkServicesListPrivateEndpointConnections200Response extends HttpResponse { +export interface PrivateLinkServicesListPrivateEndpointConnections200Response + extends HttpResponse { status: "200"; body: PrivateEndpointConnectionListResultOutput; } @@ -5917,7 +6149,6 @@ export interface PrivateLinkServicesCheckPrivateLinkServiceVisibility200Response export interface PrivateLinkServicesCheckPrivateLinkServiceVisibility202Response extends HttpResponse { status: "202"; - body: Record; } /** Checks whether the subscription is visible to private link service. */ @@ -5938,7 +6169,6 @@ export interface PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceG export interface PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup202Response extends HttpResponse { status: "202"; - body: Record; } /** Checks whether the subscription is visible to private link service in the specified resource group. */ @@ -5979,19 +6209,16 @@ export interface PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourc /** Deletes the specified public IP prefix. */ export interface PublicIPPrefixesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified public IP prefix. */ export interface PublicIPPrefixesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified public IP prefix. */ export interface PublicIPPrefixesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified public IP prefix. */ @@ -6013,19 +6240,22 @@ export interface PublicIPPrefixesGetDefaultResponse extends HttpResponse { } /** Creates or updates a static or dynamic public IP prefix. */ -export interface PublicIPPrefixesCreateOrUpdate200Response extends HttpResponse { +export interface PublicIPPrefixesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: PublicIPPrefixOutput; } /** Creates or updates a static or dynamic public IP prefix. */ -export interface PublicIPPrefixesCreateOrUpdate201Response extends HttpResponse { +export interface PublicIPPrefixesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: PublicIPPrefixOutput; } /** Creates or updates a static or dynamic public IP prefix. */ -export interface PublicIPPrefixesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface PublicIPPrefixesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6037,7 +6267,8 @@ export interface PublicIPPrefixesUpdateTags200Response extends HttpResponse { } /** Updates public IP prefix tags. */ -export interface PublicIPPrefixesUpdateTagsDefaultResponse extends HttpResponse { +export interface PublicIPPrefixesUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6069,19 +6300,16 @@ export interface PublicIPPrefixesListDefaultResponse extends HttpResponse { /** Deletes the specified route filter. */ export interface RouteFiltersDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified route filter. */ export interface RouteFiltersDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified route filter. */ export interface RouteFiltersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified route filter. */ @@ -6115,7 +6343,8 @@ export interface RouteFiltersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a route filter in a specified resource group. */ -export interface RouteFiltersCreateOrUpdateDefaultResponse extends HttpResponse { +export interface RouteFiltersCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6133,13 +6362,15 @@ export interface RouteFiltersUpdateTagsDefaultResponse extends HttpResponse { } /** Gets all route filters in a resource group. */ -export interface RouteFiltersListByResourceGroup200Response extends HttpResponse { +export interface RouteFiltersListByResourceGroup200Response + extends HttpResponse { status: "200"; body: RouteFilterListResultOutput; } /** Gets all route filters in a resource group. */ -export interface RouteFiltersListByResourceGroupDefaultResponse extends HttpResponse { +export interface RouteFiltersListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6159,19 +6390,16 @@ export interface RouteFiltersListDefaultResponse extends HttpResponse { /** Deletes the specified rule from a route filter. */ export interface RouteFilterRulesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified rule from a route filter. */ export interface RouteFilterRulesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified rule from a route filter. */ export interface RouteFilterRulesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified rule from a route filter. */ @@ -6193,31 +6421,36 @@ export interface RouteFilterRulesGetDefaultResponse extends HttpResponse { } /** Creates or updates a route in the specified route filter. */ -export interface RouteFilterRulesCreateOrUpdate200Response extends HttpResponse { +export interface RouteFilterRulesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: RouteFilterRuleOutput; } /** Creates or updates a route in the specified route filter. */ -export interface RouteFilterRulesCreateOrUpdate201Response extends HttpResponse { +export interface RouteFilterRulesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: RouteFilterRuleOutput; } /** Creates or updates a route in the specified route filter. */ -export interface RouteFilterRulesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface RouteFilterRulesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all RouteFilterRules in a route filter. */ -export interface RouteFilterRulesListByRouteFilter200Response extends HttpResponse { +export interface RouteFilterRulesListByRouteFilter200Response + extends HttpResponse { status: "200"; body: RouteFilterRuleListResultOutput; } /** Gets all RouteFilterRules in a route filter. */ -export interface RouteFilterRulesListByRouteFilterDefaultResponse extends HttpResponse { +export interface RouteFilterRulesListByRouteFilterDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6225,19 +6458,16 @@ export interface RouteFilterRulesListByRouteFilterDefaultResponse extends HttpRe /** Deletes the specified route table. */ export interface RouteTablesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified route table. */ export interface RouteTablesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified route table. */ export interface RouteTablesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified route table. */ @@ -6315,19 +6545,16 @@ export interface RouteTablesListAllDefaultResponse extends HttpResponse { /** Deletes the specified route from a route table. */ export interface RoutesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified route from a route table. */ export interface RoutesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified route from a route table. */ export interface RoutesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified route from a route table. */ @@ -6379,25 +6606,26 @@ export interface RoutesListDefaultResponse extends HttpResponse { } /** Deletes the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersDelete200Response extends HttpResponse { +export interface SecurityPartnerProvidersDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersDelete202Response extends HttpResponse { +export interface SecurityPartnerProvidersDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersDelete204Response extends HttpResponse { +export interface SecurityPartnerProvidersDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersDeleteDefaultResponse extends HttpResponse { +export interface SecurityPartnerProvidersDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6409,49 +6637,57 @@ export interface SecurityPartnerProvidersGet200Response extends HttpResponse { } /** Gets the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersGetDefaultResponse extends HttpResponse { +export interface SecurityPartnerProvidersGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersCreateOrUpdate200Response extends HttpResponse { +export interface SecurityPartnerProvidersCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: SecurityPartnerProviderOutput; } /** Creates or updates the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersCreateOrUpdate201Response extends HttpResponse { +export interface SecurityPartnerProvidersCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: SecurityPartnerProviderOutput; } /** Creates or updates the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersCreateOrUpdateDefaultResponse extends HttpResponse { +export interface SecurityPartnerProvidersCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates tags of a Security Partner Provider resource. */ -export interface SecurityPartnerProvidersUpdateTags200Response extends HttpResponse { +export interface SecurityPartnerProvidersUpdateTags200Response + extends HttpResponse { status: "200"; body: SecurityPartnerProviderOutput; } /** Updates tags of a Security Partner Provider resource. */ -export interface SecurityPartnerProvidersUpdateTagsDefaultResponse extends HttpResponse { +export interface SecurityPartnerProvidersUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all Security Partner Providers in a resource group. */ -export interface SecurityPartnerProvidersListByResourceGroup200Response extends HttpResponse { +export interface SecurityPartnerProvidersListByResourceGroup200Response + extends HttpResponse { status: "200"; body: SecurityPartnerProviderListResultOutput; } /** Lists all Security Partner Providers in a resource group. */ -export interface SecurityPartnerProvidersListByResourceGroupDefaultResponse extends HttpResponse { +export interface SecurityPartnerProvidersListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6463,7 +6699,8 @@ export interface SecurityPartnerProvidersList200Response extends HttpResponse { } /** Gets all the Security Partner Providers in a subscription. */ -export interface SecurityPartnerProvidersListDefaultResponse extends HttpResponse { +export interface SecurityPartnerProvidersListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6483,23 +6720,21 @@ export interface BgpServiceCommunitiesListDefaultResponse extends HttpResponse { /** Deletes the specified service endpoint policy. */ export interface ServiceEndpointPoliciesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified service endpoint policy. */ export interface ServiceEndpointPoliciesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified service endpoint policy. */ export interface ServiceEndpointPoliciesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified service endpoint policy. */ -export interface ServiceEndpointPoliciesDeleteDefaultResponse extends HttpResponse { +export interface ServiceEndpointPoliciesDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6511,37 +6746,43 @@ export interface ServiceEndpointPoliciesGet200Response extends HttpResponse { } /** Gets the specified service Endpoint Policies in a specified resource group. */ -export interface ServiceEndpointPoliciesGetDefaultResponse extends HttpResponse { +export interface ServiceEndpointPoliciesGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a service Endpoint Policies. */ -export interface ServiceEndpointPoliciesCreateOrUpdate200Response extends HttpResponse { +export interface ServiceEndpointPoliciesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ServiceEndpointPolicyOutput; } /** Creates or updates a service Endpoint Policies. */ -export interface ServiceEndpointPoliciesCreateOrUpdate201Response extends HttpResponse { +export interface ServiceEndpointPoliciesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ServiceEndpointPolicyOutput; } /** Creates or updates a service Endpoint Policies. */ -export interface ServiceEndpointPoliciesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ServiceEndpointPoliciesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates tags of a service endpoint policy. */ -export interface ServiceEndpointPoliciesUpdateTags200Response extends HttpResponse { +export interface ServiceEndpointPoliciesUpdateTags200Response + extends HttpResponse { status: "200"; body: ServiceEndpointPolicyOutput; } /** Updates tags of a service endpoint policy. */ -export interface ServiceEndpointPoliciesUpdateTagsDefaultResponse extends HttpResponse { +export interface ServiceEndpointPoliciesUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6553,67 +6794,75 @@ export interface ServiceEndpointPoliciesList200Response extends HttpResponse { } /** Gets all the service endpoint policies in a subscription. */ -export interface ServiceEndpointPoliciesListDefaultResponse extends HttpResponse { +export interface ServiceEndpointPoliciesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all service endpoint Policies in a resource group. */ -export interface ServiceEndpointPoliciesListByResourceGroup200Response extends HttpResponse { +export interface ServiceEndpointPoliciesListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ServiceEndpointPolicyListResultOutput; } /** Gets all service endpoint Policies in a resource group. */ -export interface ServiceEndpointPoliciesListByResourceGroupDefaultResponse extends HttpResponse { +export interface ServiceEndpointPoliciesListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified ServiceEndpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionsDelete200Response extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified ServiceEndpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionsDelete202Response extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified ServiceEndpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionsDelete204Response extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified ServiceEndpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionsDeleteDefaultResponse extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Get the specified service endpoint policy definitions from service endpoint policy. */ -export interface ServiceEndpointPolicyDefinitionsGet200Response extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsGet200Response + extends HttpResponse { status: "200"; body: ServiceEndpointPolicyDefinitionOutput; } /** Get the specified service endpoint policy definitions from service endpoint policy. */ -export interface ServiceEndpointPolicyDefinitionsGetDefaultResponse extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a service endpoint policy definition in the specified service endpoint policy. */ -export interface ServiceEndpointPolicyDefinitionsCreateOrUpdate200Response extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ServiceEndpointPolicyDefinitionOutput; } /** Creates or updates a service endpoint policy definition in the specified service endpoint policy. */ -export interface ServiceEndpointPolicyDefinitionsCreateOrUpdate201Response extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ServiceEndpointPolicyDefinitionOutput; } @@ -6678,19 +6927,16 @@ export interface UsagesListDefaultResponse extends HttpResponse { /** Deletes the specified virtual network. */ export interface VirtualNetworksDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified virtual network. */ export interface VirtualNetworksDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified virtual network. */ export interface VirtualNetworksDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified virtual network. */ @@ -6724,7 +6970,8 @@ export interface VirtualNetworksCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a virtual network in the specified resource group. */ -export interface VirtualNetworksCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualNetworksCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6766,13 +7013,15 @@ export interface VirtualNetworksListDefaultResponse extends HttpResponse { } /** Checks whether a private IP address is available for use. */ -export interface VirtualNetworksCheckIPAddressAvailability200Response extends HttpResponse { +export interface VirtualNetworksCheckIPAddressAvailability200Response + extends HttpResponse { status: "200"; body: IPAddressAvailabilityResultOutput; } /** Checks whether a private IP address is available for use. */ -export interface VirtualNetworksCheckIPAddressAvailabilityDefaultResponse extends HttpResponse { +export interface VirtualNetworksCheckIPAddressAvailabilityDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6790,19 +7039,21 @@ export interface VirtualNetworksListUsageDefaultResponse extends HttpResponse { } /** Gets the Ddos Protection Status of all IP Addresses under the Virtual Network */ -export interface VirtualNetworksListDdosProtectionStatus200Response extends HttpResponse { +export interface VirtualNetworksListDdosProtectionStatus200Response + extends HttpResponse { status: "200"; body: VirtualNetworkDdosProtectionStatusResultOutput; } /** Gets the Ddos Protection Status of all IP Addresses under the Virtual Network */ -export interface VirtualNetworksListDdosProtectionStatus202Response extends HttpResponse { +export interface VirtualNetworksListDdosProtectionStatus202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the Ddos Protection Status of all IP Addresses under the Virtual Network */ -export interface VirtualNetworksListDdosProtectionStatusDefaultResponse extends HttpResponse { +export interface VirtualNetworksListDdosProtectionStatusDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6810,19 +7061,16 @@ export interface VirtualNetworksListDdosProtectionStatusDefaultResponse extends /** Deletes the specified subnet. */ export interface SubnetsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified subnet. */ export interface SubnetsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified subnet. */ export interface SubnetsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified subnet. */ @@ -6864,35 +7112,35 @@ export interface SubnetsCreateOrUpdateDefaultResponse extends HttpResponse { /** Prepares a subnet by applying network intent policies. */ export interface SubnetsPrepareNetworkPolicies200Response extends HttpResponse { status: "200"; - body: Record; } /** Prepares a subnet by applying network intent policies. */ export interface SubnetsPrepareNetworkPolicies202Response extends HttpResponse { status: "202"; - body: Record; } /** Prepares a subnet by applying network intent policies. */ -export interface SubnetsPrepareNetworkPoliciesDefaultResponse extends HttpResponse { +export interface SubnetsPrepareNetworkPoliciesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Unprepares a subnet by removing network intent policies. */ -export interface SubnetsUnprepareNetworkPolicies200Response extends HttpResponse { +export interface SubnetsUnprepareNetworkPolicies200Response + extends HttpResponse { status: "200"; - body: Record; } /** Unprepares a subnet by removing network intent policies. */ -export interface SubnetsUnprepareNetworkPolicies202Response extends HttpResponse { +export interface SubnetsUnprepareNetworkPolicies202Response + extends HttpResponse { status: "202"; - body: Record; } /** Unprepares a subnet by removing network intent policies. */ -export interface SubnetsUnprepareNetworkPoliciesDefaultResponse extends HttpResponse { +export interface SubnetsUnprepareNetworkPoliciesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6916,7 +7164,8 @@ export interface ResourceNavigationLinksList200Response extends HttpResponse { } /** Gets a list of resource navigation links for a subnet. */ -export interface ResourceNavigationLinksListDefaultResponse extends HttpResponse { +export interface ResourceNavigationLinksListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6928,7 +7177,8 @@ export interface ServiceAssociationLinksList200Response extends HttpResponse { } /** Gets a list of service association links for a subnet. */ -export interface ServiceAssociationLinksListDefaultResponse extends HttpResponse { +export interface ServiceAssociationLinksListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6936,23 +7186,21 @@ export interface ServiceAssociationLinksListDefaultResponse extends HttpResponse /** Deletes the specified virtual network peering. */ export interface VirtualNetworkPeeringsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified virtual network peering. */ export interface VirtualNetworkPeeringsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified virtual network peering. */ export interface VirtualNetworkPeeringsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified virtual network peering. */ -export interface VirtualNetworkPeeringsDeleteDefaultResponse extends HttpResponse { +export interface VirtualNetworkPeeringsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6970,19 +7218,22 @@ export interface VirtualNetworkPeeringsGetDefaultResponse extends HttpResponse { } /** Creates or updates a peering in the specified virtual network. */ -export interface VirtualNetworkPeeringsCreateOrUpdate200Response extends HttpResponse { +export interface VirtualNetworkPeeringsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VirtualNetworkPeeringOutput; } /** Creates or updates a peering in the specified virtual network. */ -export interface VirtualNetworkPeeringsCreateOrUpdate201Response extends HttpResponse { +export interface VirtualNetworkPeeringsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VirtualNetworkPeeringOutput; } /** Creates or updates a peering in the specified virtual network. */ -export interface VirtualNetworkPeeringsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualNetworkPeeringsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6994,25 +7245,29 @@ export interface VirtualNetworkPeeringsList200Response extends HttpResponse { } /** Gets all virtual network peerings in a virtual network. */ -export interface VirtualNetworkPeeringsListDefaultResponse extends HttpResponse { +export interface VirtualNetworkPeeringsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysCreateOrUpdate200Response extends HttpResponse { +export interface VirtualNetworkGatewaysCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayOutput; } /** Creates or updates a virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysCreateOrUpdate201Response extends HttpResponse { +export interface VirtualNetworkGatewaysCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VirtualNetworkGatewayOutput; } /** Creates or updates a virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7032,41 +7287,41 @@ export interface VirtualNetworkGatewaysGetDefaultResponse extends HttpResponse { /** Deletes the specified virtual network gateway. */ export interface VirtualNetworkGatewaysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified virtual network gateway. */ export interface VirtualNetworkGatewaysDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified virtual network gateway. */ export interface VirtualNetworkGatewaysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified virtual network gateway. */ -export interface VirtualNetworkGatewaysDeleteDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a virtual network gateway tags. */ -export interface VirtualNetworkGatewaysUpdateTags200Response extends HttpResponse { +export interface VirtualNetworkGatewaysUpdateTags200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayOutput; } /** Updates a virtual network gateway tags. */ -export interface VirtualNetworkGatewaysUpdateTags202Response extends HttpResponse { +export interface VirtualNetworkGatewaysUpdateTags202Response + extends HttpResponse { status: "202"; - body: Record; } /** Updates a virtual network gateway tags. */ -export interface VirtualNetworkGatewaysUpdateTagsDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7078,19 +7333,22 @@ export interface VirtualNetworkGatewaysList200Response extends HttpResponse { } /** Gets all virtual network gateways by resource group. */ -export interface VirtualNetworkGatewaysListDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the connections in a virtual network gateway. */ -export interface VirtualNetworkGatewaysListConnections200Response extends HttpResponse { +export interface VirtualNetworkGatewaysListConnections200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayListConnectionsResultOutput; } /** Gets all the connections in a virtual network gateway. */ -export interface VirtualNetworkGatewaysListConnectionsDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysListConnectionsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7104,43 +7362,45 @@ export interface VirtualNetworkGatewaysReset200Response extends HttpResponse { /** Resets the primary of the virtual network gateway in the specified resource group. */ export interface VirtualNetworkGatewaysReset202Response extends HttpResponse { status: "202"; - body: Record; } /** Resets the primary of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysResetDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysResetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Resets the VPN client shared key of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysResetVpnClientSharedKey200Response extends HttpResponse { +export interface VirtualNetworkGatewaysResetVpnClientSharedKey200Response + extends HttpResponse { status: "200"; - body: Record; } /** Resets the VPN client shared key of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysResetVpnClientSharedKey202Response extends HttpResponse { +export interface VirtualNetworkGatewaysResetVpnClientSharedKey202Response + extends HttpResponse { status: "202"; - body: Record; } /** Resets the VPN client shared key of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysResetVpnClientSharedKeyDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysResetVpnClientSharedKeyDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysGeneratevpnclientpackage200Response extends HttpResponse { +export interface VirtualNetworkGatewaysGeneratevpnclientpackage200Response + extends HttpResponse { status: "200"; body: string; } /** Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysGeneratevpnclientpackage202Response extends HttpResponse { +export interface VirtualNetworkGatewaysGeneratevpnclientpackage202Response + extends HttpResponse { status: "202"; - body: Record; } /** Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. */ @@ -7151,117 +7411,130 @@ export interface VirtualNetworkGatewaysGeneratevpnclientpackageDefaultResponse } /** Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. */ -export interface VirtualNetworkGatewaysGenerateVpnProfile200Response extends HttpResponse { +export interface VirtualNetworkGatewaysGenerateVpnProfile200Response + extends HttpResponse { status: "200"; body: string; } /** Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. */ -export interface VirtualNetworkGatewaysGenerateVpnProfile202Response extends HttpResponse { +export interface VirtualNetworkGatewaysGenerateVpnProfile202Response + extends HttpResponse { status: "202"; - body: Record; } /** Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. */ -export interface VirtualNetworkGatewaysGenerateVpnProfileDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysGenerateVpnProfileDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. */ -export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response + extends HttpResponse { status: "200"; body: string; } /** Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. */ -export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. */ -export interface VirtualNetworkGatewaysGetVpnProfilePackageUrlDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysGetVpnProfilePackageUrlDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** The GetBgpPeerStatus operation retrieves the status of all BGP peers. */ -export interface VirtualNetworkGatewaysGetBgpPeerStatus200Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetBgpPeerStatus200Response + extends HttpResponse { status: "200"; body: BgpPeerStatusListResultOutput; } /** The GetBgpPeerStatus operation retrieves the status of all BGP peers. */ -export interface VirtualNetworkGatewaysGetBgpPeerStatus202Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetBgpPeerStatus202Response + extends HttpResponse { status: "202"; - body: Record; } /** The GetBgpPeerStatus operation retrieves the status of all BGP peers. */ -export interface VirtualNetworkGatewaysGetBgpPeerStatusDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysGetBgpPeerStatusDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a xml format representation for supported vpn devices. */ -export interface VirtualNetworkGatewaysSupportedVpnDevices200Response extends HttpResponse { +export interface VirtualNetworkGatewaysSupportedVpnDevices200Response + extends HttpResponse { status: "200"; body: string; } /** Gets a xml format representation for supported vpn devices. */ -export interface VirtualNetworkGatewaysSupportedVpnDevicesDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysSupportedVpnDevicesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. */ -export interface VirtualNetworkGatewaysGetLearnedRoutes200Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetLearnedRoutes200Response + extends HttpResponse { status: "200"; body: GatewayRouteListResultOutput; } /** This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. */ -export interface VirtualNetworkGatewaysGetLearnedRoutes202Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetLearnedRoutes202Response + extends HttpResponse { status: "202"; - body: Record; } /** This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. */ -export interface VirtualNetworkGatewaysGetLearnedRoutesDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysGetLearnedRoutesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. */ -export interface VirtualNetworkGatewaysGetAdvertisedRoutes200Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetAdvertisedRoutes200Response + extends HttpResponse { status: "200"; body: GatewayRouteListResultOutput; } /** This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. */ -export interface VirtualNetworkGatewaysGetAdvertisedRoutes202Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetAdvertisedRoutes202Response + extends HttpResponse { status: "202"; - body: Record; } /** This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. */ -export interface VirtualNetworkGatewaysGetAdvertisedRoutesDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysGetAdvertisedRoutesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters200Response extends HttpResponse { +export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters200Response + extends HttpResponse { status: "200"; body: VpnClientIPsecParametersOutput; } /** The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters202Response extends HttpResponse { +export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters202Response + extends HttpResponse { status: "202"; - body: Record; } /** The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. */ @@ -7272,7 +7545,8 @@ export interface VirtualNetworkGatewaysSetVpnclientIpsecParametersDefaultRespons } /** The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewaysGetVpnclientIpsecParameters200Response extends HttpResponse { +export interface VirtualNetworkGatewaysGetVpnclientIpsecParameters200Response + extends HttpResponse { status: "200"; body: VpnClientIPsecParametersOutput; } @@ -7299,37 +7573,41 @@ export interface VirtualNetworkGatewaysVpnDeviceConfigurationScriptDefaultRespon } /** Starts packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStartPacketCapture200Response extends HttpResponse { +export interface VirtualNetworkGatewaysStartPacketCapture200Response + extends HttpResponse { status: "200"; body: string; } /** Starts packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStartPacketCapture202Response extends HttpResponse { +export interface VirtualNetworkGatewaysStartPacketCapture202Response + extends HttpResponse { status: "202"; - body: Record; } /** Starts packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStartPacketCaptureDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysStartPacketCaptureDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } /** Stops packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStopPacketCapture200Response extends HttpResponse { +export interface VirtualNetworkGatewaysStopPacketCapture200Response + extends HttpResponse { status: "200"; body: string; } /** Stops packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStopPacketCapture202Response extends HttpResponse { +export interface VirtualNetworkGatewaysStopPacketCapture202Response + extends HttpResponse { status: "202"; - body: Record; } /** Stops packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStopPacketCaptureDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewaysStopPacketCaptureDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -7345,7 +7623,6 @@ export interface VirtualNetworkGatewaysGetVpnclientConnectionHealth200Response export interface VirtualNetworkGatewaysGetVpnclientConnectionHealth202Response extends HttpResponse { status: "202"; - body: Record; } /** Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group. */ @@ -7359,14 +7636,12 @@ export interface VirtualNetworkGatewaysGetVpnclientConnectionHealthDefaultRespon export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections200Response extends HttpResponse { status: "200"; - body: Record; } /** Disconnect vpn connections of virtual network gateway in the specified resource group. */ export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections202Response extends HttpResponse { status: "202"; - body: Record; } /** Disconnect vpn connections of virtual network gateway in the specified resource group. */ @@ -7377,13 +7652,15 @@ export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnect } /** Creates or updates a virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsCreateOrUpdate200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayConnectionOutput; } /** Creates or updates a virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsCreateOrUpdate201Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VirtualNetworkGatewayConnectionOutput; } @@ -7396,111 +7673,124 @@ export interface VirtualNetworkGatewayConnectionsCreateOrUpdateDefaultResponse } /** Gets the specified virtual network gateway connection by resource group. */ -export interface VirtualNetworkGatewayConnectionsGet200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGet200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayConnectionOutput; } /** Gets the specified virtual network gateway connection by resource group. */ -export interface VirtualNetworkGatewayConnectionsGetDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified virtual network Gateway connection. */ -export interface VirtualNetworkGatewayConnectionsDelete200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified virtual network Gateway connection. */ -export interface VirtualNetworkGatewayConnectionsDelete202Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified virtual network Gateway connection. */ -export interface VirtualNetworkGatewayConnectionsDelete204Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified virtual network Gateway connection. */ -export interface VirtualNetworkGatewayConnectionsDeleteDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a virtual network gateway connection tags. */ -export interface VirtualNetworkGatewayConnectionsUpdateTags200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsUpdateTags200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayConnectionOutput; } /** Updates a virtual network gateway connection tags. */ -export interface VirtualNetworkGatewayConnectionsUpdateTags202Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsUpdateTags202Response + extends HttpResponse { status: "202"; - body: Record; } /** Updates a virtual network gateway connection tags. */ -export interface VirtualNetworkGatewayConnectionsUpdateTagsDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsSetSharedKey200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsSetSharedKey200Response + extends HttpResponse { status: "200"; body: ConnectionSharedKeyOutput; } /** The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsSetSharedKey201Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsSetSharedKey201Response + extends HttpResponse { status: "201"; body: ConnectionSharedKeyOutput; } /** The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsSetSharedKeyDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsSetSharedKeyDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsGetSharedKey200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetSharedKey200Response + extends HttpResponse { status: "200"; body: ConnectionSharedKeyOutput; } /** The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsGetSharedKeyDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetSharedKeyDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. */ -export interface VirtualNetworkGatewayConnectionsList200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsList200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayConnectionListResultOutput; } /** The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. */ -export interface VirtualNetworkGatewayConnectionsListDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsResetSharedKey200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsResetSharedKey200Response + extends HttpResponse { status: "200"; body: ConnectionResetSharedKeyOutput; } /** The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsResetSharedKey202Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsResetSharedKey202Response + extends HttpResponse { status: "202"; - body: Record; } /** The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ @@ -7521,7 +7811,6 @@ export interface VirtualNetworkGatewayConnectionsStartPacketCapture200Response export interface VirtualNetworkGatewayConnectionsStartPacketCapture202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts packet capture on virtual network gateway connection in the specified resource group. */ @@ -7532,15 +7821,16 @@ export interface VirtualNetworkGatewayConnectionsStartPacketCaptureDefaultRespon } /** Stops packet capture on virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsStopPacketCapture200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsStopPacketCapture200Response + extends HttpResponse { status: "200"; body: string; } /** Stops packet capture on virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsStopPacketCapture202Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsStopPacketCapture202Response + extends HttpResponse { status: "202"; - body: Record; } /** Stops packet capture on virtual network gateway connection in the specified resource group. */ @@ -7551,27 +7841,29 @@ export interface VirtualNetworkGatewayConnectionsStopPacketCaptureDefaultRespons } /** Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsGetIkeSas200Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetIkeSas200Response + extends HttpResponse { status: "200"; body: string; } /** Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsGetIkeSas202Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetIkeSas202Response + extends HttpResponse { status: "202"; - body: Record; } /** Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsGetIkeSasDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetIkeSasDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Resets the virtual network gateway connection specified. */ -export interface VirtualNetworkGatewayConnectionsResetConnection202Response extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsResetConnection202Response + extends HttpResponse { status: "202"; - body: Record; } /** Resets the virtual network gateway connection specified. */ @@ -7582,19 +7874,22 @@ export interface VirtualNetworkGatewayConnectionsResetConnectionDefaultResponse } /** Creates or updates a local network gateway in the specified resource group. */ -export interface LocalNetworkGatewaysCreateOrUpdate200Response extends HttpResponse { +export interface LocalNetworkGatewaysCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: LocalNetworkGatewayOutput; } /** Creates or updates a local network gateway in the specified resource group. */ -export interface LocalNetworkGatewaysCreateOrUpdate201Response extends HttpResponse { +export interface LocalNetworkGatewaysCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: LocalNetworkGatewayOutput; } /** Creates or updates a local network gateway in the specified resource group. */ -export interface LocalNetworkGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { +export interface LocalNetworkGatewaysCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7614,35 +7909,35 @@ export interface LocalNetworkGatewaysGetDefaultResponse extends HttpResponse { /** Deletes the specified local network gateway. */ export interface LocalNetworkGatewaysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified local network gateway. */ export interface LocalNetworkGatewaysDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified local network gateway. */ export interface LocalNetworkGatewaysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified local network gateway. */ -export interface LocalNetworkGatewaysDeleteDefaultResponse extends HttpResponse { +export interface LocalNetworkGatewaysDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a local network gateway tags. */ -export interface LocalNetworkGatewaysUpdateTags200Response extends HttpResponse { +export interface LocalNetworkGatewaysUpdateTags200Response + extends HttpResponse { status: "200"; body: LocalNetworkGatewayOutput; } /** Updates a local network gateway tags. */ -export interface LocalNetworkGatewaysUpdateTagsDefaultResponse extends HttpResponse { +export interface LocalNetworkGatewaysUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7660,55 +7955,61 @@ export interface LocalNetworkGatewaysListDefaultResponse extends HttpResponse { } /** Retrieves the details of a nat rule. */ -export interface VirtualNetworkGatewayNatRulesGet200Response extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesGet200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayNatRuleOutput; } /** Retrieves the details of a nat rule. */ -export interface VirtualNetworkGatewayNatRulesGetDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. */ -export interface VirtualNetworkGatewayNatRulesCreateOrUpdate200Response extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VirtualNetworkGatewayNatRuleOutput; } /** Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. */ -export interface VirtualNetworkGatewayNatRulesCreateOrUpdate201Response extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VirtualNetworkGatewayNatRuleOutput; } /** Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. */ -export interface VirtualNetworkGatewayNatRulesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a nat rule. */ -export interface VirtualNetworkGatewayNatRulesDelete200Response extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes a nat rule. */ -export interface VirtualNetworkGatewayNatRulesDelete202Response extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes a nat rule. */ -export interface VirtualNetworkGatewayNatRulesDelete204Response extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes a nat rule. */ -export interface VirtualNetworkGatewayNatRulesDeleteDefaultResponse extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7730,19 +8031,16 @@ export interface VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayDefault /** Deletes the specified virtual network tap. */ export interface VirtualNetworkTapsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified virtual network tap. */ export interface VirtualNetworkTapsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified virtual network tap. */ export interface VirtualNetworkTapsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified virtual network tap. */ @@ -7764,19 +8062,22 @@ export interface VirtualNetworkTapsGetDefaultResponse extends HttpResponse { } /** Creates or updates a Virtual Network Tap. */ -export interface VirtualNetworkTapsCreateOrUpdate200Response extends HttpResponse { +export interface VirtualNetworkTapsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VirtualNetworkTapOutput; } /** Creates or updates a Virtual Network Tap. */ -export interface VirtualNetworkTapsCreateOrUpdate201Response extends HttpResponse { +export interface VirtualNetworkTapsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VirtualNetworkTapOutput; } /** Creates or updates a Virtual Network Tap. */ -export interface VirtualNetworkTapsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualNetworkTapsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7788,7 +8089,8 @@ export interface VirtualNetworkTapsUpdateTags200Response extends HttpResponse { } /** Updates an VirtualNetworkTap tags. */ -export interface VirtualNetworkTapsUpdateTagsDefaultResponse extends HttpResponse { +export interface VirtualNetworkTapsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7806,13 +8108,15 @@ export interface VirtualNetworkTapsListAllDefaultResponse extends HttpResponse { } /** Gets all the VirtualNetworkTaps in a subscription. */ -export interface VirtualNetworkTapsListByResourceGroup200Response extends HttpResponse { +export interface VirtualNetworkTapsListByResourceGroup200Response + extends HttpResponse { status: "200"; body: VirtualNetworkTapListResultOutput; } /** Gets all the VirtualNetworkTaps in a subscription. */ -export interface VirtualNetworkTapsListByResourceGroupDefaultResponse extends HttpResponse { +export interface VirtualNetworkTapsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7820,19 +8124,16 @@ export interface VirtualNetworkTapsListByResourceGroupDefaultResponse extends Ht /** Deletes the specified Virtual Router. */ export interface VirtualRoutersDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified Virtual Router. */ export interface VirtualRoutersDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified Virtual Router. */ export interface VirtualRoutersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified Virtual Router. */ @@ -7866,19 +8167,22 @@ export interface VirtualRoutersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates the specified Virtual Router. */ -export interface VirtualRoutersCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualRoutersCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } /** Lists all Virtual Routers in a resource group. */ -export interface VirtualRoutersListByResourceGroup200Response extends HttpResponse { +export interface VirtualRoutersListByResourceGroup200Response + extends HttpResponse { status: "200"; body: VirtualRouterListResultOutput; } /** Lists all Virtual Routers in a resource group. */ -export interface VirtualRoutersListByResourceGroupDefaultResponse extends HttpResponse { +export interface VirtualRoutersListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -7898,23 +8202,21 @@ export interface VirtualRoutersListDefaultResponse extends HttpResponse { /** Deletes the specified peering from a Virtual Router. */ export interface VirtualRouterPeeringsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified peering from a Virtual Router. */ export interface VirtualRouterPeeringsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified peering from a Virtual Router. */ export interface VirtualRouterPeeringsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified peering from a Virtual Router. */ -export interface VirtualRouterPeeringsDeleteDefaultResponse extends HttpResponse { +export interface VirtualRouterPeeringsDeleteDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -7932,19 +8234,22 @@ export interface VirtualRouterPeeringsGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified Virtual Router Peering. */ -export interface VirtualRouterPeeringsCreateOrUpdate200Response extends HttpResponse { +export interface VirtualRouterPeeringsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VirtualRouterPeeringOutput; } /** Creates or updates the specified Virtual Router Peering. */ -export interface VirtualRouterPeeringsCreateOrUpdate201Response extends HttpResponse { +export interface VirtualRouterPeeringsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VirtualRouterPeeringOutput; } /** Creates or updates the specified Virtual Router Peering. */ -export interface VirtualRouterPeeringsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualRouterPeeringsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -8006,19 +8311,16 @@ export interface VirtualWansUpdateTagsDefaultResponse extends HttpResponse { /** Deletes a VirtualWAN. */ export interface VirtualWansDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VirtualWAN. */ export interface VirtualWansDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VirtualWAN. */ export interface VirtualWansDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VirtualWAN. */ @@ -8028,13 +8330,15 @@ export interface VirtualWansDeleteDefaultResponse extends HttpResponse { } /** Lists all the VirtualWANs in a resource group. */ -export interface VirtualWansListByResourceGroup200Response extends HttpResponse { +export interface VirtualWansListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ListVirtualWANsResultOutput; } /** Lists all the VirtualWANs in a resource group. */ -export interface VirtualWansListByResourceGroupDefaultResponse extends HttpResponse { +export interface VirtualWansListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8096,19 +8400,16 @@ export interface VpnSitesUpdateTagsDefaultResponse extends HttpResponse { /** Deletes a VpnSite. */ export interface VpnSitesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VpnSite. */ export interface VpnSitesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VpnSite. */ export interface VpnSitesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VpnSite. */ @@ -8124,7 +8425,8 @@ export interface VpnSitesListByResourceGroup200Response extends HttpResponse { } /** Lists all the vpnSites in a resource group. */ -export interface VpnSitesListByResourceGroupDefaultResponse extends HttpResponse { +export interface VpnSitesListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8168,17 +8470,16 @@ export interface VpnSiteLinksListByVpnSiteDefaultResponse extends HttpResponse { /** Gives the sas-url to download the configurations for vpn-sites in a resource group. */ export interface VpnSitesConfigurationDownload200Response extends HttpResponse { status: "200"; - body: Record; } /** Gives the sas-url to download the configurations for vpn-sites in a resource group. */ export interface VpnSitesConfigurationDownload202Response extends HttpResponse { status: "202"; - body: Record; } /** Gives the sas-url to download the configurations for vpn-sites in a resource group. */ -export interface VpnSitesConfigurationDownloadDefaultResponse extends HttpResponse { +export interface VpnSitesConfigurationDownloadDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8190,37 +8491,43 @@ export interface VpnServerConfigurationsGet200Response extends HttpResponse { } /** Retrieves the details of a VpnServerConfiguration. */ -export interface VpnServerConfigurationsGetDefaultResponse extends HttpResponse { +export interface VpnServerConfigurationsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. */ -export interface VpnServerConfigurationsCreateOrUpdate200Response extends HttpResponse { +export interface VpnServerConfigurationsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VpnServerConfigurationOutput; } /** Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. */ -export interface VpnServerConfigurationsCreateOrUpdate201Response extends HttpResponse { +export interface VpnServerConfigurationsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VpnServerConfigurationOutput; } /** Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. */ -export interface VpnServerConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VpnServerConfigurationsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates VpnServerConfiguration tags. */ -export interface VpnServerConfigurationsUpdateTags200Response extends HttpResponse { +export interface VpnServerConfigurationsUpdateTags200Response + extends HttpResponse { status: "200"; body: VpnServerConfigurationOutput; } /** Updates VpnServerConfiguration tags. */ -export interface VpnServerConfigurationsUpdateTagsDefaultResponse extends HttpResponse { +export interface VpnServerConfigurationsUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8228,35 +8535,35 @@ export interface VpnServerConfigurationsUpdateTagsDefaultResponse extends HttpRe /** Deletes a VpnServerConfiguration. */ export interface VpnServerConfigurationsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VpnServerConfiguration. */ export interface VpnServerConfigurationsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VpnServerConfiguration. */ export interface VpnServerConfigurationsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VpnServerConfiguration. */ -export interface VpnServerConfigurationsDeleteDefaultResponse extends HttpResponse { +export interface VpnServerConfigurationsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all the vpnServerConfigurations in a resource group. */ -export interface VpnServerConfigurationsListByResourceGroup200Response extends HttpResponse { +export interface VpnServerConfigurationsListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ListVpnServerConfigurationsResultOutput; } /** Lists all the vpnServerConfigurations in a resource group. */ -export interface VpnServerConfigurationsListByResourceGroupDefaultResponse extends HttpResponse { +export interface VpnServerConfigurationsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8268,49 +8575,54 @@ export interface VpnServerConfigurationsList200Response extends HttpResponse { } /** Lists all the VpnServerConfigurations in a subscription. */ -export interface VpnServerConfigurationsListDefaultResponse extends HttpResponse { +export interface VpnServerConfigurationsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. */ -export interface ConfigurationPolicyGroupsCreateOrUpdate200Response extends HttpResponse { +export interface ConfigurationPolicyGroupsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VpnServerConfigurationPolicyGroupOutput; } /** Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. */ -export interface ConfigurationPolicyGroupsCreateOrUpdate201Response extends HttpResponse { +export interface ConfigurationPolicyGroupsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VpnServerConfigurationPolicyGroupOutput; } /** Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. */ -export interface ConfigurationPolicyGroupsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ConfigurationPolicyGroupsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsDelete200Response extends HttpResponse { +export interface ConfigurationPolicyGroupsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsDelete202Response extends HttpResponse { +export interface ConfigurationPolicyGroupsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsDelete204Response extends HttpResponse { +export interface ConfigurationPolicyGroupsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsDeleteDefaultResponse extends HttpResponse { +export interface ConfigurationPolicyGroupsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8322,7 +8634,8 @@ export interface ConfigurationPolicyGroupsGet200Response extends HttpResponse { } /** Retrieves the details of a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsGetDefaultResponse extends HttpResponse { +export interface ConfigurationPolicyGroupsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8386,19 +8699,16 @@ export interface VirtualHubsUpdateTagsDefaultResponse extends HttpResponse { /** Deletes a VirtualHub. */ export interface VirtualHubsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VirtualHub. */ export interface VirtualHubsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VirtualHub. */ export interface VirtualHubsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VirtualHub. */ @@ -8408,13 +8718,15 @@ export interface VirtualHubsDeleteDefaultResponse extends HttpResponse { } /** Lists all the VirtualHubs in a resource group. */ -export interface VirtualHubsListByResourceGroup200Response extends HttpResponse { +export interface VirtualHubsListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ListVirtualHubsResultOutput; } /** Lists all the VirtualHubs in a resource group. */ -export interface VirtualHubsListByResourceGroupDefaultResponse extends HttpResponse { +export interface VirtualHubsListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8432,19 +8744,20 @@ export interface VirtualHubsListDefaultResponse extends HttpResponse { } /** Gets the effective routes configured for the Virtual Hub resource or the specified resource . */ -export interface VirtualHubsGetEffectiveVirtualHubRoutes200Response extends HttpResponse { +export interface VirtualHubsGetEffectiveVirtualHubRoutes200Response + extends HttpResponse { status: "200"; - body: Record; } /** Gets the effective routes configured for the Virtual Hub resource or the specified resource . */ -export interface VirtualHubsGetEffectiveVirtualHubRoutes202Response extends HttpResponse { +export interface VirtualHubsGetEffectiveVirtualHubRoutes202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the effective routes configured for the Virtual Hub resource or the specified resource . */ -export interface VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse extends HttpResponse { +export interface VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8452,17 +8765,16 @@ export interface VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse extends /** Gets the inbound routes configured for the Virtual Hub on a particular connection. */ export interface VirtualHubsGetInboundRoutes200Response extends HttpResponse { status: "200"; - body: Record; } /** Gets the inbound routes configured for the Virtual Hub on a particular connection. */ export interface VirtualHubsGetInboundRoutes202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets the inbound routes configured for the Virtual Hub on a particular connection. */ -export interface VirtualHubsGetInboundRoutesDefaultResponse extends HttpResponse { +export interface VirtualHubsGetInboundRoutesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8470,17 +8782,16 @@ export interface VirtualHubsGetInboundRoutesDefaultResponse extends HttpResponse /** Gets the outbound routes configured for the Virtual Hub on a particular connection. */ export interface VirtualHubsGetOutboundRoutes200Response extends HttpResponse { status: "200"; - body: Record; } /** Gets the outbound routes configured for the Virtual Hub on a particular connection. */ export interface VirtualHubsGetOutboundRoutes202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets the outbound routes configured for the Virtual Hub on a particular connection. */ -export interface VirtualHubsGetOutboundRoutesDefaultResponse extends HttpResponse { +export interface VirtualHubsGetOutboundRoutesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8518,19 +8829,16 @@ export interface RouteMapsCreateOrUpdateDefaultResponse extends HttpResponse { /** Deletes a RouteMap. */ export interface RouteMapsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a RouteMap. */ export interface RouteMapsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a RouteMap. */ export interface RouteMapsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a RouteMap. */ @@ -8552,67 +8860,75 @@ export interface RouteMapsListDefaultResponse extends HttpResponse { } /** Creates a hub virtual network connection if it doesn't exist else updates the existing one. */ -export interface HubVirtualNetworkConnectionsCreateOrUpdate200Response extends HttpResponse { +export interface HubVirtualNetworkConnectionsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: HubVirtualNetworkConnectionOutput; } /** Creates a hub virtual network connection if it doesn't exist else updates the existing one. */ -export interface HubVirtualNetworkConnectionsCreateOrUpdate201Response extends HttpResponse { +export interface HubVirtualNetworkConnectionsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: HubVirtualNetworkConnectionOutput; } /** Creates a hub virtual network connection if it doesn't exist else updates the existing one. */ -export interface HubVirtualNetworkConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface HubVirtualNetworkConnectionsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsDelete200Response extends HttpResponse { +export interface HubVirtualNetworkConnectionsDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsDelete202Response extends HttpResponse { +export interface HubVirtualNetworkConnectionsDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsDelete204Response extends HttpResponse { +export interface HubVirtualNetworkConnectionsDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsDeleteDefaultResponse extends HttpResponse { +export interface HubVirtualNetworkConnectionsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves the details of a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsGet200Response extends HttpResponse { +export interface HubVirtualNetworkConnectionsGet200Response + extends HttpResponse { status: "200"; body: HubVirtualNetworkConnectionOutput; } /** Retrieves the details of a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsGetDefaultResponse extends HttpResponse { +export interface HubVirtualNetworkConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves the details of all HubVirtualNetworkConnections. */ -export interface HubVirtualNetworkConnectionsList200Response extends HttpResponse { +export interface HubVirtualNetworkConnectionsList200Response + extends HttpResponse { status: "200"; body: ListHubVirtualNetworkConnectionsResultOutput; } /** Retrieves the details of all HubVirtualNetworkConnections. */ -export interface HubVirtualNetworkConnectionsListDefaultResponse extends HttpResponse { +export interface HubVirtualNetworkConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8656,7 +8972,6 @@ export interface VpnGatewaysUpdateTags200Response extends HttpResponse { /** Updates virtual wan vpn gateway tags. */ export interface VpnGatewaysUpdateTags202Response extends HttpResponse { status: "202"; - body: Record; } /** Updates virtual wan vpn gateway tags. */ @@ -8668,19 +8983,16 @@ export interface VpnGatewaysUpdateTagsDefaultResponse extends HttpResponse { /** Deletes a virtual wan vpn gateway. */ export interface VpnGatewaysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a virtual wan vpn gateway. */ export interface VpnGatewaysDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a virtual wan vpn gateway. */ export interface VpnGatewaysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a virtual wan vpn gateway. */ @@ -8698,7 +9010,6 @@ export interface VpnGatewaysReset200Response extends HttpResponse { /** Resets the primary of the vpn gateway in the specified resource group. */ export interface VpnGatewaysReset202Response extends HttpResponse { status: "202"; - body: Record; } /** Resets the primary of the vpn gateway in the specified resource group. */ @@ -8716,11 +9027,11 @@ export interface VpnGatewaysStartPacketCapture200Response extends HttpResponse { /** Starts packet capture on vpn gateway in the specified resource group. */ export interface VpnGatewaysStartPacketCapture202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts packet capture on vpn gateway in the specified resource group. */ -export interface VpnGatewaysStartPacketCaptureDefaultResponse extends HttpResponse { +export interface VpnGatewaysStartPacketCaptureDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8734,23 +9045,25 @@ export interface VpnGatewaysStopPacketCapture200Response extends HttpResponse { /** Stops packet capture on vpn gateway in the specified resource group. */ export interface VpnGatewaysStopPacketCapture202Response extends HttpResponse { status: "202"; - body: Record; } /** Stops packet capture on vpn gateway in the specified resource group. */ -export interface VpnGatewaysStopPacketCaptureDefaultResponse extends HttpResponse { +export interface VpnGatewaysStopPacketCaptureDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all the VpnGateways in a resource group. */ -export interface VpnGatewaysListByResourceGroup200Response extends HttpResponse { +export interface VpnGatewaysListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ListVpnGatewaysResultOutput; } /** Lists all the VpnGateways in a resource group. */ -export interface VpnGatewaysListByResourceGroupDefaultResponse extends HttpResponse { +export interface VpnGatewaysListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8768,13 +9081,14 @@ export interface VpnGatewaysListDefaultResponse extends HttpResponse { } /** Resets the VpnLink connection specified. */ -export interface VpnLinkConnectionsResetConnection202Response extends HttpResponse { +export interface VpnLinkConnectionsResetConnection202Response + extends HttpResponse { status: "202"; - body: Record; } /** Resets the VpnLink connection specified. */ -export interface VpnLinkConnectionsResetConnectionDefaultResponse extends HttpResponse { +export interface VpnLinkConnectionsResetConnectionDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -8788,23 +9102,25 @@ export interface VpnLinkConnectionsGetIkeSas200Response extends HttpResponse { /** Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. */ export interface VpnLinkConnectionsGetIkeSas202Response extends HttpResponse { status: "202"; - body: Record; } /** Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. */ -export interface VpnLinkConnectionsGetIkeSasDefaultResponse extends HttpResponse { +export interface VpnLinkConnectionsGetIkeSasDefaultResponse + extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. */ -export interface VpnLinkConnectionsListByVpnConnection200Response extends HttpResponse { +export interface VpnLinkConnectionsListByVpnConnection200Response + extends HttpResponse { status: "200"; body: ListVpnSiteLinkConnectionsResultOutput; } /** Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. */ -export interface VpnLinkConnectionsListByVpnConnectionDefaultResponse extends HttpResponse { +export interface VpnLinkConnectionsListByVpnConnectionDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8834,7 +9150,8 @@ export interface VpnConnectionsCreateOrUpdate201Response extends HttpResponse { } /** Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. */ -export interface VpnConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VpnConnectionsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8842,19 +9159,16 @@ export interface VpnConnectionsCreateOrUpdateDefaultResponse extends HttpRespons /** Deletes a vpn connection. */ export interface VpnConnectionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a vpn connection. */ export interface VpnConnectionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a vpn connection. */ export interface VpnConnectionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a vpn connection. */ @@ -8864,49 +9178,55 @@ export interface VpnConnectionsDeleteDefaultResponse extends HttpResponse { } /** Starts packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStartPacketCapture200Response extends HttpResponse { +export interface VpnConnectionsStartPacketCapture200Response + extends HttpResponse { status: "200"; body: string; } /** Starts packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStartPacketCapture202Response extends HttpResponse { +export interface VpnConnectionsStartPacketCapture202Response + extends HttpResponse { status: "202"; - body: Record; } /** Starts packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStartPacketCaptureDefaultResponse extends HttpResponse { +export interface VpnConnectionsStartPacketCaptureDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Stops packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStopPacketCapture200Response extends HttpResponse { +export interface VpnConnectionsStopPacketCapture200Response + extends HttpResponse { status: "200"; body: string; } /** Stops packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStopPacketCapture202Response extends HttpResponse { +export interface VpnConnectionsStopPacketCapture202Response + extends HttpResponse { status: "202"; - body: Record; } /** Stops packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStopPacketCaptureDefaultResponse extends HttpResponse { +export interface VpnConnectionsStopPacketCaptureDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves all vpn connections for a particular virtual wan vpn gateway. */ -export interface VpnConnectionsListByVpnGateway200Response extends HttpResponse { +export interface VpnConnectionsListByVpnGateway200Response + extends HttpResponse { status: "200"; body: ListVpnConnectionsResultOutput; } /** Retrieves all vpn connections for a particular virtual wan vpn gateway. */ -export interface VpnConnectionsListByVpnGatewayDefaultResponse extends HttpResponse { +export interface VpnConnectionsListByVpnGatewayDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8956,19 +9276,16 @@ export interface NatRulesCreateOrUpdateDefaultResponse extends HttpResponse { /** Deletes a nat rule. */ export interface NatRulesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a nat rule. */ export interface NatRulesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a nat rule. */ export interface NatRulesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a nat rule. */ @@ -9014,7 +9331,8 @@ export interface P2SVpnGatewaysCreateOrUpdate201Response extends HttpResponse { } /** Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. */ -export interface P2SVpnGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { +export interface P2SVpnGatewaysCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9028,7 +9346,6 @@ export interface P2SVpnGatewaysUpdateTags200Response extends HttpResponse { /** Updates virtual wan p2s vpn gateway tags. */ export interface P2SVpnGatewaysUpdateTags202Response extends HttpResponse { status: "202"; - body: Record; } /** Updates virtual wan p2s vpn gateway tags. */ @@ -9040,19 +9357,16 @@ export interface P2SVpnGatewaysUpdateTagsDefaultResponse extends HttpResponse { /** Deletes a virtual wan p2s vpn gateway. */ export interface P2SVpnGatewaysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a virtual wan p2s vpn gateway. */ export interface P2SVpnGatewaysDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a virtual wan p2s vpn gateway. */ export interface P2SVpnGatewaysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a virtual wan p2s vpn gateway. */ @@ -9062,13 +9376,15 @@ export interface P2SVpnGatewaysDeleteDefaultResponse extends HttpResponse { } /** Lists all the P2SVpnGateways in a resource group. */ -export interface P2SVpnGatewaysListByResourceGroup200Response extends HttpResponse { +export interface P2SVpnGatewaysListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ListP2SVpnGatewaysResultOutput; } /** Lists all the P2SVpnGateways in a resource group. */ -export interface P2SVpnGatewaysListByResourceGroupDefaultResponse extends HttpResponse { +export interface P2SVpnGatewaysListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9094,7 +9410,6 @@ export interface P2SVpnGatewaysReset200Response extends HttpResponse { /** Resets the primary of the p2s vpn gateway in the specified resource group. */ export interface P2SVpnGatewaysReset202Response extends HttpResponse { status: "202"; - body: Record; } /** Resets the primary of the p2s vpn gateway in the specified resource group. */ @@ -9104,51 +9419,56 @@ export interface P2SVpnGatewaysResetDefaultResponse extends HttpResponse { } /** Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGenerateVpnProfile200Response extends HttpResponse { +export interface P2SVpnGatewaysGenerateVpnProfile200Response + extends HttpResponse { status: "200"; body: VpnProfileResponseOutput; } /** Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGenerateVpnProfile202Response extends HttpResponse { +export interface P2SVpnGatewaysGenerateVpnProfile202Response + extends HttpResponse { status: "202"; - body: Record; } /** Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGenerateVpnProfileDefaultResponse extends HttpResponse { +export interface P2SVpnGatewaysGenerateVpnProfileDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealth200Response extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealth200Response + extends HttpResponse { status: "200"; body: P2SVpnGatewayOutput; } /** Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealth202Response extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealth202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDefaultResponse extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response + extends HttpResponse { status: "200"; body: P2SVpnConnectionHealthOutput; } /** Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response + extends HttpResponse { status: "202"; - body: Record; } /** Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ @@ -9159,19 +9479,20 @@ export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedDefaultResponse } /** Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysDisconnectP2SVpnConnections200Response extends HttpResponse { +export interface P2SVpnGatewaysDisconnectP2SVpnConnections200Response + extends HttpResponse { status: "200"; - body: Record; } /** Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysDisconnectP2SVpnConnections202Response extends HttpResponse { +export interface P2SVpnGatewaysDisconnectP2SVpnConnections202Response + extends HttpResponse { status: "202"; - body: Record; } /** Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysDisconnectP2SVpnConnectionsDefaultResponse extends HttpResponse { +export interface P2SVpnGatewaysDisconnectP2SVpnConnectionsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9187,7 +9508,6 @@ export interface VpnServerConfigurationsAssociatedWithVirtualWanList200Response export interface VpnServerConfigurationsAssociatedWithVirtualWanList202Response extends HttpResponse { status: "202"; - body: Record; } /** Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. */ @@ -9204,25 +9524,29 @@ export interface VirtualHubRouteTableV2SGet200Response extends HttpResponse { } /** Retrieves the details of a VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SGetDefaultResponse extends HttpResponse { +export interface VirtualHubRouteTableV2SGetDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } /** Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SCreateOrUpdate200Response extends HttpResponse { +export interface VirtualHubRouteTableV2SCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: VirtualHubRouteTableV2Output; } /** Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SCreateOrUpdate201Response extends HttpResponse { +export interface VirtualHubRouteTableV2SCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: VirtualHubRouteTableV2Output; } /** Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -9230,23 +9554,21 @@ export interface VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse extends Ht /** Deletes a VirtualHubRouteTableV2. */ export interface VirtualHubRouteTableV2SDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VirtualHubRouteTableV2. */ export interface VirtualHubRouteTableV2SDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VirtualHubRouteTableV2. */ export interface VirtualHubRouteTableV2SDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SDeleteDefaultResponse extends HttpResponse { +export interface VirtualHubRouteTableV2SDeleteDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -9258,67 +9580,77 @@ export interface VirtualHubRouteTableV2SList200Response extends HttpResponse { } /** Retrieves the details of all VirtualHubRouteTableV2s. */ -export interface VirtualHubRouteTableV2SListDefaultResponse extends HttpResponse { +export interface VirtualHubRouteTableV2SListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists ExpressRoute gateways under a given subscription. */ -export interface ExpressRouteGatewaysListBySubscription200Response extends HttpResponse { +export interface ExpressRouteGatewaysListBySubscription200Response + extends HttpResponse { status: "200"; body: ExpressRouteGatewayListOutput; } /** Lists ExpressRoute gateways under a given subscription. */ -export interface ExpressRouteGatewaysListBySubscriptionDefaultResponse extends HttpResponse { +export interface ExpressRouteGatewaysListBySubscriptionDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists ExpressRoute gateways in a given resource group. */ -export interface ExpressRouteGatewaysListByResourceGroup200Response extends HttpResponse { +export interface ExpressRouteGatewaysListByResourceGroup200Response + extends HttpResponse { status: "200"; body: ExpressRouteGatewayListOutput; } /** Lists ExpressRoute gateways in a given resource group. */ -export interface ExpressRouteGatewaysListByResourceGroupDefaultResponse extends HttpResponse { +export interface ExpressRouteGatewaysListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a ExpressRoute gateway in a specified resource group. */ -export interface ExpressRouteGatewaysCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRouteGatewaysCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRouteGatewayOutput; } /** Creates or updates a ExpressRoute gateway in a specified resource group. */ -export interface ExpressRouteGatewaysCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRouteGatewaysCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRouteGatewayOutput; } /** Creates or updates a ExpressRoute gateway in a specified resource group. */ -export interface ExpressRouteGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ExpressRouteGatewaysCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates express route gateway tags. */ -export interface ExpressRouteGatewaysUpdateTags200Response extends HttpResponse { +export interface ExpressRouteGatewaysUpdateTags200Response + extends HttpResponse { status: "200"; body: ExpressRouteGatewayOutput; } /** Updates express route gateway tags. */ -export interface ExpressRouteGatewaysUpdateTags202Response extends HttpResponse { +export interface ExpressRouteGatewaysUpdateTags202Response + extends HttpResponse { status: "202"; - body: Record; } /** Updates express route gateway tags. */ -export interface ExpressRouteGatewaysUpdateTagsDefaultResponse extends HttpResponse { +export interface ExpressRouteGatewaysUpdateTagsDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9338,41 +9670,42 @@ export interface ExpressRouteGatewaysGetDefaultResponse extends HttpResponse { /** Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. */ export interface ExpressRouteGatewaysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. */ export interface ExpressRouteGatewaysDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. */ export interface ExpressRouteGatewaysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. */ -export interface ExpressRouteGatewaysDeleteDefaultResponse extends HttpResponse { +export interface ExpressRouteGatewaysDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. */ -export interface ExpressRouteConnectionsCreateOrUpdate200Response extends HttpResponse { +export interface ExpressRouteConnectionsCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ExpressRouteConnectionOutput; } /** Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. */ -export interface ExpressRouteConnectionsCreateOrUpdate201Response extends HttpResponse { +export interface ExpressRouteConnectionsCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: ExpressRouteConnectionOutput; } /** Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. */ -export interface ExpressRouteConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { +export interface ExpressRouteConnectionsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9384,7 +9717,8 @@ export interface ExpressRouteConnectionsGet200Response extends HttpResponse { } /** Gets the specified ExpressRouteConnection. */ -export interface ExpressRouteConnectionsGetDefaultResponse extends HttpResponse { +export interface ExpressRouteConnectionsGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9392,23 +9726,21 @@ export interface ExpressRouteConnectionsGetDefaultResponse extends HttpResponse /** Deletes a connection to a ExpressRoute circuit. */ export interface ExpressRouteConnectionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a connection to a ExpressRoute circuit. */ export interface ExpressRouteConnectionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a connection to a ExpressRoute circuit. */ export interface ExpressRouteConnectionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a connection to a ExpressRoute circuit. */ -export interface ExpressRouteConnectionsDeleteDefaultResponse extends HttpResponse { +export interface ExpressRouteConnectionsDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9420,7 +9752,8 @@ export interface ExpressRouteConnectionsList200Response extends HttpResponse { } /** Lists ExpressRouteConnections. */ -export interface ExpressRouteConnectionsListDefaultResponse extends HttpResponse { +export interface ExpressRouteConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9432,25 +9765,29 @@ export interface VirtualHubBgpConnectionGet200Response extends HttpResponse { } /** Retrieves the details of a Virtual Hub Bgp Connection. */ -export interface VirtualHubBgpConnectionGetDefaultResponse extends HttpResponse { +export interface VirtualHubBgpConnectionGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. */ -export interface VirtualHubBgpConnectionCreateOrUpdate200Response extends HttpResponse { +export interface VirtualHubBgpConnectionCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: BgpConnectionOutput; } /** Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. */ -export interface VirtualHubBgpConnectionCreateOrUpdate201Response extends HttpResponse { +export interface VirtualHubBgpConnectionCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: BgpConnectionOutput; } /** Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. */ -export interface VirtualHubBgpConnectionCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualHubBgpConnectionCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9458,23 +9795,21 @@ export interface VirtualHubBgpConnectionCreateOrUpdateDefaultResponse extends Ht /** Deletes a VirtualHubBgpConnection. */ export interface VirtualHubBgpConnectionDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VirtualHubBgpConnection. */ export interface VirtualHubBgpConnectionDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VirtualHubBgpConnection. */ export interface VirtualHubBgpConnectionDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VirtualHubBgpConnection. */ -export interface VirtualHubBgpConnectionDeleteDefaultResponse extends HttpResponse { +export interface VirtualHubBgpConnectionDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9486,43 +9821,48 @@ export interface VirtualHubBgpConnectionsList200Response extends HttpResponse { } /** Retrieves the details of all VirtualHubBgpConnections. */ -export interface VirtualHubBgpConnectionsListDefaultResponse extends HttpResponse { +export interface VirtualHubBgpConnectionsListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves a list of routes the virtual hub bgp connection has learned. */ -export interface VirtualHubBgpConnectionsListLearnedRoutes200Response extends HttpResponse { +export interface VirtualHubBgpConnectionsListLearnedRoutes200Response + extends HttpResponse { status: "200"; body: PeerRouteListOutput; } /** Retrieves a list of routes the virtual hub bgp connection has learned. */ -export interface VirtualHubBgpConnectionsListLearnedRoutes202Response extends HttpResponse { +export interface VirtualHubBgpConnectionsListLearnedRoutes202Response + extends HttpResponse { status: "202"; - body: Record; } /** Retrieves a list of routes the virtual hub bgp connection has learned. */ -export interface VirtualHubBgpConnectionsListLearnedRoutesDefaultResponse extends HttpResponse { +export interface VirtualHubBgpConnectionsListLearnedRoutesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. */ -export interface VirtualHubBgpConnectionsListAdvertisedRoutes200Response extends HttpResponse { +export interface VirtualHubBgpConnectionsListAdvertisedRoutes200Response + extends HttpResponse { status: "200"; body: PeerRouteListOutput; } /** Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. */ -export interface VirtualHubBgpConnectionsListAdvertisedRoutes202Response extends HttpResponse { +export interface VirtualHubBgpConnectionsListAdvertisedRoutes202Response + extends HttpResponse { status: "202"; - body: Record; } /** Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. */ -export interface VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse extends HttpResponse { +export interface VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9534,49 +9874,54 @@ export interface VirtualHubIpConfigurationGet200Response extends HttpResponse { } /** Retrieves the details of a Virtual Hub Ip configuration. */ -export interface VirtualHubIpConfigurationGetDefaultResponse extends HttpResponse { +export interface VirtualHubIpConfigurationGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationCreateOrUpdate200Response extends HttpResponse { +export interface VirtualHubIpConfigurationCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: HubIpConfigurationOutput; } /** Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationCreateOrUpdate201Response extends HttpResponse { +export interface VirtualHubIpConfigurationCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: HubIpConfigurationOutput; } /** Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationCreateOrUpdateDefaultResponse extends HttpResponse { +export interface VirtualHubIpConfigurationCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationDelete200Response extends HttpResponse { +export interface VirtualHubIpConfigurationDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationDelete202Response extends HttpResponse { +export interface VirtualHubIpConfigurationDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationDelete204Response extends HttpResponse { +export interface VirtualHubIpConfigurationDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationDeleteDefaultResponse extends HttpResponse { +export interface VirtualHubIpConfigurationDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9588,7 +9933,8 @@ export interface VirtualHubIpConfigurationList200Response extends HttpResponse { } /** Retrieves the details of all VirtualHubIpConfigurations. */ -export interface VirtualHubIpConfigurationListDefaultResponse extends HttpResponse { +export interface VirtualHubIpConfigurationListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9606,7 +9952,8 @@ export interface HubRouteTablesCreateOrUpdate201Response extends HttpResponse { } /** Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. */ -export interface HubRouteTablesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface HubRouteTablesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9626,19 +9973,16 @@ export interface HubRouteTablesGetDefaultResponse extends HttpResponse { /** Deletes a RouteTable. */ export interface HubRouteTablesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a RouteTable. */ export interface HubRouteTablesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a RouteTable. */ export interface HubRouteTablesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a RouteTable. */ @@ -9672,7 +10016,8 @@ export interface RoutingIntentCreateOrUpdate201Response extends HttpResponse { } /** Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. */ -export interface RoutingIntentCreateOrUpdateDefaultResponse extends HttpResponse { +export interface RoutingIntentCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9692,19 +10037,16 @@ export interface RoutingIntentGetDefaultResponse extends HttpResponse { /** Deletes a RoutingIntent. */ export interface RoutingIntentDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a RoutingIntent. */ export interface RoutingIntentDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a RoutingIntent. */ export interface RoutingIntentDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a RoutingIntent. */ @@ -9726,79 +10068,89 @@ export interface RoutingIntentListDefaultResponse extends HttpResponse { } /** Lists all of the protection policies within a resource group. */ -export interface WebApplicationFirewallPoliciesList200Response extends HttpResponse { +export interface WebApplicationFirewallPoliciesList200Response + extends HttpResponse { status: "200"; body: WebApplicationFirewallPolicyListResultOutput; } /** Lists all of the protection policies within a resource group. */ -export interface WebApplicationFirewallPoliciesListDefaultResponse extends HttpResponse { +export interface WebApplicationFirewallPoliciesListDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the WAF policies in a subscription. */ -export interface WebApplicationFirewallPoliciesListAll200Response extends HttpResponse { +export interface WebApplicationFirewallPoliciesListAll200Response + extends HttpResponse { status: "200"; body: WebApplicationFirewallPolicyListResultOutput; } /** Gets all the WAF policies in a subscription. */ -export interface WebApplicationFirewallPoliciesListAllDefaultResponse extends HttpResponse { +export interface WebApplicationFirewallPoliciesListAllDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieve protection policy with specified name within a resource group. */ -export interface WebApplicationFirewallPoliciesGet200Response extends HttpResponse { +export interface WebApplicationFirewallPoliciesGet200Response + extends HttpResponse { status: "200"; body: WebApplicationFirewallPolicyOutput; } /** Retrieve protection policy with specified name within a resource group. */ -export interface WebApplicationFirewallPoliciesGetDefaultResponse extends HttpResponse { +export interface WebApplicationFirewallPoliciesGetDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or update policy with specified rule set name within a resource group. */ -export interface WebApplicationFirewallPoliciesCreateOrUpdate200Response extends HttpResponse { +export interface WebApplicationFirewallPoliciesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: WebApplicationFirewallPolicyOutput; } /** Creates or update policy with specified rule set name within a resource group. */ -export interface WebApplicationFirewallPoliciesCreateOrUpdate201Response extends HttpResponse { +export interface WebApplicationFirewallPoliciesCreateOrUpdate201Response + extends HttpResponse { status: "201"; body: WebApplicationFirewallPolicyOutput; } /** Creates or update policy with specified rule set name within a resource group. */ -export interface WebApplicationFirewallPoliciesCreateOrUpdateDefaultResponse extends HttpResponse { +export interface WebApplicationFirewallPoliciesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes Policy. */ -export interface WebApplicationFirewallPoliciesDelete200Response extends HttpResponse { +export interface WebApplicationFirewallPoliciesDelete200Response + extends HttpResponse { status: "200"; - body: Record; } /** Deletes Policy. */ -export interface WebApplicationFirewallPoliciesDelete202Response extends HttpResponse { +export interface WebApplicationFirewallPoliciesDelete202Response + extends HttpResponse { status: "202"; - body: Record; } /** Deletes Policy. */ -export interface WebApplicationFirewallPoliciesDelete204Response extends HttpResponse { +export interface WebApplicationFirewallPoliciesDelete204Response + extends HttpResponse { status: "204"; - body: Record; } /** Deletes Policy. */ -export interface WebApplicationFirewallPoliciesDeleteDefaultResponse extends HttpResponse { +export interface WebApplicationFirewallPoliciesDeleteDefaultResponse + extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9818,13 +10170,11 @@ export interface VipSwapGetDefaultResponse extends HttpResponse { /** Performs vip swap operation on swappable cloud services. */ export interface VipSwapCreate200Response extends HttpResponse { status: "200"; - body: Record; } /** Performs vip swap operation on swappable cloud services. */ export interface VipSwapCreate202Response extends HttpResponse { status: "202"; - body: Record; } /** Performs vip swap operation on swappable cloud services. */ diff --git a/sdk/network/arm-network-rest/swagger/README.md b/sdk/network/arm-network-rest/swagger/README.md index b0b41c6ec0f2..b97ae55212fc 100644 --- a/sdk/network/arm-network-rest/swagger/README.md +++ b/sdk/network/arm-network-rest/swagger/README.md @@ -5,6 +5,8 @@ ## Configuration ```yaml +flavor: azure +openapi-type: arm package-name: "@azure-rest/arm-network" title: NetworkManagementClient description: Network Management Rest Client @@ -21,5 +23,5 @@ add-credentials: true security: AADToken security-scopes: "https://management.azure.com/.default" use-extension: - "@autorest/typescript": "6.0.0-rc.1.20220727.1" + "@autorest/typescript": "latest" ``` diff --git a/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts b/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts index 1c6d81542a21..afb77a0dcf47 100644 --- a/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts +++ b/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts @@ -102,7 +102,7 @@ describe("Network test", () => { throw "create virtualNetworks set error result" + res; } - const poller = getLongRunningPoller(client, res, testPollingOptions); + const poller = await getLongRunningPoller(client, res, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.body.name, virtualNetworkName); }); @@ -129,7 +129,7 @@ describe("Network test", () => { if (isUnexpected(res)) { throw "create subnets set error result" + res; } - const poller = getLongRunningPoller(client, res, testPollingOptions); + const poller = await getLongRunningPoller(client, res, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.body.name, subnet_name); }); @@ -159,7 +159,7 @@ describe("Network test", () => { if (isUnexpected(res)) { throw "create ipGroups set error result" + res; } - const poller = getLongRunningPoller(client, res, testPollingOptions); + const poller = await getLongRunningPoller(client, res, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.body.name, ipGroupName); }); @@ -200,7 +200,7 @@ describe("Network test", () => { if (isUnexpected(res)) { throw "get subnets set error result" + res; } - const poller = getLongRunningPoller(client, res, testPollingOptions); + const poller = await getLongRunningPoller(client, res, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.body.name, subnet_name); }); @@ -221,7 +221,7 @@ describe("Network test", () => { if (isUnexpected(res)) { throw "get ipGroups set error result" + res; } - const poller = getLongRunningPoller(client, res, testPollingOptions); + const poller = await getLongRunningPoller(client, res, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.body.name, ipGroupName); }); @@ -304,7 +304,7 @@ describe("Network test", () => { if (isUnexpected(res)) { throw "update virtualNetworks set error result" + res; } - const poller = getLongRunningPoller(client, res, testPollingOptions); + const poller = await getLongRunningPoller(client, res, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.body.name, virtualNetworkName); }); @@ -322,7 +322,7 @@ describe("Network test", () => { ) .delete(options); - const poller = getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); const deleteResponse = await poller.pollUntilDone(); if (isUnexpected(deleteResponse)) { @@ -362,7 +362,7 @@ describe("Network test", () => { ) .delete(options); - const poller = getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); const deleteResponse = await poller.pollUntilDone(); if (isUnexpected(deleteResponse)) { @@ -402,7 +402,7 @@ describe("Network test", () => { ) .delete(options); - const poller = getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); const deleteResponse = await poller.pollUntilDone(); if (isUnexpected(deleteResponse)) { diff --git a/sdk/network/arm-network-rest/test/public/sampleTest.spec.ts b/sdk/network/arm-network-rest/test/public/sampleTest.spec.ts deleted file mode 100644 index 707dd944309e..000000000000 --- a/sdk/network/arm-network-rest/test/public/sampleTest.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { Recorder } from "@azure-tools/test-recorder"; -import { assert } from "chai"; -import { createRecorder } from "./utils/recordedClient"; -import type { Context } from "mocha"; - -describe("My test", () => { - let recorder: Recorder; - - beforeEach(async function (this: Context) { - recorder = await createRecorder(this); - }); - - afterEach(async function () { - await recorder.stop(); - }); - - it("sample test", async function () { - assert.equal(1, 1); - }); -}); diff --git a/sdk/network/arm-network-rest/tsconfig.json b/sdk/network/arm-network-rest/tsconfig.json index f2349ce09052..19ceb382b521 100644 --- a/sdk/network/arm-network-rest/tsconfig.json +++ b/sdk/network/arm-network-rest/tsconfig.json @@ -1,9 +1,13 @@ { - "extends": "../../../tsconfig", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", - "paths": { "@azure-rest/arm-network": ["./src/index"] } - }, - "include": ["src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.samples.json" + }, + { + "path": "./tsconfig.test.json" + } + ] } diff --git a/sdk/network/arm-network-rest/tsconfig.samples.json b/sdk/network/arm-network-rest/tsconfig.samples.json new file mode 100644 index 000000000000..2365196bf1b1 --- /dev/null +++ b/sdk/network/arm-network-rest/tsconfig.samples.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.samples.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/arm-network": [ + "./dist/esm" + ] + } + } +} diff --git a/sdk/network/arm-network-rest/tsconfig.src.json b/sdk/network/arm-network-rest/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/network/arm-network-rest/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/network/arm-network-rest/tsconfig.test.json b/sdk/network/arm-network-rest/tsconfig.test.json new file mode 100644 index 000000000000..3c2b783a8c1b --- /dev/null +++ b/sdk/network/arm-network-rest/tsconfig.test.json @@ -0,0 +1,6 @@ +{ + "extends": [ + "./tsconfig.src.json", + "../../../tsconfig.test.base.json" + ] +} From a5983cf8d86f685da7620e034295d95e78817c8c Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:39:19 +0800 Subject: [PATCH 45/73] Migration: Update test config --- .../tsconfig.browser.config.json | 17 +++++++++++++++++ .../arm-network-rest/vitest.browser.config.ts | 17 +++++++++++++++++ sdk/network/arm-network-rest/vitest.config.ts | 7 +++++++ .../arm-network-rest/vitest.esm.config.ts | 12 ++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 sdk/network/arm-network-rest/tsconfig.browser.config.json create mode 100644 sdk/network/arm-network-rest/vitest.browser.config.ts create mode 100644 sdk/network/arm-network-rest/vitest.config.ts create mode 100644 sdk/network/arm-network-rest/vitest.esm.config.ts diff --git a/sdk/network/arm-network-rest/tsconfig.browser.config.json b/sdk/network/arm-network-rest/tsconfig.browser.config.json new file mode 100644 index 000000000000..b6586181d006 --- /dev/null +++ b/sdk/network/arm-network-rest/tsconfig.browser.config.json @@ -0,0 +1,17 @@ +{ + "extends": "./.tshy/build.json", + "include": [ + "./src/**/*.ts", + "./src/**/*.mts", + "./test/**/*.spec.ts", + "./test/**/*.mts" + ], + "exclude": [ + "./test/**/node/**/*.ts" + ], + "compilerOptions": { + "outDir": "./dist-test/browser", + "rootDir": ".", + "skipLibCheck": true + } +} diff --git a/sdk/network/arm-network-rest/vitest.browser.config.ts b/sdk/network/arm-network-rest/vitest.browser.config.ts new file mode 100644 index 000000000000..b48c61b2ef46 --- /dev/null +++ b/sdk/network/arm-network-rest/vitest.browser.config.ts @@ -0,0 +1,17 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: [ + "dist-test/browser/test/**/*.spec.js", + ], + }, + }), +); diff --git a/sdk/network/arm-network-rest/vitest.config.ts b/sdk/network/arm-network-rest/vitest.config.ts new file mode 100644 index 000000000000..cc5cd85d4131 --- /dev/null +++ b/sdk/network/arm-network-rest/vitest.config.ts @@ -0,0 +1,7 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import viteConfig from "../../../vitest.shared.config.ts"; + +export default viteConfig; diff --git a/sdk/network/arm-network-rest/vitest.esm.config.ts b/sdk/network/arm-network-rest/vitest.esm.config.ts new file mode 100644 index 000000000000..a70127279fc9 --- /dev/null +++ b/sdk/network/arm-network-rest/vitest.esm.config.ts @@ -0,0 +1,12 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig( + vitestConfig, + vitestEsmConfig +); From 10053dbca51721c082085e864ac58f22974ecb7b Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:39:19 +0800 Subject: [PATCH 46/73] Migration: Clean up files --- sdk/network/arm-network-rest/karma.conf.js | 133 --------------------- 1 file changed, 133 deletions(-) delete mode 100644 sdk/network/arm-network-rest/karma.conf.js diff --git a/sdk/network/arm-network-rest/karma.conf.js b/sdk/network/arm-network-rest/karma.conf.js deleted file mode 100644 index 4fdf26c79ac0..000000000000 --- a/sdk/network/arm-network-rest/karma.conf.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -require("dotenv").config(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["source-map-support", "mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - "karma-source-map-support", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { - pattern: "dist-test/index.browser.js.map", - type: "html", - included: false, - served: true, - }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // IMPORTANT: COMMENT following line if you want to debug in your browsers!! - // Preprocess source file to calculate code coverage, however this will make source file unreadable - // "dist-test/index.js": ["coverage"] - }, - - envPreprocessor: [ - "TEST_MODE", - "ENDPOINT", - "AZURE_CLIENT_SECRET", - "AZURE_CLIENT_ID", - "AZURE_TENANT_ID", - "SUBSCRIPTION_ID", - "RECORDINGS_RELATIVE_PATH", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - reporters: [ - { type: "json", subdir: ".", file: "coverage.json" }, - { type: "lcovonly", subdir: ".", file: "lcov.info" }, - { type: "html", subdir: "html" }, - { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, - ], - }, - - junitReporter: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 60000000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; From cf9c87f38b764206db5793b493dc9dde3216f959 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:43:20 +0800 Subject: [PATCH 47/73] Migration: Apply codemod: "fixSourceFile" --- ...dminRuleCollectionsCreateOrUpdateSample.ts | 4 +--- .../adminRuleCollectionsDeleteSample.ts | 4 +--- .../adminRuleCollectionsGetSample.ts | 4 +--- .../adminRuleCollectionsListSample.ts | 4 +--- .../adminRulesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/adminRulesDeleteSample.ts | 4 +--- .../samples-dev/adminRulesGetSample.ts | 4 +--- .../samples-dev/adminRulesListSample.ts | 4 +--- ...yPrivateEndpointConnectionsDeleteSample.ts | 4 +--- ...ewayPrivateEndpointConnectionsGetSample.ts | 4 +--- ...wayPrivateEndpointConnectionsListSample.ts | 4 +--- ...yPrivateEndpointConnectionsUpdateSample.ts | 4 +--- ...onGatewayPrivateLinkResourcesListSample.ts | 4 +--- ...ewayWafDynamicManifestsDefaultGetSample.ts | 4 +--- ...tionGatewayWafDynamicManifestsGetSample.ts | 4 +--- ...tionGatewaysBackendHealthOnDemandSample.ts | 4 +--- .../applicationGatewaysBackendHealthSample.ts | 4 +--- ...applicationGatewaysCreateOrUpdateSample.ts | 4 +--- .../applicationGatewaysDeleteSample.ts | 4 +--- .../applicationGatewaysGetSample.ts | 4 +--- ...ionGatewaysGetSslPredefinedPolicySample.ts | 4 +--- .../applicationGatewaysListAllSample.ts | 4 +--- ...tewaysListAvailableRequestHeadersSample.ts | 4 +--- ...ewaysListAvailableResponseHeadersSample.ts | 4 +--- ...ewaysListAvailableServerVariablesSample.ts | 4 +--- ...onGatewaysListAvailableSslOptionsSample.ts | 4 +--- ...istAvailableSslPredefinedPoliciesSample.ts | 4 +--- ...nGatewaysListAvailableWafRuleSetsSample.ts | 4 +--- .../applicationGatewaysListSample.ts | 4 +--- .../applicationGatewaysStartSample.ts | 4 +--- .../applicationGatewaysStopSample.ts | 4 +--- .../applicationGatewaysUpdateTagsSample.ts | 4 +--- ...ationSecurityGroupsCreateOrUpdateSample.ts | 4 +--- .../applicationSecurityGroupsDeleteSample.ts | 4 +--- .../applicationSecurityGroupsGetSample.ts | 4 +--- .../applicationSecurityGroupsListAllSample.ts | 4 +--- .../applicationSecurityGroupsListSample.ts | 4 +--- ...plicationSecurityGroupsUpdateTagsSample.ts | 4 +--- .../availableDelegationsListSample.ts | 4 +--- .../availableEndpointServicesListSample.ts | 4 +--- ...eEndpointTypesListByResourceGroupSample.ts | 4 +--- ...availablePrivateEndpointTypesListSample.ts | 4 +--- ...lableResourceGroupDelegationsListSample.ts | 4 +--- ...ServiceAliasesListByResourceGroupSample.ts | 4 +--- .../availableServiceAliasesListSample.ts | 4 +--- .../azureFirewallFqdnTagsListAllSample.ts | 4 +--- .../azureFirewallsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/azureFirewallsDeleteSample.ts | 4 +--- .../samples-dev/azureFirewallsGetSample.ts | 4 +--- .../azureFirewallsListAllSample.ts | 4 +--- ...azureFirewallsListLearnedPrefixesSample.ts | 4 +--- .../samples-dev/azureFirewallsListSample.ts | 4 +--- .../azureFirewallsUpdateTagsSample.ts | 4 +--- .../bastionHostsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/bastionHostsDeleteSample.ts | 4 +--- .../samples-dev/bastionHostsGetSample.ts | 4 +--- .../bastionHostsListByResourceGroupSample.ts | 4 +--- .../samples-dev/bastionHostsListSample.ts | 4 +--- .../bastionHostsUpdateTagsSample.ts | 4 +--- .../bgpServiceCommunitiesListSample.ts | 4 +--- .../checkDnsNameAvailabilitySample.ts | 4 +--- ...urationPolicyGroupsCreateOrUpdateSample.ts | 4 +--- .../configurationPolicyGroupsDeleteSample.ts | 4 +--- .../configurationPolicyGroupsGetSample.ts | 4 +--- ...roupsListByVpnServerConfigurationSample.ts | 4 +--- .../connectionMonitorsCreateOrUpdateSample.ts | 4 +--- .../connectionMonitorsDeleteSample.ts | 4 +--- .../connectionMonitorsGetSample.ts | 4 +--- .../connectionMonitorsListSample.ts | 4 +--- .../connectionMonitorsQuerySample.ts | 4 +--- .../connectionMonitorsStartSample.ts | 4 +--- .../connectionMonitorsStopSample.ts | 4 +--- .../connectionMonitorsUpdateTagsSample.ts | 4 +--- ...ivityConfigurationsCreateOrUpdateSample.ts | 4 +--- .../connectivityConfigurationsDeleteSample.ts | 4 +--- .../connectivityConfigurationsGetSample.ts | 4 +--- .../connectivityConfigurationsListSample.ts | 4 +--- .../customIPPrefixesCreateOrUpdateSample.ts | 4 +--- .../customIPPrefixesDeleteSample.ts | 4 +--- .../samples-dev/customIPPrefixesGetSample.ts | 4 +--- .../customIPPrefixesListAllSample.ts | 4 +--- .../samples-dev/customIPPrefixesListSample.ts | 4 +--- .../customIPPrefixesUpdateTagsSample.ts | 4 +--- .../ddosCustomPoliciesCreateOrUpdateSample.ts | 4 +--- .../ddosCustomPoliciesDeleteSample.ts | 4 +--- .../ddosCustomPoliciesGetSample.ts | 4 +--- .../ddosCustomPoliciesUpdateTagsSample.ts | 4 +--- ...ddosProtectionPlansCreateOrUpdateSample.ts | 4 +--- .../ddosProtectionPlansDeleteSample.ts | 4 +--- .../ddosProtectionPlansGetSample.ts | 4 +--- ...rotectionPlansListByResourceGroupSample.ts | 4 +--- .../ddosProtectionPlansListSample.ts | 4 +--- .../ddosProtectionPlansUpdateTagsSample.ts | 4 +--- .../defaultSecurityRulesGetSample.ts | 4 +--- .../defaultSecurityRulesListSample.ts | 4 +--- .../deleteBastionShareableLinkSample.ts | 4 +--- .../disconnectActiveSessionsSample.ts | 4 +--- .../dscpConfigurationCreateOrUpdateSample.ts | 4 +--- .../dscpConfigurationDeleteSample.ts | 4 +--- .../samples-dev/dscpConfigurationGetSample.ts | 4 +--- .../dscpConfigurationListAllSample.ts | 4 +--- .../dscpConfigurationListSample.ts | 4 +--- ...rcuitAuthorizationsCreateOrUpdateSample.ts | 4 +--- ...sRouteCircuitAuthorizationsDeleteSample.ts | 4 +--- ...ressRouteCircuitAuthorizationsGetSample.ts | 4 +--- ...essRouteCircuitAuthorizationsListSample.ts | 4 +--- ...eCircuitConnectionsCreateOrUpdateSample.ts | 4 +--- ...ressRouteCircuitConnectionsDeleteSample.ts | 4 +--- ...expressRouteCircuitConnectionsGetSample.ts | 4 +--- ...xpressRouteCircuitConnectionsListSample.ts | 4 +--- ...outeCircuitPeeringsCreateOrUpdateSample.ts | 4 +--- ...expressRouteCircuitPeeringsDeleteSample.ts | 4 +--- .../expressRouteCircuitPeeringsGetSample.ts | 4 +--- .../expressRouteCircuitPeeringsListSample.ts | 4 +--- ...xpressRouteCircuitsCreateOrUpdateSample.ts | 4 +--- .../expressRouteCircuitsDeleteSample.ts | 4 +--- ...pressRouteCircuitsGetPeeringStatsSample.ts | 4 +--- .../expressRouteCircuitsGetSample.ts | 4 +--- .../expressRouteCircuitsGetStatsSample.ts | 4 +--- .../expressRouteCircuitsListAllSample.ts | 4 +--- .../expressRouteCircuitsListArpTableSample.ts | 4 +--- ...pressRouteCircuitsListRoutesTableSample.ts | 4 +--- ...uteCircuitsListRoutesTableSummarySample.ts | 4 +--- .../expressRouteCircuitsListSample.ts | 4 +--- .../expressRouteCircuitsUpdateTagsSample.ts | 4 +--- ...essRouteConnectionsCreateOrUpdateSample.ts | 4 +--- .../expressRouteConnectionsDeleteSample.ts | 4 +--- .../expressRouteConnectionsGetSample.ts | 4 +--- .../expressRouteConnectionsListSample.ts | 4 +--- ...sConnectionPeeringsCreateOrUpdateSample.ts | 4 +--- ...outeCrossConnectionPeeringsDeleteSample.ts | 4 +--- ...ssRouteCrossConnectionPeeringsGetSample.ts | 4 +--- ...sRouteCrossConnectionPeeringsListSample.ts | 4 +--- ...uteCrossConnectionsCreateOrUpdateSample.ts | 4 +--- .../expressRouteCrossConnectionsGetSample.ts | 4 +--- ...RouteCrossConnectionsListArpTableSample.ts | 4 +--- ...ossConnectionsListByResourceGroupSample.ts | 4 +--- ...teCrossConnectionsListRoutesTableSample.ts | 4 +--- ...ConnectionsListRoutesTableSummarySample.ts | 4 +--- .../expressRouteCrossConnectionsListSample.ts | 4 +--- ...ssRouteCrossConnectionsUpdateTagsSample.ts | 4 +--- ...xpressRouteGatewaysCreateOrUpdateSample.ts | 4 +--- .../expressRouteGatewaysDeleteSample.ts | 4 +--- .../expressRouteGatewaysGetSample.ts | 4 +--- ...sRouteGatewaysListByResourceGroupSample.ts | 4 +--- ...ssRouteGatewaysListBySubscriptionSample.ts | 4 +--- .../expressRouteGatewaysUpdateTagsSample.ts | 4 +--- .../samples-dev/expressRouteLinksGetSample.ts | 4 +--- .../expressRouteLinksListSample.ts | 4 +--- ...ePortAuthorizationsCreateOrUpdateSample.ts | 4 +--- ...ressRoutePortAuthorizationsDeleteSample.ts | 4 +--- ...expressRoutePortAuthorizationsGetSample.ts | 4 +--- ...xpressRoutePortAuthorizationsListSample.ts | 4 +--- .../expressRoutePortsCreateOrUpdateSample.ts | 4 +--- .../expressRoutePortsDeleteSample.ts | 4 +--- .../expressRoutePortsGenerateLoaSample.ts | 4 +--- .../samples-dev/expressRoutePortsGetSample.ts | 4 +--- ...ressRoutePortsListByResourceGroupSample.ts | 4 +--- .../expressRoutePortsListSample.ts | 4 +--- .../expressRoutePortsLocationsGetSample.ts | 4 +--- .../expressRoutePortsLocationsListSample.ts | 4 +--- .../expressRoutePortsUpdateTagsSample.ts | 4 +--- .../expressRouteProviderPortsGetSample.ts | 4 +--- ...essRouteProviderPortsLocationListSample.ts | 4 +--- .../expressRouteServiceProvidersListSample.ts | 4 +--- .../firewallPoliciesCreateOrUpdateSample.ts | 4 +--- .../firewallPoliciesDeleteSample.ts | 4 +--- .../samples-dev/firewallPoliciesGetSample.ts | 4 +--- .../firewallPoliciesListAllSample.ts | 4 +--- .../samples-dev/firewallPoliciesListSample.ts | 4 +--- .../firewallPoliciesUpdateTagsSample.ts | 4 +--- ...icyIdpsSignaturesFilterValuesListSample.ts | 4 +--- .../firewallPolicyIdpsSignaturesListSample.ts | 4 +--- ...lPolicyIdpsSignaturesOverridesGetSample.ts | 4 +--- ...PolicyIdpsSignaturesOverridesListSample.ts | 4 +--- ...olicyIdpsSignaturesOverridesPatchSample.ts | 4 +--- ...lPolicyIdpsSignaturesOverridesPutSample.ts | 4 +--- ...uleCollectionGroupsCreateOrUpdateSample.ts | 4 +--- ...lPolicyRuleCollectionGroupsDeleteSample.ts | 4 +--- ...wallPolicyRuleCollectionGroupsGetSample.ts | 4 +--- ...allPolicyRuleCollectionGroupsListSample.ts | 4 +--- .../flowLogsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/flowLogsDeleteSample.ts | 4 +--- .../samples-dev/flowLogsGetSample.ts | 4 +--- .../samples-dev/flowLogsListSample.ts | 4 +--- .../samples-dev/flowLogsUpdateTagsSample.ts | 4 +--- ...nvpnserverconfigurationvpnprofileSample.ts | 4 +--- .../samples-dev/getActiveSessionsSample.ts | 4 +--- .../getBastionShareableLinkSample.ts | 4 +--- .../hubRouteTablesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/hubRouteTablesDeleteSample.ts | 4 +--- .../samples-dev/hubRouteTablesGetSample.ts | 4 +--- .../samples-dev/hubRouteTablesListSample.ts | 4 +--- ...lNetworkConnectionsCreateOrUpdateSample.ts | 4 +--- ...ubVirtualNetworkConnectionsDeleteSample.ts | 4 +--- .../hubVirtualNetworkConnectionsGetSample.ts | 4 +--- .../hubVirtualNetworkConnectionsListSample.ts | 4 +--- .../inboundNatRulesCreateOrUpdateSample.ts | 4 +--- .../inboundNatRulesDeleteSample.ts | 4 +--- .../samples-dev/inboundNatRulesGetSample.ts | 4 +--- .../samples-dev/inboundNatRulesListSample.ts | 4 +--- ...inboundSecurityRuleCreateOrUpdateSample.ts | 4 +--- .../ipAllocationsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/ipAllocationsDeleteSample.ts | 4 +--- .../samples-dev/ipAllocationsGetSample.ts | 4 +--- .../ipAllocationsListByResourceGroupSample.ts | 4 +--- .../samples-dev/ipAllocationsListSample.ts | 4 +--- .../ipAllocationsUpdateTagsSample.ts | 4 +--- .../ipGroupsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/ipGroupsDeleteSample.ts | 4 +--- .../samples-dev/ipGroupsGetSample.ts | 4 +--- .../ipGroupsListByResourceGroupSample.ts | 4 +--- .../samples-dev/ipGroupsListSample.ts | 4 +--- .../samples-dev/ipGroupsUpdateGroupsSample.ts | 4 +--- ...tActiveConnectivityConfigurationsSample.ts | 4 +--- .../listActiveSecurityAdminRulesSample.ts | 4 +--- ...fectiveConnectivityConfigurationsSample.ts | 4 +--- ...anagerEffectiveSecurityAdminRulesSample.ts | 4 +--- ...BackendAddressPoolsCreateOrUpdateSample.ts | 4 +--- ...BalancerBackendAddressPoolsDeleteSample.ts | 4 +--- ...oadBalancerBackendAddressPoolsGetSample.ts | 4 +--- ...adBalancerBackendAddressPoolsListSample.ts | 4 +--- ...lancerFrontendIPConfigurationsGetSample.ts | 4 +--- ...ancerFrontendIPConfigurationsListSample.ts | 4 +--- ...loadBalancerLoadBalancingRulesGetSample.ts | 4 +--- ...oadBalancerLoadBalancingRulesListSample.ts | 4 +--- ...loadBalancerNetworkInterfacesListSample.ts | 4 +--- .../loadBalancerOutboundRulesGetSample.ts | 4 +--- .../loadBalancerOutboundRulesListSample.ts | 4 +--- .../loadBalancerProbesGetSample.ts | 4 +--- .../loadBalancerProbesListSample.ts | 4 +--- .../loadBalancersCreateOrUpdateSample.ts | 4 +--- .../samples-dev/loadBalancersDeleteSample.ts | 4 +--- .../samples-dev/loadBalancersGetSample.ts | 4 +--- .../samples-dev/loadBalancersListAllSample.ts | 4 +--- ...ersListInboundNatRulePortMappingsSample.ts | 4 +--- .../samples-dev/loadBalancersListSample.ts | 4 +--- ...oadBalancersSwapPublicIPAddressesSample.ts | 4 +--- .../loadBalancersUpdateTagsSample.ts | 4 +--- ...ocalNetworkGatewaysCreateOrUpdateSample.ts | 4 +--- .../localNetworkGatewaysDeleteSample.ts | 4 +--- .../localNetworkGatewaysGetSample.ts | 4 +--- .../localNetworkGatewaysListSample.ts | 4 +--- .../localNetworkGatewaysUpdateTagsSample.ts | 4 +--- ...kManagerConnectionsCreateOrUpdateSample.ts | 4 +--- ...upNetworkManagerConnectionsDeleteSample.ts | 4 +--- ...GroupNetworkManagerConnectionsGetSample.ts | 4 +--- ...roupNetworkManagerConnectionsListSample.ts | 4 +--- .../natGatewaysCreateOrUpdateSample.ts | 4 +--- .../samples-dev/natGatewaysDeleteSample.ts | 4 +--- .../samples-dev/natGatewaysGetSample.ts | 4 +--- .../samples-dev/natGatewaysListAllSample.ts | 4 +--- .../samples-dev/natGatewaysListSample.ts | 4 +--- .../natGatewaysUpdateTagsSample.ts | 4 +--- .../natRulesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/natRulesDeleteSample.ts | 4 +--- .../samples-dev/natRulesGetSample.ts | 4 +--- .../natRulesListByVpnGatewaySample.ts | 4 +--- .../networkGroupsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/networkGroupsDeleteSample.ts | 4 +--- .../samples-dev/networkGroupsGetSample.ts | 4 +--- .../samples-dev/networkGroupsListSample.ts | 4 +--- ...tworkInterfaceIPConfigurationsGetSample.ts | 4 +--- ...workInterfaceIPConfigurationsListSample.ts | 4 +--- ...networkInterfaceLoadBalancersListSample.ts | 4 +--- ...ceTapConfigurationsCreateOrUpdateSample.ts | 4 +--- ...kInterfaceTapConfigurationsDeleteSample.ts | 4 +--- ...workInterfaceTapConfigurationsGetSample.ts | 4 +--- ...orkInterfaceTapConfigurationsListSample.ts | 4 +--- .../networkInterfacesCreateOrUpdateSample.ts | 4 +--- .../networkInterfacesDeleteSample.ts | 4 +--- ...esGetCloudServiceNetworkInterfaceSample.ts | 4 +--- ...kInterfacesGetEffectiveRouteTableSample.ts | 4 +--- .../samples-dev/networkInterfacesGetSample.ts | 4 +--- ...ualMachineScaleSetIPConfigurationSample.ts | 4 +--- ...alMachineScaleSetNetworkInterfaceSample.ts | 4 +--- .../networkInterfacesListAllSample.ts | 4 +--- ...ListCloudServiceNetworkInterfacesSample.ts | 4 +--- ...viceRoleInstanceNetworkInterfacesSample.ts | 4 +--- ...istEffectiveNetworkSecurityGroupsSample.ts | 4 +--- .../networkInterfacesListSample.ts | 4 +--- ...alMachineScaleSetIPConfigurationsSample.ts | 4 +--- ...lMachineScaleSetNetworkInterfacesSample.ts | 4 +--- ...achineScaleSetVMNetworkInterfacesSample.ts | 4 +--- .../networkInterfacesUpdateTagsSample.ts | 4 +--- .../networkManagerCommitsPostSample.ts | 4 +--- ...etworkManagerDeploymentStatusListSample.ts | 4 +--- .../networkManagersCreateOrUpdateSample.ts | 4 +--- .../networkManagersDeleteSample.ts | 4 +--- .../samples-dev/networkManagersGetSample.ts | 4 +--- ...networkManagersListBySubscriptionSample.ts | 4 +--- .../samples-dev/networkManagersListSample.ts | 4 +--- .../samples-dev/networkManagersPatchSample.ts | 4 +--- .../networkProfilesCreateOrUpdateSample.ts | 4 +--- .../networkProfilesDeleteSample.ts | 4 +--- .../samples-dev/networkProfilesGetSample.ts | 4 +--- .../networkProfilesListAllSample.ts | 4 +--- .../samples-dev/networkProfilesListSample.ts | 4 +--- .../networkProfilesUpdateTagsSample.ts | 4 +--- ...tworkSecurityGroupsCreateOrUpdateSample.ts | 4 +--- .../networkSecurityGroupsDeleteSample.ts | 4 +--- .../networkSecurityGroupsGetSample.ts | 4 +--- .../networkSecurityGroupsListAllSample.ts | 4 +--- .../networkSecurityGroupsListSample.ts | 4 +--- .../networkSecurityGroupsUpdateTagsSample.ts | 4 +--- ...rkVirtualAppliancesCreateOrUpdateSample.ts | 4 +--- .../networkVirtualAppliancesDeleteSample.ts | 4 +--- .../networkVirtualAppliancesGetSample.ts | 4 +--- ...tualAppliancesListByResourceGroupSample.ts | 4 +--- .../networkVirtualAppliancesListSample.ts | 4 +--- ...etworkVirtualAppliancesUpdateTagsSample.ts | 4 +--- .../networkWatchersCheckConnectivitySample.ts | 4 +--- .../networkWatchersCreateOrUpdateSample.ts | 4 +--- .../networkWatchersDeleteSample.ts | 4 +--- ...atchersGetAzureReachabilityReportSample.ts | 4 +--- .../networkWatchersGetFlowLogStatusSample.ts | 4 +--- ...GetNetworkConfigurationDiagnosticSample.ts | 4 +--- .../networkWatchersGetNextHopSample.ts | 4 +--- .../samples-dev/networkWatchersGetSample.ts | 4 +--- .../networkWatchersGetTopologySample.ts | 4 +--- ...kWatchersGetTroubleshootingResultSample.ts | 4 +--- ...networkWatchersGetTroubleshootingSample.ts | 4 +--- ...networkWatchersGetVMSecurityRulesSample.ts | 4 +--- .../networkWatchersListAllSample.ts | 4 +--- ...orkWatchersListAvailableProvidersSample.ts | 4 +--- .../samples-dev/networkWatchersListSample.ts | 4 +--- ...rkWatchersSetFlowLogConfigurationSample.ts | 4 +--- .../networkWatchersUpdateTagsSample.ts | 4 +--- .../networkWatchersVerifyIPFlowSample.ts | 4 +--- .../samples-dev/operationsListSample.ts | 4 +--- .../p2SVpnGatewaysCreateOrUpdateSample.ts | 4 +--- .../samples-dev/p2SVpnGatewaysDeleteSample.ts | 4 +--- ...tewaysDisconnectP2SvpnConnectionsSample.ts | 4 +--- .../p2SVpnGatewaysGenerateVpnProfileSample.ts | 4 +--- ...GetP2SvpnConnectionHealthDetailedSample.ts | 4 +--- ...GatewaysGetP2SvpnConnectionHealthSample.ts | 4 +--- .../samples-dev/p2SVpnGatewaysGetSample.ts | 4 +--- ...p2SVpnGatewaysListByResourceGroupSample.ts | 4 +--- .../samples-dev/p2SVpnGatewaysListSample.ts | 4 +--- .../samples-dev/p2SVpnGatewaysResetSample.ts | 4 +--- .../p2SVpnGatewaysUpdateTagsSample.ts | 4 +--- .../samples-dev/packetCapturesCreateSample.ts | 4 +--- .../samples-dev/packetCapturesDeleteSample.ts | 4 +--- .../samples-dev/packetCapturesGetSample.ts | 4 +--- .../packetCapturesGetStatusSample.ts | 4 +--- .../samples-dev/packetCapturesListSample.ts | 4 +--- .../samples-dev/packetCapturesStopSample.ts | 4 +--- ...ExpressRouteCircuitConnectionsGetSample.ts | 4 +--- ...xpressRouteCircuitConnectionsListSample.ts | 4 +--- ...rivateDnsZoneGroupsCreateOrUpdateSample.ts | 4 +--- .../privateDnsZoneGroupsDeleteSample.ts | 4 +--- .../privateDnsZoneGroupsGetSample.ts | 4 +--- .../privateDnsZoneGroupsListSample.ts | 4 +--- .../privateEndpointsCreateOrUpdateSample.ts | 4 +--- .../privateEndpointsDeleteSample.ts | 4 +--- .../samples-dev/privateEndpointsGetSample.ts | 4 +--- ...rivateEndpointsListBySubscriptionSample.ts | 4 +--- .../samples-dev/privateEndpointsListSample.ts | 4 +--- ...kServiceVisibilityByResourceGroupSample.ts | 4 +--- ...CheckPrivateLinkServiceVisibilitySample.ts | 4 +--- ...privateLinkServicesCreateOrUpdateSample.ts | 4 +--- ...esDeletePrivateEndpointConnectionSample.ts | 4 +--- .../privateLinkServicesDeleteSample.ts | 4 +--- ...vicesGetPrivateEndpointConnectionSample.ts | 4 +--- .../privateLinkServicesGetSample.ts | 4 +--- ...rivateLinkServicesByResourceGroupSample.ts | 4 +--- ...stAutoApprovedPrivateLinkServicesSample.ts | 4 +--- ...ateLinkServicesListBySubscriptionSample.ts | 4 +--- ...cesListPrivateEndpointConnectionsSample.ts | 4 +--- .../privateLinkServicesListSample.ts | 4 +--- ...esUpdatePrivateEndpointConnectionSample.ts | 4 +--- .../publicIPAddressesCreateOrUpdateSample.ts | 4 +--- ...icIPAddressesDdosProtectionStatusSample.ts | 4 +--- .../publicIPAddressesDeleteSample.ts | 4 +--- ...sesGetCloudServicePublicIpaddressSample.ts | 4 +--- .../samples-dev/publicIPAddressesGetSample.ts | 4 +--- ...ualMachineScaleSetPublicIpaddressSample.ts | 4 +--- .../publicIPAddressesListAllSample.ts | 4 +--- ...ListCloudServicePublicIpaddressesSample.ts | 4 +--- ...viceRoleInstancePublicIpaddressesSample.ts | 4 +--- .../publicIPAddressesListSample.ts | 4 +--- ...lMachineScaleSetPublicIpaddressesSample.ts | 4 +--- ...achineScaleSetVmpublicIpaddressesSample.ts | 4 +--- .../publicIPAddressesUpdateTagsSample.ts | 4 +--- .../publicIPPrefixesCreateOrUpdateSample.ts | 4 +--- .../publicIPPrefixesDeleteSample.ts | 4 +--- .../samples-dev/publicIPPrefixesGetSample.ts | 4 +--- .../publicIPPrefixesListAllSample.ts | 4 +--- .../samples-dev/publicIPPrefixesListSample.ts | 4 +--- .../publicIPPrefixesUpdateTagsSample.ts | 4 +--- .../putBastionShareableLinkSample.ts | 4 +--- .../resourceNavigationLinksListSample.ts | 4 +--- .../routeFilterRulesCreateOrUpdateSample.ts | 4 +--- .../routeFilterRulesDeleteSample.ts | 4 +--- .../samples-dev/routeFilterRulesGetSample.ts | 4 +--- ...routeFilterRulesListByRouteFilterSample.ts | 4 +--- .../routeFiltersCreateOrUpdateSample.ts | 4 +--- .../samples-dev/routeFiltersDeleteSample.ts | 4 +--- .../samples-dev/routeFiltersGetSample.ts | 4 +--- .../routeFiltersListByResourceGroupSample.ts | 4 +--- .../samples-dev/routeFiltersListSample.ts | 4 +--- .../routeFiltersUpdateTagsSample.ts | 4 +--- .../routeMapsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/routeMapsDeleteSample.ts | 4 +--- .../samples-dev/routeMapsGetSample.ts | 4 +--- .../samples-dev/routeMapsListSample.ts | 4 +--- .../routeTablesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/routeTablesDeleteSample.ts | 4 +--- .../samples-dev/routeTablesGetSample.ts | 4 +--- .../samples-dev/routeTablesListAllSample.ts | 4 +--- .../samples-dev/routeTablesListSample.ts | 4 +--- .../routeTablesUpdateTagsSample.ts | 4 +--- .../samples-dev/routesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/routesDeleteSample.ts | 4 +--- .../samples-dev/routesGetSample.ts | 4 +--- .../samples-dev/routesListSample.ts | 4 +--- .../routingIntentCreateOrUpdateSample.ts | 4 +--- .../samples-dev/routingIntentDeleteSample.ts | 4 +--- .../samples-dev/routingIntentGetSample.ts | 4 +--- .../samples-dev/routingIntentListSample.ts | 4 +--- .../scopeConnectionsCreateOrUpdateSample.ts | 4 +--- .../scopeConnectionsDeleteSample.ts | 4 +--- .../samples-dev/scopeConnectionsGetSample.ts | 4 +--- .../samples-dev/scopeConnectionsListSample.ts | 4 +--- ...AdminConfigurationsCreateOrUpdateSample.ts | 4 +--- ...securityAdminConfigurationsDeleteSample.ts | 4 +--- .../securityAdminConfigurationsGetSample.ts | 4 +--- .../securityAdminConfigurationsListSample.ts | 4 +--- ...ityPartnerProvidersCreateOrUpdateSample.ts | 4 +--- .../securityPartnerProvidersDeleteSample.ts | 4 +--- .../securityPartnerProvidersGetSample.ts | 4 +--- ...rtnerProvidersListByResourceGroupSample.ts | 4 +--- .../securityPartnerProvidersListSample.ts | 4 +--- ...ecurityPartnerProvidersUpdateTagsSample.ts | 4 +--- .../securityRulesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/securityRulesDeleteSample.ts | 4 +--- .../samples-dev/securityRulesGetSample.ts | 4 +--- .../samples-dev/securityRulesListSample.ts | 4 +--- .../serviceAssociationLinksListSample.ts | 4 +--- ...iceEndpointPoliciesCreateOrUpdateSample.ts | 4 +--- .../serviceEndpointPoliciesDeleteSample.ts | 4 +--- .../serviceEndpointPoliciesGetSample.ts | 4 +--- ...dpointPoliciesListByResourceGroupSample.ts | 4 +--- .../serviceEndpointPoliciesListSample.ts | 4 +--- ...serviceEndpointPoliciesUpdateTagsSample.ts | 4 +--- ...ntPolicyDefinitionsCreateOrUpdateSample.ts | 4 +--- ...ceEndpointPolicyDefinitionsDeleteSample.ts | 4 +--- ...rviceEndpointPolicyDefinitionsGetSample.ts | 4 +--- ...icyDefinitionsListByResourceGroupSample.ts | 4 +--- .../serviceTagInformationListSample.ts | 4 +--- .../samples-dev/serviceTagsListSample.ts | 4 +--- .../staticMembersCreateOrUpdateSample.ts | 4 +--- .../samples-dev/staticMembersDeleteSample.ts | 4 +--- .../samples-dev/staticMembersGetSample.ts | 4 +--- .../samples-dev/staticMembersListSample.ts | 4 +--- .../subnetsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/subnetsDeleteSample.ts | 4 +--- .../samples-dev/subnetsGetSample.ts | 4 +--- .../samples-dev/subnetsListSample.ts | 4 +--- .../subnetsPrepareNetworkPoliciesSample.ts | 4 +--- .../subnetsUnprepareNetworkPoliciesSample.ts | 4 +--- ...kManagerConnectionsCreateOrUpdateSample.ts | 4 +--- ...onNetworkManagerConnectionsDeleteSample.ts | 4 +--- ...ptionNetworkManagerConnectionsGetSample.ts | 4 +--- ...tionNetworkManagerConnectionsListSample.ts | 4 +--- .../supportedSecurityProvidersSample.ts | 4 +--- .../samples-dev/usagesListSample.ts | 4 +--- .../samples-dev/vipSwapCreateSample.ts | 4 +--- .../samples-dev/vipSwapGetSample.ts | 4 +--- .../samples-dev/vipSwapListSample.ts | 4 +--- ...rtualApplianceSitesCreateOrUpdateSample.ts | 4 +--- .../virtualApplianceSitesDeleteSample.ts | 4 +--- .../virtualApplianceSitesGetSample.ts | 4 +--- .../virtualApplianceSitesListSample.ts | 4 +--- .../virtualApplianceSkusGetSample.ts | 4 +--- .../virtualApplianceSkusListSample.ts | 4 +--- ...ualHubBgpConnectionCreateOrUpdateSample.ts | 4 +--- .../virtualHubBgpConnectionDeleteSample.ts | 4 +--- .../virtualHubBgpConnectionGetSample.ts | 4 +--- ...gpConnectionsListAdvertisedRoutesSample.ts | 4 +--- ...ubBgpConnectionsListLearnedRoutesSample.ts | 4 +--- .../virtualHubBgpConnectionsListSample.ts | 4 +--- ...lHubIPConfigurationCreateOrUpdateSample.ts | 4 +--- .../virtualHubIPConfigurationDeleteSample.ts | 4 +--- .../virtualHubIPConfigurationGetSample.ts | 4 +--- .../virtualHubIPConfigurationListSample.ts | 4 +--- ...ualHubRouteTableV2SCreateOrUpdateSample.ts | 4 +--- .../virtualHubRouteTableV2SDeleteSample.ts | 4 +--- .../virtualHubRouteTableV2SGetSample.ts | 4 +--- .../virtualHubRouteTableV2SListSample.ts | 4 +--- .../virtualHubsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/virtualHubsDeleteSample.ts | 4 +--- ...lHubsGetEffectiveVirtualHubRoutesSample.ts | 4 +--- .../virtualHubsGetInboundRoutesSample.ts | 4 +--- .../virtualHubsGetOutboundRoutesSample.ts | 4 +--- .../samples-dev/virtualHubsGetSample.ts | 4 +--- .../virtualHubsListByResourceGroupSample.ts | 4 +--- .../samples-dev/virtualHubsListSample.ts | 4 +--- .../virtualHubsUpdateTagsSample.ts | 4 +--- ...kGatewayConnectionsCreateOrUpdateSample.ts | 4 +--- ...alNetworkGatewayConnectionsDeleteSample.ts | 4 +--- ...etworkGatewayConnectionsGetIkeSasSample.ts | 4 +--- ...rtualNetworkGatewayConnectionsGetSample.ts | 4 +--- ...orkGatewayConnectionsGetSharedKeySample.ts | 4 +--- ...tualNetworkGatewayConnectionsListSample.ts | 4 +--- ...GatewayConnectionsResetConnectionSample.ts | 4 +--- ...kGatewayConnectionsResetSharedKeySample.ts | 4 +--- ...orkGatewayConnectionsSetSharedKeySample.ts | 4 +--- ...ewayConnectionsStartPacketCaptureSample.ts | 4 +--- ...tewayConnectionsStopPacketCaptureSample.ts | 4 +--- ...tworkGatewayConnectionsUpdateTagsSample.ts | 4 +--- ...workGatewayNatRulesCreateOrUpdateSample.ts | 4 +--- ...rtualNetworkGatewayNatRulesDeleteSample.ts | 4 +--- .../virtualNetworkGatewayNatRulesGetSample.ts | 4 +--- ...tRulesListByVirtualNetworkGatewaySample.ts | 4 +--- ...tualNetworkGatewaysCreateOrUpdateSample.ts | 4 +--- .../virtualNetworkGatewaysDeleteSample.ts | 4 +--- ...rtualNetworkGatewayVpnConnectionsSample.ts | 4 +--- ...NetworkGatewaysGenerateVpnProfileSample.ts | 4 +--- ...kGatewaysGeneratevpnclientpackageSample.ts | 4 +--- ...etworkGatewaysGetAdvertisedRoutesSample.ts | 4 +--- ...alNetworkGatewaysGetBgpPeerStatusSample.ts | 4 +--- ...alNetworkGatewaysGetLearnedRoutesSample.ts | 4 +--- .../virtualNetworkGatewaysGetSample.ts | 4 +--- ...rkGatewaysGetVpnProfilePackageUrlSample.ts | 4 +--- ...ewaysGetVpnclientConnectionHealthSample.ts | 4 +--- ...tewaysGetVpnclientIpsecParametersSample.ts | 4 +--- ...ualNetworkGatewaysListConnectionsSample.ts | 4 +--- .../virtualNetworkGatewaysListSample.ts | 4 +--- .../virtualNetworkGatewaysResetSample.ts | 4 +--- ...rkGatewaysResetVpnClientSharedKeySample.ts | 4 +--- ...tewaysSetVpnclientIpsecParametersSample.ts | 4 +--- ...NetworkGatewaysStartPacketCaptureSample.ts | 4 +--- ...lNetworkGatewaysStopPacketCaptureSample.ts | 4 +--- ...etworkGatewaysSupportedVpnDevicesSample.ts | 4 +--- .../virtualNetworkGatewaysUpdateTagsSample.ts | 4 +--- ...ewaysVpnDeviceConfigurationScriptSample.ts | 4 +--- ...tualNetworkPeeringsCreateOrUpdateSample.ts | 4 +--- .../virtualNetworkPeeringsDeleteSample.ts | 4 +--- .../virtualNetworkPeeringsGetSample.ts | 4 +--- .../virtualNetworkPeeringsListSample.ts | 4 +--- .../virtualNetworkTapsCreateOrUpdateSample.ts | 4 +--- .../virtualNetworkTapsDeleteSample.ts | 4 +--- .../virtualNetworkTapsGetSample.ts | 4 +--- .../virtualNetworkTapsListAllSample.ts | 4 +--- ...ualNetworkTapsListByResourceGroupSample.ts | 4 +--- .../virtualNetworkTapsUpdateTagsSample.ts | 4 +--- ...etworksCheckIPAddressAvailabilitySample.ts | 4 +--- .../virtualNetworksCreateOrUpdateSample.ts | 4 +--- .../virtualNetworksDeleteSample.ts | 4 +--- .../samples-dev/virtualNetworksGetSample.ts | 4 +--- .../virtualNetworksListAllSample.ts | 4 +--- ...lNetworksListDdosProtectionStatusSample.ts | 4 +--- .../samples-dev/virtualNetworksListSample.ts | 4 +--- .../virtualNetworksListUsageSample.ts | 4 +--- .../virtualNetworksUpdateTagsSample.ts | 4 +--- ...rtualRouterPeeringsCreateOrUpdateSample.ts | 4 +--- .../virtualRouterPeeringsDeleteSample.ts | 4 +--- .../virtualRouterPeeringsGetSample.ts | 4 +--- .../virtualRouterPeeringsListSample.ts | 4 +--- .../virtualRoutersCreateOrUpdateSample.ts | 4 +--- .../samples-dev/virtualRoutersDeleteSample.ts | 4 +--- .../samples-dev/virtualRoutersGetSample.ts | 4 +--- ...virtualRoutersListByResourceGroupSample.ts | 4 +--- .../samples-dev/virtualRoutersListSample.ts | 4 +--- .../virtualWansCreateOrUpdateSample.ts | 4 +--- .../samples-dev/virtualWansDeleteSample.ts | 4 +--- .../samples-dev/virtualWansGetSample.ts | 4 +--- .../virtualWansListByResourceGroupSample.ts | 4 +--- .../samples-dev/virtualWansListSample.ts | 4 +--- .../virtualWansUpdateTagsSample.ts | 4 +--- .../vpnConnectionsCreateOrUpdateSample.ts | 4 +--- .../samples-dev/vpnConnectionsDeleteSample.ts | 4 +--- .../samples-dev/vpnConnectionsGetSample.ts | 4 +--- .../vpnConnectionsListByVpnGatewaySample.ts | 4 +--- .../vpnConnectionsStartPacketCaptureSample.ts | 4 +--- .../vpnConnectionsStopPacketCaptureSample.ts | 4 +--- .../vpnGatewaysCreateOrUpdateSample.ts | 4 +--- .../samples-dev/vpnGatewaysDeleteSample.ts | 4 +--- .../samples-dev/vpnGatewaysGetSample.ts | 4 +--- .../vpnGatewaysListByResourceGroupSample.ts | 4 +--- .../samples-dev/vpnGatewaysListSample.ts | 4 +--- .../samples-dev/vpnGatewaysResetSample.ts | 4 +--- .../vpnGatewaysStartPacketCaptureSample.ts | 4 +--- .../vpnGatewaysStopPacketCaptureSample.ts | 4 +--- .../vpnGatewaysUpdateTagsSample.ts | 4 +--- .../vpnLinkConnectionsGetIkeSasSample.ts | 4 +--- ...inkConnectionsListByVpnConnectionSample.ts | 4 +--- ...vpnLinkConnectionsResetConnectionSample.ts | 4 +--- ...tionsAssociatedWithVirtualWanListSample.ts | 4 +--- ...erverConfigurationsCreateOrUpdateSample.ts | 4 +--- .../vpnServerConfigurationsDeleteSample.ts | 4 +--- .../vpnServerConfigurationsGetSample.ts | 4 +--- ...ConfigurationsListByResourceGroupSample.ts | 4 +--- .../vpnServerConfigurationsListSample.ts | 4 +--- ...vpnServerConfigurationsUpdateTagsSample.ts | 4 +--- .../vpnSiteLinkConnectionsGetSample.ts | 4 +--- .../samples-dev/vpnSiteLinksGetSample.ts | 4 +--- .../vpnSiteLinksListByVpnSiteSample.ts | 4 +--- .../vpnSitesConfigurationDownloadSample.ts | 4 +--- .../vpnSitesCreateOrUpdateSample.ts | 4 +--- .../samples-dev/vpnSitesDeleteSample.ts | 4 +--- .../samples-dev/vpnSitesGetSample.ts | 4 +--- .../vpnSitesListByResourceGroupSample.ts | 4 +--- .../samples-dev/vpnSitesListSample.ts | 4 +--- .../samples-dev/vpnSitesUpdateTagsSample.ts | 4 +--- ...ionFirewallPoliciesCreateOrUpdateSample.ts | 4 +--- ...ApplicationFirewallPoliciesDeleteSample.ts | 4 +--- ...webApplicationFirewallPoliciesGetSample.ts | 4 +--- ...pplicationFirewallPoliciesListAllSample.ts | 4 +--- ...ebApplicationFirewallPoliciesListSample.ts | 4 +--- .../samples-dev/webCategoriesGetSample.ts | 4 +--- .../webCategoriesListBySubscriptionSample.ts | 4 +--- ...dminRuleCollectionsCreateOrUpdateSample.ts | 4 +--- .../src/adminRuleCollectionsDeleteSample.ts | 4 +--- .../src/adminRuleCollectionsGetSample.ts | 4 +--- .../src/adminRuleCollectionsListSample.ts | 4 +--- .../src/adminRulesCreateOrUpdateSample.ts | 4 +--- .../typescript/src/adminRulesDeleteSample.ts | 4 +--- .../typescript/src/adminRulesGetSample.ts | 4 +--- .../typescript/src/adminRulesListSample.ts | 4 +--- ...yPrivateEndpointConnectionsDeleteSample.ts | 4 +--- ...ewayPrivateEndpointConnectionsGetSample.ts | 4 +--- ...wayPrivateEndpointConnectionsListSample.ts | 4 +--- ...yPrivateEndpointConnectionsUpdateSample.ts | 4 +--- ...onGatewayPrivateLinkResourcesListSample.ts | 4 +--- ...ewayWafDynamicManifestsDefaultGetSample.ts | 4 +--- ...tionGatewayWafDynamicManifestsGetSample.ts | 4 +--- ...tionGatewaysBackendHealthOnDemandSample.ts | 4 +--- .../applicationGatewaysBackendHealthSample.ts | 4 +--- ...applicationGatewaysCreateOrUpdateSample.ts | 4 +--- .../src/applicationGatewaysDeleteSample.ts | 4 +--- .../src/applicationGatewaysGetSample.ts | 4 +--- ...ionGatewaysGetSslPredefinedPolicySample.ts | 4 +--- .../src/applicationGatewaysListAllSample.ts | 4 +--- ...tewaysListAvailableRequestHeadersSample.ts | 4 +--- ...ewaysListAvailableResponseHeadersSample.ts | 4 +--- ...ewaysListAvailableServerVariablesSample.ts | 4 +--- ...onGatewaysListAvailableSslOptionsSample.ts | 4 +--- ...istAvailableSslPredefinedPoliciesSample.ts | 4 +--- ...nGatewaysListAvailableWafRuleSetsSample.ts | 4 +--- .../src/applicationGatewaysListSample.ts | 4 +--- .../src/applicationGatewaysStartSample.ts | 4 +--- .../src/applicationGatewaysStopSample.ts | 4 +--- .../applicationGatewaysUpdateTagsSample.ts | 4 +--- ...ationSecurityGroupsCreateOrUpdateSample.ts | 4 +--- .../applicationSecurityGroupsDeleteSample.ts | 4 +--- .../src/applicationSecurityGroupsGetSample.ts | 4 +--- .../applicationSecurityGroupsListAllSample.ts | 4 +--- .../applicationSecurityGroupsListSample.ts | 4 +--- ...plicationSecurityGroupsUpdateTagsSample.ts | 4 +--- .../src/availableDelegationsListSample.ts | 4 +--- .../availableEndpointServicesListSample.ts | 4 +--- ...eEndpointTypesListByResourceGroupSample.ts | 4 +--- ...availablePrivateEndpointTypesListSample.ts | 4 +--- ...lableResourceGroupDelegationsListSample.ts | 4 +--- ...ServiceAliasesListByResourceGroupSample.ts | 4 +--- .../src/availableServiceAliasesListSample.ts | 4 +--- .../src/azureFirewallFqdnTagsListAllSample.ts | 4 +--- .../src/azureFirewallsCreateOrUpdateSample.ts | 4 +--- .../src/azureFirewallsDeleteSample.ts | 4 +--- .../typescript/src/azureFirewallsGetSample.ts | 4 +--- .../src/azureFirewallsListAllSample.ts | 4 +--- ...azureFirewallsListLearnedPrefixesSample.ts | 4 +--- .../src/azureFirewallsListSample.ts | 4 +--- .../src/azureFirewallsUpdateTagsSample.ts | 4 +--- .../src/bastionHostsCreateOrUpdateSample.ts | 4 +--- .../src/bastionHostsDeleteSample.ts | 4 +--- .../typescript/src/bastionHostsGetSample.ts | 4 +--- .../bastionHostsListByResourceGroupSample.ts | 4 +--- .../typescript/src/bastionHostsListSample.ts | 4 +--- .../src/bastionHostsUpdateTagsSample.ts | 4 +--- .../src/bgpServiceCommunitiesListSample.ts | 4 +--- .../src/checkDnsNameAvailabilitySample.ts | 4 +--- ...urationPolicyGroupsCreateOrUpdateSample.ts | 4 +--- .../configurationPolicyGroupsDeleteSample.ts | 4 +--- .../src/configurationPolicyGroupsGetSample.ts | 4 +--- ...roupsListByVpnServerConfigurationSample.ts | 4 +--- .../connectionMonitorsCreateOrUpdateSample.ts | 4 +--- .../src/connectionMonitorsDeleteSample.ts | 4 +--- .../src/connectionMonitorsGetSample.ts | 4 +--- .../src/connectionMonitorsListSample.ts | 4 +--- .../src/connectionMonitorsQuerySample.ts | 4 +--- .../src/connectionMonitorsStartSample.ts | 4 +--- .../src/connectionMonitorsStopSample.ts | 4 +--- .../src/connectionMonitorsUpdateTagsSample.ts | 4 +--- ...ivityConfigurationsCreateOrUpdateSample.ts | 4 +--- .../connectivityConfigurationsDeleteSample.ts | 4 +--- .../connectivityConfigurationsGetSample.ts | 4 +--- .../connectivityConfigurationsListSample.ts | 4 +--- .../customIPPrefixesCreateOrUpdateSample.ts | 4 +--- .../src/customIPPrefixesDeleteSample.ts | 4 +--- .../src/customIPPrefixesGetSample.ts | 4 +--- .../src/customIPPrefixesListAllSample.ts | 4 +--- .../src/customIPPrefixesListSample.ts | 4 +--- .../src/customIPPrefixesUpdateTagsSample.ts | 4 +--- .../ddosCustomPoliciesCreateOrUpdateSample.ts | 4 +--- .../src/ddosCustomPoliciesDeleteSample.ts | 4 +--- .../src/ddosCustomPoliciesGetSample.ts | 4 +--- .../src/ddosCustomPoliciesUpdateTagsSample.ts | 4 +--- ...ddosProtectionPlansCreateOrUpdateSample.ts | 4 +--- .../src/ddosProtectionPlansDeleteSample.ts | 4 +--- .../src/ddosProtectionPlansGetSample.ts | 4 +--- ...rotectionPlansListByResourceGroupSample.ts | 4 +--- .../src/ddosProtectionPlansListSample.ts | 4 +--- .../ddosProtectionPlansUpdateTagsSample.ts | 4 +--- .../src/defaultSecurityRulesGetSample.ts | 4 +--- .../src/defaultSecurityRulesListSample.ts | 4 +--- .../src/deleteBastionShareableLinkSample.ts | 4 +--- .../src/disconnectActiveSessionsSample.ts | 4 +--- .../dscpConfigurationCreateOrUpdateSample.ts | 4 +--- .../src/dscpConfigurationDeleteSample.ts | 4 +--- .../src/dscpConfigurationGetSample.ts | 4 +--- .../src/dscpConfigurationListAllSample.ts | 4 +--- .../src/dscpConfigurationListSample.ts | 4 +--- ...rcuitAuthorizationsCreateOrUpdateSample.ts | 4 +--- ...sRouteCircuitAuthorizationsDeleteSample.ts | 4 +--- ...ressRouteCircuitAuthorizationsGetSample.ts | 4 +--- ...essRouteCircuitAuthorizationsListSample.ts | 4 +--- ...eCircuitConnectionsCreateOrUpdateSample.ts | 4 +--- ...ressRouteCircuitConnectionsDeleteSample.ts | 4 +--- ...expressRouteCircuitConnectionsGetSample.ts | 4 +--- ...xpressRouteCircuitConnectionsListSample.ts | 4 +--- ...outeCircuitPeeringsCreateOrUpdateSample.ts | 4 +--- ...expressRouteCircuitPeeringsDeleteSample.ts | 4 +--- .../expressRouteCircuitPeeringsGetSample.ts | 4 +--- .../expressRouteCircuitPeeringsListSample.ts | 4 +--- ...xpressRouteCircuitsCreateOrUpdateSample.ts | 4 +--- .../src/expressRouteCircuitsDeleteSample.ts | 4 +--- ...pressRouteCircuitsGetPeeringStatsSample.ts | 4 +--- .../src/expressRouteCircuitsGetSample.ts | 4 +--- .../src/expressRouteCircuitsGetStatsSample.ts | 4 +--- .../src/expressRouteCircuitsListAllSample.ts | 4 +--- .../expressRouteCircuitsListArpTableSample.ts | 4 +--- ...pressRouteCircuitsListRoutesTableSample.ts | 4 +--- ...uteCircuitsListRoutesTableSummarySample.ts | 4 +--- .../src/expressRouteCircuitsListSample.ts | 4 +--- .../expressRouteCircuitsUpdateTagsSample.ts | 4 +--- ...essRouteConnectionsCreateOrUpdateSample.ts | 4 +--- .../expressRouteConnectionsDeleteSample.ts | 4 +--- .../src/expressRouteConnectionsGetSample.ts | 4 +--- .../src/expressRouteConnectionsListSample.ts | 4 +--- ...sConnectionPeeringsCreateOrUpdateSample.ts | 4 +--- ...outeCrossConnectionPeeringsDeleteSample.ts | 4 +--- ...ssRouteCrossConnectionPeeringsGetSample.ts | 4 +--- ...sRouteCrossConnectionPeeringsListSample.ts | 4 +--- ...uteCrossConnectionsCreateOrUpdateSample.ts | 4 +--- .../expressRouteCrossConnectionsGetSample.ts | 4 +--- ...RouteCrossConnectionsListArpTableSample.ts | 4 +--- ...ossConnectionsListByResourceGroupSample.ts | 4 +--- ...teCrossConnectionsListRoutesTableSample.ts | 4 +--- ...ConnectionsListRoutesTableSummarySample.ts | 4 +--- .../expressRouteCrossConnectionsListSample.ts | 4 +--- ...ssRouteCrossConnectionsUpdateTagsSample.ts | 4 +--- ...xpressRouteGatewaysCreateOrUpdateSample.ts | 4 +--- .../src/expressRouteGatewaysDeleteSample.ts | 4 +--- .../src/expressRouteGatewaysGetSample.ts | 4 +--- ...sRouteGatewaysListByResourceGroupSample.ts | 4 +--- ...ssRouteGatewaysListBySubscriptionSample.ts | 4 +--- .../expressRouteGatewaysUpdateTagsSample.ts | 4 +--- .../src/expressRouteLinksGetSample.ts | 4 +--- .../src/expressRouteLinksListSample.ts | 4 +--- ...ePortAuthorizationsCreateOrUpdateSample.ts | 4 +--- ...ressRoutePortAuthorizationsDeleteSample.ts | 4 +--- ...expressRoutePortAuthorizationsGetSample.ts | 4 +--- ...xpressRoutePortAuthorizationsListSample.ts | 4 +--- .../expressRoutePortsCreateOrUpdateSample.ts | 4 +--- .../src/expressRoutePortsDeleteSample.ts | 4 +--- .../src/expressRoutePortsGenerateLoaSample.ts | 4 +--- .../src/expressRoutePortsGetSample.ts | 4 +--- ...ressRoutePortsListByResourceGroupSample.ts | 4 +--- .../src/expressRoutePortsListSample.ts | 4 +--- .../expressRoutePortsLocationsGetSample.ts | 4 +--- .../expressRoutePortsLocationsListSample.ts | 4 +--- .../src/expressRoutePortsUpdateTagsSample.ts | 4 +--- .../src/expressRouteProviderPortsGetSample.ts | 4 +--- ...essRouteProviderPortsLocationListSample.ts | 4 +--- .../expressRouteServiceProvidersListSample.ts | 4 +--- .../firewallPoliciesCreateOrUpdateSample.ts | 4 +--- .../src/firewallPoliciesDeleteSample.ts | 4 +--- .../src/firewallPoliciesGetSample.ts | 4 +--- .../src/firewallPoliciesListAllSample.ts | 4 +--- .../src/firewallPoliciesListSample.ts | 4 +--- .../src/firewallPoliciesUpdateTagsSample.ts | 4 +--- ...icyIdpsSignaturesFilterValuesListSample.ts | 4 +--- .../firewallPolicyIdpsSignaturesListSample.ts | 4 +--- ...lPolicyIdpsSignaturesOverridesGetSample.ts | 4 +--- ...PolicyIdpsSignaturesOverridesListSample.ts | 4 +--- ...olicyIdpsSignaturesOverridesPatchSample.ts | 4 +--- ...lPolicyIdpsSignaturesOverridesPutSample.ts | 4 +--- ...uleCollectionGroupsCreateOrUpdateSample.ts | 4 +--- ...lPolicyRuleCollectionGroupsDeleteSample.ts | 4 +--- ...wallPolicyRuleCollectionGroupsGetSample.ts | 4 +--- ...allPolicyRuleCollectionGroupsListSample.ts | 4 +--- .../src/flowLogsCreateOrUpdateSample.ts | 4 +--- .../typescript/src/flowLogsDeleteSample.ts | 4 +--- .../typescript/src/flowLogsGetSample.ts | 4 +--- .../typescript/src/flowLogsListSample.ts | 4 +--- .../src/flowLogsUpdateTagsSample.ts | 4 +--- ...nvpnserverconfigurationvpnprofileSample.ts | 4 +--- .../typescript/src/getActiveSessionsSample.ts | 4 +--- .../src/getBastionShareableLinkSample.ts | 4 +--- .../src/hubRouteTablesCreateOrUpdateSample.ts | 4 +--- .../src/hubRouteTablesDeleteSample.ts | 4 +--- .../typescript/src/hubRouteTablesGetSample.ts | 4 +--- .../src/hubRouteTablesListSample.ts | 4 +--- ...lNetworkConnectionsCreateOrUpdateSample.ts | 4 +--- ...ubVirtualNetworkConnectionsDeleteSample.ts | 4 +--- .../hubVirtualNetworkConnectionsGetSample.ts | 4 +--- .../hubVirtualNetworkConnectionsListSample.ts | 4 +--- .../inboundNatRulesCreateOrUpdateSample.ts | 4 +--- .../src/inboundNatRulesDeleteSample.ts | 4 +--- .../src/inboundNatRulesGetSample.ts | 4 +--- .../src/inboundNatRulesListSample.ts | 4 +--- ...inboundSecurityRuleCreateOrUpdateSample.ts | 4 +--- .../src/ipAllocationsCreateOrUpdateSample.ts | 4 +--- .../src/ipAllocationsDeleteSample.ts | 4 +--- .../typescript/src/ipAllocationsGetSample.ts | 4 +--- .../ipAllocationsListByResourceGroupSample.ts | 4 +--- .../typescript/src/ipAllocationsListSample.ts | 4 +--- .../src/ipAllocationsUpdateTagsSample.ts | 4 +--- .../src/ipGroupsCreateOrUpdateSample.ts | 4 +--- .../typescript/src/ipGroupsDeleteSample.ts | 4 +--- .../typescript/src/ipGroupsGetSample.ts | 4 +--- .../src/ipGroupsListByResourceGroupSample.ts | 4 +--- .../typescript/src/ipGroupsListSample.ts | 4 +--- .../src/ipGroupsUpdateGroupsSample.ts | 4 +--- ...tActiveConnectivityConfigurationsSample.ts | 4 +--- .../src/listActiveSecurityAdminRulesSample.ts | 4 +--- ...fectiveConnectivityConfigurationsSample.ts | 4 +--- ...anagerEffectiveSecurityAdminRulesSample.ts | 4 +--- ...BackendAddressPoolsCreateOrUpdateSample.ts | 4 +--- ...BalancerBackendAddressPoolsDeleteSample.ts | 4 +--- ...oadBalancerBackendAddressPoolsGetSample.ts | 4 +--- ...adBalancerBackendAddressPoolsListSample.ts | 4 +--- ...lancerFrontendIPConfigurationsGetSample.ts | 4 +--- ...ancerFrontendIPConfigurationsListSample.ts | 4 +--- ...loadBalancerLoadBalancingRulesGetSample.ts | 4 +--- ...oadBalancerLoadBalancingRulesListSample.ts | 4 +--- ...loadBalancerNetworkInterfacesListSample.ts | 4 +--- .../src/loadBalancerOutboundRulesGetSample.ts | 4 +--- .../loadBalancerOutboundRulesListSample.ts | 4 +--- .../src/loadBalancerProbesGetSample.ts | 4 +--- .../src/loadBalancerProbesListSample.ts | 4 +--- .../src/loadBalancersCreateOrUpdateSample.ts | 4 +--- .../src/loadBalancersDeleteSample.ts | 4 +--- .../typescript/src/loadBalancersGetSample.ts | 4 +--- .../src/loadBalancersListAllSample.ts | 4 +--- ...ersListInboundNatRulePortMappingsSample.ts | 4 +--- .../typescript/src/loadBalancersListSample.ts | 4 +--- ...oadBalancersSwapPublicIPAddressesSample.ts | 4 +--- .../src/loadBalancersUpdateTagsSample.ts | 4 +--- ...ocalNetworkGatewaysCreateOrUpdateSample.ts | 4 +--- .../src/localNetworkGatewaysDeleteSample.ts | 4 +--- .../src/localNetworkGatewaysGetSample.ts | 4 +--- .../src/localNetworkGatewaysListSample.ts | 4 +--- .../localNetworkGatewaysUpdateTagsSample.ts | 4 +--- ...kManagerConnectionsCreateOrUpdateSample.ts | 4 +--- ...upNetworkManagerConnectionsDeleteSample.ts | 4 +--- ...GroupNetworkManagerConnectionsGetSample.ts | 4 +--- ...roupNetworkManagerConnectionsListSample.ts | 4 +--- .../src/natGatewaysCreateOrUpdateSample.ts | 4 +--- .../typescript/src/natGatewaysDeleteSample.ts | 4 +--- .../typescript/src/natGatewaysGetSample.ts | 4 +--- .../src/natGatewaysListAllSample.ts | 4 +--- .../typescript/src/natGatewaysListSample.ts | 4 +--- .../src/natGatewaysUpdateTagsSample.ts | 4 +--- .../src/natRulesCreateOrUpdateSample.ts | 4 +--- .../typescript/src/natRulesDeleteSample.ts | 4 +--- .../typescript/src/natRulesGetSample.ts | 4 +--- .../src/natRulesListByVpnGatewaySample.ts | 4 +--- .../src/networkGroupsCreateOrUpdateSample.ts | 4 +--- .../src/networkGroupsDeleteSample.ts | 4 +--- .../typescript/src/networkGroupsGetSample.ts | 4 +--- .../typescript/src/networkGroupsListSample.ts | 4 +--- ...tworkInterfaceIPConfigurationsGetSample.ts | 4 +--- ...workInterfaceIPConfigurationsListSample.ts | 4 +--- ...networkInterfaceLoadBalancersListSample.ts | 4 +--- ...ceTapConfigurationsCreateOrUpdateSample.ts | 4 +--- ...kInterfaceTapConfigurationsDeleteSample.ts | 4 +--- ...workInterfaceTapConfigurationsGetSample.ts | 4 +--- ...orkInterfaceTapConfigurationsListSample.ts | 4 +--- .../networkInterfacesCreateOrUpdateSample.ts | 4 +--- .../src/networkInterfacesDeleteSample.ts | 4 +--- ...esGetCloudServiceNetworkInterfaceSample.ts | 4 +--- ...kInterfacesGetEffectiveRouteTableSample.ts | 4 +--- .../src/networkInterfacesGetSample.ts | 4 +--- ...ualMachineScaleSetIPConfigurationSample.ts | 4 +--- ...alMachineScaleSetNetworkInterfaceSample.ts | 4 +--- .../src/networkInterfacesListAllSample.ts | 4 +--- ...ListCloudServiceNetworkInterfacesSample.ts | 4 +--- ...viceRoleInstanceNetworkInterfacesSample.ts | 4 +--- ...istEffectiveNetworkSecurityGroupsSample.ts | 4 +--- .../src/networkInterfacesListSample.ts | 4 +--- ...alMachineScaleSetIPConfigurationsSample.ts | 4 +--- ...lMachineScaleSetNetworkInterfacesSample.ts | 4 +--- ...achineScaleSetVMNetworkInterfacesSample.ts | 4 +--- .../src/networkInterfacesUpdateTagsSample.ts | 4 +--- .../src/networkManagerCommitsPostSample.ts | 4 +--- ...etworkManagerDeploymentStatusListSample.ts | 4 +--- .../networkManagersCreateOrUpdateSample.ts | 4 +--- .../src/networkManagersDeleteSample.ts | 4 +--- .../src/networkManagersGetSample.ts | 4 +--- ...networkManagersListBySubscriptionSample.ts | 4 +--- .../src/networkManagersListSample.ts | 4 +--- .../src/networkManagersPatchSample.ts | 4 +--- .../networkProfilesCreateOrUpdateSample.ts | 4 +--- .../src/networkProfilesDeleteSample.ts | 4 +--- .../src/networkProfilesGetSample.ts | 4 +--- .../src/networkProfilesListAllSample.ts | 4 +--- .../src/networkProfilesListSample.ts | 4 +--- .../src/networkProfilesUpdateTagsSample.ts | 4 +--- ...tworkSecurityGroupsCreateOrUpdateSample.ts | 4 +--- .../src/networkSecurityGroupsDeleteSample.ts | 4 +--- .../src/networkSecurityGroupsGetSample.ts | 4 +--- .../src/networkSecurityGroupsListAllSample.ts | 4 +--- .../src/networkSecurityGroupsListSample.ts | 4 +--- .../networkSecurityGroupsUpdateTagsSample.ts | 4 +--- ...rkVirtualAppliancesCreateOrUpdateSample.ts | 4 +--- .../networkVirtualAppliancesDeleteSample.ts | 4 +--- .../src/networkVirtualAppliancesGetSample.ts | 4 +--- ...tualAppliancesListByResourceGroupSample.ts | 4 +--- .../src/networkVirtualAppliancesListSample.ts | 4 +--- ...etworkVirtualAppliancesUpdateTagsSample.ts | 4 +--- .../networkWatchersCheckConnectivitySample.ts | 4 +--- .../networkWatchersCreateOrUpdateSample.ts | 4 +--- .../src/networkWatchersDeleteSample.ts | 4 +--- ...atchersGetAzureReachabilityReportSample.ts | 4 +--- .../networkWatchersGetFlowLogStatusSample.ts | 4 +--- ...GetNetworkConfigurationDiagnosticSample.ts | 4 +--- .../src/networkWatchersGetNextHopSample.ts | 4 +--- .../src/networkWatchersGetSample.ts | 4 +--- .../src/networkWatchersGetTopologySample.ts | 4 +--- ...kWatchersGetTroubleshootingResultSample.ts | 4 +--- ...networkWatchersGetTroubleshootingSample.ts | 4 +--- ...networkWatchersGetVMSecurityRulesSample.ts | 4 +--- .../src/networkWatchersListAllSample.ts | 4 +--- ...orkWatchersListAvailableProvidersSample.ts | 4 +--- .../src/networkWatchersListSample.ts | 4 +--- ...rkWatchersSetFlowLogConfigurationSample.ts | 4 +--- .../src/networkWatchersUpdateTagsSample.ts | 4 +--- .../src/networkWatchersVerifyIPFlowSample.ts | 4 +--- .../typescript/src/operationsListSample.ts | 4 +--- .../src/p2SVpnGatewaysCreateOrUpdateSample.ts | 4 +--- .../src/p2SVpnGatewaysDeleteSample.ts | 4 +--- ...tewaysDisconnectP2SvpnConnectionsSample.ts | 4 +--- .../p2SVpnGatewaysGenerateVpnProfileSample.ts | 4 +--- ...GetP2SvpnConnectionHealthDetailedSample.ts | 4 +--- ...GatewaysGetP2SvpnConnectionHealthSample.ts | 4 +--- .../typescript/src/p2SVpnGatewaysGetSample.ts | 4 +--- ...p2SVpnGatewaysListByResourceGroupSample.ts | 4 +--- .../src/p2SVpnGatewaysListSample.ts | 4 +--- .../src/p2SVpnGatewaysResetSample.ts | 4 +--- .../src/p2SVpnGatewaysUpdateTagsSample.ts | 4 +--- .../src/packetCapturesCreateSample.ts | 4 +--- .../src/packetCapturesDeleteSample.ts | 4 +--- .../typescript/src/packetCapturesGetSample.ts | 4 +--- .../src/packetCapturesGetStatusSample.ts | 4 +--- .../src/packetCapturesListSample.ts | 4 +--- .../src/packetCapturesStopSample.ts | 4 +--- ...ExpressRouteCircuitConnectionsGetSample.ts | 4 +--- ...xpressRouteCircuitConnectionsListSample.ts | 4 +--- ...rivateDnsZoneGroupsCreateOrUpdateSample.ts | 4 +--- .../src/privateDnsZoneGroupsDeleteSample.ts | 4 +--- .../src/privateDnsZoneGroupsGetSample.ts | 4 +--- .../src/privateDnsZoneGroupsListSample.ts | 4 +--- .../privateEndpointsCreateOrUpdateSample.ts | 4 +--- .../src/privateEndpointsDeleteSample.ts | 4 +--- .../src/privateEndpointsGetSample.ts | 4 +--- ...rivateEndpointsListBySubscriptionSample.ts | 4 +--- .../src/privateEndpointsListSample.ts | 4 +--- ...kServiceVisibilityByResourceGroupSample.ts | 4 +--- ...CheckPrivateLinkServiceVisibilitySample.ts | 4 +--- ...privateLinkServicesCreateOrUpdateSample.ts | 4 +--- ...esDeletePrivateEndpointConnectionSample.ts | 4 +--- .../src/privateLinkServicesDeleteSample.ts | 4 +--- ...vicesGetPrivateEndpointConnectionSample.ts | 4 +--- .../src/privateLinkServicesGetSample.ts | 4 +--- ...rivateLinkServicesByResourceGroupSample.ts | 4 +--- ...stAutoApprovedPrivateLinkServicesSample.ts | 4 +--- ...ateLinkServicesListBySubscriptionSample.ts | 4 +--- ...cesListPrivateEndpointConnectionsSample.ts | 4 +--- .../src/privateLinkServicesListSample.ts | 4 +--- ...esUpdatePrivateEndpointConnectionSample.ts | 4 +--- .../publicIPAddressesCreateOrUpdateSample.ts | 4 +--- ...icIPAddressesDdosProtectionStatusSample.ts | 4 +--- .../src/publicIPAddressesDeleteSample.ts | 4 +--- ...sesGetCloudServicePublicIpaddressSample.ts | 4 +--- .../src/publicIPAddressesGetSample.ts | 4 +--- ...ualMachineScaleSetPublicIpaddressSample.ts | 4 +--- .../src/publicIPAddressesListAllSample.ts | 4 +--- ...ListCloudServicePublicIpaddressesSample.ts | 4 +--- ...viceRoleInstancePublicIpaddressesSample.ts | 4 +--- .../src/publicIPAddressesListSample.ts | 4 +--- ...lMachineScaleSetPublicIpaddressesSample.ts | 4 +--- ...achineScaleSetVmpublicIpaddressesSample.ts | 4 +--- .../src/publicIPAddressesUpdateTagsSample.ts | 4 +--- .../publicIPPrefixesCreateOrUpdateSample.ts | 4 +--- .../src/publicIPPrefixesDeleteSample.ts | 4 +--- .../src/publicIPPrefixesGetSample.ts | 4 +--- .../src/publicIPPrefixesListAllSample.ts | 4 +--- .../src/publicIPPrefixesListSample.ts | 4 +--- .../src/publicIPPrefixesUpdateTagsSample.ts | 4 +--- .../src/putBastionShareableLinkSample.ts | 4 +--- .../src/resourceNavigationLinksListSample.ts | 4 +--- .../routeFilterRulesCreateOrUpdateSample.ts | 4 +--- .../src/routeFilterRulesDeleteSample.ts | 4 +--- .../src/routeFilterRulesGetSample.ts | 4 +--- ...routeFilterRulesListByRouteFilterSample.ts | 4 +--- .../src/routeFiltersCreateOrUpdateSample.ts | 4 +--- .../src/routeFiltersDeleteSample.ts | 4 +--- .../typescript/src/routeFiltersGetSample.ts | 4 +--- .../routeFiltersListByResourceGroupSample.ts | 4 +--- .../typescript/src/routeFiltersListSample.ts | 4 +--- .../src/routeFiltersUpdateTagsSample.ts | 4 +--- .../src/routeMapsCreateOrUpdateSample.ts | 4 +--- .../typescript/src/routeMapsDeleteSample.ts | 4 +--- .../typescript/src/routeMapsGetSample.ts | 4 +--- .../typescript/src/routeMapsListSample.ts | 4 +--- .../src/routeTablesCreateOrUpdateSample.ts | 4 +--- .../typescript/src/routeTablesDeleteSample.ts | 4 +--- .../typescript/src/routeTablesGetSample.ts | 4 +--- .../src/routeTablesListAllSample.ts | 4 +--- .../typescript/src/routeTablesListSample.ts | 4 +--- .../src/routeTablesUpdateTagsSample.ts | 4 +--- .../src/routesCreateOrUpdateSample.ts | 4 +--- .../typescript/src/routesDeleteSample.ts | 4 +--- .../v1-beta/typescript/src/routesGetSample.ts | 4 +--- .../typescript/src/routesListSample.ts | 4 +--- .../src/routingIntentCreateOrUpdateSample.ts | 4 +--- .../src/routingIntentDeleteSample.ts | 4 +--- .../typescript/src/routingIntentGetSample.ts | 4 +--- .../typescript/src/routingIntentListSample.ts | 4 +--- .../scopeConnectionsCreateOrUpdateSample.ts | 4 +--- .../src/scopeConnectionsDeleteSample.ts | 4 +--- .../src/scopeConnectionsGetSample.ts | 4 +--- .../src/scopeConnectionsListSample.ts | 4 +--- ...AdminConfigurationsCreateOrUpdateSample.ts | 4 +--- ...securityAdminConfigurationsDeleteSample.ts | 4 +--- .../securityAdminConfigurationsGetSample.ts | 4 +--- .../securityAdminConfigurationsListSample.ts | 4 +--- ...ityPartnerProvidersCreateOrUpdateSample.ts | 4 +--- .../securityPartnerProvidersDeleteSample.ts | 4 +--- .../src/securityPartnerProvidersGetSample.ts | 4 +--- ...rtnerProvidersListByResourceGroupSample.ts | 4 +--- .../src/securityPartnerProvidersListSample.ts | 4 +--- ...ecurityPartnerProvidersUpdateTagsSample.ts | 4 +--- .../src/securityRulesCreateOrUpdateSample.ts | 4 +--- .../src/securityRulesDeleteSample.ts | 4 +--- .../typescript/src/securityRulesGetSample.ts | 4 +--- .../typescript/src/securityRulesListSample.ts | 4 +--- .../src/serviceAssociationLinksListSample.ts | 4 +--- ...iceEndpointPoliciesCreateOrUpdateSample.ts | 4 +--- .../serviceEndpointPoliciesDeleteSample.ts | 4 +--- .../src/serviceEndpointPoliciesGetSample.ts | 4 +--- ...dpointPoliciesListByResourceGroupSample.ts | 4 +--- .../src/serviceEndpointPoliciesListSample.ts | 4 +--- ...serviceEndpointPoliciesUpdateTagsSample.ts | 4 +--- ...ntPolicyDefinitionsCreateOrUpdateSample.ts | 4 +--- ...ceEndpointPolicyDefinitionsDeleteSample.ts | 4 +--- ...rviceEndpointPolicyDefinitionsGetSample.ts | 4 +--- ...icyDefinitionsListByResourceGroupSample.ts | 4 +--- .../src/serviceTagInformationListSample.ts | 4 +--- .../typescript/src/serviceTagsListSample.ts | 4 +--- .../src/staticMembersCreateOrUpdateSample.ts | 4 +--- .../src/staticMembersDeleteSample.ts | 4 +--- .../typescript/src/staticMembersGetSample.ts | 4 +--- .../typescript/src/staticMembersListSample.ts | 4 +--- .../src/subnetsCreateOrUpdateSample.ts | 4 +--- .../typescript/src/subnetsDeleteSample.ts | 4 +--- .../typescript/src/subnetsGetSample.ts | 4 +--- .../typescript/src/subnetsListSample.ts | 4 +--- .../subnetsPrepareNetworkPoliciesSample.ts | 4 +--- .../subnetsUnprepareNetworkPoliciesSample.ts | 4 +--- ...kManagerConnectionsCreateOrUpdateSample.ts | 4 +--- ...onNetworkManagerConnectionsDeleteSample.ts | 4 +--- ...ptionNetworkManagerConnectionsGetSample.ts | 4 +--- ...tionNetworkManagerConnectionsListSample.ts | 4 +--- .../src/supportedSecurityProvidersSample.ts | 4 +--- .../typescript/src/usagesListSample.ts | 4 +--- .../typescript/src/vipSwapCreateSample.ts | 4 +--- .../typescript/src/vipSwapGetSample.ts | 4 +--- .../typescript/src/vipSwapListSample.ts | 4 +--- ...rtualApplianceSitesCreateOrUpdateSample.ts | 4 +--- .../src/virtualApplianceSitesDeleteSample.ts | 4 +--- .../src/virtualApplianceSitesGetSample.ts | 4 +--- .../src/virtualApplianceSitesListSample.ts | 4 +--- .../src/virtualApplianceSkusGetSample.ts | 4 +--- .../src/virtualApplianceSkusListSample.ts | 4 +--- ...ualHubBgpConnectionCreateOrUpdateSample.ts | 4 +--- .../virtualHubBgpConnectionDeleteSample.ts | 4 +--- .../src/virtualHubBgpConnectionGetSample.ts | 4 +--- ...gpConnectionsListAdvertisedRoutesSample.ts | 4 +--- ...ubBgpConnectionsListLearnedRoutesSample.ts | 4 +--- .../src/virtualHubBgpConnectionsListSample.ts | 4 +--- ...lHubIPConfigurationCreateOrUpdateSample.ts | 4 +--- .../virtualHubIPConfigurationDeleteSample.ts | 4 +--- .../src/virtualHubIPConfigurationGetSample.ts | 4 +--- .../virtualHubIPConfigurationListSample.ts | 4 +--- ...ualHubRouteTableV2SCreateOrUpdateSample.ts | 4 +--- .../virtualHubRouteTableV2SDeleteSample.ts | 4 +--- .../src/virtualHubRouteTableV2SGetSample.ts | 4 +--- .../src/virtualHubRouteTableV2SListSample.ts | 4 +--- .../src/virtualHubsCreateOrUpdateSample.ts | 4 +--- .../typescript/src/virtualHubsDeleteSample.ts | 4 +--- ...lHubsGetEffectiveVirtualHubRoutesSample.ts | 4 +--- .../src/virtualHubsGetInboundRoutesSample.ts | 4 +--- .../src/virtualHubsGetOutboundRoutesSample.ts | 4 +--- .../typescript/src/virtualHubsGetSample.ts | 4 +--- .../virtualHubsListByResourceGroupSample.ts | 4 +--- .../typescript/src/virtualHubsListSample.ts | 4 +--- .../src/virtualHubsUpdateTagsSample.ts | 4 +--- ...kGatewayConnectionsCreateOrUpdateSample.ts | 4 +--- ...alNetworkGatewayConnectionsDeleteSample.ts | 4 +--- ...etworkGatewayConnectionsGetIkeSasSample.ts | 4 +--- ...rtualNetworkGatewayConnectionsGetSample.ts | 4 +--- ...orkGatewayConnectionsGetSharedKeySample.ts | 4 +--- ...tualNetworkGatewayConnectionsListSample.ts | 4 +--- ...GatewayConnectionsResetConnectionSample.ts | 4 +--- ...kGatewayConnectionsResetSharedKeySample.ts | 4 +--- ...orkGatewayConnectionsSetSharedKeySample.ts | 4 +--- ...ewayConnectionsStartPacketCaptureSample.ts | 4 +--- ...tewayConnectionsStopPacketCaptureSample.ts | 4 +--- ...tworkGatewayConnectionsUpdateTagsSample.ts | 4 +--- ...workGatewayNatRulesCreateOrUpdateSample.ts | 4 +--- ...rtualNetworkGatewayNatRulesDeleteSample.ts | 4 +--- .../virtualNetworkGatewayNatRulesGetSample.ts | 4 +--- ...tRulesListByVirtualNetworkGatewaySample.ts | 4 +--- ...tualNetworkGatewaysCreateOrUpdateSample.ts | 4 +--- .../src/virtualNetworkGatewaysDeleteSample.ts | 4 +--- ...rtualNetworkGatewayVpnConnectionsSample.ts | 4 +--- ...NetworkGatewaysGenerateVpnProfileSample.ts | 4 +--- ...kGatewaysGeneratevpnclientpackageSample.ts | 4 +--- ...etworkGatewaysGetAdvertisedRoutesSample.ts | 4 +--- ...alNetworkGatewaysGetBgpPeerStatusSample.ts | 4 +--- ...alNetworkGatewaysGetLearnedRoutesSample.ts | 4 +--- .../src/virtualNetworkGatewaysGetSample.ts | 4 +--- ...rkGatewaysGetVpnProfilePackageUrlSample.ts | 4 +--- ...ewaysGetVpnclientConnectionHealthSample.ts | 4 +--- ...tewaysGetVpnclientIpsecParametersSample.ts | 4 +--- ...ualNetworkGatewaysListConnectionsSample.ts | 4 +--- .../src/virtualNetworkGatewaysListSample.ts | 4 +--- .../src/virtualNetworkGatewaysResetSample.ts | 4 +--- ...rkGatewaysResetVpnClientSharedKeySample.ts | 4 +--- ...tewaysSetVpnclientIpsecParametersSample.ts | 4 +--- ...NetworkGatewaysStartPacketCaptureSample.ts | 4 +--- ...lNetworkGatewaysStopPacketCaptureSample.ts | 4 +--- ...etworkGatewaysSupportedVpnDevicesSample.ts | 4 +--- .../virtualNetworkGatewaysUpdateTagsSample.ts | 4 +--- ...ewaysVpnDeviceConfigurationScriptSample.ts | 4 +--- ...tualNetworkPeeringsCreateOrUpdateSample.ts | 4 +--- .../src/virtualNetworkPeeringsDeleteSample.ts | 4 +--- .../src/virtualNetworkPeeringsGetSample.ts | 4 +--- .../src/virtualNetworkPeeringsListSample.ts | 4 +--- .../virtualNetworkTapsCreateOrUpdateSample.ts | 4 +--- .../src/virtualNetworkTapsDeleteSample.ts | 4 +--- .../src/virtualNetworkTapsGetSample.ts | 4 +--- .../src/virtualNetworkTapsListAllSample.ts | 4 +--- ...ualNetworkTapsListByResourceGroupSample.ts | 4 +--- .../src/virtualNetworkTapsUpdateTagsSample.ts | 4 +--- ...etworksCheckIPAddressAvailabilitySample.ts | 4 +--- .../virtualNetworksCreateOrUpdateSample.ts | 4 +--- .../src/virtualNetworksDeleteSample.ts | 4 +--- .../src/virtualNetworksGetSample.ts | 4 +--- .../src/virtualNetworksListAllSample.ts | 4 +--- ...lNetworksListDdosProtectionStatusSample.ts | 4 +--- .../src/virtualNetworksListSample.ts | 4 +--- .../src/virtualNetworksListUsageSample.ts | 4 +--- .../src/virtualNetworksUpdateTagsSample.ts | 4 +--- ...rtualRouterPeeringsCreateOrUpdateSample.ts | 4 +--- .../src/virtualRouterPeeringsDeleteSample.ts | 4 +--- .../src/virtualRouterPeeringsGetSample.ts | 4 +--- .../src/virtualRouterPeeringsListSample.ts | 4 +--- .../src/virtualRoutersCreateOrUpdateSample.ts | 4 +--- .../src/virtualRoutersDeleteSample.ts | 4 +--- .../typescript/src/virtualRoutersGetSample.ts | 4 +--- ...virtualRoutersListByResourceGroupSample.ts | 4 +--- .../src/virtualRoutersListSample.ts | 4 +--- .../src/virtualWansCreateOrUpdateSample.ts | 4 +--- .../typescript/src/virtualWansDeleteSample.ts | 4 +--- .../typescript/src/virtualWansGetSample.ts | 4 +--- .../virtualWansListByResourceGroupSample.ts | 4 +--- .../typescript/src/virtualWansListSample.ts | 4 +--- .../src/virtualWansUpdateTagsSample.ts | 4 +--- .../src/vpnConnectionsCreateOrUpdateSample.ts | 4 +--- .../src/vpnConnectionsDeleteSample.ts | 4 +--- .../typescript/src/vpnConnectionsGetSample.ts | 4 +--- .../vpnConnectionsListByVpnGatewaySample.ts | 4 +--- .../vpnConnectionsStartPacketCaptureSample.ts | 4 +--- .../vpnConnectionsStopPacketCaptureSample.ts | 4 +--- .../src/vpnGatewaysCreateOrUpdateSample.ts | 4 +--- .../typescript/src/vpnGatewaysDeleteSample.ts | 4 +--- .../typescript/src/vpnGatewaysGetSample.ts | 4 +--- .../vpnGatewaysListByResourceGroupSample.ts | 4 +--- .../typescript/src/vpnGatewaysListSample.ts | 4 +--- .../typescript/src/vpnGatewaysResetSample.ts | 4 +--- .../vpnGatewaysStartPacketCaptureSample.ts | 4 +--- .../src/vpnGatewaysStopPacketCaptureSample.ts | 4 +--- .../src/vpnGatewaysUpdateTagsSample.ts | 4 +--- .../src/vpnLinkConnectionsGetIkeSasSample.ts | 4 +--- ...inkConnectionsListByVpnConnectionSample.ts | 4 +--- ...vpnLinkConnectionsResetConnectionSample.ts | 4 +--- ...tionsAssociatedWithVirtualWanListSample.ts | 4 +--- ...erverConfigurationsCreateOrUpdateSample.ts | 4 +--- .../vpnServerConfigurationsDeleteSample.ts | 4 +--- .../src/vpnServerConfigurationsGetSample.ts | 4 +--- ...ConfigurationsListByResourceGroupSample.ts | 4 +--- .../src/vpnServerConfigurationsListSample.ts | 4 +--- ...vpnServerConfigurationsUpdateTagsSample.ts | 4 +--- .../src/vpnSiteLinkConnectionsGetSample.ts | 4 +--- .../typescript/src/vpnSiteLinksGetSample.ts | 4 +--- .../src/vpnSiteLinksListByVpnSiteSample.ts | 4 +--- .../vpnSitesConfigurationDownloadSample.ts | 4 +--- .../src/vpnSitesCreateOrUpdateSample.ts | 4 +--- .../typescript/src/vpnSitesDeleteSample.ts | 4 +--- .../typescript/src/vpnSitesGetSample.ts | 4 +--- .../src/vpnSitesListByResourceGroupSample.ts | 4 +--- .../typescript/src/vpnSitesListSample.ts | 4 +--- .../src/vpnSitesUpdateTagsSample.ts | 4 +--- ...ionFirewallPoliciesCreateOrUpdateSample.ts | 4 +--- ...ApplicationFirewallPoliciesDeleteSample.ts | 4 +--- ...webApplicationFirewallPoliciesGetSample.ts | 4 +--- ...pplicationFirewallPoliciesListAllSample.ts | 4 +--- ...ebApplicationFirewallPoliciesListSample.ts | 4 +--- .../typescript/src/webCategoriesGetSample.ts | 4 +--- .../webCategoriesListBySubscriptionSample.ts | 4 +--- .../arm-network-rest/src/clientDefinitions.ts | 4 ++-- sdk/network/arm-network-rest/src/index.ts | 20 +++++++++---------- .../arm-network-rest/src/isUnexpected.ts | 2 +- .../src/networkManagementClient.ts | 4 ++-- .../arm-network-rest/src/parameters.ts | 2 +- sdk/network/arm-network-rest/src/responses.ts | 2 +- .../test/public/network_rest_sample.spec.ts | 11 +++++----- .../test/public/utils/recordedClient.ts | 4 ++-- 1234 files changed, 1250 insertions(+), 3703 deletions(-) diff --git a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsCreateOrUpdateSample.ts index f5eb4e2b29bf..f717a3cf2955 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AdminRuleCollectionsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an admin rule collection. diff --git a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsDeleteSample.ts index 4a082c15d0b9..c427087e55e7 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes an admin rule collection. diff --git a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsGetSample.ts index 199b9b3ecd7a..c9932ebfe756 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AdminRuleCollectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a network manager security admin configuration rule collection. diff --git a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsListSample.ts index 7b44d3dcf630..77b4aec9d3d3 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRuleCollectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the rule collections in a security admin configuration, in a paginated format. diff --git a/sdk/network/arm-network-rest/samples-dev/adminRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRulesCreateOrUpdateSample.ts index 4f18f0ae3136..4e370b7372be 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRulesCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AdminRulesCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an admin rule. diff --git a/sdk/network/arm-network-rest/samples-dev/adminRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRulesDeleteSample.ts index 82b8c551622d..1edc603e41e5 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes an admin rule. diff --git a/sdk/network/arm-network-rest/samples-dev/adminRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRulesGetSample.ts index 05d3f216a2d2..ea4363e773f5 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRulesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AdminRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a network manager security configuration admin rule. diff --git a/sdk/network/arm-network-rest/samples-dev/adminRulesListSample.ts b/sdk/network/arm-network-rest/samples-dev/adminRulesListSample.ts index 18388f24bd31..48e475796db5 100644 --- a/sdk/network/arm-network-rest/samples-dev/adminRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/adminRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all network manager security configuration admin rules. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts index 9c7f594f7087..4a02c60bd43e 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified private endpoint connection on application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsGetSample.ts index 7730a521516b..446a44ce044c 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewayPrivateEndpointConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified private endpoint connection on application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsListSample.ts index 3a70197015b8..2dde17ac2e3a 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all private endpoint connections on an application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts index 5cc80d78b681..9265c2f6341c 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates the specified private endpoint connection on application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateLinkResourcesListSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateLinkResourcesListSample.ts index ab089cd476be..e0e6afc689c0 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateLinkResourcesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayPrivateLinkResourcesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all private link resources on an application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayWafDynamicManifestsDefaultGetSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayWafDynamicManifestsDefaultGetSample.ts index bada073546a9..7a1ff6b82e9a 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayWafDynamicManifestsDefaultGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayWafDynamicManifestsDefaultGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewayWafDynamicManifestsDefaultGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the regional application gateway waf manifest. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewayWafDynamicManifestsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewayWafDynamicManifestsGetSample.ts index 25a1f93e7b44..ebdc7298b4bd 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewayWafDynamicManifestsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewayWafDynamicManifestsGetSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the regional application gateway waf manifest. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthOnDemandSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthOnDemandSample.ts index 61261405b8c4..3a022a6195be 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthOnDemandSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthOnDemandSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthSample.ts index efeb96ea1ffb..9088ca51b104 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysBackendHealthSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the backend health of the specified application gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysCreateOrUpdateSample.ts index c305013b6aff..26714682d3e3 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysDeleteSample.ts index b72361c6714c..dd78161ff3a9 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysGetSample.ts index 6a1634ed6550..c476b7d3da89 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysGetSslPredefinedPolicySample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysGetSslPredefinedPolicySample.ts index 2d55a0a50fe3..5cc14b9395b2 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysGetSslPredefinedPolicySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysGetSslPredefinedPolicySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysGetSslPredefinedPolicyParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets Ssl predefined policy with the specified policy name. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAllSample.ts index bb2c877f9ea8..d65fa9d9ddb7 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the application gateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableRequestHeadersSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableRequestHeadersSample.ts index 7bc634fcd59e..82dd2f59ed00 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableRequestHeadersSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableRequestHeadersSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableRequestHeadersParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available request headers. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableResponseHeadersSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableResponseHeadersSample.ts index 998acb4a54be..0746f534d793 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableResponseHeadersSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableResponseHeadersSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableResponseHeadersParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available response headers. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableServerVariablesSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableServerVariablesSample.ts index 26c664446872..df9e7b79256d 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableServerVariablesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableServerVariablesSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableServerVariablesParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available server variables. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableSslOptionsSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableSslOptionsSample.ts index 8de2ab972af8..62c76c2e10e7 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableSslOptionsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableSslOptionsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableSslOptionsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists available Ssl options for configuring Ssl policy. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts index 94ae4d2dfb4c..1e492c02abdc 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all SSL predefined policies for configuring Ssl policy. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableWafRuleSetsSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableWafRuleSetsSample.ts index 10ccfbf33574..4f4007d89a75 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableWafRuleSetsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListAvailableWafRuleSetsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableWafRuleSetsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available web application firewall rule sets. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListSample.ts index 309c7aa51398..4009f57b5bdc 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all application gateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStartSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStartSample.ts index 38e04b165667..4f97298a2dbc 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStartSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStartSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts the specified application gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStopSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStopSample.ts index 07bd2142f67a..dcb1f32f8f15 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStopSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysStopSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops the specified application gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysUpdateTagsSample.ts index b4f3b0fd0765..f74178c7214a 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationGatewaysUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates the specified application gateway tags. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsCreateOrUpdateSample.ts index 82ee69dc264d..66cbeafbb463 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an application security group. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsDeleteSample.ts index 18ac8b591751..28c17afffd11 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified application security group. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsGetSample.ts index 29929750c301..517d01df1b2f 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationSecurityGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified application security group. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsListAllSample.ts index a8403f3da559..b1d30774a2d3 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all application security groups in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsListSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsListSample.ts index e6b98024aec7..105efaed3d02 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the application security groups in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsUpdateTagsSample.ts index ce7240897c62..4250843afe14 100644 --- a/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/applicationSecurityGroupsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationSecurityGroupsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates an application security group's tags. diff --git a/sdk/network/arm-network-rest/samples-dev/availableDelegationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/availableDelegationsListSample.ts index f50fb51f25ba..265bdadeea65 100644 --- a/sdk/network/arm-network-rest/samples-dev/availableDelegationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/availableDelegationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all of the available subnet delegations for this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples-dev/availableEndpointServicesListSample.ts b/sdk/network/arm-network-rest/samples-dev/availableEndpointServicesListSample.ts index dd038a605616..b67dfd18099c 100644 --- a/sdk/network/arm-network-rest/samples-dev/availableEndpointServicesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/availableEndpointServicesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List what values of endpoint services are available for use. diff --git a/sdk/network/arm-network-rest/samples-dev/availablePrivateEndpointTypesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/availablePrivateEndpointTypesListByResourceGroupSample.ts index 64e4e7a89bb4..f8f4760c8637 100644 --- a/sdk/network/arm-network-rest/samples-dev/availablePrivateEndpointTypesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/availablePrivateEndpointTypesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples-dev/availablePrivateEndpointTypesListSample.ts b/sdk/network/arm-network-rest/samples-dev/availablePrivateEndpointTypesListSample.ts index 084fe634c500..1fec93e3b9e9 100644 --- a/sdk/network/arm-network-rest/samples-dev/availablePrivateEndpointTypesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/availablePrivateEndpointTypesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples-dev/availableResourceGroupDelegationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/availableResourceGroupDelegationsListSample.ts index 230906980a7a..02246ea9a3a7 100644 --- a/sdk/network/arm-network-rest/samples-dev/availableResourceGroupDelegationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/availableResourceGroupDelegationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all of the available subnet delegations for this resource group in this region. diff --git a/sdk/network/arm-network-rest/samples-dev/availableServiceAliasesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/availableServiceAliasesListByResourceGroupSample.ts index 1e8f5d5fa3ce..c1d7379fda4a 100644 --- a/sdk/network/arm-network-rest/samples-dev/availableServiceAliasesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/availableServiceAliasesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all available service aliases for this resource group in this region. diff --git a/sdk/network/arm-network-rest/samples-dev/availableServiceAliasesListSample.ts b/sdk/network/arm-network-rest/samples-dev/availableServiceAliasesListSample.ts index 58a190d35f12..a1fadfa891b4 100644 --- a/sdk/network/arm-network-rest/samples-dev/availableServiceAliasesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/availableServiceAliasesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all available service aliases for this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallFqdnTagsListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallFqdnTagsListAllSample.ts index 014844c37cda..71bd4b44ca0c 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallFqdnTagsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallFqdnTagsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Azure Firewall FQDN Tags in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsCreateOrUpdateSample.ts index e3e48b504d49..0d42dee4bc24 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Azure Firewall. diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsDeleteSample.ts index 675ed82fecd5..7f30c1eaf406 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Azure Firewall. diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsGetSample.ts index 16199110751a..81e07f47f3e1 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AzureFirewallsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Azure Firewall. diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsListAllSample.ts index 812fa31d83d7..9dbec7561941 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Azure Firewalls in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsListLearnedPrefixesSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsListLearnedPrefixesSample.ts index 921a16ab3dc7..f9cbc0ba03a8 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsListLearnedPrefixesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsListLearnedPrefixesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsListSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsListSample.ts index 39f73c589023..7c97958726d0 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Azure Firewalls in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/azureFirewallsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/azureFirewallsUpdateTagsSample.ts index 5c055c03a062..1921618dc522 100644 --- a/sdk/network/arm-network-rest/samples-dev/azureFirewallsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/azureFirewallsUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of an Azure Firewall resource. diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsCreateOrUpdateSample.ts index c9e68225f68c..e56294f6e4c1 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Bastion Host. diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsDeleteSample.ts index 4665fae0f2d7..158f47430f96 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Bastion Host. diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsGetSample.ts index c32c8b69df70..2b2e3d5a1090 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { BastionHostsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Bastion Host. diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsListByResourceGroupSample.ts index 21b19b2f6a0e..9101eccf4f48 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Bastion Hosts in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsListSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsListSample.ts index 03fbc45ce278..656e8027bf54 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Bastion Hosts in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/bastionHostsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/bastionHostsUpdateTagsSample.ts index b4355202b3dc..eed6009a2b36 100644 --- a/sdk/network/arm-network-rest/samples-dev/bastionHostsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bastionHostsUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates Tags for BastionHost resource diff --git a/sdk/network/arm-network-rest/samples-dev/bgpServiceCommunitiesListSample.ts b/sdk/network/arm-network-rest/samples-dev/bgpServiceCommunitiesListSample.ts index 0fa9833045f5..884f31f06d83 100644 --- a/sdk/network/arm-network-rest/samples-dev/bgpServiceCommunitiesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/bgpServiceCommunitiesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the available bgp service communities. diff --git a/sdk/network/arm-network-rest/samples-dev/checkDnsNameAvailabilitySample.ts b/sdk/network/arm-network-rest/samples-dev/checkDnsNameAvailabilitySample.ts index fa904ae7f875..70c0a9848b70 100644 --- a/sdk/network/arm-network-rest/samples-dev/checkDnsNameAvailabilitySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/checkDnsNameAvailabilitySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { CheckDnsNameAvailabilityParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Checks whether a domain name in the cloudapp.azure.com zone is available for use. diff --git a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsCreateOrUpdateSample.ts index 0f1b806e0a3d..2f1eabc288f1 100644 --- a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. diff --git a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsDeleteSample.ts index 8531526e741b..d919a7c6b0d4 100644 --- a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a ConfigurationPolicyGroup. diff --git a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsGetSample.ts index b9368848f3d0..6ef2073484fb 100644 --- a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConfigurationPolicyGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a ConfigurationPolicyGroup. diff --git a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsListByVpnServerConfigurationSample.ts b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsListByVpnServerConfigurationSample.ts index e82282bed5af..7234e14e0c64 100644 --- a/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsListByVpnServerConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/configurationPolicyGroupsListByVpnServerConfigurationSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsCreateOrUpdateSample.ts index f1e00d892478..b68dab74cf81 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a connection monitor. diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsDeleteSample.ts index 2ce6fb3c9862..c89d2422e24d 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified connection monitor. diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsGetSample.ts index 372af8a361dc..086ea840bdb8 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConnectionMonitorsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a connection monitor by name. diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsListSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsListSample.ts index 46fdddc1ec37..68942a1f538a 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all connection monitors for the specified Network Watcher. diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsQuerySample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsQuerySample.ts index 6008ea5f3c87..34bffd9dc231 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsQuerySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsQuerySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Query a snapshot of the most recent connection states. diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStartSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStartSample.ts index 29c597e971f6..adc35134e5fa 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStartSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStartSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts the specified connection monitor. diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStopSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStopSample.ts index 1295fb82587c..205a65a904fd 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStopSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsStopSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops the specified connection monitor. diff --git a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsUpdateTagsSample.ts index 76166d560ac8..ea5cc5dc0e85 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectionMonitorsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectionMonitorsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConnectionMonitorsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update tags of the specified connection monitor. diff --git a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsCreateOrUpdateSample.ts index 61d671aa0705..9e4558d35bb2 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConnectivityConfigurationsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates/Updates a new network manager connectivity configuration diff --git a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsDeleteSample.ts index 2217abefd0b8..27bb435a3cc8 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name diff --git a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsGetSample.ts index 3597225a3f45..36f874a7047b 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConnectivityConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name diff --git a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsListSample.ts index bdaf2318b6a2..81c8d53e661c 100644 --- a/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/connectivityConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the network manager connectivity configuration in a specified network manager. diff --git a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesCreateOrUpdateSample.ts index 9da4f54ff853..7124566ec016 100644 --- a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a custom IP prefix. diff --git a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesDeleteSample.ts index 433f0a3f24f1..48bdc905d861 100644 --- a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified custom IP prefix. diff --git a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesGetSample.ts index 2ff7b2731ae7..2ca65dac49e5 100644 --- a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { CustomIPPrefixesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified custom IP prefix in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesListAllSample.ts index 6cc54a926f75..ec3d28894834 100644 --- a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the custom IP prefixes in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesListSample.ts b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesListSample.ts index 8ee34da104ea..be7d5c57d2ab 100644 --- a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all custom IP prefixes in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesUpdateTagsSample.ts index 84387f1e496d..ab92489f5b39 100644 --- a/sdk/network/arm-network-rest/samples-dev/customIPPrefixesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/customIPPrefixesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { CustomIPPrefixesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates custom IP prefix tags. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesCreateOrUpdateSample.ts index ac464a765033..39629db81e8d 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a DDoS custom policy. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesDeleteSample.ts index 1cfeca9fdf1a..fc7e6a9783e1 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified DDoS custom policy. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesGetSample.ts index 527c92a8111f..29ed9b6f9b95 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DdosCustomPoliciesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified DDoS custom policy. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesUpdateTagsSample.ts index 2f0b81c280fd..d9679cc0e4df 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosCustomPoliciesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DdosCustomPoliciesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a DDoS custom policy tags. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansCreateOrUpdateSample.ts index b254a1ec8186..d5bd8bc5f292 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a DDoS protection plan. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansDeleteSample.ts index b14139d2ac56..8862b020fe83 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified DDoS protection plan. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansGetSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansGetSample.ts index 11763f80711d..9780721ccffd 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DdosProtectionPlansGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified DDoS protection plan. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansListByResourceGroupSample.ts index 99914be27b61..a7e362cb97fa 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the DDoS protection plans in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansListSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansListSample.ts index e5b301b9f10c..0d7413cf4fca 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all DDoS protection plans in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansUpdateTagsSample.ts index 1c351e5d8b2f..d6f8351b09da 100644 --- a/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ddosProtectionPlansUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DdosProtectionPlansUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a DDoS protection plan tags. diff --git a/sdk/network/arm-network-rest/samples-dev/defaultSecurityRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/defaultSecurityRulesGetSample.ts index a2b961f915cb..e1ef5c0d919d 100644 --- a/sdk/network/arm-network-rest/samples-dev/defaultSecurityRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/defaultSecurityRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DefaultSecurityRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified default network security rule. diff --git a/sdk/network/arm-network-rest/samples-dev/defaultSecurityRulesListSample.ts b/sdk/network/arm-network-rest/samples-dev/defaultSecurityRulesListSample.ts index 727e773c11d8..23984052a942 100644 --- a/sdk/network/arm-network-rest/samples-dev/defaultSecurityRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/defaultSecurityRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all default security rules in a network security group. diff --git a/sdk/network/arm-network-rest/samples-dev/deleteBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples-dev/deleteBastionShareableLinkSample.ts index 9d2d1718755d..77cee60e4285 100644 --- a/sdk/network/arm-network-rest/samples-dev/deleteBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/deleteBastionShareableLinkSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the Bastion Shareable Links for all the VMs specified in the request. diff --git a/sdk/network/arm-network-rest/samples-dev/disconnectActiveSessionsSample.ts b/sdk/network/arm-network-rest/samples-dev/disconnectActiveSessionsSample.ts index 74a8b57ce01f..6367d5e52f40 100644 --- a/sdk/network/arm-network-rest/samples-dev/disconnectActiveSessionsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/disconnectActiveSessionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns the list of currently active sessions on the Bastion. diff --git a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationCreateOrUpdateSample.ts index 3060b24b9f2c..78e6cac232a1 100644 --- a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a DSCP Configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationDeleteSample.ts index ba924e2fe566..e1451e7c2cb8 100644 --- a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a DSCP Configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationGetSample.ts b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationGetSample.ts index f58c3953a7bf..6ad31429fb93 100644 --- a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DscpConfigurationGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a DSCP Configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationListAllSample.ts index 8a3cde7b86c9..3e6705a0b1ed 100644 --- a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all dscp configurations in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationListSample.ts b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationListSample.ts index 34fa9aeb6297..8633a7a8f421 100644 --- a/sdk/network/arm-network-rest/samples-dev/dscpConfigurationListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/dscpConfigurationListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a DSCP Configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts index efff8345fe28..bbd455da108c 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an authorization in the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsDeleteSample.ts index 404d89da7a97..4edb43fe85f6 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified authorization from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsGetSample.ts index 137598f41bac..56a9267fbdfa 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitAuthorizationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified authorization from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsListSample.ts index a3a7d0196d72..663d0e67e8c7 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitAuthorizationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all authorizations in an express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsCreateOrUpdateSample.ts index 7977bc42f74d..9352c7ed84dc 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a Express Route Circuit Connection in the specified express route circuits. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsDeleteSample.ts index 64b2fa0a2ae0..0ee6a18cca34 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Express Route Circuit Connection from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsGetSample.ts index e61d56eafad0..f02f0d3cd253 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Express Route Circuit Connection from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsListSample.ts index 72bf97a559b3..48d36915b497 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all global reach connections associated with a private peering in an express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsCreateOrUpdateSample.ts index 8ce9bd846738..8d4a0f1dbddc 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a peering in the specified express route circuits. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsDeleteSample.ts index 0c28d372b6c6..0782a11a7b68 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified peering from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsGetSample.ts index 26d5793d8809..68320057886e 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitPeeringsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified peering for the express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsListSample.ts index 814b0e1d105e..b81ee5f75476 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitPeeringsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all peerings in a specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsCreateOrUpdateSample.ts index bc2e3e4c6793..1989d828acaa 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsDeleteSample.ts index 93c6a30c9380..f8c375635b65 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetPeeringStatsSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetPeeringStatsSample.ts index 5f34eccde622..71381f7f19e4 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetPeeringStatsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetPeeringStatsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitsGetPeeringStatsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all stats from an express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetSample.ts index f82e4a94113c..acf96975187b 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetStatsSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetStatsSample.ts index b0e2d1a3dbaf..72e70d6386f3 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetStatsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsGetStatsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitsGetStatsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the stats from an express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListAllSample.ts index 4a044a14fbef..2915dc4f7e94 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the express route circuits in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListArpTableSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListArpTableSample.ts index d4609c462580..3954fb5b6c15 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListArpTableSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListArpTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised ARP table associated with the express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListRoutesTableSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListRoutesTableSample.ts index cfc3ca0c0778..997460c147db 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListRoutesTableSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListRoutesTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised routes table associated with the express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListRoutesTableSummarySample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListRoutesTableSummarySample.ts index 92513c1a10dc..648e4602c572 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListRoutesTableSummarySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListRoutesTableSummarySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised routes table summary associated with the express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListSample.ts index 99fc18ec575b..0f684c1a2510 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the express route circuits in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsUpdateTagsSample.ts index 79e28b08f419..4ac5700df94e 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCircuitsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates an express route circuit tags. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsCreateOrUpdateSample.ts index 7632341b6507..b9bb443a7ba7 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsDeleteSample.ts index 6a37962e1817..2f6cf98afee1 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a connection to a ExpressRoute circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsGetSample.ts index af6314fc3bf4..3d8f919044c9 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified ExpressRouteConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsListSample.ts index 556e4cd9b0f0..404053e0ebe2 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteConnectionsListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteConnectionsListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists ExpressRouteConnections. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts index abcfd089c819..ea8934def8de 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a peering in the specified ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsDeleteSample.ts index a08597ccc1a8..ed6a960baf3c 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified peering from the ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsGetSample.ts index 899507a433cc..db8702117bbd 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCrossConnectionPeeringsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified peering for the ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsListSample.ts index aab300adb5ca..d4da68842d08 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionPeeringsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all peerings in a specified ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsCreateOrUpdateSample.ts index c4652e3f2eb9..3b5347a632ed 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update the specified ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsGetSample.ts index 7796fa50710b..0025183b6746 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCrossConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets details about the specified ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListArpTableSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListArpTableSample.ts index d0d4d399c7c0..0dd30f458363 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListArpTableSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListArpTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised ARP table associated with the express route cross connection in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListByResourceGroupSample.ts index 517b4e778056..7d89426e8d13 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all the ExpressRouteCrossConnections in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListRoutesTableSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListRoutesTableSample.ts index 827260994baf..c3066bb495d6 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListRoutesTableSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListRoutesTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised routes table associated with the express route cross connection in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListRoutesTableSummarySample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListRoutesTableSummarySample.ts index 46fa43b80445..e73853c3419b 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListRoutesTableSummarySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListRoutesTableSummarySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the route table summary associated with the express route cross connection in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListSample.ts index af5bac9a0767..314f9d297e89 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all the ExpressRouteCrossConnections in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsUpdateTagsSample.ts index 53c2b18848b0..c98c60dbe514 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteCrossConnectionsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCrossConnectionsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates an express route cross connection tags. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysCreateOrUpdateSample.ts index f7721093f337..a7a2bddf8e65 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a ExpressRoute gateway in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysDeleteSample.ts index aa6ef7d0e9fb..f3cd9a7d9d87 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysGetSample.ts index 1227a8358a88..69073f92a5a8 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Fetches the details of a ExpressRoute gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysListByResourceGroupSample.ts index 1b0f1d2ab98f..db8ccb4abe47 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysListByResourceGroupSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteGatewaysListByResourceGroupParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists ExpressRoute gateways in a given resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysListBySubscriptionSample.ts index f8f7ce7b8439..d10a62f0c960 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysListBySubscriptionSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteGatewaysListBySubscriptionParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists ExpressRoute gateways under a given subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysUpdateTagsSample.ts index 8a505b21fafe..0486c42d87fe 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteGatewaysUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates express route gateway tags. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteLinksGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteLinksGetSample.ts index 4df797f86b90..f8a25096359b 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteLinksGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteLinksGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteLinksGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the specified ExpressRouteLink resource. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteLinksListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteLinksListSample.ts index d4fd69c8285e..719fb5c71a99 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteLinksListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsCreateOrUpdateSample.ts index 5f2fa1dc7fe9..183d52de3f77 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an authorization in the specified express route port. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsDeleteSample.ts index 05137a5ff1a7..dc3b4a7d8a49 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified authorization from the specified express route port. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsGetSample.ts index 033663c127be..44964439275f 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortAuthorizationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified authorization from the specified express route port. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsListSample.ts index 096fadc1021c..0e9b7ed3fcef 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortAuthorizationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all authorizations in an express route port. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsCreateOrUpdateSample.ts index ad6011b0473c..20b1bd7ac1e4 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsDeleteSample.ts index 9a3b4b908959..076e48920209 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsGenerateLoaSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsGenerateLoaSample.ts index 9e0e38c8d4aa..bfb3556e720f 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsGenerateLoaSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsGenerateLoaSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortsGenerateLOAParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generate a letter of authorization for the requested ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsGetSample.ts index 00c47f214dc0..76551e6fa623 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the requested ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsListByResourceGroupSample.ts index e9db12e20d0b..06dc6c571f06 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all the ExpressRoutePort resources in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsListSample.ts index 094eed1e83b0..1ccd8ce67d65 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all the ExpressRoutePort resources in the specified subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsLocationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsLocationsGetSample.ts index 73b5d17b5929..211a3d423cdc 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsLocationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsLocationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortsLocationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsLocationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsLocationsListSample.ts index ff45937fcf74..9849e14aced1 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsLocationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsLocationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsUpdateTagsSample.ts index 525c71ef7113..ac276d68d675 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRoutePortsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRoutePortsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update ExpressRoutePort tags. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteProviderPortsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteProviderPortsGetSample.ts index 10684a4ed44e..a9c08961cbf1 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteProviderPortsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteProviderPortsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteProviderPortsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves detail of a provider port. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteProviderPortsLocationListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteProviderPortsLocationListSample.ts index 6957f77d4d59..892bc03e26fb 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteProviderPortsLocationListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteProviderPortsLocationListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteProviderPortsLocationListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all the ExpressRouteProviderPorts in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/expressRouteServiceProvidersListSample.ts b/sdk/network/arm-network-rest/samples-dev/expressRouteServiceProvidersListSample.ts index e95b32132088..109560a2a4a6 100644 --- a/sdk/network/arm-network-rest/samples-dev/expressRouteServiceProvidersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/expressRouteServiceProvidersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the available express route service providers. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesCreateOrUpdateSample.ts index cfa8321a90aa..9192fc2f1fd2 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Firewall Policy. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesDeleteSample.ts index 0c6bdd1e26d1..7f1dd45d11aa 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Firewall Policy. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesGetSample.ts index 5c725f9c37ff..797fce2f56b5 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPoliciesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Firewall Policy. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesListAllSample.ts index 2a79398875b0..49da61862278 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Firewall Policies in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesListSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesListSample.ts index 7cfcdf56cbc5..c473d7bb7c95 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Firewall Policies in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesUpdateTagsSample.ts index ab1a6a10c4d1..ce404e9a0ef0 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPoliciesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPoliciesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of a Azure Firewall Policy resource. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesFilterValuesListSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesFilterValuesListSample.ts index 646f9a2832c9..f959a9e63279 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesFilterValuesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesFilterValuesListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesFilterValuesListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the current filter values for the signatures overrides diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesListSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesListSample.ts index 91bc6be4e945..f51c70da9367 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the current status of IDPS signatures for the relevant policy diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesGetSample.ts index 70207d0b5814..f69cb89e5e2a 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesOverridesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all signatures overrides for a specific policy. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesListSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesListSample.ts index 73ec4cc38eb4..f9859d8fb859 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesOverridesListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all signatures overrides objects for a specific policy as a list containing a single value. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesPatchSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesPatchSample.ts index 0887a80fcfef..523b93e66ee8 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesPatchSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesPatchSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesOverridesPatchParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Will update the status of policy's signature overrides for IDPS diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesPutSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesPutSample.ts index 3479d66711da..ef12e06d0f16 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesPutSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyIdpsSignaturesOverridesPutSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesOverridesPutParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Will override/create a new signature overrides for the policy's IDPS diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts index 744fbc176c88..22ef05489fa8 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified FirewallPolicyRuleCollectionGroup. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsDeleteSample.ts index b8207f83019c..293571a38539 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified FirewallPolicyRuleCollectionGroup. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsGetSample.ts index d77bfdf92761..8254b6298c54 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyRuleCollectionGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified FirewallPolicyRuleCollectionGroup. diff --git a/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsListSample.ts b/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsListSample.ts index c00ba871c245..f1745c8ed915 100644 --- a/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/firewallPolicyRuleCollectionGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. diff --git a/sdk/network/arm-network-rest/samples-dev/flowLogsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/flowLogsCreateOrUpdateSample.ts index 58c81f2a44a4..d9efd2a297a9 100644 --- a/sdk/network/arm-network-rest/samples-dev/flowLogsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/flowLogsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a flow log for the specified network security group. diff --git a/sdk/network/arm-network-rest/samples-dev/flowLogsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/flowLogsDeleteSample.ts index 553ff4ddef59..2adf1d1ee962 100644 --- a/sdk/network/arm-network-rest/samples-dev/flowLogsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/flowLogsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified flow log resource. diff --git a/sdk/network/arm-network-rest/samples-dev/flowLogsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/flowLogsGetSample.ts index 51641840fb29..8de40d549308 100644 --- a/sdk/network/arm-network-rest/samples-dev/flowLogsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/flowLogsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FlowLogsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a flow log resource by name. diff --git a/sdk/network/arm-network-rest/samples-dev/flowLogsListSample.ts b/sdk/network/arm-network-rest/samples-dev/flowLogsListSample.ts index b6f2cf8db349..2ec829340a8c 100644 --- a/sdk/network/arm-network-rest/samples-dev/flowLogsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/flowLogsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all flow log resources for the specified Network Watcher. diff --git a/sdk/network/arm-network-rest/samples-dev/flowLogsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/flowLogsUpdateTagsSample.ts index 36f612d5a330..37aa8f3890cc 100644 --- a/sdk/network/arm-network-rest/samples-dev/flowLogsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/flowLogsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FlowLogsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update tags of the specified flow log. diff --git a/sdk/network/arm-network-rest/samples-dev/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts b/sdk/network/arm-network-rest/samples-dev/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts index 5d07b9df7324..30d4289ddac6 100644 --- a/sdk/network/arm-network-rest/samples-dev/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/getActiveSessionsSample.ts b/sdk/network/arm-network-rest/samples-dev/getActiveSessionsSample.ts index 2d001a6c95e0..3dba73cf4fd1 100644 --- a/sdk/network/arm-network-rest/samples-dev/getActiveSessionsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/getActiveSessionsSample.ts @@ -9,9 +9,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns the list of currently active sessions on the Bastion. diff --git a/sdk/network/arm-network-rest/samples-dev/getBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples-dev/getBastionShareableLinkSample.ts index c112b3f2abb9..1843200214ba 100644 --- a/sdk/network/arm-network-rest/samples-dev/getBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/getBastionShareableLinkSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Return the Bastion Shareable Links for all the VMs specified in the request. diff --git a/sdk/network/arm-network-rest/samples-dev/hubRouteTablesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/hubRouteTablesCreateOrUpdateSample.ts index 48450a0ccb3b..d54474c418db 100644 --- a/sdk/network/arm-network-rest/samples-dev/hubRouteTablesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/hubRouteTablesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. diff --git a/sdk/network/arm-network-rest/samples-dev/hubRouteTablesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/hubRouteTablesDeleteSample.ts index 00dc7657b833..80531ce8e66e 100644 --- a/sdk/network/arm-network-rest/samples-dev/hubRouteTablesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/hubRouteTablesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a RouteTable. diff --git a/sdk/network/arm-network-rest/samples-dev/hubRouteTablesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/hubRouteTablesGetSample.ts index aa6551e2dbd0..33732cc64f43 100644 --- a/sdk/network/arm-network-rest/samples-dev/hubRouteTablesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/hubRouteTablesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { HubRouteTablesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a RouteTable. diff --git a/sdk/network/arm-network-rest/samples-dev/hubRouteTablesListSample.ts b/sdk/network/arm-network-rest/samples-dev/hubRouteTablesListSample.ts index 8f8de572cc29..52b545fc6c28 100644 --- a/sdk/network/arm-network-rest/samples-dev/hubRouteTablesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/hubRouteTablesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all RouteTables. diff --git a/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts index 84e347e5cf17..fc324dc0a029 100644 --- a/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a hub virtual network connection if it doesn't exist else updates the existing one. diff --git a/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsDeleteSample.ts index 3aa631330b4d..52e6c6493314 100644 --- a/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a HubVirtualNetworkConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsGetSample.ts index be26ffb9b041..b9369f0f91be 100644 --- a/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { HubVirtualNetworkConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a HubVirtualNetworkConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsListSample.ts index 18389e8d8800..81245b481cfa 100644 --- a/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/hubVirtualNetworkConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all HubVirtualNetworkConnections. diff --git a/sdk/network/arm-network-rest/samples-dev/inboundNatRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/inboundNatRulesCreateOrUpdateSample.ts index e5c927d04938..f4c65387acb0 100644 --- a/sdk/network/arm-network-rest/samples-dev/inboundNatRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/inboundNatRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a load balancer inbound NAT rule. diff --git a/sdk/network/arm-network-rest/samples-dev/inboundNatRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/inboundNatRulesDeleteSample.ts index 98fef8fa3c52..8b4403ee9697 100644 --- a/sdk/network/arm-network-rest/samples-dev/inboundNatRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/inboundNatRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified load balancer inbound NAT rule. diff --git a/sdk/network/arm-network-rest/samples-dev/inboundNatRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/inboundNatRulesGetSample.ts index 7ee9ccdca493..52e907bce8af 100644 --- a/sdk/network/arm-network-rest/samples-dev/inboundNatRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/inboundNatRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { InboundNatRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified load balancer inbound NAT rule. diff --git a/sdk/network/arm-network-rest/samples-dev/inboundNatRulesListSample.ts b/sdk/network/arm-network-rest/samples-dev/inboundNatRulesListSample.ts index a2ba20f2143d..ca51c89d2a28 100644 --- a/sdk/network/arm-network-rest/samples-dev/inboundNatRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/inboundNatRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the inbound NAT rules in a load balancer. diff --git a/sdk/network/arm-network-rest/samples-dev/inboundSecurityRuleCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/inboundSecurityRuleCreateOrUpdateSample.ts index d4cc533bf15a..640ec26aa6a3 100644 --- a/sdk/network/arm-network-rest/samples-dev/inboundSecurityRuleCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/inboundSecurityRuleCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance Inbound Security Rules. diff --git a/sdk/network/arm-network-rest/samples-dev/ipAllocationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/ipAllocationsCreateOrUpdateSample.ts index 05f225050b26..4c9e9a73bbba 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipAllocationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipAllocationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an IpAllocation in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/ipAllocationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/ipAllocationsDeleteSample.ts index 1a30789a64a3..789405393fd3 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipAllocationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipAllocationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified IpAllocation. diff --git a/sdk/network/arm-network-rest/samples-dev/ipAllocationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/ipAllocationsGetSample.ts index c4e1de5d369d..392d0f48afc0 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipAllocationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipAllocationsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpAllocationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified IpAllocation by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/ipAllocationsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/ipAllocationsListByResourceGroupSample.ts index 87fa19cdbb42..4b3b3cbc07bd 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipAllocationsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipAllocationsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all IpAllocations in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/ipAllocationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/ipAllocationsListSample.ts index d6ce6b537da6..881b8ab974d6 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipAllocationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipAllocationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all IpAllocations in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/ipAllocationsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/ipAllocationsUpdateTagsSample.ts index d2f46bb258ef..0a7fea67d075 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipAllocationsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipAllocationsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { IpAllocationsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a IpAllocation tags. diff --git a/sdk/network/arm-network-rest/samples-dev/ipGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/ipGroupsCreateOrUpdateSample.ts index 58b2675a6fe4..a0f87145ee21 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an ipGroups in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/ipGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/ipGroupsDeleteSample.ts index 3fce8d58c7a3..8307c293d1f3 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified ipGroups. diff --git a/sdk/network/arm-network-rest/samples-dev/ipGroupsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/ipGroupsGetSample.ts index 5fb7d55df032..ed824d8e1657 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipGroupsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified ipGroups. diff --git a/sdk/network/arm-network-rest/samples-dev/ipGroupsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/ipGroupsListByResourceGroupSample.ts index 1fb2888d9e8d..a343ff72beec 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipGroupsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all IpGroups in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/ipGroupsListSample.ts b/sdk/network/arm-network-rest/samples-dev/ipGroupsListSample.ts index 362a6da26489..f8c277035254 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all IpGroups in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/ipGroupsUpdateGroupsSample.ts b/sdk/network/arm-network-rest/samples-dev/ipGroupsUpdateGroupsSample.ts index 7a15006e8867..b4994fe07c6f 100644 --- a/sdk/network/arm-network-rest/samples-dev/ipGroupsUpdateGroupsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/ipGroupsUpdateGroupsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { IpGroupsUpdateGroupsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of an IpGroups resource. diff --git a/sdk/network/arm-network-rest/samples-dev/listActiveConnectivityConfigurationsSample.ts b/sdk/network/arm-network-rest/samples-dev/listActiveConnectivityConfigurationsSample.ts index 073aba52a701..a0481644ea48 100644 --- a/sdk/network/arm-network-rest/samples-dev/listActiveConnectivityConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/listActiveConnectivityConfigurationsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ListActiveConnectivityConfigurationsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists active connectivity configurations in a network manager. diff --git a/sdk/network/arm-network-rest/samples-dev/listActiveSecurityAdminRulesSample.ts b/sdk/network/arm-network-rest/samples-dev/listActiveSecurityAdminRulesSample.ts index c57981416298..a4ee4e8e92e2 100644 --- a/sdk/network/arm-network-rest/samples-dev/listActiveSecurityAdminRulesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/listActiveSecurityAdminRulesSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ListActiveSecurityAdminRulesParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists active security admin rules in a network manager. diff --git a/sdk/network/arm-network-rest/samples-dev/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts b/sdk/network/arm-network-rest/samples-dev/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts index 504f64963171..16641b1faf08 100644 --- a/sdk/network/arm-network-rest/samples-dev/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ListNetworkManagerEffectiveConnectivityConfigurationsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all effective connectivity configurations applied on a virtual network. diff --git a/sdk/network/arm-network-rest/samples-dev/listNetworkManagerEffectiveSecurityAdminRulesSample.ts b/sdk/network/arm-network-rest/samples-dev/listNetworkManagerEffectiveSecurityAdminRulesSample.ts index 8167fb1b8080..9fdddf302892 100644 --- a/sdk/network/arm-network-rest/samples-dev/listNetworkManagerEffectiveSecurityAdminRulesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/listNetworkManagerEffectiveSecurityAdminRulesSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ListNetworkManagerEffectiveSecurityAdminRulesParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all effective security admin rules applied on a virtual network. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts index 950747d034ca..cf9154078b76 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a load balancer backend address pool. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsDeleteSample.ts index 32695c24e81b..04c7c32b3ce7 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified load balancer backend address pool. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsGetSample.ts index d7c4c2411489..f30f3f3652ff 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerBackendAddressPoolsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets load balancer backend address pool. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsListSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsListSample.ts index 6d95633a92a9..f92c01a01e4c 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerBackendAddressPoolsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancer backed address pools. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerFrontendIPConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerFrontendIPConfigurationsGetSample.ts index 2c2ba7680563..9fc4967fbe76 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerFrontendIPConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerFrontendIPConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerFrontendIPConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets load balancer frontend IP configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerFrontendIPConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerFrontendIPConfigurationsListSample.ts index 465cdf680e4e..d47881769ae8 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerFrontendIPConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerFrontendIPConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancer frontend IP configurations. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerLoadBalancingRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerLoadBalancingRulesGetSample.ts index 6fc4fbed9050..1fa12e12657c 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerLoadBalancingRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerLoadBalancingRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerLoadBalancingRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified load balancer load balancing rule. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerLoadBalancingRulesListSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerLoadBalancingRulesListSample.ts index 1a8fcb34e99a..5b9ef2b5ed25 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerLoadBalancingRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerLoadBalancingRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancing rules in a load balancer. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerNetworkInterfacesListSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerNetworkInterfacesListSample.ts index 8d0eccb1844b..d373f974036c 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerNetworkInterfacesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerNetworkInterfacesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets associated load balancer network interfaces. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerOutboundRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerOutboundRulesGetSample.ts index b1864e655c02..472df5d2b65c 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerOutboundRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerOutboundRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerOutboundRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified load balancer outbound rule. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerOutboundRulesListSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerOutboundRulesListSample.ts index c46c9a141b51..1074bab448a5 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerOutboundRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerOutboundRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the outbound rules in a load balancer. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerProbesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerProbesGetSample.ts index 98b94d6a35fe..b45b368653c1 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerProbesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerProbesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerProbesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets load balancer probe. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancerProbesListSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancerProbesListSample.ts index c8afb56156df..82d97f704f8b 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancerProbesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancerProbesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancer probes. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancersCreateOrUpdateSample.ts index 8d8c7c4abca8..391365ad4ee3 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancersCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a load balancer. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancersDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancersDeleteSample.ts index 1912c36e2545..8fbcb05d2fa7 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified load balancer. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancersGetSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancersGetSample.ts index 3b75ade9e5d5..dfe373d5c09f 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancersGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancersGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified load balancer. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancersListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancersListAllSample.ts index a8be11560a52..6d53d129bb1b 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancersListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancersListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancers in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancersListInboundNatRulePortMappingsSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancersListInboundNatRulePortMappingsSample.ts index 8b75cfd5ec3b..b8dd51ff8e00 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancersListInboundNatRulePortMappingsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancersListInboundNatRulePortMappingsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List of inbound NAT rule port mappings. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancersListSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancersListSample.ts index 7addde43fe26..6d0afb09f681 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancers in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancersSwapPublicIPAddressesSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancersSwapPublicIPAddressesSample.ts index 8ad896ad715c..cae5bdc7f7f8 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancersSwapPublicIPAddressesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancersSwapPublicIPAddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Swaps VIPs between two load balancers. diff --git a/sdk/network/arm-network-rest/samples-dev/loadBalancersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/loadBalancersUpdateTagsSample.ts index b22c8b726a01..e2349f6f8000 100644 --- a/sdk/network/arm-network-rest/samples-dev/loadBalancersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/loadBalancersUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancersUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a load balancer tags. diff --git a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysCreateOrUpdateSample.ts index cb2e065532a5..85788a9dba38 100644 --- a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a local network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysDeleteSample.ts index 45a9439114c3..2f12ae45d4c3 100644 --- a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified local network gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysGetSample.ts index f3ab30441066..68f3b0fc495b 100644 --- a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LocalNetworkGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified local network gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysListSample.ts b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysListSample.ts index 6e90a50f7fa6..0dc856728ec3 100644 --- a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the local network gateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysUpdateTagsSample.ts index 06ec2fa16f93..7114ed2aec3f 100644 --- a/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/localNetworkGatewaysUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LocalNetworkGatewaysUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a local network gateway tags. diff --git a/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts index b5e3b74e3992..f6d71d898a67 100644 --- a/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ManagementGroupNetworkManagerConnectionsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create a network manager connection on this management group. diff --git a/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsDeleteSample.ts index 84dfc7dc937a..791ce8bd1a0f 100644 --- a/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsDeleteSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ManagementGroupNetworkManagerConnectionsDeleteParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete specified pending connection created by this management group. diff --git a/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsGetSample.ts index 9038a9741cc7..d302844c55c1 100644 --- a/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ManagementGroupNetworkManagerConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a specified connection created by this management group. diff --git a/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsListSample.ts index 35c8cb4a5dac..4425374abc9a 100644 --- a/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/managementGroupNetworkManagerConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all network manager connections created by this management group. diff --git a/sdk/network/arm-network-rest/samples-dev/natGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/natGatewaysCreateOrUpdateSample.ts index 4a4b2dfafc58..2727545616a7 100644 --- a/sdk/network/arm-network-rest/samples-dev/natGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a nat gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/natGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/natGatewaysDeleteSample.ts index 6cf70f1a8f78..513f56d2102f 100644 --- a/sdk/network/arm-network-rest/samples-dev/natGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified nat gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/natGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples-dev/natGatewaysGetSample.ts index 7d51cd85d0e5..307e98c37bfb 100644 --- a/sdk/network/arm-network-rest/samples-dev/natGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natGatewaysGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified nat gateway in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/natGatewaysListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/natGatewaysListAllSample.ts index 7d0910008db8..41fce0a6a643 100644 --- a/sdk/network/arm-network-rest/samples-dev/natGatewaysListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natGatewaysListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Nat Gateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/natGatewaysListSample.ts b/sdk/network/arm-network-rest/samples-dev/natGatewaysListSample.ts index dc73c628708f..6aefad3d671e 100644 --- a/sdk/network/arm-network-rest/samples-dev/natGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all nat gateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/natGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/natGatewaysUpdateTagsSample.ts index d1d303027808..d1ca6d9f5744 100644 --- a/sdk/network/arm-network-rest/samples-dev/natGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natGatewaysUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NatGatewaysUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates nat gateway tags. diff --git a/sdk/network/arm-network-rest/samples-dev/natRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/natRulesCreateOrUpdateSample.ts index 414ca4461f7b..c5bea521b2ea 100644 --- a/sdk/network/arm-network-rest/samples-dev/natRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. diff --git a/sdk/network/arm-network-rest/samples-dev/natRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/natRulesDeleteSample.ts index 348c0691f334..93452a2f4a5b 100644 --- a/sdk/network/arm-network-rest/samples-dev/natRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a nat rule. diff --git a/sdk/network/arm-network-rest/samples-dev/natRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/natRulesGetSample.ts index 116dbccc429e..00d6123c5b39 100644 --- a/sdk/network/arm-network-rest/samples-dev/natRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natRulesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a nat ruleGet. diff --git a/sdk/network/arm-network-rest/samples-dev/natRulesListByVpnGatewaySample.ts b/sdk/network/arm-network-rest/samples-dev/natRulesListByVpnGatewaySample.ts index 3584b2b15b68..78d7c97ae6ce 100644 --- a/sdk/network/arm-network-rest/samples-dev/natRulesListByVpnGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/natRulesListByVpnGatewaySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all nat rules for a particular virtual wan vpn gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/networkGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/networkGroupsCreateOrUpdateSample.ts index bd2232340be8..3e09803cb95b 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/networkGroupsDeleteSample.ts index c40a3b09f9dc..34a162254dce 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a network group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkGroupsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkGroupsGetSample.ts index 18d8405d2c4b..0d64700a4ffe 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkGroupsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkGroupsListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkGroupsListSample.ts index d0316cb6618e..62d0cef7bcb7 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists the specified network group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfaceIPConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfaceIPConfigurationsGetSample.ts index 4e18f8d85a18..bad033d9bdd9 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfaceIPConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfaceIPConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfaceIPConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network interface ip configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfaceIPConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfaceIPConfigurationsListSample.ts index 1d02366850ab..eced0d6f45e4 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfaceIPConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfaceIPConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get all ip configurations in a network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfaceLoadBalancersListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfaceLoadBalancersListSample.ts index c17af7d8750c..bf1ae650c2ec 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfaceLoadBalancersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfaceLoadBalancersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all load balancers in a network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts index 5d5be1aef9c2..2fcb2f5405db 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a Tap configuration in the specified NetworkInterface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsDeleteSample.ts index 548b5f5682fe..4b04cbb310a8 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified tap configuration from the NetworkInterface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsGetSample.ts index 0ee247ebec57..c41df365f872 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfaceTapConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified tap configuration on a network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsListSample.ts index b14cabcc3de8..93507bce8e2f 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfaceTapConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get all Tap configurations in a network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesCreateOrUpdateSample.ts index e471a4663607..7850f944075f 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesDeleteSample.ts index 5ea8f27c4bb7..d6cd73cd6ecd 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts index 9cefea287124..4e6710c5a0f3 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesGetCloudServiceNetworkInterfaceParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network interface in a cloud service. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetEffectiveRouteTableSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetEffectiveRouteTableSample.ts index 1778956b82f7..32b93cc1d78b 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetEffectiveRouteTableSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetEffectiveRouteTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route tables applied to a network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetSample.ts index f2de6a25dd84..f0c8835ffaa1 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts index b1177c0c9718..cc63a67d3d51 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network interface ip configuration in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts index 5d5b9e0eaa3d..79315994bdcb 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network interface in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListAllSample.ts index 29853a6c1516..a2a2f404e30b 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network interfaces in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListCloudServiceNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListCloudServiceNetworkInterfacesSample.ts index 239b644d6ec8..61f3b10dc89e 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListCloudServiceNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListCloudServiceNetworkInterfacesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network interfaces in a cloud service. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts index c4184b1a956c..86fbdd245a87 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all network interfaces in a role instance in a cloud service. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts index 25ac2c844ed1..085b10296bed 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network security groups applied to a network interface. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListSample.ts index 199d83c003ba..d97b6db6c8bc 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network interfaces in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts index 5344426e26be..e84a8385961b 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network interface ip configuration in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts index b6b28f63c298..18059e362b05 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network interfaces in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts index cc40f427878e..84890fc7000c 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all network interfaces in a virtual machine in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples-dev/networkInterfacesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/networkInterfacesUpdateTagsSample.ts index c8030f7861ef..024c86cbd223 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkInterfacesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkInterfacesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a network interface tags. diff --git a/sdk/network/arm-network-rest/samples-dev/networkManagerCommitsPostSample.ts b/sdk/network/arm-network-rest/samples-dev/networkManagerCommitsPostSample.ts index cd5b7fdc34bd..73032a5e359d 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkManagerCommitsPostSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkManagerCommitsPostSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Post a Network Manager Commit. diff --git a/sdk/network/arm-network-rest/samples-dev/networkManagerDeploymentStatusListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkManagerDeploymentStatusListSample.ts index ab52e2d8e8d5..fe0ff137ad2d 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkManagerDeploymentStatusListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkManagerDeploymentStatusListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkManagerDeploymentStatusListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Post to List of Network Manager Deployment Status. diff --git a/sdk/network/arm-network-rest/samples-dev/networkManagersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/networkManagersCreateOrUpdateSample.ts index c69e38c10c37..6d7356feb81a 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkManagersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkManagersCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkManagersCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a Network Manager. diff --git a/sdk/network/arm-network-rest/samples-dev/networkManagersDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/networkManagersDeleteSample.ts index 8b64460c6f7e..80d5facab6fe 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkManagersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkManagersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a network manager. diff --git a/sdk/network/arm-network-rest/samples-dev/networkManagersGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkManagersGetSample.ts index db21342cca9b..63b5631d6346 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkManagersGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkManagersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkManagersGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Network Manager. diff --git a/sdk/network/arm-network-rest/samples-dev/networkManagersListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples-dev/networkManagersListBySubscriptionSample.ts index f0220dd4d544..8255989604ea 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkManagersListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkManagersListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all network managers in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/networkManagersListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkManagersListSample.ts index f7618215aec8..7da78046af0d 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkManagersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkManagersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List network managers in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkManagersPatchSample.ts b/sdk/network/arm-network-rest/samples-dev/networkManagersPatchSample.ts index e6205f95002b..4aaac9fb21fd 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkManagersPatchSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkManagersPatchSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkManagersPatchParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Patch NetworkManager. diff --git a/sdk/network/arm-network-rest/samples-dev/networkProfilesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/networkProfilesCreateOrUpdateSample.ts index 7b6a5335b619..7f3a4fa3c2be 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkProfilesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkProfilesCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkProfilesCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network profile. diff --git a/sdk/network/arm-network-rest/samples-dev/networkProfilesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/networkProfilesDeleteSample.ts index 58545f7aab4a..d1621e3e74e8 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkProfilesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkProfilesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network profile. diff --git a/sdk/network/arm-network-rest/samples-dev/networkProfilesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkProfilesGetSample.ts index b084c50ab0d9..02ef0ab5510b 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkProfilesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkProfilesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkProfilesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network profile in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkProfilesListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/networkProfilesListAllSample.ts index 9913fd18424d..0f82d177d7e8 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkProfilesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkProfilesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the network profiles in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/networkProfilesListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkProfilesListSample.ts index 844be1a7634d..05931dd6e3e5 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkProfilesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkProfilesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network profiles in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkProfilesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/networkProfilesUpdateTagsSample.ts index e1fd64a4f808..48e705053004 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkProfilesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkProfilesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkProfilesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates network profile tags. diff --git a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsCreateOrUpdateSample.ts index 0861179dd68f..1dfadf7afd4c 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network security group in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsDeleteSample.ts index 903fc7e4f624..ab42d9f876f1 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network security group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsGetSample.ts index 1f0d814922bf..26c72c67cc6d 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkSecurityGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network security group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsListAllSample.ts index 987d9510c483..8962efa553fb 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network security groups in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsListSample.ts index dcb2d2cad529..373aabdc9fa2 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network security groups in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsUpdateTagsSample.ts index 50056b3ce787..04b9d63486e6 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkSecurityGroupsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkSecurityGroupsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a network security group tags. diff --git a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesCreateOrUpdateSample.ts index e6dd52abddd4..d5e40a4db11d 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesDeleteSample.ts index 9612637854ee..b8cb562d37dc 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Network Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesGetSample.ts index c6cefa21dc6d..964f8773606c 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkVirtualAppliancesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Network Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesListByResourceGroupSample.ts index 9b93f46a62be..ad7c72bd716f 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Network Virtual Appliances in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesListSample.ts index 98fc8d419a7c..724d8280997c 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all Network Virtual Appliances in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesUpdateTagsSample.ts index 8e8c477a574b..e798f2ad9ffb 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkVirtualAppliancesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkVirtualAppliancesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a Network Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersCheckConnectivitySample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersCheckConnectivitySample.ts index f42cf7063a60..c016407a3cee 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersCheckConnectivitySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersCheckConnectivitySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersCreateOrUpdateSample.ts index 44e86a1efbaf..443908410c88 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkWatchersCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network watcher in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersDeleteSample.ts index aba28201b7f8..0b95bbe4a3ab 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network watcher resource. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetAzureReachabilityReportSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetAzureReachabilityReportSample.ts index 5d51dad2cf8e..a53c0edb3fab 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetAzureReachabilityReportSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetAzureReachabilityReportSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetFlowLogStatusSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetFlowLogStatusSample.ts index 70aa1a7868d6..90d0cfcbb53e 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetFlowLogStatusSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetFlowLogStatusSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Queries status of flow log and traffic analytics (optional) on a specified resource. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetNetworkConfigurationDiagnosticSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetNetworkConfigurationDiagnosticSample.ts index 98ee10b7d5c9..4437f389d982 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetNetworkConfigurationDiagnosticSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetNetworkConfigurationDiagnosticSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetNextHopSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetNextHopSample.ts index 110660a8a5b9..7ab9e168cdbe 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetNextHopSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetNextHopSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the next hop from the specified VM. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetSample.ts index fae4de02885c..8243f787749d 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkWatchersGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network watcher by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTopologySample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTopologySample.ts index 9917fa7ea716..f96109c9d1c0 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTopologySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTopologySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkWatchersGetTopologyParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the current network topology by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTroubleshootingResultSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTroubleshootingResultSample.ts index 2cde91768a82..9391702c9392 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTroubleshootingResultSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTroubleshootingResultSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the last completed troubleshooting result on a specified resource. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTroubleshootingSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTroubleshootingSample.ts index 38f22756f2c7..ecc96a212c35 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTroubleshootingSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetTroubleshootingSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Initiate troubleshooting on a specified resource. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetVMSecurityRulesSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetVMSecurityRulesSample.ts index 32f04b0fec5a..09eeeafbb9a1 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersGetVMSecurityRulesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersGetVMSecurityRulesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the configured and effective security group rules on the specified VM. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersListAllSample.ts index e7905fae1d73..06f3b83ddb34 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network watchers by subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersListAvailableProvidersSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersListAvailableProvidersSample.ts index 1ca5a3979a6c..49733064fc66 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersListAvailableProvidersSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersListAvailableProvidersSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersListSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersListSample.ts index 8e37a9461392..57a70f10a7a6 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network watchers by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersSetFlowLogConfigurationSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersSetFlowLogConfigurationSample.ts index 7fbc3d8daf43..6850f9a9f20a 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersSetFlowLogConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersSetFlowLogConfigurationSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Configures flow log and traffic analytics (optional) on a specified resource. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersUpdateTagsSample.ts index a3ead5da2f76..347e9eab503f 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkWatchersUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a network watcher tags. diff --git a/sdk/network/arm-network-rest/samples-dev/networkWatchersVerifyIPFlowSample.ts b/sdk/network/arm-network-rest/samples-dev/networkWatchersVerifyIPFlowSample.ts index 9800c6c6129e..2c313bfeec60 100644 --- a/sdk/network/arm-network-rest/samples-dev/networkWatchersVerifyIPFlowSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/networkWatchersVerifyIPFlowSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Verify IP flow from the specified VM to a location given the currently configured NSG rules. diff --git a/sdk/network/arm-network-rest/samples-dev/operationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/operationsListSample.ts index 05ded1efe06f..c5034b8c6084 100644 --- a/sdk/network/arm-network-rest/samples-dev/operationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/operationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the available Network Rest API operations. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysCreateOrUpdateSample.ts index 16955da7da5a..5f0259e8998f 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysDeleteSample.ts index cc7cefa41d87..bbcee10407d5 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a virtual wan p2s vpn gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts index a60f24ef31f5..425faeae733e 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGenerateVpnProfileSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGenerateVpnProfileSample.ts index ccb889ad05f2..3c7b0f0ce28e 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGenerateVpnProfileSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGenerateVpnProfileSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts index 9da1bf752d90..e3a1db43e611 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts index e98410948ed2..3cca6cdbac9a 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetSample.ts index 5d76b02a2903..94e148006d38 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { P2SVpnGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a virtual wan p2s vpn gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysListByResourceGroupSample.ts index f169d0c5672d..570955b31e03 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the P2SVpnGateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysListSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysListSample.ts index 3bf8ac5aa1b5..a6fc992dadc5 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the P2SVpnGateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysResetSample.ts index e85369d47d13..fdb786153ba1 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysResetSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the primary of the p2s vpn gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysUpdateTagsSample.ts index b28711abdbdb..08fe43686a75 100644 --- a/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/p2SVpnGatewaysUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates virtual wan p2s vpn gateway tags. diff --git a/sdk/network/arm-network-rest/samples-dev/packetCapturesCreateSample.ts b/sdk/network/arm-network-rest/samples-dev/packetCapturesCreateSample.ts index 858399ee1d52..edd0c64aff90 100644 --- a/sdk/network/arm-network-rest/samples-dev/packetCapturesCreateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/packetCapturesCreateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create and start a packet capture on the specified VM. diff --git a/sdk/network/arm-network-rest/samples-dev/packetCapturesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/packetCapturesDeleteSample.ts index 2c24285e352a..ec9e63bbd0f7 100644 --- a/sdk/network/arm-network-rest/samples-dev/packetCapturesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/packetCapturesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified packet capture session. diff --git a/sdk/network/arm-network-rest/samples-dev/packetCapturesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/packetCapturesGetSample.ts index f2b761306ff5..5a5763f32949 100644 --- a/sdk/network/arm-network-rest/samples-dev/packetCapturesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/packetCapturesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PacketCapturesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a packet capture session by name. diff --git a/sdk/network/arm-network-rest/samples-dev/packetCapturesGetStatusSample.ts b/sdk/network/arm-network-rest/samples-dev/packetCapturesGetStatusSample.ts index 3d4ba8af725d..67be2d14f7e4 100644 --- a/sdk/network/arm-network-rest/samples-dev/packetCapturesGetStatusSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/packetCapturesGetStatusSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Query the status of a running packet capture session. diff --git a/sdk/network/arm-network-rest/samples-dev/packetCapturesListSample.ts b/sdk/network/arm-network-rest/samples-dev/packetCapturesListSample.ts index cb0ce29a9065..08f4c977e7e4 100644 --- a/sdk/network/arm-network-rest/samples-dev/packetCapturesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/packetCapturesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all packet capture sessions within the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/packetCapturesStopSample.ts b/sdk/network/arm-network-rest/samples-dev/packetCapturesStopSample.ts index 070f559a09fb..d2941886a72c 100644 --- a/sdk/network/arm-network-rest/samples-dev/packetCapturesStopSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/packetCapturesStopSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops a specified packet capture session. diff --git a/sdk/network/arm-network-rest/samples-dev/peerExpressRouteCircuitConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/peerExpressRouteCircuitConnectionsGetSample.ts index 7bb9cf712bab..172d1d2ac292 100644 --- a/sdk/network/arm-network-rest/samples-dev/peerExpressRouteCircuitConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/peerExpressRouteCircuitConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PeerExpressRouteCircuitConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/peerExpressRouteCircuitConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/peerExpressRouteCircuitConnectionsListSample.ts index 9187dea75718..1c6d5d92aab0 100644 --- a/sdk/network/arm-network-rest/samples-dev/peerExpressRouteCircuitConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/peerExpressRouteCircuitConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all global reach peer connections associated with a private peering in an express route circuit. diff --git a/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsCreateOrUpdateSample.ts index 61c3f19e156a..28133cf1b2b8 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a private dns zone group in the specified private endpoint. diff --git a/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsDeleteSample.ts index da66e4fe42ed..b5c4f9144409 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified private dns zone group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsGetSample.ts index 039673b9d53b..f1bf830b8cc4 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateDnsZoneGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the private dns zone group resource by specified private dns zone group name. diff --git a/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsListSample.ts b/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsListSample.ts index b307011e7033..369530de3c8c 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateDnsZoneGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private dns zone groups in a private endpoint. diff --git a/sdk/network/arm-network-rest/samples-dev/privateEndpointsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/privateEndpointsCreateOrUpdateSample.ts index aaf5e029346d..92ea1648f240 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateEndpointsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateEndpointsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an private endpoint in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateEndpointsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/privateEndpointsDeleteSample.ts index 0c35252b14c8..3cdf0ab28d04 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateEndpointsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateEndpointsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified private endpoint. diff --git a/sdk/network/arm-network-rest/samples-dev/privateEndpointsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/privateEndpointsGetSample.ts index 250c15e5df7c..3088227deae4 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateEndpointsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateEndpointsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateEndpointsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified private endpoint by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateEndpointsListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples-dev/privateEndpointsListBySubscriptionSample.ts index 5f86a8be42c7..a65bf07f9b58 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateEndpointsListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateEndpointsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private endpoints in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/privateEndpointsListSample.ts b/sdk/network/arm-network-rest/samples-dev/privateEndpointsListSample.ts index 7d3d41d29b36..fddc6b276784 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateEndpointsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateEndpointsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private endpoints in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts index 93c59da1f5ff..c905dd498b25 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Checks whether the subscription is visible to private link service in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts index e5f24a00f6d7..f3ecf10988cf 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Checks whether the subscription is visible to private link service. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCreateOrUpdateSample.ts index 0eba7667a887..40137d5bb077 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an private link service in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesDeletePrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesDeletePrivateEndpointConnectionSample.ts index 79a3c0552707..76244633e1d7 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesDeletePrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesDeletePrivateEndpointConnectionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete private end point connection for a private link service in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesDeleteSample.ts index bb35f9e6fbe4..540414e2653e 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified private link service. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesGetPrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesGetPrivateEndpointConnectionSample.ts index 32bb25d80dad..e9efcc875a75 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesGetPrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesGetPrivateEndpointConnectionSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateLinkServicesGetPrivateEndpointConnectionParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specific private end point connection by specific private link service in the resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesGetSample.ts index 4247fdb6af36..79e882b2ef77 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateLinkServicesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified private link service by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts index 0558bab4fa26..12f87d1d073c 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts index bf98e52ac78c..21b62cf62993 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListBySubscriptionSample.ts index 035381897708..ccbad1022561 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private link service in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListPrivateEndpointConnectionsSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListPrivateEndpointConnectionsSample.ts index 3431f2ca1750..c0e61c3fc03d 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListPrivateEndpointConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListPrivateEndpointConnectionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private end point connections for a specific private link service. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListSample.ts index 9154086500c0..df1469feff1f 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private link services in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts index 93fc7e9ffa0f..0195423100dd 100644 --- a/sdk/network/arm-network-rest/samples-dev/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateLinkServicesUpdatePrivateEndpointConnectionParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Approve or reject private end point connection for a private link service in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesCreateOrUpdateSample.ts index 500158167761..b525ca5f1bd5 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a static or dynamic public IP address. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesDdosProtectionStatusSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesDdosProtectionStatusSample.ts index 696aeeef726c..4506732fc976 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesDdosProtectionStatusSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesDdosProtectionStatusSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the Ddos Protection Status of a Public IP Address diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesDeleteSample.ts index 985e181892f0..ee2681566497 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified public IP address. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetCloudServicePublicIpaddressSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetCloudServicePublicIpaddressSample.ts index 1785df37d691..f27643f8a9e9 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetCloudServicePublicIpaddressSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetCloudServicePublicIpaddressSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPAddressesGetCloudServicePublicIPAddressParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified public IP address in a cloud service. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetSample.ts index 765a65dc6f30..93251d32676b 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPAddressesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified public IP address in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts index 2130c332c6c8..89b3dc221b02 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified public IP address in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListAllSample.ts index 28006304a9d5..26f3b258a9b5 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the public IP addresses in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListCloudServicePublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListCloudServicePublicIpaddressesSample.ts index e8d7fbf04b98..4cadd06be400 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListCloudServicePublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListCloudServicePublicIpaddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all public IP addresses on a cloud service level. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts index d866b4b37baf..d5d95bd9ba77 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all public IP addresses in a role instance IP configuration in a cloud service. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListSample.ts index f8aae84acb96..52f9d20972e1 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all public IP addresses in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts index 9c96b7adc17d..048393c13f11 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all public IP addresses on a virtual machine scale set level. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts index d117737af710..eed1d538bb84 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesUpdateTagsSample.ts index 929bd887f4b1..7791dbca52f2 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPAddressesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPAddressesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPAddressesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates public IP address tags. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesCreateOrUpdateSample.ts index 39e93e00c9c0..10260464b177 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a static or dynamic public IP prefix. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesDeleteSample.ts index 06141e3be56e..acc27ac8427d 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified public IP prefix. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesGetSample.ts index 9358b56d4841..b5b61f7b7924 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPPrefixesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified public IP prefix in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesListAllSample.ts index 2a7b867646af..91b440d03e02 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the public IP prefixes in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesListSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesListSample.ts index 8a2b257bd784..e3467cc91098 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all public IP prefixes in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesUpdateTagsSample.ts index 9655010b6e93..d2e3ee7db24a 100644 --- a/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/publicIPPrefixesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPPrefixesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates public IP prefix tags. diff --git a/sdk/network/arm-network-rest/samples-dev/putBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples-dev/putBastionShareableLinkSample.ts index 63ad2f95bb4d..60f931fc7c43 100644 --- a/sdk/network/arm-network-rest/samples-dev/putBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/putBastionShareableLinkSample.ts @@ -9,9 +9,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a Bastion Shareable Links for all the VMs specified in the request. diff --git a/sdk/network/arm-network-rest/samples-dev/resourceNavigationLinksListSample.ts b/sdk/network/arm-network-rest/samples-dev/resourceNavigationLinksListSample.ts index 3768d3a0fc0f..29fe81dbc752 100644 --- a/sdk/network/arm-network-rest/samples-dev/resourceNavigationLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/resourceNavigationLinksListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ResourceNavigationLinksListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of resource navigation links for a subnet. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFilterRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFilterRulesCreateOrUpdateSample.ts index e757adc83ecc..7e6b1a29dfef 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFilterRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFilterRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a route in the specified route filter. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFilterRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFilterRulesDeleteSample.ts index a38da827dabd..34797839ca80 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFilterRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFilterRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified rule from a route filter. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFilterRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFilterRulesGetSample.ts index 9d3b9bd7d917..7ea9e327af86 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFilterRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFilterRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteFilterRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified rule from a route filter. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFilterRulesListByRouteFilterSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFilterRulesListByRouteFilterSample.ts index 0bc44e82ad10..3c8265f12682 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFilterRulesListByRouteFilterSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFilterRulesListByRouteFilterSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all RouteFilterRules in a route filter. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFiltersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFiltersCreateOrUpdateSample.ts index 5e4886890544..32e76fe97868 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFiltersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFiltersCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a route filter in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFiltersDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFiltersDeleteSample.ts index 907af33d09f3..ef8776fcb23d 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFiltersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFiltersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified route filter. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFiltersGetSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFiltersGetSample.ts index 3a75f81f1789..3d87cd8a4134 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFiltersGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFiltersGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteFiltersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified route filter. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFiltersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFiltersListByResourceGroupSample.ts index 0f7521dd655c..fc5828d83b1f 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFiltersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFiltersListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route filters in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFiltersListSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFiltersListSample.ts index 407eb44a18bf..2009601f7a92 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFiltersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFiltersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route filters in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/routeFiltersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/routeFiltersUpdateTagsSample.ts index a4434f3ea3d5..1a3abffa1e7d 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeFiltersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeFiltersUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteFiltersUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of a route filter. diff --git a/sdk/network/arm-network-rest/samples-dev/routeMapsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/routeMapsCreateOrUpdateSample.ts index fb26de471591..15e5811faa93 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeMapsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeMapsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a RouteMap if it doesn't exist else updates the existing one. diff --git a/sdk/network/arm-network-rest/samples-dev/routeMapsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/routeMapsDeleteSample.ts index 444b97d2cbe9..93609e73d59e 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeMapsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeMapsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a RouteMap. diff --git a/sdk/network/arm-network-rest/samples-dev/routeMapsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/routeMapsGetSample.ts index 3086e9ed2ea1..6087f6ce17ce 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeMapsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeMapsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteMapsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a RouteMap. diff --git a/sdk/network/arm-network-rest/samples-dev/routeMapsListSample.ts b/sdk/network/arm-network-rest/samples-dev/routeMapsListSample.ts index 91dcf74289f6..212110c96cbd 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeMapsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeMapsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all RouteMaps. diff --git a/sdk/network/arm-network-rest/samples-dev/routeTablesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/routeTablesCreateOrUpdateSample.ts index 35b6bf4300eb..9e61b47f82f6 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeTablesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeTablesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or updates a route table in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/routeTablesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/routeTablesDeleteSample.ts index 3a0a9d937cf0..49fde98d4f1c 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeTablesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeTablesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified route table. diff --git a/sdk/network/arm-network-rest/samples-dev/routeTablesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/routeTablesGetSample.ts index 23b3d0d27f54..eb9c14e9e7e5 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeTablesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeTablesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteTablesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified route table. diff --git a/sdk/network/arm-network-rest/samples-dev/routeTablesListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/routeTablesListAllSample.ts index 928a20f714cb..878176ad8f2c 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeTablesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeTablesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route tables in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/routeTablesListSample.ts b/sdk/network/arm-network-rest/samples-dev/routeTablesListSample.ts index d2c2da8898dd..7f99df495fe9 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeTablesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeTablesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route tables in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/routeTablesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/routeTablesUpdateTagsSample.ts index 9f4c86c413a6..954770705dda 100644 --- a/sdk/network/arm-network-rest/samples-dev/routeTablesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routeTablesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteTablesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a route table tags. diff --git a/sdk/network/arm-network-rest/samples-dev/routesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/routesCreateOrUpdateSample.ts index 072070fa9498..8dfe2cd43419 100644 --- a/sdk/network/arm-network-rest/samples-dev/routesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a route in the specified route table. diff --git a/sdk/network/arm-network-rest/samples-dev/routesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/routesDeleteSample.ts index 9ae5f72f3329..658d10f2867a 100644 --- a/sdk/network/arm-network-rest/samples-dev/routesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified route from a route table. diff --git a/sdk/network/arm-network-rest/samples-dev/routesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/routesGetSample.ts index a322edab8a0c..78070fdf5657 100644 --- a/sdk/network/arm-network-rest/samples-dev/routesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RoutesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified route from a route table. diff --git a/sdk/network/arm-network-rest/samples-dev/routesListSample.ts b/sdk/network/arm-network-rest/samples-dev/routesListSample.ts index ccdfc3396757..0727f708a4b9 100644 --- a/sdk/network/arm-network-rest/samples-dev/routesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all routes in a route table. diff --git a/sdk/network/arm-network-rest/samples-dev/routingIntentCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/routingIntentCreateOrUpdateSample.ts index beb10de2fb03..ec7de2b1eb7a 100644 --- a/sdk/network/arm-network-rest/samples-dev/routingIntentCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routingIntentCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. diff --git a/sdk/network/arm-network-rest/samples-dev/routingIntentDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/routingIntentDeleteSample.ts index b59eeea92d51..0320c9168799 100644 --- a/sdk/network/arm-network-rest/samples-dev/routingIntentDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routingIntentDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a RoutingIntent. diff --git a/sdk/network/arm-network-rest/samples-dev/routingIntentGetSample.ts b/sdk/network/arm-network-rest/samples-dev/routingIntentGetSample.ts index 37f7ce3bf4c2..7f2e1f26bc7f 100644 --- a/sdk/network/arm-network-rest/samples-dev/routingIntentGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routingIntentGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RoutingIntentGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a RoutingIntent. diff --git a/sdk/network/arm-network-rest/samples-dev/routingIntentListSample.ts b/sdk/network/arm-network-rest/samples-dev/routingIntentListSample.ts index a40a7f9f826d..0024e9a70c7f 100644 --- a/sdk/network/arm-network-rest/samples-dev/routingIntentListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/routingIntentListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all RoutingIntent child resources of the VirtualHub. diff --git a/sdk/network/arm-network-rest/samples-dev/scopeConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/scopeConnectionsCreateOrUpdateSample.ts index 17fc4e0fb124..8d49faabb494 100644 --- a/sdk/network/arm-network-rest/samples-dev/scopeConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/scopeConnectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ScopeConnectionsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates scope connection from Network Manager diff --git a/sdk/network/arm-network-rest/samples-dev/scopeConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/scopeConnectionsDeleteSample.ts index 06a871240818..5de16b295a98 100644 --- a/sdk/network/arm-network-rest/samples-dev/scopeConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/scopeConnectionsDeleteSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ScopeConnectionsDeleteParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete the pending scope connection created by this network manager. diff --git a/sdk/network/arm-network-rest/samples-dev/scopeConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/scopeConnectionsGetSample.ts index 5b375271e850..1367f338dbd7 100644 --- a/sdk/network/arm-network-rest/samples-dev/scopeConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/scopeConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ScopeConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get specified scope connection created by this Network Manager. diff --git a/sdk/network/arm-network-rest/samples-dev/scopeConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/scopeConnectionsListSample.ts index 24d723418421..d8a3edd67040 100644 --- a/sdk/network/arm-network-rest/samples-dev/scopeConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/scopeConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all scope connections created by this network manager. diff --git a/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsCreateOrUpdateSample.ts index 1214c7e1d509..c20e83e931d2 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityAdminConfigurationsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network manager security admin configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsDeleteSample.ts index e37786b86a74..994fa52a8238 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a network manager security admin configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsGetSample.ts index a391be162aa8..2f97b49e31e0 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityAdminConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a network manager security admin configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsListSample.ts index b16a7688981e..29f272d67dab 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityAdminConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the network manager security admin configurations in a network manager, in a paginated format. diff --git a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersCreateOrUpdateSample.ts index cc3e9525e9da..b6a2cbd61fe5 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Security Partner Provider. diff --git a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersDeleteSample.ts index 8aceae6016d2..8e1716bc53d0 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Security Partner Provider. diff --git a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersGetSample.ts b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersGetSample.ts index 91a9f57d1424..9f9acd28887a 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityPartnerProvidersGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Security Partner Provider. diff --git a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersListByResourceGroupSample.ts index 606e28489f66..3f3457dc310e 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Security Partner Providers in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersListSample.ts b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersListSample.ts index 03196fb6fd07..57e3f9cb0c51 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Security Partner Providers in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersUpdateTagsSample.ts index ccf2ae61c3ae..e1e3ae8aca63 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityPartnerProvidersUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityPartnerProvidersUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of a Security Partner Provider resource. diff --git a/sdk/network/arm-network-rest/samples-dev/securityRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/securityRulesCreateOrUpdateSample.ts index 3944479ae80f..11d922740aa4 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a security rule in the specified network security group. diff --git a/sdk/network/arm-network-rest/samples-dev/securityRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/securityRulesDeleteSample.ts index 8f1cf96719dc..9b24c28826fc 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network security rule. diff --git a/sdk/network/arm-network-rest/samples-dev/securityRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/securityRulesGetSample.ts index b7ad3df7bfff..ad68e78b00db 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityRulesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network security rule. diff --git a/sdk/network/arm-network-rest/samples-dev/securityRulesListSample.ts b/sdk/network/arm-network-rest/samples-dev/securityRulesListSample.ts index f91eb759389b..83fcb0ca6712 100644 --- a/sdk/network/arm-network-rest/samples-dev/securityRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/securityRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all security rules in a network security group. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceAssociationLinksListSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceAssociationLinksListSample.ts index cc2c48ccaa66..ee6782a352f5 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceAssociationLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceAssociationLinksListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceAssociationLinksListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of service association links for a subnet. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesCreateOrUpdateSample.ts index 9a5e5483300d..a64f04ffdb81 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a service Endpoint Policies. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesDeleteSample.ts index 2a8934ee3d25..6ab2038bad8c 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified service endpoint policy. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesGetSample.ts index 993f284659da..93b2ace7ae16 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceEndpointPoliciesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified service Endpoint Policies in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesListByResourceGroupSample.ts index 05484af053bc..345c2a6bb5ed 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all service endpoint Policies in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesListSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesListSample.ts index 331f053de808..2776816ab921 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the service endpoint policies in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesUpdateTagsSample.ts index 3733b65aee64..11884856bb38 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPoliciesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceEndpointPoliciesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of a service endpoint policy. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts index 03c26fc92195..b3f71310be2e 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a service endpoint policy definition in the specified service endpoint policy. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsDeleteSample.ts index a7cf2e03c14f..5fa5457245e3 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified ServiceEndpoint policy definitions. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsGetSample.ts index 6fe7ab47c3f0..5afaf17dd11e 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceEndpointPolicyDefinitionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified service endpoint policy definitions from service endpoint policy. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts index 74f873007a9c..38eea78d4c3e 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all service endpoint policy definitions in a service end point policy. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceTagInformationListSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceTagInformationListSample.ts index 8321e4175b49..7aaf52bff528 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceTagInformationListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceTagInformationListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of service tag information resources with pagination. diff --git a/sdk/network/arm-network-rest/samples-dev/serviceTagsListSample.ts b/sdk/network/arm-network-rest/samples-dev/serviceTagsListSample.ts index a05da528c561..3757722961cd 100644 --- a/sdk/network/arm-network-rest/samples-dev/serviceTagsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/serviceTagsListSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceTagsListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of service tag information resources. diff --git a/sdk/network/arm-network-rest/samples-dev/staticMembersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/staticMembersCreateOrUpdateSample.ts index 530bb75ff02a..affd127b7ce1 100644 --- a/sdk/network/arm-network-rest/samples-dev/staticMembersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/staticMembersCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { StaticMembersCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a static member. diff --git a/sdk/network/arm-network-rest/samples-dev/staticMembersDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/staticMembersDeleteSample.ts index 14d2414a441e..38b7f9dc75d2 100644 --- a/sdk/network/arm-network-rest/samples-dev/staticMembersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/staticMembersDeleteSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { StaticMembersDeleteParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a static member. diff --git a/sdk/network/arm-network-rest/samples-dev/staticMembersGetSample.ts b/sdk/network/arm-network-rest/samples-dev/staticMembersGetSample.ts index 18bd1b89b61a..f634a9a891e8 100644 --- a/sdk/network/arm-network-rest/samples-dev/staticMembersGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/staticMembersGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { StaticMembersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified static member. diff --git a/sdk/network/arm-network-rest/samples-dev/staticMembersListSample.ts b/sdk/network/arm-network-rest/samples-dev/staticMembersListSample.ts index 5696801e3c76..45a3d8c8b0af 100644 --- a/sdk/network/arm-network-rest/samples-dev/staticMembersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/staticMembersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists the specified static member. diff --git a/sdk/network/arm-network-rest/samples-dev/subnetsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/subnetsCreateOrUpdateSample.ts index 21b6eecb0dae..84e8ecb05ea2 100644 --- a/sdk/network/arm-network-rest/samples-dev/subnetsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subnetsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a subnet in the specified virtual network. diff --git a/sdk/network/arm-network-rest/samples-dev/subnetsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/subnetsDeleteSample.ts index 1981a42232b2..9b3cbecb3820 100644 --- a/sdk/network/arm-network-rest/samples-dev/subnetsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subnetsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified subnet. diff --git a/sdk/network/arm-network-rest/samples-dev/subnetsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/subnetsGetSample.ts index af3a737d8b3d..6b6977aa5ab6 100644 --- a/sdk/network/arm-network-rest/samples-dev/subnetsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subnetsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SubnetsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified subnet by virtual network and resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/subnetsListSample.ts b/sdk/network/arm-network-rest/samples-dev/subnetsListSample.ts index 2d313602d42a..7674df6f8149 100644 --- a/sdk/network/arm-network-rest/samples-dev/subnetsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subnetsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all subnets in a virtual network. diff --git a/sdk/network/arm-network-rest/samples-dev/subnetsPrepareNetworkPoliciesSample.ts b/sdk/network/arm-network-rest/samples-dev/subnetsPrepareNetworkPoliciesSample.ts index c5433eedeb71..7babd080cbc8 100644 --- a/sdk/network/arm-network-rest/samples-dev/subnetsPrepareNetworkPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subnetsPrepareNetworkPoliciesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Prepares a subnet by applying network intent policies. diff --git a/sdk/network/arm-network-rest/samples-dev/subnetsUnprepareNetworkPoliciesSample.ts b/sdk/network/arm-network-rest/samples-dev/subnetsUnprepareNetworkPoliciesSample.ts index 555287d52fb6..54b07ec82d32 100644 --- a/sdk/network/arm-network-rest/samples-dev/subnetsUnprepareNetworkPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subnetsUnprepareNetworkPoliciesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Unprepares a subnet by removing network intent policies. diff --git a/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts index 30acf6a4089f..bf24b2f2c821 100644 --- a/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SubscriptionNetworkManagerConnectionsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create a network manager connection on this subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsDeleteSample.ts index 3aeb093604ec..8b8aee681cf6 100644 --- a/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsDeleteSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SubscriptionNetworkManagerConnectionsDeleteParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete specified connection created by this subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsGetSample.ts index 18f5170cff4d..0d23b4ab8b9d 100644 --- a/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SubscriptionNetworkManagerConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a specified connection created by this subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsListSample.ts index 27713fd43dfe..7e720fa8e553 100644 --- a/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/subscriptionNetworkManagerConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all network manager connections created by this subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/supportedSecurityProvidersSample.ts b/sdk/network/arm-network-rest/samples-dev/supportedSecurityProvidersSample.ts index dcd9183cbede..de990bc8a76d 100644 --- a/sdk/network/arm-network-rest/samples-dev/supportedSecurityProvidersSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/supportedSecurityProvidersSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SupportedSecurityProvidersParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gives the supported security providers for the virtual wan. diff --git a/sdk/network/arm-network-rest/samples-dev/usagesListSample.ts b/sdk/network/arm-network-rest/samples-dev/usagesListSample.ts index 222b5472d216..930f6e0ce40c 100644 --- a/sdk/network/arm-network-rest/samples-dev/usagesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/usagesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List network usages for a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/vipSwapCreateSample.ts b/sdk/network/arm-network-rest/samples-dev/vipSwapCreateSample.ts index b5b01d4312dd..012a8d8fb003 100644 --- a/sdk/network/arm-network-rest/samples-dev/vipSwapCreateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vipSwapCreateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Performs vip swap operation on swappable cloud services. diff --git a/sdk/network/arm-network-rest/samples-dev/vipSwapGetSample.ts b/sdk/network/arm-network-rest/samples-dev/vipSwapGetSample.ts index 01546ec91908..982d24cd3ee7 100644 --- a/sdk/network/arm-network-rest/samples-dev/vipSwapGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vipSwapGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VipSwapGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production diff --git a/sdk/network/arm-network-rest/samples-dev/vipSwapListSample.ts b/sdk/network/arm-network-rest/samples-dev/vipSwapListSample.ts index c6b47a5cd265..5daeb83cb019 100644 --- a/sdk/network/arm-network-rest/samples-dev/vipSwapListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vipSwapListSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VipSwapListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production diff --git a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesCreateOrUpdateSample.ts index 427ca74da011..37ce97291407 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance Site. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesDeleteSample.ts index 79ec8fb80bc2..0a660e4194a3 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified site from a Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesGetSample.ts index 5b587515ff47..11079ebc2390 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualApplianceSitesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Virtual Appliance Site. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesListSample.ts index bd3f966f53a9..b30cd8ed9d17 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSitesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSkusGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSkusGetSample.ts index fa4065598b86..7a72fc39d2eb 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSkusGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSkusGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualApplianceSkusGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a single available sku for network virtual appliance. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSkusListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSkusListSample.ts index 979d322726f7..14a901be955d 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualApplianceSkusListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualApplianceSkusListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all SKUs available for a virtual appliance. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionCreateOrUpdateSample.ts index 677a231d2af9..e1cfa05f8f31 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionDeleteSample.ts index a0fa2384ee15..6f0a7cd982c6 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualHubBgpConnection. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionGetSample.ts index 5c318022775f..3ee1863b9194 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubBgpConnectionGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a Virtual Hub Bgp Connection. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts index 9c2bd489349b..af1ddbe5152e 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListLearnedRoutesSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListLearnedRoutesSample.ts index 610c90b8ad81..e042b31f4af8 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListLearnedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListLearnedRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a list of routes the virtual hub bgp connection has learned. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListSample.ts index 06642ff61f8d..95c5ace35b7c 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubBgpConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all VirtualHubBgpConnections. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationCreateOrUpdateSample.ts index 8e84b4ee12a6..94ae03b08fc2 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationDeleteSample.ts index 27eb63097cd2..71f9becea20d 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualHubIpConfiguration. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationGetSample.ts index 1cdd8f1e90fd..232c1dfda6fb 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubIpConfigurationGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a Virtual Hub Ip configuration. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationListSample.ts index 0310608c42bb..ebce67da1ba7 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubIPConfigurationListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all VirtualHubIpConfigurations. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SCreateOrUpdateSample.ts index 1d92ace1f484..52879805abc5 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SDeleteSample.ts index c386eadbc151..2a208a0b6e74 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualHubRouteTableV2. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SGetSample.ts index 1312531f2e52..22c70e0fe2ba 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubRouteTableV2SGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VirtualHubRouteTableV2. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SListSample.ts index a513361401a6..32cd482173a5 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubRouteTableV2SListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all VirtualHubRouteTableV2s. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsCreateOrUpdateSample.ts index ad4e37f6a87e..8d0dc1d29fb5 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsDeleteSample.ts index 26369794cdfb..3ce86fe207b1 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualHub. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsGetEffectiveVirtualHubRoutesSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsGetEffectiveVirtualHubRoutesSample.ts index 21eb5dd26dd2..e417eff046ee 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsGetEffectiveVirtualHubRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsGetEffectiveVirtualHubRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the effective routes configured for the Virtual Hub resource or the specified resource . diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsGetInboundRoutesSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsGetInboundRoutesSample.ts index d043a8b88ec7..483615feb7b9 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsGetInboundRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsGetInboundRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the inbound routes configured for the Virtual Hub on a particular connection. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsGetOutboundRoutesSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsGetOutboundRoutesSample.ts index 7cdf0357a0e0..ca660977eeae 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsGetOutboundRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsGetOutboundRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the outbound routes configured for the Virtual Hub on a particular connection. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsGetSample.ts index a7f4062d1bc4..e22239480ee8 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VirtualHub. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsListByResourceGroupSample.ts index ea99f6b0e532..d26b37213040 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VirtualHubs in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsListSample.ts index 6a91e0414de1..3f26e52f4d3e 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VirtualHubs in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualHubsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualHubsUpdateTagsSample.ts index e2686bbf9b33..2fdee2b1101a 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualHubsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualHubsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates VirtualHub tags. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts index c66b0f2c64dd..23aec1854ab3 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a virtual network gateway connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsDeleteSample.ts index f9f4147c450f..59820783f4a3 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network Gateway connection. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetIkeSasSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetIkeSasSample.ts index cff6de73ec8a..870382e31d76 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetIkeSasSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetIkeSasSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetSample.ts index 2ae420a4d37b..7493e8679483 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified virtual network gateway connection by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetSharedKeySample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetSharedKeySample.ts index ba04eec28212..807a90e5a0da 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsGetSharedKeySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsGetSharedKeyParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsListSample.ts index 581c9de3f507..ae37ed344657 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsResetConnectionSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsResetConnectionSample.ts index 884441eeb262..6ee14dc84ae5 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsResetConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsResetConnectionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the virtual network gateway connection specified. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsResetSharedKeySample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsResetSharedKeySample.ts index f2821bfac4be..b11b9f616a4a 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsResetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsResetSharedKeySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsSetSharedKeySample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsSetSharedKeySample.ts index 510a9ec7c472..36541625749d 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsSetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsSetSharedKeySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts index 7954a8845085..e9bf106a4c1d 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts packet capture on virtual network gateway connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts index a0977ce8a526..895bd6b66b78 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops packet capture on virtual network gateway connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsUpdateTagsSample.ts index 28a9454f5aa7..1be14b42b5fd 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayConnectionsUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual network gateway connection tags. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts index d182bf2d91ba..11b0a671584b 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesDeleteSample.ts index 0ca1632b89f7..6e9697ed30b0 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a nat rule. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesGetSample.ts index a680000d834d..59077c4c8c2c 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewayNatRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a nat rule. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts index ed540c2fc3ae..ebb137024267 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all nat rules for a particular virtual network gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysCreateOrUpdateSample.ts index 506edce67d5d..e3aaab12d46c 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysDeleteSample.ts index 6aa2d6f39e72..29a3521d37d6 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts index 63bb66c30d74..f0a4b3407e50 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Disconnect vpn connections of virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGenerateVpnProfileSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGenerateVpnProfileSample.ts index 7f38aabec30f..99d07c672b29 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGenerateVpnProfileSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGenerateVpnProfileSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts index 742905ab6aeb..113865c23b6c 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts index 9ff2c0dc0566..d00d0a541480 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetBgpPeerStatusSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetBgpPeerStatusSample.ts index 6362e5882ce2..a94006c13166 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetBgpPeerStatusSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetBgpPeerStatusSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The GetBgpPeerStatus operation retrieves the status of all BGP peers. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetLearnedRoutesSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetLearnedRoutesSample.ts index d2fc58942ebc..16793cc3ca77 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetLearnedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetLearnedRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetSample.ts index b4f56847ab16..c5d1acd7b3bd 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified virtual network gateway by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts index 741d096f701b..cb7b70dfe5e1 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts index 8ec5945df24d..7c50acf63d48 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts index d108305ea9ba..1541d612c58b 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysListConnectionsSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysListConnectionsSample.ts index b1f633853ea1..43fd1def4709 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysListConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysListConnectionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the connections in a virtual network gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysListSample.ts index 9dcc46f838b9..58d7608d97f9 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all virtual network gateways by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysResetSample.ts index 2d9711c735ab..dce353e648ff 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysResetSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the primary of the virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts index 8cc5bad5118a..c539cb1aa462 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the VPN client shared key of the virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts index 60840be63cc6..eee37ad80a3b 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysStartPacketCaptureSample.ts index 30acf51fc96c..26a1f3681a0a 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysStartPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts packet capture on virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysStopPacketCaptureSample.ts index ac9b2fb4fb86..39e7143ded33 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysStopPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops packet capture on virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysSupportedVpnDevicesSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysSupportedVpnDevicesSample.ts index aba221880acb..3d1eddf41281 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysSupportedVpnDevicesSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysSupportedVpnDevicesSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewaysSupportedVpnDevicesParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a xml format representation for supported vpn devices. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysUpdateTagsSample.ts index c15859cce8a9..11e316395550 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual network gateway tags. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts index 354a38fa785b..91b40e266611 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewaysVpnDeviceConfigurationScriptParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a xml format representation for vpn device configuration script. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsCreateOrUpdateSample.ts index 279db51cca37..b4e30a54d784 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a peering in the specified virtual network. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsDeleteSample.ts index 51eb9b5e9a36..b0d007f14bca 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network peering. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsGetSample.ts index d4f7cefca9c5..63c95d356973 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkPeeringsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified virtual network peering. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsListSample.ts index 9de02249c9da..df64c1ff057b 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkPeeringsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all virtual network peerings in a virtual network. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsCreateOrUpdateSample.ts index 74d75e5b3bfd..c125b06449bc 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a Virtual Network Tap. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsDeleteSample.ts index 259afd1379c8..0fbb94d2b8cf 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network tap. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsGetSample.ts index 8dc10beddb98..d4d4cbd21996 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkTapsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified virtual network tap. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsListAllSample.ts index 6ccc58040d34..0417b3bf2f2b 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the VirtualNetworkTaps in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsListByResourceGroupSample.ts index 86e043ca38e7..0949bd0394df 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the VirtualNetworkTaps in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsUpdateTagsSample.ts index 20420bd50fdf..0badb785b657 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworkTapsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkTapsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates an VirtualNetworkTap tags. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksCheckIPAddressAvailabilitySample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksCheckIPAddressAvailabilitySample.ts index 097cb5f9e777..e5f69c1bff0b 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksCheckIPAddressAvailabilitySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksCheckIPAddressAvailabilitySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworksCheckIPAddressAvailabilityParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Checks whether a private IP address is available for use. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksCreateOrUpdateSample.ts index 6eb5780c8030..72efb388d820 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a virtual network in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksDeleteSample.ts index 18c8e0ecfb99..c5a5ead50520 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksGetSample.ts index 3153579149b0..83f3957967c1 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworksGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified virtual network by resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksListAllSample.ts index ee45b71ee889..d164a4522a47 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all virtual networks in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksListDdosProtectionStatusSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksListDdosProtectionStatusSample.ts index da1e4676e81d..90954c52544e 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksListDdosProtectionStatusSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksListDdosProtectionStatusSample.ts @@ -9,9 +9,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the Ddos Protection Status of all IP Addresses under the Virtual Network diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksListSample.ts index 02a18816f9ec..84325896549c 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all virtual networks in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksListUsageSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksListUsageSample.ts index b31bced25a63..5eeb5cc46f5a 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksListUsageSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksListUsageSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists usage stats. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualNetworksUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualNetworksUpdateTagsSample.ts index fa1986ed3ec5..61aa7ae4d503 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualNetworksUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualNetworksUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworksUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual network tags. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsCreateOrUpdateSample.ts index 63cae4353d7b..3643388482b1 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Virtual Router Peering. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsDeleteSample.ts index a0c2a32375a9..198eb7cd029c 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified peering from a Virtual Router. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsGetSample.ts index fdab0ca4a972..0944b0cfe9fc 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualRouterPeeringsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Virtual Router Peering. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsListSample.ts index 247f5c48d2f8..ad3512ca5c26 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRouterPeeringsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Virtual Router Peerings in a Virtual Router resource. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRoutersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRoutersCreateOrUpdateSample.ts index 5744d81fb4b9..85248243a25a 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRoutersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRoutersCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Virtual Router. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRoutersDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRoutersDeleteSample.ts index c6833fe5abde..2b62340a8a6e 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRoutersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRoutersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Virtual Router. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRoutersGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRoutersGetSample.ts index 17ff966a1893..6fdf544088ef 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRoutersGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRoutersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualRoutersGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Virtual Router. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRoutersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRoutersListByResourceGroupSample.ts index 72edab16f8c9..557f3f1fb2fd 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRoutersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRoutersListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Virtual Routers in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualRoutersListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualRoutersListSample.ts index c8981874c120..a590f3d82fcc 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualRoutersListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualRoutersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Virtual Routers in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualWansCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualWansCreateOrUpdateSample.ts index 4d73005541aa..7b5929474a99 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualWansCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualWansCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualWansDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualWansDeleteSample.ts index bc44e66d358b..c70a51be7dca 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualWansDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualWansDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualWAN. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualWansGetSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualWansGetSample.ts index 42017fc808d8..b1d89654d43b 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualWansGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualWansGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualWansGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VirtualWAN. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualWansListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualWansListByResourceGroupSample.ts index 5681e7848f9f..3cac84d1b450 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualWansListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualWansListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VirtualWANs in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualWansListSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualWansListSample.ts index 5b10b8e1ae75..37a6aefa31d0 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualWansListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualWansListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VirtualWANs in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/virtualWansUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/virtualWansUpdateTagsSample.ts index 368e15610199..7042f6f51099 100644 --- a/sdk/network/arm-network-rest/samples-dev/virtualWansUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/virtualWansUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualWansUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a VirtualWAN tags. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsCreateOrUpdateSample.ts index 6e5bc1c736cc..37c8015188bb 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsDeleteSample.ts index a24d314cd7fa..9d1400da1ad6 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a vpn connection. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsGetSample.ts index 72d78e2dd9df..b81ee0873f28 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a vpn connection. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsListByVpnGatewaySample.ts b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsListByVpnGatewaySample.ts index 933c4924daa6..b21725999395 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsListByVpnGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsListByVpnGatewaySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all vpn connections for a particular virtual wan vpn gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsStartPacketCaptureSample.ts index 3ef7a6bdd15b..379a624cb85b 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsStartPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts packet capture on Vpn connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsStopPacketCaptureSample.ts index 4ece17d6230f..85092f836e9b 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnConnectionsStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnConnectionsStopPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops packet capture on Vpn connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysCreateOrUpdateSample.ts index 32329bdc3f5e..b33cf2e2a19d 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysDeleteSample.ts index de83c2ccc3a9..00e29c92e695 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a virtual wan vpn gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysGetSample.ts index 20246bc63594..b09c34b3a5ce 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a virtual wan vpn gateway. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysListByResourceGroupSample.ts index b9f47b7c6851..8f684ccfe405 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VpnGateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysListSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysListSample.ts index df09e5be05ba..6d774398525b 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VpnGateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysResetSample.ts index eadfa58d6815..76762df8e628 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysResetSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the primary of the vpn gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysStartPacketCaptureSample.ts index f6470e03a201..e4a2afa944a7 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysStartPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts packet capture on vpn gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysStopPacketCaptureSample.ts index 1bea5aec020b..5db0491d6fa6 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysStopPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops packet capture on vpn gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysUpdateTagsSample.ts index 22d033051b17..0b250c7f57d3 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnGatewaysUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates virtual wan vpn gateway tags. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsGetIkeSasSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsGetIkeSasSample.ts index 5e9ac6b6d7b2..8ff686c99b38 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsGetIkeSasSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsGetIkeSasSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsListByVpnConnectionSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsListByVpnConnectionSample.ts index 6b8114ee8265..8fd7a2f9f6d8 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsListByVpnConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsListByVpnConnectionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsResetConnectionSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsResetConnectionSample.ts index 55ba4fddfe33..141852ccc979 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsResetConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnLinkConnectionsResetConnectionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the VpnLink connection specified. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts index 543b0850a3f5..210d3b25b31a 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsCreateOrUpdateSample.ts index 805cb4dc3237..190a419a535e 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsDeleteSample.ts index 4a6850914968..e77d93e31878 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VpnServerConfiguration. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsGetSample.ts index 0aa95227cfa7..08341a468296 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnServerConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VpnServerConfiguration. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsListByResourceGroupSample.ts index ee750bfeb0ee..97f23b882940 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the vpnServerConfigurations in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsListSample.ts index 16f5725aad31..5cbaccedfe39 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VpnServerConfigurations in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsUpdateTagsSample.ts index e515d577c0a4..e5a8d5b1f644 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnServerConfigurationsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnServerConfigurationsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates VpnServerConfiguration tags. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSiteLinkConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSiteLinkConnectionsGetSample.ts index 5c564aa1f625..190c9df5cec0 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSiteLinkConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSiteLinkConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnSiteLinkConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a vpn site link connection. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSiteLinksGetSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSiteLinksGetSample.ts index 34cdc1176b3d..451de67243eb 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSiteLinksGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSiteLinksGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnSiteLinksGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VPN site link. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSiteLinksListByVpnSiteSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSiteLinksListByVpnSiteSample.ts index 976c9b0bb0e5..01743b55edf3 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSiteLinksListByVpnSiteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSiteLinksListByVpnSiteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the vpnSiteLinks in a resource group for a vpn site. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSitesConfigurationDownloadSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSitesConfigurationDownloadSample.ts index ebe16e37f6b6..e9918fc08993 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSitesConfigurationDownloadSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSitesConfigurationDownloadSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gives the sas-url to download the configurations for vpn-sites in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSitesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSitesCreateOrUpdateSample.ts index c357f295a5c8..3fbe78af0ff1 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSitesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSitesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSitesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSitesDeleteSample.ts index 2ead05c17707..e3e5b57ee602 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSitesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSitesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VpnSite. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSitesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSitesGetSample.ts index 47ab13c884fb..3142bcb61d62 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSitesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSitesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnSitesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VPN site. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSitesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSitesListByResourceGroupSample.ts index d7bb5155711b..dfe126b56918 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSitesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSitesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the vpnSites in a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSitesListSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSitesListSample.ts index a2288273dfeb..d32703a46d0d 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSitesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSitesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VpnSites in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/vpnSitesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples-dev/vpnSitesUpdateTagsSample.ts index 2065378f456e..10a5665fd9e2 100644 --- a/sdk/network/arm-network-rest/samples-dev/vpnSitesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/vpnSitesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnSitesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates VpnSite tags. diff --git a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesCreateOrUpdateSample.ts index 5d785143877a..ea890c313292 100644 --- a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { WebApplicationFirewallPoliciesCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or update policy with specified rule set name within a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesDeleteSample.ts index e7dcfa9eabfb..030734a0ce9e 100644 --- a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes Policy. diff --git a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesGetSample.ts index db2e308de135..51346bb5dca9 100644 --- a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { WebApplicationFirewallPoliciesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieve protection policy with specified name within a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesListAllSample.ts b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesListAllSample.ts index 4d1d7d9ca87c..2f7aea5b4398 100644 --- a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the WAF policies in a subscription. diff --git a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesListSample.ts b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesListSample.ts index 3e63d2314d85..7da78a4e75ca 100644 --- a/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/webApplicationFirewallPoliciesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the protection policies within a resource group. diff --git a/sdk/network/arm-network-rest/samples-dev/webCategoriesGetSample.ts b/sdk/network/arm-network-rest/samples-dev/webCategoriesGetSample.ts index c6c294bde3f9..a7ae6114a472 100644 --- a/sdk/network/arm-network-rest/samples-dev/webCategoriesGetSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/webCategoriesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { WebCategoriesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Azure Web Category. diff --git a/sdk/network/arm-network-rest/samples-dev/webCategoriesListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples-dev/webCategoriesListBySubscriptionSample.ts index 97506f6e55f7..8cc0805d3039 100644 --- a/sdk/network/arm-network-rest/samples-dev/webCategoriesListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples-dev/webCategoriesListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Azure Web Categories in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsCreateOrUpdateSample.ts index 0dfef34a73c8..94864985702f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AdminRuleCollectionsCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an admin rule collection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsDeleteSample.ts index e6501b231bd3..af2367a54fa1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes an admin rule collection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsGetSample.ts index 7b6669d684cd..5b52e6d67893 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AdminRuleCollectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a network manager security admin configuration rule collection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsListSample.ts index dbb6d8a8e2f2..d140a9d132b8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the rule collections in a security admin configuration, in a paginated format. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesCreateOrUpdateSample.ts index 6da8996b803c..c35e0ab0208d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AdminRulesCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an admin rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesDeleteSample.ts index d5248403fd49..d9dc6ec5274b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes an admin rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesGetSample.ts index 56da6d2315e8..619b70f9de87 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AdminRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a network manager security configuration admin rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesListSample.ts index 831320175880..ee16fd7bd20b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all network manager security configuration admin rules. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts index 500f97311ccf..822090163a9c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified private endpoint connection on application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsGetSample.ts index 1e2f2a62cc4a..6efe672350ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewayPrivateEndpointConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified private endpoint connection on application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsListSample.ts index 1cb6e9529b5a..98e3f82b1505 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all private endpoint connections on an application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts index 430c1009be18..956a92dd92f6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates the specified private endpoint connection on application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateLinkResourcesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateLinkResourcesListSample.ts index 86753ad30508..358a2b5f34d4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateLinkResourcesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateLinkResourcesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all private link resources on an application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsDefaultGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsDefaultGetSample.ts index f2e09ceeb80a..cbc80d39024e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsDefaultGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsDefaultGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewayWafDynamicManifestsDefaultGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the regional application gateway waf manifest. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsGetSample.ts index 1708240d3372..51ae4b1eb9c2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsGetSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the regional application gateway waf manifest. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthOnDemandSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthOnDemandSample.ts index 35af0b0a608f..bb23e41cf033 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthOnDemandSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthOnDemandSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthSample.ts index e7cdb99e7fbc..a5ff87443f54 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the backend health of the specified application gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysCreateOrUpdateSample.ts index 50b53e09d832..5cf19904821b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysDeleteSample.ts index 5a3181726fa5..7f0eed34a7e6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSample.ts index c743050b72bd..312229807462 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSslPredefinedPolicySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSslPredefinedPolicySample.ts index 30b2120e3190..53f11d3b85f1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSslPredefinedPolicySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSslPredefinedPolicySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysGetSslPredefinedPolicyParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets Ssl predefined policy with the specified policy name. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAllSample.ts index 0021cc50208d..d2e8ed383d83 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the application gateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableRequestHeadersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableRequestHeadersSample.ts index 11af0239e8c1..276a743ad1c8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableRequestHeadersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableRequestHeadersSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableRequestHeadersParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available request headers. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableResponseHeadersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableResponseHeadersSample.ts index 51a69b90b3b5..80dcd892f006 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableResponseHeadersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableResponseHeadersSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableResponseHeadersParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available response headers. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableServerVariablesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableServerVariablesSample.ts index 1c586e305e1e..58808a22c85f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableServerVariablesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableServerVariablesSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableServerVariablesParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available server variables. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslOptionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslOptionsSample.ts index 39c6b703f5a1..369fd66b565e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslOptionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslOptionsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableSslOptionsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists available Ssl options for configuring Ssl policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts index a2da8700dc9c..adda74b5064c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all SSL predefined policies for configuring Ssl policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableWafRuleSetsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableWafRuleSetsSample.ts index 078b85a43296..0fc264027b1f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableWafRuleSetsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableWafRuleSetsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysListAvailableWafRuleSetsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available web application firewall rule sets. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListSample.ts index e2e9c974c306..e0cc581b07a6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all application gateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStartSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStartSample.ts index 4b9fbc089b40..a87edc3be911 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStartSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStartSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts the specified application gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStopSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStopSample.ts index 69f558f55247..5f76e913516d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStopSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStopSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops the specified application gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysUpdateTagsSample.ts index 542944114bb7..5a9492e74dcd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationGatewaysUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates the specified application gateway tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsCreateOrUpdateSample.ts index db9255e16069..d7ebc7fd9003 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an application security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsDeleteSample.ts index 914966a3644e..dfb05b46cd89 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified application security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsGetSample.ts index f34c8ce50fe1..d9cb0556da18 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationSecurityGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified application security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListAllSample.ts index 8982afc0e848..0193eacc377a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all application security groups in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListSample.ts index dfe064bed8eb..1f77355b39f0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the application security groups in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsUpdateTagsSample.ts index 67241b7e6f96..0f980d4c7e8e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ApplicationSecurityGroupsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates an application security group's tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableDelegationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableDelegationsListSample.ts index b3db29f8ac82..2ff59db7671e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableDelegationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableDelegationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all of the available subnet delegations for this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableEndpointServicesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableEndpointServicesListSample.ts index 7e5fbc149648..5fe3b4897e19 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableEndpointServicesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableEndpointServicesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List what values of endpoint services are available for use. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListByResourceGroupSample.ts index 62ddbfe5c8b6..3a48f868af09 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListSample.ts index 162e367933b0..781fbffe240c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableResourceGroupDelegationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableResourceGroupDelegationsListSample.ts index d7be1c586190..b1c56fd96779 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableResourceGroupDelegationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableResourceGroupDelegationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all of the available subnet delegations for this resource group in this region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListByResourceGroupSample.ts index f7b690a84f79..b82826c1b7a3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all available service aliases for this resource group in this region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListSample.ts index b278dac32578..e12ecaa830c6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all available service aliases for this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallFqdnTagsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallFqdnTagsListAllSample.ts index a399234c360c..768f89e686c3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallFqdnTagsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallFqdnTagsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Azure Firewall FQDN Tags in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsCreateOrUpdateSample.ts index 424c841a4a00..9c460cda341d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Azure Firewall. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsDeleteSample.ts index b19e1bdcf2a4..3f4e34273d78 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Azure Firewall. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsGetSample.ts index c2d2a8f99cad..e1380734715d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { AzureFirewallsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Azure Firewall. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListAllSample.ts index e6c03ab99403..4a01e05db949 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Azure Firewalls in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListLearnedPrefixesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListLearnedPrefixesSample.ts index f73507ba4055..3b94fc4d00ed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListLearnedPrefixesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListLearnedPrefixesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListSample.ts index 36d96fd15071..d0aded34a4df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Azure Firewalls in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsUpdateTagsSample.ts index 7a6e25a54ebd..5499c77cc6fc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of an Azure Firewall resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsCreateOrUpdateSample.ts index 2c2766fc0a0b..f475e228f220 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Bastion Host. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsDeleteSample.ts index fe0ab61d5a73..b0e459e3ae21 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Bastion Host. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsGetSample.ts index c7a9aa7419e8..3c20585356df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { BastionHostsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Bastion Host. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListByResourceGroupSample.ts index 33cd94b37555..a0186b44bcc1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Bastion Hosts in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListSample.ts index ad0bc9290c48..5ae5e2fc0fa0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Bastion Hosts in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsUpdateTagsSample.ts index 3e4dc343b10a..5026605d0dfd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates Tags for BastionHost resource diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bgpServiceCommunitiesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bgpServiceCommunitiesListSample.ts index 7d644bf25611..29c5672d2c96 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bgpServiceCommunitiesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bgpServiceCommunitiesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the available bgp service communities. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/checkDnsNameAvailabilitySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/checkDnsNameAvailabilitySample.ts index e593a8c319fe..2d1a9fec34ee 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/checkDnsNameAvailabilitySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/checkDnsNameAvailabilitySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { CheckDnsNameAvailabilityParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Checks whether a domain name in the cloudapp.azure.com zone is available for use. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsCreateOrUpdateSample.ts index d8553606ca83..e8691bac029b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsDeleteSample.ts index a64f4931f745..bfc5b028f2c0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a ConfigurationPolicyGroup. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsGetSample.ts index 75d6d2d580e0..72ce14216975 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConfigurationPolicyGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a ConfigurationPolicyGroup. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsListByVpnServerConfigurationSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsListByVpnServerConfigurationSample.ts index 00d2ba151b84..73ece36ae909 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsListByVpnServerConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsListByVpnServerConfigurationSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsCreateOrUpdateSample.ts index 7b90876c7c9f..7081370b7039 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a connection monitor. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsDeleteSample.ts index 2a1fcd543ca5..b429743543ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified connection monitor. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsGetSample.ts index eb620902bcd4..752ba7663bf4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConnectionMonitorsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a connection monitor by name. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsListSample.ts index ca6992b08afd..582384daa8fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all connection monitors for the specified Network Watcher. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsQuerySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsQuerySample.ts index f48a7c878740..61ebd87921ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsQuerySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsQuerySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Query a snapshot of the most recent connection states. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStartSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStartSample.ts index 561c60401550..c1f435d2546d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStartSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStartSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts the specified connection monitor. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStopSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStopSample.ts index 8c7e33beeb8e..f3d34407ff44 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStopSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStopSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops the specified connection monitor. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsUpdateTagsSample.ts index 9f202ba5227d..3e0d18ec11aa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConnectionMonitorsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update tags of the specified connection monitor. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsCreateOrUpdateSample.ts index 98a960144193..3cf53b1e6d5b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConnectivityConfigurationsCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates/Updates a new network manager connectivity configuration diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsDeleteSample.ts index a26c0f2ae094..aacb6e06c668 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsGetSample.ts index 8b9e6321ab5d..786de939f762 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ConnectivityConfigurationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsListSample.ts index 874e557e9c0d..9261cba6f5a4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the network manager connectivity configuration in a specified network manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesCreateOrUpdateSample.ts index 899b6881248c..b655a1756afc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a custom IP prefix. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesDeleteSample.ts index 04a02a5a5025..39b6b05989fe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified custom IP prefix. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesGetSample.ts index 075e8a907600..aba46112184d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { CustomIPPrefixesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified custom IP prefix in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListAllSample.ts index fcf284b01743..dc245161df64 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the custom IP prefixes in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListSample.ts index 31dc05a6cebb..a864368ba2b3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all custom IP prefixes in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesUpdateTagsSample.ts index 32a81e405dbe..4dbc4f61bfc1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { CustomIPPrefixesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates custom IP prefix tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesCreateOrUpdateSample.ts index a5591bff9acb..fe493fc605ca 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a DDoS custom policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesDeleteSample.ts index 90a685515937..cb775cd0d199 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified DDoS custom policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesGetSample.ts index e57b679de41f..5a687dc6d70f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DdosCustomPoliciesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified DDoS custom policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesUpdateTagsSample.ts index cec37bf103e7..2e56aab206a2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DdosCustomPoliciesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a DDoS custom policy tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansCreateOrUpdateSample.ts index 7d61508d52a2..45f2d9d1100e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a DDoS protection plan. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansDeleteSample.ts index 111d5e25faff..8bb01115b1be 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified DDoS protection plan. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansGetSample.ts index 95ebf0a9d0c8..1204662b318c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DdosProtectionPlansGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified DDoS protection plan. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListByResourceGroupSample.ts index f7adcd7c07cb..206785b25345 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the DDoS protection plans in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListSample.ts index bf21bbf11aa6..3ee173e08280 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all DDoS protection plans in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansUpdateTagsSample.ts index 0c44fce49151..0311f4ae8700 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DdosProtectionPlansUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a DDoS protection plan tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesGetSample.ts index 9143c7329bbd..050db79dc100 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DefaultSecurityRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified default network security rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesListSample.ts index 7c47b19ef9f6..30eee5ce3cf9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all default security rules in a network security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/deleteBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/deleteBastionShareableLinkSample.ts index 758209cea4a9..7b6b53126b1e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/deleteBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/deleteBastionShareableLinkSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the Bastion Shareable Links for all the VMs specified in the request. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/disconnectActiveSessionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/disconnectActiveSessionsSample.ts index f825093fd13f..e55eec5a351e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/disconnectActiveSessionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/disconnectActiveSessionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns the list of currently active sessions on the Bastion. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationCreateOrUpdateSample.ts index 49187ccd4cb9..af960f9882ab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a DSCP Configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationDeleteSample.ts index 7034b35be0b2..8e671a407042 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a DSCP Configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationGetSample.ts index ea34bce38a4c..9770d9806a7a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { DscpConfigurationGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a DSCP Configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListAllSample.ts index af34cd5a6a60..d1cd56e8cc0e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all dscp configurations in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListSample.ts index 4a383be97683..7d5e5d1a01b1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a DSCP Configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts index 7490b080f434..47da5ba6455c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an authorization in the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsDeleteSample.ts index 3df3992dba6d..e9570db19ddc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified authorization from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsGetSample.ts index 5ff9e153b965..8d698cb580bf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitAuthorizationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified authorization from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsListSample.ts index 4d730a85c0eb..5035c9fa278b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all authorizations in an express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsCreateOrUpdateSample.ts index 051ab2aa4d41..9276819a2357 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a Express Route Circuit Connection in the specified express route circuits. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsDeleteSample.ts index 3ba3e4e7bafb..58371b45f41b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Express Route Circuit Connection from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsGetSample.ts index d34066a78187..2f6c765527c5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Express Route Circuit Connection from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsListSample.ts index 7ca0c7096b54..a5c8b8b035e7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all global reach connections associated with a private peering in an express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsCreateOrUpdateSample.ts index 715191ae4a93..02bc1d207077 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a peering in the specified express route circuits. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsDeleteSample.ts index e8e7ebf7969d..1dde4b3c80a7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified peering from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsGetSample.ts index b50b43a3e286..080dbbe4024f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitPeeringsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified peering for the express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsListSample.ts index b047bdba5631..997ee5efa0e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all peerings in a specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsCreateOrUpdateSample.ts index 7c708f8f34cf..32622e1a5bf8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsDeleteSample.ts index bdc0b2ee8e93..ee1e50628198 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetPeeringStatsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetPeeringStatsSample.ts index 3492de1d51b4..003d6a8e9d45 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetPeeringStatsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetPeeringStatsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitsGetPeeringStatsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all stats from an express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetSample.ts index 5ee2ac436596..9334286a81b4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetStatsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetStatsSample.ts index fb858fe2d05a..c4dcaed36a3d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetStatsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetStatsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitsGetStatsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the stats from an express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListAllSample.ts index 59c936dbcf1f..3863f280f990 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the express route circuits in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListArpTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListArpTableSample.ts index a7deaae81bb3..d6c0a7f240c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListArpTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListArpTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised ARP table associated with the express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSample.ts index 4298cee0e778..4838552e28e4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised routes table associated with the express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSummarySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSummarySample.ts index d09f17654d6c..e214152c57dd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSummarySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSummarySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised routes table summary associated with the express route circuit in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListSample.ts index 93abead36387..ba87cc77fb7d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the express route circuits in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsUpdateTagsSample.ts index d4f8867b2ebd..09884658151d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCircuitsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates an express route circuit tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsCreateOrUpdateSample.ts index e0a0ab38e249..534bd691150f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsDeleteSample.ts index 1e7b870259f2..35febfa3ade8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a connection to a ExpressRoute circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsGetSample.ts index dca2d42461e9..c69a3eb78583 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified ExpressRouteConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsListSample.ts index ebd10145b06e..16d4d8eb9016 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteConnectionsListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists ExpressRouteConnections. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts index 73fbdc6830ab..e514330b1f64 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a peering in the specified ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsDeleteSample.ts index c402a3ac4630..c46563e0bb23 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified peering from the ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsGetSample.ts index f5bcd2bd878c..5da18738432c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCrossConnectionPeeringsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified peering for the ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsListSample.ts index fdc6db98eb1f..9a8484090db2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all peerings in a specified ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsCreateOrUpdateSample.ts index 998c1ad72596..ff9c0a5256d5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update the specified ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsGetSample.ts index 905dd792ee4e..41c203056951 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCrossConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets details about the specified ExpressRouteCrossConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListArpTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListArpTableSample.ts index 554a8ba53db4..67c33bfb1f61 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListArpTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListArpTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised ARP table associated with the express route cross connection in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListByResourceGroupSample.ts index 471e51871984..d0f57e939fcf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all the ExpressRouteCrossConnections in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSample.ts index 1fff997c901b..404c243c427b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the currently advertised routes table associated with the express route cross connection in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSummarySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSummarySample.ts index a5d911c08e1a..0e092ff282a0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSummarySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSummarySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the route table summary associated with the express route cross connection in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListSample.ts index eb74d15f00a9..4aecc36d8847 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all the ExpressRouteCrossConnections in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsUpdateTagsSample.ts index 3b8da748514a..05bfa5bd9231 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteCrossConnectionsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates an express route cross connection tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysCreateOrUpdateSample.ts index 32996ba9d067..ef94a0e74da2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a ExpressRoute gateway in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysDeleteSample.ts index 97df5cba2d4a..de080271d75a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysGetSample.ts index 991ce33d1e19..f0a1225f06fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Fetches the details of a ExpressRoute gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListByResourceGroupSample.ts index 6a5f1b54f802..1d5fa090c64d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListByResourceGroupSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteGatewaysListByResourceGroupParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists ExpressRoute gateways in a given resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListBySubscriptionSample.ts index 47f72a3bb479..8e5583c57388 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListBySubscriptionSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteGatewaysListBySubscriptionParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists ExpressRoute gateways under a given subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysUpdateTagsSample.ts index eb899ee4703c..eb9c64a5a19f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates express route gateway tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksGetSample.ts index 175779c58f40..08c78e1ce135 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteLinksGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the specified ExpressRouteLink resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksListSample.ts index faf432c90be5..fe81b5d50c17 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsCreateOrUpdateSample.ts index 6a350832e739..aef9b5df0ce0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an authorization in the specified express route port. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsDeleteSample.ts index 72bdc686da6a..2087fafb1cdf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified authorization from the specified express route port. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsGetSample.ts index 1669da594f00..0f26ca4a1e0a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortAuthorizationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified authorization from the specified express route port. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsListSample.ts index 8ee6a65b8c4d..d9dd10ec57d9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all authorizations in an express route port. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsCreateOrUpdateSample.ts index 0f79631f34f6..2076bd5ff6ac 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsDeleteSample.ts index 510ba7f722ee..d3c0c313cd44 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGenerateLoaSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGenerateLoaSample.ts index 5f6d142abbd0..704c68f7fc98 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGenerateLoaSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGenerateLoaSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortsGenerateLOAParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generate a letter of authorization for the requested ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGetSample.ts index 408dffc8c091..800176513099 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the requested ExpressRoutePort resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListByResourceGroupSample.ts index e22140905701..11c1c1f64664 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all the ExpressRoutePort resources in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListSample.ts index 5ee215a76846..4c491f0174ef 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all the ExpressRoutePort resources in the specified subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsGetSample.ts index 3b9864380f08..0628f6598961 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortsLocationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsListSample.ts index 735cc8b8a5da..9f1bdf275de8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsUpdateTagsSample.ts index cd0d84b30a06..bcec23f16ccf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRoutePortsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update ExpressRoutePort tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsGetSample.ts index 726675ee3304..c55b69140629 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteProviderPortsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves detail of a provider port. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsLocationListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsLocationListSample.ts index c7e1fce97d36..1b1ef77e479e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsLocationListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsLocationListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ExpressRouteProviderPortsLocationListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all the ExpressRouteProviderPorts in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteServiceProvidersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteServiceProvidersListSample.ts index 92da6f4e0d1a..89de1bcd8302 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteServiceProvidersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteServiceProvidersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the available express route service providers. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts index 264566c55ac9..f30ef5205d25 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Firewall Policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesDeleteSample.ts index cfef5fddd563..00894f786832 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Firewall Policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesGetSample.ts index 6eeba2f768a0..2e0820a93db3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPoliciesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Firewall Policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListAllSample.ts index d405568917a2..9dd51214183d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Firewall Policies in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListSample.ts index 143e7021fa74..d6ccda3b0748 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Firewall Policies in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesUpdateTagsSample.ts index 2e2c37a285bc..1f8f30cd9cad 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPoliciesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of a Azure Firewall Policy resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesFilterValuesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesFilterValuesListSample.ts index 293b49a6d177..cadccc09d3ea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesFilterValuesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesFilterValuesListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesFilterValuesListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the current filter values for the signatures overrides diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesListSample.ts index a306876cff4a..07b1f5965e6b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the current status of IDPS signatures for the relevant policy diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesGetSample.ts index 9527da50c784..36e9f48c0d71 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesOverridesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all signatures overrides for a specific policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesListSample.ts index 9d3ec45f1da2..d12b4e728ecf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesOverridesListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all signatures overrides objects for a specific policy as a list containing a single value. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPatchSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPatchSample.ts index 81d822ad0d15..8bea7f432984 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPatchSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPatchSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesOverridesPatchParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Will update the status of policy's signature overrides for IDPS diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPutSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPutSample.ts index b71623383b06..114c11856946 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPutSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPutSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyIdpsSignaturesOverridesPutParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Will override/create a new signature overrides for the policy's IDPS diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts index d05b8556768a..101a4c6748c0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified FirewallPolicyRuleCollectionGroup. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsDeleteSample.ts index 9d101054066e..d304d776c2f3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified FirewallPolicyRuleCollectionGroup. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsGetSample.ts index a1b4ea6cea6f..0f3ff105f4db 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FirewallPolicyRuleCollectionGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified FirewallPolicyRuleCollectionGroup. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsListSample.ts index 5f6124fe60ee..e561c2fd656d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsCreateOrUpdateSample.ts index 7a24ec3a3185..98527c930a3b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a flow log for the specified network security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsDeleteSample.ts index b8cadbe1ca09..684a880b3bec 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified flow log resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsGetSample.ts index 6038d5347f57..1ab6da99a2eb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FlowLogsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a flow log resource by name. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsListSample.ts index 320fd0bbceda..40bbcbbc6160 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all flow log resources for the specified Network Watcher. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsUpdateTagsSample.ts index 3bbc56dd7a82..bb19e93213c9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { FlowLogsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update tags of the specified flow log. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts index 3b9b6c9e9e63..b46dff3cc513 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getActiveSessionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getActiveSessionsSample.ts index e67c57ae2e85..cc61e454bd7b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getActiveSessionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getActiveSessionsSample.ts @@ -9,9 +9,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns the list of currently active sessions on the Bastion. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getBastionShareableLinkSample.ts index fb880ca0b99e..66d733648972 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getBastionShareableLinkSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Return the Bastion Shareable Links for all the VMs specified in the request. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesCreateOrUpdateSample.ts index 557da86f3581..8c084b734d11 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesDeleteSample.ts index f240a4d795e3..4681b711d65a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a RouteTable. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesGetSample.ts index 4db7539e4123..8d0d9de60f45 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { HubRouteTablesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a RouteTable. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesListSample.ts index a57e50319451..6a13a121e7dc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all RouteTables. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts index f1eb2668a63b..c2a69037acfc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a hub virtual network connection if it doesn't exist else updates the existing one. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsDeleteSample.ts index 572e7bc351a7..f66e69e84d9a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a HubVirtualNetworkConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsGetSample.ts index 4a04f1059640..409af7176c2f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { HubVirtualNetworkConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a HubVirtualNetworkConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsListSample.ts index a8293ecc1fb1..7c7ca2a71042 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all HubVirtualNetworkConnections. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesCreateOrUpdateSample.ts index 36ed6f4342be..47b92695b8b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a load balancer inbound NAT rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesDeleteSample.ts index b4071f1fadf7..2483ed345e07 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified load balancer inbound NAT rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesGetSample.ts index 6202942d5370..210ec520482d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { InboundNatRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified load balancer inbound NAT rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesListSample.ts index b518f920bb58..6b81bcc9dc83 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the inbound NAT rules in a load balancer. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundSecurityRuleCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundSecurityRuleCreateOrUpdateSample.ts index 9793b90a876c..51c832519c5f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundSecurityRuleCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundSecurityRuleCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance Inbound Security Rules. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsCreateOrUpdateSample.ts index 35f6875fbdb0..e7c2bce7763d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an IpAllocation in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsDeleteSample.ts index c888c34bac82..78b36ed69254 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified IpAllocation. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsGetSample.ts index e54deac45fb1..10270e8d3c88 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { IpAllocationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified IpAllocation by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListByResourceGroupSample.ts index 472fb876d08c..2b7d83d5c2a5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all IpAllocations in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListSample.ts index 5fa5100bb06b..13722b9d06a3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all IpAllocations in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsUpdateTagsSample.ts index 44db9fade8d1..8eda61027443 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { IpAllocationsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a IpAllocation tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsCreateOrUpdateSample.ts index b178541b253f..14bbb3b375a2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an ipGroups in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsDeleteSample.ts index c734f086efff..176b7dcdfed6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified ipGroups. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsGetSample.ts index 535209103b29..f894b7306569 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { IpGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified ipGroups. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListByResourceGroupSample.ts index 829625bc8db6..6c63fb0cad89 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all IpGroups in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListSample.ts index fe1b45658b72..c51c24f1e475 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all IpGroups in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsUpdateGroupsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsUpdateGroupsSample.ts index 273dda574cc7..ff88c4aea82d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsUpdateGroupsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsUpdateGroupsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { IpGroupsUpdateGroupsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of an IpGroups resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveConnectivityConfigurationsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveConnectivityConfigurationsSample.ts index 03bc71c6b591..bbe26e56aac1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveConnectivityConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveConnectivityConfigurationsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ListActiveConnectivityConfigurationsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists active connectivity configurations in a network manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveSecurityAdminRulesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveSecurityAdminRulesSample.ts index a41f1d0a146c..a7e54f7050a1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveSecurityAdminRulesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveSecurityAdminRulesSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ListActiveSecurityAdminRulesParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists active security admin rules in a network manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts index 491a75697ce5..3a2229b4aa90 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ListNetworkManagerEffectiveConnectivityConfigurationsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all effective connectivity configurations applied on a virtual network. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveSecurityAdminRulesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveSecurityAdminRulesSample.ts index b8980c700114..101933a39b1b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveSecurityAdminRulesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveSecurityAdminRulesSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ListNetworkManagerEffectiveSecurityAdminRulesParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all effective security admin rules applied on a virtual network. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts index 9ab807fb9fb4..095b27248acb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a load balancer backend address pool. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsDeleteSample.ts index 9f52f0de0d25..4f016ff3f5c3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified load balancer backend address pool. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsGetSample.ts index 46c66a35e96c..f4b6e2a032fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerBackendAddressPoolsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets load balancer backend address pool. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsListSample.ts index 15f0a79dd046..c17758cdafa0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancer backed address pools. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsGetSample.ts index 1bb51f9acfdb..89424a7ad2fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerFrontendIPConfigurationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets load balancer frontend IP configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsListSample.ts index 3c0a8a690711..44dc40d4cd80 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancer frontend IP configurations. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesGetSample.ts index e49d434c9025..18ca85aac7e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerLoadBalancingRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified load balancer load balancing rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesListSample.ts index 2690a94b4f36..3561e1227dc5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancing rules in a load balancer. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerNetworkInterfacesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerNetworkInterfacesListSample.ts index 12fc3103a91a..32f9fcfb1291 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerNetworkInterfacesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerNetworkInterfacesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets associated load balancer network interfaces. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesGetSample.ts index d29af72bca67..18318300bdd2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerOutboundRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified load balancer outbound rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesListSample.ts index 506b1ba85e57..d3b32ed71431 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the outbound rules in a load balancer. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesGetSample.ts index faf1f3be6489..a6e7fe45ae9d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancerProbesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets load balancer probe. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesListSample.ts index 3d606a713464..3f1c420220b8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancer probes. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersCreateOrUpdateSample.ts index 28ee3cd5463d..7ad4f25a7d30 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a load balancer. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersDeleteSample.ts index 8f4465b7ab0d..d74985c119ec 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified load balancer. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersGetSample.ts index 500cc6d744c2..8a3d397853fe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified load balancer. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListAllSample.ts index 78da1663ec00..b1b066615859 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancers in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListInboundNatRulePortMappingsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListInboundNatRulePortMappingsSample.ts index 489a9c493f09..f6e2469a5b57 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListInboundNatRulePortMappingsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListInboundNatRulePortMappingsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List of inbound NAT rule port mappings. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListSample.ts index eac3c3191ce6..c712e8536c07 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the load balancers in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersSwapPublicIPAddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersSwapPublicIPAddressesSample.ts index e17b60f2cef6..d43a53952841 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersSwapPublicIPAddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersSwapPublicIPAddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Swaps VIPs between two load balancers. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersUpdateTagsSample.ts index c478f8893717..250028787a88 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LoadBalancersUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a load balancer tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysCreateOrUpdateSample.ts index 48f845a8208b..52f7bf2ecab5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a local network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysDeleteSample.ts index ca6320333c47..260aaf6ca533 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified local network gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysGetSample.ts index fce01ff9c41c..dfa8f8ff1c85 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LocalNetworkGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified local network gateway in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysListSample.ts index 3faa3c28d990..44fc6620c4c7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the local network gateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysUpdateTagsSample.ts index 972d1794f25a..fbc13f63188c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { LocalNetworkGatewaysUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a local network gateway tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts index 2636c6010dc6..722d7d75bea2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ManagementGroupNetworkManagerConnectionsCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create a network manager connection on this management group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsDeleteSample.ts index ef3f2a94619c..16d4793043d8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsDeleteSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ManagementGroupNetworkManagerConnectionsDeleteParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete specified pending connection created by this management group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsGetSample.ts index 2c498010169b..195f7caa833e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ManagementGroupNetworkManagerConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a specified connection created by this management group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsListSample.ts index af917dd5a71e..5302cf9c704d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all network manager connections created by this management group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysCreateOrUpdateSample.ts index 3b163421b61a..4cb090c735e7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a nat gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysDeleteSample.ts index d4bda05f7745..7a20ce71ffb3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified nat gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysGetSample.ts index 440792214ed0..b976532f63e7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NatGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified nat gateway in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListAllSample.ts index 680136f94a95..d657b7c65f3d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Nat Gateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListSample.ts index c5fd778669ae..3c36589669f2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all nat gateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysUpdateTagsSample.ts index fa05f864f8d1..6c8a45761147 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NatGatewaysUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates nat gateway tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesCreateOrUpdateSample.ts index cf74cb52e419..99eaa5fd5eae 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesDeleteSample.ts index b3f07fb2b6f6..e9e3edecbad4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a nat rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesGetSample.ts index 0f184e3a6e47..2914ab8c09d6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NatRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a nat ruleGet. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesListByVpnGatewaySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesListByVpnGatewaySample.ts index 81cd7eb44056..6e922289f937 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesListByVpnGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesListByVpnGatewaySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all nat rules for a particular virtual wan vpn gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsCreateOrUpdateSample.ts index a883a58e0d22..26d9ace35892 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkGroupsCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsDeleteSample.ts index 963112b8207a..44bfafdc32b2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a network group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsGetSample.ts index 1c0516c4379b..c6f90d8b5a53 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsListSample.ts index 59cbf4ab2539..4b88e07c7001 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists the specified network group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsGetSample.ts index ceeec66e16e7..7338197b3b0c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfaceIPConfigurationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network interface ip configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsListSample.ts index b3eb6279c3b9..8efb425f6502 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get all ip configurations in a network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceLoadBalancersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceLoadBalancersListSample.ts index 9a384085d725..f7914e9d8e98 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceLoadBalancersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceLoadBalancersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all load balancers in a network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts index 30d21420311a..cf03bdd75b1c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a Tap configuration in the specified NetworkInterface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsDeleteSample.ts index 211a94fff556..102f3ddcb984 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified tap configuration from the NetworkInterface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsGetSample.ts index f8e7a45b2415..450094411ce1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfaceTapConfigurationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified tap configuration on a network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsListSample.ts index f0b7f74d21b8..992c43a9cb01 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get all Tap configurations in a network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesCreateOrUpdateSample.ts index 90c35669f8da..05963cebb12b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesDeleteSample.ts index e4dce6ab1203..f990beca2d80 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts index b1d23de2e1bf..48ce8220fb5f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesGetCloudServiceNetworkInterfaceParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network interface in a cloud service. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetEffectiveRouteTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetEffectiveRouteTableSample.ts index d1603819c1ab..6d09d2a1716e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetEffectiveRouteTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetEffectiveRouteTableSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route tables applied to a network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetSample.ts index a273bd2e2328..5fc63a834fd2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts index 7af794f5691f..dc734657f161 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network interface ip configuration in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts index 839d68482e75..79ce813455c6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network interface in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListAllSample.ts index 860cfdd91302..1aa1ce77f3b1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network interfaces in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceNetworkInterfacesSample.ts index b726ce80e85a..dbe75ffa6cd3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceNetworkInterfacesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network interfaces in a cloud service. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts index f8358c283c69..4213989975b4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all network interfaces in a role instance in a cloud service. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts index 14e795570af6..ffb226ceb847 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network security groups applied to a network interface. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListSample.ts index bb063abc5899..23467484ff0f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network interfaces in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts index 491805f11899..c68258aaac47 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network interface ip configuration in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts index 874828a4087f..7cdce67bff24 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network interfaces in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts index 70efd56f24b6..b58b954bd664 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all network interfaces in a virtual machine in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesUpdateTagsSample.ts index 8bfc82f64426..7e1ceac4e99b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkInterfacesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a network interface tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerCommitsPostSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerCommitsPostSample.ts index a5780ee7e25a..dbd63645bb04 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerCommitsPostSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerCommitsPostSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Post a Network Manager Commit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerDeploymentStatusListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerDeploymentStatusListSample.ts index 6c1da54e033b..faeb2573f698 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerDeploymentStatusListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerDeploymentStatusListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkManagerDeploymentStatusListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Post to List of Network Manager Deployment Status. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersCreateOrUpdateSample.ts index 12f3123360ad..1f4310f9a111 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkManagersCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a Network Manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersDeleteSample.ts index 045371e6d8d1..5cc531b49dac 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a network manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersGetSample.ts index 54b12b7b9ebf..698782811b9f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkManagersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Network Manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListBySubscriptionSample.ts index e7a760d4736b..ca06baff23e5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all network managers in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListSample.ts index 23854afb2e94..2f9fbd6e5fcd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List network managers in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersPatchSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersPatchSample.ts index 6a84f4e41d5f..e45d8aca4cff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersPatchSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersPatchSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkManagersPatchParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Patch NetworkManager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesCreateOrUpdateSample.ts index b95ad864a6e9..383ee49fa8c2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkProfilesCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network profile. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesDeleteSample.ts index 9f80b89c7bea..eb61e773991a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network profile. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesGetSample.ts index 22b1980839bd..627562467a80 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkProfilesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network profile in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListAllSample.ts index 40b8738f9dfb..2112106849b9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the network profiles in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListSample.ts index fd7a0cb343f4..8a32d2173155 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network profiles in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesUpdateTagsSample.ts index 5b42444014e0..06de6685b830 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkProfilesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates network profile tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsCreateOrUpdateSample.ts index a09f09f71273..b3b95ea5563e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network security group in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsDeleteSample.ts index 3a19e1863a78..fbbbeff8e956 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsGetSample.ts index 5b8b2c9b781b..5eb073a9d18a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkSecurityGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListAllSample.ts index 61ab455fa222..32af716e76aa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network security groups in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListSample.ts index 5c2f70b6bc1d..75c4210a52f2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network security groups in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsUpdateTagsSample.ts index ab9f788de35c..8e5d944ebff6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkSecurityGroupsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a network security group tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesCreateOrUpdateSample.ts index 2405591ce71a..3077beec4df8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesDeleteSample.ts index 0b04b65cec39..34fc589a75fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Network Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesGetSample.ts index 8205b65c3170..76ec1c3ce2e8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkVirtualAppliancesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Network Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListByResourceGroupSample.ts index fe399760487b..4c588db1e065 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Network Virtual Appliances in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListSample.ts index 5ddfd5073d65..85d4284cdd20 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all Network Virtual Appliances in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesUpdateTagsSample.ts index bd39bc17d142..5899f3e9f09a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkVirtualAppliancesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a Network Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCheckConnectivitySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCheckConnectivitySample.ts index 2a7a7e88ba41..305a268147d4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCheckConnectivitySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCheckConnectivitySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCreateOrUpdateSample.ts index 8d97c0ef14b3..a7c950840ec1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkWatchersCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network watcher in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersDeleteSample.ts index c2db0b7cb5a8..783cec50d5d9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network watcher resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetAzureReachabilityReportSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetAzureReachabilityReportSample.ts index 55fe02fc21ea..14bfb920cec5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetAzureReachabilityReportSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetAzureReachabilityReportSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetFlowLogStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetFlowLogStatusSample.ts index 070e76238224..8734aa8a3e71 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetFlowLogStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetFlowLogStatusSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Queries status of flow log and traffic analytics (optional) on a specified resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNetworkConfigurationDiagnosticSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNetworkConfigurationDiagnosticSample.ts index 9fc24d3b2767..cbd880a87e87 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNetworkConfigurationDiagnosticSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNetworkConfigurationDiagnosticSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNextHopSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNextHopSample.ts index dcb55219676e..ca4ffd935a40 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNextHopSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNextHopSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the next hop from the specified VM. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetSample.ts index 1f5ac2e095b0..2472bfe193c5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkWatchersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified network watcher by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTopologySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTopologySample.ts index 6b3c7046a528..e39c476b276a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTopologySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTopologySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkWatchersGetTopologyParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the current network topology by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingResultSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingResultSample.ts index 18ad9591666b..dcf902f1e5ae 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingResultSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingResultSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the last completed troubleshooting result on a specified resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingSample.ts index 62758628b682..97c9eeabde8d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Initiate troubleshooting on a specified resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetVMSecurityRulesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetVMSecurityRulesSample.ts index 443eeb777506..3a53d0ac49f0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetVMSecurityRulesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetVMSecurityRulesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the configured and effective security group rules on the specified VM. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAllSample.ts index e47cb76569bb..9fc9f4de87e0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network watchers by subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAvailableProvidersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAvailableProvidersSample.ts index c4c4eed72eff..09b759adced4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAvailableProvidersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAvailableProvidersSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListSample.ts index 78ec2d00cf61..644c19bdc883 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all network watchers by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersSetFlowLogConfigurationSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersSetFlowLogConfigurationSample.ts index d60a206a1fa2..33e88bd07620 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersSetFlowLogConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersSetFlowLogConfigurationSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Configures flow log and traffic analytics (optional) on a specified resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersUpdateTagsSample.ts index 210a84a2d9e8..7f2d77744ab0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { NetworkWatchersUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a network watcher tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersVerifyIPFlowSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersVerifyIPFlowSample.ts index 44a261b1f4a6..c30aede5cf5d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersVerifyIPFlowSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersVerifyIPFlowSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Verify IP flow from the specified VM to a location given the currently configured NSG rules. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/operationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/operationsListSample.ts index fe6a8ba46d90..a992614da260 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/operationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/operationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the available Network Rest API operations. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysCreateOrUpdateSample.ts index 6b304d18b065..bea7289d5498 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDeleteSample.ts index 5f6c9344f1cc..a828236e9704 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a virtual wan p2s vpn gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts index dc36d57dc011..b0e7028d3338 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGenerateVpnProfileSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGenerateVpnProfileSample.ts index f84fdf6481fc..c713f8eeac36 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGenerateVpnProfileSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGenerateVpnProfileSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts index 7b25b91cc4fa..d5e6f2fa6928 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts index 2f04acdc47c4..e44219a17640 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetSample.ts index 928d19bc029a..b5b2b78b150f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { P2SVpnGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a virtual wan p2s vpn gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListByResourceGroupSample.ts index 51959979bce9..aec369ab1692 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the P2SVpnGateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListSample.ts index 027692128aa7..9a86d289578c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the P2SVpnGateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysResetSample.ts index 979a1a542a00..e808ba922668 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysResetSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the primary of the p2s vpn gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysUpdateTagsSample.ts index 3dfe84025680..b3e432ebbc6a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates virtual wan p2s vpn gateway tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesCreateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesCreateSample.ts index 3edd2a899bcb..ba51608a5e73 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesCreateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesCreateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create and start a packet capture on the specified VM. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesDeleteSample.ts index 44cac8340f5a..02106c342319 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified packet capture session. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetSample.ts index 2b6005e46eaf..c2a03249c5eb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PacketCapturesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a packet capture session by name. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetStatusSample.ts index d133f54f0973..8cb2d1ddc7d5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetStatusSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Query the status of a running packet capture session. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesListSample.ts index 7f4a362cb9d2..56f222b55164 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all packet capture sessions within the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesStopSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesStopSample.ts index 35354435ba18..0d2b32e2a3ad 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesStopSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesStopSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops a specified packet capture session. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsGetSample.ts index 7061d96ce0af..43167c16c9f1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PeerExpressRouteCircuitConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsListSample.ts index c039f165bdc1..aae832a25175 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all global reach peer connections associated with a private peering in an express route circuit. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsCreateOrUpdateSample.ts index 9299d5ecfd97..4660265adcb7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a private dns zone group in the specified private endpoint. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsDeleteSample.ts index f913400effd5..cf79927afc82 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified private dns zone group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsGetSample.ts index a775e0d40c06..20a6edac3fd6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateDnsZoneGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the private dns zone group resource by specified private dns zone group name. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsListSample.ts index a5d7e12b5a9c..af7b778bc29b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private dns zone groups in a private endpoint. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsCreateOrUpdateSample.ts index fc2e31ca412e..75aec2914521 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an private endpoint in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsDeleteSample.ts index ffc03ceda6e2..4e09e8885e69 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified private endpoint. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsGetSample.ts index cebbd5e0ac80..9039a0f1f606 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateEndpointsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified private endpoint by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListBySubscriptionSample.ts index d7999cd61d5f..82727a5f8b01 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private endpoints in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListSample.ts index df81b5a21f94..07096fb495ec 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private endpoints in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts index 91fbaa56e210..dfdb4dc4fa21 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Checks whether the subscription is visible to private link service in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts index 8d69664bfdfd..def4ad0e9315 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Checks whether the subscription is visible to private link service. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCreateOrUpdateSample.ts index 5103718f8507..948e056a8188 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates an private link service in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeletePrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeletePrivateEndpointConnectionSample.ts index 79a4af02e2e8..b6a37bad5492 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeletePrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeletePrivateEndpointConnectionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete private end point connection for a private link service in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeleteSample.ts index 0dc04f870563..f73c8b700f0e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified private link service. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetPrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetPrivateEndpointConnectionSample.ts index b86202a07f12..6d8fefb0e29e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetPrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetPrivateEndpointConnectionSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateLinkServicesGetPrivateEndpointConnectionParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specific private end point connection by specific private link service in the resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetSample.ts index 661ece7c626c..4ef47fb7f67e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateLinkServicesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified private link service by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts index 617119a5487e..6e5d7ff410c7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts index e519fd094b2c..60bd011b02c9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListBySubscriptionSample.ts index e6d8a7fb197e..10e7fae305d0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private link service in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListPrivateEndpointConnectionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListPrivateEndpointConnectionsSample.ts index c6aada1e3347..9d962884ce94 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListPrivateEndpointConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListPrivateEndpointConnectionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private end point connections for a specific private link service. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListSample.ts index dbf5b060d823..9d18700b8957 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all private link services in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts index 0506ad06fd9e..93ea2f026eac 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PrivateLinkServicesUpdatePrivateEndpointConnectionParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Approve or reject private end point connection for a private link service in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesCreateOrUpdateSample.ts index db854f16f6ed..15380f14737e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a static or dynamic public IP address. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDdosProtectionStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDdosProtectionStatusSample.ts index 5c4a7293056c..c73c47067d87 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDdosProtectionStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDdosProtectionStatusSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the Ddos Protection Status of a Public IP Address diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDeleteSample.ts index 18341892d416..9d0a6deeb37d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified public IP address. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetCloudServicePublicIpaddressSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetCloudServicePublicIpaddressSample.ts index afba1f5f9c19..9b94b2a8f9b0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetCloudServicePublicIpaddressSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetCloudServicePublicIpaddressSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPAddressesGetCloudServicePublicIPAddressParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified public IP address in a cloud service. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetSample.ts index e155d84bb82c..1b8c10c58429 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPAddressesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified public IP address in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts index 47979a6cd5f0..70fb6c03d5f2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified public IP address in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListAllSample.ts index 22b893b1b3e1..e4635798a0bf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the public IP addresses in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServicePublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServicePublicIpaddressesSample.ts index 7ad43fe94e87..9ef2da9a8132 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServicePublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServicePublicIpaddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all public IP addresses on a cloud service level. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts index 0d3b8ed59ce6..974c21f4e501 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all public IP addresses in a role instance IP configuration in a cloud service. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListSample.ts index 29cae845a2f0..618ec2c3811c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all public IP addresses in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts index c8f37db92df4..ba7f0ec22244 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all public IP addresses on a virtual machine scale set level. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts index e9c25e6b5974..70a6aa6cf98f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesUpdateTagsSample.ts index 7b1207c96d02..fc6e9caee872 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPAddressesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates public IP address tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesCreateOrUpdateSample.ts index c4958e865ffb..a1e4bd768f64 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a static or dynamic public IP prefix. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesDeleteSample.ts index 5f1b73d9a4f6..0d778ea429c4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified public IP prefix. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesGetSample.ts index 6804971a57ce..8faa31dbbce8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPPrefixesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified public IP prefix in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListAllSample.ts index 7f27f744bd71..9e98aa876790 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the public IP prefixes in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListSample.ts index 2fbdaeea40df..4f383c239fe9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all public IP prefixes in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesUpdateTagsSample.ts index fff8d5dcccb2..0fac3c9d46e0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { PublicIPPrefixesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates public IP prefix tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/putBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/putBastionShareableLinkSample.ts index 3716d259823b..b9d843ec30ae 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/putBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/putBastionShareableLinkSample.ts @@ -9,9 +9,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a Bastion Shareable Links for all the VMs specified in the request. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/resourceNavigationLinksListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/resourceNavigationLinksListSample.ts index ada59dc50fcb..a25ce9c29b60 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/resourceNavigationLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/resourceNavigationLinksListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ResourceNavigationLinksListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of resource navigation links for a subnet. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesCreateOrUpdateSample.ts index 2353eeae985f..20780036fb2a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a route in the specified route filter. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesDeleteSample.ts index d7146257677a..65567d53cd18 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified rule from a route filter. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesGetSample.ts index 259e2a6a2d03..68cd74e0a3f3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteFilterRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified rule from a route filter. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesListByRouteFilterSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesListByRouteFilterSample.ts index 4baf912cfe02..bd0833b72247 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesListByRouteFilterSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesListByRouteFilterSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all RouteFilterRules in a route filter. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersCreateOrUpdateSample.ts index a58d5b0004fd..eab35e024d5f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a route filter in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersDeleteSample.ts index 9e8d66d46724..93058972eccc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified route filter. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersGetSample.ts index f9536c946258..877ce0105c88 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteFiltersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified route filter. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListByResourceGroupSample.ts index 2d481c0da016..896ef2846e78 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route filters in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListSample.ts index ba64c7da14c2..d7a0f672f3f4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route filters in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersUpdateTagsSample.ts index 43f95baf5fd9..46d4905ed080 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteFiltersUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of a route filter. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsCreateOrUpdateSample.ts index 9c49b69a84a6..879dedb69ce9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a RouteMap if it doesn't exist else updates the existing one. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsDeleteSample.ts index 0f38765e5937..cce6a80cc324 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a RouteMap. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsGetSample.ts index c73fa161e449..b86feed29d75 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteMapsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a RouteMap. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsListSample.ts index 4b96ded546b6..872cf031dd50 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all RouteMaps. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesCreateOrUpdateSample.ts index ca7e6845853c..fe841192c505 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or updates a route table in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesDeleteSample.ts index b01a3832a551..21f8bd518db9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified route table. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesGetSample.ts index 6a6fb3764f95..a3f02e3508e4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteTablesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified route table. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListAllSample.ts index 6d67a56f1455..9d32e091f040 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route tables in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListSample.ts index d3c41ec5038c..ebbd76a5ac03 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all route tables in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesUpdateTagsSample.ts index 1c8440dd107a..4899e009a8bd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RouteTablesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a route table tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesCreateOrUpdateSample.ts index 33c9b4f184e3..331961801e76 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a route in the specified route table. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesDeleteSample.ts index d74a6b15beb0..91b595fbe9f1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified route from a route table. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesGetSample.ts index c6b577869080..7b3c2fdcd10d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RoutesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified route from a route table. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesListSample.ts index c150ccfcbb58..6c39c4a4caac 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all routes in a route table. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentCreateOrUpdateSample.ts index 8fb33bfd96d3..ab78176e961e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentDeleteSample.ts index ea58dffb7822..175fd1276094 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a RoutingIntent. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentGetSample.ts index 398a55a6778e..e993ca141682 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { RoutingIntentGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a RoutingIntent. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentListSample.ts index 64606b77cfc8..179aa883ab39 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all RoutingIntent child resources of the VirtualHub. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsCreateOrUpdateSample.ts index 887a43525a2e..7bcffc248c88 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ScopeConnectionsCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates scope connection from Network Manager diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsDeleteSample.ts index 989128edbc0f..0157a4b8c337 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsDeleteSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ScopeConnectionsDeleteParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete the pending scope connection created by this network manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsGetSample.ts index 21f72ed6e7fc..f44546ef4c18 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ScopeConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get specified scope connection created by this Network Manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsListSample.ts index 191ba7273127..beca68c5a83d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all scope connections created by this network manager. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsCreateOrUpdateSample.ts index 76b7ac857d73..fa6114d44c5d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityAdminConfigurationsCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a network manager security admin configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsDeleteSample.ts index 822f4bf28347..796e0a2a5e40 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a network manager security admin configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsGetSample.ts index 5999d0ee0fa8..8008cf2a6bee 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityAdminConfigurationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a network manager security admin configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsListSample.ts index 1b31ded6bc23..a6898598fa1d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the network manager security admin configurations in a network manager, in a paginated format. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersCreateOrUpdateSample.ts index a892bfd9bbc9..9e1e92b69a7e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Security Partner Provider. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersDeleteSample.ts index fb754a5b1086..baaa4f9a207b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Security Partner Provider. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersGetSample.ts index f2461c7759df..293631a2b589 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityPartnerProvidersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Security Partner Provider. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListByResourceGroupSample.ts index 2a7c0c26144d..28b18871587c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Security Partner Providers in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListSample.ts index 3ea15579aa55..27b8c614a081 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Security Partner Providers in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersUpdateTagsSample.ts index c68d20862952..6635953fb470 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityPartnerProvidersUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of a Security Partner Provider resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesCreateOrUpdateSample.ts index de9600505bad..7ffc139be645 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a security rule in the specified network security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesDeleteSample.ts index 4bda854b9003..b2c92986b00c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified network security rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesGetSample.ts index 22083a99a341..6bde6ae8573f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SecurityRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified network security rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesListSample.ts index a964b58f2e62..d392dc0ad8fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all security rules in a network security group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceAssociationLinksListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceAssociationLinksListSample.ts index 177b8efa7897..2a023b80d015 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceAssociationLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceAssociationLinksListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceAssociationLinksListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of service association links for a subnet. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesCreateOrUpdateSample.ts index 17911b438f97..103e463129c4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a service Endpoint Policies. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesDeleteSample.ts index 7fc836058610..18d894270fb9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified service endpoint policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesGetSample.ts index b711cadc8bbd..78958d57e101 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceEndpointPoliciesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified service Endpoint Policies in a specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListByResourceGroupSample.ts index 90d49ea32b5b..b49afa8e9d0b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all service endpoint Policies in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListSample.ts index a6302158c427..1f9cb670db54 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the service endpoint policies in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesUpdateTagsSample.ts index 3b2c2e614f64..6c555c040d1c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceEndpointPoliciesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates tags of a service endpoint policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts index 86db13af09fa..8b38241579e6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a service endpoint policy definition in the specified service endpoint policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsDeleteSample.ts index 93fade010573..5f4ea892a299 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified ServiceEndpoint policy definitions. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsGetSample.ts index 5fd1f4b17955..e38cf4b5d4a5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceEndpointPolicyDefinitionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get the specified service endpoint policy definitions from service endpoint policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts index b9c811e5e2ac..70fac4b80013 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all service endpoint policy definitions in a service end point policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagInformationListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagInformationListSample.ts index 159948cd9c17..fd574f806ac6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagInformationListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagInformationListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of service tag information resources with pagination. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagsListSample.ts index 5ed3ae4a179e..877550e066b3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagsListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { ServiceTagsListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of service tag information resources. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersCreateOrUpdateSample.ts index 4ae6034cdb31..0fb956d0841f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { StaticMembersCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a static member. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersDeleteSample.ts index ff27c5bb4b08..48f7b296a578 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersDeleteSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { StaticMembersDeleteParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a static member. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersGetSample.ts index ed946f9fc533..7228764351e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { StaticMembersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified static member. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersListSample.ts index 465c8da1a3d1..b9f8b947e9dd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists the specified static member. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsCreateOrUpdateSample.ts index 4591439863a6..2487db133921 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a subnet in the specified virtual network. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsDeleteSample.ts index d6ea8610c269..ce1d9fdea3c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified subnet. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsGetSample.ts index dae818277e22..5a9fe20d7e6f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SubnetsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified subnet by virtual network and resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsListSample.ts index efbb32b2d630..36b905a7a4fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all subnets in a virtual network. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsPrepareNetworkPoliciesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsPrepareNetworkPoliciesSample.ts index 56a5bda7047d..49cd791ca5c3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsPrepareNetworkPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsPrepareNetworkPoliciesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Prepares a subnet by applying network intent policies. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsUnprepareNetworkPoliciesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsUnprepareNetworkPoliciesSample.ts index d9cc58fadcb6..96a93203bf87 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsUnprepareNetworkPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsUnprepareNetworkPoliciesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Unprepares a subnet by removing network intent policies. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts index 0444681fb67b..cffb817582ca 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SubscriptionNetworkManagerConnectionsCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create a network manager connection on this subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsDeleteSample.ts index 5f8508968c76..7bcbfb3c8ac4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsDeleteSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SubscriptionNetworkManagerConnectionsDeleteParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete specified connection created by this subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsGetSample.ts index eedea39456f8..05fe3a094499 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SubscriptionNetworkManagerConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a specified connection created by this subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsListSample.ts index 75785e411274..3e25e80cbd5b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all network manager connections created by this subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/supportedSecurityProvidersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/supportedSecurityProvidersSample.ts index 461761278f00..b8b4c195b7e0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/supportedSecurityProvidersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/supportedSecurityProvidersSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { SupportedSecurityProvidersParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gives the supported security providers for the virtual wan. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/usagesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/usagesListSample.ts index 0739cf93491b..e357afe4be1a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/usagesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/usagesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List network usages for a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapCreateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapCreateSample.ts index 0f4cdbc50bfb..5c45b9eab278 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapCreateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapCreateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Performs vip swap operation on swappable cloud services. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapGetSample.ts index bfe01b5db6d3..cd2639e928b0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VipSwapGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapListSample.ts index ee1185088f04..23870b05af9a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapListSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VipSwapListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesCreateOrUpdateSample.ts index 7219b73e024a..c2fb8e39fd11 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance Site. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesDeleteSample.ts index 05d9d6eee600..5ac5eab5e0e7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified site from a Virtual Appliance. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesGetSample.ts index 8d4bf35e7d28..f088d7f303a9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualApplianceSitesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Virtual Appliance Site. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesListSample.ts index 3a1409c6a998..cad30b99811e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusGetSample.ts index c3bf2f43fdf3..d4a8caec1fc1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualApplianceSkusGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a single available sku for network virtual appliance. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusListSample.ts index 50c54cfae020..6ca21c02073f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List all SKUs available for a virtual appliance. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionCreateOrUpdateSample.ts index 67bcb1cfafc2..eeae62f7f936 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionDeleteSample.ts index 2b928788d7c7..3064a33531d9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualHubBgpConnection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionGetSample.ts index d6f15412570e..a314e4753d23 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubBgpConnectionGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a Virtual Hub Bgp Connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts index e28b5a136996..4b4a5b3e5696 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListLearnedRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListLearnedRoutesSample.ts index 27067600337d..4de585176bea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListLearnedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListLearnedRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves a list of routes the virtual hub bgp connection has learned. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListSample.ts index 0804b7ae3aa1..5dd2c77bc46b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all VirtualHubBgpConnections. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationCreateOrUpdateSample.ts index e363b25663f3..b84dfe1ab3ef 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationDeleteSample.ts index 45231efaee39..7adfc677a711 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualHubIpConfiguration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationGetSample.ts index 72c376c33c61..4cbdece9941d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubIpConfigurationGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a Virtual Hub Ip configuration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationListSample.ts index 214ab012f212..1e4d0ce5a90b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all VirtualHubIpConfigurations. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SCreateOrUpdateSample.ts index 3177452d5f2e..4d29a61eaae1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SDeleteSample.ts index 7f5c39894a43..df2d3a124306 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualHubRouteTableV2. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SGetSample.ts index 3b58cdfff346..d862c7dce86a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubRouteTableV2SGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VirtualHubRouteTableV2. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SListSample.ts index a5cfdbbc72f5..1201dc4b9613 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of all VirtualHubRouteTableV2s. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsCreateOrUpdateSample.ts index 85a71a0302ba..1839d988940b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsDeleteSample.ts index 77405b6d5031..ecab9e2d4abb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualHub. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetEffectiveVirtualHubRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetEffectiveVirtualHubRoutesSample.ts index 640eae31c9c6..3bbde279c3df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetEffectiveVirtualHubRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetEffectiveVirtualHubRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the effective routes configured for the Virtual Hub resource or the specified resource . diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetInboundRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetInboundRoutesSample.ts index 72a44bdcbb6d..b0a86aaeb6b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetInboundRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetInboundRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the inbound routes configured for the Virtual Hub on a particular connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetOutboundRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetOutboundRoutesSample.ts index ddcec95768ad..e08c5082f8bd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetOutboundRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetOutboundRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the outbound routes configured for the Virtual Hub on a particular connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetSample.ts index 4dce60c31289..8eb0cf3f0d57 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VirtualHub. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListByResourceGroupSample.ts index ddf6f50a022f..3c0cf38e8fe1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VirtualHubs in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListSample.ts index 975bdd1d9b5d..a45a449ea2a5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VirtualHubs in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsUpdateTagsSample.ts index 1490049ccd8e..2bd38267a152 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualHubsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates VirtualHub tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts index 2ef6495acc8f..e71c38d70ebd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a virtual network gateway connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsDeleteSample.ts index b5a49e556f8e..511d4acc76df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network Gateway connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetIkeSasSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetIkeSasSample.ts index 5ae2df67390c..44a709a9452a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetIkeSasSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetIkeSasSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSample.ts index 50a139d91629..43315c2fbc3e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified virtual network gateway connection by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSharedKeySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSharedKeySample.ts index 5aae512a6302..ad1b7e80a989 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSharedKeySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsGetSharedKeyParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsListSample.ts index 4cd4c7bdb4d7..f817b26806bc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetConnectionSample.ts index a5ce319d1dc1..506b0bd666ad 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetConnectionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the virtual network gateway connection specified. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetSharedKeySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetSharedKeySample.ts index 49ab6a28df1a..7bb9001dbc8f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetSharedKeySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsSetSharedKeySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsSetSharedKeySample.ts index 6cdd2dede245..b6a759fdd9db 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsSetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsSetSharedKeySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts index 97d82efd7ece..a91c1d7d5817 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts packet capture on virtual network gateway connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts index 2ba7488a614e..9c8155061f42 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops packet capture on virtual network gateway connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsUpdateTagsSample.ts index 53612b833e67..88da4422d01c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual network gateway connection tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts index e3a650eb56cf..8b8dd523983e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesDeleteSample.ts index d34a57321bb2..5c4f1a19e781 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a nat rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesGetSample.ts index 5b833ec9c3f9..6b3aaff5c1aa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewayNatRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a nat rule. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts index 1126a39c4410..a1b77d9c8833 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all nat rules for a particular virtual network gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysCreateOrUpdateSample.ts index 877fff5718d4..bfd1c6bf4040 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDeleteSample.ts index a024e676f314..bff114016b7d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts index 3f9007a261a2..52c33b78f81a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Disconnect vpn connections of virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGenerateVpnProfileSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGenerateVpnProfileSample.ts index 336c8ab1c587..f82562a9cd65 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGenerateVpnProfileSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGenerateVpnProfileSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts index f8f15ac331b4..a73c2506288e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts index 129a3a2ec619..bbad3f2b5963 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetBgpPeerStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetBgpPeerStatusSample.ts index 2b3e16441cc6..b91f03c2f42a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetBgpPeerStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetBgpPeerStatusSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The GetBgpPeerStatus operation retrieves the status of all BGP peers. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetLearnedRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetLearnedRoutesSample.ts index 86ba9423ec83..7ebf5dfe4e06 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetLearnedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetLearnedRoutesSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetSample.ts index a3cb200fff27..6a5e941116c6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified virtual network gateway by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts index 14f117793ff5..a6696fdb7cce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts index 66a5f8dee3e3..30f3fc81e0ba 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts index 04bd2c94c6ed..f0c6ec61ed5e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListConnectionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListConnectionsSample.ts index 56f2d7f105ea..8dbae4b2917a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListConnectionsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the connections in a virtual network gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListSample.ts index b6b3cd4ab75f..71d90718c0fe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all virtual network gateways by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetSample.ts index 442b462b1100..12d2cd1afec7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the primary of the virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts index 7e7fb40bc6b6..9eb020ca8ca5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the VPN client shared key of the virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts index f12328fcfdf6..f2d70a6f44ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStartPacketCaptureSample.ts index 45efed266365..71d269ed1cbc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStartPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts packet capture on virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStopPacketCaptureSample.ts index fc3d856c865f..a11459c2eaf2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStopPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops packet capture on virtual network gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSupportedVpnDevicesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSupportedVpnDevicesSample.ts index 4cddfaf98327..549929b33230 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSupportedVpnDevicesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSupportedVpnDevicesSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewaysSupportedVpnDevicesParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a xml format representation for supported vpn devices. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysUpdateTagsSample.ts index cc8ccf6d52cc..bc5eb1f50963 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual network gateway tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts index 2cc37610b8c2..0891cb6ea387 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkGatewaysVpnDeviceConfigurationScriptParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a xml format representation for vpn device configuration script. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsCreateOrUpdateSample.ts index 72a952cb1dbe..19b18108b8f9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a peering in the specified virtual network. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsDeleteSample.ts index 194d60a52f29..5578e3ee28aa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network peering. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsGetSample.ts index 9296a8b16ce2..6a1b3352827e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkPeeringsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified virtual network peering. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsListSample.ts index 44ce03ce5870..150d312a58fe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all virtual network peerings in a virtual network. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsCreateOrUpdateSample.ts index f2cc1f7a5efd..c534aae768de 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a Virtual Network Tap. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsDeleteSample.ts index 9e5e420800a2..cb2000f6aee9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network tap. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsGetSample.ts index 15c68998839b..c6f3a739ef57 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkTapsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about the specified virtual network tap. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListAllSample.ts index 2412884db046..c8e5d53f1733 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the VirtualNetworkTaps in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListByResourceGroupSample.ts index 6e2dee01cb12..0e46d62a8c0a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the VirtualNetworkTaps in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsUpdateTagsSample.ts index 1be95c3525bd..2d43707b697f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworkTapsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates an VirtualNetworkTap tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCheckIPAddressAvailabilitySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCheckIPAddressAvailabilitySample.ts index 41ddacb1802a..706cf5d4efc4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCheckIPAddressAvailabilitySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCheckIPAddressAvailabilitySample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworksCheckIPAddressAvailabilityParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Checks whether a private IP address is available for use. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCreateOrUpdateSample.ts index cd2bef581ab0..78c06dd9e2b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a virtual network in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksDeleteSample.ts index 037d2d7a740e..bdea489647cc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified virtual network. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksGetSample.ts index 9f99f476197b..bec10582824c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworksGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified virtual network by resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListAllSample.ts index 8d3105d537f7..1f4cc0fb66b7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all virtual networks in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListDdosProtectionStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListDdosProtectionStatusSample.ts index 322d0cb6cddb..f7b182099168 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListDdosProtectionStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListDdosProtectionStatusSample.ts @@ -9,9 +9,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the Ddos Protection Status of all IP Addresses under the Virtual Network diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListSample.ts index c0aadb6f26bb..a512a89880bd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all virtual networks in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListUsageSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListUsageSample.ts index 2e2d301c231b..665168cfa0ac 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListUsageSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListUsageSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists usage stats. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksUpdateTagsSample.ts index 1600128b7f4f..fddb87c780e3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualNetworksUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual network tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsCreateOrUpdateSample.ts index fd2979364cb5..2445e41ce9f7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Virtual Router Peering. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsDeleteSample.ts index 6186dd2ff00a..63dcb562e9fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified peering from a Virtual Router. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsGetSample.ts index 3b08b4a3e00f..fe39373efc92 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualRouterPeeringsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Virtual Router Peering. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsListSample.ts index 814cfb3536aa..d706318dffd5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Virtual Router Peerings in a Virtual Router resource. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersCreateOrUpdateSample.ts index 673b8018d6a9..5cf8c58d1d85 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates the specified Virtual Router. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersDeleteSample.ts index 8d3baa12475a..87a33b813e72 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes the specified Virtual Router. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersGetSample.ts index a32d9f8f2136..ba24fed0ea99 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualRoutersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Virtual Router. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListByResourceGroupSample.ts index eef8c81cce86..749832097dce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all Virtual Routers in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListSample.ts index 92f06086caad..941c952d4391 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Virtual Routers in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansCreateOrUpdateSample.ts index d54380fa6308..c8788da04140 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansDeleteSample.ts index 4602ce4866ad..917f0c52bbb5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VirtualWAN. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansGetSample.ts index ce633a77d29d..09e035b06d90 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualWansGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VirtualWAN. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListByResourceGroupSample.ts index 701684c2bfb7..ba429c914846 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VirtualWANs in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListSample.ts index 39e83f5e125f..0982e711bd1a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VirtualWANs in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansUpdateTagsSample.ts index 93b85485ba5c..02081b5565b7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VirtualWansUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a VirtualWAN tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsCreateOrUpdateSample.ts index 19739d73d0ab..3f22aced98ba 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsDeleteSample.ts index 6ad22daadec8..ba651c28b54a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a vpn connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsGetSample.ts index 4f758d13418c..7234dcd1daf3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a vpn connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsListByVpnGatewaySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsListByVpnGatewaySample.ts index e04b193b032c..9e67a7bb0530 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsListByVpnGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsListByVpnGatewaySample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all vpn connections for a particular virtual wan vpn gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStartPacketCaptureSample.ts index 8dc871926a1f..2c7ebcc6e2da 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStartPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts packet capture on Vpn connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStopPacketCaptureSample.ts index 622f6d104c05..23d4800be77a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStopPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops packet capture on Vpn connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysCreateOrUpdateSample.ts index c69095f08bc4..ede54cc41530 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysDeleteSample.ts index 29705594a54c..5f3232673cda 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a virtual wan vpn gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysGetSample.ts index ab6a9ffc4aa7..a76409b6646e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a virtual wan vpn gateway. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListByResourceGroupSample.ts index 89552f579ee9..325e53586672 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VpnGateways in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListSample.ts index 18699c6db1f8..ef0fba489fec 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VpnGateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysResetSample.ts index 80610aa17ddf..145ceaa88c81 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysResetSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the primary of the vpn gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStartPacketCaptureSample.ts index b9930b692c23..6033b3ebdd46 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStartPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts packet capture on vpn gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStopPacketCaptureSample.ts index b0d0e7a9a17d..ca3b348ff4ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStopPacketCaptureSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Stops packet capture on vpn gateway in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysUpdateTagsSample.ts index ef1d606020fa..34c0160cbb37 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysUpdateTagsSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates virtual wan vpn gateway tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsGetIkeSasSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsGetIkeSasSample.ts index ff6ff34f0c66..fcf1918066f1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsGetIkeSasSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsGetIkeSasSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsListByVpnConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsListByVpnConnectionSample.ts index 8b6c5bd8f156..a25a973bc389 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsListByVpnConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsListByVpnConnectionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsResetConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsResetConnectionSample.ts index 3494edfb90e8..b1072d0ca7e4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsResetConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsResetConnectionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Resets the VpnLink connection specified. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts index f6573df1d464..5652d49e14f0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsCreateOrUpdateSample.ts index ea4d336959c0..b2b07f78af81 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsDeleteSample.ts index 1fb93fc094e6..68852f6363bf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VpnServerConfiguration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsGetSample.ts index 0efdbe3345a8..1c79439281a4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnServerConfigurationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VpnServerConfiguration. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListByResourceGroupSample.ts index 54bf288d5daf..a92511c47557 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the vpnServerConfigurations in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListSample.ts index 48909a581903..c7345a316877 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VpnServerConfigurations in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsUpdateTagsSample.ts index 5b9cad292ec5..079c27631115 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnServerConfigurationsUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates VpnServerConfiguration tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinkConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinkConnectionsGetSample.ts index 852c0ad27e55..c2a19d399b51 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinkConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinkConnectionsGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnSiteLinkConnectionsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a vpn site link connection. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksGetSample.ts index e9d2eb5e38f0..ced2d5c8bcbd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnSiteLinksGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VPN site link. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksListByVpnSiteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksListByVpnSiteSample.ts index 9306e2432eff..b6fe82e4948b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksListByVpnSiteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksListByVpnSiteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the vpnSiteLinks in a resource group for a vpn site. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesConfigurationDownloadSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesConfigurationDownloadSample.ts index ecc4eb335388..e9872c5a9188 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesConfigurationDownloadSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesConfigurationDownloadSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gives the sas-url to download the configurations for vpn-sites in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesCreateOrUpdateSample.ts index c4a72d69f137..bb540f8b5088 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesDeleteSample.ts index d45789ff3384..3791c591ea37 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VpnSite. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesGetSample.ts index b3e6eadb9b7d..3ef8ce5aee41 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnSitesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves the details of a VPN site. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListByResourceGroupSample.ts index adf45f09b9a8..e419b2d03877 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the vpnSites in a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListSample.ts index 01ed065a56a9..ff8e5e726a06 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the VpnSites in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesUpdateTagsSample.ts index ef581378888d..f39ec17e4164 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesUpdateTagsSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { VpnSitesUpdateTagsParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates VpnSite tags. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesCreateOrUpdateSample.ts index 16345a3b8086..01931e161340 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { WebApplicationFirewallPoliciesCreateOrUpdateParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or update policy with specified rule set name within a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesDeleteSample.ts index 92219b060009..e70a672f9438 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesDeleteSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { getLongRunningPoller } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes Policy. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesGetSample.ts index c6531936bd50..8e6481f7c5ae 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { WebApplicationFirewallPoliciesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieve protection policy with specified name within a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListAllSample.ts index 6501785ad771..13407bdd6221 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListAllSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the WAF policies in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts index 61d8cbcd35e4..6201a4c9b9b6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the protection policies within a resource group. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts index 5a37ddcf7ce1..e4d455859287 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts @@ -7,9 +7,7 @@ import createNetworkManagementClient, { WebCategoriesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified Azure Web Category. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts index 43ee039d2744..ccc9348eee78 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createNetworkManagementClient, { paginate } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the Azure Web Categories in a subscription. diff --git a/sdk/network/arm-network-rest/src/clientDefinitions.ts b/sdk/network/arm-network-rest/src/clientDefinitions.ts index 9bef545b2462..71643a216d69 100644 --- a/sdk/network/arm-network-rest/src/clientDefinitions.ts +++ b/sdk/network/arm-network-rest/src/clientDefinitions.ts @@ -615,7 +615,7 @@ import { VipSwapGetParameters, VipSwapCreateParameters, VipSwapListParameters, -} from "./parameters"; +} from "./parameters.js"; import { ApplicationGatewaysDelete200Response, ApplicationGatewaysDelete202Response, @@ -2182,7 +2182,7 @@ import { VipSwapCreateDefaultResponse, VipSwapList200Response, VipSwapListDefaultResponse, -} from "./responses"; +} from "./responses.js"; import { Client, StreamableMethod } from "@azure-rest/core-client"; export interface ApplicationGatewaysDelete { diff --git a/sdk/network/arm-network-rest/src/index.ts b/sdk/network/arm-network-rest/src/index.ts index 8dfa29e5e55e..e8bfc1eb8c9c 100644 --- a/sdk/network/arm-network-rest/src/index.ts +++ b/sdk/network/arm-network-rest/src/index.ts @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import NetworkManagementClient from "./networkManagementClient"; +import NetworkManagementClient from "./networkManagementClient.js"; -export * from "./networkManagementClient"; -export * from "./parameters"; -export * from "./responses"; -export * from "./clientDefinitions"; -export * from "./isUnexpected"; -export * from "./models"; -export * from "./outputModels"; -export * from "./paginateHelper"; -export * from "./pollingHelper"; +export * from "./networkManagementClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./paginateHelper.js"; +export * from "./pollingHelper.js"; export default NetworkManagementClient; diff --git a/sdk/network/arm-network-rest/src/isUnexpected.ts b/sdk/network/arm-network-rest/src/isUnexpected.ts index 79094ace184e..429137ec8b88 100644 --- a/sdk/network/arm-network-rest/src/isUnexpected.ts +++ b/sdk/network/arm-network-rest/src/isUnexpected.ts @@ -1567,7 +1567,7 @@ import { VipSwapCreateDefaultResponse, VipSwapList200Response, VipSwapListDefaultResponse, -} from "./responses"; +} from "./responses.js"; const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": diff --git a/sdk/network/arm-network-rest/src/networkManagementClient.ts b/sdk/network/arm-network-rest/src/networkManagementClient.ts index 7430ff8104f9..e6097dbb8a07 100644 --- a/sdk/network/arm-network-rest/src/networkManagementClient.ts +++ b/sdk/network/arm-network-rest/src/networkManagementClient.ts @@ -2,9 +2,9 @@ // Licensed under the MIT License. import { getClient, ClientOptions } from "@azure-rest/core-client"; -import { logger } from "./logger"; +import { logger } from "./logger.js"; import { TokenCredential } from "@azure/core-auth"; -import { NetworkManagementClient } from "./clientDefinitions"; +import { NetworkManagementClient } from "./clientDefinitions.js"; /** The optional parameters for the client */ export interface NetworkManagementClientOptions extends ClientOptions {} diff --git a/sdk/network/arm-network-rest/src/parameters.ts b/sdk/network/arm-network-rest/src/parameters.ts index 0c44e1bc0d9b..0ff0e42298f7 100644 --- a/sdk/network/arm-network-rest/src/parameters.ts +++ b/sdk/network/arm-network-rest/src/parameters.ts @@ -142,7 +142,7 @@ import { RoutingIntent, WebApplicationFirewallPolicy, SwapResource, -} from "./models"; +} from "./models.js"; export interface ApplicationGatewaysDeleteQueryParamProperties { /** Api Version */ diff --git a/sdk/network/arm-network-rest/src/responses.ts b/sdk/network/arm-network-rest/src/responses.ts index 32484f8875c9..80353eb02cbf 100644 --- a/sdk/network/arm-network-rest/src/responses.ts +++ b/sdk/network/arm-network-rest/src/responses.ts @@ -286,7 +286,7 @@ import { WebApplicationFirewallPolicyOutput, SwapResourceOutput, SwapResourceListResultOutput, -} from "./outputModels"; +} from "./outputModels.js"; /** Deletes the specified application gateway. */ export interface ApplicationGatewaysDelete200Response extends HttpResponse { diff --git a/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts b/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts index afb77a0dcf47..b5c2ba4c5bd6 100644 --- a/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts +++ b/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts @@ -13,7 +13,6 @@ import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder, env, isPlaybackMode } from "@azure-tools/test-recorder"; import { createTestCredential } from "@azure-tools/test-credential"; import { assert } from "chai"; -import type { Context } from "mocha"; import type { IpGroupsCreateOrUpdateParameters, IpGroupsDeleteParameters, @@ -29,9 +28,9 @@ import type { VirtualNetworksGetParameters, VirtualNetworksListParameters, VirtualNetworksUpdateTagsParameters, -} from "../../src"; -import { getLongRunningPoller, isUnexpected, paginate } from "../../src"; -import { createTestNetworkManagementClient } from "./utils/recordedClient"; +} from "../../src/index.js"; +import { getLongRunningPoller, isUnexpected, paginate } from "../../src/index.js"; +import { createTestNetworkManagementClient } from "./utils/recordedClient.js"; const replaceableVariables: Record = { SUBSCRIPTION_ID: "azure_subscription_id", @@ -59,8 +58,8 @@ describe("Network test", () => { let subnet_name: string; let ipGroupName: string; - beforeEach(async function (this: Context) { - recorder = new Recorder(this.currentTest); + beforeEach(async function (ctx) { + recorder = new Recorder(ctx); await recorder.start(recorderOptions); subscriptionId = env.SUBSCRIPTION_ID || ""; // This is an example of how the environment variables are used diff --git a/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts b/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts index 2c815a1bfb3a..bc9e4ec65fde 100644 --- a/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts +++ b/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts @@ -4,10 +4,10 @@ import type { Context } from "mocha"; import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; -import type { NetworkManagementClient } from "../../../src/clientDefinitions"; +import type { NetworkManagementClient } from "../../../src/clientDefinitions.js"; import type { TokenCredential } from "@azure/core-auth"; import type { ClientOptions } from "@azure-rest/core-client"; -import createNetworkManagementClient from "../../../src"; +import createNetworkManagementClient from "../../../src/index.js"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", From 255d3f1eaa9bf54d29a7dec565a6a3fb1ed6aa9c Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:43:29 +0800 Subject: [PATCH 48/73] Migration: Apply codemod: "fixTestingImports" --- .../arm-network-rest/test/public/network_rest_sample.spec.ts | 2 +- .../arm-network-rest/test/public/utils/recordedClient.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts b/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts index b5c2ba4c5bd6..d6789888615c 100644 --- a/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts +++ b/sdk/network/arm-network-rest/test/public/network_rest_sample.spec.ts @@ -12,7 +12,6 @@ import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder, env, isPlaybackMode } from "@azure-tools/test-recorder"; import { createTestCredential } from "@azure-tools/test-credential"; -import { assert } from "chai"; import type { IpGroupsCreateOrUpdateParameters, IpGroupsDeleteParameters, @@ -31,6 +30,7 @@ import type { } from "../../src/index.js"; import { getLongRunningPoller, isUnexpected, paginate } from "../../src/index.js"; import { createTestNetworkManagementClient } from "./utils/recordedClient.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; const replaceableVariables: Record = { SUBSCRIPTION_ID: "azure_subscription_id", diff --git a/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts b/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts index bc9e4ec65fde..5f99464cd027 100644 --- a/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts +++ b/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import type { Context } from "mocha"; import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { NetworkManagementClient } from "../../../src/clientDefinitions.js"; From bad1da927582b3cb8389803a26b6a9dbfa60634c Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:43:38 +0800 Subject: [PATCH 49/73] Migration: Apply codemod: "replaceAssertIsRejected" From 5cc5cdbebedc58a9dca821b2f8952a9f5e1fcb08 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:43:45 +0800 Subject: [PATCH 50/73] Migration: Apply codemod: "replaceSinonStub" From 7062bf92b9d947f7cd78d8bf7a25e9403952b8b6 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:43:52 +0800 Subject: [PATCH 51/73] Migration: Apply codemod: "addViHelper" From 83a0f81aaaa5e3d88ae973b0fe6c5879d20b2309 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:43:57 +0800 Subject: [PATCH 52/73] Migration: Apply codemod: "replaceSupportTracing" From 36fecc6b63b65a57a2eaf13d0bdcf92340e6da72 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:44:03 +0800 Subject: [PATCH 53/73] Migration: Apply codemod: "replaceTestUtils" From 582210f9f3649fe6eba3c7a287163d4b99b29e1a Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:44:11 +0800 Subject: [PATCH 54/73] Migration: rushx format --- .../arm-network-rest/src/clientDefinitions.ts | 839 ++----- .../arm-network-rest/src/isUnexpected.ts | 742 ++---- sdk/network/arm-network-rest/src/models.ts | 165 +- .../src/networkManagementClient.ts | 13 +- .../arm-network-rest/src/outputModels.ts | 381 +-- .../arm-network-rest/src/paginateHelper.ts | 49 +- .../arm-network-rest/src/parameters.ts | 1739 ++++++-------- .../arm-network-rest/src/pollingHelper.ts | 21 +- sdk/network/arm-network-rest/src/responses.ts | 2082 ++++++----------- .../tsconfig.browser.config.json | 11 +- .../arm-network-rest/tsconfig.samples.json | 4 +- .../arm-network-rest/tsconfig.test.json | 5 +- 12 files changed, 2028 insertions(+), 4023 deletions(-) diff --git a/sdk/network/arm-network-rest/src/clientDefinitions.ts b/sdk/network/arm-network-rest/src/clientDefinitions.ts index 71643a216d69..8e51dc05718f 100644 --- a/sdk/network/arm-network-rest/src/clientDefinitions.ts +++ b/sdk/network/arm-network-rest/src/clientDefinitions.ts @@ -2198,9 +2198,7 @@ export interface ApplicationGatewaysDelete { /** Gets the specified application gateway. */ get( options: ApplicationGatewaysGetParameters, - ): StreamableMethod< - ApplicationGatewaysGet200Response | ApplicationGatewaysGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates the specified application gateway. */ put( options: ApplicationGatewaysCreateOrUpdateParameters, @@ -2213,8 +2211,7 @@ export interface ApplicationGatewaysDelete { patch( options: ApplicationGatewaysUpdateTagsParameters, ): StreamableMethod< - | ApplicationGatewaysUpdateTags200Response - | ApplicationGatewaysUpdateTagsDefaultResponse + ApplicationGatewaysUpdateTags200Response | ApplicationGatewaysUpdateTagsDefaultResponse >; } @@ -2222,9 +2219,7 @@ export interface ApplicationGatewaysList { /** Lists all application gateways in a resource group. */ get( options: ApplicationGatewaysListParameters, - ): StreamableMethod< - ApplicationGatewaysList200Response | ApplicationGatewaysListDefaultResponse - >; + ): StreamableMethod; } export interface ApplicationGatewaysListAll { @@ -2232,8 +2227,7 @@ export interface ApplicationGatewaysListAll { get( options: ApplicationGatewaysListAllParameters, ): StreamableMethod< - | ApplicationGatewaysListAll200Response - | ApplicationGatewaysListAllDefaultResponse + ApplicationGatewaysListAll200Response | ApplicationGatewaysListAllDefaultResponse >; } @@ -2432,8 +2426,7 @@ export interface ApplicationSecurityGroupsDelete { get( options: ApplicationSecurityGroupsGetParameters, ): StreamableMethod< - | ApplicationSecurityGroupsGet200Response - | ApplicationSecurityGroupsGetDefaultResponse + ApplicationSecurityGroupsGet200Response | ApplicationSecurityGroupsGetDefaultResponse >; /** Creates or updates an application security group. */ put( @@ -2457,8 +2450,7 @@ export interface ApplicationSecurityGroupsListAll { get( options: ApplicationSecurityGroupsListAllParameters, ): StreamableMethod< - | ApplicationSecurityGroupsListAll200Response - | ApplicationSecurityGroupsListAllDefaultResponse + ApplicationSecurityGroupsListAll200Response | ApplicationSecurityGroupsListAllDefaultResponse >; } @@ -2467,8 +2459,7 @@ export interface ApplicationSecurityGroupsList { get( options: ApplicationSecurityGroupsListParameters, ): StreamableMethod< - | ApplicationSecurityGroupsList200Response - | ApplicationSecurityGroupsListDefaultResponse + ApplicationSecurityGroupsList200Response | ApplicationSecurityGroupsListDefaultResponse >; } @@ -2477,8 +2468,7 @@ export interface AvailableDelegationsList { get( options: AvailableDelegationsListParameters, ): StreamableMethod< - | AvailableDelegationsList200Response - | AvailableDelegationsListDefaultResponse + AvailableDelegationsList200Response | AvailableDelegationsListDefaultResponse >; } @@ -2497,8 +2487,7 @@ export interface AvailableServiceAliasesList { get( options: AvailableServiceAliasesListParameters, ): StreamableMethod< - | AvailableServiceAliasesList200Response - | AvailableServiceAliasesListDefaultResponse + AvailableServiceAliasesList200Response | AvailableServiceAliasesListDefaultResponse >; } @@ -2525,9 +2514,7 @@ export interface AzureFirewallsDelete { /** Gets the specified Azure Firewall. */ get( options: AzureFirewallsGetParameters, - ): StreamableMethod< - AzureFirewallsGet200Response | AzureFirewallsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates the specified Azure Firewall. */ put( options: AzureFirewallsCreateOrUpdateParameters, @@ -2550,18 +2537,14 @@ export interface AzureFirewallsList { /** Lists all Azure Firewalls in a resource group. */ get( options: AzureFirewallsListParameters, - ): StreamableMethod< - AzureFirewallsList200Response | AzureFirewallsListDefaultResponse - >; + ): StreamableMethod; } export interface AzureFirewallsListAll { /** Gets all the Azure Firewalls in a subscription. */ get( options: AzureFirewallsListAllParameters, - ): StreamableMethod< - AzureFirewallsListAll200Response | AzureFirewallsListAllDefaultResponse - >; + ): StreamableMethod; } export interface AzureFirewallsListLearnedPrefixes { @@ -2580,8 +2563,7 @@ export interface AzureFirewallFqdnTagsListAll { get( options: AzureFirewallFqdnTagsListAllParameters, ): StreamableMethod< - | AzureFirewallFqdnTagsListAll200Response - | AzureFirewallFqdnTagsListAllDefaultResponse + AzureFirewallFqdnTagsListAll200Response | AzureFirewallFqdnTagsListAllDefaultResponse >; } @@ -2589,9 +2571,7 @@ export interface WebCategoriesGet { /** Gets the specified Azure Web Category. */ get( options: WebCategoriesGetParameters, - ): StreamableMethod< - WebCategoriesGet200Response | WebCategoriesGetDefaultResponse - >; + ): StreamableMethod; } export interface WebCategoriesListBySubscription { @@ -2599,8 +2579,7 @@ export interface WebCategoriesListBySubscription { get( options: WebCategoriesListBySubscriptionParameters, ): StreamableMethod< - | WebCategoriesListBySubscription200Response - | WebCategoriesListBySubscriptionDefaultResponse + WebCategoriesListBySubscription200Response | WebCategoriesListBySubscriptionDefaultResponse >; } @@ -2617,9 +2596,7 @@ export interface BastionHostsDelete { /** Gets the specified Bastion Host. */ get( options: BastionHostsGetParameters, - ): StreamableMethod< - BastionHostsGet200Response | BastionHostsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates the specified Bastion Host. */ put( options: BastionHostsCreateOrUpdateParameters, @@ -2642,9 +2619,7 @@ export interface BastionHostsList { /** Lists all Bastion Hosts in a subscription. */ get( options: BastionHostsListParameters, - ): StreamableMethod< - BastionHostsList200Response | BastionHostsListDefaultResponse - >; + ): StreamableMethod; } export interface BastionHostsListByResourceGroup { @@ -2652,8 +2627,7 @@ export interface BastionHostsListByResourceGroup { get( options: BastionHostsListByResourceGroupParameters, ): StreamableMethod< - | BastionHostsListByResourceGroup200Response - | BastionHostsListByResourceGroupDefaultResponse + BastionHostsListByResourceGroup200Response | BastionHostsListByResourceGroupDefaultResponse >; } @@ -2683,9 +2657,7 @@ export interface GetBastionShareableLink { /** Return the Bastion Shareable Links for all the VMs specified in the request. */ post( options: GetBastionShareableLinkParameters, - ): StreamableMethod< - GetBastionShareableLink200Response | GetBastionShareableLinkDefaultResponse - >; + ): StreamableMethod; } export interface GetActiveSessions { @@ -2693,9 +2665,7 @@ export interface GetActiveSessions { post( options: GetActiveSessionsParameters, ): StreamableMethod< - | GetActiveSessions200Response - | GetActiveSessions202Response - | GetActiveSessionsDefaultResponse + GetActiveSessions200Response | GetActiveSessions202Response | GetActiveSessionsDefaultResponse >; } @@ -2704,8 +2674,7 @@ export interface DisconnectActiveSessions { post( options: DisconnectActiveSessionsParameters, ): StreamableMethod< - | DisconnectActiveSessions200Response - | DisconnectActiveSessionsDefaultResponse + DisconnectActiveSessions200Response | DisconnectActiveSessionsDefaultResponse >; } @@ -2714,8 +2683,7 @@ export interface CheckDnsNameAvailability { get( options: CheckDnsNameAvailabilityParameters, ): StreamableMethod< - | CheckDnsNameAvailability200Response - | CheckDnsNameAvailabilityDefaultResponse + CheckDnsNameAvailability200Response | CheckDnsNameAvailabilityDefaultResponse >; } @@ -2724,8 +2692,7 @@ export interface ExpressRouteProviderPort { get( options: ExpressRouteProviderPortParameters, ): StreamableMethod< - | ExpressRouteProviderPort200Response - | ExpressRouteProviderPortDefaultResponse + ExpressRouteProviderPort200Response | ExpressRouteProviderPortDefaultResponse >; } @@ -2744,8 +2711,7 @@ export interface ListActiveSecurityAdminRules { post( options: ListActiveSecurityAdminRulesParameters, ): StreamableMethod< - | ListActiveSecurityAdminRules200Response - | ListActiveSecurityAdminRulesDefaultResponse + ListActiveSecurityAdminRules200Response | ListActiveSecurityAdminRulesDefaultResponse >; } @@ -2774,8 +2740,7 @@ export interface SupportedSecurityProviders { get( options: SupportedSecurityProvidersParameters, ): StreamableMethod< - | SupportedSecurityProviders200Response - | SupportedSecurityProvidersDefaultResponse + SupportedSecurityProviders200Response | SupportedSecurityProvidersDefaultResponse >; } @@ -2833,9 +2798,7 @@ export interface NetworkInterfacesDelete { /** Gets information about the specified network interface. */ get( options: NetworkInterfacesGetParameters, - ): StreamableMethod< - NetworkInterfacesGet200Response | NetworkInterfacesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a network interface. */ put( options: NetworkInterfacesCreateOrUpdateParameters, @@ -2848,8 +2811,7 @@ export interface NetworkInterfacesDelete { patch( options: NetworkInterfacesUpdateTagsParameters, ): StreamableMethod< - | NetworkInterfacesUpdateTags200Response - | NetworkInterfacesUpdateTagsDefaultResponse + NetworkInterfacesUpdateTags200Response | NetworkInterfacesUpdateTagsDefaultResponse >; } @@ -2858,8 +2820,7 @@ export interface NetworkInterfacesListAll { get( options: NetworkInterfacesListAllParameters, ): StreamableMethod< - | NetworkInterfacesListAll200Response - | NetworkInterfacesListAllDefaultResponse + NetworkInterfacesListAll200Response | NetworkInterfacesListAllDefaultResponse >; } @@ -2867,9 +2828,7 @@ export interface NetworkInterfacesList { /** Gets all network interfaces in a resource group. */ get( options: NetworkInterfacesListParameters, - ): StreamableMethod< - NetworkInterfacesList200Response | NetworkInterfacesListDefaultResponse - >; + ): StreamableMethod; } export interface NetworkInterfacesGetEffectiveRouteTable { @@ -2987,9 +2946,7 @@ export interface PublicIPAddressesDelete { /** Gets the specified public IP address in a specified resource group. */ get( options: PublicIPAddressesGetParameters, - ): StreamableMethod< - PublicIPAddressesGet200Response | PublicIPAddressesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a static or dynamic public IP address. */ put( options: PublicIPAddressesCreateOrUpdateParameters, @@ -3002,8 +2959,7 @@ export interface PublicIPAddressesDelete { patch( options: PublicIPAddressesUpdateTagsParameters, ): StreamableMethod< - | PublicIPAddressesUpdateTags200Response - | PublicIPAddressesUpdateTagsDefaultResponse + PublicIPAddressesUpdateTags200Response | PublicIPAddressesUpdateTagsDefaultResponse >; } @@ -3012,8 +2968,7 @@ export interface PublicIPAddressesListAll { get( options: PublicIPAddressesListAllParameters, ): StreamableMethod< - | PublicIPAddressesListAll200Response - | PublicIPAddressesListAllDefaultResponse + PublicIPAddressesListAll200Response | PublicIPAddressesListAllDefaultResponse >; } @@ -3021,9 +2976,7 @@ export interface PublicIPAddressesList { /** Gets all public IP addresses in a resource group. */ get( options: PublicIPAddressesListParameters, - ): StreamableMethod< - PublicIPAddressesList200Response | PublicIPAddressesListDefaultResponse - >; + ): StreamableMethod; } export interface PublicIPAddressesDdosProtectionStatus { @@ -3080,9 +3033,7 @@ export interface CustomIPPrefixesDelete { /** Gets the specified custom IP prefix in a specified resource group. */ get( options: CustomIPPrefixesGetParameters, - ): StreamableMethod< - CustomIPPrefixesGet200Response | CustomIPPrefixesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a custom IP prefix. */ put( options: CustomIPPrefixesCreateOrUpdateParameters, @@ -3095,8 +3046,7 @@ export interface CustomIPPrefixesDelete { patch( options: CustomIPPrefixesUpdateTagsParameters, ): StreamableMethod< - | CustomIPPrefixesUpdateTags200Response - | CustomIPPrefixesUpdateTagsDefaultResponse + CustomIPPrefixesUpdateTags200Response | CustomIPPrefixesUpdateTagsDefaultResponse >; } @@ -3104,18 +3054,14 @@ export interface CustomIPPrefixesListAll { /** Gets all the custom IP prefixes in a subscription. */ get( options: CustomIPPrefixesListAllParameters, - ): StreamableMethod< - CustomIPPrefixesListAll200Response | CustomIPPrefixesListAllDefaultResponse - >; + ): StreamableMethod; } export interface CustomIPPrefixesList { /** Gets all custom IP prefixes in a resource group. */ get( options: CustomIPPrefixesListParameters, - ): StreamableMethod< - CustomIPPrefixesList200Response | CustomIPPrefixesListDefaultResponse - >; + ): StreamableMethod; } export interface DdosCustomPoliciesDelete { @@ -3131,9 +3077,7 @@ export interface DdosCustomPoliciesDelete { /** Gets information about the specified DDoS custom policy. */ get( options: DdosCustomPoliciesGetParameters, - ): StreamableMethod< - DdosCustomPoliciesGet200Response | DdosCustomPoliciesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a DDoS custom policy. */ put( options: DdosCustomPoliciesCreateOrUpdateParameters, @@ -3146,8 +3090,7 @@ export interface DdosCustomPoliciesDelete { patch( options: DdosCustomPoliciesUpdateTagsParameters, ): StreamableMethod< - | DdosCustomPoliciesUpdateTags200Response - | DdosCustomPoliciesUpdateTagsDefaultResponse + DdosCustomPoliciesUpdateTags200Response | DdosCustomPoliciesUpdateTagsDefaultResponse >; } @@ -3164,9 +3107,7 @@ export interface DdosProtectionPlansDelete { /** Gets information about the specified DDoS protection plan. */ get( options: DdosProtectionPlansGetParameters, - ): StreamableMethod< - DdosProtectionPlansGet200Response | DdosProtectionPlansGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a DDoS protection plan. */ put( options: DdosProtectionPlansCreateOrUpdateParameters, @@ -3179,8 +3120,7 @@ export interface DdosProtectionPlansDelete { patch( options: DdosProtectionPlansUpdateTagsParameters, ): StreamableMethod< - | DdosProtectionPlansUpdateTags200Response - | DdosProtectionPlansUpdateTagsDefaultResponse + DdosProtectionPlansUpdateTags200Response | DdosProtectionPlansUpdateTagsDefaultResponse >; } @@ -3188,9 +3128,7 @@ export interface DdosProtectionPlansList { /** Gets all DDoS protection plans in a subscription. */ get( options: DdosProtectionPlansListParameters, - ): StreamableMethod< - DdosProtectionPlansList200Response | DdosProtectionPlansListDefaultResponse - >; + ): StreamableMethod; } export interface DdosProtectionPlansListByResourceGroup { @@ -3224,18 +3162,14 @@ export interface DscpConfigurationCreateOrUpdate { /** Gets a DSCP Configuration. */ get( options: DscpConfigurationGetParameters, - ): StreamableMethod< - DscpConfigurationGet200Response | DscpConfigurationGetDefaultResponse - >; + ): StreamableMethod; } export interface DscpConfigurationList { /** Gets a DSCP Configuration. */ get( options: DscpConfigurationListParameters, - ): StreamableMethod< - DscpConfigurationList200Response | DscpConfigurationListDefaultResponse - >; + ): StreamableMethod; } export interface DscpConfigurationListAll { @@ -3243,8 +3177,7 @@ export interface DscpConfigurationListAll { get( options: DscpConfigurationListAllParameters, ): StreamableMethod< - | DscpConfigurationListAll200Response - | DscpConfigurationListAllDefaultResponse + DscpConfigurationListAll200Response | DscpConfigurationListAllDefaultResponse >; } @@ -3253,8 +3186,7 @@ export interface AvailableEndpointServicesList { get( options: AvailableEndpointServicesListParameters, ): StreamableMethod< - | AvailableEndpointServicesList200Response - | AvailableEndpointServicesListDefaultResponse + AvailableEndpointServicesList200Response | AvailableEndpointServicesListDefaultResponse >; } @@ -3309,8 +3241,7 @@ export interface ExpressRouteCircuitPeeringsDelete { get( options: ExpressRouteCircuitPeeringsGetParameters, ): StreamableMethod< - | ExpressRouteCircuitPeeringsGet200Response - | ExpressRouteCircuitPeeringsGetDefaultResponse + ExpressRouteCircuitPeeringsGet200Response | ExpressRouteCircuitPeeringsGetDefaultResponse >; /** Creates or updates a peering in the specified express route circuits. */ put( @@ -3327,8 +3258,7 @@ export interface ExpressRouteCircuitPeeringsList { get( options: ExpressRouteCircuitPeeringsListParameters, ): StreamableMethod< - | ExpressRouteCircuitPeeringsList200Response - | ExpressRouteCircuitPeeringsListDefaultResponse + ExpressRouteCircuitPeeringsList200Response | ExpressRouteCircuitPeeringsListDefaultResponse >; } @@ -3346,8 +3276,7 @@ export interface ExpressRouteCircuitConnectionsDelete { get( options: ExpressRouteCircuitConnectionsGetParameters, ): StreamableMethod< - | ExpressRouteCircuitConnectionsGet200Response - | ExpressRouteCircuitConnectionsGetDefaultResponse + ExpressRouteCircuitConnectionsGet200Response | ExpressRouteCircuitConnectionsGetDefaultResponse >; /** Creates or updates a Express Route Circuit Connection in the specified express route circuits. */ put( @@ -3402,9 +3331,7 @@ export interface ExpressRouteCircuitsDelete { /** Gets information about the specified express route circuit. */ get( options: ExpressRouteCircuitsGetParameters, - ): StreamableMethod< - ExpressRouteCircuitsGet200Response | ExpressRouteCircuitsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates an express route circuit. */ put( options: ExpressRouteCircuitsCreateOrUpdateParameters, @@ -3417,8 +3344,7 @@ export interface ExpressRouteCircuitsDelete { patch( options: ExpressRouteCircuitsUpdateTagsParameters, ): StreamableMethod< - | ExpressRouteCircuitsUpdateTags200Response - | ExpressRouteCircuitsUpdateTagsDefaultResponse + ExpressRouteCircuitsUpdateTags200Response | ExpressRouteCircuitsUpdateTagsDefaultResponse >; } @@ -3460,8 +3386,7 @@ export interface ExpressRouteCircuitsGetStats { get( options: ExpressRouteCircuitsGetStatsParameters, ): StreamableMethod< - | ExpressRouteCircuitsGetStats200Response - | ExpressRouteCircuitsGetStatsDefaultResponse + ExpressRouteCircuitsGetStats200Response | ExpressRouteCircuitsGetStatsDefaultResponse >; } @@ -3480,8 +3405,7 @@ export interface ExpressRouteCircuitsList { get( options: ExpressRouteCircuitsListParameters, ): StreamableMethod< - | ExpressRouteCircuitsList200Response - | ExpressRouteCircuitsListDefaultResponse + ExpressRouteCircuitsList200Response | ExpressRouteCircuitsListDefaultResponse >; } @@ -3490,8 +3414,7 @@ export interface ExpressRouteCircuitsListAll { get( options: ExpressRouteCircuitsListAllParameters, ): StreamableMethod< - | ExpressRouteCircuitsListAll200Response - | ExpressRouteCircuitsListAllDefaultResponse + ExpressRouteCircuitsListAll200Response | ExpressRouteCircuitsListAllDefaultResponse >; } @@ -3500,8 +3423,7 @@ export interface ExpressRouteServiceProvidersList { get( options: ExpressRouteServiceProvidersListParameters, ): StreamableMethod< - | ExpressRouteServiceProvidersList200Response - | ExpressRouteServiceProvidersListDefaultResponse + ExpressRouteServiceProvidersList200Response | ExpressRouteServiceProvidersListDefaultResponse >; } @@ -3510,8 +3432,7 @@ export interface ExpressRouteCrossConnectionsList { get( options: ExpressRouteCrossConnectionsListParameters, ): StreamableMethod< - | ExpressRouteCrossConnectionsList200Response - | ExpressRouteCrossConnectionsListDefaultResponse + ExpressRouteCrossConnectionsList200Response | ExpressRouteCrossConnectionsListDefaultResponse >; } @@ -3530,8 +3451,7 @@ export interface ExpressRouteCrossConnectionsGet { get( options: ExpressRouteCrossConnectionsGetParameters, ): StreamableMethod< - | ExpressRouteCrossConnectionsGet200Response - | ExpressRouteCrossConnectionsGetDefaultResponse + ExpressRouteCrossConnectionsGet200Response | ExpressRouteCrossConnectionsGetDefaultResponse >; /** Update the specified ExpressRouteCrossConnection. */ put( @@ -3624,8 +3544,7 @@ export interface ExpressRoutePortsLocationsList { get( options: ExpressRoutePortsLocationsListParameters, ): StreamableMethod< - | ExpressRoutePortsLocationsList200Response - | ExpressRoutePortsLocationsListDefaultResponse + ExpressRoutePortsLocationsList200Response | ExpressRoutePortsLocationsListDefaultResponse >; } @@ -3634,8 +3553,7 @@ export interface ExpressRoutePortsLocationsGet { get( options: ExpressRoutePortsLocationsGetParameters, ): StreamableMethod< - | ExpressRoutePortsLocationsGet200Response - | ExpressRoutePortsLocationsGetDefaultResponse + ExpressRoutePortsLocationsGet200Response | ExpressRoutePortsLocationsGetDefaultResponse >; } @@ -3652,9 +3570,7 @@ export interface ExpressRoutePortsDelete { /** Retrieves the requested ExpressRoutePort resource. */ get( options: ExpressRoutePortsGetParameters, - ): StreamableMethod< - ExpressRoutePortsGet200Response | ExpressRoutePortsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates the specified ExpressRoutePort resource. */ put( options: ExpressRoutePortsCreateOrUpdateParameters, @@ -3667,8 +3583,7 @@ export interface ExpressRoutePortsDelete { patch( options: ExpressRoutePortsUpdateTagsParameters, ): StreamableMethod< - | ExpressRoutePortsUpdateTags200Response - | ExpressRoutePortsUpdateTagsDefaultResponse + ExpressRoutePortsUpdateTags200Response | ExpressRoutePortsUpdateTagsDefaultResponse >; } @@ -3686,9 +3601,7 @@ export interface ExpressRoutePortsList { /** List all the ExpressRoutePort resources in the specified subscription. */ get( options: ExpressRoutePortsListParameters, - ): StreamableMethod< - ExpressRoutePortsList200Response | ExpressRoutePortsListDefaultResponse - >; + ): StreamableMethod; } export interface ExpressRoutePortsGenerateLOA { @@ -3696,8 +3609,7 @@ export interface ExpressRoutePortsGenerateLOA { post( options: ExpressRoutePortsGenerateLOAParameters, ): StreamableMethod< - | ExpressRoutePortsGenerateLOA200Response - | ExpressRoutePortsGenerateLOADefaultResponse + ExpressRoutePortsGenerateLOA200Response | ExpressRoutePortsGenerateLOADefaultResponse >; } @@ -3705,18 +3617,14 @@ export interface ExpressRouteLinksGet { /** Retrieves the specified ExpressRouteLink resource. */ get( options: ExpressRouteLinksGetParameters, - ): StreamableMethod< - ExpressRouteLinksGet200Response | ExpressRouteLinksGetDefaultResponse - >; + ): StreamableMethod; } export interface ExpressRouteLinksList { /** Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. */ get( options: ExpressRouteLinksListParameters, - ): StreamableMethod< - ExpressRouteLinksList200Response | ExpressRouteLinksListDefaultResponse - >; + ): StreamableMethod; } export interface ExpressRoutePortAuthorizationsDelete { @@ -3733,8 +3641,7 @@ export interface ExpressRoutePortAuthorizationsDelete { get( options: ExpressRoutePortAuthorizationsGetParameters, ): StreamableMethod< - | ExpressRoutePortAuthorizationsGet200Response - | ExpressRoutePortAuthorizationsGetDefaultResponse + ExpressRoutePortAuthorizationsGet200Response | ExpressRoutePortAuthorizationsGetDefaultResponse >; /** Creates or updates an authorization in the specified express route port. */ put( @@ -3779,9 +3686,7 @@ export interface FirewallPoliciesDelete { /** Gets the specified Firewall Policy. */ get( options: FirewallPoliciesGetParameters, - ): StreamableMethod< - FirewallPoliciesGet200Response | FirewallPoliciesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates the specified Firewall Policy. */ put( options: FirewallPoliciesCreateOrUpdateParameters, @@ -3794,8 +3699,7 @@ export interface FirewallPoliciesDelete { patch( options: FirewallPoliciesUpdateTagsParameters, ): StreamableMethod< - | FirewallPoliciesUpdateTags200Response - | FirewallPoliciesUpdateTagsDefaultResponse + FirewallPoliciesUpdateTags200Response | FirewallPoliciesUpdateTagsDefaultResponse >; } @@ -3803,18 +3707,14 @@ export interface FirewallPoliciesList { /** Lists all Firewall Policies in a resource group. */ get( options: FirewallPoliciesListParameters, - ): StreamableMethod< - FirewallPoliciesList200Response | FirewallPoliciesListDefaultResponse - >; + ): StreamableMethod; } export interface FirewallPoliciesListAll { /** Gets all the Firewall Policies in a subscription. */ get( options: FirewallPoliciesListAllParameters, - ): StreamableMethod< - FirewallPoliciesListAll200Response | FirewallPoliciesListAllDefaultResponse - >; + ): StreamableMethod; } export interface FirewallPolicyRuleCollectionGroupsDelete { @@ -3859,8 +3759,7 @@ export interface FirewallPolicyIdpsSignaturesList { post( options: FirewallPolicyIdpsSignaturesListParameters, ): StreamableMethod< - | FirewallPolicyIdpsSignaturesList200Response - | FirewallPolicyIdpsSignaturesListDefaultResponse + FirewallPolicyIdpsSignaturesList200Response | FirewallPolicyIdpsSignaturesListDefaultResponse >; } @@ -3921,9 +3820,7 @@ export interface IpAllocationsDelete { /** Gets the specified IpAllocation by resource group. */ get( options: IpAllocationsGetParameters, - ): StreamableMethod< - IpAllocationsGet200Response | IpAllocationsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates an IpAllocation in the specified resource group. */ put( options: IpAllocationsCreateOrUpdateParameters, @@ -3935,18 +3832,14 @@ export interface IpAllocationsDelete { /** Updates a IpAllocation tags. */ patch( options: IpAllocationsUpdateTagsParameters, - ): StreamableMethod< - IpAllocationsUpdateTags200Response | IpAllocationsUpdateTagsDefaultResponse - >; + ): StreamableMethod; } export interface IpAllocationsList { /** Gets all IpAllocations in a subscription. */ get( options: IpAllocationsListParameters, - ): StreamableMethod< - IpAllocationsList200Response | IpAllocationsListDefaultResponse - >; + ): StreamableMethod; } export interface IpAllocationsListByResourceGroup { @@ -3954,8 +3847,7 @@ export interface IpAllocationsListByResourceGroup { get( options: IpAllocationsListByResourceGroupParameters, ): StreamableMethod< - | IpAllocationsListByResourceGroup200Response - | IpAllocationsListByResourceGroupDefaultResponse + IpAllocationsListByResourceGroup200Response | IpAllocationsListByResourceGroupDefaultResponse >; } @@ -3975,9 +3867,7 @@ export interface IpGroupsGet { /** Updates tags of an IpGroups resource. */ patch( options: IpGroupsUpdateGroupsParameters, - ): StreamableMethod< - IpGroupsUpdateGroups200Response | IpGroupsUpdateGroupsDefaultResponse - >; + ): StreamableMethod; /** Deletes the specified ipGroups. */ delete( options: IpGroupsDeleteParameters, @@ -3994,8 +3884,7 @@ export interface IpGroupsListByResourceGroup { get( options: IpGroupsListByResourceGroupParameters, ): StreamableMethod< - | IpGroupsListByResourceGroup200Response - | IpGroupsListByResourceGroupDefaultResponse + IpGroupsListByResourceGroup200Response | IpGroupsListByResourceGroupDefaultResponse >; } @@ -4019,9 +3908,7 @@ export interface LoadBalancersDelete { /** Gets the specified load balancer. */ get( options: LoadBalancersGetParameters, - ): StreamableMethod< - LoadBalancersGet200Response | LoadBalancersGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a load balancer. */ put( options: LoadBalancersCreateOrUpdateParameters, @@ -4033,27 +3920,21 @@ export interface LoadBalancersDelete { /** Updates a load balancer tags. */ patch( options: LoadBalancersUpdateTagsParameters, - ): StreamableMethod< - LoadBalancersUpdateTags200Response | LoadBalancersUpdateTagsDefaultResponse - >; + ): StreamableMethod; } export interface LoadBalancersListAll { /** Gets all the load balancers in a subscription. */ get( options: LoadBalancersListAllParameters, - ): StreamableMethod< - LoadBalancersListAll200Response | LoadBalancersListAllDefaultResponse - >; + ): StreamableMethod; } export interface LoadBalancersList { /** Gets all the load balancers in a resource group. */ get( options: LoadBalancersListParameters, - ): StreamableMethod< - LoadBalancersList200Response | LoadBalancersListDefaultResponse - >; + ): StreamableMethod; } export interface LoadBalancersSwapPublicIpAddresses { @@ -4139,9 +4020,7 @@ export interface InboundNatRulesList { /** Gets all the inbound NAT rules in a load balancer. */ get( options: InboundNatRulesListParameters, - ): StreamableMethod< - InboundNatRulesList200Response | InboundNatRulesListDefaultResponse - >; + ): StreamableMethod; } export interface InboundNatRulesDelete { @@ -4157,9 +4036,7 @@ export interface InboundNatRulesDelete { /** Gets the specified load balancer inbound NAT rule. */ get( options: InboundNatRulesGetParameters, - ): StreamableMethod< - InboundNatRulesGet200Response | InboundNatRulesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a load balancer inbound NAT rule. */ put( options: InboundNatRulesCreateOrUpdateParameters, @@ -4185,8 +4062,7 @@ export interface LoadBalancerLoadBalancingRulesGet { get( options: LoadBalancerLoadBalancingRulesGetParameters, ): StreamableMethod< - | LoadBalancerLoadBalancingRulesGet200Response - | LoadBalancerLoadBalancingRulesGetDefaultResponse + LoadBalancerLoadBalancingRulesGet200Response | LoadBalancerLoadBalancingRulesGetDefaultResponse >; } @@ -4195,8 +4071,7 @@ export interface LoadBalancerOutboundRulesList { get( options: LoadBalancerOutboundRulesListParameters, ): StreamableMethod< - | LoadBalancerOutboundRulesList200Response - | LoadBalancerOutboundRulesListDefaultResponse + LoadBalancerOutboundRulesList200Response | LoadBalancerOutboundRulesListDefaultResponse >; } @@ -4205,8 +4080,7 @@ export interface LoadBalancerOutboundRulesGet { get( options: LoadBalancerOutboundRulesGetParameters, ): StreamableMethod< - | LoadBalancerOutboundRulesGet200Response - | LoadBalancerOutboundRulesGetDefaultResponse + LoadBalancerOutboundRulesGet200Response | LoadBalancerOutboundRulesGetDefaultResponse >; } @@ -4215,8 +4089,7 @@ export interface LoadBalancerNetworkInterfacesList { get( options: LoadBalancerNetworkInterfacesListParameters, ): StreamableMethod< - | LoadBalancerNetworkInterfacesList200Response - | LoadBalancerNetworkInterfacesListDefaultResponse + LoadBalancerNetworkInterfacesList200Response | LoadBalancerNetworkInterfacesListDefaultResponse >; } @@ -4224,18 +4097,14 @@ export interface LoadBalancerProbesList { /** Gets all the load balancer probes. */ get( options: LoadBalancerProbesListParameters, - ): StreamableMethod< - LoadBalancerProbesList200Response | LoadBalancerProbesListDefaultResponse - >; + ): StreamableMethod; } export interface LoadBalancerProbesGet { /** Gets load balancer probe. */ get( options: LoadBalancerProbesGetParameters, - ): StreamableMethod< - LoadBalancerProbesGet200Response | LoadBalancerProbesGetDefaultResponse - >; + ): StreamableMethod; } export interface NatGatewaysDelete { @@ -4251,9 +4120,7 @@ export interface NatGatewaysDelete { /** Gets the specified nat gateway in a specified resource group. */ get( options: NatGatewaysGetParameters, - ): StreamableMethod< - NatGatewaysGet200Response | NatGatewaysGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a nat gateway. */ put( options: NatGatewaysCreateOrUpdateParameters, @@ -4266,27 +4133,21 @@ export interface NatGatewaysDelete { /** Updates nat gateway tags. */ patch( options: NatGatewaysUpdateTagsParameters, - ): StreamableMethod< - NatGatewaysUpdateTags200Response | NatGatewaysUpdateTagsDefaultResponse - >; + ): StreamableMethod; } export interface NatGatewaysListAll { /** Gets all the Nat Gateways in a subscription. */ get( options: NatGatewaysListAllParameters, - ): StreamableMethod< - NatGatewaysListAll200Response | NatGatewaysListAllDefaultResponse - >; + ): StreamableMethod; } export interface NatGatewaysList { /** Gets all nat gateways in a resource group. */ get( options: NatGatewaysListParameters, - ): StreamableMethod< - NatGatewaysList200Response | NatGatewaysListDefaultResponse - >; + ): StreamableMethod; } export interface NetworkInterfaceIPConfigurationsList { @@ -4314,8 +4175,7 @@ export interface NetworkInterfaceLoadBalancersList { get( options: NetworkInterfaceLoadBalancersListParameters, ): StreamableMethod< - | NetworkInterfaceLoadBalancersList200Response - | NetworkInterfaceLoadBalancersListDefaultResponse + NetworkInterfaceLoadBalancersList200Response | NetworkInterfaceLoadBalancersListDefaultResponse >; } @@ -4360,9 +4220,7 @@ export interface NetworkManagersGet { /** Gets the specified Network Manager. */ get( options: NetworkManagersGetParameters, - ): StreamableMethod< - NetworkManagersGet200Response | NetworkManagersGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a Network Manager. */ put( options: NetworkManagersCreateOrUpdateParameters, @@ -4383,9 +4241,7 @@ export interface NetworkManagersGet { /** Patch NetworkManager. */ patch( options: NetworkManagersPatchParameters, - ): StreamableMethod< - NetworkManagersPatch200Response | NetworkManagersPatchDefaultResponse - >; + ): StreamableMethod; } export interface NetworkManagersListBySubscription { @@ -4393,8 +4249,7 @@ export interface NetworkManagersListBySubscription { get( options: NetworkManagersListBySubscriptionParameters, ): StreamableMethod< - | NetworkManagersListBySubscription200Response - | NetworkManagersListBySubscriptionDefaultResponse + NetworkManagersListBySubscription200Response | NetworkManagersListBySubscriptionDefaultResponse >; } @@ -4402,9 +4257,7 @@ export interface NetworkManagersList { /** List network managers in a resource group. */ get( options: NetworkManagersListParameters, - ): StreamableMethod< - NetworkManagersList200Response | NetworkManagersListDefaultResponse - >; + ): StreamableMethod; } export interface NetworkManagerCommitsPost { @@ -4505,8 +4358,7 @@ export interface ConnectivityConfigurationsGet { get( options: ConnectivityConfigurationsGetParameters, ): StreamableMethod< - | ConnectivityConfigurationsGet200Response - | ConnectivityConfigurationsGetDefaultResponse + ConnectivityConfigurationsGet200Response | ConnectivityConfigurationsGetDefaultResponse >; /** Creates/Updates a new network manager connectivity configuration */ put( @@ -4532,8 +4384,7 @@ export interface ConnectivityConfigurationsList { get( options: ConnectivityConfigurationsListParameters, ): StreamableMethod< - | ConnectivityConfigurationsList200Response - | ConnectivityConfigurationsListDefaultResponse + ConnectivityConfigurationsList200Response | ConnectivityConfigurationsListDefaultResponse >; } @@ -4541,9 +4392,7 @@ export interface NetworkGroupsGet { /** Gets the specified network group. */ get( options: NetworkGroupsGetParameters, - ): StreamableMethod< - NetworkGroupsGet200Response | NetworkGroupsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a network group. */ put( options: NetworkGroupsCreateOrUpdateParameters, @@ -4567,18 +4416,14 @@ export interface NetworkGroupsList { /** Lists the specified network group. */ get( options: NetworkGroupsListParameters, - ): StreamableMethod< - NetworkGroupsList200Response | NetworkGroupsListDefaultResponse - >; + ): StreamableMethod; } export interface StaticMembersGet { /** Gets the specified static member. */ get( options: StaticMembersGetParameters, - ): StreamableMethod< - StaticMembersGet200Response | StaticMembersGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a static member. */ put( options: StaticMembersCreateOrUpdateParameters, @@ -4601,9 +4446,7 @@ export interface StaticMembersList { /** Lists the specified static member. */ get( options: StaticMembersListParameters, - ): StreamableMethod< - StaticMembersList200Response | StaticMembersListDefaultResponse - >; + ): StreamableMethod; } export interface ScopeConnectionsCreateOrUpdate { @@ -4618,9 +4461,7 @@ export interface ScopeConnectionsCreateOrUpdate { /** Get specified scope connection created by this Network Manager. */ get( options: ScopeConnectionsGetParameters, - ): StreamableMethod< - ScopeConnectionsGet200Response | ScopeConnectionsGetDefaultResponse - >; + ): StreamableMethod; /** Delete the pending scope connection created by this network manager. */ delete( options: ScopeConnectionsDeleteParameters, @@ -4635,9 +4476,7 @@ export interface ScopeConnectionsList { /** List all scope connections created by this network manager. */ get( options: ScopeConnectionsListParameters, - ): StreamableMethod< - ScopeConnectionsList200Response | ScopeConnectionsListDefaultResponse - >; + ): StreamableMethod; } export interface SecurityAdminConfigurationsList { @@ -4645,8 +4484,7 @@ export interface SecurityAdminConfigurationsList { get( options: SecurityAdminConfigurationsListParameters, ): StreamableMethod< - | SecurityAdminConfigurationsList200Response - | SecurityAdminConfigurationsListDefaultResponse + SecurityAdminConfigurationsList200Response | SecurityAdminConfigurationsListDefaultResponse >; } @@ -4655,8 +4493,7 @@ export interface SecurityAdminConfigurationsGet { get( options: SecurityAdminConfigurationsGetParameters, ): StreamableMethod< - | SecurityAdminConfigurationsGet200Response - | SecurityAdminConfigurationsGetDefaultResponse + SecurityAdminConfigurationsGet200Response | SecurityAdminConfigurationsGetDefaultResponse >; /** Creates or updates a network manager security admin configuration. */ put( @@ -4682,8 +4519,7 @@ export interface AdminRuleCollectionsList { get( options: AdminRuleCollectionsListParameters, ): StreamableMethod< - | AdminRuleCollectionsList200Response - | AdminRuleCollectionsListDefaultResponse + AdminRuleCollectionsList200Response | AdminRuleCollectionsListDefaultResponse >; } @@ -4691,9 +4527,7 @@ export interface AdminRuleCollectionsGet { /** Gets a network manager security admin configuration rule collection. */ get( options: AdminRuleCollectionsGetParameters, - ): StreamableMethod< - AdminRuleCollectionsGet200Response | AdminRuleCollectionsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates an admin rule collection. */ put( options: AdminRuleCollectionsCreateOrUpdateParameters, @@ -4717,9 +4551,7 @@ export interface AdminRulesList { /** List all network manager security configuration admin rules. */ get( options: AdminRulesListParameters, - ): StreamableMethod< - AdminRulesList200Response | AdminRulesListDefaultResponse - >; + ): StreamableMethod; } export interface AdminRulesGet { @@ -4759,9 +4591,7 @@ export interface NetworkProfilesDelete { /** Gets the specified network profile in a specified resource group. */ get( options: NetworkProfilesGetParameters, - ): StreamableMethod< - NetworkProfilesGet200Response | NetworkProfilesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a network profile. */ put( options: NetworkProfilesCreateOrUpdateParameters, @@ -4774,8 +4604,7 @@ export interface NetworkProfilesDelete { patch( options: NetworkProfilesUpdateTagsParameters, ): StreamableMethod< - | NetworkProfilesUpdateTags200Response - | NetworkProfilesUpdateTagsDefaultResponse + NetworkProfilesUpdateTags200Response | NetworkProfilesUpdateTagsDefaultResponse >; } @@ -4783,18 +4612,14 @@ export interface NetworkProfilesListAll { /** Gets all the network profiles in a subscription. */ get( options: NetworkProfilesListAllParameters, - ): StreamableMethod< - NetworkProfilesListAll200Response | NetworkProfilesListAllDefaultResponse - >; + ): StreamableMethod; } export interface NetworkProfilesList { /** Gets all network profiles in a resource group. */ get( options: NetworkProfilesListParameters, - ): StreamableMethod< - NetworkProfilesList200Response | NetworkProfilesListDefaultResponse - >; + ): StreamableMethod; } export interface NetworkSecurityGroupsDelete { @@ -4811,8 +4636,7 @@ export interface NetworkSecurityGroupsDelete { get( options: NetworkSecurityGroupsGetParameters, ): StreamableMethod< - | NetworkSecurityGroupsGet200Response - | NetworkSecurityGroupsGetDefaultResponse + NetworkSecurityGroupsGet200Response | NetworkSecurityGroupsGetDefaultResponse >; /** Creates or updates a network security group in the specified resource group. */ put( @@ -4826,8 +4650,7 @@ export interface NetworkSecurityGroupsDelete { patch( options: NetworkSecurityGroupsUpdateTagsParameters, ): StreamableMethod< - | NetworkSecurityGroupsUpdateTags200Response - | NetworkSecurityGroupsUpdateTagsDefaultResponse + NetworkSecurityGroupsUpdateTags200Response | NetworkSecurityGroupsUpdateTagsDefaultResponse >; } @@ -4836,8 +4659,7 @@ export interface NetworkSecurityGroupsListAll { get( options: NetworkSecurityGroupsListAllParameters, ): StreamableMethod< - | NetworkSecurityGroupsListAll200Response - | NetworkSecurityGroupsListAllDefaultResponse + NetworkSecurityGroupsListAll200Response | NetworkSecurityGroupsListAllDefaultResponse >; } @@ -4846,8 +4668,7 @@ export interface NetworkSecurityGroupsList { get( options: NetworkSecurityGroupsListParameters, ): StreamableMethod< - | NetworkSecurityGroupsList200Response - | NetworkSecurityGroupsListDefaultResponse + NetworkSecurityGroupsList200Response | NetworkSecurityGroupsListDefaultResponse >; } @@ -4864,9 +4685,7 @@ export interface SecurityRulesDelete { /** Get the specified network security rule. */ get( options: SecurityRulesGetParameters, - ): StreamableMethod< - SecurityRulesGet200Response | SecurityRulesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a security rule in the specified network security group. */ put( options: SecurityRulesCreateOrUpdateParameters, @@ -4881,9 +4700,7 @@ export interface SecurityRulesList { /** Gets all security rules in a network security group. */ get( options: SecurityRulesListParameters, - ): StreamableMethod< - SecurityRulesList200Response | SecurityRulesListDefaultResponse - >; + ): StreamableMethod; } export interface DefaultSecurityRulesList { @@ -4891,8 +4708,7 @@ export interface DefaultSecurityRulesList { get( options: DefaultSecurityRulesListParameters, ): StreamableMethod< - | DefaultSecurityRulesList200Response - | DefaultSecurityRulesListDefaultResponse + DefaultSecurityRulesList200Response | DefaultSecurityRulesListDefaultResponse >; } @@ -4900,9 +4716,7 @@ export interface DefaultSecurityRulesGet { /** Get the specified default network security rule. */ get( options: DefaultSecurityRulesGetParameters, - ): StreamableMethod< - DefaultSecurityRulesGet200Response | DefaultSecurityRulesGetDefaultResponse - >; + ): StreamableMethod; } export interface NetworkVirtualAppliancesDelete { @@ -4919,8 +4733,7 @@ export interface NetworkVirtualAppliancesDelete { get( options: NetworkVirtualAppliancesGetParameters, ): StreamableMethod< - | NetworkVirtualAppliancesGet200Response - | NetworkVirtualAppliancesGetDefaultResponse + NetworkVirtualAppliancesGet200Response | NetworkVirtualAppliancesGetDefaultResponse >; /** Updates a Network Virtual Appliance. */ patch( @@ -4954,8 +4767,7 @@ export interface NetworkVirtualAppliancesList { get( options: NetworkVirtualAppliancesListParameters, ): StreamableMethod< - | NetworkVirtualAppliancesList200Response - | NetworkVirtualAppliancesListDefaultResponse + NetworkVirtualAppliancesList200Response | NetworkVirtualAppliancesListDefaultResponse >; } @@ -4973,8 +4785,7 @@ export interface VirtualApplianceSitesDelete { get( options: VirtualApplianceSitesGetParameters, ): StreamableMethod< - | VirtualApplianceSitesGet200Response - | VirtualApplianceSitesGetDefaultResponse + VirtualApplianceSitesGet200Response | VirtualApplianceSitesGetDefaultResponse >; /** Creates or updates the specified Network Virtual Appliance Site. */ put( @@ -4991,8 +4802,7 @@ export interface VirtualApplianceSitesList { get( options: VirtualApplianceSitesListParameters, ): StreamableMethod< - | VirtualApplianceSitesList200Response - | VirtualApplianceSitesListDefaultResponse + VirtualApplianceSitesList200Response | VirtualApplianceSitesListDefaultResponse >; } @@ -5001,8 +4811,7 @@ export interface VirtualApplianceSkusList { get( options: VirtualApplianceSkusListParameters, ): StreamableMethod< - | VirtualApplianceSkusList200Response - | VirtualApplianceSkusListDefaultResponse + VirtualApplianceSkusList200Response | VirtualApplianceSkusListDefaultResponse >; } @@ -5010,9 +4819,7 @@ export interface VirtualApplianceSkusGet { /** Retrieves a single available sku for network virtual appliance. */ get( options: VirtualApplianceSkusGetParameters, - ): StreamableMethod< - VirtualApplianceSkusGet200Response | VirtualApplianceSkusGetDefaultResponse - >; + ): StreamableMethod; } export interface InboundSecurityRuleCreateOrUpdate { @@ -5038,9 +4845,7 @@ export interface NetworkWatchersCreateOrUpdate { /** Gets the specified network watcher by resource group. */ get( options: NetworkWatchersGetParameters, - ): StreamableMethod< - NetworkWatchersGet200Response | NetworkWatchersGetDefaultResponse - >; + ): StreamableMethod; /** Deletes the specified network watcher resource. */ delete( options: NetworkWatchersDeleteParameters, @@ -5053,8 +4858,7 @@ export interface NetworkWatchersCreateOrUpdate { patch( options: NetworkWatchersUpdateTagsParameters, ): StreamableMethod< - | NetworkWatchersUpdateTags200Response - | NetworkWatchersUpdateTagsDefaultResponse + NetworkWatchersUpdateTags200Response | NetworkWatchersUpdateTagsDefaultResponse >; } @@ -5062,18 +4866,14 @@ export interface NetworkWatchersList { /** Gets all network watchers by resource group. */ get( options: NetworkWatchersListParameters, - ): StreamableMethod< - NetworkWatchersList200Response | NetworkWatchersListDefaultResponse - >; + ): StreamableMethod; } export interface NetworkWatchersListAll { /** Gets all network watchers by subscription. */ get( options: NetworkWatchersListAllParameters, - ): StreamableMethod< - NetworkWatchersListAll200Response | NetworkWatchersListAllDefaultResponse - >; + ): StreamableMethod; } export interface NetworkWatchersGetTopology { @@ -5081,8 +4881,7 @@ export interface NetworkWatchersGetTopology { post( options: NetworkWatchersGetTopologyParameters, ): StreamableMethod< - | NetworkWatchersGetTopology200Response - | NetworkWatchersGetTopologyDefaultResponse + NetworkWatchersGetTopology200Response | NetworkWatchersGetTopologyDefaultResponse >; } @@ -5211,15 +5010,11 @@ export interface PacketCapturesCreate { /** Create and start a packet capture on the specified VM. */ put( options: PacketCapturesCreateParameters, - ): StreamableMethod< - PacketCapturesCreate201Response | PacketCapturesCreateDefaultResponse - >; + ): StreamableMethod; /** Gets a packet capture session by name. */ get( options: PacketCapturesGetParameters, - ): StreamableMethod< - PacketCapturesGet200Response | PacketCapturesGetDefaultResponse - >; + ): StreamableMethod; /** Deletes the specified packet capture session. */ delete( options: PacketCapturesDeleteParameters, @@ -5256,9 +5051,7 @@ export interface PacketCapturesList { /** Lists all packet capture sessions within the specified resource group. */ get( options: PacketCapturesListParameters, - ): StreamableMethod< - PacketCapturesList200Response | PacketCapturesListDefaultResponse - >; + ): StreamableMethod; } export interface ConnectionMonitorsCreateOrUpdate { @@ -5273,9 +5066,7 @@ export interface ConnectionMonitorsCreateOrUpdate { /** Gets a connection monitor by name. */ get( options: ConnectionMonitorsGetParameters, - ): StreamableMethod< - ConnectionMonitorsGet200Response | ConnectionMonitorsGetDefaultResponse - >; + ): StreamableMethod; /** Deletes the specified connection monitor. */ delete( options: ConnectionMonitorsDeleteParameters, @@ -5288,8 +5079,7 @@ export interface ConnectionMonitorsCreateOrUpdate { patch( options: ConnectionMonitorsUpdateTagsParameters, ): StreamableMethod< - | ConnectionMonitorsUpdateTags200Response - | ConnectionMonitorsUpdateTagsDefaultResponse + ConnectionMonitorsUpdateTags200Response | ConnectionMonitorsUpdateTagsDefaultResponse >; } @@ -5330,9 +5120,7 @@ export interface ConnectionMonitorsList { /** Lists all connection monitors for the specified Network Watcher. */ get( options: ConnectionMonitorsListParameters, - ): StreamableMethod< - ConnectionMonitorsList200Response | ConnectionMonitorsListDefaultResponse - >; + ): StreamableMethod; } export interface FlowLogsCreateOrUpdate { @@ -5347,9 +5135,7 @@ export interface FlowLogsCreateOrUpdate { /** Update tags of the specified flow log. */ patch( options: FlowLogsUpdateTagsParameters, - ): StreamableMethod< - FlowLogsUpdateTags200Response | FlowLogsUpdateTagsDefaultResponse - >; + ): StreamableMethod; /** Gets a flow log resource by name. */ get( options: FlowLogsGetParameters, @@ -5358,9 +5144,7 @@ export interface FlowLogsCreateOrUpdate { delete( options: FlowLogsDeleteParameters, ): StreamableMethod< - | FlowLogsDelete202Response - | FlowLogsDelete204Response - | FlowLogsDeleteDefaultResponse + FlowLogsDelete202Response | FlowLogsDelete204Response | FlowLogsDeleteDefaultResponse >; } @@ -5375,9 +5159,7 @@ export interface OperationsList { /** Lists all of the available Network Rest API operations. */ get( options: OperationsListParameters, - ): StreamableMethod< - OperationsList200Response | OperationsListDefaultResponse - >; + ): StreamableMethod; } export interface PrivateEndpointsDelete { @@ -5393,9 +5175,7 @@ export interface PrivateEndpointsDelete { /** Gets the specified private endpoint by resource group. */ get( options: PrivateEndpointsGetParameters, - ): StreamableMethod< - PrivateEndpointsGet200Response | PrivateEndpointsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates an private endpoint in the specified resource group. */ put( options: PrivateEndpointsCreateOrUpdateParameters, @@ -5410,9 +5190,7 @@ export interface PrivateEndpointsList { /** Gets all private endpoints in a resource group. */ get( options: PrivateEndpointsListParameters, - ): StreamableMethod< - PrivateEndpointsList200Response | PrivateEndpointsListDefaultResponse - >; + ): StreamableMethod; } export interface PrivateEndpointsListBySubscription { @@ -5430,8 +5208,7 @@ export interface AvailablePrivateEndpointTypesList { get( options: AvailablePrivateEndpointTypesListParameters, ): StreamableMethod< - | AvailablePrivateEndpointTypesList200Response - | AvailablePrivateEndpointTypesListDefaultResponse + AvailablePrivateEndpointTypesList200Response | AvailablePrivateEndpointTypesListDefaultResponse >; } @@ -5458,9 +5235,7 @@ export interface PrivateDnsZoneGroupsDelete { /** Gets the private dns zone group resource by specified private dns zone group name. */ get( options: PrivateDnsZoneGroupsGetParameters, - ): StreamableMethod< - PrivateDnsZoneGroupsGet200Response | PrivateDnsZoneGroupsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a private dns zone group in the specified private endpoint. */ put( options: PrivateDnsZoneGroupsCreateOrUpdateParameters, @@ -5476,8 +5251,7 @@ export interface PrivateDnsZoneGroupsList { get( options: PrivateDnsZoneGroupsListParameters, ): StreamableMethod< - | PrivateDnsZoneGroupsList200Response - | PrivateDnsZoneGroupsListDefaultResponse + PrivateDnsZoneGroupsList200Response | PrivateDnsZoneGroupsListDefaultResponse >; } @@ -5494,9 +5268,7 @@ export interface PrivateLinkServicesDelete { /** Gets the specified private link service by resource group. */ get( options: PrivateLinkServicesGetParameters, - ): StreamableMethod< - PrivateLinkServicesGet200Response | PrivateLinkServicesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates an private link service in the specified resource group. */ put( options: PrivateLinkServicesCreateOrUpdateParameters, @@ -5511,9 +5283,7 @@ export interface PrivateLinkServicesList { /** Gets all private link services in a resource group. */ get( options: PrivateLinkServicesListParameters, - ): StreamableMethod< - PrivateLinkServicesList200Response | PrivateLinkServicesListDefaultResponse - >; + ): StreamableMethod; } export interface PrivateLinkServicesListBySubscription { @@ -5617,9 +5387,7 @@ export interface PublicIPPrefixesDelete { /** Gets the specified public IP prefix in a specified resource group. */ get( options: PublicIPPrefixesGetParameters, - ): StreamableMethod< - PublicIPPrefixesGet200Response | PublicIPPrefixesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a static or dynamic public IP prefix. */ put( options: PublicIPPrefixesCreateOrUpdateParameters, @@ -5632,8 +5400,7 @@ export interface PublicIPPrefixesDelete { patch( options: PublicIPPrefixesUpdateTagsParameters, ): StreamableMethod< - | PublicIPPrefixesUpdateTags200Response - | PublicIPPrefixesUpdateTagsDefaultResponse + PublicIPPrefixesUpdateTags200Response | PublicIPPrefixesUpdateTagsDefaultResponse >; } @@ -5641,18 +5408,14 @@ export interface PublicIPPrefixesListAll { /** Gets all the public IP prefixes in a subscription. */ get( options: PublicIPPrefixesListAllParameters, - ): StreamableMethod< - PublicIPPrefixesListAll200Response | PublicIPPrefixesListAllDefaultResponse - >; + ): StreamableMethod; } export interface PublicIPPrefixesList { /** Gets all public IP prefixes in a resource group. */ get( options: PublicIPPrefixesListParameters, - ): StreamableMethod< - PublicIPPrefixesList200Response | PublicIPPrefixesListDefaultResponse - >; + ): StreamableMethod; } export interface RouteFiltersDelete { @@ -5668,9 +5431,7 @@ export interface RouteFiltersDelete { /** Gets the specified route filter. */ get( options: RouteFiltersGetParameters, - ): StreamableMethod< - RouteFiltersGet200Response | RouteFiltersGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a route filter in a specified resource group. */ put( options: RouteFiltersCreateOrUpdateParameters, @@ -5682,9 +5443,7 @@ export interface RouteFiltersDelete { /** Updates tags of a route filter. */ patch( options: RouteFiltersUpdateTagsParameters, - ): StreamableMethod< - RouteFiltersUpdateTags200Response | RouteFiltersUpdateTagsDefaultResponse - >; + ): StreamableMethod; } export interface RouteFiltersListByResourceGroup { @@ -5692,8 +5451,7 @@ export interface RouteFiltersListByResourceGroup { get( options: RouteFiltersListByResourceGroupParameters, ): StreamableMethod< - | RouteFiltersListByResourceGroup200Response - | RouteFiltersListByResourceGroupDefaultResponse + RouteFiltersListByResourceGroup200Response | RouteFiltersListByResourceGroupDefaultResponse >; } @@ -5701,9 +5459,7 @@ export interface RouteFiltersList { /** Gets all route filters in a subscription. */ get( options: RouteFiltersListParameters, - ): StreamableMethod< - RouteFiltersList200Response | RouteFiltersListDefaultResponse - >; + ): StreamableMethod; } export interface RouteFilterRulesDelete { @@ -5719,9 +5475,7 @@ export interface RouteFilterRulesDelete { /** Gets the specified rule from a route filter. */ get( options: RouteFilterRulesGetParameters, - ): StreamableMethod< - RouteFilterRulesGet200Response | RouteFilterRulesGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a route in the specified route filter. */ put( options: RouteFilterRulesCreateOrUpdateParameters, @@ -5737,8 +5491,7 @@ export interface RouteFilterRulesListByRouteFilter { get( options: RouteFilterRulesListByRouteFilterParameters, ): StreamableMethod< - | RouteFilterRulesListByRouteFilter200Response - | RouteFilterRulesListByRouteFilterDefaultResponse + RouteFilterRulesListByRouteFilter200Response | RouteFilterRulesListByRouteFilterDefaultResponse >; } @@ -5755,9 +5508,7 @@ export interface RouteTablesDelete { /** Gets the specified route table. */ get( options: RouteTablesGetParameters, - ): StreamableMethod< - RouteTablesGet200Response | RouteTablesGetDefaultResponse - >; + ): StreamableMethod; /** Create or updates a route table in a specified resource group. */ put( options: RouteTablesCreateOrUpdateParameters, @@ -5769,27 +5520,21 @@ export interface RouteTablesDelete { /** Updates a route table tags. */ patch( options: RouteTablesUpdateTagsParameters, - ): StreamableMethod< - RouteTablesUpdateTags200Response | RouteTablesUpdateTagsDefaultResponse - >; + ): StreamableMethod; } export interface RouteTablesList { /** Gets all route tables in a resource group. */ get( options: RouteTablesListParameters, - ): StreamableMethod< - RouteTablesList200Response | RouteTablesListDefaultResponse - >; + ): StreamableMethod; } export interface RouteTablesListAll { /** Gets all route tables in a subscription. */ get( options: RouteTablesListAllParameters, - ): StreamableMethod< - RouteTablesListAll200Response | RouteTablesListAllDefaultResponse - >; + ): StreamableMethod; } export interface RoutesDelete { @@ -5837,8 +5582,7 @@ export interface SecurityPartnerProvidersDelete { get( options: SecurityPartnerProvidersGetParameters, ): StreamableMethod< - | SecurityPartnerProvidersGet200Response - | SecurityPartnerProvidersGetDefaultResponse + SecurityPartnerProvidersGet200Response | SecurityPartnerProvidersGetDefaultResponse >; /** Creates or updates the specified Security Partner Provider. */ put( @@ -5872,8 +5616,7 @@ export interface SecurityPartnerProvidersList { get( options: SecurityPartnerProvidersListParameters, ): StreamableMethod< - | SecurityPartnerProvidersList200Response - | SecurityPartnerProvidersListDefaultResponse + SecurityPartnerProvidersList200Response | SecurityPartnerProvidersListDefaultResponse >; } @@ -5882,8 +5625,7 @@ export interface BgpServiceCommunitiesList { get( options: BgpServiceCommunitiesListParameters, ): StreamableMethod< - | BgpServiceCommunitiesList200Response - | BgpServiceCommunitiesListDefaultResponse + BgpServiceCommunitiesList200Response | BgpServiceCommunitiesListDefaultResponse >; } @@ -5901,8 +5643,7 @@ export interface ServiceEndpointPoliciesDelete { get( options: ServiceEndpointPoliciesGetParameters, ): StreamableMethod< - | ServiceEndpointPoliciesGet200Response - | ServiceEndpointPoliciesGetDefaultResponse + ServiceEndpointPoliciesGet200Response | ServiceEndpointPoliciesGetDefaultResponse >; /** Creates or updates a service Endpoint Policies. */ put( @@ -5916,8 +5657,7 @@ export interface ServiceEndpointPoliciesDelete { patch( options: ServiceEndpointPoliciesUpdateTagsParameters, ): StreamableMethod< - | ServiceEndpointPoliciesUpdateTags200Response - | ServiceEndpointPoliciesUpdateTagsDefaultResponse + ServiceEndpointPoliciesUpdateTags200Response | ServiceEndpointPoliciesUpdateTagsDefaultResponse >; } @@ -5926,8 +5666,7 @@ export interface ServiceEndpointPoliciesList { get( options: ServiceEndpointPoliciesListParameters, ): StreamableMethod< - | ServiceEndpointPoliciesList200Response - | ServiceEndpointPoliciesListDefaultResponse + ServiceEndpointPoliciesList200Response | ServiceEndpointPoliciesListDefaultResponse >; } @@ -5982,9 +5721,7 @@ export interface ServiceTagsList { /** Gets a list of service tag information resources. */ get( options: ServiceTagsListParameters, - ): StreamableMethod< - ServiceTagsList200Response | ServiceTagsListDefaultResponse - >; + ): StreamableMethod; } export interface ServiceTagInformationList { @@ -5992,8 +5729,7 @@ export interface ServiceTagInformationList { get( options: ServiceTagInformationListParameters, ): StreamableMethod< - | ServiceTagInformationList200Response - | ServiceTagInformationListDefaultResponse + ServiceTagInformationList200Response | ServiceTagInformationListDefaultResponse >; } @@ -6017,9 +5753,7 @@ export interface VirtualNetworksDelete { /** Gets the specified virtual network by resource group. */ get( options: VirtualNetworksGetParameters, - ): StreamableMethod< - VirtualNetworksGet200Response | VirtualNetworksGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a virtual network in the specified resource group. */ put( options: VirtualNetworksCreateOrUpdateParameters, @@ -6032,8 +5766,7 @@ export interface VirtualNetworksDelete { patch( options: VirtualNetworksUpdateTagsParameters, ): StreamableMethod< - | VirtualNetworksUpdateTags200Response - | VirtualNetworksUpdateTagsDefaultResponse + VirtualNetworksUpdateTags200Response | VirtualNetworksUpdateTagsDefaultResponse >; } @@ -6041,18 +5774,14 @@ export interface VirtualNetworksListAll { /** Gets all virtual networks in a subscription. */ get( options: VirtualNetworksListAllParameters, - ): StreamableMethod< - VirtualNetworksListAll200Response | VirtualNetworksListAllDefaultResponse - >; + ): StreamableMethod; } export interface VirtualNetworksList { /** Gets all virtual networks in a resource group. */ get( options: VirtualNetworksListParameters, - ): StreamableMethod< - VirtualNetworksList200Response | VirtualNetworksListDefaultResponse - >; + ): StreamableMethod; } export interface VirtualNetworksCheckIPAddressAvailability { @@ -6070,8 +5799,7 @@ export interface VirtualNetworksListUsage { get( options: VirtualNetworksListUsageParameters, ): StreamableMethod< - | VirtualNetworksListUsage200Response - | VirtualNetworksListUsageDefaultResponse + VirtualNetworksListUsage200Response | VirtualNetworksListUsageDefaultResponse >; } @@ -6144,8 +5872,7 @@ export interface ResourceNavigationLinksList { get( options: ResourceNavigationLinksListParameters, ): StreamableMethod< - | ResourceNavigationLinksList200Response - | ResourceNavigationLinksListDefaultResponse + ResourceNavigationLinksList200Response | ResourceNavigationLinksListDefaultResponse >; } @@ -6154,8 +5881,7 @@ export interface ServiceAssociationLinksList { get( options: ServiceAssociationLinksListParameters, ): StreamableMethod< - | ServiceAssociationLinksList200Response - | ServiceAssociationLinksListDefaultResponse + ServiceAssociationLinksList200Response | ServiceAssociationLinksListDefaultResponse >; } @@ -6173,8 +5899,7 @@ export interface VirtualNetworkPeeringsDelete { get( options: VirtualNetworkPeeringsGetParameters, ): StreamableMethod< - | VirtualNetworkPeeringsGet200Response - | VirtualNetworkPeeringsGetDefaultResponse + VirtualNetworkPeeringsGet200Response | VirtualNetworkPeeringsGetDefaultResponse >; /** Creates or updates a peering in the specified virtual network. */ put( @@ -6191,8 +5916,7 @@ export interface VirtualNetworkPeeringsList { get( options: VirtualNetworkPeeringsListParameters, ): StreamableMethod< - | VirtualNetworkPeeringsList200Response - | VirtualNetworkPeeringsListDefaultResponse + VirtualNetworkPeeringsList200Response | VirtualNetworkPeeringsListDefaultResponse >; } @@ -6209,8 +5933,7 @@ export interface VirtualNetworkGatewaysCreateOrUpdate { get( options: VirtualNetworkGatewaysGetParameters, ): StreamableMethod< - | VirtualNetworkGatewaysGet200Response - | VirtualNetworkGatewaysGetDefaultResponse + VirtualNetworkGatewaysGet200Response | VirtualNetworkGatewaysGetDefaultResponse >; /** Deletes the specified virtual network gateway. */ delete( @@ -6236,8 +5959,7 @@ export interface VirtualNetworkGatewaysList { get( options: VirtualNetworkGatewaysListParameters, ): StreamableMethod< - | VirtualNetworkGatewaysList200Response - | VirtualNetworkGatewaysListDefaultResponse + VirtualNetworkGatewaysList200Response | VirtualNetworkGatewaysListDefaultResponse >; } @@ -6553,9 +6275,7 @@ export interface LocalNetworkGatewaysCreateOrUpdate { /** Gets the specified local network gateway in a resource group. */ get( options: LocalNetworkGatewaysGetParameters, - ): StreamableMethod< - LocalNetworkGatewaysGet200Response | LocalNetworkGatewaysGetDefaultResponse - >; + ): StreamableMethod; /** Deletes the specified local network gateway. */ delete( options: LocalNetworkGatewaysDeleteParameters, @@ -6569,8 +6289,7 @@ export interface LocalNetworkGatewaysCreateOrUpdate { patch( options: LocalNetworkGatewaysUpdateTagsParameters, ): StreamableMethod< - | LocalNetworkGatewaysUpdateTags200Response - | LocalNetworkGatewaysUpdateTagsDefaultResponse + LocalNetworkGatewaysUpdateTags200Response | LocalNetworkGatewaysUpdateTagsDefaultResponse >; } @@ -6579,8 +6298,7 @@ export interface LocalNetworkGatewaysList { get( options: LocalNetworkGatewaysListParameters, ): StreamableMethod< - | LocalNetworkGatewaysList200Response - | LocalNetworkGatewaysListDefaultResponse + LocalNetworkGatewaysList200Response | LocalNetworkGatewaysListDefaultResponse >; } @@ -6589,8 +6307,7 @@ export interface VirtualNetworkGatewayNatRulesGet { get( options: VirtualNetworkGatewayNatRulesGetParameters, ): StreamableMethod< - | VirtualNetworkGatewayNatRulesGet200Response - | VirtualNetworkGatewayNatRulesGetDefaultResponse + VirtualNetworkGatewayNatRulesGet200Response | VirtualNetworkGatewayNatRulesGetDefaultResponse >; /** Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. */ put( @@ -6634,9 +6351,7 @@ export interface VirtualNetworkTapsDelete { /** Gets information about the specified virtual network tap. */ get( options: VirtualNetworkTapsGetParameters, - ): StreamableMethod< - VirtualNetworkTapsGet200Response | VirtualNetworkTapsGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates a Virtual Network Tap. */ put( options: VirtualNetworkTapsCreateOrUpdateParameters, @@ -6649,8 +6364,7 @@ export interface VirtualNetworkTapsDelete { patch( options: VirtualNetworkTapsUpdateTagsParameters, ): StreamableMethod< - | VirtualNetworkTapsUpdateTags200Response - | VirtualNetworkTapsUpdateTagsDefaultResponse + VirtualNetworkTapsUpdateTags200Response | VirtualNetworkTapsUpdateTagsDefaultResponse >; } @@ -6659,8 +6373,7 @@ export interface VirtualNetworkTapsListAll { get( options: VirtualNetworkTapsListAllParameters, ): StreamableMethod< - | VirtualNetworkTapsListAll200Response - | VirtualNetworkTapsListAllDefaultResponse + VirtualNetworkTapsListAll200Response | VirtualNetworkTapsListAllDefaultResponse >; } @@ -6687,9 +6400,7 @@ export interface VirtualRoutersDelete { /** Gets the specified Virtual Router. */ get( options: VirtualRoutersGetParameters, - ): StreamableMethod< - VirtualRoutersGet200Response | VirtualRoutersGetDefaultResponse - >; + ): StreamableMethod; /** Creates or updates the specified Virtual Router. */ put( options: VirtualRoutersCreateOrUpdateParameters, @@ -6705,8 +6416,7 @@ export interface VirtualRoutersListByResourceGroup { get( options: VirtualRoutersListByResourceGroupParameters, ): StreamableMethod< - | VirtualRoutersListByResourceGroup200Response - | VirtualRoutersListByResourceGroupDefaultResponse + VirtualRoutersListByResourceGroup200Response | VirtualRoutersListByResourceGroupDefaultResponse >; } @@ -6714,9 +6424,7 @@ export interface VirtualRoutersList { /** Gets all the Virtual Routers in a subscription. */ get( options: VirtualRoutersListParameters, - ): StreamableMethod< - VirtualRoutersList200Response | VirtualRoutersListDefaultResponse - >; + ): StreamableMethod; } export interface VirtualRouterPeeringsDelete { @@ -6733,8 +6441,7 @@ export interface VirtualRouterPeeringsDelete { get( options: VirtualRouterPeeringsGetParameters, ): StreamableMethod< - | VirtualRouterPeeringsGet200Response - | VirtualRouterPeeringsGetDefaultResponse + VirtualRouterPeeringsGet200Response | VirtualRouterPeeringsGetDefaultResponse >; /** Creates or updates the specified Virtual Router Peering. */ put( @@ -6751,8 +6458,7 @@ export interface VirtualRouterPeeringsList { get( options: VirtualRouterPeeringsListParameters, ): StreamableMethod< - | VirtualRouterPeeringsList200Response - | VirtualRouterPeeringsListDefaultResponse + VirtualRouterPeeringsList200Response | VirtualRouterPeeringsListDefaultResponse >; } @@ -6760,9 +6466,7 @@ export interface VirtualWansGet { /** Retrieves the details of a VirtualWAN. */ get( options: VirtualWansGetParameters, - ): StreamableMethod< - VirtualWansGet200Response | VirtualWansGetDefaultResponse - >; + ): StreamableMethod; /** Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. */ put( options: VirtualWansCreateOrUpdateParameters, @@ -6774,9 +6478,7 @@ export interface VirtualWansGet { /** Updates a VirtualWAN tags. */ patch( options: VirtualWansUpdateTagsParameters, - ): StreamableMethod< - VirtualWansUpdateTags200Response | VirtualWansUpdateTagsDefaultResponse - >; + ): StreamableMethod; /** Deletes a VirtualWAN. */ delete( options: VirtualWansDeleteParameters, @@ -6793,8 +6495,7 @@ export interface VirtualWansListByResourceGroup { get( options: VirtualWansListByResourceGroupParameters, ): StreamableMethod< - | VirtualWansListByResourceGroup200Response - | VirtualWansListByResourceGroupDefaultResponse + VirtualWansListByResourceGroup200Response | VirtualWansListByResourceGroupDefaultResponse >; } @@ -6802,9 +6503,7 @@ export interface VirtualWansList { /** Lists all the VirtualWANs in a subscription. */ get( options: VirtualWansListParameters, - ): StreamableMethod< - VirtualWansList200Response | VirtualWansListDefaultResponse - >; + ): StreamableMethod; } export interface VpnSitesGet { @@ -6823,9 +6522,7 @@ export interface VpnSitesGet { /** Updates VpnSite tags. */ patch( options: VpnSitesUpdateTagsParameters, - ): StreamableMethod< - VpnSitesUpdateTags200Response | VpnSitesUpdateTagsDefaultResponse - >; + ): StreamableMethod; /** Deletes a VpnSite. */ delete( options: VpnSitesDeleteParameters, @@ -6842,8 +6539,7 @@ export interface VpnSitesListByResourceGroup { get( options: VpnSitesListByResourceGroupParameters, ): StreamableMethod< - | VpnSitesListByResourceGroup200Response - | VpnSitesListByResourceGroupDefaultResponse + VpnSitesListByResourceGroup200Response | VpnSitesListByResourceGroupDefaultResponse >; } @@ -6858,9 +6554,7 @@ export interface VpnSiteLinksGet { /** Retrieves the details of a VPN site link. */ get( options: VpnSiteLinksGetParameters, - ): StreamableMethod< - VpnSiteLinksGet200Response | VpnSiteLinksGetDefaultResponse - >; + ): StreamableMethod; } export interface VpnSiteLinksListByVpnSite { @@ -6868,8 +6562,7 @@ export interface VpnSiteLinksListByVpnSite { get( options: VpnSiteLinksListByVpnSiteParameters, ): StreamableMethod< - | VpnSiteLinksListByVpnSite200Response - | VpnSiteLinksListByVpnSiteDefaultResponse + VpnSiteLinksListByVpnSite200Response | VpnSiteLinksListByVpnSiteDefaultResponse >; } @@ -6889,8 +6582,7 @@ export interface VpnServerConfigurationsGet { get( options: VpnServerConfigurationsGetParameters, ): StreamableMethod< - | VpnServerConfigurationsGet200Response - | VpnServerConfigurationsGetDefaultResponse + VpnServerConfigurationsGet200Response | VpnServerConfigurationsGetDefaultResponse >; /** Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. */ put( @@ -6904,8 +6596,7 @@ export interface VpnServerConfigurationsGet { patch( options: VpnServerConfigurationsUpdateTagsParameters, ): StreamableMethod< - | VpnServerConfigurationsUpdateTags200Response - | VpnServerConfigurationsUpdateTagsDefaultResponse + VpnServerConfigurationsUpdateTags200Response | VpnServerConfigurationsUpdateTagsDefaultResponse >; /** Deletes a VpnServerConfiguration. */ delete( @@ -6933,8 +6624,7 @@ export interface VpnServerConfigurationsList { get( options: VpnServerConfigurationsListParameters, ): StreamableMethod< - | VpnServerConfigurationsList200Response - | VpnServerConfigurationsListDefaultResponse + VpnServerConfigurationsList200Response | VpnServerConfigurationsListDefaultResponse >; } @@ -6960,8 +6650,7 @@ export interface ConfigurationPolicyGroupsCreateOrUpdate { get( options: ConfigurationPolicyGroupsGetParameters, ): StreamableMethod< - | ConfigurationPolicyGroupsGet200Response - | ConfigurationPolicyGroupsGetDefaultResponse + ConfigurationPolicyGroupsGet200Response | ConfigurationPolicyGroupsGetDefaultResponse >; } @@ -6979,9 +6668,7 @@ export interface VirtualHubsGet { /** Retrieves the details of a VirtualHub. */ get( options: VirtualHubsGetParameters, - ): StreamableMethod< - VirtualHubsGet200Response | VirtualHubsGetDefaultResponse - >; + ): StreamableMethod; /** Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. */ put( options: VirtualHubsCreateOrUpdateParameters, @@ -6993,9 +6680,7 @@ export interface VirtualHubsGet { /** Updates VirtualHub tags. */ patch( options: VirtualHubsUpdateTagsParameters, - ): StreamableMethod< - VirtualHubsUpdateTags200Response | VirtualHubsUpdateTagsDefaultResponse - >; + ): StreamableMethod; /** Deletes a VirtualHub. */ delete( options: VirtualHubsDeleteParameters, @@ -7012,8 +6697,7 @@ export interface VirtualHubsListByResourceGroup { get( options: VirtualHubsListByResourceGroupParameters, ): StreamableMethod< - | VirtualHubsListByResourceGroup200Response - | VirtualHubsListByResourceGroupDefaultResponse + VirtualHubsListByResourceGroup200Response | VirtualHubsListByResourceGroupDefaultResponse >; } @@ -7021,9 +6705,7 @@ export interface VirtualHubsList { /** Lists all the VirtualHubs in a subscription. */ get( options: VirtualHubsListParameters, - ): StreamableMethod< - VirtualHubsList200Response | VirtualHubsListDefaultResponse - >; + ): StreamableMethod; } export interface VirtualHubsGetEffectiveVirtualHubRoutes { @@ -7112,8 +6794,7 @@ export interface HubVirtualNetworkConnectionsCreateOrUpdate { get( options: HubVirtualNetworkConnectionsGetParameters, ): StreamableMethod< - | HubVirtualNetworkConnectionsGet200Response - | HubVirtualNetworkConnectionsGetDefaultResponse + HubVirtualNetworkConnectionsGet200Response | HubVirtualNetworkConnectionsGetDefaultResponse >; } @@ -7122,8 +6803,7 @@ export interface HubVirtualNetworkConnectionsList { get( options: HubVirtualNetworkConnectionsListParameters, ): StreamableMethod< - | HubVirtualNetworkConnectionsList200Response - | HubVirtualNetworkConnectionsListDefaultResponse + HubVirtualNetworkConnectionsList200Response | HubVirtualNetworkConnectionsListDefaultResponse >; } @@ -7131,9 +6811,7 @@ export interface VpnGatewaysGet { /** Retrieves the details of a virtual wan vpn gateway. */ get( options: VpnGatewaysGetParameters, - ): StreamableMethod< - VpnGatewaysGet200Response | VpnGatewaysGetDefaultResponse - >; + ): StreamableMethod; /** Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. */ put( options: VpnGatewaysCreateOrUpdateParameters, @@ -7166,9 +6844,7 @@ export interface VpnGatewaysReset { post( options: VpnGatewaysResetParameters, ): StreamableMethod< - | VpnGatewaysReset200Response - | VpnGatewaysReset202Response - | VpnGatewaysResetDefaultResponse + VpnGatewaysReset200Response | VpnGatewaysReset202Response | VpnGatewaysResetDefaultResponse >; } @@ -7199,8 +6875,7 @@ export interface VpnGatewaysListByResourceGroup { get( options: VpnGatewaysListByResourceGroupParameters, ): StreamableMethod< - | VpnGatewaysListByResourceGroup200Response - | VpnGatewaysListByResourceGroupDefaultResponse + VpnGatewaysListByResourceGroup200Response | VpnGatewaysListByResourceGroupDefaultResponse >; } @@ -7208,9 +6883,7 @@ export interface VpnGatewaysList { /** Lists all the VpnGateways in a subscription. */ get( options: VpnGatewaysListParameters, - ): StreamableMethod< - VpnGatewaysList200Response | VpnGatewaysListDefaultResponse - >; + ): StreamableMethod; } export interface VpnLinkConnectionsResetConnection { @@ -7218,8 +6891,7 @@ export interface VpnLinkConnectionsResetConnection { post( options: VpnLinkConnectionsResetConnectionParameters, ): StreamableMethod< - | VpnLinkConnectionsResetConnection202Response - | VpnLinkConnectionsResetConnectionDefaultResponse + VpnLinkConnectionsResetConnection202Response | VpnLinkConnectionsResetConnectionDefaultResponse >; } @@ -7248,9 +6920,7 @@ export interface VpnConnectionsGet { /** Retrieves the details of a vpn connection. */ get( options: VpnConnectionsGetParameters, - ): StreamableMethod< - VpnConnectionsGet200Response | VpnConnectionsGetDefaultResponse - >; + ): StreamableMethod; /** Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. */ put( options: VpnConnectionsCreateOrUpdateParameters, @@ -7297,8 +6967,7 @@ export interface VpnConnectionsListByVpnGateway { get( options: VpnConnectionsListByVpnGatewayParameters, ): StreamableMethod< - | VpnConnectionsListByVpnGateway200Response - | VpnConnectionsListByVpnGatewayDefaultResponse + VpnConnectionsListByVpnGateway200Response | VpnConnectionsListByVpnGatewayDefaultResponse >; } @@ -7307,8 +6976,7 @@ export interface VpnSiteLinkConnectionsGet { get( options: VpnSiteLinkConnectionsGetParameters, ): StreamableMethod< - | VpnSiteLinkConnectionsGet200Response - | VpnSiteLinkConnectionsGetDefaultResponse + VpnSiteLinkConnectionsGet200Response | VpnSiteLinkConnectionsGetDefaultResponse >; } @@ -7341,8 +7009,7 @@ export interface NatRulesListByVpnGateway { get( options: NatRulesListByVpnGatewayParameters, ): StreamableMethod< - | NatRulesListByVpnGateway200Response - | NatRulesListByVpnGatewayDefaultResponse + NatRulesListByVpnGateway200Response | NatRulesListByVpnGatewayDefaultResponse >; } @@ -7350,9 +7017,7 @@ export interface P2SVpnGatewaysGet { /** Retrieves the details of a virtual wan p2s vpn gateway. */ get( options: P2SVpnGatewaysGetParameters, - ): StreamableMethod< - P2SVpnGatewaysGet200Response | P2SVpnGatewaysGetDefaultResponse - >; + ): StreamableMethod; /** Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. */ put( options: P2SVpnGatewaysCreateOrUpdateParameters, @@ -7385,8 +7050,7 @@ export interface P2SVpnGatewaysListByResourceGroup { get( options: P2SVpnGatewaysListByResourceGroupParameters, ): StreamableMethod< - | P2SVpnGatewaysListByResourceGroup200Response - | P2SVpnGatewaysListByResourceGroupDefaultResponse + P2SVpnGatewaysListByResourceGroup200Response | P2SVpnGatewaysListByResourceGroupDefaultResponse >; } @@ -7394,9 +7058,7 @@ export interface P2SVpnGatewaysList { /** Lists all the P2SVpnGateways in a subscription. */ get( options: P2SVpnGatewaysListParameters, - ): StreamableMethod< - P2SVpnGatewaysList200Response | P2SVpnGatewaysListDefaultResponse - >; + ): StreamableMethod; } export interface P2SVpnGatewaysReset { @@ -7470,8 +7132,7 @@ export interface VirtualHubRouteTableV2SGet { get( options: VirtualHubRouteTableV2SGetParameters, ): StreamableMethod< - | VirtualHubRouteTableV2SGet200Response - | VirtualHubRouteTableV2SGetDefaultResponse + VirtualHubRouteTableV2SGet200Response | VirtualHubRouteTableV2SGetDefaultResponse >; /** Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. */ put( @@ -7497,8 +7158,7 @@ export interface VirtualHubRouteTableV2SList { get( options: VirtualHubRouteTableV2SListParameters, ): StreamableMethod< - | VirtualHubRouteTableV2SList200Response - | VirtualHubRouteTableV2SListDefaultResponse + VirtualHubRouteTableV2SList200Response | VirtualHubRouteTableV2SListDefaultResponse >; } @@ -7542,9 +7202,7 @@ export interface ExpressRouteGatewaysCreateOrUpdate { /** Fetches the details of a ExpressRoute gateway in a resource group. */ get( options: ExpressRouteGatewaysGetParameters, - ): StreamableMethod< - ExpressRouteGatewaysGet200Response | ExpressRouteGatewaysGetDefaultResponse - >; + ): StreamableMethod; /** Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. */ delete( options: ExpressRouteGatewaysDeleteParameters, @@ -7569,8 +7227,7 @@ export interface ExpressRouteConnectionsCreateOrUpdate { get( options: ExpressRouteConnectionsGetParameters, ): StreamableMethod< - | ExpressRouteConnectionsGet200Response - | ExpressRouteConnectionsGetDefaultResponse + ExpressRouteConnectionsGet200Response | ExpressRouteConnectionsGetDefaultResponse >; /** Deletes a connection to a ExpressRoute circuit. */ delete( @@ -7588,8 +7245,7 @@ export interface ExpressRouteConnectionsList { get( options: ExpressRouteConnectionsListParameters, ): StreamableMethod< - | ExpressRouteConnectionsList200Response - | ExpressRouteConnectionsListDefaultResponse + ExpressRouteConnectionsList200Response | ExpressRouteConnectionsListDefaultResponse >; } @@ -7598,8 +7254,7 @@ export interface VirtualHubBgpConnectionGet { get( options: VirtualHubBgpConnectionGetParameters, ): StreamableMethod< - | VirtualHubBgpConnectionGet200Response - | VirtualHubBgpConnectionGetDefaultResponse + VirtualHubBgpConnectionGet200Response | VirtualHubBgpConnectionGetDefaultResponse >; /** Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. */ put( @@ -7625,8 +7280,7 @@ export interface VirtualHubBgpConnectionsList { get( options: VirtualHubBgpConnectionsListParameters, ): StreamableMethod< - | VirtualHubBgpConnectionsList200Response - | VirtualHubBgpConnectionsListDefaultResponse + VirtualHubBgpConnectionsList200Response | VirtualHubBgpConnectionsListDefaultResponse >; } @@ -7657,8 +7311,7 @@ export interface VirtualHubIpConfigurationGet { get( options: VirtualHubIpConfigurationGetParameters, ): StreamableMethod< - | VirtualHubIpConfigurationGet200Response - | VirtualHubIpConfigurationGetDefaultResponse + VirtualHubIpConfigurationGet200Response | VirtualHubIpConfigurationGetDefaultResponse >; /** Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. */ put( @@ -7684,8 +7337,7 @@ export interface VirtualHubIpConfigurationList { get( options: VirtualHubIpConfigurationListParameters, ): StreamableMethod< - | VirtualHubIpConfigurationList200Response - | VirtualHubIpConfigurationListDefaultResponse + VirtualHubIpConfigurationList200Response | VirtualHubIpConfigurationListDefaultResponse >; } @@ -7701,9 +7353,7 @@ export interface HubRouteTablesCreateOrUpdate { /** Retrieves the details of a RouteTable. */ get( options: HubRouteTablesGetParameters, - ): StreamableMethod< - HubRouteTablesGet200Response | HubRouteTablesGetDefaultResponse - >; + ): StreamableMethod; /** Deletes a RouteTable. */ delete( options: HubRouteTablesDeleteParameters, @@ -7719,9 +7369,7 @@ export interface HubRouteTablesList { /** Retrieves the details of all RouteTables. */ get( options: HubRouteTablesListParameters, - ): StreamableMethod< - HubRouteTablesList200Response | HubRouteTablesListDefaultResponse - >; + ): StreamableMethod; } export interface RoutingIntentCreateOrUpdate { @@ -7736,9 +7384,7 @@ export interface RoutingIntentCreateOrUpdate { /** Retrieves the details of a RoutingIntent. */ get( options: RoutingIntentGetParameters, - ): StreamableMethod< - RoutingIntentGet200Response | RoutingIntentGetDefaultResponse - >; + ): StreamableMethod; /** Deletes a RoutingIntent. */ delete( options: RoutingIntentDeleteParameters, @@ -7754,9 +7400,7 @@ export interface RoutingIntentList { /** Retrieves the details of all RoutingIntent child resources of the VirtualHub. */ get( options: RoutingIntentListParameters, - ): StreamableMethod< - RoutingIntentList200Response | RoutingIntentListDefaultResponse - >; + ): StreamableMethod; } export interface WebApplicationFirewallPoliciesList { @@ -7784,8 +7428,7 @@ export interface WebApplicationFirewallPoliciesGet { get( options: WebApplicationFirewallPoliciesGetParameters, ): StreamableMethod< - | WebApplicationFirewallPoliciesGet200Response - | WebApplicationFirewallPoliciesGetDefaultResponse + WebApplicationFirewallPoliciesGet200Response | WebApplicationFirewallPoliciesGetDefaultResponse >; /** Creates or update policy with specified rule set name within a resource group. */ put( @@ -7815,9 +7458,7 @@ export interface VipSwapGet { put( options: VipSwapCreateParameters, ): StreamableMethod< - | VipSwapCreate200Response - | VipSwapCreate202Response - | VipSwapCreateDefaultResponse + VipSwapCreate200Response | VipSwapCreate202Response | VipSwapCreateDefaultResponse >; } diff --git a/sdk/network/arm-network-rest/src/isUnexpected.ts b/sdk/network/arm-network-rest/src/isUnexpected.ts index 429137ec8b88..0418788aef36 100644 --- a/sdk/network/arm-network-rest/src/isUnexpected.ts +++ b/sdk/network/arm-network-rest/src/isUnexpected.ts @@ -1580,8 +1580,7 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": @@ -1634,8 +1633,9 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations": @@ -1656,18 +1656,16 @@ const responseMap: Record = { ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes": ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes": ["200", "202"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": - ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}": - ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": @@ -1676,8 +1674,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": ["200", "202"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks": @@ -1728,8 +1725,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable": @@ -1764,8 +1760,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus": @@ -1786,8 +1781,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": @@ -1806,8 +1800,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}": @@ -1818,8 +1811,7 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": @@ -1876,12 +1868,13 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": - ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": - ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}": @@ -1910,8 +1903,9 @@ const responseMap: Record = { ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}": ["200", "201"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": [ + "200", + ], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": @@ -1924,8 +1918,7 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": @@ -1940,8 +1933,9 @@ const responseMap: Record = { ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": @@ -1952,8 +1946,7 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}": @@ -1982,8 +1975,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}": @@ -1996,9 +1988,7 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": @@ -2007,8 +1997,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses": @@ -2061,8 +2050,7 @@ const responseMap: Record = { ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations": @@ -2087,8 +2075,7 @@ const responseMap: Record = { ["200", "202", "204"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": @@ -2103,8 +2090,9 @@ const responseMap: Record = { ["200"], "DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": ["200", "204"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections": [ + "200", + ], "PUT /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": ["200", "201"], "GET /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": @@ -2177,8 +2165,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": @@ -2189,8 +2176,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": @@ -2215,8 +2201,9 @@ const responseMap: Record = { ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}": @@ -2225,8 +2212,9 @@ const responseMap: Record = { ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus": [ + "200", + ], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}": @@ -2243,8 +2231,7 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers": ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify": @@ -2348,8 +2335,7 @@ const responseMap: Record = { ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": @@ -2370,8 +2356,7 @@ const responseMap: Record = { ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}": @@ -2400,8 +2385,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": @@ -2414,8 +2398,7 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": @@ -2434,8 +2417,7 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": @@ -2454,10 +2436,10 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders": - ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": @@ -2466,8 +2448,9 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}": @@ -2482,8 +2465,9 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": @@ -2492,8 +2476,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability": @@ -2664,8 +2647,7 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}": @@ -2676,8 +2658,7 @@ const responseMap: Record = { ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}": @@ -2696,8 +2677,7 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}": @@ -2708,9 +2688,7 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites": [ - "200", - ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks": @@ -2729,8 +2707,9 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations": [ + "200", + ], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}": ["200"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}": @@ -2749,8 +2728,7 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes": ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes": @@ -2801,8 +2779,7 @@ const responseMap: Record = { ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection": ["202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection": @@ -2849,8 +2826,7 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset": ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset": @@ -2883,8 +2859,7 @@ const responseMap: Record = { ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": @@ -2969,9 +2944,7 @@ export function isUnexpected( | ApplicationGatewaysDeleteDefaultResponse, ): response is ApplicationGatewaysDeleteDefaultResponse; export function isUnexpected( - response: - | ApplicationGatewaysGet200Response - | ApplicationGatewaysGetDefaultResponse, + response: ApplicationGatewaysGet200Response | ApplicationGatewaysGetDefaultResponse, ): response is ApplicationGatewaysGetDefaultResponse; export function isUnexpected( response: @@ -2980,19 +2953,13 @@ export function isUnexpected( | ApplicationGatewaysCreateOrUpdateDefaultResponse, ): response is ApplicationGatewaysCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | ApplicationGatewaysUpdateTags200Response - | ApplicationGatewaysUpdateTagsDefaultResponse, + response: ApplicationGatewaysUpdateTags200Response | ApplicationGatewaysUpdateTagsDefaultResponse, ): response is ApplicationGatewaysUpdateTagsDefaultResponse; export function isUnexpected( - response: - | ApplicationGatewaysList200Response - | ApplicationGatewaysListDefaultResponse, + response: ApplicationGatewaysList200Response | ApplicationGatewaysListDefaultResponse, ): response is ApplicationGatewaysListDefaultResponse; export function isUnexpected( - response: - | ApplicationGatewaysListAll200Response - | ApplicationGatewaysListAllDefaultResponse, + response: ApplicationGatewaysListAll200Response | ApplicationGatewaysListAllDefaultResponse, ): response is ApplicationGatewaysListAllDefaultResponse; export function isUnexpected( response: @@ -3099,9 +3066,7 @@ export function isUnexpected( | ApplicationSecurityGroupsDeleteDefaultResponse, ): response is ApplicationSecurityGroupsDeleteDefaultResponse; export function isUnexpected( - response: - | ApplicationSecurityGroupsGet200Response - | ApplicationSecurityGroupsGetDefaultResponse, + response: ApplicationSecurityGroupsGet200Response | ApplicationSecurityGroupsGetDefaultResponse, ): response is ApplicationSecurityGroupsGetDefaultResponse; export function isUnexpected( response: @@ -3120,14 +3085,10 @@ export function isUnexpected( | ApplicationSecurityGroupsListAllDefaultResponse, ): response is ApplicationSecurityGroupsListAllDefaultResponse; export function isUnexpected( - response: - | ApplicationSecurityGroupsList200Response - | ApplicationSecurityGroupsListDefaultResponse, + response: ApplicationSecurityGroupsList200Response | ApplicationSecurityGroupsListDefaultResponse, ): response is ApplicationSecurityGroupsListDefaultResponse; export function isUnexpected( - response: - | AvailableDelegationsList200Response - | AvailableDelegationsListDefaultResponse, + response: AvailableDelegationsList200Response | AvailableDelegationsListDefaultResponse, ): response is AvailableDelegationsListDefaultResponse; export function isUnexpected( response: @@ -3135,9 +3096,7 @@ export function isUnexpected( | AvailableResourceGroupDelegationsListDefaultResponse, ): response is AvailableResourceGroupDelegationsListDefaultResponse; export function isUnexpected( - response: - | AvailableServiceAliasesList200Response - | AvailableServiceAliasesListDefaultResponse, + response: AvailableServiceAliasesList200Response | AvailableServiceAliasesListDefaultResponse, ): response is AvailableServiceAliasesListDefaultResponse; export function isUnexpected( response: @@ -3170,9 +3129,7 @@ export function isUnexpected( response: AzureFirewallsList200Response | AzureFirewallsListDefaultResponse, ): response is AzureFirewallsListDefaultResponse; export function isUnexpected( - response: - | AzureFirewallsListAll200Response - | AzureFirewallsListAllDefaultResponse, + response: AzureFirewallsListAll200Response | AzureFirewallsListAllDefaultResponse, ): response is AzureFirewallsListAllDefaultResponse; export function isUnexpected( response: @@ -3181,9 +3138,7 @@ export function isUnexpected( | AzureFirewallsListLearnedPrefixesDefaultResponse, ): response is AzureFirewallsListLearnedPrefixesDefaultResponse; export function isUnexpected( - response: - | AzureFirewallFqdnTagsListAll200Response - | AzureFirewallFqdnTagsListAllDefaultResponse, + response: AzureFirewallFqdnTagsListAll200Response | AzureFirewallFqdnTagsListAllDefaultResponse, ): response is AzureFirewallFqdnTagsListAllDefaultResponse; export function isUnexpected( response: WebCategoriesGet200Response | WebCategoriesGetDefaultResponse, @@ -3236,9 +3191,7 @@ export function isUnexpected( | DeleteBastionShareableLinkDefaultResponse, ): response is DeleteBastionShareableLinkDefaultResponse; export function isUnexpected( - response: - | GetBastionShareableLink200Response - | GetBastionShareableLinkDefaultResponse, + response: GetBastionShareableLink200Response | GetBastionShareableLinkDefaultResponse, ): response is GetBastionShareableLinkDefaultResponse; export function isUnexpected( response: @@ -3247,19 +3200,13 @@ export function isUnexpected( | GetActiveSessionsDefaultResponse, ): response is GetActiveSessionsDefaultResponse; export function isUnexpected( - response: - | DisconnectActiveSessions200Response - | DisconnectActiveSessionsDefaultResponse, + response: DisconnectActiveSessions200Response | DisconnectActiveSessionsDefaultResponse, ): response is DisconnectActiveSessionsDefaultResponse; export function isUnexpected( - response: - | CheckDnsNameAvailability200Response - | CheckDnsNameAvailabilityDefaultResponse, + response: CheckDnsNameAvailability200Response | CheckDnsNameAvailabilityDefaultResponse, ): response is CheckDnsNameAvailabilityDefaultResponse; export function isUnexpected( - response: - | ExpressRouteProviderPort200Response - | ExpressRouteProviderPortDefaultResponse, + response: ExpressRouteProviderPort200Response | ExpressRouteProviderPortDefaultResponse, ): response is ExpressRouteProviderPortDefaultResponse; export function isUnexpected( response: @@ -3267,9 +3214,7 @@ export function isUnexpected( | ListActiveConnectivityConfigurationsDefaultResponse, ): response is ListActiveConnectivityConfigurationsDefaultResponse; export function isUnexpected( - response: - | ListActiveSecurityAdminRules200Response - | ListActiveSecurityAdminRulesDefaultResponse, + response: ListActiveSecurityAdminRules200Response | ListActiveSecurityAdminRulesDefaultResponse, ): response is ListActiveSecurityAdminRulesDefaultResponse; export function isUnexpected( response: @@ -3282,9 +3227,7 @@ export function isUnexpected( | ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse, ): response is ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse; export function isUnexpected( - response: - | SupportedSecurityProviders200Response - | SupportedSecurityProvidersDefaultResponse, + response: SupportedSecurityProviders200Response | SupportedSecurityProvidersDefaultResponse, ): response is SupportedSecurityProvidersDefaultResponse; export function isUnexpected( response: @@ -3315,9 +3258,7 @@ export function isUnexpected( | NetworkInterfacesDeleteDefaultResponse, ): response is NetworkInterfacesDeleteDefaultResponse; export function isUnexpected( - response: - | NetworkInterfacesGet200Response - | NetworkInterfacesGetDefaultResponse, + response: NetworkInterfacesGet200Response | NetworkInterfacesGetDefaultResponse, ): response is NetworkInterfacesGetDefaultResponse; export function isUnexpected( response: @@ -3326,19 +3267,13 @@ export function isUnexpected( | NetworkInterfacesCreateOrUpdateDefaultResponse, ): response is NetworkInterfacesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | NetworkInterfacesUpdateTags200Response - | NetworkInterfacesUpdateTagsDefaultResponse, + response: NetworkInterfacesUpdateTags200Response | NetworkInterfacesUpdateTagsDefaultResponse, ): response is NetworkInterfacesUpdateTagsDefaultResponse; export function isUnexpected( - response: - | NetworkInterfacesListAll200Response - | NetworkInterfacesListAllDefaultResponse, + response: NetworkInterfacesListAll200Response | NetworkInterfacesListAllDefaultResponse, ): response is NetworkInterfacesListAllDefaultResponse; export function isUnexpected( - response: - | NetworkInterfacesList200Response - | NetworkInterfacesListDefaultResponse, + response: NetworkInterfacesList200Response | NetworkInterfacesListDefaultResponse, ): response is NetworkInterfacesListDefaultResponse; export function isUnexpected( response: @@ -3400,9 +3335,7 @@ export function isUnexpected( | PublicIPAddressesDeleteDefaultResponse, ): response is PublicIPAddressesDeleteDefaultResponse; export function isUnexpected( - response: - | PublicIPAddressesGet200Response - | PublicIPAddressesGetDefaultResponse, + response: PublicIPAddressesGet200Response | PublicIPAddressesGetDefaultResponse, ): response is PublicIPAddressesGetDefaultResponse; export function isUnexpected( response: @@ -3411,19 +3344,13 @@ export function isUnexpected( | PublicIPAddressesCreateOrUpdateDefaultResponse, ): response is PublicIPAddressesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | PublicIPAddressesUpdateTags200Response - | PublicIPAddressesUpdateTagsDefaultResponse, + response: PublicIPAddressesUpdateTags200Response | PublicIPAddressesUpdateTagsDefaultResponse, ): response is PublicIPAddressesUpdateTagsDefaultResponse; export function isUnexpected( - response: - | PublicIPAddressesListAll200Response - | PublicIPAddressesListAllDefaultResponse, + response: PublicIPAddressesListAll200Response | PublicIPAddressesListAllDefaultResponse, ): response is PublicIPAddressesListAllDefaultResponse; export function isUnexpected( - response: - | PublicIPAddressesList200Response - | PublicIPAddressesListDefaultResponse, + response: PublicIPAddressesList200Response | PublicIPAddressesListDefaultResponse, ): response is PublicIPAddressesListDefaultResponse; export function isUnexpected( response: @@ -3463,19 +3390,13 @@ export function isUnexpected( | CustomIPPrefixesCreateOrUpdateDefaultResponse, ): response is CustomIPPrefixesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | CustomIPPrefixesUpdateTags200Response - | CustomIPPrefixesUpdateTagsDefaultResponse, + response: CustomIPPrefixesUpdateTags200Response | CustomIPPrefixesUpdateTagsDefaultResponse, ): response is CustomIPPrefixesUpdateTagsDefaultResponse; export function isUnexpected( - response: - | CustomIPPrefixesListAll200Response - | CustomIPPrefixesListAllDefaultResponse, + response: CustomIPPrefixesListAll200Response | CustomIPPrefixesListAllDefaultResponse, ): response is CustomIPPrefixesListAllDefaultResponse; export function isUnexpected( - response: - | CustomIPPrefixesList200Response - | CustomIPPrefixesListDefaultResponse, + response: CustomIPPrefixesList200Response | CustomIPPrefixesListDefaultResponse, ): response is CustomIPPrefixesListDefaultResponse; export function isUnexpected( response: @@ -3485,9 +3406,7 @@ export function isUnexpected( | DdosCustomPoliciesDeleteDefaultResponse, ): response is DdosCustomPoliciesDeleteDefaultResponse; export function isUnexpected( - response: - | DdosCustomPoliciesGet200Response - | DdosCustomPoliciesGetDefaultResponse, + response: DdosCustomPoliciesGet200Response | DdosCustomPoliciesGetDefaultResponse, ): response is DdosCustomPoliciesGetDefaultResponse; export function isUnexpected( response: @@ -3496,9 +3415,7 @@ export function isUnexpected( | DdosCustomPoliciesCreateOrUpdateDefaultResponse, ): response is DdosCustomPoliciesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | DdosCustomPoliciesUpdateTags200Response - | DdosCustomPoliciesUpdateTagsDefaultResponse, + response: DdosCustomPoliciesUpdateTags200Response | DdosCustomPoliciesUpdateTagsDefaultResponse, ): response is DdosCustomPoliciesUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -3508,9 +3425,7 @@ export function isUnexpected( | DdosProtectionPlansDeleteDefaultResponse, ): response is DdosProtectionPlansDeleteDefaultResponse; export function isUnexpected( - response: - | DdosProtectionPlansGet200Response - | DdosProtectionPlansGetDefaultResponse, + response: DdosProtectionPlansGet200Response | DdosProtectionPlansGetDefaultResponse, ): response is DdosProtectionPlansGetDefaultResponse; export function isUnexpected( response: @@ -3519,14 +3434,10 @@ export function isUnexpected( | DdosProtectionPlansCreateOrUpdateDefaultResponse, ): response is DdosProtectionPlansCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | DdosProtectionPlansUpdateTags200Response - | DdosProtectionPlansUpdateTagsDefaultResponse, + response: DdosProtectionPlansUpdateTags200Response | DdosProtectionPlansUpdateTagsDefaultResponse, ): response is DdosProtectionPlansUpdateTagsDefaultResponse; export function isUnexpected( - response: - | DdosProtectionPlansList200Response - | DdosProtectionPlansListDefaultResponse, + response: DdosProtectionPlansList200Response | DdosProtectionPlansListDefaultResponse, ): response is DdosProtectionPlansListDefaultResponse; export function isUnexpected( response: @@ -3547,24 +3458,16 @@ export function isUnexpected( | DscpConfigurationDeleteDefaultResponse, ): response is DscpConfigurationDeleteDefaultResponse; export function isUnexpected( - response: - | DscpConfigurationGet200Response - | DscpConfigurationGetDefaultResponse, + response: DscpConfigurationGet200Response | DscpConfigurationGetDefaultResponse, ): response is DscpConfigurationGetDefaultResponse; export function isUnexpected( - response: - | DscpConfigurationList200Response - | DscpConfigurationListDefaultResponse, + response: DscpConfigurationList200Response | DscpConfigurationListDefaultResponse, ): response is DscpConfigurationListDefaultResponse; export function isUnexpected( - response: - | DscpConfigurationListAll200Response - | DscpConfigurationListAllDefaultResponse, + response: DscpConfigurationListAll200Response | DscpConfigurationListAllDefaultResponse, ): response is DscpConfigurationListAllDefaultResponse; export function isUnexpected( - response: - | AvailableEndpointServicesList200Response - | AvailableEndpointServicesListDefaultResponse, + response: AvailableEndpointServicesList200Response | AvailableEndpointServicesListDefaultResponse, ): response is AvailableEndpointServicesListDefaultResponse; export function isUnexpected( response: @@ -3653,9 +3556,7 @@ export function isUnexpected( | ExpressRouteCircuitsDeleteDefaultResponse, ): response is ExpressRouteCircuitsDeleteDefaultResponse; export function isUnexpected( - response: - | ExpressRouteCircuitsGet200Response - | ExpressRouteCircuitsGetDefaultResponse, + response: ExpressRouteCircuitsGet200Response | ExpressRouteCircuitsGetDefaultResponse, ): response is ExpressRouteCircuitsGetDefaultResponse; export function isUnexpected( response: @@ -3687,9 +3588,7 @@ export function isUnexpected( | ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse, ): response is ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse; export function isUnexpected( - response: - | ExpressRouteCircuitsGetStats200Response - | ExpressRouteCircuitsGetStatsDefaultResponse, + response: ExpressRouteCircuitsGetStats200Response | ExpressRouteCircuitsGetStatsDefaultResponse, ): response is ExpressRouteCircuitsGetStatsDefaultResponse; export function isUnexpected( response: @@ -3697,14 +3596,10 @@ export function isUnexpected( | ExpressRouteCircuitsGetPeeringStatsDefaultResponse, ): response is ExpressRouteCircuitsGetPeeringStatsDefaultResponse; export function isUnexpected( - response: - | ExpressRouteCircuitsList200Response - | ExpressRouteCircuitsListDefaultResponse, + response: ExpressRouteCircuitsList200Response | ExpressRouteCircuitsListDefaultResponse, ): response is ExpressRouteCircuitsListDefaultResponse; export function isUnexpected( - response: - | ExpressRouteCircuitsListAll200Response - | ExpressRouteCircuitsListAllDefaultResponse, + response: ExpressRouteCircuitsListAll200Response | ExpressRouteCircuitsListAllDefaultResponse, ): response is ExpressRouteCircuitsListAllDefaultResponse; export function isUnexpected( response: @@ -3783,9 +3678,7 @@ export function isUnexpected( | ExpressRoutePortsLocationsListDefaultResponse, ): response is ExpressRoutePortsLocationsListDefaultResponse; export function isUnexpected( - response: - | ExpressRoutePortsLocationsGet200Response - | ExpressRoutePortsLocationsGetDefaultResponse, + response: ExpressRoutePortsLocationsGet200Response | ExpressRoutePortsLocationsGetDefaultResponse, ): response is ExpressRoutePortsLocationsGetDefaultResponse; export function isUnexpected( response: @@ -3795,9 +3688,7 @@ export function isUnexpected( | ExpressRoutePortsDeleteDefaultResponse, ): response is ExpressRoutePortsDeleteDefaultResponse; export function isUnexpected( - response: - | ExpressRoutePortsGet200Response - | ExpressRoutePortsGetDefaultResponse, + response: ExpressRoutePortsGet200Response | ExpressRoutePortsGetDefaultResponse, ): response is ExpressRoutePortsGetDefaultResponse; export function isUnexpected( response: @@ -3806,9 +3697,7 @@ export function isUnexpected( | ExpressRoutePortsCreateOrUpdateDefaultResponse, ): response is ExpressRoutePortsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | ExpressRoutePortsUpdateTags200Response - | ExpressRoutePortsUpdateTagsDefaultResponse, + response: ExpressRoutePortsUpdateTags200Response | ExpressRoutePortsUpdateTagsDefaultResponse, ): response is ExpressRoutePortsUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -3816,24 +3705,16 @@ export function isUnexpected( | ExpressRoutePortsListByResourceGroupDefaultResponse, ): response is ExpressRoutePortsListByResourceGroupDefaultResponse; export function isUnexpected( - response: - | ExpressRoutePortsList200Response - | ExpressRoutePortsListDefaultResponse, + response: ExpressRoutePortsList200Response | ExpressRoutePortsListDefaultResponse, ): response is ExpressRoutePortsListDefaultResponse; export function isUnexpected( - response: - | ExpressRoutePortsGenerateLOA200Response - | ExpressRoutePortsGenerateLOADefaultResponse, + response: ExpressRoutePortsGenerateLOA200Response | ExpressRoutePortsGenerateLOADefaultResponse, ): response is ExpressRoutePortsGenerateLOADefaultResponse; export function isUnexpected( - response: - | ExpressRouteLinksGet200Response - | ExpressRouteLinksGetDefaultResponse, + response: ExpressRouteLinksGet200Response | ExpressRouteLinksGetDefaultResponse, ): response is ExpressRouteLinksGetDefaultResponse; export function isUnexpected( - response: - | ExpressRouteLinksList200Response - | ExpressRouteLinksListDefaultResponse, + response: ExpressRouteLinksList200Response | ExpressRouteLinksListDefaultResponse, ): response is ExpressRouteLinksListDefaultResponse; export function isUnexpected( response: @@ -3880,19 +3761,13 @@ export function isUnexpected( | FirewallPoliciesCreateOrUpdateDefaultResponse, ): response is FirewallPoliciesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | FirewallPoliciesUpdateTags200Response - | FirewallPoliciesUpdateTagsDefaultResponse, + response: FirewallPoliciesUpdateTags200Response | FirewallPoliciesUpdateTagsDefaultResponse, ): response is FirewallPoliciesUpdateTagsDefaultResponse; export function isUnexpected( - response: - | FirewallPoliciesList200Response - | FirewallPoliciesListDefaultResponse, + response: FirewallPoliciesList200Response | FirewallPoliciesListDefaultResponse, ): response is FirewallPoliciesListDefaultResponse; export function isUnexpected( - response: - | FirewallPoliciesListAll200Response - | FirewallPoliciesListAllDefaultResponse, + response: FirewallPoliciesListAll200Response | FirewallPoliciesListAllDefaultResponse, ): response is FirewallPoliciesListAllDefaultResponse; export function isUnexpected( response: @@ -3964,9 +3839,7 @@ export function isUnexpected( | IpAllocationsCreateOrUpdateDefaultResponse, ): response is IpAllocationsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | IpAllocationsUpdateTags200Response - | IpAllocationsUpdateTagsDefaultResponse, + response: IpAllocationsUpdateTags200Response | IpAllocationsUpdateTagsDefaultResponse, ): response is IpAllocationsUpdateTagsDefaultResponse; export function isUnexpected( response: IpAllocationsList200Response | IpAllocationsListDefaultResponse, @@ -3986,9 +3859,7 @@ export function isUnexpected( | IpGroupsCreateOrUpdateDefaultResponse, ): response is IpGroupsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | IpGroupsUpdateGroups200Response - | IpGroupsUpdateGroupsDefaultResponse, + response: IpGroupsUpdateGroups200Response | IpGroupsUpdateGroupsDefaultResponse, ): response is IpGroupsUpdateGroupsDefaultResponse; export function isUnexpected( response: @@ -3998,9 +3869,7 @@ export function isUnexpected( | IpGroupsDeleteDefaultResponse, ): response is IpGroupsDeleteDefaultResponse; export function isUnexpected( - response: - | IpGroupsListByResourceGroup200Response - | IpGroupsListByResourceGroupDefaultResponse, + response: IpGroupsListByResourceGroup200Response | IpGroupsListByResourceGroupDefaultResponse, ): response is IpGroupsListByResourceGroupDefaultResponse; export function isUnexpected( response: IpGroupsList200Response | IpGroupsListDefaultResponse, @@ -4022,14 +3891,10 @@ export function isUnexpected( | LoadBalancersCreateOrUpdateDefaultResponse, ): response is LoadBalancersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | LoadBalancersUpdateTags200Response - | LoadBalancersUpdateTagsDefaultResponse, + response: LoadBalancersUpdateTags200Response | LoadBalancersUpdateTagsDefaultResponse, ): response is LoadBalancersUpdateTagsDefaultResponse; export function isUnexpected( - response: - | LoadBalancersListAll200Response - | LoadBalancersListAllDefaultResponse, + response: LoadBalancersListAll200Response | LoadBalancersListAllDefaultResponse, ): response is LoadBalancersListAllDefaultResponse; export function isUnexpected( response: LoadBalancersList200Response | LoadBalancersListDefaultResponse, @@ -4109,14 +3974,10 @@ export function isUnexpected( | LoadBalancerLoadBalancingRulesGetDefaultResponse, ): response is LoadBalancerLoadBalancingRulesGetDefaultResponse; export function isUnexpected( - response: - | LoadBalancerOutboundRulesList200Response - | LoadBalancerOutboundRulesListDefaultResponse, + response: LoadBalancerOutboundRulesList200Response | LoadBalancerOutboundRulesListDefaultResponse, ): response is LoadBalancerOutboundRulesListDefaultResponse; export function isUnexpected( - response: - | LoadBalancerOutboundRulesGet200Response - | LoadBalancerOutboundRulesGetDefaultResponse, + response: LoadBalancerOutboundRulesGet200Response | LoadBalancerOutboundRulesGetDefaultResponse, ): response is LoadBalancerOutboundRulesGetDefaultResponse; export function isUnexpected( response: @@ -4124,14 +3985,10 @@ export function isUnexpected( | LoadBalancerNetworkInterfacesListDefaultResponse, ): response is LoadBalancerNetworkInterfacesListDefaultResponse; export function isUnexpected( - response: - | LoadBalancerProbesList200Response - | LoadBalancerProbesListDefaultResponse, + response: LoadBalancerProbesList200Response | LoadBalancerProbesListDefaultResponse, ): response is LoadBalancerProbesListDefaultResponse; export function isUnexpected( - response: - | LoadBalancerProbesGet200Response - | LoadBalancerProbesGetDefaultResponse, + response: LoadBalancerProbesGet200Response | LoadBalancerProbesGetDefaultResponse, ): response is LoadBalancerProbesGetDefaultResponse; export function isUnexpected( response: @@ -4151,9 +4008,7 @@ export function isUnexpected( | NatGatewaysCreateOrUpdateDefaultResponse, ): response is NatGatewaysCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | NatGatewaysUpdateTags200Response - | NatGatewaysUpdateTagsDefaultResponse, + response: NatGatewaysUpdateTags200Response | NatGatewaysUpdateTagsDefaultResponse, ): response is NatGatewaysUpdateTagsDefaultResponse; export function isUnexpected( response: NatGatewaysListAll200Response | NatGatewaysListAllDefaultResponse, @@ -4216,9 +4071,7 @@ export function isUnexpected( | NetworkManagersDeleteDefaultResponse, ): response is NetworkManagersDeleteDefaultResponse; export function isUnexpected( - response: - | NetworkManagersPatch200Response - | NetworkManagersPatchDefaultResponse, + response: NetworkManagersPatch200Response | NetworkManagersPatchDefaultResponse, ): response is NetworkManagersPatchDefaultResponse; export function isUnexpected( response: @@ -4284,9 +4137,7 @@ export function isUnexpected( | ManagementGroupNetworkManagerConnectionsListDefaultResponse, ): response is ManagementGroupNetworkManagerConnectionsListDefaultResponse; export function isUnexpected( - response: - | ConnectivityConfigurationsGet200Response - | ConnectivityConfigurationsGetDefaultResponse, + response: ConnectivityConfigurationsGet200Response | ConnectivityConfigurationsGetDefaultResponse, ): response is ConnectivityConfigurationsGetDefaultResponse; export function isUnexpected( response: @@ -4359,9 +4210,7 @@ export function isUnexpected( | ScopeConnectionsDeleteDefaultResponse, ): response is ScopeConnectionsDeleteDefaultResponse; export function isUnexpected( - response: - | ScopeConnectionsList200Response - | ScopeConnectionsListDefaultResponse, + response: ScopeConnectionsList200Response | ScopeConnectionsListDefaultResponse, ): response is ScopeConnectionsListDefaultResponse; export function isUnexpected( response: @@ -4387,14 +4236,10 @@ export function isUnexpected( | SecurityAdminConfigurationsDeleteDefaultResponse, ): response is SecurityAdminConfigurationsDeleteDefaultResponse; export function isUnexpected( - response: - | AdminRuleCollectionsList200Response - | AdminRuleCollectionsListDefaultResponse, + response: AdminRuleCollectionsList200Response | AdminRuleCollectionsListDefaultResponse, ): response is AdminRuleCollectionsListDefaultResponse; export function isUnexpected( - response: - | AdminRuleCollectionsGet200Response - | AdminRuleCollectionsGetDefaultResponse, + response: AdminRuleCollectionsGet200Response | AdminRuleCollectionsGetDefaultResponse, ): response is AdminRuleCollectionsGetDefaultResponse; export function isUnexpected( response: @@ -4445,14 +4290,10 @@ export function isUnexpected( | NetworkProfilesCreateOrUpdateDefaultResponse, ): response is NetworkProfilesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | NetworkProfilesUpdateTags200Response - | NetworkProfilesUpdateTagsDefaultResponse, + response: NetworkProfilesUpdateTags200Response | NetworkProfilesUpdateTagsDefaultResponse, ): response is NetworkProfilesUpdateTagsDefaultResponse; export function isUnexpected( - response: - | NetworkProfilesListAll200Response - | NetworkProfilesListAllDefaultResponse, + response: NetworkProfilesListAll200Response | NetworkProfilesListAllDefaultResponse, ): response is NetworkProfilesListAllDefaultResponse; export function isUnexpected( response: NetworkProfilesList200Response | NetworkProfilesListDefaultResponse, @@ -4465,9 +4306,7 @@ export function isUnexpected( | NetworkSecurityGroupsDeleteDefaultResponse, ): response is NetworkSecurityGroupsDeleteDefaultResponse; export function isUnexpected( - response: - | NetworkSecurityGroupsGet200Response - | NetworkSecurityGroupsGetDefaultResponse, + response: NetworkSecurityGroupsGet200Response | NetworkSecurityGroupsGetDefaultResponse, ): response is NetworkSecurityGroupsGetDefaultResponse; export function isUnexpected( response: @@ -4481,14 +4320,10 @@ export function isUnexpected( | NetworkSecurityGroupsUpdateTagsDefaultResponse, ): response is NetworkSecurityGroupsUpdateTagsDefaultResponse; export function isUnexpected( - response: - | NetworkSecurityGroupsListAll200Response - | NetworkSecurityGroupsListAllDefaultResponse, + response: NetworkSecurityGroupsListAll200Response | NetworkSecurityGroupsListAllDefaultResponse, ): response is NetworkSecurityGroupsListAllDefaultResponse; export function isUnexpected( - response: - | NetworkSecurityGroupsList200Response - | NetworkSecurityGroupsListDefaultResponse, + response: NetworkSecurityGroupsList200Response | NetworkSecurityGroupsListDefaultResponse, ): response is NetworkSecurityGroupsListDefaultResponse; export function isUnexpected( response: @@ -4510,14 +4345,10 @@ export function isUnexpected( response: SecurityRulesList200Response | SecurityRulesListDefaultResponse, ): response is SecurityRulesListDefaultResponse; export function isUnexpected( - response: - | DefaultSecurityRulesList200Response - | DefaultSecurityRulesListDefaultResponse, + response: DefaultSecurityRulesList200Response | DefaultSecurityRulesListDefaultResponse, ): response is DefaultSecurityRulesListDefaultResponse; export function isUnexpected( - response: - | DefaultSecurityRulesGet200Response - | DefaultSecurityRulesGetDefaultResponse, + response: DefaultSecurityRulesGet200Response | DefaultSecurityRulesGetDefaultResponse, ): response is DefaultSecurityRulesGetDefaultResponse; export function isUnexpected( response: @@ -4527,9 +4358,7 @@ export function isUnexpected( | NetworkVirtualAppliancesDeleteDefaultResponse, ): response is NetworkVirtualAppliancesDeleteDefaultResponse; export function isUnexpected( - response: - | NetworkVirtualAppliancesGet200Response - | NetworkVirtualAppliancesGetDefaultResponse, + response: NetworkVirtualAppliancesGet200Response | NetworkVirtualAppliancesGetDefaultResponse, ): response is NetworkVirtualAppliancesGetDefaultResponse; export function isUnexpected( response: @@ -4548,9 +4377,7 @@ export function isUnexpected( | NetworkVirtualAppliancesListByResourceGroupDefaultResponse, ): response is NetworkVirtualAppliancesListByResourceGroupDefaultResponse; export function isUnexpected( - response: - | NetworkVirtualAppliancesList200Response - | NetworkVirtualAppliancesListDefaultResponse, + response: NetworkVirtualAppliancesList200Response | NetworkVirtualAppliancesListDefaultResponse, ): response is NetworkVirtualAppliancesListDefaultResponse; export function isUnexpected( response: @@ -4560,9 +4387,7 @@ export function isUnexpected( | VirtualApplianceSitesDeleteDefaultResponse, ): response is VirtualApplianceSitesDeleteDefaultResponse; export function isUnexpected( - response: - | VirtualApplianceSitesGet200Response - | VirtualApplianceSitesGetDefaultResponse, + response: VirtualApplianceSitesGet200Response | VirtualApplianceSitesGetDefaultResponse, ): response is VirtualApplianceSitesGetDefaultResponse; export function isUnexpected( response: @@ -4571,19 +4396,13 @@ export function isUnexpected( | VirtualApplianceSitesCreateOrUpdateDefaultResponse, ): response is VirtualApplianceSitesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | VirtualApplianceSitesList200Response - | VirtualApplianceSitesListDefaultResponse, + response: VirtualApplianceSitesList200Response | VirtualApplianceSitesListDefaultResponse, ): response is VirtualApplianceSitesListDefaultResponse; export function isUnexpected( - response: - | VirtualApplianceSkusList200Response - | VirtualApplianceSkusListDefaultResponse, + response: VirtualApplianceSkusList200Response | VirtualApplianceSkusListDefaultResponse, ): response is VirtualApplianceSkusListDefaultResponse; export function isUnexpected( - response: - | VirtualApplianceSkusGet200Response - | VirtualApplianceSkusGetDefaultResponse, + response: VirtualApplianceSkusGet200Response | VirtualApplianceSkusGetDefaultResponse, ): response is VirtualApplianceSkusGetDefaultResponse; export function isUnexpected( response: @@ -4607,22 +4426,16 @@ export function isUnexpected( | NetworkWatchersDeleteDefaultResponse, ): response is NetworkWatchersDeleteDefaultResponse; export function isUnexpected( - response: - | NetworkWatchersUpdateTags200Response - | NetworkWatchersUpdateTagsDefaultResponse, + response: NetworkWatchersUpdateTags200Response | NetworkWatchersUpdateTagsDefaultResponse, ): response is NetworkWatchersUpdateTagsDefaultResponse; export function isUnexpected( response: NetworkWatchersList200Response | NetworkWatchersListDefaultResponse, ): response is NetworkWatchersListDefaultResponse; export function isUnexpected( - response: - | NetworkWatchersListAll200Response - | NetworkWatchersListAllDefaultResponse, + response: NetworkWatchersListAll200Response | NetworkWatchersListAllDefaultResponse, ): response is NetworkWatchersListAllDefaultResponse; export function isUnexpected( - response: - | NetworkWatchersGetTopology200Response - | NetworkWatchersGetTopologyDefaultResponse, + response: NetworkWatchersGetTopology200Response | NetworkWatchersGetTopologyDefaultResponse, ): response is NetworkWatchersGetTopologyDefaultResponse; export function isUnexpected( response: @@ -4691,9 +4504,7 @@ export function isUnexpected( | NetworkWatchersGetNetworkConfigurationDiagnosticDefaultResponse, ): response is NetworkWatchersGetNetworkConfigurationDiagnosticDefaultResponse; export function isUnexpected( - response: - | PacketCapturesCreate201Response - | PacketCapturesCreateDefaultResponse, + response: PacketCapturesCreate201Response | PacketCapturesCreateDefaultResponse, ): response is PacketCapturesCreateDefaultResponse; export function isUnexpected( response: PacketCapturesGet200Response | PacketCapturesGetDefaultResponse, @@ -4726,9 +4537,7 @@ export function isUnexpected( | ConnectionMonitorsCreateOrUpdateDefaultResponse, ): response is ConnectionMonitorsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | ConnectionMonitorsGet200Response - | ConnectionMonitorsGetDefaultResponse, + response: ConnectionMonitorsGet200Response | ConnectionMonitorsGetDefaultResponse, ): response is ConnectionMonitorsGetDefaultResponse; export function isUnexpected( response: @@ -4737,9 +4546,7 @@ export function isUnexpected( | ConnectionMonitorsDeleteDefaultResponse, ): response is ConnectionMonitorsDeleteDefaultResponse; export function isUnexpected( - response: - | ConnectionMonitorsUpdateTags200Response - | ConnectionMonitorsUpdateTagsDefaultResponse, + response: ConnectionMonitorsUpdateTags200Response | ConnectionMonitorsUpdateTagsDefaultResponse, ): response is ConnectionMonitorsUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -4760,9 +4567,7 @@ export function isUnexpected( | ConnectionMonitorsQueryDefaultResponse, ): response is ConnectionMonitorsQueryDefaultResponse; export function isUnexpected( - response: - | ConnectionMonitorsList200Response - | ConnectionMonitorsListDefaultResponse, + response: ConnectionMonitorsList200Response | ConnectionMonitorsListDefaultResponse, ): response is ConnectionMonitorsListDefaultResponse; export function isUnexpected( response: @@ -4777,10 +4582,7 @@ export function isUnexpected( response: FlowLogsGet200Response | FlowLogsGetDefaultResponse, ): response is FlowLogsGetDefaultResponse; export function isUnexpected( - response: - | FlowLogsDelete202Response - | FlowLogsDelete204Response - | FlowLogsDeleteDefaultResponse, + response: FlowLogsDelete202Response | FlowLogsDelete204Response | FlowLogsDeleteDefaultResponse, ): response is FlowLogsDeleteDefaultResponse; export function isUnexpected( response: FlowLogsList200Response | FlowLogsListDefaultResponse, @@ -4805,9 +4607,7 @@ export function isUnexpected( | PrivateEndpointsCreateOrUpdateDefaultResponse, ): response is PrivateEndpointsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | PrivateEndpointsList200Response - | PrivateEndpointsListDefaultResponse, + response: PrivateEndpointsList200Response | PrivateEndpointsListDefaultResponse, ): response is PrivateEndpointsListDefaultResponse; export function isUnexpected( response: @@ -4832,9 +4632,7 @@ export function isUnexpected( | PrivateDnsZoneGroupsDeleteDefaultResponse, ): response is PrivateDnsZoneGroupsDeleteDefaultResponse; export function isUnexpected( - response: - | PrivateDnsZoneGroupsGet200Response - | PrivateDnsZoneGroupsGetDefaultResponse, + response: PrivateDnsZoneGroupsGet200Response | PrivateDnsZoneGroupsGetDefaultResponse, ): response is PrivateDnsZoneGroupsGetDefaultResponse; export function isUnexpected( response: @@ -4843,9 +4641,7 @@ export function isUnexpected( | PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse, ): response is PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | PrivateDnsZoneGroupsList200Response - | PrivateDnsZoneGroupsListDefaultResponse, + response: PrivateDnsZoneGroupsList200Response | PrivateDnsZoneGroupsListDefaultResponse, ): response is PrivateDnsZoneGroupsListDefaultResponse; export function isUnexpected( response: @@ -4855,9 +4651,7 @@ export function isUnexpected( | PrivateLinkServicesDeleteDefaultResponse, ): response is PrivateLinkServicesDeleteDefaultResponse; export function isUnexpected( - response: - | PrivateLinkServicesGet200Response - | PrivateLinkServicesGetDefaultResponse, + response: PrivateLinkServicesGet200Response | PrivateLinkServicesGetDefaultResponse, ): response is PrivateLinkServicesGetDefaultResponse; export function isUnexpected( response: @@ -4866,9 +4660,7 @@ export function isUnexpected( | PrivateLinkServicesCreateOrUpdateDefaultResponse, ): response is PrivateLinkServicesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | PrivateLinkServicesList200Response - | PrivateLinkServicesListDefaultResponse, + response: PrivateLinkServicesList200Response | PrivateLinkServicesListDefaultResponse, ): response is PrivateLinkServicesListDefaultResponse; export function isUnexpected( response: @@ -4936,19 +4728,13 @@ export function isUnexpected( | PublicIPPrefixesCreateOrUpdateDefaultResponse, ): response is PublicIPPrefixesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | PublicIPPrefixesUpdateTags200Response - | PublicIPPrefixesUpdateTagsDefaultResponse, + response: PublicIPPrefixesUpdateTags200Response | PublicIPPrefixesUpdateTagsDefaultResponse, ): response is PublicIPPrefixesUpdateTagsDefaultResponse; export function isUnexpected( - response: - | PublicIPPrefixesListAll200Response - | PublicIPPrefixesListAllDefaultResponse, + response: PublicIPPrefixesListAll200Response | PublicIPPrefixesListAllDefaultResponse, ): response is PublicIPPrefixesListAllDefaultResponse; export function isUnexpected( - response: - | PublicIPPrefixesList200Response - | PublicIPPrefixesListDefaultResponse, + response: PublicIPPrefixesList200Response | PublicIPPrefixesListDefaultResponse, ): response is PublicIPPrefixesListDefaultResponse; export function isUnexpected( response: @@ -4967,9 +4753,7 @@ export function isUnexpected( | RouteFiltersCreateOrUpdateDefaultResponse, ): response is RouteFiltersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | RouteFiltersUpdateTags200Response - | RouteFiltersUpdateTagsDefaultResponse, + response: RouteFiltersUpdateTags200Response | RouteFiltersUpdateTagsDefaultResponse, ): response is RouteFiltersUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -5017,9 +4801,7 @@ export function isUnexpected( | RouteTablesCreateOrUpdateDefaultResponse, ): response is RouteTablesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | RouteTablesUpdateTags200Response - | RouteTablesUpdateTagsDefaultResponse, + response: RouteTablesUpdateTags200Response | RouteTablesUpdateTagsDefaultResponse, ): response is RouteTablesUpdateTagsDefaultResponse; export function isUnexpected( response: RouteTablesList200Response | RouteTablesListDefaultResponse, @@ -5054,9 +4836,7 @@ export function isUnexpected( | SecurityPartnerProvidersDeleteDefaultResponse, ): response is SecurityPartnerProvidersDeleteDefaultResponse; export function isUnexpected( - response: - | SecurityPartnerProvidersGet200Response - | SecurityPartnerProvidersGetDefaultResponse, + response: SecurityPartnerProvidersGet200Response | SecurityPartnerProvidersGetDefaultResponse, ): response is SecurityPartnerProvidersGetDefaultResponse; export function isUnexpected( response: @@ -5075,14 +4855,10 @@ export function isUnexpected( | SecurityPartnerProvidersListByResourceGroupDefaultResponse, ): response is SecurityPartnerProvidersListByResourceGroupDefaultResponse; export function isUnexpected( - response: - | SecurityPartnerProvidersList200Response - | SecurityPartnerProvidersListDefaultResponse, + response: SecurityPartnerProvidersList200Response | SecurityPartnerProvidersListDefaultResponse, ): response is SecurityPartnerProvidersListDefaultResponse; export function isUnexpected( - response: - | BgpServiceCommunitiesList200Response - | BgpServiceCommunitiesListDefaultResponse, + response: BgpServiceCommunitiesList200Response | BgpServiceCommunitiesListDefaultResponse, ): response is BgpServiceCommunitiesListDefaultResponse; export function isUnexpected( response: @@ -5092,9 +4868,7 @@ export function isUnexpected( | ServiceEndpointPoliciesDeleteDefaultResponse, ): response is ServiceEndpointPoliciesDeleteDefaultResponse; export function isUnexpected( - response: - | ServiceEndpointPoliciesGet200Response - | ServiceEndpointPoliciesGetDefaultResponse, + response: ServiceEndpointPoliciesGet200Response | ServiceEndpointPoliciesGetDefaultResponse, ): response is ServiceEndpointPoliciesGetDefaultResponse; export function isUnexpected( response: @@ -5108,9 +4882,7 @@ export function isUnexpected( | ServiceEndpointPoliciesUpdateTagsDefaultResponse, ): response is ServiceEndpointPoliciesUpdateTagsDefaultResponse; export function isUnexpected( - response: - | ServiceEndpointPoliciesList200Response - | ServiceEndpointPoliciesListDefaultResponse, + response: ServiceEndpointPoliciesList200Response | ServiceEndpointPoliciesListDefaultResponse, ): response is ServiceEndpointPoliciesListDefaultResponse; export function isUnexpected( response: @@ -5144,9 +4916,7 @@ export function isUnexpected( response: ServiceTagsList200Response | ServiceTagsListDefaultResponse, ): response is ServiceTagsListDefaultResponse; export function isUnexpected( - response: - | ServiceTagInformationList200Response - | ServiceTagInformationListDefaultResponse, + response: ServiceTagInformationList200Response | ServiceTagInformationListDefaultResponse, ): response is ServiceTagInformationListDefaultResponse; export function isUnexpected( response: UsagesList200Response | UsagesListDefaultResponse, @@ -5168,14 +4938,10 @@ export function isUnexpected( | VirtualNetworksCreateOrUpdateDefaultResponse, ): response is VirtualNetworksCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | VirtualNetworksUpdateTags200Response - | VirtualNetworksUpdateTagsDefaultResponse, + response: VirtualNetworksUpdateTags200Response | VirtualNetworksUpdateTagsDefaultResponse, ): response is VirtualNetworksUpdateTagsDefaultResponse; export function isUnexpected( - response: - | VirtualNetworksListAll200Response - | VirtualNetworksListAllDefaultResponse, + response: VirtualNetworksListAll200Response | VirtualNetworksListAllDefaultResponse, ): response is VirtualNetworksListAllDefaultResponse; export function isUnexpected( response: VirtualNetworksList200Response | VirtualNetworksListDefaultResponse, @@ -5186,9 +4952,7 @@ export function isUnexpected( | VirtualNetworksCheckIPAddressAvailabilityDefaultResponse, ): response is VirtualNetworksCheckIPAddressAvailabilityDefaultResponse; export function isUnexpected( - response: - | VirtualNetworksListUsage200Response - | VirtualNetworksListUsageDefaultResponse, + response: VirtualNetworksListUsage200Response | VirtualNetworksListUsageDefaultResponse, ): response is VirtualNetworksListUsageDefaultResponse; export function isUnexpected( response: @@ -5228,14 +4992,10 @@ export function isUnexpected( response: SubnetsList200Response | SubnetsListDefaultResponse, ): response is SubnetsListDefaultResponse; export function isUnexpected( - response: - | ResourceNavigationLinksList200Response - | ResourceNavigationLinksListDefaultResponse, + response: ResourceNavigationLinksList200Response | ResourceNavigationLinksListDefaultResponse, ): response is ResourceNavigationLinksListDefaultResponse; export function isUnexpected( - response: - | ServiceAssociationLinksList200Response - | ServiceAssociationLinksListDefaultResponse, + response: ServiceAssociationLinksList200Response | ServiceAssociationLinksListDefaultResponse, ): response is ServiceAssociationLinksListDefaultResponse; export function isUnexpected( response: @@ -5245,9 +5005,7 @@ export function isUnexpected( | VirtualNetworkPeeringsDeleteDefaultResponse, ): response is VirtualNetworkPeeringsDeleteDefaultResponse; export function isUnexpected( - response: - | VirtualNetworkPeeringsGet200Response - | VirtualNetworkPeeringsGetDefaultResponse, + response: VirtualNetworkPeeringsGet200Response | VirtualNetworkPeeringsGetDefaultResponse, ): response is VirtualNetworkPeeringsGetDefaultResponse; export function isUnexpected( response: @@ -5256,9 +5014,7 @@ export function isUnexpected( | VirtualNetworkPeeringsCreateOrUpdateDefaultResponse, ): response is VirtualNetworkPeeringsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | VirtualNetworkPeeringsList200Response - | VirtualNetworkPeeringsListDefaultResponse, + response: VirtualNetworkPeeringsList200Response | VirtualNetworkPeeringsListDefaultResponse, ): response is VirtualNetworkPeeringsListDefaultResponse; export function isUnexpected( response: @@ -5267,9 +5023,7 @@ export function isUnexpected( | VirtualNetworkGatewaysCreateOrUpdateDefaultResponse, ): response is VirtualNetworkGatewaysCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | VirtualNetworkGatewaysGet200Response - | VirtualNetworkGatewaysGetDefaultResponse, + response: VirtualNetworkGatewaysGet200Response | VirtualNetworkGatewaysGetDefaultResponse, ): response is VirtualNetworkGatewaysGetDefaultResponse; export function isUnexpected( response: @@ -5285,9 +5039,7 @@ export function isUnexpected( | VirtualNetworkGatewaysUpdateTagsDefaultResponse, ): response is VirtualNetworkGatewaysUpdateTagsDefaultResponse; export function isUnexpected( - response: - | VirtualNetworkGatewaysList200Response - | VirtualNetworkGatewaysListDefaultResponse, + response: VirtualNetworkGatewaysList200Response | VirtualNetworkGatewaysListDefaultResponse, ): response is VirtualNetworkGatewaysListDefaultResponse; export function isUnexpected( response: @@ -5463,9 +5215,7 @@ export function isUnexpected( | LocalNetworkGatewaysCreateOrUpdateDefaultResponse, ): response is LocalNetworkGatewaysCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | LocalNetworkGatewaysGet200Response - | LocalNetworkGatewaysGetDefaultResponse, + response: LocalNetworkGatewaysGet200Response | LocalNetworkGatewaysGetDefaultResponse, ): response is LocalNetworkGatewaysGetDefaultResponse; export function isUnexpected( response: @@ -5480,9 +5230,7 @@ export function isUnexpected( | LocalNetworkGatewaysUpdateTagsDefaultResponse, ): response is LocalNetworkGatewaysUpdateTagsDefaultResponse; export function isUnexpected( - response: - | LocalNetworkGatewaysList200Response - | LocalNetworkGatewaysListDefaultResponse, + response: LocalNetworkGatewaysList200Response | LocalNetworkGatewaysListDefaultResponse, ): response is LocalNetworkGatewaysListDefaultResponse; export function isUnexpected( response: @@ -5515,9 +5263,7 @@ export function isUnexpected( | VirtualNetworkTapsDeleteDefaultResponse, ): response is VirtualNetworkTapsDeleteDefaultResponse; export function isUnexpected( - response: - | VirtualNetworkTapsGet200Response - | VirtualNetworkTapsGetDefaultResponse, + response: VirtualNetworkTapsGet200Response | VirtualNetworkTapsGetDefaultResponse, ): response is VirtualNetworkTapsGetDefaultResponse; export function isUnexpected( response: @@ -5526,14 +5272,10 @@ export function isUnexpected( | VirtualNetworkTapsCreateOrUpdateDefaultResponse, ): response is VirtualNetworkTapsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | VirtualNetworkTapsUpdateTags200Response - | VirtualNetworkTapsUpdateTagsDefaultResponse, + response: VirtualNetworkTapsUpdateTags200Response | VirtualNetworkTapsUpdateTagsDefaultResponse, ): response is VirtualNetworkTapsUpdateTagsDefaultResponse; export function isUnexpected( - response: - | VirtualNetworkTapsListAll200Response - | VirtualNetworkTapsListAllDefaultResponse, + response: VirtualNetworkTapsListAll200Response | VirtualNetworkTapsListAllDefaultResponse, ): response is VirtualNetworkTapsListAllDefaultResponse; export function isUnexpected( response: @@ -5572,9 +5314,7 @@ export function isUnexpected( | VirtualRouterPeeringsDeleteDefaultResponse, ): response is VirtualRouterPeeringsDeleteDefaultResponse; export function isUnexpected( - response: - | VirtualRouterPeeringsGet200Response - | VirtualRouterPeeringsGetDefaultResponse, + response: VirtualRouterPeeringsGet200Response | VirtualRouterPeeringsGetDefaultResponse, ): response is VirtualRouterPeeringsGetDefaultResponse; export function isUnexpected( response: @@ -5583,9 +5323,7 @@ export function isUnexpected( | VirtualRouterPeeringsCreateOrUpdateDefaultResponse, ): response is VirtualRouterPeeringsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | VirtualRouterPeeringsList200Response - | VirtualRouterPeeringsListDefaultResponse, + response: VirtualRouterPeeringsList200Response | VirtualRouterPeeringsListDefaultResponse, ): response is VirtualRouterPeeringsListDefaultResponse; export function isUnexpected( response: VirtualWansGet200Response | VirtualWansGetDefaultResponse, @@ -5597,9 +5335,7 @@ export function isUnexpected( | VirtualWansCreateOrUpdateDefaultResponse, ): response is VirtualWansCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | VirtualWansUpdateTags200Response - | VirtualWansUpdateTagsDefaultResponse, + response: VirtualWansUpdateTags200Response | VirtualWansUpdateTagsDefaultResponse, ): response is VirtualWansUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -5636,9 +5372,7 @@ export function isUnexpected( | VpnSitesDeleteDefaultResponse, ): response is VpnSitesDeleteDefaultResponse; export function isUnexpected( - response: - | VpnSitesListByResourceGroup200Response - | VpnSitesListByResourceGroupDefaultResponse, + response: VpnSitesListByResourceGroup200Response | VpnSitesListByResourceGroupDefaultResponse, ): response is VpnSitesListByResourceGroupDefaultResponse; export function isUnexpected( response: VpnSitesList200Response | VpnSitesListDefaultResponse, @@ -5647,9 +5381,7 @@ export function isUnexpected( response: VpnSiteLinksGet200Response | VpnSiteLinksGetDefaultResponse, ): response is VpnSiteLinksGetDefaultResponse; export function isUnexpected( - response: - | VpnSiteLinksListByVpnSite200Response - | VpnSiteLinksListByVpnSiteDefaultResponse, + response: VpnSiteLinksListByVpnSite200Response | VpnSiteLinksListByVpnSiteDefaultResponse, ): response is VpnSiteLinksListByVpnSiteDefaultResponse; export function isUnexpected( response: @@ -5658,9 +5390,7 @@ export function isUnexpected( | VpnSitesConfigurationDownloadDefaultResponse, ): response is VpnSitesConfigurationDownloadDefaultResponse; export function isUnexpected( - response: - | VpnServerConfigurationsGet200Response - | VpnServerConfigurationsGetDefaultResponse, + response: VpnServerConfigurationsGet200Response | VpnServerConfigurationsGetDefaultResponse, ): response is VpnServerConfigurationsGetDefaultResponse; export function isUnexpected( response: @@ -5686,9 +5416,7 @@ export function isUnexpected( | VpnServerConfigurationsListByResourceGroupDefaultResponse, ): response is VpnServerConfigurationsListByResourceGroupDefaultResponse; export function isUnexpected( - response: - | VpnServerConfigurationsList200Response - | VpnServerConfigurationsListDefaultResponse, + response: VpnServerConfigurationsList200Response | VpnServerConfigurationsListDefaultResponse, ): response is VpnServerConfigurationsListDefaultResponse; export function isUnexpected( response: @@ -5704,9 +5432,7 @@ export function isUnexpected( | ConfigurationPolicyGroupsDeleteDefaultResponse, ): response is ConfigurationPolicyGroupsDeleteDefaultResponse; export function isUnexpected( - response: - | ConfigurationPolicyGroupsGet200Response - | ConfigurationPolicyGroupsGetDefaultResponse, + response: ConfigurationPolicyGroupsGet200Response | ConfigurationPolicyGroupsGetDefaultResponse, ): response is ConfigurationPolicyGroupsGetDefaultResponse; export function isUnexpected( response: @@ -5723,9 +5449,7 @@ export function isUnexpected( | VirtualHubsCreateOrUpdateDefaultResponse, ): response is VirtualHubsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | VirtualHubsUpdateTags200Response - | VirtualHubsUpdateTagsDefaultResponse, + response: VirtualHubsUpdateTags200Response | VirtualHubsUpdateTagsDefaultResponse, ): response is VirtualHubsUpdateTagsDefaultResponse; export function isUnexpected( response: @@ -5900,9 +5624,7 @@ export function isUnexpected( | VpnConnectionsListByVpnGatewayDefaultResponse, ): response is VpnConnectionsListByVpnGatewayDefaultResponse; export function isUnexpected( - response: - | VpnSiteLinkConnectionsGet200Response - | VpnSiteLinkConnectionsGetDefaultResponse, + response: VpnSiteLinkConnectionsGet200Response | VpnSiteLinkConnectionsGetDefaultResponse, ): response is VpnSiteLinkConnectionsGetDefaultResponse; export function isUnexpected( response: NatRulesGet200Response | NatRulesGetDefaultResponse, @@ -5921,9 +5643,7 @@ export function isUnexpected( | NatRulesDeleteDefaultResponse, ): response is NatRulesDeleteDefaultResponse; export function isUnexpected( - response: - | NatRulesListByVpnGateway200Response - | NatRulesListByVpnGatewayDefaultResponse, + response: NatRulesListByVpnGateway200Response | NatRulesListByVpnGatewayDefaultResponse, ): response is NatRulesListByVpnGatewayDefaultResponse; export function isUnexpected( response: P2SVpnGatewaysGet200Response | P2SVpnGatewaysGetDefaultResponse, @@ -5992,9 +5712,7 @@ export function isUnexpected( | VpnServerConfigurationsAssociatedWithVirtualWanListDefaultResponse, ): response is VpnServerConfigurationsAssociatedWithVirtualWanListDefaultResponse; export function isUnexpected( - response: - | VirtualHubRouteTableV2SGet200Response - | VirtualHubRouteTableV2SGetDefaultResponse, + response: VirtualHubRouteTableV2SGet200Response | VirtualHubRouteTableV2SGetDefaultResponse, ): response is VirtualHubRouteTableV2SGetDefaultResponse; export function isUnexpected( response: @@ -6010,9 +5728,7 @@ export function isUnexpected( | VirtualHubRouteTableV2SDeleteDefaultResponse, ): response is VirtualHubRouteTableV2SDeleteDefaultResponse; export function isUnexpected( - response: - | VirtualHubRouteTableV2SList200Response - | VirtualHubRouteTableV2SListDefaultResponse, + response: VirtualHubRouteTableV2SList200Response | VirtualHubRouteTableV2SListDefaultResponse, ): response is VirtualHubRouteTableV2SListDefaultResponse; export function isUnexpected( response: @@ -6037,9 +5753,7 @@ export function isUnexpected( | ExpressRouteGatewaysUpdateTagsDefaultResponse, ): response is ExpressRouteGatewaysUpdateTagsDefaultResponse; export function isUnexpected( - response: - | ExpressRouteGatewaysGet200Response - | ExpressRouteGatewaysGetDefaultResponse, + response: ExpressRouteGatewaysGet200Response | ExpressRouteGatewaysGetDefaultResponse, ): response is ExpressRouteGatewaysGetDefaultResponse; export function isUnexpected( response: @@ -6055,9 +5769,7 @@ export function isUnexpected( | ExpressRouteConnectionsCreateOrUpdateDefaultResponse, ): response is ExpressRouteConnectionsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | ExpressRouteConnectionsGet200Response - | ExpressRouteConnectionsGetDefaultResponse, + response: ExpressRouteConnectionsGet200Response | ExpressRouteConnectionsGetDefaultResponse, ): response is ExpressRouteConnectionsGetDefaultResponse; export function isUnexpected( response: @@ -6067,14 +5779,10 @@ export function isUnexpected( | ExpressRouteConnectionsDeleteDefaultResponse, ): response is ExpressRouteConnectionsDeleteDefaultResponse; export function isUnexpected( - response: - | ExpressRouteConnectionsList200Response - | ExpressRouteConnectionsListDefaultResponse, + response: ExpressRouteConnectionsList200Response | ExpressRouteConnectionsListDefaultResponse, ): response is ExpressRouteConnectionsListDefaultResponse; export function isUnexpected( - response: - | VirtualHubBgpConnectionGet200Response - | VirtualHubBgpConnectionGetDefaultResponse, + response: VirtualHubBgpConnectionGet200Response | VirtualHubBgpConnectionGetDefaultResponse, ): response is VirtualHubBgpConnectionGetDefaultResponse; export function isUnexpected( response: @@ -6090,9 +5798,7 @@ export function isUnexpected( | VirtualHubBgpConnectionDeleteDefaultResponse, ): response is VirtualHubBgpConnectionDeleteDefaultResponse; export function isUnexpected( - response: - | VirtualHubBgpConnectionsList200Response - | VirtualHubBgpConnectionsListDefaultResponse, + response: VirtualHubBgpConnectionsList200Response | VirtualHubBgpConnectionsListDefaultResponse, ): response is VirtualHubBgpConnectionsListDefaultResponse; export function isUnexpected( response: @@ -6107,9 +5813,7 @@ export function isUnexpected( | VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse, ): response is VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse; export function isUnexpected( - response: - | VirtualHubIpConfigurationGet200Response - | VirtualHubIpConfigurationGetDefaultResponse, + response: VirtualHubIpConfigurationGet200Response | VirtualHubIpConfigurationGetDefaultResponse, ): response is VirtualHubIpConfigurationGetDefaultResponse; export function isUnexpected( response: @@ -6125,9 +5829,7 @@ export function isUnexpected( | VirtualHubIpConfigurationDeleteDefaultResponse, ): response is VirtualHubIpConfigurationDeleteDefaultResponse; export function isUnexpected( - response: - | VirtualHubIpConfigurationList200Response - | VirtualHubIpConfigurationListDefaultResponse, + response: VirtualHubIpConfigurationList200Response | VirtualHubIpConfigurationListDefaultResponse, ): response is VirtualHubIpConfigurationListDefaultResponse; export function isUnexpected( response: @@ -6199,10 +5901,7 @@ export function isUnexpected( response: VipSwapGet200Response | VipSwapGetDefaultResponse, ): response is VipSwapGetDefaultResponse; export function isUnexpected( - response: - | VipSwapCreate200Response - | VipSwapCreate202Response - | VipSwapCreateDefaultResponse, + response: VipSwapCreate200Response | VipSwapCreate202Response | VipSwapCreateDefaultResponse, ): response is VipSwapCreateDefaultResponse; export function isUnexpected( response: VipSwapList200Response | VipSwapListDefaultResponse, @@ -8420,24 +8119,17 @@ function getParametrizedPathSuccess(method: string, path: string): string[] { // track if we have found a match to return the values found. let found = true; - for ( - let i = candidateParts.length - 1, j = pathParts.length - 1; - i >= 1 && j >= 1; - i--, j-- - ) { - if ( - candidateParts[i]?.startsWith("{") && - candidateParts[i]?.indexOf("}") !== -1 - ) { + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { const start = candidateParts[i]!.indexOf("}") + 1, end = candidateParts[i]?.length; // If the current part of the candidate is a "template" part // Try to use the suffix of pattern to match the path // {guid} ==> $ // {guid}:export ==> :export$ - const isMatched = new RegExp( - `${candidateParts[i]?.slice(start, end)}`, - ).test(pathParts[j] || ""); + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); if (!isMatched) { found = false; diff --git a/sdk/network/arm-network-rest/src/models.ts b/sdk/network/arm-network-rest/src/models.ts index 42d28222d0c1..8f1587ceeffb 100644 --- a/sdk/network/arm-network-rest/src/models.ts +++ b/sdk/network/arm-network-rest/src/models.ts @@ -163,8 +163,7 @@ export interface SubResource { } /** Authentication certificates of an application gateway. */ -export interface ApplicationGatewayAuthenticationCertificate - extends SubResource { +export interface ApplicationGatewayAuthenticationCertificate extends SubResource { /** Properties of the application gateway authentication certificate. */ properties?: ApplicationGatewayAuthenticationCertificatePropertiesFormat; /** Name of the authentication certificate that is unique within an Application Gateway. */ @@ -194,8 +193,7 @@ export interface ApplicationGatewayTrustedRootCertificatePropertiesFormat { } /** Trusted client certificates of an application gateway. */ -export interface ApplicationGatewayTrustedClientCertificate - extends SubResource { +export interface ApplicationGatewayTrustedClientCertificate extends SubResource { /** Properties of the application gateway trusted client certificate. */ properties?: ApplicationGatewayTrustedClientCertificatePropertiesFormat; /** Name of the trusted client certificate that is unique within an Application Gateway. */ @@ -820,12 +818,7 @@ export interface RoutePropertiesFormat { /** The destination CIDR to which the route applies. */ addressPrefix?: string; /** The type of Azure hop the packet should be sent to. */ - nextHopType: - | "VirtualNetworkGateway" - | "VnetLocal" - | "Internet" - | "VirtualAppliance" - | "None"; + nextHopType: "VirtualNetworkGateway" | "VnetLocal" | "Internet" | "VirtualAppliance" | "None"; /** The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. */ nextHopIpAddress?: string; /** A value indicating whether this route overrides overlapping BGP routes regardless of LPM. */ @@ -1578,8 +1571,7 @@ export interface ApplicationGatewayAutoscaleConfiguration { } /** Private Link Configuration on an application gateway. */ -export interface ApplicationGatewayPrivateLinkConfiguration - extends SubResource { +export interface ApplicationGatewayPrivateLinkConfiguration extends SubResource { /** Properties of the application gateway private link configuration. */ properties?: ApplicationGatewayPrivateLinkConfigurationProperties; /** Name of the private link configuration that is unique within an Application Gateway. */ @@ -1593,8 +1585,7 @@ export interface ApplicationGatewayPrivateLinkConfigurationProperties { } /** The application gateway private link ip configuration. */ -export interface ApplicationGatewayPrivateLinkIpConfiguration - extends SubResource { +export interface ApplicationGatewayPrivateLinkIpConfiguration extends SubResource { /** Properties of an application gateway private link ip configuration. */ properties?: ApplicationGatewayPrivateLinkIpConfigurationProperties; /** The name of application gateway private link ip configuration. */ @@ -1614,8 +1605,7 @@ export interface ApplicationGatewayPrivateLinkIpConfigurationProperties { } /** Private Endpoint connection on an application gateway. */ -export interface ApplicationGatewayPrivateEndpointConnection - extends SubResource { +export interface ApplicationGatewayPrivateEndpointConnection extends SubResource { /** Properties of the application gateway private endpoint connection. */ properties?: ApplicationGatewayPrivateEndpointConnectionProperties; /** Name of the private endpoint connection on an application gateway. */ @@ -1670,11 +1660,7 @@ export interface ApplicationGatewayGlobalConfiguration { /** Identity for the resource. */ export interface ManagedServiceIdentity { /** The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ - type?: - | "SystemAssigned" - | "UserAssigned" - | "SystemAssigned, UserAssigned" - | "None"; + type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record< string, @@ -2201,16 +2187,7 @@ export interface CustomIpPrefixPropertiesFormat { /** Whether to do express route advertise. */ expressRouteAdvertise?: boolean; /** The Geo for CIDR advertising. Should be an Geo code. */ - geo?: - | "GLOBAL" - | "AFRI" - | "APAC" - | "EURO" - | "LATAM" - | "NAM" - | "ME" - | "OCEANIA" - | "AQ"; + geo?: "GLOBAL" | "AFRI" | "APAC" | "EURO" | "LATAM" | "NAM" | "ME" | "OCEANIA" | "AQ"; /** Whether to Advertise the range to Internet. */ noInternetAdvertise?: boolean; /** Type of custom IP prefix. Should be Singular, Parent, or Child. */ @@ -2258,16 +2235,7 @@ export interface DscpConfigurationPropertiesFormat { /** Destination port ranges. */ destinationPortRanges?: Array; /** RNM supported protocol types. */ - protocol?: - | "DoNotUse" - | "Icmp" - | "Tcp" - | "Udp" - | "Gre" - | "Esp" - | "Ah" - | "Vxlan" - | "All"; + protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; /** QoS object definitions */ qosDefinitionCollection?: Array; } @@ -2301,16 +2269,7 @@ export interface QosDefinition { /** Destination port ranges. */ destinationPortRanges?: Array; /** RNM supported protocol types. */ - protocol?: - | "DoNotUse" - | "Icmp" - | "Tcp" - | "Udp" - | "Gre" - | "Esp" - | "Ah" - | "Vxlan" - | "All"; + protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; } /** Endpoint service. */ @@ -2343,10 +2302,7 @@ export interface ExpressRouteCircuitPeering extends SubResource { /** Properties of the express route circuit peering. */ export interface ExpressRouteCircuitPeeringPropertiesFormat { /** The peering type. */ - peeringType?: - | "AzurePublicPeering" - | "AzurePrivatePeering" - | "MicrosoftPeering"; + peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; /** The peering state. */ state?: "Disabled" | "Enabled"; /** The Azure ASN. */ @@ -2597,10 +2553,7 @@ export interface ExpressRouteCrossConnectionPeering extends SubResource { /** Properties of express route cross connection peering. */ export interface ExpressRouteCrossConnectionPeeringProperties { /** The peering type. */ - peeringType?: - | "AzurePublicPeering" - | "AzurePrivatePeering" - | "MicrosoftPeering"; + peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; /** The peering state. */ state?: "Disabled" | "Enabled"; /** The peer ASN. */ @@ -3388,9 +3341,7 @@ export interface SecurityAdminConfigurationPropertiesFormat { /** A description of the security configuration. */ description?: string; /** Enum list of network intent policy based services. */ - applyOnNetworkIntentPolicyBasedServices?: Array< - "None" | "All" | "AllowRulesOnly" - >; + applyOnNetworkIntentPolicyBasedServices?: Array<"None" | "All" | "AllowRulesOnly">; } /** Defines the admin rule collection. */ @@ -3694,8 +3645,7 @@ export interface PacketCaptureFilter { } /** The properties of a packet capture session. */ -export interface PacketCaptureResultProperties - extends PacketCaptureParameters {} +export interface PacketCaptureResultProperties extends PacketCaptureParameters {} /** Parameters that define the resource to troubleshoot. */ export interface TroubleshootingParameters { @@ -3936,13 +3886,7 @@ export interface ConnectionMonitorEndpoint { /** Endpoint scope. */ scope?: ConnectionMonitorEndpointScope; /** Test coverage for the endpoint. */ - coverageLevel?: - | "Default" - | "Low" - | "BelowAverage" - | "Average" - | "AboveAverage" - | "Full"; + coverageLevel?: "Default" | "Low" | "BelowAverage" | "Average" | "AboveAverage" | "Full"; } /** Describes the connection monitor endpoint filter. */ @@ -4064,8 +4008,7 @@ export interface ConnectionMonitorWorkspaceSettings { } /** Describes the properties of a connection monitor. */ -export interface ConnectionMonitorResultProperties - extends ConnectionMonitorParameters {} +export interface ConnectionMonitorResultProperties extends ConnectionMonitorParameters {} /** Private dns zone group resource. */ export interface PrivateDnsZoneGroup extends SubResource { @@ -4540,30 +4483,11 @@ export interface IpsecPolicy { | "GCMAES192" | "GCMAES256"; /** The IPSec integrity algorithm (IKE phase 1). */ - ipsecIntegrity: - | "MD5" - | "SHA1" - | "SHA256" - | "GCMAES128" - | "GCMAES192" - | "GCMAES256"; + ipsecIntegrity: "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; /** The IKE encryption algorithm (IKE phase 2). */ - ikeEncryption: - | "DES" - | "DES3" - | "AES128" - | "AES192" - | "AES256" - | "GCMAES256" - | "GCMAES128"; + ikeEncryption: "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"; /** The IKE integrity algorithm (IKE phase 2). */ - ikeIntegrity: - | "MD5" - | "SHA1" - | "SHA256" - | "SHA384" - | "GCMAES256" - | "GCMAES128"; + ikeIntegrity: "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; /** The DH Group used in IKE Phase 1 for initial SA. */ dhGroup: | "None" @@ -4790,30 +4714,11 @@ export interface VpnClientIPsecParameters { | "GCMAES192" | "GCMAES256"; /** The IPSec integrity algorithm (IKE phase 1). */ - ipsecIntegrity: - | "MD5" - | "SHA1" - | "SHA256" - | "GCMAES128" - | "GCMAES192" - | "GCMAES256"; + ipsecIntegrity: "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; /** The IKE encryption algorithm (IKE phase 2). */ - ikeEncryption: - | "DES" - | "DES3" - | "AES128" - | "AES192" - | "AES256" - | "GCMAES256" - | "GCMAES128"; + ikeEncryption: "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"; /** The IKE integrity algorithm (IKE phase 2). */ - ikeIntegrity: - | "MD5" - | "SHA1" - | "SHA256" - | "SHA384" - | "GCMAES256" - | "GCMAES128"; + ikeIntegrity: "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; /** The DH Group used in IKE Phase 1 for initial SA. */ dhGroup: | "None" @@ -5426,12 +5331,7 @@ export interface Criterion { /** List of AS paths which this criteria matches. */ asPath?: Array; /** Match condition to apply RouteMap rules. */ - matchCondition?: - | "Unknown" - | "Contains" - | "Equals" - | "NotContains" - | "NotEquals"; + matchCondition?: "Unknown" | "Contains" | "Equals" | "NotContains" | "NotEquals"; } /** Action to be taken on a route matching a RouteMap criterion. */ @@ -5962,12 +5862,7 @@ export interface OwaspCrsExclusionEntry { | "RequestArgKeys" | "RequestArgValues"; /** When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. */ - selectorMatchOperator: - | "Equals" - | "Contains" - | "StartsWith" - | "EndsWith" - | "EqualsAny"; + selectorMatchOperator: "Equals" | "Contains" | "StartsWith" | "EndsWith" | "EqualsAny"; /** When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to. */ selector: string; /** The managed rule sets that are associated with the exclusion. */ @@ -6039,8 +5934,7 @@ export interface SwapResourceProperties { } /** Firewall Policy NAT Rule Collection. */ -export interface FirewallPolicyNatRuleCollection - extends FirewallPolicyRuleCollectionParent { +export interface FirewallPolicyNatRuleCollection extends FirewallPolicyRuleCollectionParent { /** The action type of a Nat rule collection. */ action?: FirewallPolicyNatRuleCollectionAction; /** List of rules included in a rule collection. */ @@ -6060,16 +5954,11 @@ export interface FirewallPolicyRuleParent { name?: string; /** Description of the rule. */ description?: string; - ruleType: - | "FirewallPolicyRule" - | "ApplicationRule" - | "NatRule" - | "NetworkRule"; + ruleType: "FirewallPolicyRule" | "ApplicationRule" | "NatRule" | "NetworkRule"; } /** Firewall Policy Filter Rule Collection. */ -export interface FirewallPolicyFilterRuleCollection - extends FirewallPolicyRuleCollectionParent { +export interface FirewallPolicyFilterRuleCollection extends FirewallPolicyRuleCollectionParent { /** The action type of a Filter rule collection. */ action?: FirewallPolicyFilterRuleCollectionAction; /** List of rules included in a rule collection. */ diff --git a/sdk/network/arm-network-rest/src/networkManagementClient.ts b/sdk/network/arm-network-rest/src/networkManagementClient.ts index e6097dbb8a07..86a538ba0009 100644 --- a/sdk/network/arm-network-rest/src/networkManagementClient.ts +++ b/sdk/network/arm-network-rest/src/networkManagementClient.ts @@ -18,8 +18,7 @@ export default function createClient( credentials: TokenCredential, options: NetworkManagementClientOptions = {}, ): NetworkManagementClient { - const endpointUrl = - options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; const userAgentInfo = `azsdk-js-arm-network-rest/1.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix @@ -34,16 +33,10 @@ export default function createClient( logger: options.loggingOptions?.logger ?? logger.info, }, credentials: { - scopes: options.credentials?.scopes ?? [ - "https://management.azure.com/.default", - ], + scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"], }, }; - const client = getClient( - endpointUrl, - credentials, - options, - ) as NetworkManagementClient; + const client = getClient(endpointUrl, credentials, options) as NetworkManagementClient; client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); if (options.apiVersion) { diff --git a/sdk/network/arm-network-rest/src/outputModels.ts b/sdk/network/arm-network-rest/src/outputModels.ts index 2988144d5748..072a1c9418c4 100644 --- a/sdk/network/arm-network-rest/src/outputModels.ts +++ b/sdk/network/arm-network-rest/src/outputModels.ts @@ -171,8 +171,7 @@ export interface ApplicationGatewaySslPolicyOutput { } /** IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. */ -export interface ApplicationGatewayIPConfigurationOutput - extends SubResourceOutput { +export interface ApplicationGatewayIPConfigurationOutput extends SubResourceOutput { /** Properties of the application gateway IP configuration. */ properties?: ApplicationGatewayIPConfigurationPropertiesFormatOutput; /** Name of the IP configuration that is unique within an Application Gateway. */ @@ -198,8 +197,7 @@ export interface SubResourceOutput { } /** Authentication certificates of an application gateway. */ -export interface ApplicationGatewayAuthenticationCertificateOutput - extends SubResourceOutput { +export interface ApplicationGatewayAuthenticationCertificateOutput extends SubResourceOutput { /** Properties of the application gateway authentication certificate. */ properties?: ApplicationGatewayAuthenticationCertificatePropertiesFormatOutput; /** Name of the authentication certificate that is unique within an Application Gateway. */ @@ -219,8 +217,7 @@ export interface ApplicationGatewayAuthenticationCertificatePropertiesFormatOutp } /** Trusted Root certificates of an application gateway. */ -export interface ApplicationGatewayTrustedRootCertificateOutput - extends SubResourceOutput { +export interface ApplicationGatewayTrustedRootCertificateOutput extends SubResourceOutput { /** Properties of the application gateway trusted root certificate. */ properties?: ApplicationGatewayTrustedRootCertificatePropertiesFormatOutput; /** Name of the trusted root certificate that is unique within an Application Gateway. */ @@ -242,8 +239,7 @@ export interface ApplicationGatewayTrustedRootCertificatePropertiesFormatOutput } /** Trusted client certificates of an application gateway. */ -export interface ApplicationGatewayTrustedClientCertificateOutput - extends SubResourceOutput { +export interface ApplicationGatewayTrustedClientCertificateOutput extends SubResourceOutput { /** Properties of the application gateway trusted client certificate. */ properties?: ApplicationGatewayTrustedClientCertificatePropertiesFormatOutput; /** Name of the trusted client certificate that is unique within an Application Gateway. */ @@ -267,8 +263,7 @@ export interface ApplicationGatewayTrustedClientCertificatePropertiesFormatOutpu } /** SSL certificates of an application gateway. */ -export interface ApplicationGatewaySslCertificateOutput - extends SubResourceOutput { +export interface ApplicationGatewaySslCertificateOutput extends SubResourceOutput { /** Properties of the application gateway SSL certificate. */ properties?: ApplicationGatewaySslCertificatePropertiesFormatOutput; /** Name of the SSL certificate that is unique within an Application Gateway. */ @@ -294,8 +289,7 @@ export interface ApplicationGatewaySslCertificatePropertiesFormatOutput { } /** Frontend IP configuration of an application gateway. */ -export interface ApplicationGatewayFrontendIPConfigurationOutput - extends SubResourceOutput { +export interface ApplicationGatewayFrontendIPConfigurationOutput extends SubResourceOutput { /** Properties of the application gateway frontend IP configuration. */ properties?: ApplicationGatewayFrontendIPConfigurationPropertiesFormatOutput; /** Name of the frontend IP configuration that is unique within an Application Gateway. */ @@ -323,8 +317,7 @@ export interface ApplicationGatewayFrontendIPConfigurationPropertiesFormatOutput } /** Frontend port of an application gateway. */ -export interface ApplicationGatewayFrontendPortOutput - extends SubResourceOutput { +export interface ApplicationGatewayFrontendPortOutput extends SubResourceOutput { /** Properties of the application gateway frontend port. */ properties?: ApplicationGatewayFrontendPortPropertiesFormatOutput; /** Name of the frontend port that is unique within an Application Gateway. */ @@ -392,8 +385,7 @@ export interface ApplicationGatewayProbeHealthResponseMatchOutput { } /** Backend Address Pool of an application gateway. */ -export interface ApplicationGatewayBackendAddressPoolOutput - extends SubResourceOutput { +export interface ApplicationGatewayBackendAddressPoolOutput extends SubResourceOutput { /** Properties of the application gateway backend address pool. */ properties?: ApplicationGatewayBackendAddressPoolPropertiesFormatOutput; /** Name of the backend address pool that is unique within an Application Gateway. */ @@ -415,8 +407,7 @@ export interface ApplicationGatewayBackendAddressPoolPropertiesFormatOutput { } /** IPConfiguration in a network interface. */ -export interface NetworkInterfaceIPConfigurationOutput - extends SubResourceOutput { +export interface NetworkInterfaceIPConfigurationOutput extends SubResourceOutput { /** Network interface IP configuration properties. */ properties?: NetworkInterfaceIPConfigurationPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -484,8 +475,7 @@ export interface VirtualNetworkTapPropertiesFormatOutput { } /** Tap configuration in a Network Interface. */ -export interface NetworkInterfaceTapConfigurationOutput - extends SubResourceOutput { +export interface NetworkInterfaceTapConfigurationOutput extends SubResourceOutput { /** Properties of the Virtual Network Tap configuration. */ properties?: NetworkInterfaceTapConfigurationPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -917,8 +907,7 @@ export interface PrivateLinkServicePropertiesOutput { } /** The private link service ip configuration. */ -export interface PrivateLinkServiceIpConfigurationOutput - extends SubResourceOutput { +export interface PrivateLinkServiceIpConfigurationOutput extends SubResourceOutput { /** Properties of the private link service ip configuration. */ properties?: PrivateLinkServiceIpConfigurationPropertiesOutput; /** The name of private link service ip configuration. */ @@ -970,8 +959,7 @@ export interface PrivateEndpointConnectionPropertiesOutput { } /** The visibility list of the private link service. */ -export interface PrivateLinkServicePropertiesVisibilityOutput - extends ResourceSetOutput {} +export interface PrivateLinkServicePropertiesVisibilityOutput extends ResourceSetOutput {} /** The base resource set for visibility and auto-approval. */ export interface ResourceSetOutput { @@ -980,8 +968,7 @@ export interface ResourceSetOutput { } /** The auto-approval list of the private link service. */ -export interface PrivateLinkServicePropertiesAutoApprovalOutput - extends ResourceSetOutput {} +export interface PrivateLinkServicePropertiesAutoApprovalOutput extends ResourceSetOutput {} /** A flow log resource. */ export interface FlowLogOutput extends ResourceOutput { @@ -1086,12 +1073,7 @@ export interface RoutePropertiesFormatOutput { /** The destination CIDR to which the route applies. */ addressPrefix?: string; /** The type of Azure hop the packet should be sent to. */ - nextHopType: - | "VirtualNetworkGateway" - | "VnetLocal" - | "Internet" - | "VirtualAppliance" - | "None"; + nextHopType: "VirtualNetworkGateway" | "VnetLocal" | "Internet" | "VirtualAppliance" | "None"; /** The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. */ nextHopIpAddress?: string; /** The provisioning state of the route resource. */ @@ -1137,8 +1119,7 @@ export interface ServiceEndpointPolicyPropertiesFormatOutput { } /** Service Endpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionOutput - extends SubResourceOutput { +export interface ServiceEndpointPolicyDefinitionOutput extends SubResourceOutput { /** Properties of the service endpoint policy definition. */ properties?: ServiceEndpointPolicyDefinitionPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -1536,8 +1517,7 @@ export interface ApplicationGatewayBackendAddressOutput { } /** Backend address pool settings of an application gateway. */ -export interface ApplicationGatewayBackendHttpSettingsOutput - extends SubResourceOutput { +export interface ApplicationGatewayBackendHttpSettingsOutput extends SubResourceOutput { /** Properties of the application gateway backend HTTP settings. */ properties?: ApplicationGatewayBackendHttpSettingsPropertiesFormatOutput; /** Name of the backend http settings that is unique within an Application Gateway. */ @@ -1589,8 +1569,7 @@ export interface ApplicationGatewayConnectionDrainingOutput { } /** Backend address pool settings of an application gateway. */ -export interface ApplicationGatewayBackendSettingsOutput - extends SubResourceOutput { +export interface ApplicationGatewayBackendSettingsOutput extends SubResourceOutput { /** Properties of the application gateway backend settings. */ properties?: ApplicationGatewayBackendSettingsPropertiesFormatOutput; /** Name of the backend settings that is unique within an Application Gateway. */ @@ -1622,8 +1601,7 @@ export interface ApplicationGatewayBackendSettingsPropertiesFormatOutput { } /** Http listener of an application gateway. */ -export interface ApplicationGatewayHttpListenerOutput - extends SubResourceOutput { +export interface ApplicationGatewayHttpListenerOutput extends SubResourceOutput { /** Properties of the application gateway HTTP listener. */ properties?: ApplicationGatewayHttpListenerPropertiesFormatOutput; /** Name of the HTTP listener that is unique within an Application Gateway. */ @@ -1791,8 +1769,7 @@ export interface ApplicationGatewayPathRulePropertiesFormatOutput { } /** Request routing rule of an application gateway. */ -export interface ApplicationGatewayRequestRoutingRuleOutput - extends SubResourceOutput { +export interface ApplicationGatewayRequestRoutingRuleOutput extends SubResourceOutput { /** Properties of the application gateway request routing rule. */ properties?: ApplicationGatewayRequestRoutingRulePropertiesFormatOutput; /** Name of the request routing rule that is unique within an Application Gateway. */ @@ -1856,8 +1833,7 @@ export interface ApplicationGatewayRoutingRulePropertiesFormatOutput { } /** Rewrite rule set of an application gateway. */ -export interface ApplicationGatewayRewriteRuleSetOutput - extends SubResourceOutput { +export interface ApplicationGatewayRewriteRuleSetOutput extends SubResourceOutput { /** Properties of the application gateway rewrite rule set. */ properties?: ApplicationGatewayRewriteRuleSetPropertiesFormatOutput; /** Name of the rewrite rule set that is unique within an Application Gateway. */ @@ -1927,8 +1903,7 @@ export interface ApplicationGatewayUrlConfigurationOutput { } /** Redirect configuration of an application gateway. */ -export interface ApplicationGatewayRedirectConfigurationOutput - extends SubResourceOutput { +export interface ApplicationGatewayRedirectConfigurationOutput extends SubResourceOutput { /** Properties of the application gateway redirect configuration. */ properties?: ApplicationGatewayRedirectConfigurationPropertiesFormatOutput; /** Name of the redirect configuration that is unique within an Application Gateway. */ @@ -2010,8 +1985,7 @@ export interface ApplicationGatewayAutoscaleConfigurationOutput { } /** Private Link Configuration on an application gateway. */ -export interface ApplicationGatewayPrivateLinkConfigurationOutput - extends SubResourceOutput { +export interface ApplicationGatewayPrivateLinkConfigurationOutput extends SubResourceOutput { /** Properties of the application gateway private link configuration. */ properties?: ApplicationGatewayPrivateLinkConfigurationPropertiesOutput; /** Name of the private link configuration that is unique within an Application Gateway. */ @@ -2031,8 +2005,7 @@ export interface ApplicationGatewayPrivateLinkConfigurationPropertiesOutput { } /** The application gateway private link ip configuration. */ -export interface ApplicationGatewayPrivateLinkIpConfigurationOutput - extends SubResourceOutput { +export interface ApplicationGatewayPrivateLinkIpConfigurationOutput extends SubResourceOutput { /** Properties of an application gateway private link ip configuration. */ properties?: ApplicationGatewayPrivateLinkIpConfigurationPropertiesOutput; /** The name of application gateway private link ip configuration. */ @@ -2058,8 +2031,7 @@ export interface ApplicationGatewayPrivateLinkIpConfigurationPropertiesOutput { } /** Private Endpoint connection on an application gateway. */ -export interface ApplicationGatewayPrivateEndpointConnectionOutput - extends SubResourceOutput { +export interface ApplicationGatewayPrivateEndpointConnectionOutput extends SubResourceOutput { /** Properties of the application gateway private endpoint connection. */ properties?: ApplicationGatewayPrivateEndpointConnectionPropertiesOutput; /** Name of the private endpoint connection on an application gateway. */ @@ -2083,8 +2055,7 @@ export interface ApplicationGatewayPrivateEndpointConnectionPropertiesOutput { } /** Load Distribution Policy of an application gateway. */ -export interface ApplicationGatewayLoadDistributionPolicyOutput - extends SubResourceOutput { +export interface ApplicationGatewayLoadDistributionPolicyOutput extends SubResourceOutput { /** Properties of the application gateway load distribution policy. */ properties?: ApplicationGatewayLoadDistributionPolicyPropertiesFormatOutput; /** Name of the load distribution policy that is unique within an Application Gateway. */ @@ -2106,8 +2077,7 @@ export interface ApplicationGatewayLoadDistributionPolicyPropertiesFormatOutput } /** Load Distribution Target of an application gateway. */ -export interface ApplicationGatewayLoadDistributionTargetOutput - extends SubResourceOutput { +export interface ApplicationGatewayLoadDistributionTargetOutput extends SubResourceOutput { /** Properties of the application gateway load distribution target. */ properties?: ApplicationGatewayLoadDistributionTargetPropertiesFormatOutput; /** Name of the load distribution policy that is unique within an Application Gateway. */ @@ -2140,11 +2110,7 @@ export interface ManagedServiceIdentityOutput { /** The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. */ readonly tenantId?: string; /** The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ - type?: - | "SystemAssigned" - | "UserAssigned" - | "SystemAssigned, UserAssigned" - | "None"; + type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record< string, @@ -2218,8 +2184,7 @@ export interface ApplicationGatewayPrivateLinkResourceListResultOutput { } /** PrivateLink Resource of an application gateway. */ -export interface ApplicationGatewayPrivateLinkResourceOutput - extends SubResourceOutput { +export interface ApplicationGatewayPrivateLinkResourceOutput extends SubResourceOutput { /** Properties of the application gateway private link resource. */ properties?: ApplicationGatewayPrivateLinkResourcePropertiesOutput; /** Name of the private link resource that is unique within an Application Gateway. */ @@ -2279,8 +2244,7 @@ export interface ApplicationGatewayAvailableWafRuleSetsResultOutput { } /** A web application firewall rule set. */ -export interface ApplicationGatewayFirewallRuleSetOutput - extends ResourceOutput { +export interface ApplicationGatewayFirewallRuleSetOutput extends ResourceOutput { /** Properties of the application gateway firewall rule set. */ properties?: ApplicationGatewayFirewallRuleSetPropertiesFormatOutput; } @@ -2324,8 +2288,7 @@ export interface ApplicationGatewayFirewallRuleOutput { } /** Response for ApplicationGatewayAvailableSslOptions API service call. */ -export interface ApplicationGatewayAvailableSslOptionsOutput - extends ResourceOutput { +export interface ApplicationGatewayAvailableSslOptionsOutput extends ResourceOutput { /** Properties of the application gateway available SSL options. */ properties?: ApplicationGatewayAvailableSslOptionsPropertiesFormatOutput; } @@ -2385,8 +2348,7 @@ export interface ApplicationGatewayAvailableSslPredefinedPoliciesOutput { } /** An Ssl predefined policy. */ -export interface ApplicationGatewaySslPredefinedPolicyOutput - extends SubResourceOutput { +export interface ApplicationGatewaySslPredefinedPolicyOutput extends SubResourceOutput { /** Name of the Ssl predefined policy. */ name?: string; /** Properties of the application gateway SSL predefined policy. */ @@ -2571,8 +2533,7 @@ export interface AzureFirewallPropertiesFormatOutput { } /** Application rule collection resource. */ -export interface AzureFirewallApplicationRuleCollectionOutput - extends SubResourceOutput { +export interface AzureFirewallApplicationRuleCollectionOutput extends SubResourceOutput { /** Properties of the azure firewall application rule collection. */ properties?: AzureFirewallApplicationRuleCollectionPropertiesFormatOutput; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ @@ -2626,8 +2587,7 @@ export interface AzureFirewallApplicationRuleProtocolOutput { } /** NAT rule collection resource. */ -export interface AzureFirewallNatRuleCollectionOutput - extends SubResourceOutput { +export interface AzureFirewallNatRuleCollectionOutput extends SubResourceOutput { /** Properties of the azure firewall NAT rule collection. */ properties?: AzureFirewallNatRuleCollectionPropertiesOutput; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ @@ -2679,8 +2639,7 @@ export interface AzureFirewallNatRuleOutput { } /** Network rule collection resource. */ -export interface AzureFirewallNetworkRuleCollectionOutput - extends SubResourceOutput { +export interface AzureFirewallNetworkRuleCollectionOutput extends SubResourceOutput { /** Properties of the azure firewall network rule collection. */ properties?: AzureFirewallNetworkRuleCollectionPropertiesFormatOutput; /** The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. */ @@ -3057,16 +3016,7 @@ export interface CustomIpPrefixPropertiesFormatOutput { /** Whether to do express route advertise. */ expressRouteAdvertise?: boolean; /** The Geo for CIDR advertising. Should be an Geo code. */ - geo?: - | "GLOBAL" - | "AFRI" - | "APAC" - | "EURO" - | "LATAM" - | "NAM" - | "ME" - | "OCEANIA" - | "AQ"; + geo?: "GLOBAL" | "AFRI" | "APAC" | "EURO" | "LATAM" | "NAM" | "ME" | "OCEANIA" | "AQ"; /** Whether to Advertise the range to Internet. */ noInternetAdvertise?: boolean; /** Type of custom IP prefix. Should be Singular, Parent, or Child. */ @@ -3164,16 +3114,7 @@ export interface DscpConfigurationPropertiesFormatOutput { /** Destination port ranges. */ destinationPortRanges?: Array; /** RNM supported protocol types. */ - protocol?: - | "DoNotUse" - | "Icmp" - | "Tcp" - | "Udp" - | "Gre" - | "Esp" - | "Ah" - | "Vxlan" - | "All"; + protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; /** QoS object definitions */ qosDefinitionCollection?: Array; /** Qos Collection ID generated by RNM. */ @@ -3215,16 +3156,7 @@ export interface QosDefinitionOutput { /** Destination port ranges. */ destinationPortRanges?: Array; /** RNM supported protocol types. */ - protocol?: - | "DoNotUse" - | "Icmp" - | "Tcp" - | "Udp" - | "Gre" - | "Esp" - | "Ah" - | "Vxlan" - | "All"; + protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; } /** Response for the DscpConfigurationList API service call. */ @@ -3252,8 +3184,7 @@ export interface EndpointServiceResultOutput extends SubResourceOutput { } /** Authorization in an ExpressRouteCircuit resource. */ -export interface ExpressRouteCircuitAuthorizationOutput - extends SubResourceOutput { +export interface ExpressRouteCircuitAuthorizationOutput extends SubResourceOutput { /** Properties of the express route circuit authorization. */ properties?: AuthorizationPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -3297,10 +3228,7 @@ export interface ExpressRouteCircuitPeeringOutput extends SubResourceOutput { /** Properties of the express route circuit peering. */ export interface ExpressRouteCircuitPeeringPropertiesFormatOutput { /** The peering type. */ - peeringType?: - | "AzurePublicPeering" - | "AzurePrivatePeering" - | "MicrosoftPeering"; + peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; /** The peering state. */ state?: "Disabled" | "Enabled"; /** The Azure ASN. */ @@ -3418,10 +3346,7 @@ export interface ExpressRouteCircuitConnectionPropertiesFormatOutput { /** IPv6 Address PrefixProperties of the express route circuit connection. */ ipv6CircuitConnectionConfig?: Ipv6CircuitConnectionConfigOutput; /** Express Route Circuit connection state. */ - readonly circuitConnectionStatus?: - | "Connected" - | "Connecting" - | "Disconnected"; + readonly circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; /** The provisioning state of the express route circuit connection resource. */ readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } @@ -3431,15 +3356,11 @@ export interface Ipv6CircuitConnectionConfigOutput { /** /125 IP address space to carve out customer addresses for global reach. */ addressPrefix?: string; /** Express Route Circuit connection state. */ - readonly circuitConnectionStatus?: - | "Connected" - | "Connecting" - | "Disconnected"; + readonly circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; } /** Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. */ -export interface PeerExpressRouteCircuitConnectionOutput - extends SubResourceOutput { +export interface PeerExpressRouteCircuitConnectionOutput extends SubResourceOutput { /** Properties of the peer express route circuit connection. */ properties?: PeerExpressRouteCircuitConnectionPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -3459,10 +3380,7 @@ export interface PeerExpressRouteCircuitConnectionPropertiesFormatOutput { /** /29 IP address space to carve out Customer addresses for tunnels. */ addressPrefix?: string; /** Express Route Circuit connection state. */ - readonly circuitConnectionStatus?: - | "Connected" - | "Connecting" - | "Disconnected"; + readonly circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; /** The name of the express route circuit connection resource. */ connectionName?: string; /** The resource guid of the authorization used for the express route circuit connection. */ @@ -3718,8 +3636,7 @@ export interface ExpressRouteCircuitReferenceOutput { } /** Peering in an ExpressRoute Cross Connection resource. */ -export interface ExpressRouteCrossConnectionPeeringOutput - extends SubResourceOutput { +export interface ExpressRouteCrossConnectionPeeringOutput extends SubResourceOutput { /** Properties of the express route cross connection peering. */ properties?: ExpressRouteCrossConnectionPeeringPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -3731,10 +3648,7 @@ export interface ExpressRouteCrossConnectionPeeringOutput /** Properties of express route cross connection peering. */ export interface ExpressRouteCrossConnectionPeeringPropertiesOutput { /** The peering type. */ - peeringType?: - | "AzurePublicPeering" - | "AzurePrivatePeering" - | "MicrosoftPeering"; + peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; /** The peering state. */ state?: "Disabled" | "Enabled"; /** The Azure ASN. */ @@ -4192,8 +4106,7 @@ export interface FirewallPolicyListResultOutput { } /** Rule Collection Group resource. */ -export interface FirewallPolicyRuleCollectionGroupOutput - extends SubResourceOutput { +export interface FirewallPolicyRuleCollectionGroupOutput extends SubResourceOutput { /** The properties of the firewall policy rule collection group. */ properties?: FirewallPolicyRuleCollectionGroupPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -4646,12 +4559,7 @@ export interface EffectiveRouteOutput { /** The IP address of the next hop of the effective route. */ nextHopIpAddress?: Array; /** The type of Azure hop the packet should be sent to. */ - nextHopType?: - | "VirtualNetworkGateway" - | "VnetLocal" - | "Internet" - | "VirtualAppliance" - | "None"; + nextHopType?: "VirtualNetworkGateway" | "VnetLocal" | "Internet" | "VirtualAppliance" | "None"; } /** Response for list effective network security groups API service call. */ @@ -4971,12 +4879,7 @@ export interface NetworkManagerConnectionPropertiesOutput { /** Network Manager Id. */ networkManagerId?: string; /** Connection state. */ - readonly connectionState?: - | "Connected" - | "Pending" - | "Conflict" - | "Revoked" - | "Rejected"; + readonly connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; /** A description of the network manager connection. */ description?: string; } @@ -5105,12 +5008,7 @@ export interface ScopeConnectionPropertiesOutput { /** Resource ID. */ resourceId?: string; /** Connection State */ - readonly connectionState?: - | "Connected" - | "Pending" - | "Conflict" - | "Revoked" - | "Rejected"; + readonly connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; /** A description of the scope connection. */ description?: string; } @@ -5144,9 +5042,7 @@ export interface SecurityAdminConfigurationPropertiesFormatOutput { /** A description of the security configuration. */ description?: string; /** Enum list of network intent policy based services. */ - applyOnNetworkIntentPolicyBasedServices?: Array< - "None" | "All" | "AllowRulesOnly" - >; + applyOnNetworkIntentPolicyBasedServices?: Array<"None" | "All" | "AllowRulesOnly">; /** The provisioning state of the resource. */ readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } @@ -5237,8 +5133,7 @@ export interface ContainerNetworkInterfacePropertiesFormatOutput { } /** Container network interface configuration child resource. */ -export interface ContainerNetworkInterfaceConfigurationOutput - extends SubResourceOutput { +export interface ContainerNetworkInterfaceConfigurationOutput extends SubResourceOutput { /** Container network interface configuration properties. */ properties?: ContainerNetworkInterfaceConfigurationPropertiesFormatOutput; /** The name of the resource. This name can be used to access the resource. */ @@ -5671,8 +5566,7 @@ export interface PacketCaptureResultOutput { } /** The properties of a packet capture session. */ -export interface PacketCaptureResultPropertiesOutput - extends PacketCaptureParametersOutput { +export interface PacketCaptureResultPropertiesOutput extends PacketCaptureParametersOutput { /** The provisioning state of the packet capture session. */ readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } @@ -5686,21 +5580,12 @@ export interface PacketCaptureQueryStatusResultOutput { /** The start time of the packet capture session. */ captureStartTime?: string; /** The status of the packet capture session. */ - packetCaptureStatus?: - | "NotStarted" - | "Running" - | "Stopped" - | "Error" - | "Unknown"; + packetCaptureStatus?: "NotStarted" | "Running" | "Stopped" | "Error" | "Unknown"; /** The reason the current packet capture session was stopped. */ stopReason?: string; /** List of errors of packet capture session. */ packetCaptureError?: Array< - | "InternalError" - | "AgentStopped" - | "CaptureFailed" - | "LocalFileFailed" - | "StorageFailed" + "InternalError" | "AgentStopped" | "CaptureFailed" | "LocalFileFailed" | "StorageFailed" >; } @@ -5783,11 +5668,7 @@ export interface ConnectivityInformationOutput { /** List of hops between the source and the destination. */ readonly hops?: Array; /** The connection status. */ - readonly connectionStatus?: - | "Unknown" - | "Connected" - | "Disconnected" - | "Degraded"; + readonly connectionStatus?: "Unknown" | "Connected" | "Disconnected" | "Degraded"; /** Average latency in milliseconds. */ readonly avgLatencyInMs?: number; /** Minimum latency in milliseconds. */ @@ -6076,13 +5957,7 @@ export interface ConnectionMonitorEndpointOutput { /** Endpoint scope. */ scope?: ConnectionMonitorEndpointScopeOutput; /** Test coverage for the endpoint. */ - coverageLevel?: - | "Default" - | "Low" - | "BelowAverage" - | "Average" - | "AboveAverage" - | "Full"; + coverageLevel?: "Default" | "Low" | "BelowAverage" | "Average" | "AboveAverage" | "Full"; } /** Describes the connection monitor endpoint filter. */ @@ -6222,8 +6097,7 @@ export interface ConnectionMonitorResultOutput { } /** Describes the properties of a connection monitor. */ -export interface ConnectionMonitorResultPropertiesOutput - extends ConnectionMonitorParametersOutput { +export interface ConnectionMonitorResultPropertiesOutput extends ConnectionMonitorParametersOutput { /** The provisioning state of the connection monitor. */ readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The date and time when the connection monitor was started. */ @@ -6675,11 +6549,7 @@ export interface SecurityPartnerProviderPropertiesFormatOutput { /** The security provider name. */ securityProviderName?: "ZScaler" | "IBoss" | "Checkpoint"; /** The connection status with the Security Partner Provider. */ - readonly connectionStatus?: - | "Unknown" - | "PartiallyConnected" - | "Connected" - | "NotConnected"; + readonly connectionStatus?: "Unknown" | "PartiallyConnected" | "Connected" | "NotConnected"; /** The virtualHub to which the Security Partner Provider belongs. */ virtualHub?: SubResourceOutput; } @@ -7095,8 +6965,7 @@ export interface VirtualNetworkGatewayPropertiesFormatOutput { } /** IP configuration for virtual network gateway. */ -export interface VirtualNetworkGatewayIPConfigurationOutput - extends SubResourceOutput { +export interface VirtualNetworkGatewayIPConfigurationOutput extends SubResourceOutput { /** Properties of the virtual network gateway ip configuration. */ properties?: VirtualNetworkGatewayIPConfigurationPropertiesFormatOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -7247,30 +7116,11 @@ export interface IpsecPolicyOutput { | "GCMAES192" | "GCMAES256"; /** The IPSec integrity algorithm (IKE phase 1). */ - ipsecIntegrity: - | "MD5" - | "SHA1" - | "SHA256" - | "GCMAES128" - | "GCMAES192" - | "GCMAES256"; + ipsecIntegrity: "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; /** The IKE encryption algorithm (IKE phase 2). */ - ikeEncryption: - | "DES" - | "DES3" - | "AES128" - | "AES192" - | "AES256" - | "GCMAES256" - | "GCMAES128"; + ikeEncryption: "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"; /** The IKE integrity algorithm (IKE phase 2). */ - ikeIntegrity: - | "MD5" - | "SHA1" - | "SHA256" - | "SHA384" - | "GCMAES256" - | "GCMAES128"; + ikeIntegrity: "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; /** The DH Group used in IKE Phase 1 for initial SA. */ dhGroup: | "None" @@ -7305,8 +7155,7 @@ export interface RadiusServerOutput { } /** A vpn client connection configuration for client connection configuration. */ -export interface VngClientConnectionConfigurationOutput - extends SubResourceOutput { +export interface VngClientConnectionConfigurationOutput extends SubResourceOutput { /** Properties of the vpn client root certificate. */ properties?: VngClientConnectionConfigurationPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -7326,8 +7175,7 @@ export interface VngClientConnectionConfigurationPropertiesOutput { } /** Parameters for VirtualNetworkGatewayPolicyGroup. */ -export interface VirtualNetworkGatewayPolicyGroupOutput - extends SubResourceOutput { +export interface VirtualNetworkGatewayPolicyGroupOutput extends SubResourceOutput { /** Properties of tVirtualNetworkGatewayPolicyGroup. */ properties?: VirtualNetworkGatewayPolicyGroupPropertiesOutput; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ @@ -7437,8 +7285,7 @@ export interface VirtualNetworkGatewayListConnectionsResultOutput { } /** A common class for general resource information. */ -export interface VirtualNetworkGatewayConnectionListEntityOutput - extends ResourceOutput { +export interface VirtualNetworkGatewayConnectionListEntityOutput extends ResourceOutput { /** Properties of the virtual network gateway connection. */ properties: VirtualNetworkGatewayConnectionListEntityPropertiesFormatOutput; /** A unique read-only string that changes whenever the resource is updated. */ @@ -7466,11 +7313,7 @@ export interface VirtualNetworkGatewayConnectionListEntityPropertiesFormatOutput /** The IPSec shared key. */ sharedKey?: string; /** Virtual Network Gateway connection status. */ - readonly connectionStatus?: - | "Unknown" - | "Connecting" - | "Connected" - | "NotConnected"; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; /** Collection of all tunnels' connection health status. */ readonly tunnelConnectionStatus?: Array; /** The egress bytes transferred in this connection. */ @@ -7510,11 +7353,7 @@ export interface TunnelConnectionHealthOutput { /** Tunnel name. */ readonly tunnel?: string; /** Virtual Network Gateway connection status. */ - readonly connectionStatus?: - | "Unknown" - | "Connecting" - | "Connected" - | "NotConnected"; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; /** The Ingress Bytes Transferred in this connection. */ readonly ingressBytesTransferred?: number; /** The Egress Bytes Transferred in this connection. */ @@ -7607,30 +7446,11 @@ export interface VpnClientIPsecParametersOutput { | "GCMAES192" | "GCMAES256"; /** The IPSec integrity algorithm (IKE phase 1). */ - ipsecIntegrity: - | "MD5" - | "SHA1" - | "SHA256" - | "GCMAES128" - | "GCMAES192" - | "GCMAES256"; + ipsecIntegrity: "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; /** The IKE encryption algorithm (IKE phase 2). */ - ikeEncryption: - | "DES" - | "DES3" - | "AES128" - | "AES192" - | "AES256" - | "GCMAES256" - | "GCMAES128"; + ikeEncryption: "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"; /** The IKE integrity algorithm (IKE phase 2). */ - ikeIntegrity: - | "MD5" - | "SHA1" - | "SHA256" - | "SHA384" - | "GCMAES256" - | "GCMAES128"; + ikeIntegrity: "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; /** The DH Group used in IKE Phase 1 for initial SA. */ dhGroup: | "None" @@ -7689,11 +7509,7 @@ export interface VirtualNetworkGatewayConnectionPropertiesFormatOutput { /** The IPSec shared key. */ sharedKey?: string; /** Virtual Network Gateway connection status. */ - readonly connectionStatus?: - | "Unknown" - | "Connecting" - | "Connected" - | "NotConnected"; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; /** Collection of all tunnels' connection health status. */ readonly tunnelConnectionStatus?: Array; /** The egress bytes transferred in this connection. */ @@ -7909,11 +7725,7 @@ export interface VirtualWanPropertiesOutput { /** True if Vnet to Vnet traffic is allowed. */ allowVnetToVnetTraffic?: boolean; /** The office local breakout category. */ - readonly office365LocalBreakoutCategory?: - | "Optimize" - | "OptimizeAndAllow" - | "All" - | "None"; + readonly office365LocalBreakoutCategory?: "Optimize" | "OptimizeAndAllow" | "All" | "None"; /** The provisioning state of the virtual WAN resource. */ readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The type of the VirtualWAN. */ @@ -8251,8 +8063,7 @@ export interface StaticRouteOutput { } /** VpnServerConfigurationPolicyGroup Resource. */ -export interface VpnServerConfigurationPolicyGroupOutput - extends SubResourceOutput { +export interface VpnServerConfigurationPolicyGroupOutput extends SubResourceOutput { /** Properties of the VpnServerConfigurationPolicyGroup. */ properties?: VpnServerConfigurationPolicyGroupPropertiesOutput; /** A unique read-only string that changes whenever the resource is updated. */ @@ -8478,12 +8289,7 @@ export interface CriterionOutput { /** List of AS paths which this criteria matches. */ asPath?: Array; /** Match condition to apply RouteMap rules. */ - matchCondition?: - | "Unknown" - | "Contains" - | "Equals" - | "NotContains" - | "NotEquals"; + matchCondition?: "Unknown" | "Contains" | "Equals" | "NotContains" | "NotEquals"; } /** Action to be taken on a route matching a RouteMap criterion. */ @@ -8595,11 +8401,7 @@ export interface VpnConnectionPropertiesOutput { /** DPD timeout in seconds for vpn connection. */ dpdTimeoutSeconds?: number; /** The connection status. */ - readonly connectionStatus?: - | "Unknown" - | "Connecting" - | "Connected" - | "NotConnected"; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; /** Connection protocol used for this connection. */ vpnConnectionProtocolType?: "IKEv2" | "IKEv1"; /** Ingress bytes transferred. */ @@ -8653,11 +8455,7 @@ export interface VpnSiteLinkConnectionPropertiesOutput { /** Vpn link connection mode. */ vpnLinkConnectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; /** The connection status. */ - readonly connectionStatus?: - | "Unknown" - | "Connecting" - | "Connected" - | "NotConnected"; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; /** Connection protocol used for this connection. */ vpnConnectionProtocolType?: "IKEv2" | "IKEv1"; /** Ingress bytes transferred. */ @@ -8905,11 +8703,7 @@ export interface BgpConnectionPropertiesOutput { /** The provisioning state of the resource. */ readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; /** The current state of the VirtualHub to Peer. */ - readonly connectionState?: - | "Unknown" - | "Connecting" - | "Connected" - | "NotConnected"; + readonly connectionState?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; } /** VirtualHubBgpConnections list. */ @@ -9208,12 +9002,7 @@ export interface OwaspCrsExclusionEntryOutput { | "RequestArgKeys" | "RequestArgValues"; /** When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. */ - selectorMatchOperator: - | "Equals" - | "Contains" - | "StartsWith" - | "EndsWith" - | "EqualsAny"; + selectorMatchOperator: "Equals" | "Contains" | "StartsWith" | "EndsWith" | "EqualsAny"; /** When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to. */ selector: string; /** The managed rule sets that are associated with the exclusion. */ @@ -9317,11 +9106,7 @@ export interface FirewallPolicyRuleOutputParent { name?: string; /** Description of the rule. */ description?: string; - ruleType: - | "FirewallPolicyRule" - | "ApplicationRule" - | "NatRule" - | "NetworkRule"; + ruleType: "FirewallPolicyRule" | "ApplicationRule" | "NatRule" | "NetworkRule"; } /** Firewall Policy Filter Rule Collection. */ @@ -9412,8 +9197,7 @@ export interface NetworkRuleOutput extends FirewallPolicyRuleOutputParent { } /** Network admin rule. */ -export interface ActiveSecurityAdminRuleOutput - extends ActiveBaseSecurityAdminRuleOutputParent { +export interface ActiveSecurityAdminRuleOutput extends ActiveBaseSecurityAdminRuleOutputParent { /** Indicates the properties of the security admin rule */ properties?: AdminPropertiesFormatOutput; kind: "Custom"; @@ -9554,7 +9338,4 @@ export type EffectiveBaseSecurityAdminRuleOutput = /** Network base admin rule. */ export type BaseAdminRuleOutput = AdminRuleOutput | DefaultAdminRuleOutput; /** Properties of a rule. */ -export type FirewallPolicyRuleOutput = - | ApplicationRuleOutput - | NatRuleOutput - | NetworkRuleOutput; +export type FirewallPolicyRuleOutput = ApplicationRuleOutput | NatRuleOutput | NetworkRuleOutput; diff --git a/sdk/network/arm-network-rest/src/paginateHelper.ts b/sdk/network/arm-network-rest/src/paginateHelper.ts index 5ef95e5ea0a3..a5ee77d86caf 100644 --- a/sdk/network/arm-network-rest/src/paginateHelper.ts +++ b/sdk/network/arm-network-rest/src/paginateHelper.ts @@ -1,11 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { - Client, - createRestError, - PathUncheckedResponse, -} from "@azure-rest/core-client"; +import { Client, createRestError, PathUncheckedResponse } from "@azure-rest/core-client"; /** * returns an async iterator that iterates over results. It also has a `byPage` @@ -22,9 +18,7 @@ function getPagedAsyncIterator< >( pagedResult: PagedResult, ): PagedAsyncIterableIterator { - const iter = getItemAsyncIterator( - pagedResult, - ); + const iter = getItemAsyncIterator(pagedResult); return { next() { return iter.next(); @@ -39,9 +33,7 @@ function getPagedAsyncIterator< return getPageAsyncIterator(pagedResult, { pageLink: continuationToken as unknown as TLink | undefined, }); - }) as unknown as ( - settings?: TPageSettings, - ) => AsyncIterableIterator), + }) as unknown as (settings?: TPageSettings) => AsyncIterableIterator), }; } @@ -81,9 +73,7 @@ async function* getPageAsyncIterator( } = {}, ): AsyncIterableIterator { const { pageLink } = options; - let response = await pagedResult.getPage( - pageLink ?? pagedResult.firstPageLink, - ); + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); if (!response) { return; } @@ -122,11 +112,7 @@ export interface PagedAsyncIterableIterator< /** * The connection to the async iterator, part of the iteration protocol */ - [Symbol.asyncIterator](): PagedAsyncIterableIterator< - TElement, - TPage, - TPageSettings - >; + [Symbol.asyncIterator](): PagedAsyncIterableIterator; /** * Return an AsyncIterableIterator that works a page at a time */ @@ -144,9 +130,7 @@ interface PagedResult { /** * A method that returns a page of results. */ - getPage: ( - pageLink: TLink, - ) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + getPage: (pageLink: TLink) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; /** * a function to implement the `byPage` method on the paged async iterator. */ @@ -218,9 +202,7 @@ export function paginate( typeof customGetPage === "function" ? customGetPage : async (pageLink: string) => { - const result = firstRun - ? initialResponse - : await client.pathUnchecked(pageLink).get(); + const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get(); firstRun = false; checkPagingRequest(result); const nextLink = getNextLink(result.body, nextLinkName); @@ -246,9 +228,7 @@ function getNextLink(body: unknown, nextLinkName?: string): string | undefined { const nextLink = (body as Record)[nextLinkName]; if (typeof nextLink !== "string" && typeof nextLink !== "undefined") { - throw new Error( - `Body Property ${nextLinkName} should be a string or undefined`, - ); + throw new Error(`Body Property ${nextLinkName} should be a string or undefined`); } return nextLink; @@ -276,18 +256,7 @@ function getElements(body: unknown, itemName: string): T[] { * Checks if a request failed */ function checkPagingRequest(response: PathUncheckedResponse): void { - const Http2xxStatusCodes = [ - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "226", - ]; + const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"]; if (!Http2xxStatusCodes.includes(response.status)) { throw createRestError( `Pagination failed with unexpected statusCode ${response.status}`, diff --git a/sdk/network/arm-network-rest/src/parameters.ts b/sdk/network/arm-network-rest/src/parameters.ts index 0ff0e42298f7..229ab0072e56 100644 --- a/sdk/network/arm-network-rest/src/parameters.ts +++ b/sdk/network/arm-network-rest/src/parameters.ts @@ -153,8 +153,8 @@ export interface ApplicationGatewaysDeleteQueryParam { queryParameters: ApplicationGatewaysDeleteQueryParamProperties; } -export type ApplicationGatewaysDeleteParameters = - ApplicationGatewaysDeleteQueryParam & RequestParameters; +export type ApplicationGatewaysDeleteParameters = ApplicationGatewaysDeleteQueryParam & + RequestParameters; export interface ApplicationGatewaysGetQueryParamProperties { /** Api Version */ @@ -165,8 +165,7 @@ export interface ApplicationGatewaysGetQueryParam { queryParameters: ApplicationGatewaysGetQueryParamProperties; } -export type ApplicationGatewaysGetParameters = - ApplicationGatewaysGetQueryParam & RequestParameters; +export type ApplicationGatewaysGetParameters = ApplicationGatewaysGetQueryParam & RequestParameters; export interface ApplicationGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to the create or update application gateway operation. */ @@ -212,11 +211,10 @@ export interface ApplicationGatewaysUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ApplicationGatewaysUpdateTagsParameters = - ApplicationGatewaysUpdateTagsQueryParam & - ApplicationGatewaysUpdateTagsMediaTypesParam & - ApplicationGatewaysUpdateTagsBodyParam & - RequestParameters; +export type ApplicationGatewaysUpdateTagsParameters = ApplicationGatewaysUpdateTagsQueryParam & + ApplicationGatewaysUpdateTagsMediaTypesParam & + ApplicationGatewaysUpdateTagsBodyParam & + RequestParameters; export interface ApplicationGatewaysListQueryParamProperties { /** Api Version */ @@ -227,8 +225,8 @@ export interface ApplicationGatewaysListQueryParam { queryParameters: ApplicationGatewaysListQueryParamProperties; } -export type ApplicationGatewaysListParameters = - ApplicationGatewaysListQueryParam & RequestParameters; +export type ApplicationGatewaysListParameters = ApplicationGatewaysListQueryParam & + RequestParameters; export interface ApplicationGatewaysListAllQueryParamProperties { /** Api Version */ @@ -239,8 +237,8 @@ export interface ApplicationGatewaysListAllQueryParam { queryParameters: ApplicationGatewaysListAllQueryParamProperties; } -export type ApplicationGatewaysListAllParameters = - ApplicationGatewaysListAllQueryParam & RequestParameters; +export type ApplicationGatewaysListAllParameters = ApplicationGatewaysListAllQueryParam & + RequestParameters; export interface ApplicationGatewaysStartQueryParamProperties { /** Api Version */ @@ -251,8 +249,8 @@ export interface ApplicationGatewaysStartQueryParam { queryParameters: ApplicationGatewaysStartQueryParamProperties; } -export type ApplicationGatewaysStartParameters = - ApplicationGatewaysStartQueryParam & RequestParameters; +export type ApplicationGatewaysStartParameters = ApplicationGatewaysStartQueryParam & + RequestParameters; export interface ApplicationGatewaysStopQueryParamProperties { /** Api Version */ @@ -263,8 +261,8 @@ export interface ApplicationGatewaysStopQueryParam { queryParameters: ApplicationGatewaysStopQueryParamProperties; } -export type ApplicationGatewaysStopParameters = - ApplicationGatewaysStopQueryParam & RequestParameters; +export type ApplicationGatewaysStopParameters = ApplicationGatewaysStopQueryParam & + RequestParameters; export interface ApplicationGatewaysBackendHealthQueryParamProperties { /** Api Version */ @@ -377,8 +375,7 @@ export interface ApplicationGatewaysListAvailableSslPredefinedPoliciesQueryParam } export type ApplicationGatewaysListAvailableSslPredefinedPoliciesParameters = - ApplicationGatewaysListAvailableSslPredefinedPoliciesQueryParam & - RequestParameters; + ApplicationGatewaysListAvailableSslPredefinedPoliciesQueryParam & RequestParameters; export interface ApplicationGatewaysGetSslPredefinedPolicyQueryParamProperties { /** Api Version */ @@ -414,8 +411,7 @@ export interface ApplicationGatewayPrivateEndpointConnectionsDeleteQueryParam { } export type ApplicationGatewayPrivateEndpointConnectionsDeleteParameters = - ApplicationGatewayPrivateEndpointConnectionsDeleteQueryParam & - RequestParameters; + ApplicationGatewayPrivateEndpointConnectionsDeleteQueryParam & RequestParameters; export interface ApplicationGatewayPrivateEndpointConnectionsUpdateBodyParam { /** Parameters supplied to update application gateway private endpoint connection operation. */ @@ -464,8 +460,7 @@ export interface ApplicationGatewayPrivateEndpointConnectionsListQueryParam { } export type ApplicationGatewayPrivateEndpointConnectionsListParameters = - ApplicationGatewayPrivateEndpointConnectionsListQueryParam & - RequestParameters; + ApplicationGatewayPrivateEndpointConnectionsListQueryParam & RequestParameters; export interface ApplicationGatewayWafDynamicManifestsDefaultGetQueryParamProperties { /** Api Version */ @@ -500,8 +495,8 @@ export interface ApplicationSecurityGroupsDeleteQueryParam { queryParameters: ApplicationSecurityGroupsDeleteQueryParamProperties; } -export type ApplicationSecurityGroupsDeleteParameters = - ApplicationSecurityGroupsDeleteQueryParam & RequestParameters; +export type ApplicationSecurityGroupsDeleteParameters = ApplicationSecurityGroupsDeleteQueryParam & + RequestParameters; export interface ApplicationSecurityGroupsGetQueryParamProperties { /** Api Version */ @@ -512,8 +507,8 @@ export interface ApplicationSecurityGroupsGetQueryParam { queryParameters: ApplicationSecurityGroupsGetQueryParamProperties; } -export type ApplicationSecurityGroupsGetParameters = - ApplicationSecurityGroupsGetQueryParam & RequestParameters; +export type ApplicationSecurityGroupsGetParameters = ApplicationSecurityGroupsGetQueryParam & + RequestParameters; export interface ApplicationSecurityGroupsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update ApplicationSecurityGroup operation. */ @@ -586,8 +581,8 @@ export interface ApplicationSecurityGroupsListQueryParam { queryParameters: ApplicationSecurityGroupsListQueryParamProperties; } -export type ApplicationSecurityGroupsListParameters = - ApplicationSecurityGroupsListQueryParam & RequestParameters; +export type ApplicationSecurityGroupsListParameters = ApplicationSecurityGroupsListQueryParam & + RequestParameters; export interface AvailableDelegationsListQueryParamProperties { /** Api Version */ @@ -598,8 +593,8 @@ export interface AvailableDelegationsListQueryParam { queryParameters: AvailableDelegationsListQueryParamProperties; } -export type AvailableDelegationsListParameters = - AvailableDelegationsListQueryParam & RequestParameters; +export type AvailableDelegationsListParameters = AvailableDelegationsListQueryParam & + RequestParameters; export interface AvailableResourceGroupDelegationsListQueryParamProperties { /** Api Version */ @@ -622,8 +617,8 @@ export interface AvailableServiceAliasesListQueryParam { queryParameters: AvailableServiceAliasesListQueryParamProperties; } -export type AvailableServiceAliasesListParameters = - AvailableServiceAliasesListQueryParam & RequestParameters; +export type AvailableServiceAliasesListParameters = AvailableServiceAliasesListQueryParam & + RequestParameters; export interface AvailableServiceAliasesListByResourceGroupQueryParamProperties { /** Api Version */ @@ -646,8 +641,7 @@ export interface AzureFirewallsDeleteQueryParam { queryParameters: AzureFirewallsDeleteQueryParamProperties; } -export type AzureFirewallsDeleteParameters = AzureFirewallsDeleteQueryParam & - RequestParameters; +export type AzureFirewallsDeleteParameters = AzureFirewallsDeleteQueryParam & RequestParameters; export interface AzureFirewallsGetQueryParamProperties { /** Api Version */ @@ -658,8 +652,7 @@ export interface AzureFirewallsGetQueryParam { queryParameters: AzureFirewallsGetQueryParamProperties; } -export type AzureFirewallsGetParameters = AzureFirewallsGetQueryParam & - RequestParameters; +export type AzureFirewallsGetParameters = AzureFirewallsGetQueryParam & RequestParameters; export interface AzureFirewallsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Azure Firewall operation. */ @@ -680,11 +673,10 @@ export interface AzureFirewallsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type AzureFirewallsCreateOrUpdateParameters = - AzureFirewallsCreateOrUpdateQueryParam & - AzureFirewallsCreateOrUpdateMediaTypesParam & - AzureFirewallsCreateOrUpdateBodyParam & - RequestParameters; +export type AzureFirewallsCreateOrUpdateParameters = AzureFirewallsCreateOrUpdateQueryParam & + AzureFirewallsCreateOrUpdateMediaTypesParam & + AzureFirewallsCreateOrUpdateBodyParam & + RequestParameters; export interface AzureFirewallsUpdateTagsBodyParam { /** Parameters supplied to update azure firewall tags. */ @@ -705,11 +697,10 @@ export interface AzureFirewallsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type AzureFirewallsUpdateTagsParameters = - AzureFirewallsUpdateTagsQueryParam & - AzureFirewallsUpdateTagsMediaTypesParam & - AzureFirewallsUpdateTagsBodyParam & - RequestParameters; +export type AzureFirewallsUpdateTagsParameters = AzureFirewallsUpdateTagsQueryParam & + AzureFirewallsUpdateTagsMediaTypesParam & + AzureFirewallsUpdateTagsBodyParam & + RequestParameters; export interface AzureFirewallsListQueryParamProperties { /** Api Version */ @@ -720,8 +711,7 @@ export interface AzureFirewallsListQueryParam { queryParameters: AzureFirewallsListQueryParamProperties; } -export type AzureFirewallsListParameters = AzureFirewallsListQueryParam & - RequestParameters; +export type AzureFirewallsListParameters = AzureFirewallsListQueryParam & RequestParameters; export interface AzureFirewallsListAllQueryParamProperties { /** Api Version */ @@ -732,8 +722,7 @@ export interface AzureFirewallsListAllQueryParam { queryParameters: AzureFirewallsListAllQueryParamProperties; } -export type AzureFirewallsListAllParameters = AzureFirewallsListAllQueryParam & - RequestParameters; +export type AzureFirewallsListAllParameters = AzureFirewallsListAllQueryParam & RequestParameters; export interface AzureFirewallsListLearnedPrefixesQueryParamProperties { /** Api Version */ @@ -756,8 +745,8 @@ export interface AzureFirewallFqdnTagsListAllQueryParam { queryParameters: AzureFirewallFqdnTagsListAllQueryParamProperties; } -export type AzureFirewallFqdnTagsListAllParameters = - AzureFirewallFqdnTagsListAllQueryParam & RequestParameters; +export type AzureFirewallFqdnTagsListAllParameters = AzureFirewallFqdnTagsListAllQueryParam & + RequestParameters; export interface WebCategoriesGetQueryParamProperties { /** Api Version */ @@ -770,8 +759,7 @@ export interface WebCategoriesGetQueryParam { queryParameters: WebCategoriesGetQueryParamProperties; } -export type WebCategoriesGetParameters = WebCategoriesGetQueryParam & - RequestParameters; +export type WebCategoriesGetParameters = WebCategoriesGetQueryParam & RequestParameters; export interface WebCategoriesListBySubscriptionQueryParamProperties { /** Api Version */ @@ -782,8 +770,8 @@ export interface WebCategoriesListBySubscriptionQueryParam { queryParameters: WebCategoriesListBySubscriptionQueryParamProperties; } -export type WebCategoriesListBySubscriptionParameters = - WebCategoriesListBySubscriptionQueryParam & RequestParameters; +export type WebCategoriesListBySubscriptionParameters = WebCategoriesListBySubscriptionQueryParam & + RequestParameters; export interface BastionHostsDeleteQueryParamProperties { /** Api Version */ @@ -794,8 +782,7 @@ export interface BastionHostsDeleteQueryParam { queryParameters: BastionHostsDeleteQueryParamProperties; } -export type BastionHostsDeleteParameters = BastionHostsDeleteQueryParam & - RequestParameters; +export type BastionHostsDeleteParameters = BastionHostsDeleteQueryParam & RequestParameters; export interface BastionHostsGetQueryParamProperties { /** Api Version */ @@ -806,8 +793,7 @@ export interface BastionHostsGetQueryParam { queryParameters: BastionHostsGetQueryParamProperties; } -export type BastionHostsGetParameters = BastionHostsGetQueryParam & - RequestParameters; +export type BastionHostsGetParameters = BastionHostsGetQueryParam & RequestParameters; export interface BastionHostsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Bastion Host operation. */ @@ -828,11 +814,10 @@ export interface BastionHostsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type BastionHostsCreateOrUpdateParameters = - BastionHostsCreateOrUpdateQueryParam & - BastionHostsCreateOrUpdateMediaTypesParam & - BastionHostsCreateOrUpdateBodyParam & - RequestParameters; +export type BastionHostsCreateOrUpdateParameters = BastionHostsCreateOrUpdateQueryParam & + BastionHostsCreateOrUpdateMediaTypesParam & + BastionHostsCreateOrUpdateBodyParam & + RequestParameters; export interface BastionHostsUpdateTagsBodyParam { /** Parameters supplied to update BastionHost tags. */ @@ -853,11 +838,10 @@ export interface BastionHostsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type BastionHostsUpdateTagsParameters = - BastionHostsUpdateTagsQueryParam & - BastionHostsUpdateTagsMediaTypesParam & - BastionHostsUpdateTagsBodyParam & - RequestParameters; +export type BastionHostsUpdateTagsParameters = BastionHostsUpdateTagsQueryParam & + BastionHostsUpdateTagsMediaTypesParam & + BastionHostsUpdateTagsBodyParam & + RequestParameters; export interface BastionHostsListQueryParamProperties { /** Api Version */ @@ -868,8 +852,7 @@ export interface BastionHostsListQueryParam { queryParameters: BastionHostsListQueryParamProperties; } -export type BastionHostsListParameters = BastionHostsListQueryParam & - RequestParameters; +export type BastionHostsListParameters = BastionHostsListQueryParam & RequestParameters; export interface BastionHostsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -880,8 +863,8 @@ export interface BastionHostsListByResourceGroupQueryParam { queryParameters: BastionHostsListByResourceGroupQueryParamProperties; } -export type BastionHostsListByResourceGroupParameters = - BastionHostsListByResourceGroupQueryParam & RequestParameters; +export type BastionHostsListByResourceGroupParameters = BastionHostsListByResourceGroupQueryParam & + RequestParameters; export interface PutBastionShareableLinkBodyParam { /** Post request for all the Bastion Shareable Link endpoints. */ @@ -902,11 +885,10 @@ export interface PutBastionShareableLinkMediaTypesParam { contentType?: "application/json"; } -export type PutBastionShareableLinkParameters = - PutBastionShareableLinkQueryParam & - PutBastionShareableLinkMediaTypesParam & - PutBastionShareableLinkBodyParam & - RequestParameters; +export type PutBastionShareableLinkParameters = PutBastionShareableLinkQueryParam & + PutBastionShareableLinkMediaTypesParam & + PutBastionShareableLinkBodyParam & + RequestParameters; export interface DeleteBastionShareableLinkBodyParam { /** Post request for all the Bastion Shareable Link endpoints. */ @@ -927,11 +909,10 @@ export interface DeleteBastionShareableLinkMediaTypesParam { contentType?: "application/json"; } -export type DeleteBastionShareableLinkParameters = - DeleteBastionShareableLinkQueryParam & - DeleteBastionShareableLinkMediaTypesParam & - DeleteBastionShareableLinkBodyParam & - RequestParameters; +export type DeleteBastionShareableLinkParameters = DeleteBastionShareableLinkQueryParam & + DeleteBastionShareableLinkMediaTypesParam & + DeleteBastionShareableLinkBodyParam & + RequestParameters; export interface GetBastionShareableLinkBodyParam { /** Post request for all the Bastion Shareable Link endpoints. */ @@ -952,11 +933,10 @@ export interface GetBastionShareableLinkMediaTypesParam { contentType?: "application/json"; } -export type GetBastionShareableLinkParameters = - GetBastionShareableLinkQueryParam & - GetBastionShareableLinkMediaTypesParam & - GetBastionShareableLinkBodyParam & - RequestParameters; +export type GetBastionShareableLinkParameters = GetBastionShareableLinkQueryParam & + GetBastionShareableLinkMediaTypesParam & + GetBastionShareableLinkBodyParam & + RequestParameters; export interface GetActiveSessionsQueryParamProperties { /** Api Version */ @@ -967,8 +947,7 @@ export interface GetActiveSessionsQueryParam { queryParameters: GetActiveSessionsQueryParamProperties; } -export type GetActiveSessionsParameters = GetActiveSessionsQueryParam & - RequestParameters; +export type GetActiveSessionsParameters = GetActiveSessionsQueryParam & RequestParameters; export interface DisconnectActiveSessionsBodyParam { /** The list of sessionids to disconnect. */ @@ -989,11 +968,10 @@ export interface DisconnectActiveSessionsMediaTypesParam { contentType?: "application/json"; } -export type DisconnectActiveSessionsParameters = - DisconnectActiveSessionsQueryParam & - DisconnectActiveSessionsMediaTypesParam & - DisconnectActiveSessionsBodyParam & - RequestParameters; +export type DisconnectActiveSessionsParameters = DisconnectActiveSessionsQueryParam & + DisconnectActiveSessionsMediaTypesParam & + DisconnectActiveSessionsBodyParam & + RequestParameters; export interface CheckDnsNameAvailabilityQueryParamProperties { /** The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. */ @@ -1006,8 +984,8 @@ export interface CheckDnsNameAvailabilityQueryParam { queryParameters: CheckDnsNameAvailabilityQueryParamProperties; } -export type CheckDnsNameAvailabilityParameters = - CheckDnsNameAvailabilityQueryParam & RequestParameters; +export type CheckDnsNameAvailabilityParameters = CheckDnsNameAvailabilityQueryParam & + RequestParameters; export interface ExpressRouteProviderPortQueryParamProperties { /** Api Version */ @@ -1018,8 +996,8 @@ export interface ExpressRouteProviderPortQueryParam { queryParameters: ExpressRouteProviderPortQueryParamProperties; } -export type ExpressRouteProviderPortParameters = - ExpressRouteProviderPortQueryParam & RequestParameters; +export type ExpressRouteProviderPortParameters = ExpressRouteProviderPortQueryParam & + RequestParameters; export interface ListActiveConnectivityConfigurationsBodyParam { /** Active Configuration Parameter. */ @@ -1069,11 +1047,10 @@ export interface ListActiveSecurityAdminRulesMediaTypesParam { contentType?: "application/json"; } -export type ListActiveSecurityAdminRulesParameters = - ListActiveSecurityAdminRulesQueryParam & - ListActiveSecurityAdminRulesMediaTypesParam & - ListActiveSecurityAdminRulesBodyParam & - RequestParameters; +export type ListActiveSecurityAdminRulesParameters = ListActiveSecurityAdminRulesQueryParam & + ListActiveSecurityAdminRulesMediaTypesParam & + ListActiveSecurityAdminRulesBodyParam & + RequestParameters; export interface ListNetworkManagerEffectiveConnectivityConfigurationsBodyParam { /** Parameters supplied to list correct page. */ @@ -1138,8 +1115,8 @@ export interface SupportedSecurityProvidersQueryParam { queryParameters: SupportedSecurityProvidersQueryParamProperties; } -export type SupportedSecurityProvidersParameters = - SupportedSecurityProvidersQueryParam & RequestParameters; +export type SupportedSecurityProvidersParameters = SupportedSecurityProvidersQueryParam & + RequestParameters; export interface GeneratevirtualwanvpnserverconfigurationvpnprofileBodyParam { /** Parameters supplied to the generate VirtualWan VPN profile generation operation. */ @@ -1176,8 +1153,7 @@ export interface NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesQ } export type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesParameters = - NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesQueryParam & - RequestParameters; + NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesQueryParam & RequestParameters; export interface NetworkInterfacesListCloudServiceNetworkInterfacesQueryParamProperties { /** Api Version */ @@ -1189,8 +1165,7 @@ export interface NetworkInterfacesListCloudServiceNetworkInterfacesQueryParam { } export type NetworkInterfacesListCloudServiceNetworkInterfacesParameters = - NetworkInterfacesListCloudServiceNetworkInterfacesQueryParam & - RequestParameters; + NetworkInterfacesListCloudServiceNetworkInterfacesQueryParam & RequestParameters; export interface NetworkInterfacesGetCloudServiceNetworkInterfaceQueryParamProperties { /** Api Version */ @@ -1204,8 +1179,7 @@ export interface NetworkInterfacesGetCloudServiceNetworkInterfaceQueryParam { } export type NetworkInterfacesGetCloudServiceNetworkInterfaceParameters = - NetworkInterfacesGetCloudServiceNetworkInterfaceQueryParam & - RequestParameters; + NetworkInterfacesGetCloudServiceNetworkInterfaceQueryParam & RequestParameters; export interface NetworkInterfacesDeleteQueryParamProperties { /** Api Version */ @@ -1216,8 +1190,8 @@ export interface NetworkInterfacesDeleteQueryParam { queryParameters: NetworkInterfacesDeleteQueryParamProperties; } -export type NetworkInterfacesDeleteParameters = - NetworkInterfacesDeleteQueryParam & RequestParameters; +export type NetworkInterfacesDeleteParameters = NetworkInterfacesDeleteQueryParam & + RequestParameters; export interface NetworkInterfacesGetQueryParamProperties { /** Api Version */ @@ -1230,8 +1204,7 @@ export interface NetworkInterfacesGetQueryParam { queryParameters: NetworkInterfacesGetQueryParamProperties; } -export type NetworkInterfacesGetParameters = NetworkInterfacesGetQueryParam & - RequestParameters; +export type NetworkInterfacesGetParameters = NetworkInterfacesGetQueryParam & RequestParameters; export interface NetworkInterfacesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update network interface operation. */ @@ -1252,11 +1225,10 @@ export interface NetworkInterfacesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkInterfacesCreateOrUpdateParameters = - NetworkInterfacesCreateOrUpdateQueryParam & - NetworkInterfacesCreateOrUpdateMediaTypesParam & - NetworkInterfacesCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkInterfacesCreateOrUpdateParameters = NetworkInterfacesCreateOrUpdateQueryParam & + NetworkInterfacesCreateOrUpdateMediaTypesParam & + NetworkInterfacesCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkInterfacesUpdateTagsBodyParam { /** Parameters supplied to update network interface tags. */ @@ -1277,11 +1249,10 @@ export interface NetworkInterfacesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type NetworkInterfacesUpdateTagsParameters = - NetworkInterfacesUpdateTagsQueryParam & - NetworkInterfacesUpdateTagsMediaTypesParam & - NetworkInterfacesUpdateTagsBodyParam & - RequestParameters; +export type NetworkInterfacesUpdateTagsParameters = NetworkInterfacesUpdateTagsQueryParam & + NetworkInterfacesUpdateTagsMediaTypesParam & + NetworkInterfacesUpdateTagsBodyParam & + RequestParameters; export interface NetworkInterfacesListAllQueryParamProperties { /** Api Version */ @@ -1292,8 +1263,8 @@ export interface NetworkInterfacesListAllQueryParam { queryParameters: NetworkInterfacesListAllQueryParamProperties; } -export type NetworkInterfacesListAllParameters = - NetworkInterfacesListAllQueryParam & RequestParameters; +export type NetworkInterfacesListAllParameters = NetworkInterfacesListAllQueryParam & + RequestParameters; export interface NetworkInterfacesListQueryParamProperties { /** Api Version */ @@ -1304,8 +1275,7 @@ export interface NetworkInterfacesListQueryParam { queryParameters: NetworkInterfacesListQueryParamProperties; } -export type NetworkInterfacesListParameters = NetworkInterfacesListQueryParam & - RequestParameters; +export type NetworkInterfacesListParameters = NetworkInterfacesListQueryParam & RequestParameters; export interface NetworkInterfacesGetEffectiveRouteTableQueryParamProperties { /** Api Version */ @@ -1329,8 +1299,7 @@ export interface NetworkInterfacesListEffectiveNetworkSecurityGroupsQueryParam { } export type NetworkInterfacesListEffectiveNetworkSecurityGroupsParameters = - NetworkInterfacesListEffectiveNetworkSecurityGroupsQueryParam & - RequestParameters; + NetworkInterfacesListEffectiveNetworkSecurityGroupsQueryParam & RequestParameters; export interface NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesQueryParamProperties { /** Api Version */ @@ -1342,8 +1311,7 @@ export interface NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesQ } export type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesParameters = - NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesQueryParam & - RequestParameters; + NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesQueryParam & RequestParameters; export interface NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesQueryParamProperties { /** Api Version */ @@ -1355,8 +1323,7 @@ export interface NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesQue } export type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesParameters = - NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesQueryParam & - RequestParameters; + NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesQueryParam & RequestParameters; export interface NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceQueryParamProperties { /** Api Version */ @@ -1370,8 +1337,7 @@ export interface NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceQuery } export type NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters = - NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceQueryParam & - RequestParameters; + NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceQueryParam & RequestParameters; export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsQueryParamProperties { /** Api Version */ @@ -1385,8 +1351,7 @@ export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsQuer } export type NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsParameters = - NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsQueryParam & - RequestParameters; + NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsQueryParam & RequestParameters; export interface NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationQueryParamProperties { /** Api Version */ @@ -1400,8 +1365,7 @@ export interface NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationQueryP } export type NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters = - NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationQueryParam & - RequestParameters; + NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationQueryParam & RequestParameters; export interface PublicIPAddressesListCloudServicePublicIPAddressesQueryParamProperties { /** Api Version */ @@ -1413,8 +1377,7 @@ export interface PublicIPAddressesListCloudServicePublicIPAddressesQueryParam { } export type PublicIPAddressesListCloudServicePublicIPAddressesParameters = - PublicIPAddressesListCloudServicePublicIPAddressesQueryParam & - RequestParameters; + PublicIPAddressesListCloudServicePublicIPAddressesQueryParam & RequestParameters; export interface PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesQueryParamProperties { /** Api Version */ @@ -1426,8 +1389,7 @@ export interface PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesQ } export type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesParameters = - PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesQueryParam & - RequestParameters; + PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesQueryParam & RequestParameters; export interface PublicIPAddressesGetCloudServicePublicIPAddressQueryParamProperties { /** Api Version */ @@ -1452,8 +1414,8 @@ export interface PublicIPAddressesDeleteQueryParam { queryParameters: PublicIPAddressesDeleteQueryParamProperties; } -export type PublicIPAddressesDeleteParameters = - PublicIPAddressesDeleteQueryParam & RequestParameters; +export type PublicIPAddressesDeleteParameters = PublicIPAddressesDeleteQueryParam & + RequestParameters; export interface PublicIPAddressesGetQueryParamProperties { /** Api Version */ @@ -1466,8 +1428,7 @@ export interface PublicIPAddressesGetQueryParam { queryParameters: PublicIPAddressesGetQueryParamProperties; } -export type PublicIPAddressesGetParameters = PublicIPAddressesGetQueryParam & - RequestParameters; +export type PublicIPAddressesGetParameters = PublicIPAddressesGetQueryParam & RequestParameters; export interface PublicIPAddressesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update public IP address operation. */ @@ -1488,11 +1449,10 @@ export interface PublicIPAddressesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type PublicIPAddressesCreateOrUpdateParameters = - PublicIPAddressesCreateOrUpdateQueryParam & - PublicIPAddressesCreateOrUpdateMediaTypesParam & - PublicIPAddressesCreateOrUpdateBodyParam & - RequestParameters; +export type PublicIPAddressesCreateOrUpdateParameters = PublicIPAddressesCreateOrUpdateQueryParam & + PublicIPAddressesCreateOrUpdateMediaTypesParam & + PublicIPAddressesCreateOrUpdateBodyParam & + RequestParameters; export interface PublicIPAddressesUpdateTagsBodyParam { /** Parameters supplied to update public IP address tags. */ @@ -1513,11 +1473,10 @@ export interface PublicIPAddressesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type PublicIPAddressesUpdateTagsParameters = - PublicIPAddressesUpdateTagsQueryParam & - PublicIPAddressesUpdateTagsMediaTypesParam & - PublicIPAddressesUpdateTagsBodyParam & - RequestParameters; +export type PublicIPAddressesUpdateTagsParameters = PublicIPAddressesUpdateTagsQueryParam & + PublicIPAddressesUpdateTagsMediaTypesParam & + PublicIPAddressesUpdateTagsBodyParam & + RequestParameters; export interface PublicIPAddressesListAllQueryParamProperties { /** Api Version */ @@ -1528,8 +1487,8 @@ export interface PublicIPAddressesListAllQueryParam { queryParameters: PublicIPAddressesListAllQueryParamProperties; } -export type PublicIPAddressesListAllParameters = - PublicIPAddressesListAllQueryParam & RequestParameters; +export type PublicIPAddressesListAllParameters = PublicIPAddressesListAllQueryParam & + RequestParameters; export interface PublicIPAddressesListQueryParamProperties { /** Api Version */ @@ -1540,8 +1499,7 @@ export interface PublicIPAddressesListQueryParam { queryParameters: PublicIPAddressesListQueryParamProperties; } -export type PublicIPAddressesListParameters = PublicIPAddressesListQueryParam & - RequestParameters; +export type PublicIPAddressesListParameters = PublicIPAddressesListQueryParam & RequestParameters; export interface PublicIPAddressesDdosProtectionStatusQueryParamProperties { /** Api Version */ @@ -1565,8 +1523,7 @@ export interface PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesQue } export type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesParameters = - PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesQueryParam & - RequestParameters; + PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesQueryParam & RequestParameters; export interface PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesQueryParamProperties { /** Api Version */ @@ -1578,8 +1535,7 @@ export interface PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesQ } export type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesParameters = - PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesQueryParam & - RequestParameters; + PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesQueryParam & RequestParameters; export interface PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressQueryParamProperties { /** Api Version */ @@ -1593,8 +1549,7 @@ export interface PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressQueryP } export type PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters = - PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressQueryParam & - RequestParameters; + PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressQueryParam & RequestParameters; export interface CustomIPPrefixesDeleteQueryParamProperties { /** Api Version */ @@ -1605,8 +1560,7 @@ export interface CustomIPPrefixesDeleteQueryParam { queryParameters: CustomIPPrefixesDeleteQueryParamProperties; } -export type CustomIPPrefixesDeleteParameters = - CustomIPPrefixesDeleteQueryParam & RequestParameters; +export type CustomIPPrefixesDeleteParameters = CustomIPPrefixesDeleteQueryParam & RequestParameters; export interface CustomIPPrefixesGetQueryParamProperties { /** Api Version */ @@ -1619,8 +1573,7 @@ export interface CustomIPPrefixesGetQueryParam { queryParameters: CustomIPPrefixesGetQueryParamProperties; } -export type CustomIPPrefixesGetParameters = CustomIPPrefixesGetQueryParam & - RequestParameters; +export type CustomIPPrefixesGetParameters = CustomIPPrefixesGetQueryParam & RequestParameters; export interface CustomIPPrefixesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update custom IP prefix operation. */ @@ -1641,11 +1594,10 @@ export interface CustomIPPrefixesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type CustomIPPrefixesCreateOrUpdateParameters = - CustomIPPrefixesCreateOrUpdateQueryParam & - CustomIPPrefixesCreateOrUpdateMediaTypesParam & - CustomIPPrefixesCreateOrUpdateBodyParam & - RequestParameters; +export type CustomIPPrefixesCreateOrUpdateParameters = CustomIPPrefixesCreateOrUpdateQueryParam & + CustomIPPrefixesCreateOrUpdateMediaTypesParam & + CustomIPPrefixesCreateOrUpdateBodyParam & + RequestParameters; export interface CustomIPPrefixesUpdateTagsBodyParam { /** Parameters supplied to update custom IP prefix tags. */ @@ -1666,11 +1618,10 @@ export interface CustomIPPrefixesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type CustomIPPrefixesUpdateTagsParameters = - CustomIPPrefixesUpdateTagsQueryParam & - CustomIPPrefixesUpdateTagsMediaTypesParam & - CustomIPPrefixesUpdateTagsBodyParam & - RequestParameters; +export type CustomIPPrefixesUpdateTagsParameters = CustomIPPrefixesUpdateTagsQueryParam & + CustomIPPrefixesUpdateTagsMediaTypesParam & + CustomIPPrefixesUpdateTagsBodyParam & + RequestParameters; export interface CustomIPPrefixesListAllQueryParamProperties { /** Api Version */ @@ -1681,8 +1632,8 @@ export interface CustomIPPrefixesListAllQueryParam { queryParameters: CustomIPPrefixesListAllQueryParamProperties; } -export type CustomIPPrefixesListAllParameters = - CustomIPPrefixesListAllQueryParam & RequestParameters; +export type CustomIPPrefixesListAllParameters = CustomIPPrefixesListAllQueryParam & + RequestParameters; export interface CustomIPPrefixesListQueryParamProperties { /** Api Version */ @@ -1693,8 +1644,7 @@ export interface CustomIPPrefixesListQueryParam { queryParameters: CustomIPPrefixesListQueryParamProperties; } -export type CustomIPPrefixesListParameters = CustomIPPrefixesListQueryParam & - RequestParameters; +export type CustomIPPrefixesListParameters = CustomIPPrefixesListQueryParam & RequestParameters; export interface DdosCustomPoliciesDeleteQueryParamProperties { /** Api Version */ @@ -1705,8 +1655,8 @@ export interface DdosCustomPoliciesDeleteQueryParam { queryParameters: DdosCustomPoliciesDeleteQueryParamProperties; } -export type DdosCustomPoliciesDeleteParameters = - DdosCustomPoliciesDeleteQueryParam & RequestParameters; +export type DdosCustomPoliciesDeleteParameters = DdosCustomPoliciesDeleteQueryParam & + RequestParameters; export interface DdosCustomPoliciesGetQueryParamProperties { /** Api Version */ @@ -1717,8 +1667,7 @@ export interface DdosCustomPoliciesGetQueryParam { queryParameters: DdosCustomPoliciesGetQueryParamProperties; } -export type DdosCustomPoliciesGetParameters = DdosCustomPoliciesGetQueryParam & - RequestParameters; +export type DdosCustomPoliciesGetParameters = DdosCustomPoliciesGetQueryParam & RequestParameters; export interface DdosCustomPoliciesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update operation. */ @@ -1764,11 +1713,10 @@ export interface DdosCustomPoliciesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type DdosCustomPoliciesUpdateTagsParameters = - DdosCustomPoliciesUpdateTagsQueryParam & - DdosCustomPoliciesUpdateTagsMediaTypesParam & - DdosCustomPoliciesUpdateTagsBodyParam & - RequestParameters; +export type DdosCustomPoliciesUpdateTagsParameters = DdosCustomPoliciesUpdateTagsQueryParam & + DdosCustomPoliciesUpdateTagsMediaTypesParam & + DdosCustomPoliciesUpdateTagsBodyParam & + RequestParameters; export interface DdosProtectionPlansDeleteQueryParamProperties { /** Api Version */ @@ -1779,8 +1727,8 @@ export interface DdosProtectionPlansDeleteQueryParam { queryParameters: DdosProtectionPlansDeleteQueryParamProperties; } -export type DdosProtectionPlansDeleteParameters = - DdosProtectionPlansDeleteQueryParam & RequestParameters; +export type DdosProtectionPlansDeleteParameters = DdosProtectionPlansDeleteQueryParam & + RequestParameters; export interface DdosProtectionPlansGetQueryParamProperties { /** Api Version */ @@ -1791,8 +1739,7 @@ export interface DdosProtectionPlansGetQueryParam { queryParameters: DdosProtectionPlansGetQueryParamProperties; } -export type DdosProtectionPlansGetParameters = - DdosProtectionPlansGetQueryParam & RequestParameters; +export type DdosProtectionPlansGetParameters = DdosProtectionPlansGetQueryParam & RequestParameters; export interface DdosProtectionPlansCreateOrUpdateBodyParam { /** Parameters supplied to the create or update operation. */ @@ -1838,11 +1785,10 @@ export interface DdosProtectionPlansUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type DdosProtectionPlansUpdateTagsParameters = - DdosProtectionPlansUpdateTagsQueryParam & - DdosProtectionPlansUpdateTagsMediaTypesParam & - DdosProtectionPlansUpdateTagsBodyParam & - RequestParameters; +export type DdosProtectionPlansUpdateTagsParameters = DdosProtectionPlansUpdateTagsQueryParam & + DdosProtectionPlansUpdateTagsMediaTypesParam & + DdosProtectionPlansUpdateTagsBodyParam & + RequestParameters; export interface DdosProtectionPlansListQueryParamProperties { /** Api Version */ @@ -1853,8 +1799,8 @@ export interface DdosProtectionPlansListQueryParam { queryParameters: DdosProtectionPlansListQueryParamProperties; } -export type DdosProtectionPlansListParameters = - DdosProtectionPlansListQueryParam & RequestParameters; +export type DdosProtectionPlansListParameters = DdosProtectionPlansListQueryParam & + RequestParameters; export interface DdosProtectionPlansListByResourceGroupQueryParamProperties { /** Api Version */ @@ -1887,11 +1833,10 @@ export interface DscpConfigurationCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type DscpConfigurationCreateOrUpdateParameters = - DscpConfigurationCreateOrUpdateQueryParam & - DscpConfigurationCreateOrUpdateMediaTypesParam & - DscpConfigurationCreateOrUpdateBodyParam & - RequestParameters; +export type DscpConfigurationCreateOrUpdateParameters = DscpConfigurationCreateOrUpdateQueryParam & + DscpConfigurationCreateOrUpdateMediaTypesParam & + DscpConfigurationCreateOrUpdateBodyParam & + RequestParameters; export interface DscpConfigurationDeleteQueryParamProperties { /** Api Version */ @@ -1902,8 +1847,8 @@ export interface DscpConfigurationDeleteQueryParam { queryParameters: DscpConfigurationDeleteQueryParamProperties; } -export type DscpConfigurationDeleteParameters = - DscpConfigurationDeleteQueryParam & RequestParameters; +export type DscpConfigurationDeleteParameters = DscpConfigurationDeleteQueryParam & + RequestParameters; export interface DscpConfigurationGetQueryParamProperties { /** Api Version */ @@ -1914,8 +1859,7 @@ export interface DscpConfigurationGetQueryParam { queryParameters: DscpConfigurationGetQueryParamProperties; } -export type DscpConfigurationGetParameters = DscpConfigurationGetQueryParam & - RequestParameters; +export type DscpConfigurationGetParameters = DscpConfigurationGetQueryParam & RequestParameters; export interface DscpConfigurationListQueryParamProperties { /** Api Version */ @@ -1926,8 +1870,7 @@ export interface DscpConfigurationListQueryParam { queryParameters: DscpConfigurationListQueryParamProperties; } -export type DscpConfigurationListParameters = DscpConfigurationListQueryParam & - RequestParameters; +export type DscpConfigurationListParameters = DscpConfigurationListQueryParam & RequestParameters; export interface DscpConfigurationListAllQueryParamProperties { /** Api Version */ @@ -1938,8 +1881,8 @@ export interface DscpConfigurationListAllQueryParam { queryParameters: DscpConfigurationListAllQueryParamProperties; } -export type DscpConfigurationListAllParameters = - DscpConfigurationListAllQueryParam & RequestParameters; +export type DscpConfigurationListAllParameters = DscpConfigurationListAllQueryParam & + RequestParameters; export interface AvailableEndpointServicesListQueryParamProperties { /** Api Version */ @@ -1950,8 +1893,8 @@ export interface AvailableEndpointServicesListQueryParam { queryParameters: AvailableEndpointServicesListQueryParamProperties; } -export type AvailableEndpointServicesListParameters = - AvailableEndpointServicesListQueryParam & RequestParameters; +export type AvailableEndpointServicesListParameters = AvailableEndpointServicesListQueryParam & + RequestParameters; export interface ExpressRouteCircuitAuthorizationsDeleteQueryParamProperties { /** Api Version */ @@ -2035,8 +1978,8 @@ export interface ExpressRouteCircuitPeeringsGetQueryParam { queryParameters: ExpressRouteCircuitPeeringsGetQueryParamProperties; } -export type ExpressRouteCircuitPeeringsGetParameters = - ExpressRouteCircuitPeeringsGetQueryParam & RequestParameters; +export type ExpressRouteCircuitPeeringsGetParameters = ExpressRouteCircuitPeeringsGetQueryParam & + RequestParameters; export interface ExpressRouteCircuitPeeringsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update express route circuit peering operation. */ @@ -2072,8 +2015,8 @@ export interface ExpressRouteCircuitPeeringsListQueryParam { queryParameters: ExpressRouteCircuitPeeringsListQueryParamProperties; } -export type ExpressRouteCircuitPeeringsListParameters = - ExpressRouteCircuitPeeringsListQueryParam & RequestParameters; +export type ExpressRouteCircuitPeeringsListParameters = ExpressRouteCircuitPeeringsListQueryParam & + RequestParameters; export interface ExpressRouteCircuitConnectionsDeleteQueryParamProperties { /** Api Version */ @@ -2169,8 +2112,8 @@ export interface ExpressRouteCircuitsDeleteQueryParam { queryParameters: ExpressRouteCircuitsDeleteQueryParamProperties; } -export type ExpressRouteCircuitsDeleteParameters = - ExpressRouteCircuitsDeleteQueryParam & RequestParameters; +export type ExpressRouteCircuitsDeleteParameters = ExpressRouteCircuitsDeleteQueryParam & + RequestParameters; export interface ExpressRouteCircuitsGetQueryParamProperties { /** Api Version */ @@ -2181,8 +2124,8 @@ export interface ExpressRouteCircuitsGetQueryParam { queryParameters: ExpressRouteCircuitsGetQueryParamProperties; } -export type ExpressRouteCircuitsGetParameters = - ExpressRouteCircuitsGetQueryParam & RequestParameters; +export type ExpressRouteCircuitsGetParameters = ExpressRouteCircuitsGetQueryParam & + RequestParameters; export interface ExpressRouteCircuitsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update express route circuit operation. */ @@ -2228,11 +2171,10 @@ export interface ExpressRouteCircuitsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ExpressRouteCircuitsUpdateTagsParameters = - ExpressRouteCircuitsUpdateTagsQueryParam & - ExpressRouteCircuitsUpdateTagsMediaTypesParam & - ExpressRouteCircuitsUpdateTagsBodyParam & - RequestParameters; +export type ExpressRouteCircuitsUpdateTagsParameters = ExpressRouteCircuitsUpdateTagsQueryParam & + ExpressRouteCircuitsUpdateTagsMediaTypesParam & + ExpressRouteCircuitsUpdateTagsBodyParam & + RequestParameters; export interface ExpressRouteCircuitsListArpTableQueryParamProperties { /** Api Version */ @@ -2279,8 +2221,8 @@ export interface ExpressRouteCircuitsGetStatsQueryParam { queryParameters: ExpressRouteCircuitsGetStatsQueryParamProperties; } -export type ExpressRouteCircuitsGetStatsParameters = - ExpressRouteCircuitsGetStatsQueryParam & RequestParameters; +export type ExpressRouteCircuitsGetStatsParameters = ExpressRouteCircuitsGetStatsQueryParam & + RequestParameters; export interface ExpressRouteCircuitsGetPeeringStatsQueryParamProperties { /** Api Version */ @@ -2303,8 +2245,8 @@ export interface ExpressRouteCircuitsListQueryParam { queryParameters: ExpressRouteCircuitsListQueryParamProperties; } -export type ExpressRouteCircuitsListParameters = - ExpressRouteCircuitsListQueryParam & RequestParameters; +export type ExpressRouteCircuitsListParameters = ExpressRouteCircuitsListQueryParam & + RequestParameters; export interface ExpressRouteCircuitsListAllQueryParamProperties { /** Api Version */ @@ -2315,8 +2257,8 @@ export interface ExpressRouteCircuitsListAllQueryParam { queryParameters: ExpressRouteCircuitsListAllQueryParamProperties; } -export type ExpressRouteCircuitsListAllParameters = - ExpressRouteCircuitsListAllQueryParam & RequestParameters; +export type ExpressRouteCircuitsListAllParameters = ExpressRouteCircuitsListAllQueryParam & + RequestParameters; export interface ExpressRouteServiceProvidersListQueryParamProperties { /** Api Version */ @@ -2363,8 +2305,8 @@ export interface ExpressRouteCrossConnectionsGetQueryParam { queryParameters: ExpressRouteCrossConnectionsGetQueryParamProperties; } -export type ExpressRouteCrossConnectionsGetParameters = - ExpressRouteCrossConnectionsGetQueryParam & RequestParameters; +export type ExpressRouteCrossConnectionsGetParameters = ExpressRouteCrossConnectionsGetQueryParam & + RequestParameters; export interface ExpressRouteCrossConnectionsCreateOrUpdateBodyParam { /** Parameters supplied to the update express route crossConnection operation. */ @@ -2438,8 +2380,7 @@ export interface ExpressRouteCrossConnectionsListRoutesTableSummaryQueryParam { } export type ExpressRouteCrossConnectionsListRoutesTableSummaryParameters = - ExpressRouteCrossConnectionsListRoutesTableSummaryQueryParam & - RequestParameters; + ExpressRouteCrossConnectionsListRoutesTableSummaryQueryParam & RequestParameters; export interface ExpressRouteCrossConnectionsListRoutesTableQueryParamProperties { /** Api Version */ @@ -2523,8 +2464,8 @@ export interface ExpressRoutePortsLocationsListQueryParam { queryParameters: ExpressRoutePortsLocationsListQueryParamProperties; } -export type ExpressRoutePortsLocationsListParameters = - ExpressRoutePortsLocationsListQueryParam & RequestParameters; +export type ExpressRoutePortsLocationsListParameters = ExpressRoutePortsLocationsListQueryParam & + RequestParameters; export interface ExpressRoutePortsLocationsGetQueryParamProperties { /** Api Version */ @@ -2535,8 +2476,8 @@ export interface ExpressRoutePortsLocationsGetQueryParam { queryParameters: ExpressRoutePortsLocationsGetQueryParamProperties; } -export type ExpressRoutePortsLocationsGetParameters = - ExpressRoutePortsLocationsGetQueryParam & RequestParameters; +export type ExpressRoutePortsLocationsGetParameters = ExpressRoutePortsLocationsGetQueryParam & + RequestParameters; export interface ExpressRoutePortsDeleteQueryParamProperties { /** Api Version */ @@ -2547,8 +2488,8 @@ export interface ExpressRoutePortsDeleteQueryParam { queryParameters: ExpressRoutePortsDeleteQueryParamProperties; } -export type ExpressRoutePortsDeleteParameters = - ExpressRoutePortsDeleteQueryParam & RequestParameters; +export type ExpressRoutePortsDeleteParameters = ExpressRoutePortsDeleteQueryParam & + RequestParameters; export interface ExpressRoutePortsGetQueryParamProperties { /** Api Version */ @@ -2559,8 +2500,7 @@ export interface ExpressRoutePortsGetQueryParam { queryParameters: ExpressRoutePortsGetQueryParamProperties; } -export type ExpressRoutePortsGetParameters = ExpressRoutePortsGetQueryParam & - RequestParameters; +export type ExpressRoutePortsGetParameters = ExpressRoutePortsGetQueryParam & RequestParameters; export interface ExpressRoutePortsCreateOrUpdateBodyParam { /** Parameters supplied to the create ExpressRoutePort operation. */ @@ -2581,11 +2521,10 @@ export interface ExpressRoutePortsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ExpressRoutePortsCreateOrUpdateParameters = - ExpressRoutePortsCreateOrUpdateQueryParam & - ExpressRoutePortsCreateOrUpdateMediaTypesParam & - ExpressRoutePortsCreateOrUpdateBodyParam & - RequestParameters; +export type ExpressRoutePortsCreateOrUpdateParameters = ExpressRoutePortsCreateOrUpdateQueryParam & + ExpressRoutePortsCreateOrUpdateMediaTypesParam & + ExpressRoutePortsCreateOrUpdateBodyParam & + RequestParameters; export interface ExpressRoutePortsUpdateTagsBodyParam { /** Parameters supplied to update ExpressRoutePort resource tags. */ @@ -2606,11 +2545,10 @@ export interface ExpressRoutePortsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ExpressRoutePortsUpdateTagsParameters = - ExpressRoutePortsUpdateTagsQueryParam & - ExpressRoutePortsUpdateTagsMediaTypesParam & - ExpressRoutePortsUpdateTagsBodyParam & - RequestParameters; +export type ExpressRoutePortsUpdateTagsParameters = ExpressRoutePortsUpdateTagsQueryParam & + ExpressRoutePortsUpdateTagsMediaTypesParam & + ExpressRoutePortsUpdateTagsBodyParam & + RequestParameters; export interface ExpressRoutePortsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -2633,8 +2571,7 @@ export interface ExpressRoutePortsListQueryParam { queryParameters: ExpressRoutePortsListQueryParamProperties; } -export type ExpressRoutePortsListParameters = ExpressRoutePortsListQueryParam & - RequestParameters; +export type ExpressRoutePortsListParameters = ExpressRoutePortsListQueryParam & RequestParameters; export interface ExpressRoutePortsGenerateLOABodyParam { /** Request parameters supplied to generate a letter of authorization. */ @@ -2655,11 +2592,10 @@ export interface ExpressRoutePortsGenerateLOAMediaTypesParam { contentType?: "application/json"; } -export type ExpressRoutePortsGenerateLOAParameters = - ExpressRoutePortsGenerateLOAQueryParam & - ExpressRoutePortsGenerateLOAMediaTypesParam & - ExpressRoutePortsGenerateLOABodyParam & - RequestParameters; +export type ExpressRoutePortsGenerateLOAParameters = ExpressRoutePortsGenerateLOAQueryParam & + ExpressRoutePortsGenerateLOAMediaTypesParam & + ExpressRoutePortsGenerateLOABodyParam & + RequestParameters; export interface ExpressRouteLinksGetQueryParamProperties { /** Api Version */ @@ -2670,8 +2606,7 @@ export interface ExpressRouteLinksGetQueryParam { queryParameters: ExpressRouteLinksGetQueryParamProperties; } -export type ExpressRouteLinksGetParameters = ExpressRouteLinksGetQueryParam & - RequestParameters; +export type ExpressRouteLinksGetParameters = ExpressRouteLinksGetQueryParam & RequestParameters; export interface ExpressRouteLinksListQueryParamProperties { /** Api Version */ @@ -2682,8 +2617,7 @@ export interface ExpressRouteLinksListQueryParam { queryParameters: ExpressRouteLinksListQueryParamProperties; } -export type ExpressRouteLinksListParameters = ExpressRouteLinksListQueryParam & - RequestParameters; +export type ExpressRouteLinksListParameters = ExpressRouteLinksListQueryParam & RequestParameters; export interface ExpressRoutePortAuthorizationsDeleteQueryParamProperties { /** Api Version */ @@ -2769,8 +2703,7 @@ export interface FirewallPoliciesDeleteQueryParam { queryParameters: FirewallPoliciesDeleteQueryParamProperties; } -export type FirewallPoliciesDeleteParameters = - FirewallPoliciesDeleteQueryParam & RequestParameters; +export type FirewallPoliciesDeleteParameters = FirewallPoliciesDeleteQueryParam & RequestParameters; export interface FirewallPoliciesGetQueryParamProperties { /** Api Version */ @@ -2783,8 +2716,7 @@ export interface FirewallPoliciesGetQueryParam { queryParameters: FirewallPoliciesGetQueryParamProperties; } -export type FirewallPoliciesGetParameters = FirewallPoliciesGetQueryParam & - RequestParameters; +export type FirewallPoliciesGetParameters = FirewallPoliciesGetQueryParam & RequestParameters; export interface FirewallPoliciesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Firewall Policy operation. */ @@ -2805,11 +2737,10 @@ export interface FirewallPoliciesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type FirewallPoliciesCreateOrUpdateParameters = - FirewallPoliciesCreateOrUpdateQueryParam & - FirewallPoliciesCreateOrUpdateMediaTypesParam & - FirewallPoliciesCreateOrUpdateBodyParam & - RequestParameters; +export type FirewallPoliciesCreateOrUpdateParameters = FirewallPoliciesCreateOrUpdateQueryParam & + FirewallPoliciesCreateOrUpdateMediaTypesParam & + FirewallPoliciesCreateOrUpdateBodyParam & + RequestParameters; export interface FirewallPoliciesUpdateTagsBodyParam { /** Parameters supplied to update Azure Firewall Policy tags. */ @@ -2830,11 +2761,10 @@ export interface FirewallPoliciesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type FirewallPoliciesUpdateTagsParameters = - FirewallPoliciesUpdateTagsQueryParam & - FirewallPoliciesUpdateTagsMediaTypesParam & - FirewallPoliciesUpdateTagsBodyParam & - RequestParameters; +export type FirewallPoliciesUpdateTagsParameters = FirewallPoliciesUpdateTagsQueryParam & + FirewallPoliciesUpdateTagsMediaTypesParam & + FirewallPoliciesUpdateTagsBodyParam & + RequestParameters; export interface FirewallPoliciesListQueryParamProperties { /** Api Version */ @@ -2845,8 +2775,7 @@ export interface FirewallPoliciesListQueryParam { queryParameters: FirewallPoliciesListQueryParamProperties; } -export type FirewallPoliciesListParameters = FirewallPoliciesListQueryParam & - RequestParameters; +export type FirewallPoliciesListParameters = FirewallPoliciesListQueryParam & RequestParameters; export interface FirewallPoliciesListAllQueryParamProperties { /** Api Version */ @@ -2857,8 +2786,8 @@ export interface FirewallPoliciesListAllQueryParam { queryParameters: FirewallPoliciesListAllQueryParamProperties; } -export type FirewallPoliciesListAllParameters = - FirewallPoliciesListAllQueryParam & RequestParameters; +export type FirewallPoliciesListAllParameters = FirewallPoliciesListAllQueryParam & + RequestParameters; export interface FirewallPolicyRuleCollectionGroupsDeleteQueryParamProperties { /** Api Version */ @@ -3052,8 +2981,7 @@ export interface IpAllocationsDeleteQueryParam { queryParameters: IpAllocationsDeleteQueryParamProperties; } -export type IpAllocationsDeleteParameters = IpAllocationsDeleteQueryParam & - RequestParameters; +export type IpAllocationsDeleteParameters = IpAllocationsDeleteQueryParam & RequestParameters; export interface IpAllocationsGetQueryParamProperties { /** Api Version */ @@ -3066,8 +2994,7 @@ export interface IpAllocationsGetQueryParam { queryParameters: IpAllocationsGetQueryParamProperties; } -export type IpAllocationsGetParameters = IpAllocationsGetQueryParam & - RequestParameters; +export type IpAllocationsGetParameters = IpAllocationsGetQueryParam & RequestParameters; export interface IpAllocationsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update virtual network operation. */ @@ -3088,11 +3015,10 @@ export interface IpAllocationsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type IpAllocationsCreateOrUpdateParameters = - IpAllocationsCreateOrUpdateQueryParam & - IpAllocationsCreateOrUpdateMediaTypesParam & - IpAllocationsCreateOrUpdateBodyParam & - RequestParameters; +export type IpAllocationsCreateOrUpdateParameters = IpAllocationsCreateOrUpdateQueryParam & + IpAllocationsCreateOrUpdateMediaTypesParam & + IpAllocationsCreateOrUpdateBodyParam & + RequestParameters; export interface IpAllocationsUpdateTagsBodyParam { /** Parameters supplied to update IpAllocation tags. */ @@ -3113,11 +3039,10 @@ export interface IpAllocationsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type IpAllocationsUpdateTagsParameters = - IpAllocationsUpdateTagsQueryParam & - IpAllocationsUpdateTagsMediaTypesParam & - IpAllocationsUpdateTagsBodyParam & - RequestParameters; +export type IpAllocationsUpdateTagsParameters = IpAllocationsUpdateTagsQueryParam & + IpAllocationsUpdateTagsMediaTypesParam & + IpAllocationsUpdateTagsBodyParam & + RequestParameters; export interface IpAllocationsListQueryParamProperties { /** Api Version */ @@ -3128,8 +3053,7 @@ export interface IpAllocationsListQueryParam { queryParameters: IpAllocationsListQueryParamProperties; } -export type IpAllocationsListParameters = IpAllocationsListQueryParam & - RequestParameters; +export type IpAllocationsListParameters = IpAllocationsListQueryParam & RequestParameters; export interface IpAllocationsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -3175,11 +3099,10 @@ export interface IpGroupsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type IpGroupsCreateOrUpdateParameters = - IpGroupsCreateOrUpdateQueryParam & - IpGroupsCreateOrUpdateMediaTypesParam & - IpGroupsCreateOrUpdateBodyParam & - RequestParameters; +export type IpGroupsCreateOrUpdateParameters = IpGroupsCreateOrUpdateQueryParam & + IpGroupsCreateOrUpdateMediaTypesParam & + IpGroupsCreateOrUpdateBodyParam & + RequestParameters; export interface IpGroupsUpdateGroupsBodyParam { /** Parameters supplied to the update ipGroups operation. */ @@ -3214,8 +3137,7 @@ export interface IpGroupsDeleteQueryParam { queryParameters: IpGroupsDeleteQueryParamProperties; } -export type IpGroupsDeleteParameters = IpGroupsDeleteQueryParam & - RequestParameters; +export type IpGroupsDeleteParameters = IpGroupsDeleteQueryParam & RequestParameters; export interface IpGroupsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -3226,8 +3148,8 @@ export interface IpGroupsListByResourceGroupQueryParam { queryParameters: IpGroupsListByResourceGroupQueryParamProperties; } -export type IpGroupsListByResourceGroupParameters = - IpGroupsListByResourceGroupQueryParam & RequestParameters; +export type IpGroupsListByResourceGroupParameters = IpGroupsListByResourceGroupQueryParam & + RequestParameters; export interface IpGroupsListQueryParamProperties { /** Api Version */ @@ -3249,8 +3171,7 @@ export interface LoadBalancersDeleteQueryParam { queryParameters: LoadBalancersDeleteQueryParamProperties; } -export type LoadBalancersDeleteParameters = LoadBalancersDeleteQueryParam & - RequestParameters; +export type LoadBalancersDeleteParameters = LoadBalancersDeleteQueryParam & RequestParameters; export interface LoadBalancersGetQueryParamProperties { /** Api Version */ @@ -3263,8 +3184,7 @@ export interface LoadBalancersGetQueryParam { queryParameters: LoadBalancersGetQueryParamProperties; } -export type LoadBalancersGetParameters = LoadBalancersGetQueryParam & - RequestParameters; +export type LoadBalancersGetParameters = LoadBalancersGetQueryParam & RequestParameters; export interface LoadBalancersCreateOrUpdateBodyParam { /** Parameters supplied to the create or update load balancer operation. */ @@ -3285,11 +3205,10 @@ export interface LoadBalancersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type LoadBalancersCreateOrUpdateParameters = - LoadBalancersCreateOrUpdateQueryParam & - LoadBalancersCreateOrUpdateMediaTypesParam & - LoadBalancersCreateOrUpdateBodyParam & - RequestParameters; +export type LoadBalancersCreateOrUpdateParameters = LoadBalancersCreateOrUpdateQueryParam & + LoadBalancersCreateOrUpdateMediaTypesParam & + LoadBalancersCreateOrUpdateBodyParam & + RequestParameters; export interface LoadBalancersUpdateTagsBodyParam { /** Parameters supplied to update load balancer tags. */ @@ -3310,11 +3229,10 @@ export interface LoadBalancersUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type LoadBalancersUpdateTagsParameters = - LoadBalancersUpdateTagsQueryParam & - LoadBalancersUpdateTagsMediaTypesParam & - LoadBalancersUpdateTagsBodyParam & - RequestParameters; +export type LoadBalancersUpdateTagsParameters = LoadBalancersUpdateTagsQueryParam & + LoadBalancersUpdateTagsMediaTypesParam & + LoadBalancersUpdateTagsBodyParam & + RequestParameters; export interface LoadBalancersListAllQueryParamProperties { /** Api Version */ @@ -3325,8 +3243,7 @@ export interface LoadBalancersListAllQueryParam { queryParameters: LoadBalancersListAllQueryParamProperties; } -export type LoadBalancersListAllParameters = LoadBalancersListAllQueryParam & - RequestParameters; +export type LoadBalancersListAllParameters = LoadBalancersListAllQueryParam & RequestParameters; export interface LoadBalancersListQueryParamProperties { /** Api Version */ @@ -3337,8 +3254,7 @@ export interface LoadBalancersListQueryParam { queryParameters: LoadBalancersListQueryParamProperties; } -export type LoadBalancersListParameters = LoadBalancersListQueryParam & - RequestParameters; +export type LoadBalancersListParameters = LoadBalancersListQueryParam & RequestParameters; export interface LoadBalancersSwapPublicIpAddressesBodyParam { /** Parameters that define which VIPs should be swapped. */ @@ -3484,8 +3400,7 @@ export interface InboundNatRulesListQueryParam { queryParameters: InboundNatRulesListQueryParamProperties; } -export type InboundNatRulesListParameters = InboundNatRulesListQueryParam & - RequestParameters; +export type InboundNatRulesListParameters = InboundNatRulesListQueryParam & RequestParameters; export interface InboundNatRulesDeleteQueryParamProperties { /** Api Version */ @@ -3496,8 +3411,7 @@ export interface InboundNatRulesDeleteQueryParam { queryParameters: InboundNatRulesDeleteQueryParamProperties; } -export type InboundNatRulesDeleteParameters = InboundNatRulesDeleteQueryParam & - RequestParameters; +export type InboundNatRulesDeleteParameters = InboundNatRulesDeleteQueryParam & RequestParameters; export interface InboundNatRulesGetQueryParamProperties { /** Api Version */ @@ -3510,8 +3424,7 @@ export interface InboundNatRulesGetQueryParam { queryParameters: InboundNatRulesGetQueryParamProperties; } -export type InboundNatRulesGetParameters = InboundNatRulesGetQueryParam & - RequestParameters; +export type InboundNatRulesGetParameters = InboundNatRulesGetQueryParam & RequestParameters; export interface InboundNatRulesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update inbound NAT rule operation. */ @@ -3532,11 +3445,10 @@ export interface InboundNatRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type InboundNatRulesCreateOrUpdateParameters = - InboundNatRulesCreateOrUpdateQueryParam & - InboundNatRulesCreateOrUpdateMediaTypesParam & - InboundNatRulesCreateOrUpdateBodyParam & - RequestParameters; +export type InboundNatRulesCreateOrUpdateParameters = InboundNatRulesCreateOrUpdateQueryParam & + InboundNatRulesCreateOrUpdateMediaTypesParam & + InboundNatRulesCreateOrUpdateBodyParam & + RequestParameters; export interface LoadBalancerLoadBalancingRulesListQueryParamProperties { /** Api Version */ @@ -3571,8 +3483,8 @@ export interface LoadBalancerOutboundRulesListQueryParam { queryParameters: LoadBalancerOutboundRulesListQueryParamProperties; } -export type LoadBalancerOutboundRulesListParameters = - LoadBalancerOutboundRulesListQueryParam & RequestParameters; +export type LoadBalancerOutboundRulesListParameters = LoadBalancerOutboundRulesListQueryParam & + RequestParameters; export interface LoadBalancerOutboundRulesGetQueryParamProperties { /** Api Version */ @@ -3583,8 +3495,8 @@ export interface LoadBalancerOutboundRulesGetQueryParam { queryParameters: LoadBalancerOutboundRulesGetQueryParamProperties; } -export type LoadBalancerOutboundRulesGetParameters = - LoadBalancerOutboundRulesGetQueryParam & RequestParameters; +export type LoadBalancerOutboundRulesGetParameters = LoadBalancerOutboundRulesGetQueryParam & + RequestParameters; export interface LoadBalancerNetworkInterfacesListQueryParamProperties { /** Api Version */ @@ -3607,8 +3519,7 @@ export interface LoadBalancerProbesListQueryParam { queryParameters: LoadBalancerProbesListQueryParamProperties; } -export type LoadBalancerProbesListParameters = - LoadBalancerProbesListQueryParam & RequestParameters; +export type LoadBalancerProbesListParameters = LoadBalancerProbesListQueryParam & RequestParameters; export interface LoadBalancerProbesGetQueryParamProperties { /** Api Version */ @@ -3619,8 +3530,7 @@ export interface LoadBalancerProbesGetQueryParam { queryParameters: LoadBalancerProbesGetQueryParamProperties; } -export type LoadBalancerProbesGetParameters = LoadBalancerProbesGetQueryParam & - RequestParameters; +export type LoadBalancerProbesGetParameters = LoadBalancerProbesGetQueryParam & RequestParameters; export interface NatGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -3631,8 +3541,7 @@ export interface NatGatewaysDeleteQueryParam { queryParameters: NatGatewaysDeleteQueryParamProperties; } -export type NatGatewaysDeleteParameters = NatGatewaysDeleteQueryParam & - RequestParameters; +export type NatGatewaysDeleteParameters = NatGatewaysDeleteQueryParam & RequestParameters; export interface NatGatewaysGetQueryParamProperties { /** Api Version */ @@ -3645,8 +3554,7 @@ export interface NatGatewaysGetQueryParam { queryParameters: NatGatewaysGetQueryParamProperties; } -export type NatGatewaysGetParameters = NatGatewaysGetQueryParam & - RequestParameters; +export type NatGatewaysGetParameters = NatGatewaysGetQueryParam & RequestParameters; export interface NatGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to the create or update nat gateway operation. */ @@ -3667,11 +3575,10 @@ export interface NatGatewaysCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NatGatewaysCreateOrUpdateParameters = - NatGatewaysCreateOrUpdateQueryParam & - NatGatewaysCreateOrUpdateMediaTypesParam & - NatGatewaysCreateOrUpdateBodyParam & - RequestParameters; +export type NatGatewaysCreateOrUpdateParameters = NatGatewaysCreateOrUpdateQueryParam & + NatGatewaysCreateOrUpdateMediaTypesParam & + NatGatewaysCreateOrUpdateBodyParam & + RequestParameters; export interface NatGatewaysUpdateTagsBodyParam { /** Parameters supplied to update nat gateway tags. */ @@ -3706,8 +3613,7 @@ export interface NatGatewaysListAllQueryParam { queryParameters: NatGatewaysListAllQueryParamProperties; } -export type NatGatewaysListAllParameters = NatGatewaysListAllQueryParam & - RequestParameters; +export type NatGatewaysListAllParameters = NatGatewaysListAllQueryParam & RequestParameters; export interface NatGatewaysListQueryParamProperties { /** Api Version */ @@ -3718,8 +3624,7 @@ export interface NatGatewaysListQueryParam { queryParameters: NatGatewaysListQueryParamProperties; } -export type NatGatewaysListParameters = NatGatewaysListQueryParam & - RequestParameters; +export type NatGatewaysListParameters = NatGatewaysListQueryParam & RequestParameters; export interface NetworkInterfaceIPConfigurationsListQueryParamProperties { /** Api Version */ @@ -3827,8 +3732,7 @@ export interface NetworkManagersGetQueryParam { queryParameters: NetworkManagersGetQueryParamProperties; } -export type NetworkManagersGetParameters = NetworkManagersGetQueryParam & - RequestParameters; +export type NetworkManagersGetParameters = NetworkManagersGetQueryParam & RequestParameters; export interface NetworkManagersCreateOrUpdateBodyParam { /** Parameters supplied to specify which network manager is. */ @@ -3849,11 +3753,10 @@ export interface NetworkManagersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkManagersCreateOrUpdateParameters = - NetworkManagersCreateOrUpdateQueryParam & - NetworkManagersCreateOrUpdateMediaTypesParam & - NetworkManagersCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkManagersCreateOrUpdateParameters = NetworkManagersCreateOrUpdateQueryParam & + NetworkManagersCreateOrUpdateMediaTypesParam & + NetworkManagersCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkManagersDeleteQueryParamProperties { /** Api Version */ @@ -3866,8 +3769,7 @@ export interface NetworkManagersDeleteQueryParam { queryParameters: NetworkManagersDeleteQueryParamProperties; } -export type NetworkManagersDeleteParameters = NetworkManagersDeleteQueryParam & - RequestParameters; +export type NetworkManagersDeleteParameters = NetworkManagersDeleteQueryParam & RequestParameters; export interface NetworkManagersPatchBodyParam { /** Parameters supplied to specify which network manager is. */ @@ -3922,8 +3824,7 @@ export interface NetworkManagersListQueryParam { queryParameters: NetworkManagersListQueryParamProperties; } -export type NetworkManagersListParameters = NetworkManagersListQueryParam & - RequestParameters; +export type NetworkManagersListParameters = NetworkManagersListQueryParam & RequestParameters; export interface NetworkManagerCommitsPostBodyParam { /** Parameters supplied to specify which Managed Network commit is. */ @@ -3944,11 +3845,10 @@ export interface NetworkManagerCommitsPostMediaTypesParam { contentType?: "application/json"; } -export type NetworkManagerCommitsPostParameters = - NetworkManagerCommitsPostQueryParam & - NetworkManagerCommitsPostMediaTypesParam & - NetworkManagerCommitsPostBodyParam & - RequestParameters; +export type NetworkManagerCommitsPostParameters = NetworkManagerCommitsPostQueryParam & + NetworkManagerCommitsPostMediaTypesParam & + NetworkManagerCommitsPostBodyParam & + RequestParameters; export interface NetworkManagerDeploymentStatusListBodyParam { /** Parameters supplied to specify which Managed Network deployment status is. */ @@ -4116,8 +4016,8 @@ export interface ConnectivityConfigurationsGetQueryParam { queryParameters: ConnectivityConfigurationsGetQueryParamProperties; } -export type ConnectivityConfigurationsGetParameters = - ConnectivityConfigurationsGetQueryParam & RequestParameters; +export type ConnectivityConfigurationsGetParameters = ConnectivityConfigurationsGetQueryParam & + RequestParameters; export interface ConnectivityConfigurationsCreateOrUpdateBodyParam { /** Parameters supplied to create/update a network manager connectivity configuration */ @@ -4171,8 +4071,8 @@ export interface ConnectivityConfigurationsListQueryParam { queryParameters: ConnectivityConfigurationsListQueryParamProperties; } -export type ConnectivityConfigurationsListParameters = - ConnectivityConfigurationsListQueryParam & RequestParameters; +export type ConnectivityConfigurationsListParameters = ConnectivityConfigurationsListQueryParam & + RequestParameters; export interface NetworkGroupsGetQueryParamProperties { /** Api Version */ @@ -4183,8 +4083,7 @@ export interface NetworkGroupsGetQueryParam { queryParameters: NetworkGroupsGetQueryParamProperties; } -export type NetworkGroupsGetParameters = NetworkGroupsGetQueryParam & - RequestParameters; +export type NetworkGroupsGetParameters = NetworkGroupsGetQueryParam & RequestParameters; export interface NetworkGroupsCreateOrUpdateHeaders { /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */ @@ -4214,12 +4113,11 @@ export interface NetworkGroupsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkGroupsCreateOrUpdateParameters = - NetworkGroupsCreateOrUpdateQueryParam & - NetworkGroupsCreateOrUpdateHeaderParam & - NetworkGroupsCreateOrUpdateMediaTypesParam & - NetworkGroupsCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkGroupsCreateOrUpdateParameters = NetworkGroupsCreateOrUpdateQueryParam & + NetworkGroupsCreateOrUpdateHeaderParam & + NetworkGroupsCreateOrUpdateMediaTypesParam & + NetworkGroupsCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkGroupsDeleteQueryParamProperties { /** Api Version */ @@ -4232,8 +4130,7 @@ export interface NetworkGroupsDeleteQueryParam { queryParameters: NetworkGroupsDeleteQueryParamProperties; } -export type NetworkGroupsDeleteParameters = NetworkGroupsDeleteQueryParam & - RequestParameters; +export type NetworkGroupsDeleteParameters = NetworkGroupsDeleteQueryParam & RequestParameters; export interface NetworkGroupsListQueryParamProperties { /** Api Version */ @@ -4248,8 +4145,7 @@ export interface NetworkGroupsListQueryParam { queryParameters: NetworkGroupsListQueryParamProperties; } -export type NetworkGroupsListParameters = NetworkGroupsListQueryParam & - RequestParameters; +export type NetworkGroupsListParameters = NetworkGroupsListQueryParam & RequestParameters; export interface StaticMembersGetQueryParamProperties { /** Api Version */ @@ -4260,8 +4156,7 @@ export interface StaticMembersGetQueryParam { queryParameters: StaticMembersGetQueryParamProperties; } -export type StaticMembersGetParameters = StaticMembersGetQueryParam & - RequestParameters; +export type StaticMembersGetParameters = StaticMembersGetQueryParam & RequestParameters; export interface StaticMembersCreateOrUpdateBodyParam { /** Parameters supplied to the specify the static member to create */ @@ -4282,11 +4177,10 @@ export interface StaticMembersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type StaticMembersCreateOrUpdateParameters = - StaticMembersCreateOrUpdateQueryParam & - StaticMembersCreateOrUpdateMediaTypesParam & - StaticMembersCreateOrUpdateBodyParam & - RequestParameters; +export type StaticMembersCreateOrUpdateParameters = StaticMembersCreateOrUpdateQueryParam & + StaticMembersCreateOrUpdateMediaTypesParam & + StaticMembersCreateOrUpdateBodyParam & + RequestParameters; export interface StaticMembersDeleteQueryParamProperties { /** Api Version */ @@ -4297,8 +4191,7 @@ export interface StaticMembersDeleteQueryParam { queryParameters: StaticMembersDeleteQueryParamProperties; } -export type StaticMembersDeleteParameters = StaticMembersDeleteQueryParam & - RequestParameters; +export type StaticMembersDeleteParameters = StaticMembersDeleteQueryParam & RequestParameters; export interface StaticMembersListQueryParamProperties { /** Api Version */ @@ -4313,8 +4206,7 @@ export interface StaticMembersListQueryParam { queryParameters: StaticMembersListQueryParamProperties; } -export type StaticMembersListParameters = StaticMembersListQueryParam & - RequestParameters; +export type StaticMembersListParameters = StaticMembersListQueryParam & RequestParameters; export interface ScopeConnectionsCreateOrUpdateBodyParam { /** Scope connection to be created/updated. */ @@ -4335,11 +4227,10 @@ export interface ScopeConnectionsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ScopeConnectionsCreateOrUpdateParameters = - ScopeConnectionsCreateOrUpdateQueryParam & - ScopeConnectionsCreateOrUpdateMediaTypesParam & - ScopeConnectionsCreateOrUpdateBodyParam & - RequestParameters; +export type ScopeConnectionsCreateOrUpdateParameters = ScopeConnectionsCreateOrUpdateQueryParam & + ScopeConnectionsCreateOrUpdateMediaTypesParam & + ScopeConnectionsCreateOrUpdateBodyParam & + RequestParameters; export interface ScopeConnectionsGetQueryParamProperties { /** Api Version */ @@ -4350,8 +4241,7 @@ export interface ScopeConnectionsGetQueryParam { queryParameters: ScopeConnectionsGetQueryParamProperties; } -export type ScopeConnectionsGetParameters = ScopeConnectionsGetQueryParam & - RequestParameters; +export type ScopeConnectionsGetParameters = ScopeConnectionsGetQueryParam & RequestParameters; export interface ScopeConnectionsDeleteQueryParamProperties { /** Api Version */ @@ -4362,8 +4252,7 @@ export interface ScopeConnectionsDeleteQueryParam { queryParameters: ScopeConnectionsDeleteQueryParamProperties; } -export type ScopeConnectionsDeleteParameters = - ScopeConnectionsDeleteQueryParam & RequestParameters; +export type ScopeConnectionsDeleteParameters = ScopeConnectionsDeleteQueryParam & RequestParameters; export interface ScopeConnectionsListQueryParamProperties { /** Api Version */ @@ -4378,8 +4267,7 @@ export interface ScopeConnectionsListQueryParam { queryParameters: ScopeConnectionsListQueryParamProperties; } -export type ScopeConnectionsListParameters = ScopeConnectionsListQueryParam & - RequestParameters; +export type ScopeConnectionsListParameters = ScopeConnectionsListQueryParam & RequestParameters; export interface SecurityAdminConfigurationsListQueryParamProperties { /** Api Version */ @@ -4394,8 +4282,8 @@ export interface SecurityAdminConfigurationsListQueryParam { queryParameters: SecurityAdminConfigurationsListQueryParamProperties; } -export type SecurityAdminConfigurationsListParameters = - SecurityAdminConfigurationsListQueryParam & RequestParameters; +export type SecurityAdminConfigurationsListParameters = SecurityAdminConfigurationsListQueryParam & + RequestParameters; export interface SecurityAdminConfigurationsGetQueryParamProperties { /** Api Version */ @@ -4406,8 +4294,8 @@ export interface SecurityAdminConfigurationsGetQueryParam { queryParameters: SecurityAdminConfigurationsGetQueryParamProperties; } -export type SecurityAdminConfigurationsGetParameters = - SecurityAdminConfigurationsGetQueryParam & RequestParameters; +export type SecurityAdminConfigurationsGetParameters = SecurityAdminConfigurationsGetQueryParam & + RequestParameters; export interface SecurityAdminConfigurationsCreateOrUpdateBodyParam { /** The security admin configuration to create or update */ @@ -4461,8 +4349,8 @@ export interface AdminRuleCollectionsListQueryParam { queryParameters: AdminRuleCollectionsListQueryParamProperties; } -export type AdminRuleCollectionsListParameters = - AdminRuleCollectionsListQueryParam & RequestParameters; +export type AdminRuleCollectionsListParameters = AdminRuleCollectionsListQueryParam & + RequestParameters; export interface AdminRuleCollectionsGetQueryParamProperties { /** Api Version */ @@ -4473,8 +4361,8 @@ export interface AdminRuleCollectionsGetQueryParam { queryParameters: AdminRuleCollectionsGetQueryParamProperties; } -export type AdminRuleCollectionsGetParameters = - AdminRuleCollectionsGetQueryParam & RequestParameters; +export type AdminRuleCollectionsGetParameters = AdminRuleCollectionsGetQueryParam & + RequestParameters; export interface AdminRuleCollectionsCreateOrUpdateBodyParam { /** The Rule Collection to create or update */ @@ -4512,8 +4400,8 @@ export interface AdminRuleCollectionsDeleteQueryParam { queryParameters: AdminRuleCollectionsDeleteQueryParamProperties; } -export type AdminRuleCollectionsDeleteParameters = - AdminRuleCollectionsDeleteQueryParam & RequestParameters; +export type AdminRuleCollectionsDeleteParameters = AdminRuleCollectionsDeleteQueryParam & + RequestParameters; export interface AdminRulesListQueryParamProperties { /** Api Version */ @@ -4528,8 +4416,7 @@ export interface AdminRulesListQueryParam { queryParameters: AdminRulesListQueryParamProperties; } -export type AdminRulesListParameters = AdminRulesListQueryParam & - RequestParameters; +export type AdminRulesListParameters = AdminRulesListQueryParam & RequestParameters; export interface AdminRulesGetQueryParamProperties { /** Api Version */ @@ -4540,8 +4427,7 @@ export interface AdminRulesGetQueryParam { queryParameters: AdminRulesGetQueryParamProperties; } -export type AdminRulesGetParameters = AdminRulesGetQueryParam & - RequestParameters; +export type AdminRulesGetParameters = AdminRulesGetQueryParam & RequestParameters; export interface AdminRulesCreateOrUpdateBodyParam { /** The admin rule to create or update */ @@ -4562,11 +4448,10 @@ export interface AdminRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type AdminRulesCreateOrUpdateParameters = - AdminRulesCreateOrUpdateQueryParam & - AdminRulesCreateOrUpdateMediaTypesParam & - AdminRulesCreateOrUpdateBodyParam & - RequestParameters; +export type AdminRulesCreateOrUpdateParameters = AdminRulesCreateOrUpdateQueryParam & + AdminRulesCreateOrUpdateMediaTypesParam & + AdminRulesCreateOrUpdateBodyParam & + RequestParameters; export interface AdminRulesDeleteQueryParamProperties { /** Api Version */ @@ -4579,8 +4464,7 @@ export interface AdminRulesDeleteQueryParam { queryParameters: AdminRulesDeleteQueryParamProperties; } -export type AdminRulesDeleteParameters = AdminRulesDeleteQueryParam & - RequestParameters; +export type AdminRulesDeleteParameters = AdminRulesDeleteQueryParam & RequestParameters; export interface NetworkProfilesDeleteQueryParamProperties { /** Api Version */ @@ -4591,8 +4475,7 @@ export interface NetworkProfilesDeleteQueryParam { queryParameters: NetworkProfilesDeleteQueryParamProperties; } -export type NetworkProfilesDeleteParameters = NetworkProfilesDeleteQueryParam & - RequestParameters; +export type NetworkProfilesDeleteParameters = NetworkProfilesDeleteQueryParam & RequestParameters; export interface NetworkProfilesGetQueryParamProperties { /** Api Version */ @@ -4605,8 +4488,7 @@ export interface NetworkProfilesGetQueryParam { queryParameters: NetworkProfilesGetQueryParamProperties; } -export type NetworkProfilesGetParameters = NetworkProfilesGetQueryParam & - RequestParameters; +export type NetworkProfilesGetParameters = NetworkProfilesGetQueryParam & RequestParameters; export interface NetworkProfilesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update network profile operation. */ @@ -4627,11 +4509,10 @@ export interface NetworkProfilesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkProfilesCreateOrUpdateParameters = - NetworkProfilesCreateOrUpdateQueryParam & - NetworkProfilesCreateOrUpdateMediaTypesParam & - NetworkProfilesCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkProfilesCreateOrUpdateParameters = NetworkProfilesCreateOrUpdateQueryParam & + NetworkProfilesCreateOrUpdateMediaTypesParam & + NetworkProfilesCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkProfilesUpdateTagsBodyParam { /** Parameters supplied to update network profile tags. */ @@ -4652,11 +4533,10 @@ export interface NetworkProfilesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type NetworkProfilesUpdateTagsParameters = - NetworkProfilesUpdateTagsQueryParam & - NetworkProfilesUpdateTagsMediaTypesParam & - NetworkProfilesUpdateTagsBodyParam & - RequestParameters; +export type NetworkProfilesUpdateTagsParameters = NetworkProfilesUpdateTagsQueryParam & + NetworkProfilesUpdateTagsMediaTypesParam & + NetworkProfilesUpdateTagsBodyParam & + RequestParameters; export interface NetworkProfilesListAllQueryParamProperties { /** Api Version */ @@ -4667,8 +4547,7 @@ export interface NetworkProfilesListAllQueryParam { queryParameters: NetworkProfilesListAllQueryParamProperties; } -export type NetworkProfilesListAllParameters = - NetworkProfilesListAllQueryParam & RequestParameters; +export type NetworkProfilesListAllParameters = NetworkProfilesListAllQueryParam & RequestParameters; export interface NetworkProfilesListQueryParamProperties { /** Api Version */ @@ -4679,8 +4558,7 @@ export interface NetworkProfilesListQueryParam { queryParameters: NetworkProfilesListQueryParamProperties; } -export type NetworkProfilesListParameters = NetworkProfilesListQueryParam & - RequestParameters; +export type NetworkProfilesListParameters = NetworkProfilesListQueryParam & RequestParameters; export interface NetworkSecurityGroupsDeleteQueryParamProperties { /** Api Version */ @@ -4691,8 +4569,8 @@ export interface NetworkSecurityGroupsDeleteQueryParam { queryParameters: NetworkSecurityGroupsDeleteQueryParamProperties; } -export type NetworkSecurityGroupsDeleteParameters = - NetworkSecurityGroupsDeleteQueryParam & RequestParameters; +export type NetworkSecurityGroupsDeleteParameters = NetworkSecurityGroupsDeleteQueryParam & + RequestParameters; export interface NetworkSecurityGroupsGetQueryParamProperties { /** Api Version */ @@ -4705,8 +4583,8 @@ export interface NetworkSecurityGroupsGetQueryParam { queryParameters: NetworkSecurityGroupsGetQueryParamProperties; } -export type NetworkSecurityGroupsGetParameters = - NetworkSecurityGroupsGetQueryParam & RequestParameters; +export type NetworkSecurityGroupsGetParameters = NetworkSecurityGroupsGetQueryParam & + RequestParameters; export interface NetworkSecurityGroupsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update network security group operation. */ @@ -4752,11 +4630,10 @@ export interface NetworkSecurityGroupsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type NetworkSecurityGroupsUpdateTagsParameters = - NetworkSecurityGroupsUpdateTagsQueryParam & - NetworkSecurityGroupsUpdateTagsMediaTypesParam & - NetworkSecurityGroupsUpdateTagsBodyParam & - RequestParameters; +export type NetworkSecurityGroupsUpdateTagsParameters = NetworkSecurityGroupsUpdateTagsQueryParam & + NetworkSecurityGroupsUpdateTagsMediaTypesParam & + NetworkSecurityGroupsUpdateTagsBodyParam & + RequestParameters; export interface NetworkSecurityGroupsListAllQueryParamProperties { /** Api Version */ @@ -4767,8 +4644,8 @@ export interface NetworkSecurityGroupsListAllQueryParam { queryParameters: NetworkSecurityGroupsListAllQueryParamProperties; } -export type NetworkSecurityGroupsListAllParameters = - NetworkSecurityGroupsListAllQueryParam & RequestParameters; +export type NetworkSecurityGroupsListAllParameters = NetworkSecurityGroupsListAllQueryParam & + RequestParameters; export interface NetworkSecurityGroupsListQueryParamProperties { /** Api Version */ @@ -4779,8 +4656,8 @@ export interface NetworkSecurityGroupsListQueryParam { queryParameters: NetworkSecurityGroupsListQueryParamProperties; } -export type NetworkSecurityGroupsListParameters = - NetworkSecurityGroupsListQueryParam & RequestParameters; +export type NetworkSecurityGroupsListParameters = NetworkSecurityGroupsListQueryParam & + RequestParameters; export interface SecurityRulesDeleteQueryParamProperties { /** Api Version */ @@ -4791,8 +4668,7 @@ export interface SecurityRulesDeleteQueryParam { queryParameters: SecurityRulesDeleteQueryParamProperties; } -export type SecurityRulesDeleteParameters = SecurityRulesDeleteQueryParam & - RequestParameters; +export type SecurityRulesDeleteParameters = SecurityRulesDeleteQueryParam & RequestParameters; export interface SecurityRulesGetQueryParamProperties { /** Api Version */ @@ -4803,8 +4679,7 @@ export interface SecurityRulesGetQueryParam { queryParameters: SecurityRulesGetQueryParamProperties; } -export type SecurityRulesGetParameters = SecurityRulesGetQueryParam & - RequestParameters; +export type SecurityRulesGetParameters = SecurityRulesGetQueryParam & RequestParameters; export interface SecurityRulesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update network security rule operation. */ @@ -4825,11 +4700,10 @@ export interface SecurityRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type SecurityRulesCreateOrUpdateParameters = - SecurityRulesCreateOrUpdateQueryParam & - SecurityRulesCreateOrUpdateMediaTypesParam & - SecurityRulesCreateOrUpdateBodyParam & - RequestParameters; +export type SecurityRulesCreateOrUpdateParameters = SecurityRulesCreateOrUpdateQueryParam & + SecurityRulesCreateOrUpdateMediaTypesParam & + SecurityRulesCreateOrUpdateBodyParam & + RequestParameters; export interface SecurityRulesListQueryParamProperties { /** Api Version */ @@ -4840,8 +4714,7 @@ export interface SecurityRulesListQueryParam { queryParameters: SecurityRulesListQueryParamProperties; } -export type SecurityRulesListParameters = SecurityRulesListQueryParam & - RequestParameters; +export type SecurityRulesListParameters = SecurityRulesListQueryParam & RequestParameters; export interface DefaultSecurityRulesListQueryParamProperties { /** Api Version */ @@ -4852,8 +4725,8 @@ export interface DefaultSecurityRulesListQueryParam { queryParameters: DefaultSecurityRulesListQueryParamProperties; } -export type DefaultSecurityRulesListParameters = - DefaultSecurityRulesListQueryParam & RequestParameters; +export type DefaultSecurityRulesListParameters = DefaultSecurityRulesListQueryParam & + RequestParameters; export interface DefaultSecurityRulesGetQueryParamProperties { /** Api Version */ @@ -4864,8 +4737,8 @@ export interface DefaultSecurityRulesGetQueryParam { queryParameters: DefaultSecurityRulesGetQueryParamProperties; } -export type DefaultSecurityRulesGetParameters = - DefaultSecurityRulesGetQueryParam & RequestParameters; +export type DefaultSecurityRulesGetParameters = DefaultSecurityRulesGetQueryParam & + RequestParameters; export interface NetworkVirtualAppliancesDeleteQueryParamProperties { /** Api Version */ @@ -4876,8 +4749,8 @@ export interface NetworkVirtualAppliancesDeleteQueryParam { queryParameters: NetworkVirtualAppliancesDeleteQueryParamProperties; } -export type NetworkVirtualAppliancesDeleteParameters = - NetworkVirtualAppliancesDeleteQueryParam & RequestParameters; +export type NetworkVirtualAppliancesDeleteParameters = NetworkVirtualAppliancesDeleteQueryParam & + RequestParameters; export interface NetworkVirtualAppliancesGetQueryParamProperties { /** Api Version */ @@ -4890,8 +4763,8 @@ export interface NetworkVirtualAppliancesGetQueryParam { queryParameters: NetworkVirtualAppliancesGetQueryParamProperties; } -export type NetworkVirtualAppliancesGetParameters = - NetworkVirtualAppliancesGetQueryParam & RequestParameters; +export type NetworkVirtualAppliancesGetParameters = NetworkVirtualAppliancesGetQueryParam & + RequestParameters; export interface NetworkVirtualAppliancesUpdateTagsBodyParam { /** Parameters supplied to Update Network Virtual Appliance Tags. */ @@ -4964,8 +4837,8 @@ export interface NetworkVirtualAppliancesListQueryParam { queryParameters: NetworkVirtualAppliancesListQueryParamProperties; } -export type NetworkVirtualAppliancesListParameters = - NetworkVirtualAppliancesListQueryParam & RequestParameters; +export type NetworkVirtualAppliancesListParameters = NetworkVirtualAppliancesListQueryParam & + RequestParameters; export interface VirtualApplianceSitesDeleteQueryParamProperties { /** Api Version */ @@ -4976,8 +4849,8 @@ export interface VirtualApplianceSitesDeleteQueryParam { queryParameters: VirtualApplianceSitesDeleteQueryParamProperties; } -export type VirtualApplianceSitesDeleteParameters = - VirtualApplianceSitesDeleteQueryParam & RequestParameters; +export type VirtualApplianceSitesDeleteParameters = VirtualApplianceSitesDeleteQueryParam & + RequestParameters; export interface VirtualApplianceSitesGetQueryParamProperties { /** Api Version */ @@ -4988,8 +4861,8 @@ export interface VirtualApplianceSitesGetQueryParam { queryParameters: VirtualApplianceSitesGetQueryParamProperties; } -export type VirtualApplianceSitesGetParameters = - VirtualApplianceSitesGetQueryParam & RequestParameters; +export type VirtualApplianceSitesGetParameters = VirtualApplianceSitesGetQueryParam & + RequestParameters; export interface VirtualApplianceSitesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Network Virtual Appliance Site operation. */ @@ -5025,8 +4898,8 @@ export interface VirtualApplianceSitesListQueryParam { queryParameters: VirtualApplianceSitesListQueryParamProperties; } -export type VirtualApplianceSitesListParameters = - VirtualApplianceSitesListQueryParam & RequestParameters; +export type VirtualApplianceSitesListParameters = VirtualApplianceSitesListQueryParam & + RequestParameters; export interface VirtualApplianceSkusListQueryParamProperties { /** Api Version */ @@ -5037,8 +4910,8 @@ export interface VirtualApplianceSkusListQueryParam { queryParameters: VirtualApplianceSkusListQueryParamProperties; } -export type VirtualApplianceSkusListParameters = - VirtualApplianceSkusListQueryParam & RequestParameters; +export type VirtualApplianceSkusListParameters = VirtualApplianceSkusListQueryParam & + RequestParameters; export interface VirtualApplianceSkusGetQueryParamProperties { /** Api Version */ @@ -5049,8 +4922,8 @@ export interface VirtualApplianceSkusGetQueryParam { queryParameters: VirtualApplianceSkusGetQueryParamProperties; } -export type VirtualApplianceSkusGetParameters = - VirtualApplianceSkusGetQueryParam & RequestParameters; +export type VirtualApplianceSkusGetParameters = VirtualApplianceSkusGetQueryParam & + RequestParameters; export interface InboundSecurityRuleCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation. */ @@ -5096,11 +4969,10 @@ export interface NetworkWatchersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersCreateOrUpdateParameters = - NetworkWatchersCreateOrUpdateQueryParam & - NetworkWatchersCreateOrUpdateMediaTypesParam & - NetworkWatchersCreateOrUpdateBodyParam & - RequestParameters; +export type NetworkWatchersCreateOrUpdateParameters = NetworkWatchersCreateOrUpdateQueryParam & + NetworkWatchersCreateOrUpdateMediaTypesParam & + NetworkWatchersCreateOrUpdateBodyParam & + RequestParameters; export interface NetworkWatchersGetQueryParamProperties { /** Api Version */ @@ -5111,8 +4983,7 @@ export interface NetworkWatchersGetQueryParam { queryParameters: NetworkWatchersGetQueryParamProperties; } -export type NetworkWatchersGetParameters = NetworkWatchersGetQueryParam & - RequestParameters; +export type NetworkWatchersGetParameters = NetworkWatchersGetQueryParam & RequestParameters; export interface NetworkWatchersDeleteQueryParamProperties { /** Api Version */ @@ -5123,8 +4994,7 @@ export interface NetworkWatchersDeleteQueryParam { queryParameters: NetworkWatchersDeleteQueryParamProperties; } -export type NetworkWatchersDeleteParameters = NetworkWatchersDeleteQueryParam & - RequestParameters; +export type NetworkWatchersDeleteParameters = NetworkWatchersDeleteQueryParam & RequestParameters; export interface NetworkWatchersUpdateTagsBodyParam { /** Parameters supplied to update network watcher tags. */ @@ -5145,11 +5015,10 @@ export interface NetworkWatchersUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersUpdateTagsParameters = - NetworkWatchersUpdateTagsQueryParam & - NetworkWatchersUpdateTagsMediaTypesParam & - NetworkWatchersUpdateTagsBodyParam & - RequestParameters; +export type NetworkWatchersUpdateTagsParameters = NetworkWatchersUpdateTagsQueryParam & + NetworkWatchersUpdateTagsMediaTypesParam & + NetworkWatchersUpdateTagsBodyParam & + RequestParameters; export interface NetworkWatchersListQueryParamProperties { /** Api Version */ @@ -5160,8 +5029,7 @@ export interface NetworkWatchersListQueryParam { queryParameters: NetworkWatchersListQueryParamProperties; } -export type NetworkWatchersListParameters = NetworkWatchersListQueryParam & - RequestParameters; +export type NetworkWatchersListParameters = NetworkWatchersListQueryParam & RequestParameters; export interface NetworkWatchersListAllQueryParamProperties { /** Api Version */ @@ -5172,8 +5040,7 @@ export interface NetworkWatchersListAllQueryParam { queryParameters: NetworkWatchersListAllQueryParamProperties; } -export type NetworkWatchersListAllParameters = - NetworkWatchersListAllQueryParam & RequestParameters; +export type NetworkWatchersListAllParameters = NetworkWatchersListAllQueryParam & RequestParameters; export interface NetworkWatchersGetTopologyBodyParam { /** Parameters that define the representation of topology. */ @@ -5194,11 +5061,10 @@ export interface NetworkWatchersGetTopologyMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersGetTopologyParameters = - NetworkWatchersGetTopologyQueryParam & - NetworkWatchersGetTopologyMediaTypesParam & - NetworkWatchersGetTopologyBodyParam & - RequestParameters; +export type NetworkWatchersGetTopologyParameters = NetworkWatchersGetTopologyQueryParam & + NetworkWatchersGetTopologyMediaTypesParam & + NetworkWatchersGetTopologyBodyParam & + RequestParameters; export interface NetworkWatchersVerifyIPFlowBodyParam { /** Parameters that define the IP flow to be verified. */ @@ -5219,11 +5085,10 @@ export interface NetworkWatchersVerifyIPFlowMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersVerifyIPFlowParameters = - NetworkWatchersVerifyIPFlowQueryParam & - NetworkWatchersVerifyIPFlowMediaTypesParam & - NetworkWatchersVerifyIPFlowBodyParam & - RequestParameters; +export type NetworkWatchersVerifyIPFlowParameters = NetworkWatchersVerifyIPFlowQueryParam & + NetworkWatchersVerifyIPFlowMediaTypesParam & + NetworkWatchersVerifyIPFlowBodyParam & + RequestParameters; export interface NetworkWatchersGetNextHopBodyParam { /** Parameters that define the source and destination endpoint. */ @@ -5244,11 +5109,10 @@ export interface NetworkWatchersGetNextHopMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersGetNextHopParameters = - NetworkWatchersGetNextHopQueryParam & - NetworkWatchersGetNextHopMediaTypesParam & - NetworkWatchersGetNextHopBodyParam & - RequestParameters; +export type NetworkWatchersGetNextHopParameters = NetworkWatchersGetNextHopQueryParam & + NetworkWatchersGetNextHopMediaTypesParam & + NetworkWatchersGetNextHopBodyParam & + RequestParameters; export interface NetworkWatchersGetVMSecurityRulesBodyParam { /** Parameters that define the VM to check security groups for. */ @@ -5369,11 +5233,10 @@ export interface NetworkWatchersGetFlowLogStatusMediaTypesParam { contentType?: "application/json"; } -export type NetworkWatchersGetFlowLogStatusParameters = - NetworkWatchersGetFlowLogStatusQueryParam & - NetworkWatchersGetFlowLogStatusMediaTypesParam & - NetworkWatchersGetFlowLogStatusBodyParam & - RequestParameters; +export type NetworkWatchersGetFlowLogStatusParameters = NetworkWatchersGetFlowLogStatusQueryParam & + NetworkWatchersGetFlowLogStatusMediaTypesParam & + NetworkWatchersGetFlowLogStatusBodyParam & + RequestParameters; export interface NetworkWatchersCheckConnectivityBodyParam { /** Parameters that determine how the connectivity check will be performed. */ @@ -5508,8 +5371,7 @@ export interface PacketCapturesGetQueryParam { queryParameters: PacketCapturesGetQueryParamProperties; } -export type PacketCapturesGetParameters = PacketCapturesGetQueryParam & - RequestParameters; +export type PacketCapturesGetParameters = PacketCapturesGetQueryParam & RequestParameters; export interface PacketCapturesDeleteQueryParamProperties { /** Api Version */ @@ -5520,8 +5382,7 @@ export interface PacketCapturesDeleteQueryParam { queryParameters: PacketCapturesDeleteQueryParamProperties; } -export type PacketCapturesDeleteParameters = PacketCapturesDeleteQueryParam & - RequestParameters; +export type PacketCapturesDeleteParameters = PacketCapturesDeleteQueryParam & RequestParameters; export interface PacketCapturesStopQueryParamProperties { /** Api Version */ @@ -5532,8 +5393,7 @@ export interface PacketCapturesStopQueryParam { queryParameters: PacketCapturesStopQueryParamProperties; } -export type PacketCapturesStopParameters = PacketCapturesStopQueryParam & - RequestParameters; +export type PacketCapturesStopParameters = PacketCapturesStopQueryParam & RequestParameters; export interface PacketCapturesGetStatusQueryParamProperties { /** Api Version */ @@ -5544,8 +5404,8 @@ export interface PacketCapturesGetStatusQueryParam { queryParameters: PacketCapturesGetStatusQueryParamProperties; } -export type PacketCapturesGetStatusParameters = - PacketCapturesGetStatusQueryParam & RequestParameters; +export type PacketCapturesGetStatusParameters = PacketCapturesGetStatusQueryParam & + RequestParameters; export interface PacketCapturesListQueryParamProperties { /** Api Version */ @@ -5556,8 +5416,7 @@ export interface PacketCapturesListQueryParam { queryParameters: PacketCapturesListQueryParamProperties; } -export type PacketCapturesListParameters = PacketCapturesListQueryParam & - RequestParameters; +export type PacketCapturesListParameters = PacketCapturesListQueryParam & RequestParameters; export interface ConnectionMonitorsCreateOrUpdateBodyParam { /** Parameters that define the operation to create a connection monitor. */ @@ -5595,8 +5454,7 @@ export interface ConnectionMonitorsGetQueryParam { queryParameters: ConnectionMonitorsGetQueryParamProperties; } -export type ConnectionMonitorsGetParameters = ConnectionMonitorsGetQueryParam & - RequestParameters; +export type ConnectionMonitorsGetParameters = ConnectionMonitorsGetQueryParam & RequestParameters; export interface ConnectionMonitorsDeleteQueryParamProperties { /** Api Version */ @@ -5607,8 +5465,8 @@ export interface ConnectionMonitorsDeleteQueryParam { queryParameters: ConnectionMonitorsDeleteQueryParamProperties; } -export type ConnectionMonitorsDeleteParameters = - ConnectionMonitorsDeleteQueryParam & RequestParameters; +export type ConnectionMonitorsDeleteParameters = ConnectionMonitorsDeleteQueryParam & + RequestParameters; export interface ConnectionMonitorsUpdateTagsBodyParam { /** Parameters supplied to update connection monitor tags. */ @@ -5629,11 +5487,10 @@ export interface ConnectionMonitorsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ConnectionMonitorsUpdateTagsParameters = - ConnectionMonitorsUpdateTagsQueryParam & - ConnectionMonitorsUpdateTagsMediaTypesParam & - ConnectionMonitorsUpdateTagsBodyParam & - RequestParameters; +export type ConnectionMonitorsUpdateTagsParameters = ConnectionMonitorsUpdateTagsQueryParam & + ConnectionMonitorsUpdateTagsMediaTypesParam & + ConnectionMonitorsUpdateTagsBodyParam & + RequestParameters; export interface ConnectionMonitorsStopQueryParamProperties { /** Api Version */ @@ -5644,8 +5501,7 @@ export interface ConnectionMonitorsStopQueryParam { queryParameters: ConnectionMonitorsStopQueryParamProperties; } -export type ConnectionMonitorsStopParameters = - ConnectionMonitorsStopQueryParam & RequestParameters; +export type ConnectionMonitorsStopParameters = ConnectionMonitorsStopQueryParam & RequestParameters; export interface ConnectionMonitorsStartQueryParamProperties { /** Api Version */ @@ -5656,8 +5512,8 @@ export interface ConnectionMonitorsStartQueryParam { queryParameters: ConnectionMonitorsStartQueryParamProperties; } -export type ConnectionMonitorsStartParameters = - ConnectionMonitorsStartQueryParam & RequestParameters; +export type ConnectionMonitorsStartParameters = ConnectionMonitorsStartQueryParam & + RequestParameters; export interface ConnectionMonitorsQueryQueryParamProperties { /** Api Version */ @@ -5668,8 +5524,8 @@ export interface ConnectionMonitorsQueryQueryParam { queryParameters: ConnectionMonitorsQueryQueryParamProperties; } -export type ConnectionMonitorsQueryParameters = - ConnectionMonitorsQueryQueryParam & RequestParameters; +export type ConnectionMonitorsQueryParameters = ConnectionMonitorsQueryQueryParam & + RequestParameters; export interface ConnectionMonitorsListQueryParamProperties { /** Api Version */ @@ -5680,8 +5536,7 @@ export interface ConnectionMonitorsListQueryParam { queryParameters: ConnectionMonitorsListQueryParamProperties; } -export type ConnectionMonitorsListParameters = - ConnectionMonitorsListQueryParam & RequestParameters; +export type ConnectionMonitorsListParameters = ConnectionMonitorsListQueryParam & RequestParameters; export interface FlowLogsCreateOrUpdateBodyParam { /** Parameters that define the create or update flow log resource. */ @@ -5702,11 +5557,10 @@ export interface FlowLogsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type FlowLogsCreateOrUpdateParameters = - FlowLogsCreateOrUpdateQueryParam & - FlowLogsCreateOrUpdateMediaTypesParam & - FlowLogsCreateOrUpdateBodyParam & - RequestParameters; +export type FlowLogsCreateOrUpdateParameters = FlowLogsCreateOrUpdateQueryParam & + FlowLogsCreateOrUpdateMediaTypesParam & + FlowLogsCreateOrUpdateBodyParam & + RequestParameters; export interface FlowLogsUpdateTagsBodyParam { /** Parameters supplied to update flow log tags. */ @@ -5752,8 +5606,7 @@ export interface FlowLogsDeleteQueryParam { queryParameters: FlowLogsDeleteQueryParamProperties; } -export type FlowLogsDeleteParameters = FlowLogsDeleteQueryParam & - RequestParameters; +export type FlowLogsDeleteParameters = FlowLogsDeleteQueryParam & RequestParameters; export interface FlowLogsListQueryParamProperties { /** Api Version */ @@ -5775,8 +5628,7 @@ export interface OperationsListQueryParam { queryParameters: OperationsListQueryParamProperties; } -export type OperationsListParameters = OperationsListQueryParam & - RequestParameters; +export type OperationsListParameters = OperationsListQueryParam & RequestParameters; export interface PrivateEndpointsDeleteQueryParamProperties { /** Api Version */ @@ -5787,8 +5639,7 @@ export interface PrivateEndpointsDeleteQueryParam { queryParameters: PrivateEndpointsDeleteQueryParamProperties; } -export type PrivateEndpointsDeleteParameters = - PrivateEndpointsDeleteQueryParam & RequestParameters; +export type PrivateEndpointsDeleteParameters = PrivateEndpointsDeleteQueryParam & RequestParameters; export interface PrivateEndpointsGetQueryParamProperties { /** Api Version */ @@ -5801,8 +5652,7 @@ export interface PrivateEndpointsGetQueryParam { queryParameters: PrivateEndpointsGetQueryParamProperties; } -export type PrivateEndpointsGetParameters = PrivateEndpointsGetQueryParam & - RequestParameters; +export type PrivateEndpointsGetParameters = PrivateEndpointsGetQueryParam & RequestParameters; export interface PrivateEndpointsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update private endpoint operation. */ @@ -5823,11 +5673,10 @@ export interface PrivateEndpointsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type PrivateEndpointsCreateOrUpdateParameters = - PrivateEndpointsCreateOrUpdateQueryParam & - PrivateEndpointsCreateOrUpdateMediaTypesParam & - PrivateEndpointsCreateOrUpdateBodyParam & - RequestParameters; +export type PrivateEndpointsCreateOrUpdateParameters = PrivateEndpointsCreateOrUpdateQueryParam & + PrivateEndpointsCreateOrUpdateMediaTypesParam & + PrivateEndpointsCreateOrUpdateBodyParam & + RequestParameters; export interface PrivateEndpointsListQueryParamProperties { /** Api Version */ @@ -5838,8 +5687,7 @@ export interface PrivateEndpointsListQueryParam { queryParameters: PrivateEndpointsListQueryParamProperties; } -export type PrivateEndpointsListParameters = PrivateEndpointsListQueryParam & - RequestParameters; +export type PrivateEndpointsListParameters = PrivateEndpointsListQueryParam & RequestParameters; export interface PrivateEndpointsListBySubscriptionQueryParamProperties { /** Api Version */ @@ -5875,8 +5723,7 @@ export interface AvailablePrivateEndpointTypesListByResourceGroupQueryParam { } export type AvailablePrivateEndpointTypesListByResourceGroupParameters = - AvailablePrivateEndpointTypesListByResourceGroupQueryParam & - RequestParameters; + AvailablePrivateEndpointTypesListByResourceGroupQueryParam & RequestParameters; export interface PrivateDnsZoneGroupsDeleteQueryParamProperties { /** Api Version */ @@ -5887,8 +5734,8 @@ export interface PrivateDnsZoneGroupsDeleteQueryParam { queryParameters: PrivateDnsZoneGroupsDeleteQueryParamProperties; } -export type PrivateDnsZoneGroupsDeleteParameters = - PrivateDnsZoneGroupsDeleteQueryParam & RequestParameters; +export type PrivateDnsZoneGroupsDeleteParameters = PrivateDnsZoneGroupsDeleteQueryParam & + RequestParameters; export interface PrivateDnsZoneGroupsGetQueryParamProperties { /** Api Version */ @@ -5899,8 +5746,8 @@ export interface PrivateDnsZoneGroupsGetQueryParam { queryParameters: PrivateDnsZoneGroupsGetQueryParamProperties; } -export type PrivateDnsZoneGroupsGetParameters = - PrivateDnsZoneGroupsGetQueryParam & RequestParameters; +export type PrivateDnsZoneGroupsGetParameters = PrivateDnsZoneGroupsGetQueryParam & + RequestParameters; export interface PrivateDnsZoneGroupsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update private dns zone group operation. */ @@ -5936,8 +5783,8 @@ export interface PrivateDnsZoneGroupsListQueryParam { queryParameters: PrivateDnsZoneGroupsListQueryParamProperties; } -export type PrivateDnsZoneGroupsListParameters = - PrivateDnsZoneGroupsListQueryParam & RequestParameters; +export type PrivateDnsZoneGroupsListParameters = PrivateDnsZoneGroupsListQueryParam & + RequestParameters; export interface PrivateLinkServicesDeleteQueryParamProperties { /** Api Version */ @@ -5948,8 +5795,8 @@ export interface PrivateLinkServicesDeleteQueryParam { queryParameters: PrivateLinkServicesDeleteQueryParamProperties; } -export type PrivateLinkServicesDeleteParameters = - PrivateLinkServicesDeleteQueryParam & RequestParameters; +export type PrivateLinkServicesDeleteParameters = PrivateLinkServicesDeleteQueryParam & + RequestParameters; export interface PrivateLinkServicesGetQueryParamProperties { /** Api Version */ @@ -5962,8 +5809,7 @@ export interface PrivateLinkServicesGetQueryParam { queryParameters: PrivateLinkServicesGetQueryParamProperties; } -export type PrivateLinkServicesGetParameters = - PrivateLinkServicesGetQueryParam & RequestParameters; +export type PrivateLinkServicesGetParameters = PrivateLinkServicesGetQueryParam & RequestParameters; export interface PrivateLinkServicesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update private link service operation. */ @@ -5999,8 +5845,8 @@ export interface PrivateLinkServicesListQueryParam { queryParameters: PrivateLinkServicesListQueryParamProperties; } -export type PrivateLinkServicesListParameters = - PrivateLinkServicesListQueryParam & RequestParameters; +export type PrivateLinkServicesListParameters = PrivateLinkServicesListQueryParam & + RequestParameters; export interface PrivateLinkServicesListBySubscriptionQueryParamProperties { /** Api Version */ @@ -6063,8 +5909,7 @@ export interface PrivateLinkServicesDeletePrivateEndpointConnectionQueryParam { } export type PrivateLinkServicesDeletePrivateEndpointConnectionParameters = - PrivateLinkServicesDeletePrivateEndpointConnectionQueryParam & - RequestParameters; + PrivateLinkServicesDeletePrivateEndpointConnectionQueryParam & RequestParameters; export interface PrivateLinkServicesListPrivateEndpointConnectionsQueryParamProperties { /** Api Version */ @@ -6076,8 +5921,7 @@ export interface PrivateLinkServicesListPrivateEndpointConnectionsQueryParam { } export type PrivateLinkServicesListPrivateEndpointConnectionsParameters = - PrivateLinkServicesListPrivateEndpointConnectionsQueryParam & - RequestParameters; + PrivateLinkServicesListPrivateEndpointConnectionsQueryParam & RequestParameters; export interface PrivateLinkServicesCheckPrivateLinkServiceVisibilityBodyParam { /** The request body of CheckPrivateLinkService API call. */ @@ -6139,8 +5983,7 @@ export interface PrivateLinkServicesListAutoApprovedPrivateLinkServicesQueryPara } export type PrivateLinkServicesListAutoApprovedPrivateLinkServicesParameters = - PrivateLinkServicesListAutoApprovedPrivateLinkServicesQueryParam & - RequestParameters; + PrivateLinkServicesListAutoApprovedPrivateLinkServicesQueryParam & RequestParameters; export interface PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupQueryParamProperties { /** Api Version */ @@ -6164,8 +6007,7 @@ export interface PublicIPPrefixesDeleteQueryParam { queryParameters: PublicIPPrefixesDeleteQueryParamProperties; } -export type PublicIPPrefixesDeleteParameters = - PublicIPPrefixesDeleteQueryParam & RequestParameters; +export type PublicIPPrefixesDeleteParameters = PublicIPPrefixesDeleteQueryParam & RequestParameters; export interface PublicIPPrefixesGetQueryParamProperties { /** Api Version */ @@ -6178,8 +6020,7 @@ export interface PublicIPPrefixesGetQueryParam { queryParameters: PublicIPPrefixesGetQueryParamProperties; } -export type PublicIPPrefixesGetParameters = PublicIPPrefixesGetQueryParam & - RequestParameters; +export type PublicIPPrefixesGetParameters = PublicIPPrefixesGetQueryParam & RequestParameters; export interface PublicIPPrefixesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update public IP prefix operation. */ @@ -6200,11 +6041,10 @@ export interface PublicIPPrefixesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type PublicIPPrefixesCreateOrUpdateParameters = - PublicIPPrefixesCreateOrUpdateQueryParam & - PublicIPPrefixesCreateOrUpdateMediaTypesParam & - PublicIPPrefixesCreateOrUpdateBodyParam & - RequestParameters; +export type PublicIPPrefixesCreateOrUpdateParameters = PublicIPPrefixesCreateOrUpdateQueryParam & + PublicIPPrefixesCreateOrUpdateMediaTypesParam & + PublicIPPrefixesCreateOrUpdateBodyParam & + RequestParameters; export interface PublicIPPrefixesUpdateTagsBodyParam { /** Parameters supplied to update public IP prefix tags. */ @@ -6225,11 +6065,10 @@ export interface PublicIPPrefixesUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type PublicIPPrefixesUpdateTagsParameters = - PublicIPPrefixesUpdateTagsQueryParam & - PublicIPPrefixesUpdateTagsMediaTypesParam & - PublicIPPrefixesUpdateTagsBodyParam & - RequestParameters; +export type PublicIPPrefixesUpdateTagsParameters = PublicIPPrefixesUpdateTagsQueryParam & + PublicIPPrefixesUpdateTagsMediaTypesParam & + PublicIPPrefixesUpdateTagsBodyParam & + RequestParameters; export interface PublicIPPrefixesListAllQueryParamProperties { /** Api Version */ @@ -6240,8 +6079,8 @@ export interface PublicIPPrefixesListAllQueryParam { queryParameters: PublicIPPrefixesListAllQueryParamProperties; } -export type PublicIPPrefixesListAllParameters = - PublicIPPrefixesListAllQueryParam & RequestParameters; +export type PublicIPPrefixesListAllParameters = PublicIPPrefixesListAllQueryParam & + RequestParameters; export interface PublicIPPrefixesListQueryParamProperties { /** Api Version */ @@ -6252,8 +6091,7 @@ export interface PublicIPPrefixesListQueryParam { queryParameters: PublicIPPrefixesListQueryParamProperties; } -export type PublicIPPrefixesListParameters = PublicIPPrefixesListQueryParam & - RequestParameters; +export type PublicIPPrefixesListParameters = PublicIPPrefixesListQueryParam & RequestParameters; export interface RouteFiltersDeleteQueryParamProperties { /** Api Version */ @@ -6264,8 +6102,7 @@ export interface RouteFiltersDeleteQueryParam { queryParameters: RouteFiltersDeleteQueryParamProperties; } -export type RouteFiltersDeleteParameters = RouteFiltersDeleteQueryParam & - RequestParameters; +export type RouteFiltersDeleteParameters = RouteFiltersDeleteQueryParam & RequestParameters; export interface RouteFiltersGetQueryParamProperties { /** Api Version */ @@ -6278,8 +6115,7 @@ export interface RouteFiltersGetQueryParam { queryParameters: RouteFiltersGetQueryParamProperties; } -export type RouteFiltersGetParameters = RouteFiltersGetQueryParam & - RequestParameters; +export type RouteFiltersGetParameters = RouteFiltersGetQueryParam & RequestParameters; export interface RouteFiltersCreateOrUpdateBodyParam { /** Parameters supplied to the create or update route filter operation. */ @@ -6300,11 +6136,10 @@ export interface RouteFiltersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RouteFiltersCreateOrUpdateParameters = - RouteFiltersCreateOrUpdateQueryParam & - RouteFiltersCreateOrUpdateMediaTypesParam & - RouteFiltersCreateOrUpdateBodyParam & - RequestParameters; +export type RouteFiltersCreateOrUpdateParameters = RouteFiltersCreateOrUpdateQueryParam & + RouteFiltersCreateOrUpdateMediaTypesParam & + RouteFiltersCreateOrUpdateBodyParam & + RequestParameters; export interface RouteFiltersUpdateTagsBodyParam { /** Parameters supplied to update route filter tags. */ @@ -6325,11 +6160,10 @@ export interface RouteFiltersUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type RouteFiltersUpdateTagsParameters = - RouteFiltersUpdateTagsQueryParam & - RouteFiltersUpdateTagsMediaTypesParam & - RouteFiltersUpdateTagsBodyParam & - RequestParameters; +export type RouteFiltersUpdateTagsParameters = RouteFiltersUpdateTagsQueryParam & + RouteFiltersUpdateTagsMediaTypesParam & + RouteFiltersUpdateTagsBodyParam & + RequestParameters; export interface RouteFiltersListByResourceGroupQueryParamProperties { /** Api Version */ @@ -6340,8 +6174,8 @@ export interface RouteFiltersListByResourceGroupQueryParam { queryParameters: RouteFiltersListByResourceGroupQueryParamProperties; } -export type RouteFiltersListByResourceGroupParameters = - RouteFiltersListByResourceGroupQueryParam & RequestParameters; +export type RouteFiltersListByResourceGroupParameters = RouteFiltersListByResourceGroupQueryParam & + RequestParameters; export interface RouteFiltersListQueryParamProperties { /** Api Version */ @@ -6352,8 +6186,7 @@ export interface RouteFiltersListQueryParam { queryParameters: RouteFiltersListQueryParamProperties; } -export type RouteFiltersListParameters = RouteFiltersListQueryParam & - RequestParameters; +export type RouteFiltersListParameters = RouteFiltersListQueryParam & RequestParameters; export interface RouteFilterRulesDeleteQueryParamProperties { /** Api Version */ @@ -6364,8 +6197,7 @@ export interface RouteFilterRulesDeleteQueryParam { queryParameters: RouteFilterRulesDeleteQueryParamProperties; } -export type RouteFilterRulesDeleteParameters = - RouteFilterRulesDeleteQueryParam & RequestParameters; +export type RouteFilterRulesDeleteParameters = RouteFilterRulesDeleteQueryParam & RequestParameters; export interface RouteFilterRulesGetQueryParamProperties { /** Api Version */ @@ -6376,8 +6208,7 @@ export interface RouteFilterRulesGetQueryParam { queryParameters: RouteFilterRulesGetQueryParamProperties; } -export type RouteFilterRulesGetParameters = RouteFilterRulesGetQueryParam & - RequestParameters; +export type RouteFilterRulesGetParameters = RouteFilterRulesGetQueryParam & RequestParameters; export interface RouteFilterRulesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update route filter rule operation. */ @@ -6398,11 +6229,10 @@ export interface RouteFilterRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RouteFilterRulesCreateOrUpdateParameters = - RouteFilterRulesCreateOrUpdateQueryParam & - RouteFilterRulesCreateOrUpdateMediaTypesParam & - RouteFilterRulesCreateOrUpdateBodyParam & - RequestParameters; +export type RouteFilterRulesCreateOrUpdateParameters = RouteFilterRulesCreateOrUpdateQueryParam & + RouteFilterRulesCreateOrUpdateMediaTypesParam & + RouteFilterRulesCreateOrUpdateBodyParam & + RequestParameters; export interface RouteFilterRulesListByRouteFilterQueryParamProperties { /** Api Version */ @@ -6425,8 +6255,7 @@ export interface RouteTablesDeleteQueryParam { queryParameters: RouteTablesDeleteQueryParamProperties; } -export type RouteTablesDeleteParameters = RouteTablesDeleteQueryParam & - RequestParameters; +export type RouteTablesDeleteParameters = RouteTablesDeleteQueryParam & RequestParameters; export interface RouteTablesGetQueryParamProperties { /** Api Version */ @@ -6439,8 +6268,7 @@ export interface RouteTablesGetQueryParam { queryParameters: RouteTablesGetQueryParamProperties; } -export type RouteTablesGetParameters = RouteTablesGetQueryParam & - RequestParameters; +export type RouteTablesGetParameters = RouteTablesGetQueryParam & RequestParameters; export interface RouteTablesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update route table operation. */ @@ -6461,11 +6289,10 @@ export interface RouteTablesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RouteTablesCreateOrUpdateParameters = - RouteTablesCreateOrUpdateQueryParam & - RouteTablesCreateOrUpdateMediaTypesParam & - RouteTablesCreateOrUpdateBodyParam & - RequestParameters; +export type RouteTablesCreateOrUpdateParameters = RouteTablesCreateOrUpdateQueryParam & + RouteTablesCreateOrUpdateMediaTypesParam & + RouteTablesCreateOrUpdateBodyParam & + RequestParameters; export interface RouteTablesUpdateTagsBodyParam { /** Parameters supplied to update route table tags. */ @@ -6500,8 +6327,7 @@ export interface RouteTablesListQueryParam { queryParameters: RouteTablesListQueryParamProperties; } -export type RouteTablesListParameters = RouteTablesListQueryParam & - RequestParameters; +export type RouteTablesListParameters = RouteTablesListQueryParam & RequestParameters; export interface RouteTablesListAllQueryParamProperties { /** Api Version */ @@ -6512,8 +6338,7 @@ export interface RouteTablesListAllQueryParam { queryParameters: RouteTablesListAllQueryParamProperties; } -export type RouteTablesListAllParameters = RouteTablesListAllQueryParam & - RequestParameters; +export type RouteTablesListAllParameters = RouteTablesListAllQueryParam & RequestParameters; export interface RoutesDeleteQueryParamProperties { /** Api Version */ @@ -6581,8 +6406,8 @@ export interface SecurityPartnerProvidersDeleteQueryParam { queryParameters: SecurityPartnerProvidersDeleteQueryParamProperties; } -export type SecurityPartnerProvidersDeleteParameters = - SecurityPartnerProvidersDeleteQueryParam & RequestParameters; +export type SecurityPartnerProvidersDeleteParameters = SecurityPartnerProvidersDeleteQueryParam & + RequestParameters; export interface SecurityPartnerProvidersGetQueryParamProperties { /** Api Version */ @@ -6593,8 +6418,8 @@ export interface SecurityPartnerProvidersGetQueryParam { queryParameters: SecurityPartnerProvidersGetQueryParamProperties; } -export type SecurityPartnerProvidersGetParameters = - SecurityPartnerProvidersGetQueryParam & RequestParameters; +export type SecurityPartnerProvidersGetParameters = SecurityPartnerProvidersGetQueryParam & + RequestParameters; export interface SecurityPartnerProvidersCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Security Partner Provider operation. */ @@ -6667,8 +6492,8 @@ export interface SecurityPartnerProvidersListQueryParam { queryParameters: SecurityPartnerProvidersListQueryParamProperties; } -export type SecurityPartnerProvidersListParameters = - SecurityPartnerProvidersListQueryParam & RequestParameters; +export type SecurityPartnerProvidersListParameters = SecurityPartnerProvidersListQueryParam & + RequestParameters; export interface BgpServiceCommunitiesListQueryParamProperties { /** Api Version */ @@ -6679,8 +6504,8 @@ export interface BgpServiceCommunitiesListQueryParam { queryParameters: BgpServiceCommunitiesListQueryParamProperties; } -export type BgpServiceCommunitiesListParameters = - BgpServiceCommunitiesListQueryParam & RequestParameters; +export type BgpServiceCommunitiesListParameters = BgpServiceCommunitiesListQueryParam & + RequestParameters; export interface ServiceEndpointPoliciesDeleteQueryParamProperties { /** Api Version */ @@ -6691,8 +6516,8 @@ export interface ServiceEndpointPoliciesDeleteQueryParam { queryParameters: ServiceEndpointPoliciesDeleteQueryParamProperties; } -export type ServiceEndpointPoliciesDeleteParameters = - ServiceEndpointPoliciesDeleteQueryParam & RequestParameters; +export type ServiceEndpointPoliciesDeleteParameters = ServiceEndpointPoliciesDeleteQueryParam & + RequestParameters; export interface ServiceEndpointPoliciesGetQueryParamProperties { /** Api Version */ @@ -6705,8 +6530,8 @@ export interface ServiceEndpointPoliciesGetQueryParam { queryParameters: ServiceEndpointPoliciesGetQueryParamProperties; } -export type ServiceEndpointPoliciesGetParameters = - ServiceEndpointPoliciesGetQueryParam & RequestParameters; +export type ServiceEndpointPoliciesGetParameters = ServiceEndpointPoliciesGetQueryParam & + RequestParameters; export interface ServiceEndpointPoliciesCreateOrUpdateBodyParam { /** Parameters supplied to the create or update service endpoint policy operation. */ @@ -6767,8 +6592,8 @@ export interface ServiceEndpointPoliciesListQueryParam { queryParameters: ServiceEndpointPoliciesListQueryParamProperties; } -export type ServiceEndpointPoliciesListParameters = - ServiceEndpointPoliciesListQueryParam & RequestParameters; +export type ServiceEndpointPoliciesListParameters = ServiceEndpointPoliciesListQueryParam & + RequestParameters; export interface ServiceEndpointPoliciesListByResourceGroupQueryParamProperties { /** Api Version */ @@ -6841,8 +6666,7 @@ export interface ServiceEndpointPolicyDefinitionsListByResourceGroupQueryParam { } export type ServiceEndpointPolicyDefinitionsListByResourceGroupParameters = - ServiceEndpointPolicyDefinitionsListByResourceGroupQueryParam & - RequestParameters; + ServiceEndpointPolicyDefinitionsListByResourceGroupQueryParam & RequestParameters; export interface ServiceTagsListQueryParamProperties { /** Api Version */ @@ -6853,8 +6677,7 @@ export interface ServiceTagsListQueryParam { queryParameters: ServiceTagsListQueryParamProperties; } -export type ServiceTagsListParameters = ServiceTagsListQueryParam & - RequestParameters; +export type ServiceTagsListParameters = ServiceTagsListQueryParam & RequestParameters; export interface ServiceTagInformationListQueryParamProperties { /** Api Version */ @@ -6869,8 +6692,8 @@ export interface ServiceTagInformationListQueryParam { queryParameters: ServiceTagInformationListQueryParamProperties; } -export type ServiceTagInformationListParameters = - ServiceTagInformationListQueryParam & RequestParameters; +export type ServiceTagInformationListParameters = ServiceTagInformationListQueryParam & + RequestParameters; export interface UsagesListQueryParamProperties { /** Api Version */ @@ -6892,8 +6715,7 @@ export interface VirtualNetworksDeleteQueryParam { queryParameters: VirtualNetworksDeleteQueryParamProperties; } -export type VirtualNetworksDeleteParameters = VirtualNetworksDeleteQueryParam & - RequestParameters; +export type VirtualNetworksDeleteParameters = VirtualNetworksDeleteQueryParam & RequestParameters; export interface VirtualNetworksGetQueryParamProperties { /** Api Version */ @@ -6906,8 +6728,7 @@ export interface VirtualNetworksGetQueryParam { queryParameters: VirtualNetworksGetQueryParamProperties; } -export type VirtualNetworksGetParameters = VirtualNetworksGetQueryParam & - RequestParameters; +export type VirtualNetworksGetParameters = VirtualNetworksGetQueryParam & RequestParameters; export interface VirtualNetworksCreateOrUpdateBodyParam { /** Parameters supplied to the create or update virtual network operation. */ @@ -6928,11 +6749,10 @@ export interface VirtualNetworksCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VirtualNetworksCreateOrUpdateParameters = - VirtualNetworksCreateOrUpdateQueryParam & - VirtualNetworksCreateOrUpdateMediaTypesParam & - VirtualNetworksCreateOrUpdateBodyParam & - RequestParameters; +export type VirtualNetworksCreateOrUpdateParameters = VirtualNetworksCreateOrUpdateQueryParam & + VirtualNetworksCreateOrUpdateMediaTypesParam & + VirtualNetworksCreateOrUpdateBodyParam & + RequestParameters; export interface VirtualNetworksUpdateTagsBodyParam { /** Parameters supplied to update virtual network tags. */ @@ -6953,11 +6773,10 @@ export interface VirtualNetworksUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type VirtualNetworksUpdateTagsParameters = - VirtualNetworksUpdateTagsQueryParam & - VirtualNetworksUpdateTagsMediaTypesParam & - VirtualNetworksUpdateTagsBodyParam & - RequestParameters; +export type VirtualNetworksUpdateTagsParameters = VirtualNetworksUpdateTagsQueryParam & + VirtualNetworksUpdateTagsMediaTypesParam & + VirtualNetworksUpdateTagsBodyParam & + RequestParameters; export interface VirtualNetworksListAllQueryParamProperties { /** Api Version */ @@ -6968,8 +6787,7 @@ export interface VirtualNetworksListAllQueryParam { queryParameters: VirtualNetworksListAllQueryParamProperties; } -export type VirtualNetworksListAllParameters = - VirtualNetworksListAllQueryParam & RequestParameters; +export type VirtualNetworksListAllParameters = VirtualNetworksListAllQueryParam & RequestParameters; export interface VirtualNetworksListQueryParamProperties { /** Api Version */ @@ -6980,8 +6798,7 @@ export interface VirtualNetworksListQueryParam { queryParameters: VirtualNetworksListQueryParamProperties; } -export type VirtualNetworksListParameters = VirtualNetworksListQueryParam & - RequestParameters; +export type VirtualNetworksListParameters = VirtualNetworksListQueryParam & RequestParameters; export interface VirtualNetworksCheckIPAddressAvailabilityQueryParamProperties { /** The private IP address to be verified. */ @@ -7006,8 +6823,8 @@ export interface VirtualNetworksListUsageQueryParam { queryParameters: VirtualNetworksListUsageQueryParamProperties; } -export type VirtualNetworksListUsageParameters = - VirtualNetworksListUsageQueryParam & RequestParameters; +export type VirtualNetworksListUsageParameters = VirtualNetworksListUsageQueryParam & + RequestParameters; export interface VirtualNetworksListDdosProtectionStatusQueryParamProperties { /** The max number of ip addresses to return. */ @@ -7034,8 +6851,7 @@ export interface SubnetsDeleteQueryParam { queryParameters: SubnetsDeleteQueryParamProperties; } -export type SubnetsDeleteParameters = SubnetsDeleteQueryParam & - RequestParameters; +export type SubnetsDeleteParameters = SubnetsDeleteQueryParam & RequestParameters; export interface SubnetsGetQueryParamProperties { /** Api Version */ @@ -7093,11 +6909,10 @@ export interface SubnetsPrepareNetworkPoliciesMediaTypesParam { contentType?: "application/json"; } -export type SubnetsPrepareNetworkPoliciesParameters = - SubnetsPrepareNetworkPoliciesQueryParam & - SubnetsPrepareNetworkPoliciesMediaTypesParam & - SubnetsPrepareNetworkPoliciesBodyParam & - RequestParameters; +export type SubnetsPrepareNetworkPoliciesParameters = SubnetsPrepareNetworkPoliciesQueryParam & + SubnetsPrepareNetworkPoliciesMediaTypesParam & + SubnetsPrepareNetworkPoliciesBodyParam & + RequestParameters; export interface SubnetsUnprepareNetworkPoliciesBodyParam { /** Parameters supplied to unprepare subnet to remove network intent policies. */ @@ -7118,11 +6933,10 @@ export interface SubnetsUnprepareNetworkPoliciesMediaTypesParam { contentType?: "application/json"; } -export type SubnetsUnprepareNetworkPoliciesParameters = - SubnetsUnprepareNetworkPoliciesQueryParam & - SubnetsUnprepareNetworkPoliciesMediaTypesParam & - SubnetsUnprepareNetworkPoliciesBodyParam & - RequestParameters; +export type SubnetsUnprepareNetworkPoliciesParameters = SubnetsUnprepareNetworkPoliciesQueryParam & + SubnetsUnprepareNetworkPoliciesMediaTypesParam & + SubnetsUnprepareNetworkPoliciesBodyParam & + RequestParameters; export interface SubnetsListQueryParamProperties { /** Api Version */ @@ -7144,8 +6958,8 @@ export interface ResourceNavigationLinksListQueryParam { queryParameters: ResourceNavigationLinksListQueryParamProperties; } -export type ResourceNavigationLinksListParameters = - ResourceNavigationLinksListQueryParam & RequestParameters; +export type ResourceNavigationLinksListParameters = ResourceNavigationLinksListQueryParam & + RequestParameters; export interface ServiceAssociationLinksListQueryParamProperties { /** Api Version */ @@ -7156,8 +6970,8 @@ export interface ServiceAssociationLinksListQueryParam { queryParameters: ServiceAssociationLinksListQueryParamProperties; } -export type ServiceAssociationLinksListParameters = - ServiceAssociationLinksListQueryParam & RequestParameters; +export type ServiceAssociationLinksListParameters = ServiceAssociationLinksListQueryParam & + RequestParameters; export interface VirtualNetworkPeeringsDeleteQueryParamProperties { /** Api Version */ @@ -7168,8 +6982,8 @@ export interface VirtualNetworkPeeringsDeleteQueryParam { queryParameters: VirtualNetworkPeeringsDeleteQueryParamProperties; } -export type VirtualNetworkPeeringsDeleteParameters = - VirtualNetworkPeeringsDeleteQueryParam & RequestParameters; +export type VirtualNetworkPeeringsDeleteParameters = VirtualNetworkPeeringsDeleteQueryParam & + RequestParameters; export interface VirtualNetworkPeeringsGetQueryParamProperties { /** Api Version */ @@ -7180,8 +6994,8 @@ export interface VirtualNetworkPeeringsGetQueryParam { queryParameters: VirtualNetworkPeeringsGetQueryParamProperties; } -export type VirtualNetworkPeeringsGetParameters = - VirtualNetworkPeeringsGetQueryParam & RequestParameters; +export type VirtualNetworkPeeringsGetParameters = VirtualNetworkPeeringsGetQueryParam & + RequestParameters; export interface VirtualNetworkPeeringsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update virtual network peering operation. */ @@ -7219,8 +7033,8 @@ export interface VirtualNetworkPeeringsListQueryParam { queryParameters: VirtualNetworkPeeringsListQueryParamProperties; } -export type VirtualNetworkPeeringsListParameters = - VirtualNetworkPeeringsListQueryParam & RequestParameters; +export type VirtualNetworkPeeringsListParameters = VirtualNetworkPeeringsListQueryParam & + RequestParameters; export interface VirtualNetworkGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to create or update virtual network gateway operation. */ @@ -7256,8 +7070,8 @@ export interface VirtualNetworkGatewaysGetQueryParam { queryParameters: VirtualNetworkGatewaysGetQueryParamProperties; } -export type VirtualNetworkGatewaysGetParameters = - VirtualNetworkGatewaysGetQueryParam & RequestParameters; +export type VirtualNetworkGatewaysGetParameters = VirtualNetworkGatewaysGetQueryParam & + RequestParameters; export interface VirtualNetworkGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -7268,8 +7082,8 @@ export interface VirtualNetworkGatewaysDeleteQueryParam { queryParameters: VirtualNetworkGatewaysDeleteQueryParamProperties; } -export type VirtualNetworkGatewaysDeleteParameters = - VirtualNetworkGatewaysDeleteQueryParam & RequestParameters; +export type VirtualNetworkGatewaysDeleteParameters = VirtualNetworkGatewaysDeleteQueryParam & + RequestParameters; export interface VirtualNetworkGatewaysUpdateTagsBodyParam { /** Parameters supplied to update virtual network gateway tags. */ @@ -7305,8 +7119,8 @@ export interface VirtualNetworkGatewaysListQueryParam { queryParameters: VirtualNetworkGatewaysListQueryParamProperties; } -export type VirtualNetworkGatewaysListParameters = - VirtualNetworkGatewaysListQueryParam & RequestParameters; +export type VirtualNetworkGatewaysListParameters = VirtualNetworkGatewaysListQueryParam & + RequestParameters; export interface VirtualNetworkGatewaysListConnectionsQueryParamProperties { /** Api Version */ @@ -7331,8 +7145,8 @@ export interface VirtualNetworkGatewaysResetQueryParam { queryParameters: VirtualNetworkGatewaysResetQueryParamProperties; } -export type VirtualNetworkGatewaysResetParameters = - VirtualNetworkGatewaysResetQueryParam & RequestParameters; +export type VirtualNetworkGatewaysResetParameters = VirtualNetworkGatewaysResetQueryParam & + RequestParameters; export interface VirtualNetworkGatewaysResetVpnClientSharedKeyQueryParamProperties { /** Api Version */ @@ -7495,8 +7309,7 @@ export interface VirtualNetworkGatewaysGetVpnclientIpsecParametersQueryParam { } export type VirtualNetworkGatewaysGetVpnclientIpsecParametersParameters = - VirtualNetworkGatewaysGetVpnclientIpsecParametersQueryParam & - RequestParameters; + VirtualNetworkGatewaysGetVpnclientIpsecParametersQueryParam & RequestParameters; export interface VirtualNetworkGatewaysVpnDeviceConfigurationScriptBodyParam { /** Parameters supplied to the generate vpn device script operation. */ @@ -7583,8 +7396,7 @@ export interface VirtualNetworkGatewaysGetVpnclientConnectionHealthQueryParam { } export type VirtualNetworkGatewaysGetVpnclientConnectionHealthParameters = - VirtualNetworkGatewaysGetVpnclientConnectionHealthQueryParam & - RequestParameters; + VirtualNetworkGatewaysGetVpnclientConnectionHealthQueryParam & RequestParameters; export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsBodyParam { /** The parameters are supplied to disconnect vpn connections. */ @@ -7867,8 +7679,8 @@ export interface LocalNetworkGatewaysGetQueryParam { queryParameters: LocalNetworkGatewaysGetQueryParamProperties; } -export type LocalNetworkGatewaysGetParameters = - LocalNetworkGatewaysGetQueryParam & RequestParameters; +export type LocalNetworkGatewaysGetParameters = LocalNetworkGatewaysGetQueryParam & + RequestParameters; export interface LocalNetworkGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -7879,8 +7691,8 @@ export interface LocalNetworkGatewaysDeleteQueryParam { queryParameters: LocalNetworkGatewaysDeleteQueryParamProperties; } -export type LocalNetworkGatewaysDeleteParameters = - LocalNetworkGatewaysDeleteQueryParam & RequestParameters; +export type LocalNetworkGatewaysDeleteParameters = LocalNetworkGatewaysDeleteQueryParam & + RequestParameters; export interface LocalNetworkGatewaysUpdateTagsBodyParam { /** Parameters supplied to update local network gateway tags. */ @@ -7901,11 +7713,10 @@ export interface LocalNetworkGatewaysUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type LocalNetworkGatewaysUpdateTagsParameters = - LocalNetworkGatewaysUpdateTagsQueryParam & - LocalNetworkGatewaysUpdateTagsMediaTypesParam & - LocalNetworkGatewaysUpdateTagsBodyParam & - RequestParameters; +export type LocalNetworkGatewaysUpdateTagsParameters = LocalNetworkGatewaysUpdateTagsQueryParam & + LocalNetworkGatewaysUpdateTagsMediaTypesParam & + LocalNetworkGatewaysUpdateTagsBodyParam & + RequestParameters; export interface LocalNetworkGatewaysListQueryParamProperties { /** Api Version */ @@ -7916,8 +7727,8 @@ export interface LocalNetworkGatewaysListQueryParam { queryParameters: LocalNetworkGatewaysListQueryParamProperties; } -export type LocalNetworkGatewaysListParameters = - LocalNetworkGatewaysListQueryParam & RequestParameters; +export type LocalNetworkGatewaysListParameters = LocalNetworkGatewaysListQueryParam & + RequestParameters; export interface VirtualNetworkGatewayNatRulesGetQueryParamProperties { /** Api Version */ @@ -7978,8 +7789,7 @@ export interface VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayQueryPa } export type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayParameters = - VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayQueryParam & - RequestParameters; + VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayQueryParam & RequestParameters; export interface VirtualNetworkTapsDeleteQueryParamProperties { /** Api Version */ @@ -7990,8 +7800,8 @@ export interface VirtualNetworkTapsDeleteQueryParam { queryParameters: VirtualNetworkTapsDeleteQueryParamProperties; } -export type VirtualNetworkTapsDeleteParameters = - VirtualNetworkTapsDeleteQueryParam & RequestParameters; +export type VirtualNetworkTapsDeleteParameters = VirtualNetworkTapsDeleteQueryParam & + RequestParameters; export interface VirtualNetworkTapsGetQueryParamProperties { /** Api Version */ @@ -8002,8 +7812,7 @@ export interface VirtualNetworkTapsGetQueryParam { queryParameters: VirtualNetworkTapsGetQueryParamProperties; } -export type VirtualNetworkTapsGetParameters = VirtualNetworkTapsGetQueryParam & - RequestParameters; +export type VirtualNetworkTapsGetParameters = VirtualNetworkTapsGetQueryParam & RequestParameters; export interface VirtualNetworkTapsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update virtual network tap operation. */ @@ -8049,11 +7858,10 @@ export interface VirtualNetworkTapsUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type VirtualNetworkTapsUpdateTagsParameters = - VirtualNetworkTapsUpdateTagsQueryParam & - VirtualNetworkTapsUpdateTagsMediaTypesParam & - VirtualNetworkTapsUpdateTagsBodyParam & - RequestParameters; +export type VirtualNetworkTapsUpdateTagsParameters = VirtualNetworkTapsUpdateTagsQueryParam & + VirtualNetworkTapsUpdateTagsMediaTypesParam & + VirtualNetworkTapsUpdateTagsBodyParam & + RequestParameters; export interface VirtualNetworkTapsListAllQueryParamProperties { /** Api Version */ @@ -8064,8 +7872,8 @@ export interface VirtualNetworkTapsListAllQueryParam { queryParameters: VirtualNetworkTapsListAllQueryParamProperties; } -export type VirtualNetworkTapsListAllParameters = - VirtualNetworkTapsListAllQueryParam & RequestParameters; +export type VirtualNetworkTapsListAllParameters = VirtualNetworkTapsListAllQueryParam & + RequestParameters; export interface VirtualNetworkTapsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8088,8 +7896,7 @@ export interface VirtualRoutersDeleteQueryParam { queryParameters: VirtualRoutersDeleteQueryParamProperties; } -export type VirtualRoutersDeleteParameters = VirtualRoutersDeleteQueryParam & - RequestParameters; +export type VirtualRoutersDeleteParameters = VirtualRoutersDeleteQueryParam & RequestParameters; export interface VirtualRoutersGetQueryParamProperties { /** Api Version */ @@ -8102,8 +7909,7 @@ export interface VirtualRoutersGetQueryParam { queryParameters: VirtualRoutersGetQueryParamProperties; } -export type VirtualRoutersGetParameters = VirtualRoutersGetQueryParam & - RequestParameters; +export type VirtualRoutersGetParameters = VirtualRoutersGetQueryParam & RequestParameters; export interface VirtualRoutersCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Virtual Router. */ @@ -8124,11 +7930,10 @@ export interface VirtualRoutersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VirtualRoutersCreateOrUpdateParameters = - VirtualRoutersCreateOrUpdateQueryParam & - VirtualRoutersCreateOrUpdateMediaTypesParam & - VirtualRoutersCreateOrUpdateBodyParam & - RequestParameters; +export type VirtualRoutersCreateOrUpdateParameters = VirtualRoutersCreateOrUpdateQueryParam & + VirtualRoutersCreateOrUpdateMediaTypesParam & + VirtualRoutersCreateOrUpdateBodyParam & + RequestParameters; export interface VirtualRoutersListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8151,8 +7956,7 @@ export interface VirtualRoutersListQueryParam { queryParameters: VirtualRoutersListQueryParamProperties; } -export type VirtualRoutersListParameters = VirtualRoutersListQueryParam & - RequestParameters; +export type VirtualRoutersListParameters = VirtualRoutersListQueryParam & RequestParameters; export interface VirtualRouterPeeringsDeleteQueryParamProperties { /** Api Version */ @@ -8163,8 +7967,8 @@ export interface VirtualRouterPeeringsDeleteQueryParam { queryParameters: VirtualRouterPeeringsDeleteQueryParamProperties; } -export type VirtualRouterPeeringsDeleteParameters = - VirtualRouterPeeringsDeleteQueryParam & RequestParameters; +export type VirtualRouterPeeringsDeleteParameters = VirtualRouterPeeringsDeleteQueryParam & + RequestParameters; export interface VirtualRouterPeeringsGetQueryParamProperties { /** Api Version */ @@ -8175,8 +7979,8 @@ export interface VirtualRouterPeeringsGetQueryParam { queryParameters: VirtualRouterPeeringsGetQueryParamProperties; } -export type VirtualRouterPeeringsGetParameters = - VirtualRouterPeeringsGetQueryParam & RequestParameters; +export type VirtualRouterPeeringsGetParameters = VirtualRouterPeeringsGetQueryParam & + RequestParameters; export interface VirtualRouterPeeringsCreateOrUpdateBodyParam { /** Parameters supplied to the create or update Virtual Router Peering operation. */ @@ -8212,8 +8016,8 @@ export interface VirtualRouterPeeringsListQueryParam { queryParameters: VirtualRouterPeeringsListQueryParamProperties; } -export type VirtualRouterPeeringsListParameters = - VirtualRouterPeeringsListQueryParam & RequestParameters; +export type VirtualRouterPeeringsListParameters = VirtualRouterPeeringsListQueryParam & + RequestParameters; export interface VirtualWansGetQueryParamProperties { /** Api Version */ @@ -8224,8 +8028,7 @@ export interface VirtualWansGetQueryParam { queryParameters: VirtualWansGetQueryParamProperties; } -export type VirtualWansGetParameters = VirtualWansGetQueryParam & - RequestParameters; +export type VirtualWansGetParameters = VirtualWansGetQueryParam & RequestParameters; export interface VirtualWansCreateOrUpdateBodyParam { /** Parameters supplied to create or update VirtualWAN. */ @@ -8246,11 +8049,10 @@ export interface VirtualWansCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VirtualWansCreateOrUpdateParameters = - VirtualWansCreateOrUpdateQueryParam & - VirtualWansCreateOrUpdateMediaTypesParam & - VirtualWansCreateOrUpdateBodyParam & - RequestParameters; +export type VirtualWansCreateOrUpdateParameters = VirtualWansCreateOrUpdateQueryParam & + VirtualWansCreateOrUpdateMediaTypesParam & + VirtualWansCreateOrUpdateBodyParam & + RequestParameters; export interface VirtualWansUpdateTagsBodyParam { /** Parameters supplied to Update VirtualWAN tags. */ @@ -8285,8 +8087,7 @@ export interface VirtualWansDeleteQueryParam { queryParameters: VirtualWansDeleteQueryParamProperties; } -export type VirtualWansDeleteParameters = VirtualWansDeleteQueryParam & - RequestParameters; +export type VirtualWansDeleteParameters = VirtualWansDeleteQueryParam & RequestParameters; export interface VirtualWansListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8297,8 +8098,8 @@ export interface VirtualWansListByResourceGroupQueryParam { queryParameters: VirtualWansListByResourceGroupQueryParamProperties; } -export type VirtualWansListByResourceGroupParameters = - VirtualWansListByResourceGroupQueryParam & RequestParameters; +export type VirtualWansListByResourceGroupParameters = VirtualWansListByResourceGroupQueryParam & + RequestParameters; export interface VirtualWansListQueryParamProperties { /** Api Version */ @@ -8309,8 +8110,7 @@ export interface VirtualWansListQueryParam { queryParameters: VirtualWansListQueryParamProperties; } -export type VirtualWansListParameters = VirtualWansListQueryParam & - RequestParameters; +export type VirtualWansListParameters = VirtualWansListQueryParam & RequestParameters; export interface VpnSitesGetQueryParamProperties { /** Api Version */ @@ -8342,11 +8142,10 @@ export interface VpnSitesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VpnSitesCreateOrUpdateParameters = - VpnSitesCreateOrUpdateQueryParam & - VpnSitesCreateOrUpdateMediaTypesParam & - VpnSitesCreateOrUpdateBodyParam & - RequestParameters; +export type VpnSitesCreateOrUpdateParameters = VpnSitesCreateOrUpdateQueryParam & + VpnSitesCreateOrUpdateMediaTypesParam & + VpnSitesCreateOrUpdateBodyParam & + RequestParameters; export interface VpnSitesUpdateTagsBodyParam { /** Parameters supplied to update VpnSite tags. */ @@ -8381,8 +8180,7 @@ export interface VpnSitesDeleteQueryParam { queryParameters: VpnSitesDeleteQueryParamProperties; } -export type VpnSitesDeleteParameters = VpnSitesDeleteQueryParam & - RequestParameters; +export type VpnSitesDeleteParameters = VpnSitesDeleteQueryParam & RequestParameters; export interface VpnSitesListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8393,8 +8191,8 @@ export interface VpnSitesListByResourceGroupQueryParam { queryParameters: VpnSitesListByResourceGroupQueryParamProperties; } -export type VpnSitesListByResourceGroupParameters = - VpnSitesListByResourceGroupQueryParam & RequestParameters; +export type VpnSitesListByResourceGroupParameters = VpnSitesListByResourceGroupQueryParam & + RequestParameters; export interface VpnSitesListQueryParamProperties { /** Api Version */ @@ -8416,8 +8214,7 @@ export interface VpnSiteLinksGetQueryParam { queryParameters: VpnSiteLinksGetQueryParamProperties; } -export type VpnSiteLinksGetParameters = VpnSiteLinksGetQueryParam & - RequestParameters; +export type VpnSiteLinksGetParameters = VpnSiteLinksGetQueryParam & RequestParameters; export interface VpnSiteLinksListByVpnSiteQueryParamProperties { /** Api Version */ @@ -8428,8 +8225,8 @@ export interface VpnSiteLinksListByVpnSiteQueryParam { queryParameters: VpnSiteLinksListByVpnSiteQueryParamProperties; } -export type VpnSiteLinksListByVpnSiteParameters = - VpnSiteLinksListByVpnSiteQueryParam & RequestParameters; +export type VpnSiteLinksListByVpnSiteParameters = VpnSiteLinksListByVpnSiteQueryParam & + RequestParameters; export interface VpnSitesConfigurationDownloadBodyParam { /** Parameters supplied to download vpn-sites configuration. */ @@ -8450,11 +8247,10 @@ export interface VpnSitesConfigurationDownloadMediaTypesParam { contentType?: "application/json"; } -export type VpnSitesConfigurationDownloadParameters = - VpnSitesConfigurationDownloadQueryParam & - VpnSitesConfigurationDownloadMediaTypesParam & - VpnSitesConfigurationDownloadBodyParam & - RequestParameters; +export type VpnSitesConfigurationDownloadParameters = VpnSitesConfigurationDownloadQueryParam & + VpnSitesConfigurationDownloadMediaTypesParam & + VpnSitesConfigurationDownloadBodyParam & + RequestParameters; export interface VpnServerConfigurationsGetQueryParamProperties { /** Api Version */ @@ -8465,8 +8261,8 @@ export interface VpnServerConfigurationsGetQueryParam { queryParameters: VpnServerConfigurationsGetQueryParamProperties; } -export type VpnServerConfigurationsGetParameters = - VpnServerConfigurationsGetQueryParam & RequestParameters; +export type VpnServerConfigurationsGetParameters = VpnServerConfigurationsGetQueryParam & + RequestParameters; export interface VpnServerConfigurationsCreateOrUpdateBodyParam { /** Parameters supplied to create or update VpnServerConfiguration. */ @@ -8527,8 +8323,8 @@ export interface VpnServerConfigurationsDeleteQueryParam { queryParameters: VpnServerConfigurationsDeleteQueryParamProperties; } -export type VpnServerConfigurationsDeleteParameters = - VpnServerConfigurationsDeleteQueryParam & RequestParameters; +export type VpnServerConfigurationsDeleteParameters = VpnServerConfigurationsDeleteQueryParam & + RequestParameters; export interface VpnServerConfigurationsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8551,8 +8347,8 @@ export interface VpnServerConfigurationsListQueryParam { queryParameters: VpnServerConfigurationsListQueryParamProperties; } -export type VpnServerConfigurationsListParameters = - VpnServerConfigurationsListQueryParam & RequestParameters; +export type VpnServerConfigurationsListParameters = VpnServerConfigurationsListQueryParam & + RequestParameters; export interface ConfigurationPolicyGroupsCreateOrUpdateBodyParam { /** Parameters supplied to create or update a VpnServerConfiguration PolicyGroup. */ @@ -8588,8 +8384,8 @@ export interface ConfigurationPolicyGroupsDeleteQueryParam { queryParameters: ConfigurationPolicyGroupsDeleteQueryParamProperties; } -export type ConfigurationPolicyGroupsDeleteParameters = - ConfigurationPolicyGroupsDeleteQueryParam & RequestParameters; +export type ConfigurationPolicyGroupsDeleteParameters = ConfigurationPolicyGroupsDeleteQueryParam & + RequestParameters; export interface ConfigurationPolicyGroupsGetQueryParamProperties { /** Api Version */ @@ -8600,8 +8396,8 @@ export interface ConfigurationPolicyGroupsGetQueryParam { queryParameters: ConfigurationPolicyGroupsGetQueryParamProperties; } -export type ConfigurationPolicyGroupsGetParameters = - ConfigurationPolicyGroupsGetQueryParam & RequestParameters; +export type ConfigurationPolicyGroupsGetParameters = ConfigurationPolicyGroupsGetQueryParam & + RequestParameters; export interface ConfigurationPolicyGroupsListByVpnServerConfigurationQueryParamProperties { /** Api Version */ @@ -8613,8 +8409,7 @@ export interface ConfigurationPolicyGroupsListByVpnServerConfigurationQueryParam } export type ConfigurationPolicyGroupsListByVpnServerConfigurationParameters = - ConfigurationPolicyGroupsListByVpnServerConfigurationQueryParam & - RequestParameters; + ConfigurationPolicyGroupsListByVpnServerConfigurationQueryParam & RequestParameters; export interface VirtualHubsGetQueryParamProperties { /** Api Version */ @@ -8625,8 +8420,7 @@ export interface VirtualHubsGetQueryParam { queryParameters: VirtualHubsGetQueryParamProperties; } -export type VirtualHubsGetParameters = VirtualHubsGetQueryParam & - RequestParameters; +export type VirtualHubsGetParameters = VirtualHubsGetQueryParam & RequestParameters; export interface VirtualHubsCreateOrUpdateBodyParam { /** Parameters supplied to create or update VirtualHub. */ @@ -8647,11 +8441,10 @@ export interface VirtualHubsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VirtualHubsCreateOrUpdateParameters = - VirtualHubsCreateOrUpdateQueryParam & - VirtualHubsCreateOrUpdateMediaTypesParam & - VirtualHubsCreateOrUpdateBodyParam & - RequestParameters; +export type VirtualHubsCreateOrUpdateParameters = VirtualHubsCreateOrUpdateQueryParam & + VirtualHubsCreateOrUpdateMediaTypesParam & + VirtualHubsCreateOrUpdateBodyParam & + RequestParameters; export interface VirtualHubsUpdateTagsBodyParam { /** Parameters supplied to update VirtualHub tags. */ @@ -8686,8 +8479,7 @@ export interface VirtualHubsDeleteQueryParam { queryParameters: VirtualHubsDeleteQueryParamProperties; } -export type VirtualHubsDeleteParameters = VirtualHubsDeleteQueryParam & - RequestParameters; +export type VirtualHubsDeleteParameters = VirtualHubsDeleteQueryParam & RequestParameters; export interface VirtualHubsListByResourceGroupQueryParamProperties { /** Api Version */ @@ -8698,8 +8490,8 @@ export interface VirtualHubsListByResourceGroupQueryParam { queryParameters: VirtualHubsListByResourceGroupQueryParamProperties; } -export type VirtualHubsListByResourceGroupParameters = - VirtualHubsListByResourceGroupQueryParam & RequestParameters; +export type VirtualHubsListByResourceGroupParameters = VirtualHubsListByResourceGroupQueryParam & + RequestParameters; export interface VirtualHubsListQueryParamProperties { /** Api Version */ @@ -8710,8 +8502,7 @@ export interface VirtualHubsListQueryParam { queryParameters: VirtualHubsListQueryParamProperties; } -export type VirtualHubsListParameters = VirtualHubsListQueryParam & - RequestParameters; +export type VirtualHubsListParameters = VirtualHubsListQueryParam & RequestParameters; export interface VirtualHubsGetEffectiveVirtualHubRoutesBodyParam { /** Parameters supplied to get the effective routes for a specific resource. */ @@ -8757,11 +8548,10 @@ export interface VirtualHubsGetInboundRoutesMediaTypesParam { contentType?: "application/json"; } -export type VirtualHubsGetInboundRoutesParameters = - VirtualHubsGetInboundRoutesQueryParam & - VirtualHubsGetInboundRoutesMediaTypesParam & - VirtualHubsGetInboundRoutesBodyParam & - RequestParameters; +export type VirtualHubsGetInboundRoutesParameters = VirtualHubsGetInboundRoutesQueryParam & + VirtualHubsGetInboundRoutesMediaTypesParam & + VirtualHubsGetInboundRoutesBodyParam & + RequestParameters; export interface VirtualHubsGetOutboundRoutesBodyParam { /** Parameters supplied to get the outbound routes for a connection resource. */ @@ -8782,11 +8572,10 @@ export interface VirtualHubsGetOutboundRoutesMediaTypesParam { contentType?: "application/json"; } -export type VirtualHubsGetOutboundRoutesParameters = - VirtualHubsGetOutboundRoutesQueryParam & - VirtualHubsGetOutboundRoutesMediaTypesParam & - VirtualHubsGetOutboundRoutesBodyParam & - RequestParameters; +export type VirtualHubsGetOutboundRoutesParameters = VirtualHubsGetOutboundRoutesQueryParam & + VirtualHubsGetOutboundRoutesMediaTypesParam & + VirtualHubsGetOutboundRoutesBodyParam & + RequestParameters; export interface RouteMapsGetQueryParamProperties { /** Api Version */ @@ -8818,11 +8607,10 @@ export interface RouteMapsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RouteMapsCreateOrUpdateParameters = - RouteMapsCreateOrUpdateQueryParam & - RouteMapsCreateOrUpdateMediaTypesParam & - RouteMapsCreateOrUpdateBodyParam & - RequestParameters; +export type RouteMapsCreateOrUpdateParameters = RouteMapsCreateOrUpdateQueryParam & + RouteMapsCreateOrUpdateMediaTypesParam & + RouteMapsCreateOrUpdateBodyParam & + RequestParameters; export interface RouteMapsDeleteQueryParamProperties { /** Api Version */ @@ -8833,8 +8621,7 @@ export interface RouteMapsDeleteQueryParam { queryParameters: RouteMapsDeleteQueryParamProperties; } -export type RouteMapsDeleteParameters = RouteMapsDeleteQueryParam & - RequestParameters; +export type RouteMapsDeleteParameters = RouteMapsDeleteQueryParam & RequestParameters; export interface RouteMapsListQueryParamProperties { /** Api Version */ @@ -8845,8 +8632,7 @@ export interface RouteMapsListQueryParam { queryParameters: RouteMapsListQueryParamProperties; } -export type RouteMapsListParameters = RouteMapsListQueryParam & - RequestParameters; +export type RouteMapsListParameters = RouteMapsListQueryParam & RequestParameters; export interface HubVirtualNetworkConnectionsCreateOrUpdateBodyParam { /** Parameters supplied to create or update a hub virtual network connection. */ @@ -8894,8 +8680,8 @@ export interface HubVirtualNetworkConnectionsGetQueryParam { queryParameters: HubVirtualNetworkConnectionsGetQueryParamProperties; } -export type HubVirtualNetworkConnectionsGetParameters = - HubVirtualNetworkConnectionsGetQueryParam & RequestParameters; +export type HubVirtualNetworkConnectionsGetParameters = HubVirtualNetworkConnectionsGetQueryParam & + RequestParameters; export interface HubVirtualNetworkConnectionsListQueryParamProperties { /** Api Version */ @@ -8918,8 +8704,7 @@ export interface VpnGatewaysGetQueryParam { queryParameters: VpnGatewaysGetQueryParamProperties; } -export type VpnGatewaysGetParameters = VpnGatewaysGetQueryParam & - RequestParameters; +export type VpnGatewaysGetParameters = VpnGatewaysGetQueryParam & RequestParameters; export interface VpnGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to create or Update a virtual wan vpn gateway. */ @@ -8940,11 +8725,10 @@ export interface VpnGatewaysCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VpnGatewaysCreateOrUpdateParameters = - VpnGatewaysCreateOrUpdateQueryParam & - VpnGatewaysCreateOrUpdateMediaTypesParam & - VpnGatewaysCreateOrUpdateBodyParam & - RequestParameters; +export type VpnGatewaysCreateOrUpdateParameters = VpnGatewaysCreateOrUpdateQueryParam & + VpnGatewaysCreateOrUpdateMediaTypesParam & + VpnGatewaysCreateOrUpdateBodyParam & + RequestParameters; export interface VpnGatewaysUpdateTagsBodyParam { /** Parameters supplied to update a virtual wan vpn gateway tags. */ @@ -8979,8 +8763,7 @@ export interface VpnGatewaysDeleteQueryParam { queryParameters: VpnGatewaysDeleteQueryParamProperties; } -export type VpnGatewaysDeleteParameters = VpnGatewaysDeleteQueryParam & - RequestParameters; +export type VpnGatewaysDeleteParameters = VpnGatewaysDeleteQueryParam & RequestParameters; export interface VpnGatewaysResetQueryParamProperties { /** Api Version */ @@ -8991,8 +8774,7 @@ export interface VpnGatewaysResetQueryParam { queryParameters: VpnGatewaysResetQueryParamProperties; } -export type VpnGatewaysResetParameters = VpnGatewaysResetQueryParam & - RequestParameters; +export type VpnGatewaysResetParameters = VpnGatewaysResetQueryParam & RequestParameters; export interface VpnGatewaysStartPacketCaptureBodyParam { /** Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. */ @@ -9013,11 +8795,10 @@ export interface VpnGatewaysStartPacketCaptureMediaTypesParam { contentType?: "application/json"; } -export type VpnGatewaysStartPacketCaptureParameters = - VpnGatewaysStartPacketCaptureQueryParam & - VpnGatewaysStartPacketCaptureMediaTypesParam & - VpnGatewaysStartPacketCaptureBodyParam & - RequestParameters; +export type VpnGatewaysStartPacketCaptureParameters = VpnGatewaysStartPacketCaptureQueryParam & + VpnGatewaysStartPacketCaptureMediaTypesParam & + VpnGatewaysStartPacketCaptureBodyParam & + RequestParameters; export interface VpnGatewaysStopPacketCaptureBodyParam { /** Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. */ @@ -9038,11 +8819,10 @@ export interface VpnGatewaysStopPacketCaptureMediaTypesParam { contentType?: "application/json"; } -export type VpnGatewaysStopPacketCaptureParameters = - VpnGatewaysStopPacketCaptureQueryParam & - VpnGatewaysStopPacketCaptureMediaTypesParam & - VpnGatewaysStopPacketCaptureBodyParam & - RequestParameters; +export type VpnGatewaysStopPacketCaptureParameters = VpnGatewaysStopPacketCaptureQueryParam & + VpnGatewaysStopPacketCaptureMediaTypesParam & + VpnGatewaysStopPacketCaptureBodyParam & + RequestParameters; export interface VpnGatewaysListByResourceGroupQueryParamProperties { /** Api Version */ @@ -9053,8 +8833,8 @@ export interface VpnGatewaysListByResourceGroupQueryParam { queryParameters: VpnGatewaysListByResourceGroupQueryParamProperties; } -export type VpnGatewaysListByResourceGroupParameters = - VpnGatewaysListByResourceGroupQueryParam & RequestParameters; +export type VpnGatewaysListByResourceGroupParameters = VpnGatewaysListByResourceGroupQueryParam & + RequestParameters; export interface VpnGatewaysListQueryParamProperties { /** Api Version */ @@ -9065,8 +8845,7 @@ export interface VpnGatewaysListQueryParam { queryParameters: VpnGatewaysListQueryParamProperties; } -export type VpnGatewaysListParameters = VpnGatewaysListQueryParam & - RequestParameters; +export type VpnGatewaysListParameters = VpnGatewaysListQueryParam & RequestParameters; export interface VpnLinkConnectionsResetConnectionQueryParamProperties { /** Api Version */ @@ -9089,8 +8868,8 @@ export interface VpnLinkConnectionsGetIkeSasQueryParam { queryParameters: VpnLinkConnectionsGetIkeSasQueryParamProperties; } -export type VpnLinkConnectionsGetIkeSasParameters = - VpnLinkConnectionsGetIkeSasQueryParam & RequestParameters; +export type VpnLinkConnectionsGetIkeSasParameters = VpnLinkConnectionsGetIkeSasQueryParam & + RequestParameters; export interface VpnLinkConnectionsListByVpnConnectionQueryParamProperties { /** Api Version */ @@ -9113,8 +8892,7 @@ export interface VpnConnectionsGetQueryParam { queryParameters: VpnConnectionsGetQueryParamProperties; } -export type VpnConnectionsGetParameters = VpnConnectionsGetQueryParam & - RequestParameters; +export type VpnConnectionsGetParameters = VpnConnectionsGetQueryParam & RequestParameters; export interface VpnConnectionsCreateOrUpdateBodyParam { /** Parameters supplied to create or Update a VPN Connection. */ @@ -9135,11 +8913,10 @@ export interface VpnConnectionsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type VpnConnectionsCreateOrUpdateParameters = - VpnConnectionsCreateOrUpdateQueryParam & - VpnConnectionsCreateOrUpdateMediaTypesParam & - VpnConnectionsCreateOrUpdateBodyParam & - RequestParameters; +export type VpnConnectionsCreateOrUpdateParameters = VpnConnectionsCreateOrUpdateQueryParam & + VpnConnectionsCreateOrUpdateMediaTypesParam & + VpnConnectionsCreateOrUpdateBodyParam & + RequestParameters; export interface VpnConnectionsDeleteQueryParamProperties { /** Api Version */ @@ -9150,8 +8927,7 @@ export interface VpnConnectionsDeleteQueryParam { queryParameters: VpnConnectionsDeleteQueryParamProperties; } -export type VpnConnectionsDeleteParameters = VpnConnectionsDeleteQueryParam & - RequestParameters; +export type VpnConnectionsDeleteParameters = VpnConnectionsDeleteQueryParam & RequestParameters; export interface VpnConnectionsStartPacketCaptureBodyParam { /** Vpn Connection packet capture parameters supplied to start packet capture on gateway connection. */ @@ -9197,11 +8973,10 @@ export interface VpnConnectionsStopPacketCaptureMediaTypesParam { contentType?: "application/json"; } -export type VpnConnectionsStopPacketCaptureParameters = - VpnConnectionsStopPacketCaptureQueryParam & - VpnConnectionsStopPacketCaptureMediaTypesParam & - VpnConnectionsStopPacketCaptureBodyParam & - RequestParameters; +export type VpnConnectionsStopPacketCaptureParameters = VpnConnectionsStopPacketCaptureQueryParam & + VpnConnectionsStopPacketCaptureMediaTypesParam & + VpnConnectionsStopPacketCaptureBodyParam & + RequestParameters; export interface VpnConnectionsListByVpnGatewayQueryParamProperties { /** Api Version */ @@ -9212,8 +8987,8 @@ export interface VpnConnectionsListByVpnGatewayQueryParam { queryParameters: VpnConnectionsListByVpnGatewayQueryParamProperties; } -export type VpnConnectionsListByVpnGatewayParameters = - VpnConnectionsListByVpnGatewayQueryParam & RequestParameters; +export type VpnConnectionsListByVpnGatewayParameters = VpnConnectionsListByVpnGatewayQueryParam & + RequestParameters; export interface VpnSiteLinkConnectionsGetQueryParamProperties { /** Api Version */ @@ -9224,8 +8999,8 @@ export interface VpnSiteLinkConnectionsGetQueryParam { queryParameters: VpnSiteLinkConnectionsGetQueryParamProperties; } -export type VpnSiteLinkConnectionsGetParameters = - VpnSiteLinkConnectionsGetQueryParam & RequestParameters; +export type VpnSiteLinkConnectionsGetParameters = VpnSiteLinkConnectionsGetQueryParam & + RequestParameters; export interface NatRulesGetQueryParamProperties { /** Api Version */ @@ -9257,11 +9032,10 @@ export interface NatRulesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type NatRulesCreateOrUpdateParameters = - NatRulesCreateOrUpdateQueryParam & - NatRulesCreateOrUpdateMediaTypesParam & - NatRulesCreateOrUpdateBodyParam & - RequestParameters; +export type NatRulesCreateOrUpdateParameters = NatRulesCreateOrUpdateQueryParam & + NatRulesCreateOrUpdateMediaTypesParam & + NatRulesCreateOrUpdateBodyParam & + RequestParameters; export interface NatRulesDeleteQueryParamProperties { /** Api Version */ @@ -9272,8 +9046,7 @@ export interface NatRulesDeleteQueryParam { queryParameters: NatRulesDeleteQueryParamProperties; } -export type NatRulesDeleteParameters = NatRulesDeleteQueryParam & - RequestParameters; +export type NatRulesDeleteParameters = NatRulesDeleteQueryParam & RequestParameters; export interface NatRulesListByVpnGatewayQueryParamProperties { /** Api Version */ @@ -9284,8 +9057,8 @@ export interface NatRulesListByVpnGatewayQueryParam { queryParameters: NatRulesListByVpnGatewayQueryParamProperties; } -export type NatRulesListByVpnGatewayParameters = - NatRulesListByVpnGatewayQueryParam & RequestParameters; +export type NatRulesListByVpnGatewayParameters = NatRulesListByVpnGatewayQueryParam & + RequestParameters; export interface P2SVpnGatewaysGetQueryParamProperties { /** Api Version */ @@ -9296,8 +9069,7 @@ export interface P2SVpnGatewaysGetQueryParam { queryParameters: P2SVpnGatewaysGetQueryParamProperties; } -export type P2SVpnGatewaysGetParameters = P2SVpnGatewaysGetQueryParam & - RequestParameters; +export type P2SVpnGatewaysGetParameters = P2SVpnGatewaysGetQueryParam & RequestParameters; export interface P2SVpnGatewaysCreateOrUpdateBodyParam { /** Parameters supplied to create or Update a virtual wan p2s vpn gateway. */ @@ -9318,11 +9090,10 @@ export interface P2SVpnGatewaysCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type P2SVpnGatewaysCreateOrUpdateParameters = - P2SVpnGatewaysCreateOrUpdateQueryParam & - P2SVpnGatewaysCreateOrUpdateMediaTypesParam & - P2SVpnGatewaysCreateOrUpdateBodyParam & - RequestParameters; +export type P2SVpnGatewaysCreateOrUpdateParameters = P2SVpnGatewaysCreateOrUpdateQueryParam & + P2SVpnGatewaysCreateOrUpdateMediaTypesParam & + P2SVpnGatewaysCreateOrUpdateBodyParam & + RequestParameters; export interface P2SVpnGatewaysUpdateTagsBodyParam { /** Parameters supplied to update a virtual wan p2s vpn gateway tags. */ @@ -9343,11 +9114,10 @@ export interface P2SVpnGatewaysUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type P2SVpnGatewaysUpdateTagsParameters = - P2SVpnGatewaysUpdateTagsQueryParam & - P2SVpnGatewaysUpdateTagsMediaTypesParam & - P2SVpnGatewaysUpdateTagsBodyParam & - RequestParameters; +export type P2SVpnGatewaysUpdateTagsParameters = P2SVpnGatewaysUpdateTagsQueryParam & + P2SVpnGatewaysUpdateTagsMediaTypesParam & + P2SVpnGatewaysUpdateTagsBodyParam & + RequestParameters; export interface P2SVpnGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -9358,8 +9128,7 @@ export interface P2SVpnGatewaysDeleteQueryParam { queryParameters: P2SVpnGatewaysDeleteQueryParamProperties; } -export type P2SVpnGatewaysDeleteParameters = P2SVpnGatewaysDeleteQueryParam & - RequestParameters; +export type P2SVpnGatewaysDeleteParameters = P2SVpnGatewaysDeleteQueryParam & RequestParameters; export interface P2SVpnGatewaysListByResourceGroupQueryParamProperties { /** Api Version */ @@ -9382,8 +9151,7 @@ export interface P2SVpnGatewaysListQueryParam { queryParameters: P2SVpnGatewaysListQueryParamProperties; } -export type P2SVpnGatewaysListParameters = P2SVpnGatewaysListQueryParam & - RequestParameters; +export type P2SVpnGatewaysListParameters = P2SVpnGatewaysListQueryParam & RequestParameters; export interface P2SVpnGatewaysResetQueryParamProperties { /** Api Version */ @@ -9394,8 +9162,7 @@ export interface P2SVpnGatewaysResetQueryParam { queryParameters: P2SVpnGatewaysResetQueryParamProperties; } -export type P2SVpnGatewaysResetParameters = P2SVpnGatewaysResetQueryParam & - RequestParameters; +export type P2SVpnGatewaysResetParameters = P2SVpnGatewaysResetQueryParam & RequestParameters; export interface P2SVpnGatewaysGenerateVpnProfileBodyParam { /** Parameters supplied to the generate P2SVpnGateway VPN client package operation. */ @@ -9494,8 +9261,7 @@ export interface VpnServerConfigurationsAssociatedWithVirtualWanListQueryParam { } export type VpnServerConfigurationsAssociatedWithVirtualWanListParameters = - VpnServerConfigurationsAssociatedWithVirtualWanListQueryParam & - RequestParameters; + VpnServerConfigurationsAssociatedWithVirtualWanListQueryParam & RequestParameters; export interface VirtualHubRouteTableV2SGetQueryParamProperties { /** Api Version */ @@ -9506,8 +9272,8 @@ export interface VirtualHubRouteTableV2SGetQueryParam { queryParameters: VirtualHubRouteTableV2SGetQueryParamProperties; } -export type VirtualHubRouteTableV2SGetParameters = - VirtualHubRouteTableV2SGetQueryParam & RequestParameters; +export type VirtualHubRouteTableV2SGetParameters = VirtualHubRouteTableV2SGetQueryParam & + RequestParameters; export interface VirtualHubRouteTableV2SCreateOrUpdateBodyParam { /** Parameters supplied to create or update VirtualHubRouteTableV2. */ @@ -9543,8 +9309,8 @@ export interface VirtualHubRouteTableV2SDeleteQueryParam { queryParameters: VirtualHubRouteTableV2SDeleteQueryParamProperties; } -export type VirtualHubRouteTableV2SDeleteParameters = - VirtualHubRouteTableV2SDeleteQueryParam & RequestParameters; +export type VirtualHubRouteTableV2SDeleteParameters = VirtualHubRouteTableV2SDeleteQueryParam & + RequestParameters; export interface VirtualHubRouteTableV2SListQueryParamProperties { /** Api Version */ @@ -9555,8 +9321,8 @@ export interface VirtualHubRouteTableV2SListQueryParam { queryParameters: VirtualHubRouteTableV2SListQueryParamProperties; } -export type VirtualHubRouteTableV2SListParameters = - VirtualHubRouteTableV2SListQueryParam & RequestParameters; +export type VirtualHubRouteTableV2SListParameters = VirtualHubRouteTableV2SListQueryParam & + RequestParameters; export interface ExpressRouteGatewaysListBySubscriptionQueryParamProperties { /** Api Version */ @@ -9626,11 +9392,10 @@ export interface ExpressRouteGatewaysUpdateTagsMediaTypesParam { contentType?: "application/json"; } -export type ExpressRouteGatewaysUpdateTagsParameters = - ExpressRouteGatewaysUpdateTagsQueryParam & - ExpressRouteGatewaysUpdateTagsMediaTypesParam & - ExpressRouteGatewaysUpdateTagsBodyParam & - RequestParameters; +export type ExpressRouteGatewaysUpdateTagsParameters = ExpressRouteGatewaysUpdateTagsQueryParam & + ExpressRouteGatewaysUpdateTagsMediaTypesParam & + ExpressRouteGatewaysUpdateTagsBodyParam & + RequestParameters; export interface ExpressRouteGatewaysGetQueryParamProperties { /** Api Version */ @@ -9641,8 +9406,8 @@ export interface ExpressRouteGatewaysGetQueryParam { queryParameters: ExpressRouteGatewaysGetQueryParamProperties; } -export type ExpressRouteGatewaysGetParameters = - ExpressRouteGatewaysGetQueryParam & RequestParameters; +export type ExpressRouteGatewaysGetParameters = ExpressRouteGatewaysGetQueryParam & + RequestParameters; export interface ExpressRouteGatewaysDeleteQueryParamProperties { /** Api Version */ @@ -9653,8 +9418,8 @@ export interface ExpressRouteGatewaysDeleteQueryParam { queryParameters: ExpressRouteGatewaysDeleteQueryParamProperties; } -export type ExpressRouteGatewaysDeleteParameters = - ExpressRouteGatewaysDeleteQueryParam & RequestParameters; +export type ExpressRouteGatewaysDeleteParameters = ExpressRouteGatewaysDeleteQueryParam & + RequestParameters; export interface ExpressRouteConnectionsCreateOrUpdateBodyParam { /** Parameters required in an ExpressRouteConnection PUT operation. */ @@ -9690,8 +9455,8 @@ export interface ExpressRouteConnectionsGetQueryParam { queryParameters: ExpressRouteConnectionsGetQueryParamProperties; } -export type ExpressRouteConnectionsGetParameters = - ExpressRouteConnectionsGetQueryParam & RequestParameters; +export type ExpressRouteConnectionsGetParameters = ExpressRouteConnectionsGetQueryParam & + RequestParameters; export interface ExpressRouteConnectionsDeleteQueryParamProperties { /** Api Version */ @@ -9702,8 +9467,8 @@ export interface ExpressRouteConnectionsDeleteQueryParam { queryParameters: ExpressRouteConnectionsDeleteQueryParamProperties; } -export type ExpressRouteConnectionsDeleteParameters = - ExpressRouteConnectionsDeleteQueryParam & RequestParameters; +export type ExpressRouteConnectionsDeleteParameters = ExpressRouteConnectionsDeleteQueryParam & + RequestParameters; export interface ExpressRouteConnectionsListQueryParamProperties { /** Api Version */ @@ -9714,8 +9479,8 @@ export interface ExpressRouteConnectionsListQueryParam { queryParameters: ExpressRouteConnectionsListQueryParamProperties; } -export type ExpressRouteConnectionsListParameters = - ExpressRouteConnectionsListQueryParam & RequestParameters; +export type ExpressRouteConnectionsListParameters = ExpressRouteConnectionsListQueryParam & + RequestParameters; export interface VirtualHubBgpConnectionGetQueryParamProperties { /** Api Version */ @@ -9726,8 +9491,8 @@ export interface VirtualHubBgpConnectionGetQueryParam { queryParameters: VirtualHubBgpConnectionGetQueryParamProperties; } -export type VirtualHubBgpConnectionGetParameters = - VirtualHubBgpConnectionGetQueryParam & RequestParameters; +export type VirtualHubBgpConnectionGetParameters = VirtualHubBgpConnectionGetQueryParam & + RequestParameters; export interface VirtualHubBgpConnectionCreateOrUpdateBodyParam { /** Parameters of Bgp connection. */ @@ -9763,8 +9528,8 @@ export interface VirtualHubBgpConnectionDeleteQueryParam { queryParameters: VirtualHubBgpConnectionDeleteQueryParamProperties; } -export type VirtualHubBgpConnectionDeleteParameters = - VirtualHubBgpConnectionDeleteQueryParam & RequestParameters; +export type VirtualHubBgpConnectionDeleteParameters = VirtualHubBgpConnectionDeleteQueryParam & + RequestParameters; export interface VirtualHubBgpConnectionsListQueryParamProperties { /** Api Version */ @@ -9775,8 +9540,8 @@ export interface VirtualHubBgpConnectionsListQueryParam { queryParameters: VirtualHubBgpConnectionsListQueryParamProperties; } -export type VirtualHubBgpConnectionsListParameters = - VirtualHubBgpConnectionsListQueryParam & RequestParameters; +export type VirtualHubBgpConnectionsListParameters = VirtualHubBgpConnectionsListQueryParam & + RequestParameters; export interface VirtualHubBgpConnectionsListLearnedRoutesQueryParamProperties { /** Api Version */ @@ -9811,8 +9576,8 @@ export interface VirtualHubIpConfigurationGetQueryParam { queryParameters: VirtualHubIpConfigurationGetQueryParamProperties; } -export type VirtualHubIpConfigurationGetParameters = - VirtualHubIpConfigurationGetQueryParam & RequestParameters; +export type VirtualHubIpConfigurationGetParameters = VirtualHubIpConfigurationGetQueryParam & + RequestParameters; export interface VirtualHubIpConfigurationCreateOrUpdateBodyParam { /** Hub Ip Configuration parameters. */ @@ -9848,8 +9613,8 @@ export interface VirtualHubIpConfigurationDeleteQueryParam { queryParameters: VirtualHubIpConfigurationDeleteQueryParamProperties; } -export type VirtualHubIpConfigurationDeleteParameters = - VirtualHubIpConfigurationDeleteQueryParam & RequestParameters; +export type VirtualHubIpConfigurationDeleteParameters = VirtualHubIpConfigurationDeleteQueryParam & + RequestParameters; export interface VirtualHubIpConfigurationListQueryParamProperties { /** Api Version */ @@ -9860,8 +9625,8 @@ export interface VirtualHubIpConfigurationListQueryParam { queryParameters: VirtualHubIpConfigurationListQueryParamProperties; } -export type VirtualHubIpConfigurationListParameters = - VirtualHubIpConfigurationListQueryParam & RequestParameters; +export type VirtualHubIpConfigurationListParameters = VirtualHubIpConfigurationListQueryParam & + RequestParameters; export interface HubRouteTablesCreateOrUpdateBodyParam { /** Parameters supplied to create or update RouteTable. */ @@ -9882,11 +9647,10 @@ export interface HubRouteTablesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type HubRouteTablesCreateOrUpdateParameters = - HubRouteTablesCreateOrUpdateQueryParam & - HubRouteTablesCreateOrUpdateMediaTypesParam & - HubRouteTablesCreateOrUpdateBodyParam & - RequestParameters; +export type HubRouteTablesCreateOrUpdateParameters = HubRouteTablesCreateOrUpdateQueryParam & + HubRouteTablesCreateOrUpdateMediaTypesParam & + HubRouteTablesCreateOrUpdateBodyParam & + RequestParameters; export interface HubRouteTablesGetQueryParamProperties { /** Api Version */ @@ -9897,8 +9661,7 @@ export interface HubRouteTablesGetQueryParam { queryParameters: HubRouteTablesGetQueryParamProperties; } -export type HubRouteTablesGetParameters = HubRouteTablesGetQueryParam & - RequestParameters; +export type HubRouteTablesGetParameters = HubRouteTablesGetQueryParam & RequestParameters; export interface HubRouteTablesDeleteQueryParamProperties { /** Api Version */ @@ -9909,8 +9672,7 @@ export interface HubRouteTablesDeleteQueryParam { queryParameters: HubRouteTablesDeleteQueryParamProperties; } -export type HubRouteTablesDeleteParameters = HubRouteTablesDeleteQueryParam & - RequestParameters; +export type HubRouteTablesDeleteParameters = HubRouteTablesDeleteQueryParam & RequestParameters; export interface HubRouteTablesListQueryParamProperties { /** Api Version */ @@ -9921,8 +9683,7 @@ export interface HubRouteTablesListQueryParam { queryParameters: HubRouteTablesListQueryParamProperties; } -export type HubRouteTablesListParameters = HubRouteTablesListQueryParam & - RequestParameters; +export type HubRouteTablesListParameters = HubRouteTablesListQueryParam & RequestParameters; export interface RoutingIntentCreateOrUpdateBodyParam { /** Parameters supplied to create or update RoutingIntent. */ @@ -9943,11 +9704,10 @@ export interface RoutingIntentCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type RoutingIntentCreateOrUpdateParameters = - RoutingIntentCreateOrUpdateQueryParam & - RoutingIntentCreateOrUpdateMediaTypesParam & - RoutingIntentCreateOrUpdateBodyParam & - RequestParameters; +export type RoutingIntentCreateOrUpdateParameters = RoutingIntentCreateOrUpdateQueryParam & + RoutingIntentCreateOrUpdateMediaTypesParam & + RoutingIntentCreateOrUpdateBodyParam & + RequestParameters; export interface RoutingIntentGetQueryParamProperties { /** Api Version */ @@ -9958,8 +9718,7 @@ export interface RoutingIntentGetQueryParam { queryParameters: RoutingIntentGetQueryParamProperties; } -export type RoutingIntentGetParameters = RoutingIntentGetQueryParam & - RequestParameters; +export type RoutingIntentGetParameters = RoutingIntentGetQueryParam & RequestParameters; export interface RoutingIntentDeleteQueryParamProperties { /** Api Version */ @@ -9970,8 +9729,7 @@ export interface RoutingIntentDeleteQueryParam { queryParameters: RoutingIntentDeleteQueryParamProperties; } -export type RoutingIntentDeleteParameters = RoutingIntentDeleteQueryParam & - RequestParameters; +export type RoutingIntentDeleteParameters = RoutingIntentDeleteQueryParam & RequestParameters; export interface RoutingIntentListQueryParamProperties { /** Api Version */ @@ -9982,8 +9740,7 @@ export interface RoutingIntentListQueryParam { queryParameters: RoutingIntentListQueryParamProperties; } -export type RoutingIntentListParameters = RoutingIntentListQueryParam & - RequestParameters; +export type RoutingIntentListParameters = RoutingIntentListQueryParam & RequestParameters; export interface WebApplicationFirewallPoliciesListQueryParamProperties { /** Api Version */ diff --git a/sdk/network/arm-network-rest/src/pollingHelper.ts b/sdk/network/arm-network-rest/src/pollingHelper.ts index 131043e0b2d0..0ff7c2fe9be1 100644 --- a/sdk/network/arm-network-rest/src/pollingHelper.ts +++ b/sdk/network/arm-network-rest/src/pollingHelper.ts @@ -15,10 +15,7 @@ import { /** * A simple poller that can be used to poll a long running operation. */ -export interface SimplePollerLike< - TState extends OperationState, - TResult, -> { +export interface SimplePollerLike, TResult> { /** * Returns true if the poller has finished polling. */ @@ -42,9 +39,7 @@ export interface SimplePollerLike< /** * Returns a promise that will resolve once the underlying operation is completed. */ - pollUntilDone(pollOptions?: { - abortSignal?: AbortSignalLike; - }): Promise; + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; /** * Invokes the provided callback after each polling is completed, * sending the current state of the poller's operation. @@ -103,10 +98,7 @@ export async function getLongRunningPoller( // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async ( - path: string, - pollOptions?: { abortSignal?: AbortSignalLike }, - ) => { + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location @@ -132,8 +124,7 @@ export async function getLongRunningPoller( inputAbortSignal?.removeEventListener("abort", abortListener); } const lroResponse = getLroResponse(response as TResult); - lroResponse.rawResponse.headers["x-ms-original-url"] = - initialResponse.request.url; + lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; return lroResponse; }, }; @@ -189,9 +180,7 @@ function getLroResponse( response: TResult, ): OperationResponse { if (Number.isNaN(response.status)) { - throw new TypeError( - `Status code of the response is not a number. Value: ${response.status}`, - ); + throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); } return { diff --git a/sdk/network/arm-network-rest/src/responses.ts b/sdk/network/arm-network-rest/src/responses.ts index 80353eb02cbf..dbada2fe9030 100644 --- a/sdk/network/arm-network-rest/src/responses.ts +++ b/sdk/network/arm-network-rest/src/responses.ts @@ -322,22 +322,19 @@ export interface ApplicationGatewaysGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified application gateway. */ -export interface ApplicationGatewaysCreateOrUpdate200Response - extends HttpResponse { +export interface ApplicationGatewaysCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ApplicationGatewayOutput; } /** Creates or updates the specified application gateway. */ -export interface ApplicationGatewaysCreateOrUpdate201Response - extends HttpResponse { +export interface ApplicationGatewaysCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ApplicationGatewayOutput; } /** Creates or updates the specified application gateway. */ -export interface ApplicationGatewaysCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ApplicationGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -349,8 +346,7 @@ export interface ApplicationGatewaysUpdateTags200Response extends HttpResponse { } /** Updates the specified application gateway tags. */ -export interface ApplicationGatewaysUpdateTagsDefaultResponse - extends HttpResponse { +export interface ApplicationGatewaysUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -374,8 +370,7 @@ export interface ApplicationGatewaysListAll200Response extends HttpResponse { } /** Gets all the application gateways in a subscription. */ -export interface ApplicationGatewaysListAllDefaultResponse - extends HttpResponse { +export interface ApplicationGatewaysListAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -413,48 +408,41 @@ export interface ApplicationGatewaysStopDefaultResponse extends HttpResponse { } /** Gets the backend health of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealth200Response - extends HttpResponse { +export interface ApplicationGatewaysBackendHealth200Response extends HttpResponse { status: "200"; body: ApplicationGatewayBackendHealthOutput; } /** Gets the backend health of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealth202Response - extends HttpResponse { +export interface ApplicationGatewaysBackendHealth202Response extends HttpResponse { status: "202"; } /** Gets the backend health of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealthDefaultResponse - extends HttpResponse { +export interface ApplicationGatewaysBackendHealthDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealthOnDemand200Response - extends HttpResponse { +export interface ApplicationGatewaysBackendHealthOnDemand200Response extends HttpResponse { status: "200"; body: ApplicationGatewayBackendHealthOnDemandOutput; } /** Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealthOnDemand202Response - extends HttpResponse { +export interface ApplicationGatewaysBackendHealthOnDemand202Response extends HttpResponse { status: "202"; } /** Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. */ -export interface ApplicationGatewaysBackendHealthOnDemandDefaultResponse - extends HttpResponse { +export interface ApplicationGatewaysBackendHealthOnDemandDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all available server variables. */ -export interface ApplicationGatewaysListAvailableServerVariables200Response - extends HttpResponse { +export interface ApplicationGatewaysListAvailableServerVariables200Response extends HttpResponse { status: "200"; body: Array; } @@ -467,8 +455,7 @@ export interface ApplicationGatewaysListAvailableServerVariablesDefaultResponse } /** Lists all available request headers. */ -export interface ApplicationGatewaysListAvailableRequestHeaders200Response - extends HttpResponse { +export interface ApplicationGatewaysListAvailableRequestHeaders200Response extends HttpResponse { status: "200"; body: Array; } @@ -481,8 +468,7 @@ export interface ApplicationGatewaysListAvailableRequestHeadersDefaultResponse } /** Lists all available response headers. */ -export interface ApplicationGatewaysListAvailableResponseHeaders200Response - extends HttpResponse { +export interface ApplicationGatewaysListAvailableResponseHeaders200Response extends HttpResponse { status: "200"; body: Array; } @@ -495,29 +481,25 @@ export interface ApplicationGatewaysListAvailableResponseHeadersDefaultResponse } /** Lists all available web application firewall rule sets. */ -export interface ApplicationGatewaysListAvailableWafRuleSets200Response - extends HttpResponse { +export interface ApplicationGatewaysListAvailableWafRuleSets200Response extends HttpResponse { status: "200"; body: ApplicationGatewayAvailableWafRuleSetsResultOutput; } /** Lists all available web application firewall rule sets. */ -export interface ApplicationGatewaysListAvailableWafRuleSetsDefaultResponse - extends HttpResponse { +export interface ApplicationGatewaysListAvailableWafRuleSetsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists available Ssl options for configuring Ssl policy. */ -export interface ApplicationGatewaysListAvailableSslOptions200Response - extends HttpResponse { +export interface ApplicationGatewaysListAvailableSslOptions200Response extends HttpResponse { status: "200"; body: ApplicationGatewayAvailableSslOptionsOutput; } /** Lists available Ssl options for configuring Ssl policy. */ -export interface ApplicationGatewaysListAvailableSslOptionsDefaultResponse - extends HttpResponse { +export interface ApplicationGatewaysListAvailableSslOptionsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -537,29 +519,25 @@ export interface ApplicationGatewaysListAvailableSslPredefinedPoliciesDefaultRes } /** Gets Ssl predefined policy with the specified policy name. */ -export interface ApplicationGatewaysGetSslPredefinedPolicy200Response - extends HttpResponse { +export interface ApplicationGatewaysGetSslPredefinedPolicy200Response extends HttpResponse { status: "200"; body: ApplicationGatewaySslPredefinedPolicyOutput; } /** Gets Ssl predefined policy with the specified policy name. */ -export interface ApplicationGatewaysGetSslPredefinedPolicyDefaultResponse - extends HttpResponse { +export interface ApplicationGatewaysGetSslPredefinedPolicyDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all private link resources on an application gateway. */ -export interface ApplicationGatewayPrivateLinkResourcesList200Response - extends HttpResponse { +export interface ApplicationGatewayPrivateLinkResourcesList200Response extends HttpResponse { status: "200"; body: ApplicationGatewayPrivateLinkResourceListResultOutput; } /** Lists all private link resources on an application gateway. */ -export interface ApplicationGatewayPrivateLinkResourcesListDefaultResponse - extends HttpResponse { +export interface ApplicationGatewayPrivateLinkResourcesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -610,8 +588,7 @@ export interface ApplicationGatewayPrivateEndpointConnectionsUpdateDefaultRespon } /** Gets the specified private endpoint connection on application gateway. */ -export interface ApplicationGatewayPrivateEndpointConnectionsGet200Response - extends HttpResponse { +export interface ApplicationGatewayPrivateEndpointConnectionsGet200Response extends HttpResponse { status: "200"; body: ApplicationGatewayPrivateEndpointConnectionOutput; } @@ -624,8 +601,7 @@ export interface ApplicationGatewayPrivateEndpointConnectionsGetDefaultResponse } /** Lists all private endpoint connections on an application gateway. */ -export interface ApplicationGatewayPrivateEndpointConnectionsList200Response - extends HttpResponse { +export interface ApplicationGatewayPrivateEndpointConnectionsList200Response extends HttpResponse { status: "200"; body: ApplicationGatewayPrivateEndpointConnectionListResultOutput; } @@ -638,8 +614,7 @@ export interface ApplicationGatewayPrivateEndpointConnectionsListDefaultResponse } /** Gets the regional application gateway waf manifest. */ -export interface ApplicationGatewayWafDynamicManifestsDefaultGet200Response - extends HttpResponse { +export interface ApplicationGatewayWafDynamicManifestsDefaultGet200Response extends HttpResponse { status: "200"; body: ApplicationGatewayWafDynamicManifestResultOutput; } @@ -652,40 +627,34 @@ export interface ApplicationGatewayWafDynamicManifestsDefaultGetDefaultResponse } /** Gets the regional application gateway waf manifest. */ -export interface ApplicationGatewayWafDynamicManifestsGet200Response - extends HttpResponse { +export interface ApplicationGatewayWafDynamicManifestsGet200Response extends HttpResponse { status: "200"; body: ApplicationGatewayWafDynamicManifestResultListOutput; } /** Gets the regional application gateway waf manifest. */ -export interface ApplicationGatewayWafDynamicManifestsGetDefaultResponse - extends HttpResponse { +export interface ApplicationGatewayWafDynamicManifestsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified application security group. */ -export interface ApplicationSecurityGroupsDelete200Response - extends HttpResponse { +export interface ApplicationSecurityGroupsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified application security group. */ -export interface ApplicationSecurityGroupsDelete202Response - extends HttpResponse { +export interface ApplicationSecurityGroupsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified application security group. */ -export interface ApplicationSecurityGroupsDelete204Response - extends HttpResponse { +export interface ApplicationSecurityGroupsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified application security group. */ -export interface ApplicationSecurityGroupsDeleteDefaultResponse - extends HttpResponse { +export interface ApplicationSecurityGroupsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -697,57 +666,49 @@ export interface ApplicationSecurityGroupsGet200Response extends HttpResponse { } /** Gets information about the specified application security group. */ -export interface ApplicationSecurityGroupsGetDefaultResponse - extends HttpResponse { +export interface ApplicationSecurityGroupsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates an application security group. */ -export interface ApplicationSecurityGroupsCreateOrUpdate200Response - extends HttpResponse { +export interface ApplicationSecurityGroupsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ApplicationSecurityGroupOutput; } /** Creates or updates an application security group. */ -export interface ApplicationSecurityGroupsCreateOrUpdate201Response - extends HttpResponse { +export interface ApplicationSecurityGroupsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ApplicationSecurityGroupOutput; } /** Creates or updates an application security group. */ -export interface ApplicationSecurityGroupsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ApplicationSecurityGroupsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates an application security group's tags. */ -export interface ApplicationSecurityGroupsUpdateTags200Response - extends HttpResponse { +export interface ApplicationSecurityGroupsUpdateTags200Response extends HttpResponse { status: "200"; body: ApplicationSecurityGroupOutput; } /** Updates an application security group's tags. */ -export interface ApplicationSecurityGroupsUpdateTagsDefaultResponse - extends HttpResponse { +export interface ApplicationSecurityGroupsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all application security groups in a subscription. */ -export interface ApplicationSecurityGroupsListAll200Response - extends HttpResponse { +export interface ApplicationSecurityGroupsListAll200Response extends HttpResponse { status: "200"; body: ApplicationSecurityGroupListResultOutput; } /** Gets all application security groups in a subscription. */ -export interface ApplicationSecurityGroupsListAllDefaultResponse - extends HttpResponse { +export interface ApplicationSecurityGroupsListAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -759,8 +720,7 @@ export interface ApplicationSecurityGroupsList200Response extends HttpResponse { } /** Gets all the application security groups in a resource group. */ -export interface ApplicationSecurityGroupsListDefaultResponse - extends HttpResponse { +export interface ApplicationSecurityGroupsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -778,15 +738,13 @@ export interface AvailableDelegationsListDefaultResponse extends HttpResponse { } /** Gets all of the available subnet delegations for this resource group in this region. */ -export interface AvailableResourceGroupDelegationsList200Response - extends HttpResponse { +export interface AvailableResourceGroupDelegationsList200Response extends HttpResponse { status: "200"; body: AvailableDelegationsResultOutput; } /** Gets all of the available subnet delegations for this resource group in this region. */ -export interface AvailableResourceGroupDelegationsListDefaultResponse - extends HttpResponse { +export interface AvailableResourceGroupDelegationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -798,22 +756,19 @@ export interface AvailableServiceAliasesList200Response extends HttpResponse { } /** Gets all available service aliases for this subscription in this region. */ -export interface AvailableServiceAliasesListDefaultResponse - extends HttpResponse { +export interface AvailableServiceAliasesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all available service aliases for this resource group in this region. */ -export interface AvailableServiceAliasesListByResourceGroup200Response - extends HttpResponse { +export interface AvailableServiceAliasesListByResourceGroup200Response extends HttpResponse { status: "200"; body: AvailableServiceAliasesResultOutput; } /** Gets all available service aliases for this resource group in this region. */ -export interface AvailableServiceAliasesListByResourceGroupDefaultResponse - extends HttpResponse { +export interface AvailableServiceAliasesListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -864,8 +819,7 @@ export interface AzureFirewallsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates the specified Azure Firewall. */ -export interface AzureFirewallsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface AzureFirewallsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -912,21 +866,18 @@ export interface AzureFirewallsListAllDefaultResponse extends HttpResponse { } /** Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. */ -export interface AzureFirewallsListLearnedPrefixes200Response - extends HttpResponse { +export interface AzureFirewallsListLearnedPrefixes200Response extends HttpResponse { status: "200"; body: IPPrefixesListOutput; } /** Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. */ -export interface AzureFirewallsListLearnedPrefixes202Response - extends HttpResponse { +export interface AzureFirewallsListLearnedPrefixes202Response extends HttpResponse { status: "202"; } /** Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. */ -export interface AzureFirewallsListLearnedPrefixesDefaultResponse - extends HttpResponse { +export interface AzureFirewallsListLearnedPrefixesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -938,8 +889,7 @@ export interface AzureFirewallFqdnTagsListAll200Response extends HttpResponse { } /** Gets all the Azure Firewall FQDN Tags in a subscription. */ -export interface AzureFirewallFqdnTagsListAllDefaultResponse - extends HttpResponse { +export interface AzureFirewallFqdnTagsListAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -957,15 +907,13 @@ export interface WebCategoriesGetDefaultResponse extends HttpResponse { } /** Gets all the Azure Web Categories in a subscription. */ -export interface WebCategoriesListBySubscription200Response - extends HttpResponse { +export interface WebCategoriesListBySubscription200Response extends HttpResponse { status: "200"; body: AzureWebCategoryListResultOutput; } /** Gets all the Azure Web Categories in a subscription. */ -export interface WebCategoriesListBySubscriptionDefaultResponse - extends HttpResponse { +export interface WebCategoriesListBySubscriptionDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1016,8 +964,7 @@ export interface BastionHostsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates the specified Bastion Host. */ -export interface BastionHostsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface BastionHostsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1052,15 +999,13 @@ export interface BastionHostsListDefaultResponse extends HttpResponse { } /** Lists all Bastion Hosts in a resource group. */ -export interface BastionHostsListByResourceGroup200Response - extends HttpResponse { +export interface BastionHostsListByResourceGroup200Response extends HttpResponse { status: "200"; body: BastionHostListResultOutput; } /** Lists all Bastion Hosts in a resource group. */ -export interface BastionHostsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface BastionHostsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1093,8 +1038,7 @@ export interface DeleteBastionShareableLink202Response extends HttpResponse { } /** Deletes the Bastion Shareable Links for all the VMs specified in the request. */ -export interface DeleteBastionShareableLinkDefaultResponse - extends HttpResponse { +export interface DeleteBastionShareableLinkDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1165,15 +1109,13 @@ export interface ExpressRouteProviderPortDefaultResponse extends HttpResponse { } /** Lists active connectivity configurations in a network manager. */ -export interface ListActiveConnectivityConfigurations200Response - extends HttpResponse { +export interface ListActiveConnectivityConfigurations200Response extends HttpResponse { status: "200"; body: ActiveConnectivityConfigurationsListResultOutput; } /** Lists active connectivity configurations in a network manager. */ -export interface ListActiveConnectivityConfigurationsDefaultResponse - extends HttpResponse { +export interface ListActiveConnectivityConfigurationsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1185,8 +1127,7 @@ export interface ListActiveSecurityAdminRules200Response extends HttpResponse { } /** Lists active security admin rules in a network manager. */ -export interface ListActiveSecurityAdminRulesDefaultResponse - extends HttpResponse { +export interface ListActiveSecurityAdminRulesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1206,15 +1147,13 @@ export interface ListNetworkManagerEffectiveConnectivityConfigurationsDefaultRes } /** List all effective security admin rules applied on a virtual network. */ -export interface ListNetworkManagerEffectiveSecurityAdminRules200Response - extends HttpResponse { +export interface ListNetworkManagerEffectiveSecurityAdminRules200Response extends HttpResponse { status: "200"; body: NetworkManagerEffectiveSecurityAdminRulesListResultOutput; } /** List all effective security admin rules applied on a virtual network. */ -export interface ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse - extends HttpResponse { +export interface ListNetworkManagerEffectiveSecurityAdminRulesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1226,8 +1165,7 @@ export interface SupportedSecurityProviders200Response extends HttpResponse { } /** Gives the supported security providers for the virtual wan. */ -export interface SupportedSecurityProvidersDefaultResponse - extends HttpResponse { +export interface SupportedSecurityProvidersDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1281,8 +1219,7 @@ export interface NetworkInterfacesListCloudServiceNetworkInterfacesDefaultRespon } /** Get the specified network interface in a cloud service. */ -export interface NetworkInterfacesGetCloudServiceNetworkInterface200Response - extends HttpResponse { +export interface NetworkInterfacesGetCloudServiceNetworkInterface200Response extends HttpResponse { status: "200"; body: NetworkInterfaceOutput; } @@ -1328,22 +1265,19 @@ export interface NetworkInterfacesGetDefaultResponse extends HttpResponse { } /** Creates or updates a network interface. */ -export interface NetworkInterfacesCreateOrUpdate200Response - extends HttpResponse { +export interface NetworkInterfacesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: NetworkInterfaceOutput; } /** Creates or updates a network interface. */ -export interface NetworkInterfacesCreateOrUpdate201Response - extends HttpResponse { +export interface NetworkInterfacesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: NetworkInterfaceOutput; } /** Creates or updates a network interface. */ -export interface NetworkInterfacesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface NetworkInterfacesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1355,8 +1289,7 @@ export interface NetworkInterfacesUpdateTags200Response extends HttpResponse { } /** Updates a network interface tags. */ -export interface NetworkInterfacesUpdateTagsDefaultResponse - extends HttpResponse { +export interface NetworkInterfacesUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1386,21 +1319,18 @@ export interface NetworkInterfacesListDefaultResponse extends HttpResponse { } /** Gets all route tables applied to a network interface. */ -export interface NetworkInterfacesGetEffectiveRouteTable200Response - extends HttpResponse { +export interface NetworkInterfacesGetEffectiveRouteTable200Response extends HttpResponse { status: "200"; body: EffectiveRouteListResultOutput; } /** Gets all route tables applied to a network interface. */ -export interface NetworkInterfacesGetEffectiveRouteTable202Response - extends HttpResponse { +export interface NetworkInterfacesGetEffectiveRouteTable202Response extends HttpResponse { status: "202"; } /** Gets all route tables applied to a network interface. */ -export interface NetworkInterfacesGetEffectiveRouteTableDefaultResponse - extends HttpResponse { +export interface NetworkInterfacesGetEffectiveRouteTableDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1524,8 +1454,7 @@ export interface PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesD } /** Get the specified public IP address in a cloud service. */ -export interface PublicIPAddressesGetCloudServicePublicIPAddress200Response - extends HttpResponse { +export interface PublicIPAddressesGetCloudServicePublicIPAddress200Response extends HttpResponse { status: "200"; body: PublicIPAddressOutput; } @@ -1571,22 +1500,19 @@ export interface PublicIPAddressesGetDefaultResponse extends HttpResponse { } /** Creates or updates a static or dynamic public IP address. */ -export interface PublicIPAddressesCreateOrUpdate200Response - extends HttpResponse { +export interface PublicIPAddressesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: PublicIPAddressOutput; } /** Creates or updates a static or dynamic public IP address. */ -export interface PublicIPAddressesCreateOrUpdate201Response - extends HttpResponse { +export interface PublicIPAddressesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: PublicIPAddressOutput; } /** Creates or updates a static or dynamic public IP address. */ -export interface PublicIPAddressesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface PublicIPAddressesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1598,8 +1524,7 @@ export interface PublicIPAddressesUpdateTags200Response extends HttpResponse { } /** Updates public IP address tags. */ -export interface PublicIPAddressesUpdateTagsDefaultResponse - extends HttpResponse { +export interface PublicIPAddressesUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1629,21 +1554,18 @@ export interface PublicIPAddressesListDefaultResponse extends HttpResponse { } /** Gets the Ddos Protection Status of a Public IP Address */ -export interface PublicIPAddressesDdosProtectionStatus200Response - extends HttpResponse { +export interface PublicIPAddressesDdosProtectionStatus200Response extends HttpResponse { status: "200"; body: PublicIpDdosProtectionStatusResultOutput; } /** Gets the Ddos Protection Status of a Public IP Address */ -export interface PublicIPAddressesDdosProtectionStatus202Response - extends HttpResponse { +export interface PublicIPAddressesDdosProtectionStatus202Response extends HttpResponse { status: "202"; } /** Gets the Ddos Protection Status of a Public IP Address */ -export interface PublicIPAddressesDdosProtectionStatusDefaultResponse - extends HttpResponse { +export interface PublicIPAddressesDdosProtectionStatusDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1724,22 +1646,19 @@ export interface CustomIPPrefixesGetDefaultResponse extends HttpResponse { } /** Creates or updates a custom IP prefix. */ -export interface CustomIPPrefixesCreateOrUpdate200Response - extends HttpResponse { +export interface CustomIPPrefixesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: CustomIpPrefixOutput; } /** Creates or updates a custom IP prefix. */ -export interface CustomIPPrefixesCreateOrUpdate201Response - extends HttpResponse { +export interface CustomIPPrefixesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: CustomIpPrefixOutput; } /** Creates or updates a custom IP prefix. */ -export interface CustomIPPrefixesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface CustomIPPrefixesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1751,8 +1670,7 @@ export interface CustomIPPrefixesUpdateTags200Response extends HttpResponse { } /** Updates custom IP prefix tags. */ -export interface CustomIPPrefixesUpdateTagsDefaultResponse - extends HttpResponse { +export interface CustomIPPrefixesUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1815,22 +1733,19 @@ export interface DdosCustomPoliciesGetDefaultResponse extends HttpResponse { } /** Creates or updates a DDoS custom policy. */ -export interface DdosCustomPoliciesCreateOrUpdate200Response - extends HttpResponse { +export interface DdosCustomPoliciesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: DdosCustomPolicyOutput; } /** Creates or updates a DDoS custom policy. */ -export interface DdosCustomPoliciesCreateOrUpdate201Response - extends HttpResponse { +export interface DdosCustomPoliciesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: DdosCustomPolicyOutput; } /** Creates or updates a DDoS custom policy. */ -export interface DdosCustomPoliciesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface DdosCustomPoliciesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1842,8 +1757,7 @@ export interface DdosCustomPoliciesUpdateTags200Response extends HttpResponse { } /** Update a DDoS custom policy tags. */ -export interface DdosCustomPoliciesUpdateTagsDefaultResponse - extends HttpResponse { +export interface DdosCustomPoliciesUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1882,22 +1796,19 @@ export interface DdosProtectionPlansGetDefaultResponse extends HttpResponse { } /** Creates or updates a DDoS protection plan. */ -export interface DdosProtectionPlansCreateOrUpdate200Response - extends HttpResponse { +export interface DdosProtectionPlansCreateOrUpdate200Response extends HttpResponse { status: "200"; body: DdosProtectionPlanOutput; } /** Creates or updates a DDoS protection plan. */ -export interface DdosProtectionPlansCreateOrUpdate201Response - extends HttpResponse { +export interface DdosProtectionPlansCreateOrUpdate201Response extends HttpResponse { status: "201"; body: DdosProtectionPlanOutput; } /** Creates or updates a DDoS protection plan. */ -export interface DdosProtectionPlansCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface DdosProtectionPlansCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1909,8 +1820,7 @@ export interface DdosProtectionPlansUpdateTags200Response extends HttpResponse { } /** Update a DDoS protection plan tags. */ -export interface DdosProtectionPlansUpdateTagsDefaultResponse - extends HttpResponse { +export interface DdosProtectionPlansUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -1928,36 +1838,31 @@ export interface DdosProtectionPlansListDefaultResponse extends HttpResponse { } /** Gets all the DDoS protection plans in a resource group. */ -export interface DdosProtectionPlansListByResourceGroup200Response - extends HttpResponse { +export interface DdosProtectionPlansListByResourceGroup200Response extends HttpResponse { status: "200"; body: DdosProtectionPlanListResultOutput; } /** Gets all the DDoS protection plans in a resource group. */ -export interface DdosProtectionPlansListByResourceGroupDefaultResponse - extends HttpResponse { +export interface DdosProtectionPlansListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a DSCP Configuration. */ -export interface DscpConfigurationCreateOrUpdate200Response - extends HttpResponse { +export interface DscpConfigurationCreateOrUpdate200Response extends HttpResponse { status: "200"; body: DscpConfigurationOutput; } /** Creates or updates a DSCP Configuration. */ -export interface DscpConfigurationCreateOrUpdate201Response - extends HttpResponse { +export interface DscpConfigurationCreateOrUpdate201Response extends HttpResponse { status: "201"; body: DscpConfigurationOutput; } /** Creates or updates a DSCP Configuration. */ -export interface DscpConfigurationCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface DscpConfigurationCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2026,61 +1931,52 @@ export interface AvailableEndpointServicesList200Response extends HttpResponse { } /** List what values of endpoint services are available for use. */ -export interface AvailableEndpointServicesListDefaultResponse - extends HttpResponse { +export interface AvailableEndpointServicesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsDelete200Response - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsDelete202Response - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsDelete204Response - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsDeleteDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsGet200Response - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsGet200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitAuthorizationOutput; } /** Gets the specified authorization from the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsGetDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates an authorization in the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitAuthorizationOutput; } /** Creates or updates an authorization in the specified express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRouteCircuitAuthorizationOutput; } @@ -2093,191 +1989,163 @@ export interface ExpressRouteCircuitAuthorizationsCreateOrUpdateDefaultResponse } /** Gets all authorizations in an express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsList200Response - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsList200Response extends HttpResponse { status: "200"; body: AuthorizationListResultOutput; } /** Gets all authorizations in an express route circuit. */ -export interface ExpressRouteCircuitAuthorizationsListDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitAuthorizationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified peering from the specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsDelete200Response - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified peering from the specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsDelete202Response - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified peering from the specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsDelete204Response - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified peering from the specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsDeleteDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified peering for the express route circuit. */ -export interface ExpressRouteCircuitPeeringsGet200Response - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsGet200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitPeeringOutput; } /** Gets the specified peering for the express route circuit. */ -export interface ExpressRouteCircuitPeeringsGetDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a peering in the specified express route circuits. */ -export interface ExpressRouteCircuitPeeringsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitPeeringOutput; } /** Creates or updates a peering in the specified express route circuits. */ -export interface ExpressRouteCircuitPeeringsCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRouteCircuitPeeringOutput; } /** Creates or updates a peering in the specified express route circuits. */ -export interface ExpressRouteCircuitPeeringsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all peerings in a specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsList200Response - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsList200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitPeeringListResultOutput; } /** Gets all peerings in a specified express route circuit. */ -export interface ExpressRouteCircuitPeeringsListDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitPeeringsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsDelete200Response - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsDelete202Response - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsDelete204Response - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsDeleteDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsGet200Response - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsGet200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitConnectionOutput; } /** Gets the specified Express Route Circuit Connection from the specified express route circuit. */ -export interface ExpressRouteCircuitConnectionsGetDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a Express Route Circuit Connection in the specified express route circuits. */ -export interface ExpressRouteCircuitConnectionsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitConnectionOutput; } /** Creates or updates a Express Route Circuit Connection in the specified express route circuits. */ -export interface ExpressRouteCircuitConnectionsCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRouteCircuitConnectionOutput; } /** Creates or updates a Express Route Circuit Connection in the specified express route circuits. */ -export interface ExpressRouteCircuitConnectionsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all global reach connections associated with a private peering in an express route circuit. */ -export interface ExpressRouteCircuitConnectionsList200Response - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsList200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitConnectionListResultOutput; } /** Gets all global reach connections associated with a private peering in an express route circuit. */ -export interface ExpressRouteCircuitConnectionsListDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. */ -export interface PeerExpressRouteCircuitConnectionsGet200Response - extends HttpResponse { +export interface PeerExpressRouteCircuitConnectionsGet200Response extends HttpResponse { status: "200"; body: PeerExpressRouteCircuitConnectionOutput; } /** Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. */ -export interface PeerExpressRouteCircuitConnectionsGetDefaultResponse - extends HttpResponse { +export interface PeerExpressRouteCircuitConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all global reach peer connections associated with a private peering in an express route circuit. */ -export interface PeerExpressRouteCircuitConnectionsList200Response - extends HttpResponse { +export interface PeerExpressRouteCircuitConnectionsList200Response extends HttpResponse { status: "200"; body: PeerExpressRouteCircuitConnectionListResultOutput; } /** Gets all global reach peer connections associated with a private peering in an express route circuit. */ -export interface PeerExpressRouteCircuitConnectionsListDefaultResponse - extends HttpResponse { +export interface PeerExpressRouteCircuitConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2298,8 +2166,7 @@ export interface ExpressRouteCircuitsDelete204Response extends HttpResponse { } /** Deletes the specified express route circuit. */ -export interface ExpressRouteCircuitsDeleteDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2317,96 +2184,82 @@ export interface ExpressRouteCircuitsGetDefaultResponse extends HttpResponse { } /** Creates or updates an express route circuit. */ -export interface ExpressRouteCircuitsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRouteCircuitsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitOutput; } /** Creates or updates an express route circuit. */ -export interface ExpressRouteCircuitsCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRouteCircuitsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRouteCircuitOutput; } /** Creates or updates an express route circuit. */ -export interface ExpressRouteCircuitsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates an express route circuit tags. */ -export interface ExpressRouteCircuitsUpdateTags200Response - extends HttpResponse { +export interface ExpressRouteCircuitsUpdateTags200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitOutput; } /** Updates an express route circuit tags. */ -export interface ExpressRouteCircuitsUpdateTagsDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the currently advertised ARP table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListArpTable200Response - extends HttpResponse { +export interface ExpressRouteCircuitsListArpTable200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitsArpTableListResultOutput; } /** Gets the currently advertised ARP table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListArpTable202Response - extends HttpResponse { +export interface ExpressRouteCircuitsListArpTable202Response extends HttpResponse { status: "202"; } /** Gets the currently advertised ARP table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListArpTableDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsListArpTableDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the currently advertised routes table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTable200Response - extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTable200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitsRoutesTableListResultOutput; } /** Gets the currently advertised routes table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTable202Response - extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTable202Response extends HttpResponse { status: "202"; } /** Gets the currently advertised routes table associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTableDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTableDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the currently advertised routes table summary associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTableSummary200Response - extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTableSummary200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitsRoutesTableSummaryListResultOutput; } /** Gets the currently advertised routes table summary associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTableSummary202Response - extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTableSummary202Response extends HttpResponse { status: "202"; } /** Gets the currently advertised routes table summary associated with the express route circuit in a resource group. */ -export interface ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsListRoutesTableSummaryDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2418,22 +2271,19 @@ export interface ExpressRouteCircuitsGetStats200Response extends HttpResponse { } /** Gets all the stats from an express route circuit in a resource group. */ -export interface ExpressRouteCircuitsGetStatsDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsGetStatsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all stats from an express route circuit in a resource group. */ -export interface ExpressRouteCircuitsGetPeeringStats200Response - extends HttpResponse { +export interface ExpressRouteCircuitsGetPeeringStats200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitStatsOutput; } /** Gets all stats from an express route circuit in a resource group. */ -export interface ExpressRouteCircuitsGetPeeringStatsDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsGetPeeringStatsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2457,43 +2307,37 @@ export interface ExpressRouteCircuitsListAll200Response extends HttpResponse { } /** Gets all the express route circuits in a subscription. */ -export interface ExpressRouteCircuitsListAllDefaultResponse - extends HttpResponse { +export interface ExpressRouteCircuitsListAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the available express route service providers. */ -export interface ExpressRouteServiceProvidersList200Response - extends HttpResponse { +export interface ExpressRouteServiceProvidersList200Response extends HttpResponse { status: "200"; body: ExpressRouteServiceProviderListResultOutput; } /** Gets all the available express route service providers. */ -export interface ExpressRouteServiceProvidersListDefaultResponse - extends HttpResponse { +export interface ExpressRouteServiceProvidersListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves all the ExpressRouteCrossConnections in a subscription. */ -export interface ExpressRouteCrossConnectionsList200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsList200Response extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionListResultOutput; } /** Retrieves all the ExpressRouteCrossConnections in a subscription. */ -export interface ExpressRouteCrossConnectionsListDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves all the ExpressRouteCrossConnections in a resource group. */ -export interface ExpressRouteCrossConnectionsListByResourceGroup200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsListByResourceGroup200Response extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionListResultOutput; } @@ -2506,63 +2350,54 @@ export interface ExpressRouteCrossConnectionsListByResourceGroupDefaultResponse } /** Gets details about the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionsGet200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsGet200Response extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionOutput; } /** Gets details about the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionsGetDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Update the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionOutput; } /** Update the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates an express route cross connection tags. */ -export interface ExpressRouteCrossConnectionsUpdateTags200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsUpdateTags200Response extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionOutput; } /** Updates an express route cross connection tags. */ -export interface ExpressRouteCrossConnectionsUpdateTagsDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the currently advertised ARP table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListArpTable200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsListArpTable200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitsArpTableListResultOutput; } /** Gets the currently advertised ARP table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListArpTable202Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsListArpTable202Response extends HttpResponse { status: "202"; } /** Gets the currently advertised ARP table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListArpTableDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionsListArpTableDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2588,88 +2423,75 @@ export interface ExpressRouteCrossConnectionsListRoutesTableSummaryDefaultRespon } /** Gets the currently advertised routes table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListRoutesTable200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsListRoutesTable200Response extends HttpResponse { status: "200"; body: ExpressRouteCircuitsRoutesTableListResultOutput; } /** Gets the currently advertised routes table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListRoutesTable202Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionsListRoutesTable202Response extends HttpResponse { status: "202"; } /** Gets the currently advertised routes table associated with the express route cross connection in a resource group. */ -export interface ExpressRouteCrossConnectionsListRoutesTableDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionsListRoutesTableDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all peerings in a specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsList200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsList200Response extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionPeeringListOutput; } /** Gets all peerings in a specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsListDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified peering from the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsDelete200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified peering from the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsDelete202Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified peering from the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsDelete204Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified peering from the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsDeleteDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified peering for the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsGet200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsGet200Response extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionPeeringOutput; } /** Gets the specified peering for the ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsGetDefaultResponse - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a peering in the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRouteCrossConnectionPeeringOutput; } /** Creates or updates a peering in the specified ExpressRouteCrossConnection. */ -export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRouteCrossConnectionPeeringOutput; } @@ -2682,15 +2504,13 @@ export interface ExpressRouteCrossConnectionPeeringsCreateOrUpdateDefaultRespons } /** Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. */ -export interface ExpressRoutePortsLocationsList200Response - extends HttpResponse { +export interface ExpressRoutePortsLocationsList200Response extends HttpResponse { status: "200"; body: ExpressRoutePortsLocationListResultOutput; } /** Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. */ -export interface ExpressRoutePortsLocationsListDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortsLocationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2702,8 +2522,7 @@ export interface ExpressRoutePortsLocationsGet200Response extends HttpResponse { } /** Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. */ -export interface ExpressRoutePortsLocationsGetDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortsLocationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2742,22 +2561,19 @@ export interface ExpressRoutePortsGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified ExpressRoutePort resource. */ -export interface ExpressRoutePortsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRoutePortsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRoutePortOutput; } /** Creates or updates the specified ExpressRoutePort resource. */ -export interface ExpressRoutePortsCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRoutePortsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRoutePortOutput; } /** Creates or updates the specified ExpressRoutePort resource. */ -export interface ExpressRoutePortsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2769,22 +2585,19 @@ export interface ExpressRoutePortsUpdateTags200Response extends HttpResponse { } /** Update ExpressRoutePort tags. */ -export interface ExpressRoutePortsUpdateTagsDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** List all the ExpressRoutePort resources in the specified resource group. */ -export interface ExpressRoutePortsListByResourceGroup200Response - extends HttpResponse { +export interface ExpressRoutePortsListByResourceGroup200Response extends HttpResponse { status: "200"; body: ExpressRoutePortListResultOutput; } /** List all the ExpressRoutePort resources in the specified resource group. */ -export interface ExpressRoutePortsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2808,8 +2621,7 @@ export interface ExpressRoutePortsGenerateLOA200Response extends HttpResponse { } /** Generate a letter of authorization for the requested ExpressRoutePort resource. */ -export interface ExpressRoutePortsGenerateLOADefaultResponse - extends HttpResponse { +export interface ExpressRoutePortsGenerateLOADefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2839,89 +2651,76 @@ export interface ExpressRouteLinksListDefaultResponse extends HttpResponse { } /** Deletes the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsDelete200Response - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsDelete202Response - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsDelete204Response - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsDeleteDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsGet200Response - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsGet200Response extends HttpResponse { status: "200"; body: ExpressRoutePortAuthorizationOutput; } /** Gets the specified authorization from the specified express route port. */ -export interface ExpressRoutePortAuthorizationsGetDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates an authorization in the specified express route port. */ -export interface ExpressRoutePortAuthorizationsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRoutePortAuthorizationOutput; } /** Creates or updates an authorization in the specified express route port. */ -export interface ExpressRoutePortAuthorizationsCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRoutePortAuthorizationOutput; } /** Creates or updates an authorization in the specified express route port. */ -export interface ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all authorizations in an express route port. */ -export interface ExpressRoutePortAuthorizationsList200Response - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsList200Response extends HttpResponse { status: "200"; body: ExpressRoutePortAuthorizationListResultOutput; } /** Gets all authorizations in an express route port. */ -export interface ExpressRoutePortAuthorizationsListDefaultResponse - extends HttpResponse { +export interface ExpressRoutePortAuthorizationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves all the ExpressRouteProviderPorts in a subscription. */ -export interface ExpressRouteProviderPortsLocationList200Response - extends HttpResponse { +export interface ExpressRouteProviderPortsLocationList200Response extends HttpResponse { status: "200"; body: ExpressRouteProviderPortListResultOutput; } /** Retrieves all the ExpressRouteProviderPorts in a subscription. */ -export interface ExpressRouteProviderPortsLocationListDefaultResponse - extends HttpResponse { +export interface ExpressRouteProviderPortsLocationListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2960,22 +2759,19 @@ export interface FirewallPoliciesGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified Firewall Policy. */ -export interface FirewallPoliciesCreateOrUpdate200Response - extends HttpResponse { +export interface FirewallPoliciesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: FirewallPolicyOutput; } /** Creates or updates the specified Firewall Policy. */ -export interface FirewallPoliciesCreateOrUpdate201Response - extends HttpResponse { +export interface FirewallPoliciesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: FirewallPolicyOutput; } /** Creates or updates the specified Firewall Policy. */ -export interface FirewallPoliciesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface FirewallPoliciesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -2987,8 +2783,7 @@ export interface FirewallPoliciesUpdateTags200Response extends HttpResponse { } /** Updates tags of a Azure Firewall Policy resource. */ -export interface FirewallPoliciesUpdateTagsDefaultResponse - extends HttpResponse { +export interface FirewallPoliciesUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3018,54 +2813,46 @@ export interface FirewallPoliciesListAllDefaultResponse extends HttpResponse { } /** Deletes the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsDelete200Response - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsDelete202Response - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsDelete204Response - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsDeleteDefaultResponse - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsGet200Response - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsGet200Response extends HttpResponse { status: "200"; body: FirewallPolicyRuleCollectionGroupOutput; } /** Gets the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsGetDefaultResponse - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdate200Response - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: FirewallPolicyRuleCollectionGroupOutput; } /** Creates or updates the specified FirewallPolicyRuleCollectionGroup. */ -export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdate201Response - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: FirewallPolicyRuleCollectionGroupOutput; } @@ -3078,99 +2865,85 @@ export interface FirewallPolicyRuleCollectionGroupsCreateOrUpdateDefaultResponse } /** Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. */ -export interface FirewallPolicyRuleCollectionGroupsList200Response - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsList200Response extends HttpResponse { status: "200"; body: FirewallPolicyRuleCollectionGroupListResultOutput; } /** Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. */ -export interface FirewallPolicyRuleCollectionGroupsListDefaultResponse - extends HttpResponse { +export interface FirewallPolicyRuleCollectionGroupsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves the current status of IDPS signatures for the relevant policy */ -export interface FirewallPolicyIdpsSignaturesList200Response - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesList200Response extends HttpResponse { status: "200"; body: QueryResultsOutput; } /** Retrieves the current status of IDPS signatures for the relevant policy */ -export interface FirewallPolicyIdpsSignaturesListDefaultResponse - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Will update the status of policy's signature overrides for IDPS */ -export interface FirewallPolicyIdpsSignaturesOverridesPatch200Response - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesPatch200Response extends HttpResponse { status: "200"; body: SignaturesOverridesOutput; } /** Will update the status of policy's signature overrides for IDPS */ -export interface FirewallPolicyIdpsSignaturesOverridesPatchDefaultResponse - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesPatchDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Will override/create a new signature overrides for the policy's IDPS */ -export interface FirewallPolicyIdpsSignaturesOverridesPut200Response - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesPut200Response extends HttpResponse { status: "200"; body: SignaturesOverridesOutput; } /** Will override/create a new signature overrides for the policy's IDPS */ -export interface FirewallPolicyIdpsSignaturesOverridesPutDefaultResponse - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesPutDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Returns all signatures overrides for a specific policy. */ -export interface FirewallPolicyIdpsSignaturesOverridesGet200Response - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesGet200Response extends HttpResponse { status: "200"; body: SignaturesOverridesOutput; } /** Returns all signatures overrides for a specific policy. */ -export interface FirewallPolicyIdpsSignaturesOverridesGetDefaultResponse - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Returns all signatures overrides objects for a specific policy as a list containing a single value. */ -export interface FirewallPolicyIdpsSignaturesOverridesList200Response - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesList200Response extends HttpResponse { status: "200"; body: SignaturesOverridesListOutput; } /** Returns all signatures overrides objects for a specific policy as a list containing a single value. */ -export interface FirewallPolicyIdpsSignaturesOverridesListDefaultResponse - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesOverridesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves the current filter values for the signatures overrides */ -export interface FirewallPolicyIdpsSignaturesFilterValuesList200Response - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesFilterValuesList200Response extends HttpResponse { status: "200"; body: SignatureOverridesFilterValuesResponseOutput; } /** Retrieves the current filter values for the signatures overrides */ -export interface FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse - extends HttpResponse { +export interface FirewallPolicyIdpsSignaturesFilterValuesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3221,8 +2994,7 @@ export interface IpAllocationsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates an IpAllocation in the specified resource group. */ -export interface IpAllocationsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface IpAllocationsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3252,15 +3024,13 @@ export interface IpAllocationsListDefaultResponse extends HttpResponse { } /** Gets all IpAllocations in a resource group. */ -export interface IpAllocationsListByResourceGroup200Response - extends HttpResponse { +export interface IpAllocationsListByResourceGroup200Response extends HttpResponse { status: "200"; body: IpAllocationListResultOutput; } /** Gets all IpAllocations in a resource group. */ -export interface IpAllocationsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface IpAllocationsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3335,8 +3105,7 @@ export interface IpGroupsListByResourceGroup200Response extends HttpResponse { } /** Gets all IpGroups in a resource group. */ -export interface IpGroupsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface IpGroupsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -3399,8 +3168,7 @@ export interface LoadBalancersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a load balancer. */ -export interface LoadBalancersCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface LoadBalancersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3442,143 +3210,122 @@ export interface LoadBalancersListDefaultResponse extends HttpResponse { } /** Swaps VIPs between two load balancers. */ -export interface LoadBalancersSwapPublicIpAddresses200Response - extends HttpResponse { +export interface LoadBalancersSwapPublicIpAddresses200Response extends HttpResponse { status: "200"; } /** Swaps VIPs between two load balancers. */ -export interface LoadBalancersSwapPublicIpAddresses202Response - extends HttpResponse { +export interface LoadBalancersSwapPublicIpAddresses202Response extends HttpResponse { status: "202"; } /** Swaps VIPs between two load balancers. */ -export interface LoadBalancersSwapPublicIpAddressesDefaultResponse - extends HttpResponse { +export interface LoadBalancersSwapPublicIpAddressesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** List of inbound NAT rule port mappings. */ -export interface LoadBalancersListInboundNatRulePortMappings200Response - extends HttpResponse { +export interface LoadBalancersListInboundNatRulePortMappings200Response extends HttpResponse { status: "200"; body: BackendAddressInboundNatRulePortMappingsOutput; } /** List of inbound NAT rule port mappings. */ -export interface LoadBalancersListInboundNatRulePortMappings202Response - extends HttpResponse { +export interface LoadBalancersListInboundNatRulePortMappings202Response extends HttpResponse { status: "202"; body: BackendAddressInboundNatRulePortMappingsOutput; } /** List of inbound NAT rule port mappings. */ -export interface LoadBalancersListInboundNatRulePortMappingsDefaultResponse - extends HttpResponse { +export interface LoadBalancersListInboundNatRulePortMappingsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the load balancer backed address pools. */ -export interface LoadBalancerBackendAddressPoolsList200Response - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsList200Response extends HttpResponse { status: "200"; body: LoadBalancerBackendAddressPoolListResultOutput; } /** Gets all the load balancer backed address pools. */ -export interface LoadBalancerBackendAddressPoolsListDefaultResponse - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsGet200Response - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsGet200Response extends HttpResponse { status: "200"; body: BackendAddressPoolOutput; } /** Gets load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsGetDefaultResponse - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsCreateOrUpdate200Response - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: BackendAddressPoolOutput; } /** Creates or updates a load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsCreateOrUpdate201Response - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: BackendAddressPoolOutput; } /** Creates or updates a load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsDelete200Response - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsDelete202Response - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsDelete204Response - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified load balancer backend address pool. */ -export interface LoadBalancerBackendAddressPoolsDeleteDefaultResponse - extends HttpResponse { +export interface LoadBalancerBackendAddressPoolsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the load balancer frontend IP configurations. */ -export interface LoadBalancerFrontendIPConfigurationsList200Response - extends HttpResponse { +export interface LoadBalancerFrontendIPConfigurationsList200Response extends HttpResponse { status: "200"; body: LoadBalancerFrontendIPConfigurationListResultOutput; } /** Gets all the load balancer frontend IP configurations. */ -export interface LoadBalancerFrontendIPConfigurationsListDefaultResponse - extends HttpResponse { +export interface LoadBalancerFrontendIPConfigurationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets load balancer frontend IP configuration. */ -export interface LoadBalancerFrontendIPConfigurationsGet200Response - extends HttpResponse { +export interface LoadBalancerFrontendIPConfigurationsGet200Response extends HttpResponse { status: "200"; body: FrontendIPConfigurationOutput; } /** Gets load balancer frontend IP configuration. */ -export interface LoadBalancerFrontendIPConfigurationsGetDefaultResponse - extends HttpResponse { +export interface LoadBalancerFrontendIPConfigurationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3641,36 +3388,31 @@ export interface InboundNatRulesCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a load balancer inbound NAT rule. */ -export interface InboundNatRulesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface InboundNatRulesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the load balancing rules in a load balancer. */ -export interface LoadBalancerLoadBalancingRulesList200Response - extends HttpResponse { +export interface LoadBalancerLoadBalancingRulesList200Response extends HttpResponse { status: "200"; body: LoadBalancerLoadBalancingRuleListResultOutput; } /** Gets all the load balancing rules in a load balancer. */ -export interface LoadBalancerLoadBalancingRulesListDefaultResponse - extends HttpResponse { +export interface LoadBalancerLoadBalancingRulesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified load balancer load balancing rule. */ -export interface LoadBalancerLoadBalancingRulesGet200Response - extends HttpResponse { +export interface LoadBalancerLoadBalancingRulesGet200Response extends HttpResponse { status: "200"; body: LoadBalancingRuleOutput; } /** Gets the specified load balancer load balancing rule. */ -export interface LoadBalancerLoadBalancingRulesGetDefaultResponse - extends HttpResponse { +export interface LoadBalancerLoadBalancingRulesGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3682,8 +3424,7 @@ export interface LoadBalancerOutboundRulesList200Response extends HttpResponse { } /** Gets all the outbound rules in a load balancer. */ -export interface LoadBalancerOutboundRulesListDefaultResponse - extends HttpResponse { +export interface LoadBalancerOutboundRulesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3695,22 +3436,19 @@ export interface LoadBalancerOutboundRulesGet200Response extends HttpResponse { } /** Gets the specified load balancer outbound rule. */ -export interface LoadBalancerOutboundRulesGetDefaultResponse - extends HttpResponse { +export interface LoadBalancerOutboundRulesGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets associated load balancer network interfaces. */ -export interface LoadBalancerNetworkInterfacesList200Response - extends HttpResponse { +export interface LoadBalancerNetworkInterfacesList200Response extends HttpResponse { status: "200"; body: NetworkInterfaceListResultOutput; } /** Gets associated load balancer network interfaces. */ -export interface LoadBalancerNetworkInterfacesListDefaultResponse - extends HttpResponse { +export interface LoadBalancerNetworkInterfacesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3832,96 +3570,82 @@ export interface NatGatewaysListDefaultResponse extends HttpResponse { } /** Get all ip configurations in a network interface. */ -export interface NetworkInterfaceIPConfigurationsList200Response - extends HttpResponse { +export interface NetworkInterfaceIPConfigurationsList200Response extends HttpResponse { status: "200"; body: NetworkInterfaceIPConfigurationListResultOutput; } /** Get all ip configurations in a network interface. */ -export interface NetworkInterfaceIPConfigurationsListDefaultResponse - extends HttpResponse { +export interface NetworkInterfaceIPConfigurationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the specified network interface ip configuration. */ -export interface NetworkInterfaceIPConfigurationsGet200Response - extends HttpResponse { +export interface NetworkInterfaceIPConfigurationsGet200Response extends HttpResponse { status: "200"; body: NetworkInterfaceIPConfigurationOutput; } /** Gets the specified network interface ip configuration. */ -export interface NetworkInterfaceIPConfigurationsGetDefaultResponse - extends HttpResponse { +export interface NetworkInterfaceIPConfigurationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** List all load balancers in a network interface. */ -export interface NetworkInterfaceLoadBalancersList200Response - extends HttpResponse { +export interface NetworkInterfaceLoadBalancersList200Response extends HttpResponse { status: "200"; body: NetworkInterfaceLoadBalancerListResultOutput; } /** List all load balancers in a network interface. */ -export interface NetworkInterfaceLoadBalancersListDefaultResponse - extends HttpResponse { +export interface NetworkInterfaceLoadBalancersListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified tap configuration from the NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsDelete200Response - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified tap configuration from the NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsDelete202Response - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified tap configuration from the NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsDelete204Response - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified tap configuration from the NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsDeleteDefaultResponse - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Get the specified tap configuration on a network interface. */ -export interface NetworkInterfaceTapConfigurationsGet200Response - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsGet200Response extends HttpResponse { status: "200"; body: NetworkInterfaceTapConfigurationOutput; } /** Get the specified tap configuration on a network interface. */ -export interface NetworkInterfaceTapConfigurationsGetDefaultResponse - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a Tap configuration in the specified NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsCreateOrUpdate200Response - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: NetworkInterfaceTapConfigurationOutput; } /** Creates or updates a Tap configuration in the specified NetworkInterface. */ -export interface NetworkInterfaceTapConfigurationsCreateOrUpdate201Response - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: NetworkInterfaceTapConfigurationOutput; } @@ -3934,15 +3658,13 @@ export interface NetworkInterfaceTapConfigurationsCreateOrUpdateDefaultResponse } /** Get all Tap configurations in a network interface. */ -export interface NetworkInterfaceTapConfigurationsList200Response - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsList200Response extends HttpResponse { status: "200"; body: NetworkInterfaceTapConfigurationListResultOutput; } /** Get all Tap configurations in a network interface. */ -export interface NetworkInterfaceTapConfigurationsListDefaultResponse - extends HttpResponse { +export interface NetworkInterfaceTapConfigurationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -3972,8 +3694,7 @@ export interface NetworkManagersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a Network Manager. */ -export interface NetworkManagersCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface NetworkManagersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4018,15 +3739,13 @@ export interface NetworkManagersPatchDefaultResponse extends HttpResponse { } /** List all network managers in a subscription. */ -export interface NetworkManagersListBySubscription200Response - extends HttpResponse { +export interface NetworkManagersListBySubscription200Response extends HttpResponse { status: "200"; body: NetworkManagerListResultOutput; } /** List all network managers in a subscription. */ -export interface NetworkManagersListBySubscriptionDefaultResponse - extends HttpResponse { +export interface NetworkManagersListBySubscriptionDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4068,15 +3787,13 @@ export interface NetworkManagerCommitsPostDefaultResponse extends HttpResponse { } /** Post to List of Network Manager Deployment Status. */ -export interface NetworkManagerDeploymentStatusList200Response - extends HttpResponse { +export interface NetworkManagerDeploymentStatusList200Response extends HttpResponse { status: "200"; body: NetworkManagerDeploymentStatusListResultOutput; } /** Post to List of Network Manager Deployment Status. */ -export interface NetworkManagerDeploymentStatusListDefaultResponse - extends HttpResponse { +export interface NetworkManagerDeploymentStatusListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4103,48 +3820,41 @@ export interface SubscriptionNetworkManagerConnectionsCreateOrUpdateDefaultRespo } /** Get a specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsGet200Response - extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsGet200Response extends HttpResponse { status: "200"; body: NetworkManagerConnectionOutput; } /** Get a specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsGetDefaultResponse - extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Delete specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsDelete200Response - extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsDelete200Response extends HttpResponse { status: "200"; } /** Delete specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsDelete204Response - extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsDelete204Response extends HttpResponse { status: "204"; } /** Delete specified connection created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsDeleteDefaultResponse - extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** List all network manager connections created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsList200Response - extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsList200Response extends HttpResponse { status: "200"; body: NetworkManagerConnectionListResultOutput; } /** List all network manager connections created by this subscription. */ -export interface SubscriptionNetworkManagerConnectionsListDefaultResponse - extends HttpResponse { +export interface SubscriptionNetworkManagerConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4171,28 +3881,24 @@ export interface ManagementGroupNetworkManagerConnectionsCreateOrUpdateDefaultRe } /** Get a specified connection created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsGet200Response - extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsGet200Response extends HttpResponse { status: "200"; body: NetworkManagerConnectionOutput; } /** Get a specified connection created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsGetDefaultResponse - extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Delete specified pending connection created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsDelete200Response - extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsDelete200Response extends HttpResponse { status: "200"; } /** Delete specified pending connection created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsDelete204Response - extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsDelete204Response extends HttpResponse { status: "204"; } @@ -4204,15 +3910,13 @@ export interface ManagementGroupNetworkManagerConnectionsDeleteDefaultResponse } /** List all network manager connections created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsList200Response - extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsList200Response extends HttpResponse { status: "200"; body: NetworkManagerConnectionListResultOutput; } /** List all network manager connections created by this management group. */ -export interface ManagementGroupNetworkManagerConnectionsListDefaultResponse - extends HttpResponse { +export interface ManagementGroupNetworkManagerConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4224,36 +3928,31 @@ export interface ConnectivityConfigurationsGet200Response extends HttpResponse { } /** Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name */ -export interface ConnectivityConfigurationsGetDefaultResponse - extends HttpResponse { +export interface ConnectivityConfigurationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates/Updates a new network manager connectivity configuration */ -export interface ConnectivityConfigurationsCreateOrUpdate200Response - extends HttpResponse { +export interface ConnectivityConfigurationsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ConnectivityConfigurationOutput; } /** Creates/Updates a new network manager connectivity configuration */ -export interface ConnectivityConfigurationsCreateOrUpdate201Response - extends HttpResponse { +export interface ConnectivityConfigurationsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ConnectivityConfigurationOutput; } /** Creates/Updates a new network manager connectivity configuration */ -export interface ConnectivityConfigurationsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ConnectivityConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name */ -export interface ConnectivityConfigurationsDelete200Response - extends HttpResponse { +export interface ConnectivityConfigurationsDelete200Response extends HttpResponse { status: "200"; } @@ -4263,35 +3962,30 @@ export interface ConnectivityConfigurationsDelete202Headers { } /** Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name */ -export interface ConnectivityConfigurationsDelete202Response - extends HttpResponse { +export interface ConnectivityConfigurationsDelete202Response extends HttpResponse { status: "202"; headers: RawHttpHeaders & ConnectivityConfigurationsDelete202Headers; } /** Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name */ -export interface ConnectivityConfigurationsDelete204Response - extends HttpResponse { +export interface ConnectivityConfigurationsDelete204Response extends HttpResponse { status: "204"; } /** Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name */ -export interface ConnectivityConfigurationsDeleteDefaultResponse - extends HttpResponse { +export interface ConnectivityConfigurationsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all the network manager connectivity configuration in a specified network manager. */ -export interface ConnectivityConfigurationsList200Response - extends HttpResponse { +export interface ConnectivityConfigurationsList200Response extends HttpResponse { status: "200"; body: ConnectivityConfigurationListResultOutput; } /** Lists all the network manager connectivity configuration in a specified network manager. */ -export interface ConnectivityConfigurationsListDefaultResponse - extends HttpResponse { +export interface ConnectivityConfigurationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4333,8 +4027,7 @@ export interface NetworkGroupsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a network group. */ -export interface NetworkGroupsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface NetworkGroupsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4403,8 +4096,7 @@ export interface StaticMembersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a static member. */ -export interface StaticMembersCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface StaticMembersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4438,22 +4130,19 @@ export interface StaticMembersListDefaultResponse extends HttpResponse { } /** Creates or updates scope connection from Network Manager */ -export interface ScopeConnectionsCreateOrUpdate200Response - extends HttpResponse { +export interface ScopeConnectionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ScopeConnectionOutput; } /** Creates or updates scope connection from Network Manager */ -export interface ScopeConnectionsCreateOrUpdate201Response - extends HttpResponse { +export interface ScopeConnectionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ScopeConnectionOutput; } /** Creates or updates scope connection from Network Manager */ -export interface ScopeConnectionsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ScopeConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4499,57 +4188,49 @@ export interface ScopeConnectionsListDefaultResponse extends HttpResponse { } /** Lists all the network manager security admin configurations in a network manager, in a paginated format. */ -export interface SecurityAdminConfigurationsList200Response - extends HttpResponse { +export interface SecurityAdminConfigurationsList200Response extends HttpResponse { status: "200"; body: SecurityAdminConfigurationListResultOutput; } /** Lists all the network manager security admin configurations in a network manager, in a paginated format. */ -export interface SecurityAdminConfigurationsListDefaultResponse - extends HttpResponse { +export interface SecurityAdminConfigurationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsGet200Response - extends HttpResponse { +export interface SecurityAdminConfigurationsGet200Response extends HttpResponse { status: "200"; body: SecurityAdminConfigurationOutput; } /** Retrieves a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsGetDefaultResponse - extends HttpResponse { +export interface SecurityAdminConfigurationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsCreateOrUpdate200Response - extends HttpResponse { +export interface SecurityAdminConfigurationsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: SecurityAdminConfigurationOutput; } /** Creates or updates a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsCreateOrUpdate201Response - extends HttpResponse { +export interface SecurityAdminConfigurationsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: SecurityAdminConfigurationOutput; } /** Creates or updates a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface SecurityAdminConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsDelete200Response - extends HttpResponse { +export interface SecurityAdminConfigurationsDelete200Response extends HttpResponse { status: "200"; } @@ -4559,21 +4240,18 @@ export interface SecurityAdminConfigurationsDelete202Headers { } /** Deletes a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsDelete202Response - extends HttpResponse { +export interface SecurityAdminConfigurationsDelete202Response extends HttpResponse { status: "202"; headers: RawHttpHeaders & SecurityAdminConfigurationsDelete202Headers; } /** Deletes a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsDelete204Response - extends HttpResponse { +export interface SecurityAdminConfigurationsDelete204Response extends HttpResponse { status: "204"; } /** Deletes a network manager security admin configuration. */ -export interface SecurityAdminConfigurationsDeleteDefaultResponse - extends HttpResponse { +export interface SecurityAdminConfigurationsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4603,22 +4281,19 @@ export interface AdminRuleCollectionsGetDefaultResponse extends HttpResponse { } /** Creates or updates an admin rule collection. */ -export interface AdminRuleCollectionsCreateOrUpdate200Response - extends HttpResponse { +export interface AdminRuleCollectionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: AdminRuleCollectionOutput; } /** Creates or updates an admin rule collection. */ -export interface AdminRuleCollectionsCreateOrUpdate201Response - extends HttpResponse { +export interface AdminRuleCollectionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: AdminRuleCollectionOutput; } /** Creates or updates an admin rule collection. */ -export interface AdminRuleCollectionsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface AdminRuleCollectionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4645,8 +4320,7 @@ export interface AdminRuleCollectionsDelete204Response extends HttpResponse { } /** Deletes an admin rule collection. */ -export interface AdminRuleCollectionsDeleteDefaultResponse - extends HttpResponse { +export interface AdminRuleCollectionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4766,8 +4440,7 @@ export interface NetworkProfilesCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a network profile. */ -export interface NetworkProfilesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface NetworkProfilesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4824,8 +4497,7 @@ export interface NetworkSecurityGroupsDelete204Response extends HttpResponse { } /** Deletes the specified network security group. */ -export interface NetworkSecurityGroupsDeleteDefaultResponse - extends HttpResponse { +export interface NetworkSecurityGroupsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4843,36 +4515,31 @@ export interface NetworkSecurityGroupsGetDefaultResponse extends HttpResponse { } /** Creates or updates a network security group in the specified resource group. */ -export interface NetworkSecurityGroupsCreateOrUpdate200Response - extends HttpResponse { +export interface NetworkSecurityGroupsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: NetworkSecurityGroupOutput; } /** Creates or updates a network security group in the specified resource group. */ -export interface NetworkSecurityGroupsCreateOrUpdate201Response - extends HttpResponse { +export interface NetworkSecurityGroupsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: NetworkSecurityGroupOutput; } /** Creates or updates a network security group in the specified resource group. */ -export interface NetworkSecurityGroupsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface NetworkSecurityGroupsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a network security group tags. */ -export interface NetworkSecurityGroupsUpdateTags200Response - extends HttpResponse { +export interface NetworkSecurityGroupsUpdateTags200Response extends HttpResponse { status: "200"; body: NetworkSecurityGroupOutput; } /** Updates a network security group tags. */ -export interface NetworkSecurityGroupsUpdateTagsDefaultResponse - extends HttpResponse { +export interface NetworkSecurityGroupsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4884,8 +4551,7 @@ export interface NetworkSecurityGroupsListAll200Response extends HttpResponse { } /** Gets all network security groups in a subscription. */ -export interface NetworkSecurityGroupsListAllDefaultResponse - extends HttpResponse { +export interface NetworkSecurityGroupsListAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4948,8 +4614,7 @@ export interface SecurityRulesCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a security rule in the specified network security group. */ -export interface SecurityRulesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface SecurityRulesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -4991,26 +4656,22 @@ export interface DefaultSecurityRulesGetDefaultResponse extends HttpResponse { } /** Deletes the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesDelete200Response - extends HttpResponse { +export interface NetworkVirtualAppliancesDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesDelete202Response - extends HttpResponse { +export interface NetworkVirtualAppliancesDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesDelete204Response - extends HttpResponse { +export interface NetworkVirtualAppliancesDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesDeleteDefaultResponse - extends HttpResponse { +export interface NetworkVirtualAppliancesDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5022,57 +4683,49 @@ export interface NetworkVirtualAppliancesGet200Response extends HttpResponse { } /** Gets the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesGetDefaultResponse - extends HttpResponse { +export interface NetworkVirtualAppliancesGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesUpdateTags200Response - extends HttpResponse { +export interface NetworkVirtualAppliancesUpdateTags200Response extends HttpResponse { status: "200"; body: NetworkVirtualApplianceOutput; } /** Updates a Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesUpdateTagsDefaultResponse - extends HttpResponse { +export interface NetworkVirtualAppliancesUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesCreateOrUpdate200Response - extends HttpResponse { +export interface NetworkVirtualAppliancesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: NetworkVirtualApplianceOutput; } /** Creates or updates the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesCreateOrUpdate201Response - extends HttpResponse { +export interface NetworkVirtualAppliancesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: NetworkVirtualApplianceOutput; } /** Creates or updates the specified Network Virtual Appliance. */ -export interface NetworkVirtualAppliancesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface NetworkVirtualAppliancesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all Network Virtual Appliances in a resource group. */ -export interface NetworkVirtualAppliancesListByResourceGroup200Response - extends HttpResponse { +export interface NetworkVirtualAppliancesListByResourceGroup200Response extends HttpResponse { status: "200"; body: NetworkVirtualApplianceListResultOutput; } /** Lists all Network Virtual Appliances in a resource group. */ -export interface NetworkVirtualAppliancesListByResourceGroupDefaultResponse - extends HttpResponse { +export interface NetworkVirtualAppliancesListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5084,8 +4737,7 @@ export interface NetworkVirtualAppliancesList200Response extends HttpResponse { } /** Gets all Network Virtual Appliances in a subscription. */ -export interface NetworkVirtualAppliancesListDefaultResponse - extends HttpResponse { +export interface NetworkVirtualAppliancesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5106,8 +4758,7 @@ export interface VirtualApplianceSitesDelete204Response extends HttpResponse { } /** Deletes the specified site from a Virtual Appliance. */ -export interface VirtualApplianceSitesDeleteDefaultResponse - extends HttpResponse { +export interface VirtualApplianceSitesDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5125,22 +4776,19 @@ export interface VirtualApplianceSitesGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified Network Virtual Appliance Site. */ -export interface VirtualApplianceSitesCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualApplianceSitesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualApplianceSiteOutput; } /** Creates or updates the specified Network Virtual Appliance Site. */ -export interface VirtualApplianceSitesCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualApplianceSitesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualApplianceSiteOutput; } /** Creates or updates the specified Network Virtual Appliance Site. */ -export interface VirtualApplianceSitesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualApplianceSitesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5182,22 +4830,19 @@ export interface VirtualApplianceSkusGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified Network Virtual Appliance Inbound Security Rules. */ -export interface InboundSecurityRuleCreateOrUpdate200Response - extends HttpResponse { +export interface InboundSecurityRuleCreateOrUpdate200Response extends HttpResponse { status: "200"; body: InboundSecurityRuleOutput; } /** Creates or updates the specified Network Virtual Appliance Inbound Security Rules. */ -export interface InboundSecurityRuleCreateOrUpdate201Response - extends HttpResponse { +export interface InboundSecurityRuleCreateOrUpdate201Response extends HttpResponse { status: "201"; body: InboundSecurityRuleOutput; } /** Creates or updates the specified Network Virtual Appliance Inbound Security Rules. */ -export interface InboundSecurityRuleCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface InboundSecurityRuleCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5215,8 +4860,7 @@ export interface NetworkWatchersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a network watcher in the specified resource group. */ -export interface NetworkWatchersCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface NetworkWatchersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5292,8 +4936,7 @@ export interface NetworkWatchersGetTopology200Response extends HttpResponse { } /** Gets the current network topology by resource group. */ -export interface NetworkWatchersGetTopologyDefaultResponse - extends HttpResponse { +export interface NetworkWatchersGetTopologyDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5311,8 +4954,7 @@ export interface NetworkWatchersVerifyIPFlow202Response extends HttpResponse { } /** Verify IP flow from the specified VM to a location given the currently configured NSG rules. */ -export interface NetworkWatchersVerifyIPFlowDefaultResponse - extends HttpResponse { +export interface NetworkWatchersVerifyIPFlowDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5336,183 +4978,157 @@ export interface NetworkWatchersGetNextHopDefaultResponse extends HttpResponse { } /** Gets the configured and effective security group rules on the specified VM. */ -export interface NetworkWatchersGetVMSecurityRules200Response - extends HttpResponse { +export interface NetworkWatchersGetVMSecurityRules200Response extends HttpResponse { status: "200"; body: SecurityGroupViewResultOutput; } /** Gets the configured and effective security group rules on the specified VM. */ -export interface NetworkWatchersGetVMSecurityRules202Response - extends HttpResponse { +export interface NetworkWatchersGetVMSecurityRules202Response extends HttpResponse { status: "202"; body: SecurityGroupViewResultOutput; } /** Gets the configured and effective security group rules on the specified VM. */ -export interface NetworkWatchersGetVMSecurityRulesDefaultResponse - extends HttpResponse { +export interface NetworkWatchersGetVMSecurityRulesDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Initiate troubleshooting on a specified resource. */ -export interface NetworkWatchersGetTroubleshooting200Response - extends HttpResponse { +export interface NetworkWatchersGetTroubleshooting200Response extends HttpResponse { status: "200"; body: TroubleshootingResultOutput; } /** Initiate troubleshooting on a specified resource. */ -export interface NetworkWatchersGetTroubleshooting202Response - extends HttpResponse { +export interface NetworkWatchersGetTroubleshooting202Response extends HttpResponse { status: "202"; body: TroubleshootingResultOutput; } /** Initiate troubleshooting on a specified resource. */ -export interface NetworkWatchersGetTroubleshootingDefaultResponse - extends HttpResponse { +export interface NetworkWatchersGetTroubleshootingDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Get the last completed troubleshooting result on a specified resource. */ -export interface NetworkWatchersGetTroubleshootingResult200Response - extends HttpResponse { +export interface NetworkWatchersGetTroubleshootingResult200Response extends HttpResponse { status: "200"; body: TroubleshootingResultOutput; } /** Get the last completed troubleshooting result on a specified resource. */ -export interface NetworkWatchersGetTroubleshootingResult202Response - extends HttpResponse { +export interface NetworkWatchersGetTroubleshootingResult202Response extends HttpResponse { status: "202"; body: TroubleshootingResultOutput; } /** Get the last completed troubleshooting result on a specified resource. */ -export interface NetworkWatchersGetTroubleshootingResultDefaultResponse - extends HttpResponse { +export interface NetworkWatchersGetTroubleshootingResultDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Configures flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersSetFlowLogConfiguration200Response - extends HttpResponse { +export interface NetworkWatchersSetFlowLogConfiguration200Response extends HttpResponse { status: "200"; body: FlowLogInformationOutput; } /** Configures flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersSetFlowLogConfiguration202Response - extends HttpResponse { +export interface NetworkWatchersSetFlowLogConfiguration202Response extends HttpResponse { status: "202"; body: FlowLogInformationOutput; } /** Configures flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersSetFlowLogConfigurationDefaultResponse - extends HttpResponse { +export interface NetworkWatchersSetFlowLogConfigurationDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Queries status of flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersGetFlowLogStatus200Response - extends HttpResponse { +export interface NetworkWatchersGetFlowLogStatus200Response extends HttpResponse { status: "200"; body: FlowLogInformationOutput; } /** Queries status of flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersGetFlowLogStatus202Response - extends HttpResponse { +export interface NetworkWatchersGetFlowLogStatus202Response extends HttpResponse { status: "202"; body: FlowLogInformationOutput; } /** Queries status of flow log and traffic analytics (optional) on a specified resource. */ -export interface NetworkWatchersGetFlowLogStatusDefaultResponse - extends HttpResponse { +export interface NetworkWatchersGetFlowLogStatusDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. */ -export interface NetworkWatchersCheckConnectivity200Response - extends HttpResponse { +export interface NetworkWatchersCheckConnectivity200Response extends HttpResponse { status: "200"; body: ConnectivityInformationOutput; } /** Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. */ -export interface NetworkWatchersCheckConnectivity202Response - extends HttpResponse { +export interface NetworkWatchersCheckConnectivity202Response extends HttpResponse { status: "202"; body: ConnectivityInformationOutput; } /** Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. */ -export interface NetworkWatchersCheckConnectivityDefaultResponse - extends HttpResponse { +export interface NetworkWatchersCheckConnectivityDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. */ -export interface NetworkWatchersGetAzureReachabilityReport200Response - extends HttpResponse { +export interface NetworkWatchersGetAzureReachabilityReport200Response extends HttpResponse { status: "200"; body: AzureReachabilityReportOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. */ -export interface NetworkWatchersGetAzureReachabilityReport202Response - extends HttpResponse { +export interface NetworkWatchersGetAzureReachabilityReport202Response extends HttpResponse { status: "202"; body: AzureReachabilityReportOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. */ -export interface NetworkWatchersGetAzureReachabilityReportDefaultResponse - extends HttpResponse { +export interface NetworkWatchersGetAzureReachabilityReportDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. */ -export interface NetworkWatchersListAvailableProviders200Response - extends HttpResponse { +export interface NetworkWatchersListAvailableProviders200Response extends HttpResponse { status: "200"; body: AvailableProvidersListOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. */ -export interface NetworkWatchersListAvailableProviders202Response - extends HttpResponse { +export interface NetworkWatchersListAvailableProviders202Response extends HttpResponse { status: "202"; body: AvailableProvidersListOutput; } /** NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. */ -export interface NetworkWatchersListAvailableProvidersDefaultResponse - extends HttpResponse { +export interface NetworkWatchersListAvailableProvidersDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. */ -export interface NetworkWatchersGetNetworkConfigurationDiagnostic200Response - extends HttpResponse { +export interface NetworkWatchersGetNetworkConfigurationDiagnostic200Response extends HttpResponse { status: "200"; body: NetworkConfigurationDiagnosticResponseOutput; } /** Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. */ -export interface NetworkWatchersGetNetworkConfigurationDiagnostic202Response - extends HttpResponse { +export interface NetworkWatchersGetNetworkConfigurationDiagnostic202Response extends HttpResponse { status: "202"; body: NetworkConfigurationDiagnosticResponseOutput; } @@ -5611,22 +5227,19 @@ export interface PacketCapturesListDefaultResponse extends HttpResponse { } /** Create or update a connection monitor. */ -export interface ConnectionMonitorsCreateOrUpdate200Response - extends HttpResponse { +export interface ConnectionMonitorsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ConnectionMonitorResultOutput; } /** Create or update a connection monitor. */ -export interface ConnectionMonitorsCreateOrUpdate201Response - extends HttpResponse { +export interface ConnectionMonitorsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ConnectionMonitorResultOutput; } /** Create or update a connection monitor. */ -export interface ConnectionMonitorsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ConnectionMonitorsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5666,8 +5279,7 @@ export interface ConnectionMonitorsUpdateTags200Response extends HttpResponse { } /** Update tags of the specified connection monitor. */ -export interface ConnectionMonitorsUpdateTagsDefaultResponse - extends HttpResponse { +export interface ConnectionMonitorsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -5850,22 +5462,19 @@ export interface PrivateEndpointsGetDefaultResponse extends HttpResponse { } /** Creates or updates an private endpoint in the specified resource group. */ -export interface PrivateEndpointsCreateOrUpdate200Response - extends HttpResponse { +export interface PrivateEndpointsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: PrivateEndpointOutput; } /** Creates or updates an private endpoint in the specified resource group. */ -export interface PrivateEndpointsCreateOrUpdate201Response - extends HttpResponse { +export interface PrivateEndpointsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: PrivateEndpointOutput; } /** Creates or updates an private endpoint in the specified resource group. */ -export interface PrivateEndpointsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface PrivateEndpointsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -5883,36 +5492,31 @@ export interface PrivateEndpointsListDefaultResponse extends HttpResponse { } /** Gets all private endpoints in a subscription. */ -export interface PrivateEndpointsListBySubscription200Response - extends HttpResponse { +export interface PrivateEndpointsListBySubscription200Response extends HttpResponse { status: "200"; body: PrivateEndpointListResultOutput; } /** Gets all private endpoints in a subscription. */ -export interface PrivateEndpointsListBySubscriptionDefaultResponse - extends HttpResponse { +export interface PrivateEndpointsListBySubscriptionDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. */ -export interface AvailablePrivateEndpointTypesList200Response - extends HttpResponse { +export interface AvailablePrivateEndpointTypesList200Response extends HttpResponse { status: "200"; body: AvailablePrivateEndpointTypesResultOutput; } /** Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. */ -export interface AvailablePrivateEndpointTypesListDefaultResponse - extends HttpResponse { +export interface AvailablePrivateEndpointTypesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. */ -export interface AvailablePrivateEndpointTypesListByResourceGroup200Response - extends HttpResponse { +export interface AvailablePrivateEndpointTypesListByResourceGroup200Response extends HttpResponse { status: "200"; body: AvailablePrivateEndpointTypesResultOutput; } @@ -5940,8 +5544,7 @@ export interface PrivateDnsZoneGroupsDelete204Response extends HttpResponse { } /** Deletes the specified private dns zone group. */ -export interface PrivateDnsZoneGroupsDeleteDefaultResponse - extends HttpResponse { +export interface PrivateDnsZoneGroupsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -5959,22 +5562,19 @@ export interface PrivateDnsZoneGroupsGetDefaultResponse extends HttpResponse { } /** Creates or updates a private dns zone group in the specified private endpoint. */ -export interface PrivateDnsZoneGroupsCreateOrUpdate200Response - extends HttpResponse { +export interface PrivateDnsZoneGroupsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: PrivateDnsZoneGroupOutput; } /** Creates or updates a private dns zone group in the specified private endpoint. */ -export interface PrivateDnsZoneGroupsCreateOrUpdate201Response - extends HttpResponse { +export interface PrivateDnsZoneGroupsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: PrivateDnsZoneGroupOutput; } /** Creates or updates a private dns zone group in the specified private endpoint. */ -export interface PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface PrivateDnsZoneGroupsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6025,22 +5625,19 @@ export interface PrivateLinkServicesGetDefaultResponse extends HttpResponse { } /** Creates or updates an private link service in the specified resource group. */ -export interface PrivateLinkServicesCreateOrUpdate200Response - extends HttpResponse { +export interface PrivateLinkServicesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: PrivateLinkServiceOutput; } /** Creates or updates an private link service in the specified resource group. */ -export interface PrivateLinkServicesCreateOrUpdate201Response - extends HttpResponse { +export interface PrivateLinkServicesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: PrivateLinkServiceOutput; } /** Creates or updates an private link service in the specified resource group. */ -export interface PrivateLinkServicesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface PrivateLinkServicesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -6058,22 +5655,19 @@ export interface PrivateLinkServicesListDefaultResponse extends HttpResponse { } /** Gets all private link service in a subscription. */ -export interface PrivateLinkServicesListBySubscription200Response - extends HttpResponse { +export interface PrivateLinkServicesListBySubscription200Response extends HttpResponse { status: "200"; body: PrivateLinkServiceListResultOutput; } /** Gets all private link service in a subscription. */ -export interface PrivateLinkServicesListBySubscriptionDefaultResponse - extends HttpResponse { +export interface PrivateLinkServicesListBySubscriptionDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Get the specific private end point connection by specific private link service in the resource group. */ -export interface PrivateLinkServicesGetPrivateEndpointConnection200Response - extends HttpResponse { +export interface PrivateLinkServicesGetPrivateEndpointConnection200Response extends HttpResponse { status: "200"; body: PrivateEndpointConnectionOutput; } @@ -6125,8 +5719,7 @@ export interface PrivateLinkServicesDeletePrivateEndpointConnectionDefaultRespon } /** Gets all private end point connections for a specific private link service. */ -export interface PrivateLinkServicesListPrivateEndpointConnections200Response - extends HttpResponse { +export interface PrivateLinkServicesListPrivateEndpointConnections200Response extends HttpResponse { status: "200"; body: PrivateEndpointConnectionListResultOutput; } @@ -6240,22 +5833,19 @@ export interface PublicIPPrefixesGetDefaultResponse extends HttpResponse { } /** Creates or updates a static or dynamic public IP prefix. */ -export interface PublicIPPrefixesCreateOrUpdate200Response - extends HttpResponse { +export interface PublicIPPrefixesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: PublicIPPrefixOutput; } /** Creates or updates a static or dynamic public IP prefix. */ -export interface PublicIPPrefixesCreateOrUpdate201Response - extends HttpResponse { +export interface PublicIPPrefixesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: PublicIPPrefixOutput; } /** Creates or updates a static or dynamic public IP prefix. */ -export interface PublicIPPrefixesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface PublicIPPrefixesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6267,8 +5857,7 @@ export interface PublicIPPrefixesUpdateTags200Response extends HttpResponse { } /** Updates public IP prefix tags. */ -export interface PublicIPPrefixesUpdateTagsDefaultResponse - extends HttpResponse { +export interface PublicIPPrefixesUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6343,8 +5932,7 @@ export interface RouteFiltersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a route filter in a specified resource group. */ -export interface RouteFiltersCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface RouteFiltersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6362,15 +5950,13 @@ export interface RouteFiltersUpdateTagsDefaultResponse extends HttpResponse { } /** Gets all route filters in a resource group. */ -export interface RouteFiltersListByResourceGroup200Response - extends HttpResponse { +export interface RouteFiltersListByResourceGroup200Response extends HttpResponse { status: "200"; body: RouteFilterListResultOutput; } /** Gets all route filters in a resource group. */ -export interface RouteFiltersListByResourceGroupDefaultResponse - extends HttpResponse { +export interface RouteFiltersListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6421,36 +6007,31 @@ export interface RouteFilterRulesGetDefaultResponse extends HttpResponse { } /** Creates or updates a route in the specified route filter. */ -export interface RouteFilterRulesCreateOrUpdate200Response - extends HttpResponse { +export interface RouteFilterRulesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: RouteFilterRuleOutput; } /** Creates or updates a route in the specified route filter. */ -export interface RouteFilterRulesCreateOrUpdate201Response - extends HttpResponse { +export interface RouteFilterRulesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: RouteFilterRuleOutput; } /** Creates or updates a route in the specified route filter. */ -export interface RouteFilterRulesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface RouteFilterRulesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all RouteFilterRules in a route filter. */ -export interface RouteFilterRulesListByRouteFilter200Response - extends HttpResponse { +export interface RouteFilterRulesListByRouteFilter200Response extends HttpResponse { status: "200"; body: RouteFilterRuleListResultOutput; } /** Gets all RouteFilterRules in a route filter. */ -export interface RouteFilterRulesListByRouteFilterDefaultResponse - extends HttpResponse { +export interface RouteFilterRulesListByRouteFilterDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6606,26 +6187,22 @@ export interface RoutesListDefaultResponse extends HttpResponse { } /** Deletes the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersDelete200Response - extends HttpResponse { +export interface SecurityPartnerProvidersDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersDelete202Response - extends HttpResponse { +export interface SecurityPartnerProvidersDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersDelete204Response - extends HttpResponse { +export interface SecurityPartnerProvidersDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersDeleteDefaultResponse - extends HttpResponse { +export interface SecurityPartnerProvidersDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6637,57 +6214,49 @@ export interface SecurityPartnerProvidersGet200Response extends HttpResponse { } /** Gets the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersGetDefaultResponse - extends HttpResponse { +export interface SecurityPartnerProvidersGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersCreateOrUpdate200Response - extends HttpResponse { +export interface SecurityPartnerProvidersCreateOrUpdate200Response extends HttpResponse { status: "200"; body: SecurityPartnerProviderOutput; } /** Creates or updates the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersCreateOrUpdate201Response - extends HttpResponse { +export interface SecurityPartnerProvidersCreateOrUpdate201Response extends HttpResponse { status: "201"; body: SecurityPartnerProviderOutput; } /** Creates or updates the specified Security Partner Provider. */ -export interface SecurityPartnerProvidersCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface SecurityPartnerProvidersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates tags of a Security Partner Provider resource. */ -export interface SecurityPartnerProvidersUpdateTags200Response - extends HttpResponse { +export interface SecurityPartnerProvidersUpdateTags200Response extends HttpResponse { status: "200"; body: SecurityPartnerProviderOutput; } /** Updates tags of a Security Partner Provider resource. */ -export interface SecurityPartnerProvidersUpdateTagsDefaultResponse - extends HttpResponse { +export interface SecurityPartnerProvidersUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all Security Partner Providers in a resource group. */ -export interface SecurityPartnerProvidersListByResourceGroup200Response - extends HttpResponse { +export interface SecurityPartnerProvidersListByResourceGroup200Response extends HttpResponse { status: "200"; body: SecurityPartnerProviderListResultOutput; } /** Lists all Security Partner Providers in a resource group. */ -export interface SecurityPartnerProvidersListByResourceGroupDefaultResponse - extends HttpResponse { +export interface SecurityPartnerProvidersListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6699,8 +6268,7 @@ export interface SecurityPartnerProvidersList200Response extends HttpResponse { } /** Gets all the Security Partner Providers in a subscription. */ -export interface SecurityPartnerProvidersListDefaultResponse - extends HttpResponse { +export interface SecurityPartnerProvidersListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6733,8 +6301,7 @@ export interface ServiceEndpointPoliciesDelete204Response extends HttpResponse { } /** Deletes the specified service endpoint policy. */ -export interface ServiceEndpointPoliciesDeleteDefaultResponse - extends HttpResponse { +export interface ServiceEndpointPoliciesDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6746,43 +6313,37 @@ export interface ServiceEndpointPoliciesGet200Response extends HttpResponse { } /** Gets the specified service Endpoint Policies in a specified resource group. */ -export interface ServiceEndpointPoliciesGetDefaultResponse - extends HttpResponse { +export interface ServiceEndpointPoliciesGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a service Endpoint Policies. */ -export interface ServiceEndpointPoliciesCreateOrUpdate200Response - extends HttpResponse { +export interface ServiceEndpointPoliciesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ServiceEndpointPolicyOutput; } /** Creates or updates a service Endpoint Policies. */ -export interface ServiceEndpointPoliciesCreateOrUpdate201Response - extends HttpResponse { +export interface ServiceEndpointPoliciesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ServiceEndpointPolicyOutput; } /** Creates or updates a service Endpoint Policies. */ -export interface ServiceEndpointPoliciesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ServiceEndpointPoliciesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates tags of a service endpoint policy. */ -export interface ServiceEndpointPoliciesUpdateTags200Response - extends HttpResponse { +export interface ServiceEndpointPoliciesUpdateTags200Response extends HttpResponse { status: "200"; body: ServiceEndpointPolicyOutput; } /** Updates tags of a service endpoint policy. */ -export interface ServiceEndpointPoliciesUpdateTagsDefaultResponse - extends HttpResponse { +export interface ServiceEndpointPoliciesUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -6794,75 +6355,64 @@ export interface ServiceEndpointPoliciesList200Response extends HttpResponse { } /** Gets all the service endpoint policies in a subscription. */ -export interface ServiceEndpointPoliciesListDefaultResponse - extends HttpResponse { +export interface ServiceEndpointPoliciesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all service endpoint Policies in a resource group. */ -export interface ServiceEndpointPoliciesListByResourceGroup200Response - extends HttpResponse { +export interface ServiceEndpointPoliciesListByResourceGroup200Response extends HttpResponse { status: "200"; body: ServiceEndpointPolicyListResultOutput; } /** Gets all service endpoint Policies in a resource group. */ -export interface ServiceEndpointPoliciesListByResourceGroupDefaultResponse - extends HttpResponse { +export interface ServiceEndpointPoliciesListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified ServiceEndpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionsDelete200Response - extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified ServiceEndpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionsDelete202Response - extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified ServiceEndpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionsDelete204Response - extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified ServiceEndpoint policy definitions. */ -export interface ServiceEndpointPolicyDefinitionsDeleteDefaultResponse - extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Get the specified service endpoint policy definitions from service endpoint policy. */ -export interface ServiceEndpointPolicyDefinitionsGet200Response - extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsGet200Response extends HttpResponse { status: "200"; body: ServiceEndpointPolicyDefinitionOutput; } /** Get the specified service endpoint policy definitions from service endpoint policy. */ -export interface ServiceEndpointPolicyDefinitionsGetDefaultResponse - extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a service endpoint policy definition in the specified service endpoint policy. */ -export interface ServiceEndpointPolicyDefinitionsCreateOrUpdate200Response - extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ServiceEndpointPolicyDefinitionOutput; } /** Creates or updates a service endpoint policy definition in the specified service endpoint policy. */ -export interface ServiceEndpointPolicyDefinitionsCreateOrUpdate201Response - extends HttpResponse { +export interface ServiceEndpointPolicyDefinitionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ServiceEndpointPolicyDefinitionOutput; } @@ -6970,8 +6520,7 @@ export interface VirtualNetworksCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a virtual network in the specified resource group. */ -export interface VirtualNetworksCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualNetworksCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7013,15 +6562,13 @@ export interface VirtualNetworksListDefaultResponse extends HttpResponse { } /** Checks whether a private IP address is available for use. */ -export interface VirtualNetworksCheckIPAddressAvailability200Response - extends HttpResponse { +export interface VirtualNetworksCheckIPAddressAvailability200Response extends HttpResponse { status: "200"; body: IPAddressAvailabilityResultOutput; } /** Checks whether a private IP address is available for use. */ -export interface VirtualNetworksCheckIPAddressAvailabilityDefaultResponse - extends HttpResponse { +export interface VirtualNetworksCheckIPAddressAvailabilityDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7039,21 +6586,18 @@ export interface VirtualNetworksListUsageDefaultResponse extends HttpResponse { } /** Gets the Ddos Protection Status of all IP Addresses under the Virtual Network */ -export interface VirtualNetworksListDdosProtectionStatus200Response - extends HttpResponse { +export interface VirtualNetworksListDdosProtectionStatus200Response extends HttpResponse { status: "200"; body: VirtualNetworkDdosProtectionStatusResultOutput; } /** Gets the Ddos Protection Status of all IP Addresses under the Virtual Network */ -export interface VirtualNetworksListDdosProtectionStatus202Response - extends HttpResponse { +export interface VirtualNetworksListDdosProtectionStatus202Response extends HttpResponse { status: "202"; } /** Gets the Ddos Protection Status of all IP Addresses under the Virtual Network */ -export interface VirtualNetworksListDdosProtectionStatusDefaultResponse - extends HttpResponse { +export interface VirtualNetworksListDdosProtectionStatusDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7120,27 +6664,23 @@ export interface SubnetsPrepareNetworkPolicies202Response extends HttpResponse { } /** Prepares a subnet by applying network intent policies. */ -export interface SubnetsPrepareNetworkPoliciesDefaultResponse - extends HttpResponse { +export interface SubnetsPrepareNetworkPoliciesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Unprepares a subnet by removing network intent policies. */ -export interface SubnetsUnprepareNetworkPolicies200Response - extends HttpResponse { +export interface SubnetsUnprepareNetworkPolicies200Response extends HttpResponse { status: "200"; } /** Unprepares a subnet by removing network intent policies. */ -export interface SubnetsUnprepareNetworkPolicies202Response - extends HttpResponse { +export interface SubnetsUnprepareNetworkPolicies202Response extends HttpResponse { status: "202"; } /** Unprepares a subnet by removing network intent policies. */ -export interface SubnetsUnprepareNetworkPoliciesDefaultResponse - extends HttpResponse { +export interface SubnetsUnprepareNetworkPoliciesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7164,8 +6704,7 @@ export interface ResourceNavigationLinksList200Response extends HttpResponse { } /** Gets a list of resource navigation links for a subnet. */ -export interface ResourceNavigationLinksListDefaultResponse - extends HttpResponse { +export interface ResourceNavigationLinksListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7177,8 +6716,7 @@ export interface ServiceAssociationLinksList200Response extends HttpResponse { } /** Gets a list of service association links for a subnet. */ -export interface ServiceAssociationLinksListDefaultResponse - extends HttpResponse { +export interface ServiceAssociationLinksListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7199,8 +6737,7 @@ export interface VirtualNetworkPeeringsDelete204Response extends HttpResponse { } /** Deletes the specified virtual network peering. */ -export interface VirtualNetworkPeeringsDeleteDefaultResponse - extends HttpResponse { +export interface VirtualNetworkPeeringsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7218,22 +6755,19 @@ export interface VirtualNetworkPeeringsGetDefaultResponse extends HttpResponse { } /** Creates or updates a peering in the specified virtual network. */ -export interface VirtualNetworkPeeringsCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualNetworkPeeringsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualNetworkPeeringOutput; } /** Creates or updates a peering in the specified virtual network. */ -export interface VirtualNetworkPeeringsCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualNetworkPeeringsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualNetworkPeeringOutput; } /** Creates or updates a peering in the specified virtual network. */ -export interface VirtualNetworkPeeringsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualNetworkPeeringsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7245,29 +6779,25 @@ export interface VirtualNetworkPeeringsList200Response extends HttpResponse { } /** Gets all virtual network peerings in a virtual network. */ -export interface VirtualNetworkPeeringsListDefaultResponse - extends HttpResponse { +export interface VirtualNetworkPeeringsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayOutput; } /** Creates or updates a virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualNetworkGatewaysCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualNetworkGatewayOutput; } /** Creates or updates a virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7300,28 +6830,24 @@ export interface VirtualNetworkGatewaysDelete204Response extends HttpResponse { } /** Deletes the specified virtual network gateway. */ -export interface VirtualNetworkGatewaysDeleteDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a virtual network gateway tags. */ -export interface VirtualNetworkGatewaysUpdateTags200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysUpdateTags200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayOutput; } /** Updates a virtual network gateway tags. */ -export interface VirtualNetworkGatewaysUpdateTags202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysUpdateTags202Response extends HttpResponse { status: "202"; } /** Updates a virtual network gateway tags. */ -export interface VirtualNetworkGatewaysUpdateTagsDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7333,22 +6859,19 @@ export interface VirtualNetworkGatewaysList200Response extends HttpResponse { } /** Gets all virtual network gateways by resource group. */ -export interface VirtualNetworkGatewaysListDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the connections in a virtual network gateway. */ -export interface VirtualNetworkGatewaysListConnections200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysListConnections200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayListConnectionsResultOutput; } /** Gets all the connections in a virtual network gateway. */ -export interface VirtualNetworkGatewaysListConnectionsDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysListConnectionsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7365,41 +6888,35 @@ export interface VirtualNetworkGatewaysReset202Response extends HttpResponse { } /** Resets the primary of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysResetDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysResetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Resets the VPN client shared key of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysResetVpnClientSharedKey200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysResetVpnClientSharedKey200Response extends HttpResponse { status: "200"; } /** Resets the VPN client shared key of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysResetVpnClientSharedKey202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysResetVpnClientSharedKey202Response extends HttpResponse { status: "202"; } /** Resets the VPN client shared key of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysResetVpnClientSharedKeyDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysResetVpnClientSharedKeyDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysGeneratevpnclientpackage200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGeneratevpnclientpackage200Response extends HttpResponse { status: "200"; body: string; } /** Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysGeneratevpnclientpackage202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGeneratevpnclientpackage202Response extends HttpResponse { status: "202"; } @@ -7411,129 +6928,110 @@ export interface VirtualNetworkGatewaysGeneratevpnclientpackageDefaultResponse } /** Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. */ -export interface VirtualNetworkGatewaysGenerateVpnProfile200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGenerateVpnProfile200Response extends HttpResponse { status: "200"; body: string; } /** Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. */ -export interface VirtualNetworkGatewaysGenerateVpnProfile202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGenerateVpnProfile202Response extends HttpResponse { status: "202"; } /** Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. */ -export interface VirtualNetworkGatewaysGenerateVpnProfileDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysGenerateVpnProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. */ -export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response extends HttpResponse { status: "200"; body: string; } /** Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. */ -export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response extends HttpResponse { status: "202"; } /** Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. */ -export interface VirtualNetworkGatewaysGetVpnProfilePackageUrlDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysGetVpnProfilePackageUrlDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The GetBgpPeerStatus operation retrieves the status of all BGP peers. */ -export interface VirtualNetworkGatewaysGetBgpPeerStatus200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetBgpPeerStatus200Response extends HttpResponse { status: "200"; body: BgpPeerStatusListResultOutput; } /** The GetBgpPeerStatus operation retrieves the status of all BGP peers. */ -export interface VirtualNetworkGatewaysGetBgpPeerStatus202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetBgpPeerStatus202Response extends HttpResponse { status: "202"; } /** The GetBgpPeerStatus operation retrieves the status of all BGP peers. */ -export interface VirtualNetworkGatewaysGetBgpPeerStatusDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysGetBgpPeerStatusDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a xml format representation for supported vpn devices. */ -export interface VirtualNetworkGatewaysSupportedVpnDevices200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysSupportedVpnDevices200Response extends HttpResponse { status: "200"; body: string; } /** Gets a xml format representation for supported vpn devices. */ -export interface VirtualNetworkGatewaysSupportedVpnDevicesDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysSupportedVpnDevicesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. */ -export interface VirtualNetworkGatewaysGetLearnedRoutes200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetLearnedRoutes200Response extends HttpResponse { status: "200"; body: GatewayRouteListResultOutput; } /** This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. */ -export interface VirtualNetworkGatewaysGetLearnedRoutes202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetLearnedRoutes202Response extends HttpResponse { status: "202"; } /** This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. */ -export interface VirtualNetworkGatewaysGetLearnedRoutesDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysGetLearnedRoutesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. */ -export interface VirtualNetworkGatewaysGetAdvertisedRoutes200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetAdvertisedRoutes200Response extends HttpResponse { status: "200"; body: GatewayRouteListResultOutput; } /** This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. */ -export interface VirtualNetworkGatewaysGetAdvertisedRoutes202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetAdvertisedRoutes202Response extends HttpResponse { status: "202"; } /** This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. */ -export interface VirtualNetworkGatewaysGetAdvertisedRoutesDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysGetAdvertisedRoutesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters200Response extends HttpResponse { status: "200"; body: VpnClientIPsecParametersOutput; } /** The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters202Response extends HttpResponse { status: "202"; } @@ -7545,8 +7043,7 @@ export interface VirtualNetworkGatewaysSetVpnclientIpsecParametersDefaultRespons } /** The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewaysGetVpnclientIpsecParameters200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysGetVpnclientIpsecParameters200Response extends HttpResponse { status: "200"; body: VpnClientIPsecParametersOutput; } @@ -7573,41 +7070,35 @@ export interface VirtualNetworkGatewaysVpnDeviceConfigurationScriptDefaultRespon } /** Starts packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStartPacketCapture200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysStartPacketCapture200Response extends HttpResponse { status: "200"; body: string; } /** Starts packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStartPacketCapture202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysStartPacketCapture202Response extends HttpResponse { status: "202"; } /** Starts packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStartPacketCaptureDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysStartPacketCaptureDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Stops packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStopPacketCapture200Response - extends HttpResponse { +export interface VirtualNetworkGatewaysStopPacketCapture200Response extends HttpResponse { status: "200"; body: string; } /** Stops packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStopPacketCapture202Response - extends HttpResponse { +export interface VirtualNetworkGatewaysStopPacketCapture202Response extends HttpResponse { status: "202"; } /** Stops packet capture on virtual network gateway in the specified resource group. */ -export interface VirtualNetworkGatewaysStopPacketCaptureDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewaysStopPacketCaptureDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -7652,15 +7143,13 @@ export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnect } /** Creates or updates a virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayConnectionOutput; } /** Creates or updates a virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualNetworkGatewayConnectionOutput; } @@ -7673,123 +7162,105 @@ export interface VirtualNetworkGatewayConnectionsCreateOrUpdateDefaultResponse } /** Gets the specified virtual network gateway connection by resource group. */ -export interface VirtualNetworkGatewayConnectionsGet200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGet200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayConnectionOutput; } /** Gets the specified virtual network gateway connection by resource group. */ -export interface VirtualNetworkGatewayConnectionsGetDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes the specified virtual network Gateway connection. */ -export interface VirtualNetworkGatewayConnectionsDelete200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsDelete200Response extends HttpResponse { status: "200"; } /** Deletes the specified virtual network Gateway connection. */ -export interface VirtualNetworkGatewayConnectionsDelete202Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsDelete202Response extends HttpResponse { status: "202"; } /** Deletes the specified virtual network Gateway connection. */ -export interface VirtualNetworkGatewayConnectionsDelete204Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsDelete204Response extends HttpResponse { status: "204"; } /** Deletes the specified virtual network Gateway connection. */ -export interface VirtualNetworkGatewayConnectionsDeleteDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a virtual network gateway connection tags. */ -export interface VirtualNetworkGatewayConnectionsUpdateTags200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsUpdateTags200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayConnectionOutput; } /** Updates a virtual network gateway connection tags. */ -export interface VirtualNetworkGatewayConnectionsUpdateTags202Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsUpdateTags202Response extends HttpResponse { status: "202"; } /** Updates a virtual network gateway connection tags. */ -export interface VirtualNetworkGatewayConnectionsUpdateTagsDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsSetSharedKey200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsSetSharedKey200Response extends HttpResponse { status: "200"; body: ConnectionSharedKeyOutput; } /** The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsSetSharedKey201Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsSetSharedKey201Response extends HttpResponse { status: "201"; body: ConnectionSharedKeyOutput; } /** The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsSetSharedKeyDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsSetSharedKeyDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsGetSharedKey200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetSharedKey200Response extends HttpResponse { status: "200"; body: ConnectionSharedKeyOutput; } /** The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsGetSharedKeyDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetSharedKeyDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. */ -export interface VirtualNetworkGatewayConnectionsList200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsList200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayConnectionListResultOutput; } /** The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. */ -export interface VirtualNetworkGatewayConnectionsListDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsResetSharedKey200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsResetSharedKey200Response extends HttpResponse { status: "200"; body: ConnectionResetSharedKeyOutput; } /** The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. */ -export interface VirtualNetworkGatewayConnectionsResetSharedKey202Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsResetSharedKey202Response extends HttpResponse { status: "202"; } @@ -7821,15 +7292,13 @@ export interface VirtualNetworkGatewayConnectionsStartPacketCaptureDefaultRespon } /** Stops packet capture on virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsStopPacketCapture200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsStopPacketCapture200Response extends HttpResponse { status: "200"; body: string; } /** Stops packet capture on virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsStopPacketCapture202Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsStopPacketCapture202Response extends HttpResponse { status: "202"; } @@ -7841,28 +7310,24 @@ export interface VirtualNetworkGatewayConnectionsStopPacketCaptureDefaultRespons } /** Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsGetIkeSas200Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetIkeSas200Response extends HttpResponse { status: "200"; body: string; } /** Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsGetIkeSas202Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetIkeSas202Response extends HttpResponse { status: "202"; } /** Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. */ -export interface VirtualNetworkGatewayConnectionsGetIkeSasDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsGetIkeSasDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Resets the virtual network gateway connection specified. */ -export interface VirtualNetworkGatewayConnectionsResetConnection202Response - extends HttpResponse { +export interface VirtualNetworkGatewayConnectionsResetConnection202Response extends HttpResponse { status: "202"; } @@ -7874,22 +7339,19 @@ export interface VirtualNetworkGatewayConnectionsResetConnectionDefaultResponse } /** Creates or updates a local network gateway in the specified resource group. */ -export interface LocalNetworkGatewaysCreateOrUpdate200Response - extends HttpResponse { +export interface LocalNetworkGatewaysCreateOrUpdate200Response extends HttpResponse { status: "200"; body: LocalNetworkGatewayOutput; } /** Creates or updates a local network gateway in the specified resource group. */ -export interface LocalNetworkGatewaysCreateOrUpdate201Response - extends HttpResponse { +export interface LocalNetworkGatewaysCreateOrUpdate201Response extends HttpResponse { status: "201"; body: LocalNetworkGatewayOutput; } /** Creates or updates a local network gateway in the specified resource group. */ -export interface LocalNetworkGatewaysCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface LocalNetworkGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7922,22 +7384,19 @@ export interface LocalNetworkGatewaysDelete204Response extends HttpResponse { } /** Deletes the specified local network gateway. */ -export interface LocalNetworkGatewaysDeleteDefaultResponse - extends HttpResponse { +export interface LocalNetworkGatewaysDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a local network gateway tags. */ -export interface LocalNetworkGatewaysUpdateTags200Response - extends HttpResponse { +export interface LocalNetworkGatewaysUpdateTags200Response extends HttpResponse { status: "200"; body: LocalNetworkGatewayOutput; } /** Updates a local network gateway tags. */ -export interface LocalNetworkGatewaysUpdateTagsDefaultResponse - extends HttpResponse { +export interface LocalNetworkGatewaysUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -7955,61 +7414,52 @@ export interface LocalNetworkGatewaysListDefaultResponse extends HttpResponse { } /** Retrieves the details of a nat rule. */ -export interface VirtualNetworkGatewayNatRulesGet200Response - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesGet200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayNatRuleOutput; } /** Retrieves the details of a nat rule. */ -export interface VirtualNetworkGatewayNatRulesGetDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. */ -export interface VirtualNetworkGatewayNatRulesCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualNetworkGatewayNatRuleOutput; } /** Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. */ -export interface VirtualNetworkGatewayNatRulesCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualNetworkGatewayNatRuleOutput; } /** Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. */ -export interface VirtualNetworkGatewayNatRulesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a nat rule. */ -export interface VirtualNetworkGatewayNatRulesDelete200Response - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesDelete200Response extends HttpResponse { status: "200"; } /** Deletes a nat rule. */ -export interface VirtualNetworkGatewayNatRulesDelete202Response - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesDelete202Response extends HttpResponse { status: "202"; } /** Deletes a nat rule. */ -export interface VirtualNetworkGatewayNatRulesDelete204Response - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesDelete204Response extends HttpResponse { status: "204"; } /** Deletes a nat rule. */ -export interface VirtualNetworkGatewayNatRulesDeleteDefaultResponse - extends HttpResponse { +export interface VirtualNetworkGatewayNatRulesDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8062,22 +7512,19 @@ export interface VirtualNetworkTapsGetDefaultResponse extends HttpResponse { } /** Creates or updates a Virtual Network Tap. */ -export interface VirtualNetworkTapsCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualNetworkTapsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualNetworkTapOutput; } /** Creates or updates a Virtual Network Tap. */ -export interface VirtualNetworkTapsCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualNetworkTapsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualNetworkTapOutput; } /** Creates or updates a Virtual Network Tap. */ -export interface VirtualNetworkTapsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualNetworkTapsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8089,8 +7536,7 @@ export interface VirtualNetworkTapsUpdateTags200Response extends HttpResponse { } /** Updates an VirtualNetworkTap tags. */ -export interface VirtualNetworkTapsUpdateTagsDefaultResponse - extends HttpResponse { +export interface VirtualNetworkTapsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8108,15 +7554,13 @@ export interface VirtualNetworkTapsListAllDefaultResponse extends HttpResponse { } /** Gets all the VirtualNetworkTaps in a subscription. */ -export interface VirtualNetworkTapsListByResourceGroup200Response - extends HttpResponse { +export interface VirtualNetworkTapsListByResourceGroup200Response extends HttpResponse { status: "200"; body: VirtualNetworkTapListResultOutput; } /** Gets all the VirtualNetworkTaps in a subscription. */ -export interface VirtualNetworkTapsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface VirtualNetworkTapsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8167,22 +7611,19 @@ export interface VirtualRoutersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates the specified Virtual Router. */ -export interface VirtualRoutersCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualRoutersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Lists all Virtual Routers in a resource group. */ -export interface VirtualRoutersListByResourceGroup200Response - extends HttpResponse { +export interface VirtualRoutersListByResourceGroup200Response extends HttpResponse { status: "200"; body: VirtualRouterListResultOutput; } /** Lists all Virtual Routers in a resource group. */ -export interface VirtualRoutersListByResourceGroupDefaultResponse - extends HttpResponse { +export interface VirtualRoutersListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -8215,8 +7656,7 @@ export interface VirtualRouterPeeringsDelete204Response extends HttpResponse { } /** Deletes the specified peering from a Virtual Router. */ -export interface VirtualRouterPeeringsDeleteDefaultResponse - extends HttpResponse { +export interface VirtualRouterPeeringsDeleteDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -8234,22 +7674,19 @@ export interface VirtualRouterPeeringsGetDefaultResponse extends HttpResponse { } /** Creates or updates the specified Virtual Router Peering. */ -export interface VirtualRouterPeeringsCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualRouterPeeringsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualRouterPeeringOutput; } /** Creates or updates the specified Virtual Router Peering. */ -export interface VirtualRouterPeeringsCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualRouterPeeringsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualRouterPeeringOutput; } /** Creates or updates the specified Virtual Router Peering. */ -export interface VirtualRouterPeeringsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualRouterPeeringsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -8330,15 +7767,13 @@ export interface VirtualWansDeleteDefaultResponse extends HttpResponse { } /** Lists all the VirtualWANs in a resource group. */ -export interface VirtualWansListByResourceGroup200Response - extends HttpResponse { +export interface VirtualWansListByResourceGroup200Response extends HttpResponse { status: "200"; body: ListVirtualWANsResultOutput; } /** Lists all the VirtualWANs in a resource group. */ -export interface VirtualWansListByResourceGroupDefaultResponse - extends HttpResponse { +export interface VirtualWansListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8425,8 +7860,7 @@ export interface VpnSitesListByResourceGroup200Response extends HttpResponse { } /** Lists all the vpnSites in a resource group. */ -export interface VpnSitesListByResourceGroupDefaultResponse - extends HttpResponse { +export interface VpnSitesListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8478,8 +7912,7 @@ export interface VpnSitesConfigurationDownload202Response extends HttpResponse { } /** Gives the sas-url to download the configurations for vpn-sites in a resource group. */ -export interface VpnSitesConfigurationDownloadDefaultResponse - extends HttpResponse { +export interface VpnSitesConfigurationDownloadDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8491,43 +7924,37 @@ export interface VpnServerConfigurationsGet200Response extends HttpResponse { } /** Retrieves the details of a VpnServerConfiguration. */ -export interface VpnServerConfigurationsGetDefaultResponse - extends HttpResponse { +export interface VpnServerConfigurationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. */ -export interface VpnServerConfigurationsCreateOrUpdate200Response - extends HttpResponse { +export interface VpnServerConfigurationsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VpnServerConfigurationOutput; } /** Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. */ -export interface VpnServerConfigurationsCreateOrUpdate201Response - extends HttpResponse { +export interface VpnServerConfigurationsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VpnServerConfigurationOutput; } /** Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. */ -export interface VpnServerConfigurationsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VpnServerConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates VpnServerConfiguration tags. */ -export interface VpnServerConfigurationsUpdateTags200Response - extends HttpResponse { +export interface VpnServerConfigurationsUpdateTags200Response extends HttpResponse { status: "200"; body: VpnServerConfigurationOutput; } /** Updates VpnServerConfiguration tags. */ -export interface VpnServerConfigurationsUpdateTagsDefaultResponse - extends HttpResponse { +export interface VpnServerConfigurationsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8548,22 +7975,19 @@ export interface VpnServerConfigurationsDelete204Response extends HttpResponse { } /** Deletes a VpnServerConfiguration. */ -export interface VpnServerConfigurationsDeleteDefaultResponse - extends HttpResponse { +export interface VpnServerConfigurationsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all the vpnServerConfigurations in a resource group. */ -export interface VpnServerConfigurationsListByResourceGroup200Response - extends HttpResponse { +export interface VpnServerConfigurationsListByResourceGroup200Response extends HttpResponse { status: "200"; body: ListVpnServerConfigurationsResultOutput; } /** Lists all the vpnServerConfigurations in a resource group. */ -export interface VpnServerConfigurationsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface VpnServerConfigurationsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8575,54 +7999,46 @@ export interface VpnServerConfigurationsList200Response extends HttpResponse { } /** Lists all the VpnServerConfigurations in a subscription. */ -export interface VpnServerConfigurationsListDefaultResponse - extends HttpResponse { +export interface VpnServerConfigurationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. */ -export interface ConfigurationPolicyGroupsCreateOrUpdate200Response - extends HttpResponse { +export interface ConfigurationPolicyGroupsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VpnServerConfigurationPolicyGroupOutput; } /** Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. */ -export interface ConfigurationPolicyGroupsCreateOrUpdate201Response - extends HttpResponse { +export interface ConfigurationPolicyGroupsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VpnServerConfigurationPolicyGroupOutput; } /** Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. */ -export interface ConfigurationPolicyGroupsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ConfigurationPolicyGroupsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsDelete200Response - extends HttpResponse { +export interface ConfigurationPolicyGroupsDelete200Response extends HttpResponse { status: "200"; } /** Deletes a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsDelete202Response - extends HttpResponse { +export interface ConfigurationPolicyGroupsDelete202Response extends HttpResponse { status: "202"; } /** Deletes a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsDelete204Response - extends HttpResponse { +export interface ConfigurationPolicyGroupsDelete204Response extends HttpResponse { status: "204"; } /** Deletes a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsDeleteDefaultResponse - extends HttpResponse { +export interface ConfigurationPolicyGroupsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8634,8 +8050,7 @@ export interface ConfigurationPolicyGroupsGet200Response extends HttpResponse { } /** Retrieves the details of a ConfigurationPolicyGroup. */ -export interface ConfigurationPolicyGroupsGetDefaultResponse - extends HttpResponse { +export interface ConfigurationPolicyGroupsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8718,15 +8133,13 @@ export interface VirtualHubsDeleteDefaultResponse extends HttpResponse { } /** Lists all the VirtualHubs in a resource group. */ -export interface VirtualHubsListByResourceGroup200Response - extends HttpResponse { +export interface VirtualHubsListByResourceGroup200Response extends HttpResponse { status: "200"; body: ListVirtualHubsResultOutput; } /** Lists all the VirtualHubs in a resource group. */ -export interface VirtualHubsListByResourceGroupDefaultResponse - extends HttpResponse { +export interface VirtualHubsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8744,20 +8157,17 @@ export interface VirtualHubsListDefaultResponse extends HttpResponse { } /** Gets the effective routes configured for the Virtual Hub resource or the specified resource . */ -export interface VirtualHubsGetEffectiveVirtualHubRoutes200Response - extends HttpResponse { +export interface VirtualHubsGetEffectiveVirtualHubRoutes200Response extends HttpResponse { status: "200"; } /** Gets the effective routes configured for the Virtual Hub resource or the specified resource . */ -export interface VirtualHubsGetEffectiveVirtualHubRoutes202Response - extends HttpResponse { +export interface VirtualHubsGetEffectiveVirtualHubRoutes202Response extends HttpResponse { status: "202"; } /** Gets the effective routes configured for the Virtual Hub resource or the specified resource . */ -export interface VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse - extends HttpResponse { +export interface VirtualHubsGetEffectiveVirtualHubRoutesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8773,8 +8183,7 @@ export interface VirtualHubsGetInboundRoutes202Response extends HttpResponse { } /** Gets the inbound routes configured for the Virtual Hub on a particular connection. */ -export interface VirtualHubsGetInboundRoutesDefaultResponse - extends HttpResponse { +export interface VirtualHubsGetInboundRoutesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8790,8 +8199,7 @@ export interface VirtualHubsGetOutboundRoutes202Response extends HttpResponse { } /** Gets the outbound routes configured for the Virtual Hub on a particular connection. */ -export interface VirtualHubsGetOutboundRoutesDefaultResponse - extends HttpResponse { +export interface VirtualHubsGetOutboundRoutesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -8860,75 +8268,64 @@ export interface RouteMapsListDefaultResponse extends HttpResponse { } /** Creates a hub virtual network connection if it doesn't exist else updates the existing one. */ -export interface HubVirtualNetworkConnectionsCreateOrUpdate200Response - extends HttpResponse { +export interface HubVirtualNetworkConnectionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: HubVirtualNetworkConnectionOutput; } /** Creates a hub virtual network connection if it doesn't exist else updates the existing one. */ -export interface HubVirtualNetworkConnectionsCreateOrUpdate201Response - extends HttpResponse { +export interface HubVirtualNetworkConnectionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: HubVirtualNetworkConnectionOutput; } /** Creates a hub virtual network connection if it doesn't exist else updates the existing one. */ -export interface HubVirtualNetworkConnectionsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface HubVirtualNetworkConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsDelete200Response - extends HttpResponse { +export interface HubVirtualNetworkConnectionsDelete200Response extends HttpResponse { status: "200"; } /** Deletes a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsDelete202Response - extends HttpResponse { +export interface HubVirtualNetworkConnectionsDelete202Response extends HttpResponse { status: "202"; } /** Deletes a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsDelete204Response - extends HttpResponse { +export interface HubVirtualNetworkConnectionsDelete204Response extends HttpResponse { status: "204"; } /** Deletes a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsDeleteDefaultResponse - extends HttpResponse { +export interface HubVirtualNetworkConnectionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves the details of a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsGet200Response - extends HttpResponse { +export interface HubVirtualNetworkConnectionsGet200Response extends HttpResponse { status: "200"; body: HubVirtualNetworkConnectionOutput; } /** Retrieves the details of a HubVirtualNetworkConnection. */ -export interface HubVirtualNetworkConnectionsGetDefaultResponse - extends HttpResponse { +export interface HubVirtualNetworkConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves the details of all HubVirtualNetworkConnections. */ -export interface HubVirtualNetworkConnectionsList200Response - extends HttpResponse { +export interface HubVirtualNetworkConnectionsList200Response extends HttpResponse { status: "200"; body: ListHubVirtualNetworkConnectionsResultOutput; } /** Retrieves the details of all HubVirtualNetworkConnections. */ -export interface HubVirtualNetworkConnectionsListDefaultResponse - extends HttpResponse { +export interface HubVirtualNetworkConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9030,8 +8427,7 @@ export interface VpnGatewaysStartPacketCapture202Response extends HttpResponse { } /** Starts packet capture on vpn gateway in the specified resource group. */ -export interface VpnGatewaysStartPacketCaptureDefaultResponse - extends HttpResponse { +export interface VpnGatewaysStartPacketCaptureDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9048,22 +8444,19 @@ export interface VpnGatewaysStopPacketCapture202Response extends HttpResponse { } /** Stops packet capture on vpn gateway in the specified resource group. */ -export interface VpnGatewaysStopPacketCaptureDefaultResponse - extends HttpResponse { +export interface VpnGatewaysStopPacketCaptureDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all the VpnGateways in a resource group. */ -export interface VpnGatewaysListByResourceGroup200Response - extends HttpResponse { +export interface VpnGatewaysListByResourceGroup200Response extends HttpResponse { status: "200"; body: ListVpnGatewaysResultOutput; } /** Lists all the VpnGateways in a resource group. */ -export interface VpnGatewaysListByResourceGroupDefaultResponse - extends HttpResponse { +export interface VpnGatewaysListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9081,14 +8474,12 @@ export interface VpnGatewaysListDefaultResponse extends HttpResponse { } /** Resets the VpnLink connection specified. */ -export interface VpnLinkConnectionsResetConnection202Response - extends HttpResponse { +export interface VpnLinkConnectionsResetConnection202Response extends HttpResponse { status: "202"; } /** Resets the VpnLink connection specified. */ -export interface VpnLinkConnectionsResetConnectionDefaultResponse - extends HttpResponse { +export interface VpnLinkConnectionsResetConnectionDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } @@ -9105,22 +8496,19 @@ export interface VpnLinkConnectionsGetIkeSas202Response extends HttpResponse { } /** Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. */ -export interface VpnLinkConnectionsGetIkeSasDefaultResponse - extends HttpResponse { +export interface VpnLinkConnectionsGetIkeSasDefaultResponse extends HttpResponse { status: string; body: ErrorResponseOutput; } /** Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. */ -export interface VpnLinkConnectionsListByVpnConnection200Response - extends HttpResponse { +export interface VpnLinkConnectionsListByVpnConnection200Response extends HttpResponse { status: "200"; body: ListVpnSiteLinkConnectionsResultOutput; } /** Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. */ -export interface VpnLinkConnectionsListByVpnConnectionDefaultResponse - extends HttpResponse { +export interface VpnLinkConnectionsListByVpnConnectionDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9150,8 +8538,7 @@ export interface VpnConnectionsCreateOrUpdate201Response extends HttpResponse { } /** Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. */ -export interface VpnConnectionsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VpnConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9178,55 +8565,47 @@ export interface VpnConnectionsDeleteDefaultResponse extends HttpResponse { } /** Starts packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStartPacketCapture200Response - extends HttpResponse { +export interface VpnConnectionsStartPacketCapture200Response extends HttpResponse { status: "200"; body: string; } /** Starts packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStartPacketCapture202Response - extends HttpResponse { +export interface VpnConnectionsStartPacketCapture202Response extends HttpResponse { status: "202"; } /** Starts packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStartPacketCaptureDefaultResponse - extends HttpResponse { +export interface VpnConnectionsStartPacketCaptureDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Stops packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStopPacketCapture200Response - extends HttpResponse { +export interface VpnConnectionsStopPacketCapture200Response extends HttpResponse { status: "200"; body: string; } /** Stops packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStopPacketCapture202Response - extends HttpResponse { +export interface VpnConnectionsStopPacketCapture202Response extends HttpResponse { status: "202"; } /** Stops packet capture on Vpn connection in the specified resource group. */ -export interface VpnConnectionsStopPacketCaptureDefaultResponse - extends HttpResponse { +export interface VpnConnectionsStopPacketCaptureDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves all vpn connections for a particular virtual wan vpn gateway. */ -export interface VpnConnectionsListByVpnGateway200Response - extends HttpResponse { +export interface VpnConnectionsListByVpnGateway200Response extends HttpResponse { status: "200"; body: ListVpnConnectionsResultOutput; } /** Retrieves all vpn connections for a particular virtual wan vpn gateway. */ -export interface VpnConnectionsListByVpnGatewayDefaultResponse - extends HttpResponse { +export interface VpnConnectionsListByVpnGatewayDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9331,8 +8710,7 @@ export interface P2SVpnGatewaysCreateOrUpdate201Response extends HttpResponse { } /** Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. */ -export interface P2SVpnGatewaysCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface P2SVpnGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9376,15 +8754,13 @@ export interface P2SVpnGatewaysDeleteDefaultResponse extends HttpResponse { } /** Lists all the P2SVpnGateways in a resource group. */ -export interface P2SVpnGatewaysListByResourceGroup200Response - extends HttpResponse { +export interface P2SVpnGatewaysListByResourceGroup200Response extends HttpResponse { status: "200"; body: ListP2SVpnGatewaysResultOutput; } /** Lists all the P2SVpnGateways in a resource group. */ -export interface P2SVpnGatewaysListByResourceGroupDefaultResponse - extends HttpResponse { +export interface P2SVpnGatewaysListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9419,55 +8795,47 @@ export interface P2SVpnGatewaysResetDefaultResponse extends HttpResponse { } /** Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGenerateVpnProfile200Response - extends HttpResponse { +export interface P2SVpnGatewaysGenerateVpnProfile200Response extends HttpResponse { status: "200"; body: VpnProfileResponseOutput; } /** Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGenerateVpnProfile202Response - extends HttpResponse { +export interface P2SVpnGatewaysGenerateVpnProfile202Response extends HttpResponse { status: "202"; } /** Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGenerateVpnProfileDefaultResponse - extends HttpResponse { +export interface P2SVpnGatewaysGenerateVpnProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealth200Response - extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealth200Response extends HttpResponse { status: "200"; body: P2SVpnGatewayOutput; } /** Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealth202Response - extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealth202Response extends HttpResponse { status: "202"; } /** Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDefaultResponse - extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response - extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response extends HttpResponse { status: "200"; body: P2SVpnConnectionHealthOutput; } /** Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response - extends HttpResponse { +export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response extends HttpResponse { status: "202"; } @@ -9479,20 +8847,17 @@ export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedDefaultResponse } /** Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysDisconnectP2SVpnConnections200Response - extends HttpResponse { +export interface P2SVpnGatewaysDisconnectP2SVpnConnections200Response extends HttpResponse { status: "200"; } /** Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysDisconnectP2SVpnConnections202Response - extends HttpResponse { +export interface P2SVpnGatewaysDisconnectP2SVpnConnections202Response extends HttpResponse { status: "202"; } /** Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. */ -export interface P2SVpnGatewaysDisconnectP2SVpnConnectionsDefaultResponse - extends HttpResponse { +export interface P2SVpnGatewaysDisconnectP2SVpnConnectionsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9524,29 +8889,25 @@ export interface VirtualHubRouteTableV2SGet200Response extends HttpResponse { } /** Retrieves the details of a VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SGetDefaultResponse - extends HttpResponse { +export interface VirtualHubRouteTableV2SGetDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualHubRouteTableV2SCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualHubRouteTableV2Output; } /** Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualHubRouteTableV2SCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualHubRouteTableV2Output; } /** Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualHubRouteTableV2SCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -9567,8 +8928,7 @@ export interface VirtualHubRouteTableV2SDelete204Response extends HttpResponse { } /** Deletes a VirtualHubRouteTableV2. */ -export interface VirtualHubRouteTableV2SDeleteDefaultResponse - extends HttpResponse { +export interface VirtualHubRouteTableV2SDeleteDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -9580,77 +8940,66 @@ export interface VirtualHubRouteTableV2SList200Response extends HttpResponse { } /** Retrieves the details of all VirtualHubRouteTableV2s. */ -export interface VirtualHubRouteTableV2SListDefaultResponse - extends HttpResponse { +export interface VirtualHubRouteTableV2SListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists ExpressRoute gateways under a given subscription. */ -export interface ExpressRouteGatewaysListBySubscription200Response - extends HttpResponse { +export interface ExpressRouteGatewaysListBySubscription200Response extends HttpResponse { status: "200"; body: ExpressRouteGatewayListOutput; } /** Lists ExpressRoute gateways under a given subscription. */ -export interface ExpressRouteGatewaysListBySubscriptionDefaultResponse - extends HttpResponse { +export interface ExpressRouteGatewaysListBySubscriptionDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists ExpressRoute gateways in a given resource group. */ -export interface ExpressRouteGatewaysListByResourceGroup200Response - extends HttpResponse { +export interface ExpressRouteGatewaysListByResourceGroup200Response extends HttpResponse { status: "200"; body: ExpressRouteGatewayListOutput; } /** Lists ExpressRoute gateways in a given resource group. */ -export interface ExpressRouteGatewaysListByResourceGroupDefaultResponse - extends HttpResponse { +export interface ExpressRouteGatewaysListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or updates a ExpressRoute gateway in a specified resource group. */ -export interface ExpressRouteGatewaysCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRouteGatewaysCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRouteGatewayOutput; } /** Creates or updates a ExpressRoute gateway in a specified resource group. */ -export interface ExpressRouteGatewaysCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRouteGatewaysCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRouteGatewayOutput; } /** Creates or updates a ExpressRoute gateway in a specified resource group. */ -export interface ExpressRouteGatewaysCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ExpressRouteGatewaysCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates express route gateway tags. */ -export interface ExpressRouteGatewaysUpdateTags200Response - extends HttpResponse { +export interface ExpressRouteGatewaysUpdateTags200Response extends HttpResponse { status: "200"; body: ExpressRouteGatewayOutput; } /** Updates express route gateway tags. */ -export interface ExpressRouteGatewaysUpdateTags202Response - extends HttpResponse { +export interface ExpressRouteGatewaysUpdateTags202Response extends HttpResponse { status: "202"; } /** Updates express route gateway tags. */ -export interface ExpressRouteGatewaysUpdateTagsDefaultResponse - extends HttpResponse { +export interface ExpressRouteGatewaysUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9683,29 +9032,25 @@ export interface ExpressRouteGatewaysDelete204Response extends HttpResponse { } /** Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. */ -export interface ExpressRouteGatewaysDeleteDefaultResponse - extends HttpResponse { +export interface ExpressRouteGatewaysDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. */ -export interface ExpressRouteConnectionsCreateOrUpdate200Response - extends HttpResponse { +export interface ExpressRouteConnectionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ExpressRouteConnectionOutput; } /** Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. */ -export interface ExpressRouteConnectionsCreateOrUpdate201Response - extends HttpResponse { +export interface ExpressRouteConnectionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: ExpressRouteConnectionOutput; } /** Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. */ -export interface ExpressRouteConnectionsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ExpressRouteConnectionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9717,8 +9062,7 @@ export interface ExpressRouteConnectionsGet200Response extends HttpResponse { } /** Gets the specified ExpressRouteConnection. */ -export interface ExpressRouteConnectionsGetDefaultResponse - extends HttpResponse { +export interface ExpressRouteConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9739,8 +9083,7 @@ export interface ExpressRouteConnectionsDelete204Response extends HttpResponse { } /** Deletes a connection to a ExpressRoute circuit. */ -export interface ExpressRouteConnectionsDeleteDefaultResponse - extends HttpResponse { +export interface ExpressRouteConnectionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9752,8 +9095,7 @@ export interface ExpressRouteConnectionsList200Response extends HttpResponse { } /** Lists ExpressRouteConnections. */ -export interface ExpressRouteConnectionsListDefaultResponse - extends HttpResponse { +export interface ExpressRouteConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9765,29 +9107,25 @@ export interface VirtualHubBgpConnectionGet200Response extends HttpResponse { } /** Retrieves the details of a Virtual Hub Bgp Connection. */ -export interface VirtualHubBgpConnectionGetDefaultResponse - extends HttpResponse { +export interface VirtualHubBgpConnectionGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. */ -export interface VirtualHubBgpConnectionCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualHubBgpConnectionCreateOrUpdate200Response extends HttpResponse { status: "200"; body: BgpConnectionOutput; } /** Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. */ -export interface VirtualHubBgpConnectionCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualHubBgpConnectionCreateOrUpdate201Response extends HttpResponse { status: "201"; body: BgpConnectionOutput; } /** Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. */ -export interface VirtualHubBgpConnectionCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualHubBgpConnectionCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9808,8 +9146,7 @@ export interface VirtualHubBgpConnectionDelete204Response extends HttpResponse { } /** Deletes a VirtualHubBgpConnection. */ -export interface VirtualHubBgpConnectionDeleteDefaultResponse - extends HttpResponse { +export interface VirtualHubBgpConnectionDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9821,48 +9158,41 @@ export interface VirtualHubBgpConnectionsList200Response extends HttpResponse { } /** Retrieves the details of all VirtualHubBgpConnections. */ -export interface VirtualHubBgpConnectionsListDefaultResponse - extends HttpResponse { +export interface VirtualHubBgpConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves a list of routes the virtual hub bgp connection has learned. */ -export interface VirtualHubBgpConnectionsListLearnedRoutes200Response - extends HttpResponse { +export interface VirtualHubBgpConnectionsListLearnedRoutes200Response extends HttpResponse { status: "200"; body: PeerRouteListOutput; } /** Retrieves a list of routes the virtual hub bgp connection has learned. */ -export interface VirtualHubBgpConnectionsListLearnedRoutes202Response - extends HttpResponse { +export interface VirtualHubBgpConnectionsListLearnedRoutes202Response extends HttpResponse { status: "202"; } /** Retrieves a list of routes the virtual hub bgp connection has learned. */ -export interface VirtualHubBgpConnectionsListLearnedRoutesDefaultResponse - extends HttpResponse { +export interface VirtualHubBgpConnectionsListLearnedRoutesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. */ -export interface VirtualHubBgpConnectionsListAdvertisedRoutes200Response - extends HttpResponse { +export interface VirtualHubBgpConnectionsListAdvertisedRoutes200Response extends HttpResponse { status: "200"; body: PeerRouteListOutput; } /** Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. */ -export interface VirtualHubBgpConnectionsListAdvertisedRoutes202Response - extends HttpResponse { +export interface VirtualHubBgpConnectionsListAdvertisedRoutes202Response extends HttpResponse { status: "202"; } /** Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. */ -export interface VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse - extends HttpResponse { +export interface VirtualHubBgpConnectionsListAdvertisedRoutesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9874,54 +9204,46 @@ export interface VirtualHubIpConfigurationGet200Response extends HttpResponse { } /** Retrieves the details of a Virtual Hub Ip configuration. */ -export interface VirtualHubIpConfigurationGetDefaultResponse - extends HttpResponse { +export interface VirtualHubIpConfigurationGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationCreateOrUpdate200Response - extends HttpResponse { +export interface VirtualHubIpConfigurationCreateOrUpdate200Response extends HttpResponse { status: "200"; body: HubIpConfigurationOutput; } /** Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationCreateOrUpdate201Response - extends HttpResponse { +export interface VirtualHubIpConfigurationCreateOrUpdate201Response extends HttpResponse { status: "201"; body: HubIpConfigurationOutput; } /** Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface VirtualHubIpConfigurationCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationDelete200Response - extends HttpResponse { +export interface VirtualHubIpConfigurationDelete200Response extends HttpResponse { status: "200"; } /** Deletes a VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationDelete202Response - extends HttpResponse { +export interface VirtualHubIpConfigurationDelete202Response extends HttpResponse { status: "202"; } /** Deletes a VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationDelete204Response - extends HttpResponse { +export interface VirtualHubIpConfigurationDelete204Response extends HttpResponse { status: "204"; } /** Deletes a VirtualHubIpConfiguration. */ -export interface VirtualHubIpConfigurationDeleteDefaultResponse - extends HttpResponse { +export interface VirtualHubIpConfigurationDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9933,8 +9255,7 @@ export interface VirtualHubIpConfigurationList200Response extends HttpResponse { } /** Retrieves the details of all VirtualHubIpConfigurations. */ -export interface VirtualHubIpConfigurationListDefaultResponse - extends HttpResponse { +export interface VirtualHubIpConfigurationListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -9952,8 +9273,7 @@ export interface HubRouteTablesCreateOrUpdate201Response extends HttpResponse { } /** Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. */ -export interface HubRouteTablesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface HubRouteTablesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -10016,8 +9336,7 @@ export interface RoutingIntentCreateOrUpdate201Response extends HttpResponse { } /** Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. */ -export interface RoutingIntentCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface RoutingIntentCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -10068,89 +9387,76 @@ export interface RoutingIntentListDefaultResponse extends HttpResponse { } /** Lists all of the protection policies within a resource group. */ -export interface WebApplicationFirewallPoliciesList200Response - extends HttpResponse { +export interface WebApplicationFirewallPoliciesList200Response extends HttpResponse { status: "200"; body: WebApplicationFirewallPolicyListResultOutput; } /** Lists all of the protection policies within a resource group. */ -export interface WebApplicationFirewallPoliciesListDefaultResponse - extends HttpResponse { +export interface WebApplicationFirewallPoliciesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the WAF policies in a subscription. */ -export interface WebApplicationFirewallPoliciesListAll200Response - extends HttpResponse { +export interface WebApplicationFirewallPoliciesListAll200Response extends HttpResponse { status: "200"; body: WebApplicationFirewallPolicyListResultOutput; } /** Gets all the WAF policies in a subscription. */ -export interface WebApplicationFirewallPoliciesListAllDefaultResponse - extends HttpResponse { +export interface WebApplicationFirewallPoliciesListAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieve protection policy with specified name within a resource group. */ -export interface WebApplicationFirewallPoliciesGet200Response - extends HttpResponse { +export interface WebApplicationFirewallPoliciesGet200Response extends HttpResponse { status: "200"; body: WebApplicationFirewallPolicyOutput; } /** Retrieve protection policy with specified name within a resource group. */ -export interface WebApplicationFirewallPoliciesGetDefaultResponse - extends HttpResponse { +export interface WebApplicationFirewallPoliciesGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Creates or update policy with specified rule set name within a resource group. */ -export interface WebApplicationFirewallPoliciesCreateOrUpdate200Response - extends HttpResponse { +export interface WebApplicationFirewallPoliciesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: WebApplicationFirewallPolicyOutput; } /** Creates or update policy with specified rule set name within a resource group. */ -export interface WebApplicationFirewallPoliciesCreateOrUpdate201Response - extends HttpResponse { +export interface WebApplicationFirewallPoliciesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: WebApplicationFirewallPolicyOutput; } /** Creates or update policy with specified rule set name within a resource group. */ -export interface WebApplicationFirewallPoliciesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface WebApplicationFirewallPoliciesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes Policy. */ -export interface WebApplicationFirewallPoliciesDelete200Response - extends HttpResponse { +export interface WebApplicationFirewallPoliciesDelete200Response extends HttpResponse { status: "200"; } /** Deletes Policy. */ -export interface WebApplicationFirewallPoliciesDelete202Response - extends HttpResponse { +export interface WebApplicationFirewallPoliciesDelete202Response extends HttpResponse { status: "202"; } /** Deletes Policy. */ -export interface WebApplicationFirewallPoliciesDelete204Response - extends HttpResponse { +export interface WebApplicationFirewallPoliciesDelete204Response extends HttpResponse { status: "204"; } /** Deletes Policy. */ -export interface WebApplicationFirewallPoliciesDeleteDefaultResponse - extends HttpResponse { +export interface WebApplicationFirewallPoliciesDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } diff --git a/sdk/network/arm-network-rest/tsconfig.browser.config.json b/sdk/network/arm-network-rest/tsconfig.browser.config.json index b6586181d006..f772e6eb3b76 100644 --- a/sdk/network/arm-network-rest/tsconfig.browser.config.json +++ b/sdk/network/arm-network-rest/tsconfig.browser.config.json @@ -1,14 +1,7 @@ { "extends": "./.tshy/build.json", - "include": [ - "./src/**/*.ts", - "./src/**/*.mts", - "./test/**/*.spec.ts", - "./test/**/*.mts" - ], - "exclude": [ - "./test/**/node/**/*.ts" - ], + "include": ["./src/**/*.ts", "./src/**/*.mts", "./test/**/*.spec.ts", "./test/**/*.mts"], + "exclude": ["./test/**/node/**/*.ts"], "compilerOptions": { "outDir": "./dist-test/browser", "rootDir": ".", diff --git a/sdk/network/arm-network-rest/tsconfig.samples.json b/sdk/network/arm-network-rest/tsconfig.samples.json index 2365196bf1b1..41564f1e6ee3 100644 --- a/sdk/network/arm-network-rest/tsconfig.samples.json +++ b/sdk/network/arm-network-rest/tsconfig.samples.json @@ -2,9 +2,7 @@ "extends": "../../../tsconfig.samples.base.json", "compilerOptions": { "paths": { - "@azure-rest/arm-network": [ - "./dist/esm" - ] + "@azure-rest/arm-network": ["./dist/esm"] } } } diff --git a/sdk/network/arm-network-rest/tsconfig.test.json b/sdk/network/arm-network-rest/tsconfig.test.json index 3c2b783a8c1b..290ca214aebc 100644 --- a/sdk/network/arm-network-rest/tsconfig.test.json +++ b/sdk/network/arm-network-rest/tsconfig.test.json @@ -1,6 +1,3 @@ { - "extends": [ - "./tsconfig.src.json", - "../../../tsconfig.test.base.json" - ] + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] } From 26969b725bf434af4ebf1d38c012f655be56b49d Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:25:06 +0800 Subject: [PATCH 55/73] update --- common/config/rush/pnpm-lock.yaml | 48 +- sdk/network/arm-network-rest/CHANGELOG.md | 15 +- sdk/network/arm-network-rest/package.json | 29 +- .../review/arm-network.api.md | 3032 +++++------------ .../samples/v1-beta/javascript/README.md | 2 +- ...dminRuleCollectionsCreateOrUpdateSample.js | 4 +- .../adminRuleCollectionsDeleteSample.js | 6 +- .../adminRuleCollectionsGetSample.js | 4 +- .../adminRuleCollectionsListSample.js | 4 +- .../adminRulesCreateOrUpdateSample.js | 6 +- .../javascript/adminRulesDeleteSample.js | 6 +- .../v1-beta/javascript/adminRulesGetSample.js | 6 +- .../javascript/adminRulesListSample.js | 4 +- ...yPrivateEndpointConnectionsDeleteSample.js | 6 +- ...ewayPrivateEndpointConnectionsGetSample.js | 4 +- ...wayPrivateEndpointConnectionsListSample.js | 4 +- ...yPrivateEndpointConnectionsUpdateSample.js | 6 +- ...onGatewayPrivateLinkResourcesListSample.js | 4 +- ...ewayWafDynamicManifestsDefaultGetSample.js | 4 +- ...tionGatewayWafDynamicManifestsGetSample.js | 4 +- ...tionGatewaysBackendHealthOnDemandSample.js | 6 +- .../applicationGatewaysBackendHealthSample.js | 6 +- ...applicationGatewaysCreateOrUpdateSample.js | 6 +- .../applicationGatewaysDeleteSample.js | 6 +- .../applicationGatewaysGetSample.js | 4 +- ...ionGatewaysGetSslPredefinedPolicySample.js | 4 +- .../applicationGatewaysListAllSample.js | 4 +- ...tewaysListAvailableRequestHeadersSample.js | 4 +- ...ewaysListAvailableResponseHeadersSample.js | 4 +- ...ewaysListAvailableServerVariablesSample.js | 4 +- ...onGatewaysListAvailableSslOptionsSample.js | 4 +- ...istAvailableSslPredefinedPoliciesSample.js | 4 +- ...nGatewaysListAvailableWafRuleSetsSample.js | 4 +- .../applicationGatewaysListSample.js | 4 +- .../applicationGatewaysStartSample.js | 6 +- .../applicationGatewaysStopSample.js | 6 +- .../applicationGatewaysUpdateTagsSample.js | 4 +- ...ationSecurityGroupsCreateOrUpdateSample.js | 6 +- .../applicationSecurityGroupsDeleteSample.js | 6 +- .../applicationSecurityGroupsGetSample.js | 4 +- .../applicationSecurityGroupsListAllSample.js | 4 +- .../applicationSecurityGroupsListSample.js | 4 +- ...plicationSecurityGroupsUpdateTagsSample.js | 4 +- .../availableDelegationsListSample.js | 4 +- .../availableEndpointServicesListSample.js | 4 +- ...eEndpointTypesListByResourceGroupSample.js | 4 +- ...availablePrivateEndpointTypesListSample.js | 4 +- ...lableResourceGroupDelegationsListSample.js | 4 +- ...ServiceAliasesListByResourceGroupSample.js | 4 +- .../availableServiceAliasesListSample.js | 4 +- .../azureFirewallFqdnTagsListAllSample.js | 4 +- .../azureFirewallsCreateOrUpdateSample.js | 26 +- .../javascript/azureFirewallsDeleteSample.js | 6 +- .../javascript/azureFirewallsGetSample.js | 12 +- .../javascript/azureFirewallsListAllSample.js | 4 +- ...azureFirewallsListLearnedPrefixesSample.js | 6 +- .../javascript/azureFirewallsListSample.js | 4 +- .../azureFirewallsUpdateTagsSample.js | 6 +- .../bastionHostsCreateOrUpdateSample.js | 6 +- .../javascript/bastionHostsDeleteSample.js | 6 +- .../javascript/bastionHostsGetSample.js | 4 +- .../bastionHostsListByResourceGroupSample.js | 4 +- .../javascript/bastionHostsListSample.js | 4 +- .../bastionHostsUpdateTagsSample.js | 6 +- .../bgpServiceCommunitiesListSample.js | 4 +- .../checkDnsNameAvailabilitySample.js | 4 +- ...urationPolicyGroupsCreateOrUpdateSample.js | 6 +- .../configurationPolicyGroupsDeleteSample.js | 6 +- .../configurationPolicyGroupsGetSample.js | 4 +- ...roupsListByVpnServerConfigurationSample.js | 4 +- .../connectionMonitorsCreateOrUpdateSample.js | 10 +- .../connectionMonitorsDeleteSample.js | 6 +- .../javascript/connectionMonitorsGetSample.js | 4 +- .../connectionMonitorsListSample.js | 4 +- .../connectionMonitorsQuerySample.js | 6 +- .../connectionMonitorsStartSample.js | 6 +- .../connectionMonitorsStopSample.js | 6 +- .../connectionMonitorsUpdateTagsSample.js | 4 +- ...ivityConfigurationsCreateOrUpdateSample.js | 4 +- .../connectivityConfigurationsDeleteSample.js | 6 +- .../connectivityConfigurationsGetSample.js | 4 +- .../connectivityConfigurationsListSample.js | 4 +- .../customIPPrefixesCreateOrUpdateSample.js | 6 +- .../customIPPrefixesDeleteSample.js | 6 +- .../javascript/customIPPrefixesGetSample.js | 4 +- .../customIPPrefixesListAllSample.js | 4 +- .../javascript/customIPPrefixesListSample.js | 4 +- .../customIPPrefixesUpdateTagsSample.js | 4 +- .../ddosCustomPoliciesCreateOrUpdateSample.js | 6 +- .../ddosCustomPoliciesDeleteSample.js | 6 +- .../javascript/ddosCustomPoliciesGetSample.js | 4 +- .../ddosCustomPoliciesUpdateTagsSample.js | 4 +- ...ddosProtectionPlansCreateOrUpdateSample.js | 6 +- .../ddosProtectionPlansDeleteSample.js | 6 +- .../ddosProtectionPlansGetSample.js | 4 +- ...rotectionPlansListByResourceGroupSample.js | 4 +- .../ddosProtectionPlansListSample.js | 4 +- .../ddosProtectionPlansUpdateTagsSample.js | 4 +- .../defaultSecurityRulesGetSample.js | 4 +- .../defaultSecurityRulesListSample.js | 4 +- .../deleteBastionShareableLinkSample.js | 6 +- .../disconnectActiveSessionsSample.js | 4 +- .../dscpConfigurationCreateOrUpdateSample.js | 6 +- .../dscpConfigurationDeleteSample.js | 6 +- .../javascript/dscpConfigurationGetSample.js | 4 +- .../dscpConfigurationListAllSample.js | 4 +- .../javascript/dscpConfigurationListSample.js | 4 +- ...rcuitAuthorizationsCreateOrUpdateSample.js | 6 +- ...sRouteCircuitAuthorizationsDeleteSample.js | 6 +- ...ressRouteCircuitAuthorizationsGetSample.js | 4 +- ...essRouteCircuitAuthorizationsListSample.js | 4 +- ...eCircuitConnectionsCreateOrUpdateSample.js | 6 +- ...ressRouteCircuitConnectionsDeleteSample.js | 6 +- ...expressRouteCircuitConnectionsGetSample.js | 4 +- ...xpressRouteCircuitConnectionsListSample.js | 4 +- ...outeCircuitPeeringsCreateOrUpdateSample.js | 6 +- ...expressRouteCircuitPeeringsDeleteSample.js | 6 +- .../expressRouteCircuitPeeringsGetSample.js | 4 +- .../expressRouteCircuitPeeringsListSample.js | 4 +- ...xpressRouteCircuitsCreateOrUpdateSample.js | 10 +- .../expressRouteCircuitsDeleteSample.js | 4 +- ...pressRouteCircuitsGetPeeringStatsSample.js | 4 +- .../expressRouteCircuitsGetSample.js | 4 +- .../expressRouteCircuitsGetStatsSample.js | 4 +- .../expressRouteCircuitsListAllSample.js | 4 +- .../expressRouteCircuitsListArpTableSample.js | 4 +- ...pressRouteCircuitsListRoutesTableSample.js | 4 +- ...uteCircuitsListRoutesTableSummarySample.js | 4 +- .../expressRouteCircuitsListSample.js | 4 +- .../expressRouteCircuitsUpdateTagsSample.js | 4 +- ...essRouteConnectionsCreateOrUpdateSample.js | 4 +- .../expressRouteConnectionsDeleteSample.js | 4 +- .../expressRouteConnectionsGetSample.js | 4 +- .../expressRouteConnectionsListSample.js | 4 +- ...sConnectionPeeringsCreateOrUpdateSample.js | 4 +- ...outeCrossConnectionPeeringsDeleteSample.js | 4 +- ...ssRouteCrossConnectionPeeringsGetSample.js | 4 +- ...sRouteCrossConnectionPeeringsListSample.js | 4 +- ...uteCrossConnectionsCreateOrUpdateSample.js | 4 +- .../expressRouteCrossConnectionsGetSample.js | 4 +- ...RouteCrossConnectionsListArpTableSample.js | 4 +- ...ossConnectionsListByResourceGroupSample.js | 4 +- ...teCrossConnectionsListRoutesTableSample.js | 4 +- ...ConnectionsListRoutesTableSummarySample.js | 4 +- .../expressRouteCrossConnectionsListSample.js | 4 +- ...ssRouteCrossConnectionsUpdateTagsSample.js | 4 +- ...xpressRouteGatewaysCreateOrUpdateSample.js | 4 +- .../expressRouteGatewaysDeleteSample.js | 4 +- .../expressRouteGatewaysGetSample.js | 4 +- ...sRouteGatewaysListByResourceGroupSample.js | 4 +- ...ssRouteGatewaysListBySubscriptionSample.js | 4 +- .../expressRouteGatewaysUpdateTagsSample.js | 4 +- .../javascript/expressRouteLinksGetSample.js | 4 +- .../javascript/expressRouteLinksListSample.js | 4 +- ...ePortAuthorizationsCreateOrUpdateSample.js | 4 +- ...ressRoutePortAuthorizationsDeleteSample.js | 4 +- ...expressRoutePortAuthorizationsGetSample.js | 4 +- ...xpressRoutePortAuthorizationsListSample.js | 4 +- .../expressRoutePortsCreateOrUpdateSample.js | 6 +- .../expressRoutePortsDeleteSample.js | 4 +- .../expressRoutePortsGenerateLoaSample.js | 4 +- .../javascript/expressRoutePortsGetSample.js | 4 +- ...ressRoutePortsListByResourceGroupSample.js | 4 +- .../javascript/expressRoutePortsListSample.js | 4 +- .../expressRoutePortsLocationsGetSample.js | 4 +- .../expressRoutePortsLocationsListSample.js | 4 +- .../expressRoutePortsUpdateTagsSample.js | 4 +- .../expressRouteProviderPortsGetSample.js | 4 +- ...essRouteProviderPortsLocationListSample.js | 4 +- .../expressRouteServiceProvidersListSample.js | 4 +- .../firewallPoliciesCreateOrUpdateSample.js | 4 +- .../firewallPoliciesDeleteSample.js | 4 +- .../javascript/firewallPoliciesGetSample.js | 4 +- .../firewallPoliciesListAllSample.js | 4 +- .../javascript/firewallPoliciesListSample.js | 4 +- .../firewallPoliciesUpdateTagsSample.js | 4 +- ...icyIdpsSignaturesFilterValuesListSample.js | 4 +- .../firewallPolicyIdpsSignaturesListSample.js | 4 +- ...lPolicyIdpsSignaturesOverridesGetSample.js | 4 +- ...PolicyIdpsSignaturesOverridesListSample.js | 4 +- ...olicyIdpsSignaturesOverridesPatchSample.js | 6 +- ...lPolicyIdpsSignaturesOverridesPutSample.js | 6 +- ...uleCollectionGroupsCreateOrUpdateSample.js | 10 +- ...lPolicyRuleCollectionGroupsDeleteSample.js | 4 +- ...wallPolicyRuleCollectionGroupsGetSample.js | 10 +- ...allPolicyRuleCollectionGroupsListSample.js | 8 +- .../flowLogsCreateOrUpdateSample.js | 4 +- .../javascript/flowLogsDeleteSample.js | 4 +- .../v1-beta/javascript/flowLogsGetSample.js | 4 +- .../v1-beta/javascript/flowLogsListSample.js | 4 +- .../javascript/flowLogsUpdateTagsSample.js | 4 +- ...nvpnserverconfigurationvpnprofileSample.js | 4 +- .../javascript/getActiveSessionsSample.js | 4 +- .../getBastionShareableLinkSample.js | 4 +- .../hubRouteTablesCreateOrUpdateSample.js | 4 +- .../javascript/hubRouteTablesDeleteSample.js | 4 +- .../javascript/hubRouteTablesGetSample.js | 4 +- .../javascript/hubRouteTablesListSample.js | 4 +- ...lNetworkConnectionsCreateOrUpdateSample.js | 4 +- ...ubVirtualNetworkConnectionsDeleteSample.js | 4 +- .../hubVirtualNetworkConnectionsGetSample.js | 4 +- .../hubVirtualNetworkConnectionsListSample.js | 4 +- .../inboundNatRulesCreateOrUpdateSample.js | 4 +- .../javascript/inboundNatRulesDeleteSample.js | 4 +- .../javascript/inboundNatRulesGetSample.js | 4 +- .../javascript/inboundNatRulesListSample.js | 4 +- ...inboundSecurityRuleCreateOrUpdateSample.js | 4 +- .../ipAllocationsCreateOrUpdateSample.js | 4 +- .../javascript/ipAllocationsDeleteSample.js | 4 +- .../javascript/ipAllocationsGetSample.js | 4 +- .../ipAllocationsListByResourceGroupSample.js | 4 +- .../javascript/ipAllocationsListSample.js | 4 +- .../ipAllocationsUpdateTagsSample.js | 4 +- .../ipGroupsCreateOrUpdateSample.js | 4 +- .../javascript/ipGroupsDeleteSample.js | 4 +- .../v1-beta/javascript/ipGroupsGetSample.js | 4 +- .../ipGroupsListByResourceGroupSample.js | 4 +- .../v1-beta/javascript/ipGroupsListSample.js | 2 +- .../javascript/ipGroupsUpdateGroupsSample.js | 4 +- ...tActiveConnectivityConfigurationsSample.js | 4 +- .../listActiveSecurityAdminRulesSample.js | 4 +- ...fectiveConnectivityConfigurationsSample.js | 4 +- ...anagerEffectiveSecurityAdminRulesSample.js | 4 +- ...BackendAddressPoolsCreateOrUpdateSample.js | 6 +- ...BalancerBackendAddressPoolsDeleteSample.js | 4 +- ...oadBalancerBackendAddressPoolsGetSample.js | 6 +- ...adBalancerBackendAddressPoolsListSample.js | 6 +- ...lancerFrontendIPConfigurationsGetSample.js | 4 +- ...ancerFrontendIPConfigurationsListSample.js | 4 +- ...loadBalancerLoadBalancingRulesGetSample.js | 4 +- ...oadBalancerLoadBalancingRulesListSample.js | 4 +- ...loadBalancerNetworkInterfacesListSample.js | 6 +- .../loadBalancerOutboundRulesGetSample.js | 4 +- .../loadBalancerOutboundRulesListSample.js | 4 +- .../javascript/loadBalancerProbesGetSample.js | 4 +- .../loadBalancerProbesListSample.js | 4 +- .../loadBalancersCreateOrUpdateSample.js | 24 +- .../javascript/loadBalancersDeleteSample.js | 4 +- .../javascript/loadBalancersGetSample.js | 6 +- .../javascript/loadBalancersListAllSample.js | 4 +- ...ersListInboundNatRulePortMappingsSample.js | 4 +- .../javascript/loadBalancersListSample.js | 4 +- ...oadBalancersSwapPublicIPAddressesSample.js | 4 +- .../loadBalancersUpdateTagsSample.js | 4 +- ...ocalNetworkGatewaysCreateOrUpdateSample.js | 4 +- .../localNetworkGatewaysDeleteSample.js | 4 +- .../localNetworkGatewaysGetSample.js | 4 +- .../localNetworkGatewaysListSample.js | 4 +- .../localNetworkGatewaysUpdateTagsSample.js | 4 +- ...kManagerConnectionsCreateOrUpdateSample.js | 4 +- ...upNetworkManagerConnectionsDeleteSample.js | 4 +- ...GroupNetworkManagerConnectionsGetSample.js | 4 +- ...roupNetworkManagerConnectionsListSample.js | 4 +- .../natGatewaysCreateOrUpdateSample.js | 4 +- .../javascript/natGatewaysDeleteSample.js | 4 +- .../javascript/natGatewaysGetSample.js | 4 +- .../javascript/natGatewaysListAllSample.js | 2 +- .../javascript/natGatewaysListSample.js | 4 +- .../javascript/natGatewaysUpdateTagsSample.js | 4 +- .../natRulesCreateOrUpdateSample.js | 4 +- .../javascript/natRulesDeleteSample.js | 4 +- .../v1-beta/javascript/natRulesGetSample.js | 4 +- .../natRulesListByVpnGatewaySample.js | 4 +- .../networkGroupsCreateOrUpdateSample.js | 4 +- .../javascript/networkGroupsDeleteSample.js | 4 +- .../javascript/networkGroupsGetSample.js | 4 +- .../javascript/networkGroupsListSample.js | 4 +- ...tworkInterfaceIPConfigurationsGetSample.js | 4 +- ...workInterfaceIPConfigurationsListSample.js | 4 +- ...networkInterfaceLoadBalancersListSample.js | 4 +- ...ceTapConfigurationsCreateOrUpdateSample.js | 4 +- ...kInterfaceTapConfigurationsDeleteSample.js | 4 +- ...workInterfaceTapConfigurationsGetSample.js | 4 +- ...orkInterfaceTapConfigurationsListSample.js | 4 +- .../networkInterfacesCreateOrUpdateSample.js | 6 +- .../networkInterfacesDeleteSample.js | 4 +- ...esGetCloudServiceNetworkInterfaceSample.js | 4 +- ...kInterfacesGetEffectiveRouteTableSample.js | 4 +- .../javascript/networkInterfacesGetSample.js | 4 +- ...ualMachineScaleSetIPConfigurationSample.js | 4 +- ...alMachineScaleSetNetworkInterfaceSample.js | 4 +- .../networkInterfacesListAllSample.js | 4 +- ...ListCloudServiceNetworkInterfacesSample.js | 4 +- ...viceRoleInstanceNetworkInterfacesSample.js | 4 +- ...istEffectiveNetworkSecurityGroupsSample.js | 4 +- .../javascript/networkInterfacesListSample.js | 4 +- ...alMachineScaleSetIPConfigurationsSample.js | 4 +- ...lMachineScaleSetNetworkInterfacesSample.js | 4 +- ...achineScaleSetVMNetworkInterfacesSample.js | 4 +- .../networkInterfacesUpdateTagsSample.js | 4 +- .../networkManagerCommitsPostSample.js | 4 +- ...etworkManagerDeploymentStatusListSample.js | 4 +- .../networkManagersCreateOrUpdateSample.js | 4 +- .../javascript/networkManagersDeleteSample.js | 4 +- .../javascript/networkManagersGetSample.js | 4 +- ...networkManagersListBySubscriptionSample.js | 4 +- .../javascript/networkManagersListSample.js | 4 +- .../javascript/networkManagersPatchSample.js | 4 +- .../networkProfilesCreateOrUpdateSample.js | 4 +- .../javascript/networkProfilesDeleteSample.js | 4 +- .../javascript/networkProfilesGetSample.js | 6 +- .../networkProfilesListAllSample.js | 4 +- .../javascript/networkProfilesListSample.js | 4 +- .../networkProfilesUpdateTagsSample.js | 4 +- ...tworkSecurityGroupsCreateOrUpdateSample.js | 6 +- .../networkSecurityGroupsDeleteSample.js | 4 +- .../networkSecurityGroupsGetSample.js | 4 +- .../networkSecurityGroupsListAllSample.js | 4 +- .../networkSecurityGroupsListSample.js | 4 +- .../networkSecurityGroupsUpdateTagsSample.js | 4 +- ...rkVirtualAppliancesCreateOrUpdateSample.js | 4 +- .../networkVirtualAppliancesDeleteSample.js | 4 +- .../networkVirtualAppliancesGetSample.js | 4 +- ...tualAppliancesListByResourceGroupSample.js | 4 +- .../networkVirtualAppliancesListSample.js | 4 +- ...etworkVirtualAppliancesUpdateTagsSample.js | 4 +- .../networkWatchersCheckConnectivitySample.js | 4 +- .../networkWatchersCreateOrUpdateSample.js | 4 +- .../javascript/networkWatchersDeleteSample.js | 4 +- ...atchersGetAzureReachabilityReportSample.js | 4 +- .../networkWatchersGetFlowLogStatusSample.js | 4 +- ...GetNetworkConfigurationDiagnosticSample.js | 4 +- .../networkWatchersGetNextHopSample.js | 4 +- .../javascript/networkWatchersGetSample.js | 4 +- .../networkWatchersGetTopologySample.js | 4 +- ...kWatchersGetTroubleshootingResultSample.js | 4 +- ...networkWatchersGetTroubleshootingSample.js | 4 +- ...networkWatchersGetVMSecurityRulesSample.js | 4 +- .../networkWatchersListAllSample.js | 4 +- ...orkWatchersListAvailableProvidersSample.js | 4 +- .../javascript/networkWatchersListSample.js | 4 +- ...rkWatchersSetFlowLogConfigurationSample.js | 4 +- .../networkWatchersUpdateTagsSample.js | 4 +- .../networkWatchersVerifyIPFlowSample.js | 4 +- .../javascript/operationsListSample.js | 2 +- .../p2SVpnGatewaysCreateOrUpdateSample.js | 4 +- .../javascript/p2SVpnGatewaysDeleteSample.js | 4 +- ...tewaysDisconnectP2SvpnConnectionsSample.js | 4 +- .../p2SVpnGatewaysGenerateVpnProfileSample.js | 4 +- ...GetP2SvpnConnectionHealthDetailedSample.js | 4 +- ...GatewaysGetP2SvpnConnectionHealthSample.js | 4 +- .../javascript/p2SVpnGatewaysGetSample.js | 4 +- ...p2SVpnGatewaysListByResourceGroupSample.js | 4 +- .../javascript/p2SVpnGatewaysListSample.js | 4 +- .../javascript/p2SVpnGatewaysResetSample.js | 4 +- .../p2SVpnGatewaysUpdateTagsSample.js | 4 +- .../samples/v1-beta/javascript/package.json | 2 +- .../javascript/packetCapturesCreateSample.js | 4 +- .../javascript/packetCapturesDeleteSample.js | 4 +- .../javascript/packetCapturesGetSample.js | 4 +- .../packetCapturesGetStatusSample.js | 4 +- .../javascript/packetCapturesListSample.js | 4 +- .../javascript/packetCapturesStopSample.js | 4 +- ...ExpressRouteCircuitConnectionsGetSample.js | 4 +- ...xpressRouteCircuitConnectionsListSample.js | 4 +- ...rivateDnsZoneGroupsCreateOrUpdateSample.js | 4 +- .../privateDnsZoneGroupsDeleteSample.js | 4 +- .../privateDnsZoneGroupsGetSample.js | 4 +- .../privateDnsZoneGroupsListSample.js | 4 +- .../privateEndpointsCreateOrUpdateSample.js | 8 +- .../privateEndpointsDeleteSample.js | 4 +- .../javascript/privateEndpointsGetSample.js | 8 +- ...rivateEndpointsListBySubscriptionSample.js | 4 +- .../javascript/privateEndpointsListSample.js | 4 +- ...kServiceVisibilityByResourceGroupSample.js | 4 +- ...CheckPrivateLinkServiceVisibilitySample.js | 4 +- ...privateLinkServicesCreateOrUpdateSample.js | 4 +- ...esDeletePrivateEndpointConnectionSample.js | 4 +- .../privateLinkServicesDeleteSample.js | 4 +- ...vicesGetPrivateEndpointConnectionSample.js | 4 +- .../privateLinkServicesGetSample.js | 4 +- ...rivateLinkServicesByResourceGroupSample.js | 6 +- ...stAutoApprovedPrivateLinkServicesSample.js | 6 +- ...ateLinkServicesListBySubscriptionSample.js | 4 +- ...cesListPrivateEndpointConnectionsSample.js | 4 +- .../privateLinkServicesListSample.js | 4 +- ...esUpdatePrivateEndpointConnectionSample.js | 4 +- .../publicIPAddressesCreateOrUpdateSample.js | 8 +- ...icIPAddressesDdosProtectionStatusSample.js | 4 +- .../publicIPAddressesDeleteSample.js | 4 +- ...sesGetCloudServicePublicIpaddressSample.js | 4 +- .../javascript/publicIPAddressesGetSample.js | 4 +- ...ualMachineScaleSetPublicIpaddressSample.js | 4 +- .../publicIPAddressesListAllSample.js | 4 +- ...ListCloudServicePublicIpaddressesSample.js | 4 +- ...viceRoleInstancePublicIpaddressesSample.js | 4 +- .../javascript/publicIPAddressesListSample.js | 4 +- ...lMachineScaleSetPublicIpaddressesSample.js | 4 +- ...achineScaleSetVmpublicIpaddressesSample.js | 4 +- .../publicIPAddressesUpdateTagsSample.js | 4 +- .../publicIPPrefixesCreateOrUpdateSample.js | 6 +- .../publicIPPrefixesDeleteSample.js | 4 +- .../javascript/publicIPPrefixesGetSample.js | 4 +- .../publicIPPrefixesListAllSample.js | 4 +- .../javascript/publicIPPrefixesListSample.js | 4 +- .../publicIPPrefixesUpdateTagsSample.js | 4 +- .../putBastionShareableLinkSample.js | 4 +- .../resourceNavigationLinksListSample.js | 4 +- .../routeFilterRulesCreateOrUpdateSample.js | 4 +- .../routeFilterRulesDeleteSample.js | 4 +- .../javascript/routeFilterRulesGetSample.js | 4 +- ...routeFilterRulesListByRouteFilterSample.js | 4 +- .../routeFiltersCreateOrUpdateSample.js | 4 +- .../javascript/routeFiltersDeleteSample.js | 4 +- .../javascript/routeFiltersGetSample.js | 4 +- .../routeFiltersListByResourceGroupSample.js | 4 +- .../javascript/routeFiltersListSample.js | 4 +- .../routeFiltersUpdateTagsSample.js | 4 +- .../routeMapsCreateOrUpdateSample.js | 4 +- .../javascript/routeMapsDeleteSample.js | 4 +- .../v1-beta/javascript/routeMapsGetSample.js | 4 +- .../v1-beta/javascript/routeMapsListSample.js | 4 +- .../routeTablesCreateOrUpdateSample.js | 6 +- .../javascript/routeTablesDeleteSample.js | 4 +- .../javascript/routeTablesGetSample.js | 4 +- .../javascript/routeTablesListAllSample.js | 2 +- .../javascript/routeTablesListSample.js | 4 +- .../javascript/routeTablesUpdateTagsSample.js | 4 +- .../javascript/routesCreateOrUpdateSample.js | 4 +- .../v1-beta/javascript/routesDeleteSample.js | 4 +- .../v1-beta/javascript/routesGetSample.js | 4 +- .../v1-beta/javascript/routesListSample.js | 4 +- .../routingIntentCreateOrUpdateSample.js | 4 +- .../javascript/routingIntentDeleteSample.js | 4 +- .../javascript/routingIntentGetSample.js | 4 +- .../javascript/routingIntentListSample.js | 4 +- .../scopeConnectionsCreateOrUpdateSample.js | 4 +- .../scopeConnectionsDeleteSample.js | 4 +- .../javascript/scopeConnectionsGetSample.js | 4 +- .../javascript/scopeConnectionsListSample.js | 4 +- ...AdminConfigurationsCreateOrUpdateSample.js | 4 +- ...securityAdminConfigurationsDeleteSample.js | 4 +- .../securityAdminConfigurationsGetSample.js | 4 +- .../securityAdminConfigurationsListSample.js | 4 +- ...ityPartnerProvidersCreateOrUpdateSample.js | 4 +- .../securityPartnerProvidersDeleteSample.js | 4 +- .../securityPartnerProvidersGetSample.js | 4 +- ...rtnerProvidersListByResourceGroupSample.js | 4 +- .../securityPartnerProvidersListSample.js | 4 +- ...ecurityPartnerProvidersUpdateTagsSample.js | 4 +- .../securityRulesCreateOrUpdateSample.js | 4 +- .../javascript/securityRulesDeleteSample.js | 4 +- .../javascript/securityRulesGetSample.js | 4 +- .../javascript/securityRulesListSample.js | 4 +- .../serviceAssociationLinksListSample.js | 4 +- ...iceEndpointPoliciesCreateOrUpdateSample.js | 6 +- .../serviceEndpointPoliciesDeleteSample.js | 4 +- .../serviceEndpointPoliciesGetSample.js | 4 +- ...dpointPoliciesListByResourceGroupSample.js | 4 +- .../serviceEndpointPoliciesListSample.js | 4 +- ...serviceEndpointPoliciesUpdateTagsSample.js | 4 +- ...ntPolicyDefinitionsCreateOrUpdateSample.js | 4 +- ...ceEndpointPolicyDefinitionsDeleteSample.js | 4 +- ...rviceEndpointPolicyDefinitionsGetSample.js | 4 +- ...icyDefinitionsListByResourceGroupSample.js | 4 +- .../serviceTagInformationListSample.js | 8 +- .../javascript/serviceTagsListSample.js | 4 +- .../staticMembersCreateOrUpdateSample.js | 4 +- .../javascript/staticMembersDeleteSample.js | 4 +- .../javascript/staticMembersGetSample.js | 4 +- .../javascript/staticMembersListSample.js | 4 +- .../javascript/subnetsCreateOrUpdateSample.js | 8 +- .../v1-beta/javascript/subnetsDeleteSample.js | 4 +- .../v1-beta/javascript/subnetsGetSample.js | 6 +- .../v1-beta/javascript/subnetsListSample.js | 4 +- .../subnetsPrepareNetworkPoliciesSample.js | 4 +- .../subnetsUnprepareNetworkPoliciesSample.js | 4 +- ...kManagerConnectionsCreateOrUpdateSample.js | 4 +- ...onNetworkManagerConnectionsDeleteSample.js | 4 +- ...ptionNetworkManagerConnectionsGetSample.js | 4 +- ...tionNetworkManagerConnectionsListSample.js | 4 +- .../supportedSecurityProvidersSample.js | 4 +- .../v1-beta/javascript/usagesListSample.js | 6 +- .../v1-beta/javascript/vipSwapCreateSample.js | 4 +- .../v1-beta/javascript/vipSwapGetSample.js | 4 +- .../v1-beta/javascript/vipSwapListSample.js | 4 +- ...rtualApplianceSitesCreateOrUpdateSample.js | 4 +- .../virtualApplianceSitesDeleteSample.js | 4 +- .../virtualApplianceSitesGetSample.js | 4 +- .../virtualApplianceSitesListSample.js | 4 +- .../virtualApplianceSkusGetSample.js | 4 +- .../virtualApplianceSkusListSample.js | 4 +- ...ualHubBgpConnectionCreateOrUpdateSample.js | 4 +- .../virtualHubBgpConnectionDeleteSample.js | 4 +- .../virtualHubBgpConnectionGetSample.js | 4 +- ...gpConnectionsListAdvertisedRoutesSample.js | 4 +- ...ubBgpConnectionsListLearnedRoutesSample.js | 4 +- .../virtualHubBgpConnectionsListSample.js | 4 +- ...lHubIPConfigurationCreateOrUpdateSample.js | 4 +- .../virtualHubIPConfigurationDeleteSample.js | 4 +- .../virtualHubIPConfigurationGetSample.js | 4 +- .../virtualHubIPConfigurationListSample.js | 4 +- ...ualHubRouteTableV2SCreateOrUpdateSample.js | 4 +- .../virtualHubRouteTableV2SDeleteSample.js | 4 +- .../virtualHubRouteTableV2SGetSample.js | 4 +- .../virtualHubRouteTableV2SListSample.js | 4 +- .../virtualHubsCreateOrUpdateSample.js | 4 +- .../javascript/virtualHubsDeleteSample.js | 4 +- ...lHubsGetEffectiveVirtualHubRoutesSample.js | 8 +- .../virtualHubsGetInboundRoutesSample.js | 4 +- .../virtualHubsGetOutboundRoutesSample.js | 4 +- .../javascript/virtualHubsGetSample.js | 4 +- .../virtualHubsListByResourceGroupSample.js | 4 +- .../javascript/virtualHubsListSample.js | 2 +- .../javascript/virtualHubsUpdateTagsSample.js | 4 +- ...kGatewayConnectionsCreateOrUpdateSample.js | 4 +- ...alNetworkGatewayConnectionsDeleteSample.js | 4 +- ...etworkGatewayConnectionsGetIkeSasSample.js | 4 +- ...rtualNetworkGatewayConnectionsGetSample.js | 4 +- ...orkGatewayConnectionsGetSharedKeySample.js | 4 +- ...tualNetworkGatewayConnectionsListSample.js | 4 +- ...GatewayConnectionsResetConnectionSample.js | 4 +- ...kGatewayConnectionsResetSharedKeySample.js | 4 +- ...orkGatewayConnectionsSetSharedKeySample.js | 4 +- ...ewayConnectionsStartPacketCaptureSample.js | 6 +- ...tewayConnectionsStopPacketCaptureSample.js | 4 +- ...tworkGatewayConnectionsUpdateTagsSample.js | 4 +- ...workGatewayNatRulesCreateOrUpdateSample.js | 4 +- ...rtualNetworkGatewayNatRulesDeleteSample.js | 4 +- .../virtualNetworkGatewayNatRulesGetSample.js | 4 +- ...tRulesListByVirtualNetworkGatewaySample.js | 4 +- ...tualNetworkGatewaysCreateOrUpdateSample.js | 4 +- .../virtualNetworkGatewaysDeleteSample.js | 4 +- ...rtualNetworkGatewayVpnConnectionsSample.js | 4 +- ...NetworkGatewaysGenerateVpnProfileSample.js | 4 +- ...kGatewaysGeneratevpnclientpackageSample.js | 4 +- ...etworkGatewaysGetAdvertisedRoutesSample.js | 4 +- ...alNetworkGatewaysGetBgpPeerStatusSample.js | 4 +- ...alNetworkGatewaysGetLearnedRoutesSample.js | 4 +- .../virtualNetworkGatewaysGetSample.js | 4 +- ...rkGatewaysGetVpnProfilePackageUrlSample.js | 4 +- ...ewaysGetVpnclientConnectionHealthSample.js | 4 +- ...tewaysGetVpnclientIpsecParametersSample.js | 4 +- ...ualNetworkGatewaysListConnectionsSample.js | 4 +- .../virtualNetworkGatewaysListSample.js | 4 +- .../virtualNetworkGatewaysResetSample.js | 4 +- ...rkGatewaysResetVpnClientSharedKeySample.js | 4 +- ...tewaysSetVpnclientIpsecParametersSample.js | 4 +- ...NetworkGatewaysStartPacketCaptureSample.js | 6 +- ...lNetworkGatewaysStopPacketCaptureSample.js | 4 +- ...etworkGatewaysSupportedVpnDevicesSample.js | 4 +- .../virtualNetworkGatewaysUpdateTagsSample.js | 4 +- ...ewaysVpnDeviceConfigurationScriptSample.js | 4 +- ...tualNetworkPeeringsCreateOrUpdateSample.js | 8 +- .../virtualNetworkPeeringsDeleteSample.js | 4 +- .../virtualNetworkPeeringsGetSample.js | 6 +- .../virtualNetworkPeeringsListSample.js | 6 +- .../virtualNetworkTapsCreateOrUpdateSample.js | 4 +- .../virtualNetworkTapsDeleteSample.js | 4 +- .../javascript/virtualNetworkTapsGetSample.js | 4 +- .../virtualNetworkTapsListAllSample.js | 4 +- ...ualNetworkTapsListByResourceGroupSample.js | 4 +- .../virtualNetworkTapsUpdateTagsSample.js | 4 +- ...etworksCheckIPAddressAvailabilitySample.js | 4 +- .../virtualNetworksCreateOrUpdateSample.js | 18 +- .../javascript/virtualNetworksDeleteSample.js | 4 +- .../javascript/virtualNetworksGetSample.js | 8 +- .../virtualNetworksListAllSample.js | 4 +- ...lNetworksListDdosProtectionStatusSample.js | 4 +- .../javascript/virtualNetworksListSample.js | 4 +- .../virtualNetworksListUsageSample.js | 4 +- .../virtualNetworksUpdateTagsSample.js | 4 +- ...rtualRouterPeeringsCreateOrUpdateSample.js | 4 +- .../virtualRouterPeeringsDeleteSample.js | 4 +- .../virtualRouterPeeringsGetSample.js | 4 +- .../virtualRouterPeeringsListSample.js | 4 +- .../virtualRoutersCreateOrUpdateSample.js | 4 +- .../javascript/virtualRoutersDeleteSample.js | 4 +- .../javascript/virtualRoutersGetSample.js | 4 +- ...virtualRoutersListByResourceGroupSample.js | 4 +- .../javascript/virtualRoutersListSample.js | 4 +- .../virtualWansCreateOrUpdateSample.js | 4 +- .../javascript/virtualWansDeleteSample.js | 4 +- .../javascript/virtualWansGetSample.js | 4 +- .../virtualWansListByResourceGroupSample.js | 4 +- .../javascript/virtualWansListSample.js | 2 +- .../javascript/virtualWansUpdateTagsSample.js | 4 +- .../vpnConnectionsCreateOrUpdateSample.js | 4 +- .../javascript/vpnConnectionsDeleteSample.js | 4 +- .../javascript/vpnConnectionsGetSample.js | 4 +- .../vpnConnectionsListByVpnGatewaySample.js | 4 +- .../vpnConnectionsStartPacketCaptureSample.js | 6 +- .../vpnConnectionsStopPacketCaptureSample.js | 4 +- .../vpnGatewaysCreateOrUpdateSample.js | 4 +- .../javascript/vpnGatewaysDeleteSample.js | 4 +- .../javascript/vpnGatewaysGetSample.js | 4 +- .../vpnGatewaysListByResourceGroupSample.js | 4 +- .../javascript/vpnGatewaysListSample.js | 2 +- .../javascript/vpnGatewaysResetSample.js | 4 +- .../vpnGatewaysStartPacketCaptureSample.js | 6 +- .../vpnGatewaysStopPacketCaptureSample.js | 4 +- .../javascript/vpnGatewaysUpdateTagsSample.js | 4 +- .../vpnLinkConnectionsGetIkeSasSample.js | 4 +- ...inkConnectionsListByVpnConnectionSample.js | 4 +- ...vpnLinkConnectionsResetConnectionSample.js | 4 +- ...tionsAssociatedWithVirtualWanListSample.js | 4 +- ...erverConfigurationsCreateOrUpdateSample.js | 4 +- .../vpnServerConfigurationsDeleteSample.js | 4 +- .../vpnServerConfigurationsGetSample.js | 4 +- ...ConfigurationsListByResourceGroupSample.js | 4 +- .../vpnServerConfigurationsListSample.js | 4 +- ...vpnServerConfigurationsUpdateTagsSample.js | 4 +- .../vpnSiteLinkConnectionsGetSample.js | 4 +- .../javascript/vpnSiteLinksGetSample.js | 4 +- .../vpnSiteLinksListByVpnSiteSample.js | 4 +- .../vpnSitesConfigurationDownloadSample.js | 4 +- .../vpnSitesCreateOrUpdateSample.js | 4 +- .../javascript/vpnSitesDeleteSample.js | 4 +- .../v1-beta/javascript/vpnSitesGetSample.js | 4 +- .../vpnSitesListByResourceGroupSample.js | 4 +- .../v1-beta/javascript/vpnSitesListSample.js | 2 +- .../javascript/vpnSitesUpdateTagsSample.js | 4 +- ...ionFirewallPoliciesCreateOrUpdateSample.js | 4 +- ...ApplicationFirewallPoliciesDeleteSample.js | 4 +- ...webApplicationFirewallPoliciesGetSample.js | 4 +- ...pplicationFirewallPoliciesListAllSample.js | 4 +- ...ebApplicationFirewallPoliciesListSample.js | 4 +- .../javascript/webCategoriesGetSample.js | 4 +- .../webCategoriesListBySubscriptionSample.js | 4 +- .../samples/v1-beta/typescript/README.md | 2 +- .../samples/v1-beta/typescript/package.json | 4 +- ...dminRuleCollectionsCreateOrUpdateSample.ts | 14 +- .../src/adminRuleCollectionsDeleteSample.ts | 8 +- .../src/adminRuleCollectionsGetSample.ts | 6 +- .../src/adminRuleCollectionsListSample.ts | 6 +- .../src/adminRulesCreateOrUpdateSample.ts | 18 +- .../typescript/src/adminRulesDeleteSample.ts | 8 +- .../typescript/src/adminRulesGetSample.ts | 12 +- .../typescript/src/adminRulesListSample.ts | 6 +- ...yPrivateEndpointConnectionsDeleteSample.ts | 8 +- ...ewayPrivateEndpointConnectionsGetSample.ts | 6 +- ...wayPrivateEndpointConnectionsListSample.ts | 6 +- ...yPrivateEndpointConnectionsUpdateSample.ts | 17 +- ...onGatewayPrivateLinkResourcesListSample.ts | 6 +- ...ewayWafDynamicManifestsDefaultGetSample.ts | 6 +- ...tionGatewayWafDynamicManifestsGetSample.ts | 6 +- ...tionGatewaysBackendHealthOnDemandSample.ts | 16 +- .../applicationGatewaysBackendHealthSample.ts | 8 +- ...applicationGatewaysCreateOrUpdateSample.ts | 225 +- .../src/applicationGatewaysDeleteSample.ts | 8 +- .../src/applicationGatewaysGetSample.ts | 6 +- ...ionGatewaysGetSslPredefinedPolicySample.ts | 6 +- .../src/applicationGatewaysListAllSample.ts | 6 +- ...tewaysListAvailableRequestHeadersSample.ts | 6 +- ...ewaysListAvailableResponseHeadersSample.ts | 6 +- ...ewaysListAvailableServerVariablesSample.ts | 6 +- ...onGatewaysListAvailableSslOptionsSample.ts | 6 +- ...istAvailableSslPredefinedPoliciesSample.ts | 6 +- ...nGatewaysListAvailableWafRuleSetsSample.ts | 6 +- .../src/applicationGatewaysListSample.ts | 6 +- .../src/applicationGatewaysStartSample.ts | 8 +- .../src/applicationGatewaysStopSample.ts | 8 +- .../applicationGatewaysUpdateTagsSample.ts | 6 +- ...ationSecurityGroupsCreateOrUpdateSample.ts | 8 +- .../applicationSecurityGroupsDeleteSample.ts | 8 +- .../src/applicationSecurityGroupsGetSample.ts | 6 +- .../applicationSecurityGroupsListAllSample.ts | 6 +- .../applicationSecurityGroupsListSample.ts | 6 +- ...plicationSecurityGroupsUpdateTagsSample.ts | 6 +- .../src/availableDelegationsListSample.ts | 6 +- .../availableEndpointServicesListSample.ts | 6 +- ...eEndpointTypesListByResourceGroupSample.ts | 6 +- ...availablePrivateEndpointTypesListSample.ts | 6 +- ...lableResourceGroupDelegationsListSample.ts | 6 +- ...ServiceAliasesListByResourceGroupSample.ts | 6 +- .../src/availableServiceAliasesListSample.ts | 6 +- .../src/azureFirewallFqdnTagsListAllSample.ts | 6 +- .../src/azureFirewallsCreateOrUpdateSample.ts | 338 +- .../src/azureFirewallsDeleteSample.ts | 8 +- .../typescript/src/azureFirewallsGetSample.ts | 22 +- .../src/azureFirewallsListAllSample.ts | 6 +- ...azureFirewallsListLearnedPrefixesSample.ts | 8 +- .../src/azureFirewallsListSample.ts | 6 +- .../src/azureFirewallsUpdateTagsSample.ts | 8 +- .../src/bastionHostsCreateOrUpdateSample.ts | 24 +- .../src/bastionHostsDeleteSample.ts | 8 +- .../typescript/src/bastionHostsGetSample.ts | 8 +- .../bastionHostsListByResourceGroupSample.ts | 6 +- .../typescript/src/bastionHostsListSample.ts | 6 +- .../src/bastionHostsUpdateTagsSample.ts | 8 +- .../src/bgpServiceCommunitiesListSample.ts | 6 +- .../src/checkDnsNameAvailabilitySample.ts | 6 +- ...urationPolicyGroupsCreateOrUpdateSample.ts | 18 +- .../configurationPolicyGroupsDeleteSample.ts | 8 +- .../src/configurationPolicyGroupsGetSample.ts | 6 +- ...roupsListByVpnServerConfigurationSample.ts | 6 +- .../connectionMonitorsCreateOrUpdateSample.ts | 50 +- .../src/connectionMonitorsDeleteSample.ts | 8 +- .../src/connectionMonitorsGetSample.ts | 6 +- .../src/connectionMonitorsListSample.ts | 6 +- .../src/connectionMonitorsQuerySample.ts | 8 +- .../src/connectionMonitorsStartSample.ts | 8 +- .../src/connectionMonitorsStopSample.ts | 8 +- .../src/connectionMonitorsUpdateTagsSample.ts | 6 +- ...ivityConfigurationsCreateOrUpdateSample.ts | 18 +- .../connectivityConfigurationsDeleteSample.ts | 8 +- .../connectivityConfigurationsGetSample.ts | 6 +- .../connectivityConfigurationsListSample.ts | 6 +- .../customIPPrefixesCreateOrUpdateSample.ts | 8 +- .../src/customIPPrefixesDeleteSample.ts | 8 +- .../src/customIPPrefixesGetSample.ts | 6 +- .../src/customIPPrefixesListAllSample.ts | 6 +- .../src/customIPPrefixesListSample.ts | 6 +- .../src/customIPPrefixesUpdateTagsSample.ts | 6 +- .../ddosCustomPoliciesCreateOrUpdateSample.ts | 8 +- .../src/ddosCustomPoliciesDeleteSample.ts | 8 +- .../src/ddosCustomPoliciesGetSample.ts | 6 +- .../src/ddosCustomPoliciesUpdateTagsSample.ts | 6 +- ...ddosProtectionPlansCreateOrUpdateSample.ts | 8 +- .../src/ddosProtectionPlansDeleteSample.ts | 8 +- .../src/ddosProtectionPlansGetSample.ts | 6 +- ...rotectionPlansListByResourceGroupSample.ts | 6 +- .../src/ddosProtectionPlansListSample.ts | 6 +- .../ddosProtectionPlansUpdateTagsSample.ts | 6 +- .../src/defaultSecurityRulesGetSample.ts | 6 +- .../src/defaultSecurityRulesListSample.ts | 6 +- .../src/deleteBastionShareableLinkSample.ts | 22 +- .../src/disconnectActiveSessionsSample.ts | 6 +- .../dscpConfigurationCreateOrUpdateSample.ts | 24 +- .../src/dscpConfigurationDeleteSample.ts | 8 +- .../src/dscpConfigurationGetSample.ts | 6 +- .../src/dscpConfigurationListAllSample.ts | 6 +- .../src/dscpConfigurationListSample.ts | 6 +- ...rcuitAuthorizationsCreateOrUpdateSample.ts | 8 +- ...sRouteCircuitAuthorizationsDeleteSample.ts | 8 +- ...ressRouteCircuitAuthorizationsGetSample.ts | 6 +- ...essRouteCircuitAuthorizationsListSample.ts | 6 +- ...eCircuitConnectionsCreateOrUpdateSample.ts | 18 +- ...ressRouteCircuitConnectionsDeleteSample.ts | 8 +- ...expressRouteCircuitConnectionsGetSample.ts | 6 +- ...xpressRouteCircuitConnectionsListSample.ts | 6 +- ...outeCircuitPeeringsCreateOrUpdateSample.ts | 12 +- ...expressRouteCircuitPeeringsDeleteSample.ts | 8 +- .../expressRouteCircuitPeeringsGetSample.ts | 6 +- .../expressRouteCircuitPeeringsListSample.ts | 6 +- ...xpressRouteCircuitsCreateOrUpdateSample.ts | 31 +- .../src/expressRouteCircuitsDeleteSample.ts | 6 +- ...pressRouteCircuitsGetPeeringStatsSample.ts | 6 +- .../src/expressRouteCircuitsGetSample.ts | 6 +- .../src/expressRouteCircuitsGetStatsSample.ts | 6 +- .../src/expressRouteCircuitsListAllSample.ts | 6 +- .../expressRouteCircuitsListArpTableSample.ts | 6 +- ...pressRouteCircuitsListRoutesTableSample.ts | 6 +- ...uteCircuitsListRoutesTableSummarySample.ts | 6 +- .../src/expressRouteCircuitsListSample.ts | 6 +- .../expressRouteCircuitsUpdateTagsSample.ts | 6 +- ...essRouteConnectionsCreateOrUpdateSample.ts | 40 +- .../expressRouteConnectionsDeleteSample.ts | 6 +- .../src/expressRouteConnectionsGetSample.ts | 6 +- .../src/expressRouteConnectionsListSample.ts | 6 +- ...sConnectionPeeringsCreateOrUpdateSample.ts | 12 +- ...outeCrossConnectionPeeringsDeleteSample.ts | 6 +- ...ssRouteCrossConnectionPeeringsGetSample.ts | 6 +- ...sRouteCrossConnectionPeeringsListSample.ts | 6 +- ...uteCrossConnectionsCreateOrUpdateSample.ts | 8 +- .../expressRouteCrossConnectionsGetSample.ts | 6 +- ...RouteCrossConnectionsListArpTableSample.ts | 6 +- ...ossConnectionsListByResourceGroupSample.ts | 6 +- ...teCrossConnectionsListRoutesTableSample.ts | 6 +- ...ConnectionsListRoutesTableSummarySample.ts | 6 +- .../expressRouteCrossConnectionsListSample.ts | 6 +- ...ssRouteCrossConnectionsUpdateTagsSample.ts | 6 +- ...xpressRouteGatewaysCreateOrUpdateSample.ts | 13 +- .../src/expressRouteGatewaysDeleteSample.ts | 6 +- .../src/expressRouteGatewaysGetSample.ts | 6 +- ...sRouteGatewaysListByResourceGroupSample.ts | 6 +- ...ssRouteGatewaysListBySubscriptionSample.ts | 6 +- .../expressRouteGatewaysUpdateTagsSample.ts | 6 +- .../src/expressRouteLinksGetSample.ts | 6 +- .../src/expressRouteLinksListSample.ts | 6 +- ...ePortAuthorizationsCreateOrUpdateSample.ts | 6 +- ...ressRoutePortAuthorizationsDeleteSample.ts | 6 +- ...expressRoutePortAuthorizationsGetSample.ts | 6 +- ...xpressRoutePortAuthorizationsListSample.ts | 6 +- .../expressRoutePortsCreateOrUpdateSample.ts | 18 +- .../src/expressRoutePortsDeleteSample.ts | 6 +- .../src/expressRoutePortsGenerateLoaSample.ts | 6 +- .../src/expressRoutePortsGetSample.ts | 6 +- ...ressRoutePortsListByResourceGroupSample.ts | 6 +- .../src/expressRoutePortsListSample.ts | 6 +- .../expressRoutePortsLocationsGetSample.ts | 6 +- .../expressRoutePortsLocationsListSample.ts | 6 +- .../src/expressRoutePortsUpdateTagsSample.ts | 6 +- .../src/expressRouteProviderPortsGetSample.ts | 6 +- ...essRouteProviderPortsLocationListSample.ts | 6 +- .../expressRouteServiceProvidersListSample.ts | 6 +- .../firewallPoliciesCreateOrUpdateSample.ts | 47 +- .../src/firewallPoliciesDeleteSample.ts | 6 +- .../src/firewallPoliciesGetSample.ts | 6 +- .../src/firewallPoliciesListAllSample.ts | 6 +- .../src/firewallPoliciesListSample.ts | 6 +- .../src/firewallPoliciesUpdateTagsSample.ts | 6 +- ...icyIdpsSignaturesFilterValuesListSample.ts | 6 +- .../firewallPolicyIdpsSignaturesListSample.ts | 8 +- ...lPolicyIdpsSignaturesOverridesGetSample.ts | 6 +- ...PolicyIdpsSignaturesOverridesListSample.ts | 6 +- ...olicyIdpsSignaturesOverridesPatchSample.ts | 11 +- ...lPolicyIdpsSignaturesOverridesPutSample.ts | 11 +- ...uleCollectionGroupsCreateOrUpdateSample.ts | 70 +- ...lPolicyRuleCollectionGroupsDeleteSample.ts | 6 +- ...wallPolicyRuleCollectionGroupsGetSample.ts | 18 +- ...allPolicyRuleCollectionGroupsListSample.ts | 26 +- .../src/flowLogsCreateOrUpdateSample.ts | 10 +- .../typescript/src/flowLogsDeleteSample.ts | 6 +- .../typescript/src/flowLogsGetSample.ts | 8 +- .../typescript/src/flowLogsListSample.ts | 6 +- .../src/flowLogsUpdateTagsSample.ts | 6 +- ...nvpnserverconfigurationvpnprofileSample.ts | 8 +- .../typescript/src/getActiveSessionsSample.ts | 6 +- .../src/getBastionShareableLinkSample.ts | 20 +- .../src/hubRouteTablesCreateOrUpdateSample.ts | 14 +- .../src/hubRouteTablesDeleteSample.ts | 6 +- .../typescript/src/hubRouteTablesGetSample.ts | 6 +- .../src/hubRouteTablesListSample.ts | 6 +- ...lNetworkConnectionsCreateOrUpdateSample.ts | 39 +- ...ubVirtualNetworkConnectionsDeleteSample.ts | 6 +- .../hubVirtualNetworkConnectionsGetSample.ts | 6 +- .../hubVirtualNetworkConnectionsListSample.ts | 6 +- .../inboundNatRulesCreateOrUpdateSample.ts | 13 +- .../src/inboundNatRulesDeleteSample.ts | 6 +- .../src/inboundNatRulesGetSample.ts | 6 +- .../src/inboundNatRulesListSample.ts | 6 +- ...inboundSecurityRuleCreateOrUpdateSample.ts | 14 +- .../src/ipAllocationsCreateOrUpdateSample.ts | 12 +- .../src/ipAllocationsDeleteSample.ts | 6 +- .../typescript/src/ipAllocationsGetSample.ts | 8 +- .../ipAllocationsListByResourceGroupSample.ts | 6 +- .../typescript/src/ipAllocationsListSample.ts | 6 +- .../src/ipAllocationsUpdateTagsSample.ts | 6 +- .../src/ipGroupsCreateOrUpdateSample.ts | 10 +- .../typescript/src/ipGroupsDeleteSample.ts | 6 +- .../typescript/src/ipGroupsGetSample.ts | 8 +- .../src/ipGroupsListByResourceGroupSample.ts | 6 +- .../typescript/src/ipGroupsListSample.ts | 9 +- .../src/ipGroupsUpdateGroupsSample.ts | 6 +- ...tActiveConnectivityConfigurationsSample.ts | 6 +- .../src/listActiveSecurityAdminRulesSample.ts | 6 +- ...fectiveConnectivityConfigurationsSample.ts | 6 +- ...anagerEffectiveSecurityAdminRulesSample.ts | 6 +- ...BackendAddressPoolsCreateOrUpdateSample.ts | 28 +- ...BalancerBackendAddressPoolsDeleteSample.ts | 6 +- ...oadBalancerBackendAddressPoolsGetSample.ts | 10 +- ...adBalancerBackendAddressPoolsListSample.ts | 14 +- ...lancerFrontendIPConfigurationsGetSample.ts | 6 +- ...ancerFrontendIPConfigurationsListSample.ts | 6 +- ...loadBalancerLoadBalancingRulesGetSample.ts | 6 +- ...oadBalancerLoadBalancingRulesListSample.ts | 6 +- ...loadBalancerNetworkInterfacesListSample.ts | 10 +- .../src/loadBalancerOutboundRulesGetSample.ts | 6 +- .../loadBalancerOutboundRulesListSample.ts | 6 +- .../src/loadBalancerProbesGetSample.ts | 6 +- .../src/loadBalancerProbesListSample.ts | 6 +- .../src/loadBalancersCreateOrUpdateSample.ts | 448 ++- .../src/loadBalancersDeleteSample.ts | 6 +- .../typescript/src/loadBalancersGetSample.ts | 12 +- .../src/loadBalancersListAllSample.ts | 6 +- ...ersListInboundNatRulePortMappingsSample.ts | 6 +- .../typescript/src/loadBalancersListSample.ts | 6 +- ...oadBalancersSwapPublicIPAddressesSample.ts | 30 +- .../src/loadBalancersUpdateTagsSample.ts | 6 +- ...ocalNetworkGatewaysCreateOrUpdateSample.ts | 10 +- .../src/localNetworkGatewaysDeleteSample.ts | 6 +- .../src/localNetworkGatewaysGetSample.ts | 6 +- .../src/localNetworkGatewaysListSample.ts | 6 +- .../localNetworkGatewaysUpdateTagsSample.ts | 6 +- ...kManagerConnectionsCreateOrUpdateSample.ts | 10 +- ...upNetworkManagerConnectionsDeleteSample.ts | 6 +- ...GroupNetworkManagerConnectionsGetSample.ts | 6 +- ...roupNetworkManagerConnectionsListSample.ts | 6 +- .../src/natGatewaysCreateOrUpdateSample.ts | 20 +- .../typescript/src/natGatewaysDeleteSample.ts | 6 +- .../typescript/src/natGatewaysGetSample.ts | 8 +- .../src/natGatewaysListAllSample.ts | 9 +- .../typescript/src/natGatewaysListSample.ts | 6 +- .../src/natGatewaysUpdateTagsSample.ts | 6 +- .../src/natRulesCreateOrUpdateSample.ts | 10 +- .../typescript/src/natRulesDeleteSample.ts | 6 +- .../typescript/src/natRulesGetSample.ts | 8 +- .../src/natRulesListByVpnGatewaySample.ts | 6 +- .../src/networkGroupsCreateOrUpdateSample.ts | 6 +- .../src/networkGroupsDeleteSample.ts | 6 +- .../typescript/src/networkGroupsGetSample.ts | 8 +- .../typescript/src/networkGroupsListSample.ts | 6 +- ...tworkInterfaceIPConfigurationsGetSample.ts | 6 +- ...workInterfaceIPConfigurationsListSample.ts | 6 +- ...networkInterfaceLoadBalancersListSample.ts | 6 +- ...ceTapConfigurationsCreateOrUpdateSample.ts | 13 +- ...kInterfaceTapConfigurationsDeleteSample.ts | 6 +- ...workInterfaceTapConfigurationsGetSample.ts | 6 +- ...orkInterfaceTapConfigurationsListSample.ts | 6 +- .../networkInterfacesCreateOrUpdateSample.ts | 49 +- .../src/networkInterfacesDeleteSample.ts | 6 +- ...esGetCloudServiceNetworkInterfaceSample.ts | 6 +- ...kInterfacesGetEffectiveRouteTableSample.ts | 6 +- .../src/networkInterfacesGetSample.ts | 6 +- ...ualMachineScaleSetIPConfigurationSample.ts | 6 +- ...alMachineScaleSetNetworkInterfaceSample.ts | 6 +- .../src/networkInterfacesListAllSample.ts | 6 +- ...ListCloudServiceNetworkInterfacesSample.ts | 6 +- ...viceRoleInstanceNetworkInterfacesSample.ts | 6 +- ...istEffectiveNetworkSecurityGroupsSample.ts | 6 +- .../src/networkInterfacesListSample.ts | 6 +- ...alMachineScaleSetIPConfigurationsSample.ts | 10 +- ...lMachineScaleSetNetworkInterfacesSample.ts | 6 +- ...achineScaleSetVMNetworkInterfacesSample.ts | 6 +- .../src/networkInterfacesUpdateTagsSample.ts | 6 +- .../src/networkManagerCommitsPostSample.ts | 10 +- ...etworkManagerDeploymentStatusListSample.ts | 8 +- .../networkManagersCreateOrUpdateSample.ts | 12 +- .../src/networkManagersDeleteSample.ts | 6 +- .../src/networkManagersGetSample.ts | 6 +- ...networkManagersListBySubscriptionSample.ts | 6 +- .../src/networkManagersListSample.ts | 6 +- .../src/networkManagersPatchSample.ts | 6 +- .../networkProfilesCreateOrUpdateSample.ts | 25 +- .../src/networkProfilesDeleteSample.ts | 6 +- .../src/networkProfilesGetSample.ts | 10 +- .../src/networkProfilesListAllSample.ts | 6 +- .../src/networkProfilesListSample.ts | 6 +- .../src/networkProfilesUpdateTagsSample.ts | 6 +- ...tworkSecurityGroupsCreateOrUpdateSample.ts | 20 +- .../src/networkSecurityGroupsDeleteSample.ts | 6 +- .../src/networkSecurityGroupsGetSample.ts | 6 +- .../src/networkSecurityGroupsListAllSample.ts | 6 +- .../src/networkSecurityGroupsListSample.ts | 6 +- .../networkSecurityGroupsUpdateTagsSample.ts | 6 +- ...rkVirtualAppliancesCreateOrUpdateSample.ts | 24 +- .../networkVirtualAppliancesDeleteSample.ts | 6 +- .../src/networkVirtualAppliancesGetSample.ts | 6 +- ...tualAppliancesListByResourceGroupSample.ts | 6 +- .../src/networkVirtualAppliancesListSample.ts | 6 +- ...etworkVirtualAppliancesUpdateTagsSample.ts | 6 +- .../networkWatchersCheckConnectivitySample.ts | 10 +- .../networkWatchersCreateOrUpdateSample.ts | 6 +- .../src/networkWatchersDeleteSample.ts | 6 +- ...atchersGetAzureReachabilityReportSample.ts | 8 +- .../networkWatchersGetFlowLogStatusSample.ts | 8 +- ...GetNetworkConfigurationDiagnosticSample.ts | 12 +- .../src/networkWatchersGetNextHopSample.ts | 8 +- .../src/networkWatchersGetSample.ts | 6 +- .../src/networkWatchersGetTopologySample.ts | 6 +- ...kWatchersGetTroubleshootingResultSample.ts | 8 +- ...networkWatchersGetTroubleshootingSample.ts | 10 +- ...networkWatchersGetVMSecurityRulesSample.ts | 8 +- .../src/networkWatchersListAllSample.ts | 6 +- ...orkWatchersListAvailableProvidersSample.ts | 8 +- .../src/networkWatchersListSample.ts | 6 +- ...rkWatchersSetFlowLogConfigurationSample.ts | 10 +- .../src/networkWatchersUpdateTagsSample.ts | 6 +- .../src/networkWatchersVerifyIPFlowSample.ts | 8 +- .../typescript/src/operationsListSample.ts | 8 +- .../src/p2SVpnGatewaysCreateOrUpdateSample.ts | 43 +- .../src/p2SVpnGatewaysDeleteSample.ts | 6 +- ...tewaysDisconnectP2SvpnConnectionsSample.ts | 6 +- .../p2SVpnGatewaysGenerateVpnProfileSample.ts | 6 +- ...GetP2SvpnConnectionHealthDetailedSample.ts | 8 +- ...GatewaysGetP2SvpnConnectionHealthSample.ts | 6 +- .../typescript/src/p2SVpnGatewaysGetSample.ts | 6 +- ...p2SVpnGatewaysListByResourceGroupSample.ts | 6 +- .../src/p2SVpnGatewaysListSample.ts | 6 +- .../src/p2SVpnGatewaysResetSample.ts | 6 +- .../src/p2SVpnGatewaysUpdateTagsSample.ts | 6 +- .../src/packetCapturesCreateSample.ts | 17 +- .../src/packetCapturesDeleteSample.ts | 6 +- .../typescript/src/packetCapturesGetSample.ts | 6 +- .../src/packetCapturesGetStatusSample.ts | 6 +- .../src/packetCapturesListSample.ts | 6 +- .../src/packetCapturesStopSample.ts | 6 +- ...ExpressRouteCircuitConnectionsGetSample.ts | 6 +- ...xpressRouteCircuitConnectionsListSample.ts | 6 +- ...rivateDnsZoneGroupsCreateOrUpdateSample.ts | 16 +- .../src/privateDnsZoneGroupsDeleteSample.ts | 6 +- .../src/privateDnsZoneGroupsGetSample.ts | 6 +- .../src/privateDnsZoneGroupsListSample.ts | 6 +- .../privateEndpointsCreateOrUpdateSample.ts | 70 +- .../src/privateEndpointsDeleteSample.ts | 6 +- .../src/privateEndpointsGetSample.ts | 14 +- ...rivateEndpointsListBySubscriptionSample.ts | 6 +- .../src/privateEndpointsListSample.ts | 6 +- ...kServiceVisibilityByResourceGroupSample.ts | 8 +- ...CheckPrivateLinkServiceVisibilitySample.ts | 8 +- ...privateLinkServicesCreateOrUpdateSample.ts | 26 +- ...esDeletePrivateEndpointConnectionSample.ts | 6 +- .../src/privateLinkServicesDeleteSample.ts | 6 +- ...vicesGetPrivateEndpointConnectionSample.ts | 6 +- .../src/privateLinkServicesGetSample.ts | 6 +- ...rivateLinkServicesByResourceGroupSample.ts | 8 +- ...stAutoApprovedPrivateLinkServicesSample.ts | 8 +- ...ateLinkServicesListBySubscriptionSample.ts | 6 +- ...cesListPrivateEndpointConnectionsSample.ts | 6 +- .../src/privateLinkServicesListSample.ts | 6 +- ...esUpdatePrivateEndpointConnectionSample.ts | 19 +- .../publicIPAddressesCreateOrUpdateSample.ts | 20 +- ...icIPAddressesDdosProtectionStatusSample.ts | 6 +- .../src/publicIPAddressesDeleteSample.ts | 6 +- ...sesGetCloudServicePublicIpaddressSample.ts | 6 +- .../src/publicIPAddressesGetSample.ts | 6 +- ...ualMachineScaleSetPublicIpaddressSample.ts | 6 +- .../src/publicIPAddressesListAllSample.ts | 6 +- ...ListCloudServicePublicIpaddressesSample.ts | 6 +- ...viceRoleInstancePublicIpaddressesSample.ts | 6 +- .../src/publicIPAddressesListSample.ts | 6 +- ...lMachineScaleSetPublicIpaddressesSample.ts | 6 +- ...achineScaleSetVmpublicIpaddressesSample.ts | 6 +- .../src/publicIPAddressesUpdateTagsSample.ts | 6 +- .../publicIPPrefixesCreateOrUpdateSample.ts | 14 +- .../src/publicIPPrefixesDeleteSample.ts | 6 +- .../src/publicIPPrefixesGetSample.ts | 6 +- .../src/publicIPPrefixesListAllSample.ts | 6 +- .../src/publicIPPrefixesListSample.ts | 6 +- .../src/publicIPPrefixesUpdateTagsSample.ts | 6 +- .../src/putBastionShareableLinkSample.ts | 20 +- .../src/resourceNavigationLinksListSample.ts | 6 +- .../routeFilterRulesCreateOrUpdateSample.ts | 10 +- .../src/routeFilterRulesDeleteSample.ts | 6 +- .../src/routeFilterRulesGetSample.ts | 6 +- ...routeFilterRulesListByRouteFilterSample.ts | 6 +- .../src/routeFiltersCreateOrUpdateSample.ts | 16 +- .../src/routeFiltersDeleteSample.ts | 6 +- .../typescript/src/routeFiltersGetSample.ts | 8 +- .../routeFiltersListByResourceGroupSample.ts | 6 +- .../typescript/src/routeFiltersListSample.ts | 6 +- .../src/routeFiltersUpdateTagsSample.ts | 6 +- .../src/routeMapsCreateOrUpdateSample.ts | 26 +- .../typescript/src/routeMapsDeleteSample.ts | 6 +- .../typescript/src/routeMapsGetSample.ts | 8 +- .../typescript/src/routeMapsListSample.ts | 6 +- .../src/routeTablesCreateOrUpdateSample.ts | 20 +- .../typescript/src/routeTablesDeleteSample.ts | 6 +- .../typescript/src/routeTablesGetSample.ts | 8 +- .../src/routeTablesListAllSample.ts | 9 +- .../typescript/src/routeTablesListSample.ts | 6 +- .../src/routeTablesUpdateTagsSample.ts | 6 +- .../src/routesCreateOrUpdateSample.ts | 10 +- .../typescript/src/routesDeleteSample.ts | 6 +- .../v1-beta/typescript/src/routesGetSample.ts | 8 +- .../typescript/src/routesListSample.ts | 6 +- .../src/routingIntentCreateOrUpdateSample.ts | 16 +- .../src/routingIntentDeleteSample.ts | 6 +- .../typescript/src/routingIntentGetSample.ts | 8 +- .../typescript/src/routingIntentListSample.ts | 6 +- .../scopeConnectionsCreateOrUpdateSample.ts | 13 +- .../src/scopeConnectionsDeleteSample.ts | 6 +- .../src/scopeConnectionsGetSample.ts | 6 +- .../src/scopeConnectionsListSample.ts | 6 +- ...AdminConfigurationsCreateOrUpdateSample.ts | 10 +- ...securityAdminConfigurationsDeleteSample.ts | 6 +- .../securityAdminConfigurationsGetSample.ts | 6 +- .../securityAdminConfigurationsListSample.ts | 6 +- ...ityPartnerProvidersCreateOrUpdateSample.ts | 13 +- .../securityPartnerProvidersDeleteSample.ts | 6 +- .../src/securityPartnerProvidersGetSample.ts | 6 +- ...rtnerProvidersListByResourceGroupSample.ts | 6 +- .../src/securityPartnerProvidersListSample.ts | 6 +- ...ecurityPartnerProvidersUpdateTagsSample.ts | 6 +- .../src/securityRulesCreateOrUpdateSample.ts | 10 +- .../src/securityRulesDeleteSample.ts | 6 +- .../typescript/src/securityRulesGetSample.ts | 8 +- .../typescript/src/securityRulesListSample.ts | 6 +- .../src/serviceAssociationLinksListSample.ts | 6 +- ...iceEndpointPoliciesCreateOrUpdateSample.ts | 22 +- .../serviceEndpointPoliciesDeleteSample.ts | 6 +- .../src/serviceEndpointPoliciesGetSample.ts | 6 +- ...dpointPoliciesListByResourceGroupSample.ts | 6 +- .../src/serviceEndpointPoliciesListSample.ts | 6 +- ...serviceEndpointPoliciesUpdateTagsSample.ts | 6 +- ...ntPolicyDefinitionsCreateOrUpdateSample.ts | 12 +- ...ceEndpointPolicyDefinitionsDeleteSample.ts | 10 +- ...rviceEndpointPolicyDefinitionsGetSample.ts | 6 +- ...icyDefinitionsListByResourceGroupSample.ts | 6 +- .../src/serviceTagInformationListSample.ts | 14 +- .../typescript/src/serviceTagsListSample.ts | 8 +- .../src/staticMembersCreateOrUpdateSample.ts | 10 +- .../src/staticMembersDeleteSample.ts | 6 +- .../typescript/src/staticMembersGetSample.ts | 8 +- .../typescript/src/staticMembersListSample.ts | 6 +- .../src/subnetsCreateOrUpdateSample.ts | 18 +- .../typescript/src/subnetsDeleteSample.ts | 6 +- .../typescript/src/subnetsGetSample.ts | 12 +- .../typescript/src/subnetsListSample.ts | 6 +- .../subnetsPrepareNetworkPoliciesSample.ts | 6 +- .../subnetsUnprepareNetworkPoliciesSample.ts | 6 +- ...kManagerConnectionsCreateOrUpdateSample.ts | 10 +- ...onNetworkManagerConnectionsDeleteSample.ts | 6 +- ...ptionNetworkManagerConnectionsGetSample.ts | 6 +- ...tionNetworkManagerConnectionsListSample.ts | 6 +- .../src/supportedSecurityProvidersSample.ts | 6 +- .../typescript/src/usagesListSample.ts | 10 +- .../typescript/src/vipSwapCreateSample.ts | 6 +- .../typescript/src/vipSwapGetSample.ts | 8 +- .../typescript/src/vipSwapListSample.ts | 8 +- ...rtualApplianceSitesCreateOrUpdateSample.ts | 12 +- .../src/virtualApplianceSitesDeleteSample.ts | 6 +- .../src/virtualApplianceSitesGetSample.ts | 6 +- .../src/virtualApplianceSitesListSample.ts | 10 +- .../src/virtualApplianceSkusGetSample.ts | 6 +- .../src/virtualApplianceSkusListSample.ts | 6 +- ...ualHubBgpConnectionCreateOrUpdateSample.ts | 13 +- .../virtualHubBgpConnectionDeleteSample.ts | 6 +- .../src/virtualHubBgpConnectionGetSample.ts | 6 +- ...gpConnectionsListAdvertisedRoutesSample.ts | 6 +- ...ubBgpConnectionsListLearnedRoutesSample.ts | 6 +- .../src/virtualHubBgpConnectionsListSample.ts | 6 +- ...lHubIPConfigurationCreateOrUpdateSample.ts | 13 +- .../virtualHubIPConfigurationDeleteSample.ts | 6 +- .../src/virtualHubIPConfigurationGetSample.ts | 6 +- .../virtualHubIPConfigurationListSample.ts | 6 +- ...ualHubRouteTableV2SCreateOrUpdateSample.ts | 16 +- .../virtualHubRouteTableV2SDeleteSample.ts | 6 +- .../src/virtualHubRouteTableV2SGetSample.ts | 6 +- .../src/virtualHubRouteTableV2SListSample.ts | 6 +- .../src/virtualHubsCreateOrUpdateSample.ts | 13 +- .../typescript/src/virtualHubsDeleteSample.ts | 6 +- ...lHubsGetEffectiveVirtualHubRoutesSample.ts | 18 +- .../src/virtualHubsGetInboundRoutesSample.ts | 8 +- .../src/virtualHubsGetOutboundRoutesSample.ts | 8 +- .../typescript/src/virtualHubsGetSample.ts | 8 +- .../virtualHubsListByResourceGroupSample.ts | 6 +- .../typescript/src/virtualHubsListSample.ts | 9 +- .../src/virtualHubsUpdateTagsSample.ts | 6 +- ...kGatewayConnectionsCreateOrUpdateSample.ts | 57 +- ...alNetworkGatewayConnectionsDeleteSample.ts | 6 +- ...etworkGatewayConnectionsGetIkeSasSample.ts | 6 +- ...rtualNetworkGatewayConnectionsGetSample.ts | 6 +- ...orkGatewayConnectionsGetSharedKeySample.ts | 6 +- ...tualNetworkGatewayConnectionsListSample.ts | 6 +- ...GatewayConnectionsResetConnectionSample.ts | 6 +- ...kGatewayConnectionsResetSharedKeySample.ts | 6 +- ...orkGatewayConnectionsSetSharedKeySample.ts | 6 +- ...ewayConnectionsStartPacketCaptureSample.ts | 20 +- ...tewayConnectionsStopPacketCaptureSample.ts | 8 +- ...tworkGatewayConnectionsUpdateTagsSample.ts | 6 +- ...workGatewayNatRulesCreateOrUpdateSample.ts | 18 +- ...rtualNetworkGatewayNatRulesDeleteSample.ts | 6 +- .../virtualNetworkGatewayNatRulesGetSample.ts | 6 +- ...tRulesListByVirtualNetworkGatewaySample.ts | 6 +- ...tualNetworkGatewaysCreateOrUpdateSample.ts | 46 +- .../src/virtualNetworkGatewaysDeleteSample.ts | 6 +- ...rtualNetworkGatewayVpnConnectionsSample.ts | 6 +- ...NetworkGatewaysGenerateVpnProfileSample.ts | 6 +- ...kGatewaysGeneratevpnclientpackageSample.ts | 6 +- ...etworkGatewaysGetAdvertisedRoutesSample.ts | 6 +- ...alNetworkGatewaysGetBgpPeerStatusSample.ts | 6 +- ...alNetworkGatewaysGetLearnedRoutesSample.ts | 6 +- .../src/virtualNetworkGatewaysGetSample.ts | 6 +- ...rkGatewaysGetVpnProfilePackageUrlSample.ts | 6 +- ...ewaysGetVpnclientConnectionHealthSample.ts | 6 +- ...tewaysGetVpnclientIpsecParametersSample.ts | 6 +- ...ualNetworkGatewaysListConnectionsSample.ts | 6 +- .../src/virtualNetworkGatewaysListSample.ts | 6 +- .../src/virtualNetworkGatewaysResetSample.ts | 6 +- ...rkGatewaysResetVpnClientSharedKeySample.ts | 6 +- ...tewaysSetVpnclientIpsecParametersSample.ts | 8 +- ...NetworkGatewaysStartPacketCaptureSample.ts | 12 +- ...lNetworkGatewaysStopPacketCaptureSample.ts | 8 +- ...etworkGatewaysSupportedVpnDevicesSample.ts | 6 +- .../virtualNetworkGatewaysUpdateTagsSample.ts | 6 +- ...ewaysVpnDeviceConfigurationScriptSample.ts | 8 +- ...tualNetworkPeeringsCreateOrUpdateSample.ts | 37 +- .../src/virtualNetworkPeeringsDeleteSample.ts | 6 +- .../src/virtualNetworkPeeringsGetSample.ts | 10 +- .../src/virtualNetworkPeeringsListSample.ts | 10 +- .../virtualNetworkTapsCreateOrUpdateSample.ts | 13 +- .../src/virtualNetworkTapsDeleteSample.ts | 6 +- .../src/virtualNetworkTapsGetSample.ts | 6 +- .../src/virtualNetworkTapsListAllSample.ts | 6 +- ...ualNetworkTapsListByResourceGroupSample.ts | 6 +- .../src/virtualNetworkTapsUpdateTagsSample.ts | 6 +- ...etworksCheckIPAddressAvailabilitySample.ts | 6 +- .../virtualNetworksCreateOrUpdateSample.ts | 107 +- .../src/virtualNetworksDeleteSample.ts | 6 +- .../src/virtualNetworksGetSample.ts | 14 +- .../src/virtualNetworksListAllSample.ts | 6 +- ...lNetworksListDdosProtectionStatusSample.ts | 6 +- .../src/virtualNetworksListSample.ts | 6 +- .../src/virtualNetworksListUsageSample.ts | 6 +- .../src/virtualNetworksUpdateTagsSample.ts | 6 +- ...rtualRouterPeeringsCreateOrUpdateSample.ts | 6 +- .../src/virtualRouterPeeringsDeleteSample.ts | 6 +- .../src/virtualRouterPeeringsGetSample.ts | 6 +- .../src/virtualRouterPeeringsListSample.ts | 6 +- .../src/virtualRoutersCreateOrUpdateSample.ts | 13 +- .../src/virtualRoutersDeleteSample.ts | 6 +- .../typescript/src/virtualRoutersGetSample.ts | 6 +- ...virtualRoutersListByResourceGroupSample.ts | 6 +- .../src/virtualRoutersListSample.ts | 6 +- .../src/virtualWansCreateOrUpdateSample.ts | 8 +- .../typescript/src/virtualWansDeleteSample.ts | 6 +- .../typescript/src/virtualWansGetSample.ts | 8 +- .../virtualWansListByResourceGroupSample.ts | 6 +- .../typescript/src/virtualWansListSample.ts | 9 +- .../src/virtualWansUpdateTagsSample.ts | 6 +- .../src/vpnConnectionsCreateOrUpdateSample.ts | 46 +- .../src/vpnConnectionsDeleteSample.ts | 6 +- .../typescript/src/vpnConnectionsGetSample.ts | 6 +- .../vpnConnectionsListByVpnGatewaySample.ts | 6 +- .../vpnConnectionsStartPacketCaptureSample.ts | 12 +- .../vpnConnectionsStopPacketCaptureSample.ts | 8 +- .../src/vpnGatewaysCreateOrUpdateSample.ts | 50 +- .../typescript/src/vpnGatewaysDeleteSample.ts | 6 +- .../typescript/src/vpnGatewaysGetSample.ts | 8 +- .../vpnGatewaysListByResourceGroupSample.ts | 6 +- .../typescript/src/vpnGatewaysListSample.ts | 9 +- .../typescript/src/vpnGatewaysResetSample.ts | 6 +- .../vpnGatewaysStartPacketCaptureSample.ts | 12 +- .../src/vpnGatewaysStopPacketCaptureSample.ts | 8 +- .../src/vpnGatewaysUpdateTagsSample.ts | 6 +- .../src/vpnLinkConnectionsGetIkeSasSample.ts | 6 +- ...inkConnectionsListByVpnConnectionSample.ts | 6 +- ...vpnLinkConnectionsResetConnectionSample.ts | 6 +- ...tionsAssociatedWithVirtualWanListSample.ts | 6 +- ...erverConfigurationsCreateOrUpdateSample.ts | 58 +- .../vpnServerConfigurationsDeleteSample.ts | 6 +- .../src/vpnServerConfigurationsGetSample.ts | 6 +- ...ConfigurationsListByResourceGroupSample.ts | 6 +- .../src/vpnServerConfigurationsListSample.ts | 6 +- ...vpnServerConfigurationsUpdateTagsSample.ts | 6 +- .../src/vpnSiteLinkConnectionsGetSample.ts | 6 +- .../typescript/src/vpnSiteLinksGetSample.ts | 8 +- .../src/vpnSiteLinksListByVpnSiteSample.ts | 6 +- .../vpnSitesConfigurationDownloadSample.ts | 10 +- .../src/vpnSitesCreateOrUpdateSample.ts | 23 +- .../typescript/src/vpnSitesDeleteSample.ts | 6 +- .../typescript/src/vpnSitesGetSample.ts | 8 +- .../src/vpnSitesListByResourceGroupSample.ts | 6 +- .../typescript/src/vpnSitesListSample.ts | 9 +- .../src/vpnSitesUpdateTagsSample.ts | 6 +- ...ionFirewallPoliciesCreateOrUpdateSample.ts | 72 +- ...ApplicationFirewallPoliciesDeleteSample.ts | 6 +- ...webApplicationFirewallPoliciesGetSample.ts | 6 +- ...pplicationFirewallPoliciesListAllSample.ts | 6 +- ...ebApplicationFirewallPoliciesListSample.ts | 6 +- .../typescript/src/webCategoriesGetSample.ts | 8 +- .../webCategoriesListBySubscriptionSample.ts | 6 +- .../samples/v1-beta/typescript/tsconfig.json | 2 +- sdk/network/arm-network-rest/src/models.ts | 6 - 1236 files changed, 5370 insertions(+), 6983 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 2aae7aa0f16e..291063840b11 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -537,7 +537,7 @@ importers: version: file:projects/arm-netapp.tgz '@rush-temp/arm-network': specifier: file:./projects/arm-network.tgz - version: file:projects/arm-network.tgz + version: file:projects/arm-network.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-network-1': specifier: file:./projects/arm-network-1.tgz version: file:projects/arm-network-1.tgz @@ -3147,7 +3147,7 @@ packages: version: 0.0.0 '@rush-temp/arm-network@file:projects/arm-network.tgz': - resolution: {integrity: sha512-1aHVc4vgeXhvhqm5J9LpnbG8pKqt4fPrP3ESUtJyaW1WaxNfi6f8GnCN2aPtd+6pqADVmwd2mx3ky/RHD+WwtQ==, tarball: file:projects/arm-network.tgz} + resolution: {integrity: sha512-ZjU+XIjTTaguHse4zsM1HqSez6tZd8MAG+zxalx6j5fDpGXpwzJhIrTGrQCRbaM90n6kEZNc71tqzFDkFtn8Fw==, tarball: file:projects/arm-network.tgz} version: 0.0.0 '@rush-temp/arm-networkanalytics@file:projects/arm-networkanalytics.tgz': @@ -13645,43 +13645,39 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-network@file:projects/arm-network.tgz': + '@rush-temp/arm-network@file:projects/arm-network.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 - '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 - chai: 4.5.0 dotenv: 16.4.7 eslint: 9.17.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 11.0.2 - nyc: 17.1.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-networkanalytics@file:projects/arm-networkanalytics.tgz': dependencies: diff --git a/sdk/network/arm-network-rest/CHANGELOG.md b/sdk/network/arm-network-rest/CHANGELOG.md index 11d735f523ed..e6a29b8fcd3f 100644 --- a/sdk/network/arm-network-rest/CHANGELOG.md +++ b/sdk/network/arm-network-rest/CHANGELOG.md @@ -1,15 +1,10 @@ -## Release History +# Release History -### 1.0.0-beta.2 (Unreleased) +## 1.0.0-beta.2 (2024-12-23) -#### Features Added +### Features Added +- Refresh sdk with latest codegen -#### Breaking Changes - -#### Bugs Fixed - -#### Other Changes - -### 1.0.0-beta.1 (2022-09-29) +## 1.0.0-beta.1 (2022-09-29) - First release of package, see README.md for details. diff --git a/sdk/network/arm-network-rest/package.json b/sdk/network/arm-network-rest/package.json index 426db4770844..5920df34d4bd 100644 --- a/sdk/network/arm-network-rest/package.json +++ b/sdk/network/arm-network-rest/package.json @@ -13,9 +13,9 @@ "isomorphic" ], "license": "MIT", - "main": "dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-network.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" @@ -118,5 +118,26 @@ ], "selfLink": false }, - "react-native": "./dist/react-native/index.js" + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } + } } diff --git a/sdk/network/arm-network-rest/review/arm-network.api.md b/sdk/network/arm-network-rest/review/arm-network.api.md index 5e9ac0801100..21966cf0497d 100644 --- a/sdk/network/arm-network-rest/review/arm-network.api.md +++ b/sdk/network/arm-network-rest/review/arm-network.api.md @@ -4,19 +4,19 @@ ```ts -import type { Client } from '@azure-rest/core-client'; -import type { ClientOptions } from '@azure-rest/core-client'; -import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PagedAsyncIterableIterator } from '@azure/core-paging'; -import type { PathUncheckedResponse } from '@azure-rest/core-client'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; -import type { RawHttpHeaders } from '@azure/core-rest-pipeline'; -import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline'; -import type { RequestParameters } from '@azure-rest/core-client'; -import type { StreamableMethod } from '@azure-rest/core-client'; -import type { TokenCredential } from '@azure/core-auth'; +import { AbortSignalLike } from '@azure/abort-controller'; +import { CancelOnProgress } from '@azure/core-lro'; +import { Client } from '@azure-rest/core-client'; +import { ClientOptions } from '@azure-rest/core-client'; +import { CreateHttpPollerOptions } from '@azure/core-lro'; +import { HttpResponse } from '@azure-rest/core-client'; +import { OperationState } from '@azure/core-lro'; +import { PathUncheckedResponse } from '@azure-rest/core-client'; +import { RawHttpHeaders } from '@azure/core-rest-pipeline'; +import { RawHttpHeadersInput } from '@azure/core-rest-pipeline'; +import { RequestParameters } from '@azure-rest/core-client'; +import { StreamableMethod } from '@azure-rest/core-client'; +import { TokenCredential } from '@azure/core-auth'; // @public export interface AadAuthenticationParameters { @@ -129,7 +129,6 @@ export interface AdminPropertiesFormat { direction: "Inbound" | "Outbound"; priority: number; protocol: "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sourcePortRanges?: Array; sources?: Array; } @@ -143,7 +142,7 @@ export interface AdminPropertiesFormatOutput { direction: "Inbound" | "Outbound"; priority: number; protocol: "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sourcePortRanges?: Array; sources?: Array; } @@ -158,7 +157,6 @@ export interface AdminRule extends BaseAdminRuleParent { // @public export interface AdminRuleCollection extends ChildResource { properties?: AdminRuleCollectionPropertiesFormat; - systemData?: SystemData; } // @public @@ -170,21 +168,20 @@ export interface AdminRuleCollectionListResultOutput { // @public export interface AdminRuleCollectionOutput extends ChildResourceOutput { properties?: AdminRuleCollectionPropertiesFormatOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public export interface AdminRuleCollectionPropertiesFormat { appliesToGroups: Array; description?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface AdminRuleCollectionPropertiesFormatOutput { appliesToGroups: Array; description?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -237,8 +234,6 @@ export interface AdminRuleCollectionsCreateOrUpdateQueryParamProperties { // @public export interface AdminRuleCollectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -250,8 +245,6 @@ export interface AdminRuleCollectionsDelete202Headers { // @public export interface AdminRuleCollectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) headers: RawHttpHeaders & AdminRuleCollectionsDelete202Headers; // (undocumented) @@ -260,8 +253,6 @@ export interface AdminRuleCollectionsDelete202Response extends HttpResponse { // @public export interface AdminRuleCollectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -426,8 +417,6 @@ export interface AdminRulesCreateOrUpdateQueryParamProperties { // @public export interface AdminRulesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -439,8 +428,6 @@ export interface AdminRulesDelete202Headers { // @public export interface AdminRulesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) headers: RawHttpHeaders & AdminRulesDelete202Headers; // (undocumented) @@ -449,8 +436,6 @@ export interface AdminRulesDelete202Response extends HttpResponse { // @public export interface AdminRulesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -554,7 +539,6 @@ export interface AdminRulesListQueryParamProperties { // @public export interface ApplicationGateway extends Resource { - etag?: string; identity?: ManagedServiceIdentity; properties?: ApplicationGatewayPropertiesFormat; zones?: Array; @@ -562,30 +546,27 @@ export interface ApplicationGateway extends Resource { // @public export interface ApplicationGatewayAuthenticationCertificate extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayAuthenticationCertificatePropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayAuthenticationCertificateOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayAuthenticationCertificatePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayAuthenticationCertificatePropertiesFormat { data?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayAuthenticationCertificatePropertiesFormatOutput { data?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -651,32 +632,28 @@ export interface ApplicationGatewayBackendAddressOutput { // @public export interface ApplicationGatewayBackendAddressPool extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayBackendAddressPoolPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayBackendAddressPoolOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayBackendAddressPoolPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayBackendAddressPoolPropertiesFormat { backendAddresses?: Array; - backendIPConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayBackendAddressPoolPropertiesFormatOutput { backendAddresses?: Array; - backendIPConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly backendIPConfigurations?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -712,18 +689,16 @@ export interface ApplicationGatewayBackendHealthServerOutput { // @public export interface ApplicationGatewayBackendHttpSettings extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayBackendHttpSettingsPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayBackendHttpSettingsOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayBackendHttpSettingsPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -739,7 +714,6 @@ export interface ApplicationGatewayBackendHttpSettingsPropertiesFormat { probe?: SubResource; probeEnabled?: boolean; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; requestTimeout?: number; trustedRootCertificates?: Array; } @@ -757,25 +731,23 @@ export interface ApplicationGatewayBackendHttpSettingsPropertiesFormatOutput { probe?: SubResourceOutput; probeEnabled?: boolean; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; requestTimeout?: number; trustedRootCertificates?: Array; } // @public export interface ApplicationGatewayBackendSettings extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayBackendSettingsPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayBackendSettingsOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayBackendSettingsPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -785,7 +757,6 @@ export interface ApplicationGatewayBackendSettingsPropertiesFormat { port?: number; probe?: SubResource; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; timeout?: number; trustedRootCertificates?: Array; } @@ -797,7 +768,7 @@ export interface ApplicationGatewayBackendSettingsPropertiesFormatOutput { port?: number; probe?: SubResourceOutput; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; timeout?: number; trustedRootCertificates?: Array; } @@ -917,7 +888,6 @@ export interface ApplicationGatewayFirewallRuleSetOutput extends ResourceOutput // @public export interface ApplicationGatewayFirewallRuleSetPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; ruleGroups: Array; ruleSetType: string; ruleSetVersion: string; @@ -926,7 +896,7 @@ export interface ApplicationGatewayFirewallRuleSetPropertiesFormat { // @public export interface ApplicationGatewayFirewallRuleSetPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; ruleGroups: Array; ruleSetType: string; ruleSetVersion: string; @@ -935,18 +905,16 @@ export interface ApplicationGatewayFirewallRuleSetPropertiesFormatOutput { // @public export interface ApplicationGatewayFrontendIPConfiguration extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayFrontendIPConfigurationPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayFrontendIPConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayFrontendIPConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -954,7 +922,6 @@ export interface ApplicationGatewayFrontendIPConfigurationPropertiesFormat { privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; privateLinkConfiguration?: SubResource; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: SubResource; subnet?: SubResource; } @@ -964,37 +931,34 @@ export interface ApplicationGatewayFrontendIPConfigurationPropertiesFormatOutput privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; privateLinkConfiguration?: SubResourceOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: SubResourceOutput; subnet?: SubResourceOutput; } // @public export interface ApplicationGatewayFrontendPort extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayFrontendPortPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayFrontendPortOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayFrontendPortPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayFrontendPortPropertiesFormat { port?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayFrontendPortPropertiesFormatOutput { port?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -1023,18 +987,16 @@ export interface ApplicationGatewayHeaderConfigurationOutput { // @public export interface ApplicationGatewayHttpListener extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayHttpListenerPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayHttpListenerOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayHttpListenerPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -1046,7 +1008,6 @@ export interface ApplicationGatewayHttpListenerPropertiesFormat { hostName?: string; hostNames?: Array; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; requireServerNameIndication?: boolean; sslCertificate?: SubResource; sslProfile?: SubResource; @@ -1061,7 +1022,7 @@ export interface ApplicationGatewayHttpListenerPropertiesFormatOutput { hostName?: string; hostNames?: Array; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; requireServerNameIndication?: boolean; sslCertificate?: SubResourceOutput; sslProfile?: SubResourceOutput; @@ -1069,46 +1030,41 @@ export interface ApplicationGatewayHttpListenerPropertiesFormatOutput { // @public export interface ApplicationGatewayIPConfiguration extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayIPConfigurationPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayIPConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayIPConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayIPConfigurationPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: SubResource; } // @public export interface ApplicationGatewayIPConfigurationPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: SubResourceOutput; } // @public export interface ApplicationGatewayListener extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayListenerPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayListenerOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayListenerPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -1116,7 +1072,6 @@ export interface ApplicationGatewayListenerPropertiesFormat { frontendIPConfiguration?: SubResource; frontendPort?: SubResource; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sslCertificate?: SubResource; sslProfile?: SubResource; } @@ -1126,7 +1081,7 @@ export interface ApplicationGatewayListenerPropertiesFormatOutput { frontendIPConfiguration?: SubResourceOutput; frontendPort?: SubResourceOutput; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sslCertificate?: SubResourceOutput; sslProfile?: SubResourceOutput; } @@ -1139,48 +1094,43 @@ export interface ApplicationGatewayListResultOutput { // @public export interface ApplicationGatewayLoadDistributionPolicy extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayLoadDistributionPolicyPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayLoadDistributionPolicyOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayLoadDistributionPolicyPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayLoadDistributionPolicyPropertiesFormat { loadDistributionAlgorithm?: "RoundRobin" | "LeastConnections" | "IpHash"; loadDistributionTargets?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayLoadDistributionPolicyPropertiesFormatOutput { loadDistributionAlgorithm?: "RoundRobin" | "LeastConnections" | "IpHash"; loadDistributionTargets?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayLoadDistributionTarget extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayLoadDistributionTargetPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayLoadDistributionTargetOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayLoadDistributionTargetPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public (undocumented) @@ -1209,7 +1159,7 @@ export interface ApplicationGatewayOnDemandProbe { // @public export interface ApplicationGatewayOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; identity?: ManagedServiceIdentityOutput; properties?: ApplicationGatewayPropertiesFormatOutput; zones?: Array; @@ -1217,18 +1167,16 @@ export interface ApplicationGatewayOutput extends ResourceOutput { // @public export interface ApplicationGatewayPathRule extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayPathRulePropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayPathRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayPathRulePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -1238,7 +1186,6 @@ export interface ApplicationGatewayPathRulePropertiesFormat { firewallPolicy?: SubResource; loadDistributionPolicy?: SubResource; paths?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; redirectConfiguration?: SubResource; rewriteRuleSet?: SubResource; } @@ -1250,17 +1197,15 @@ export interface ApplicationGatewayPathRulePropertiesFormatOutput { firewallPolicy?: SubResourceOutput; loadDistributionPolicy?: SubResourceOutput; paths?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; redirectConfiguration?: SubResourceOutput; rewriteRuleSet?: SubResourceOutput; } // @public export interface ApplicationGatewayPrivateEndpointConnection extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayPrivateEndpointConnectionProperties; - type?: string; } // @public @@ -1271,26 +1216,23 @@ export interface ApplicationGatewayPrivateEndpointConnectionListResultOutput { // @public export interface ApplicationGatewayPrivateEndpointConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayPrivateEndpointConnectionPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayPrivateEndpointConnectionProperties { - linkIdentifier?: string; - privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayPrivateEndpointConnectionPropertiesOutput { - linkIdentifier?: string; - privateEndpoint?: PrivateEndpointOutput; + readonly linkIdentifier?: string; + readonly privateEndpoint?: PrivateEndpointOutput; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -1302,24 +1244,18 @@ export interface ApplicationGatewayPrivateEndpointConnectionsDelete { // @public export interface ApplicationGatewayPrivateEndpointConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ApplicationGatewayPrivateEndpointConnectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ApplicationGatewayPrivateEndpointConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1421,8 +1357,6 @@ export interface ApplicationGatewayPrivateEndpointConnectionsUpdate200Response e // @public export interface ApplicationGatewayPrivateEndpointConnectionsUpdate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1461,46 +1395,41 @@ export interface ApplicationGatewayPrivateEndpointConnectionsUpdateQueryParamPro // @public export interface ApplicationGatewayPrivateLinkConfiguration extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayPrivateLinkConfigurationProperties; - type?: string; } // @public export interface ApplicationGatewayPrivateLinkConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayPrivateLinkConfigurationPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayPrivateLinkConfigurationProperties { ipConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayPrivateLinkConfigurationPropertiesOutput { ipConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayPrivateLinkIpConfiguration extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayPrivateLinkIpConfigurationProperties; - type?: string; } // @public export interface ApplicationGatewayPrivateLinkIpConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayPrivateLinkIpConfigurationPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -1508,7 +1437,6 @@ export interface ApplicationGatewayPrivateLinkIpConfigurationProperties { primary?: boolean; privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: SubResource; } @@ -1517,16 +1445,14 @@ export interface ApplicationGatewayPrivateLinkIpConfigurationPropertiesOutput { primary?: boolean; privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: SubResourceOutput; } // @public export interface ApplicationGatewayPrivateLinkResource extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayPrivateLinkResourceProperties; - type?: string; } // @public @@ -1537,23 +1463,21 @@ export interface ApplicationGatewayPrivateLinkResourceListResultOutput { // @public export interface ApplicationGatewayPrivateLinkResourceOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayPrivateLinkResourcePropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayPrivateLinkResourceProperties { - groupId?: string; - requiredMembers?: Array; requiredZoneNames?: Array; } // @public export interface ApplicationGatewayPrivateLinkResourcePropertiesOutput { - groupId?: string; - requiredMembers?: Array; + readonly groupId?: string; + readonly requiredMembers?: Array; requiredZoneNames?: Array; } @@ -1594,10 +1518,8 @@ export interface ApplicationGatewayPrivateLinkResourcesListQueryParamProperties // @public export interface ApplicationGatewayProbe extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayProbePropertiesFormat; - type?: string; } // @public @@ -1614,10 +1536,10 @@ export interface ApplicationGatewayProbeHealthResponseMatchOutput { // @public export interface ApplicationGatewayProbeOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayProbePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -1631,7 +1553,6 @@ export interface ApplicationGatewayProbePropertiesFormat { pickHostNameFromBackendSettings?: boolean; port?: number; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; timeout?: number; unhealthyThreshold?: number; } @@ -1647,7 +1568,7 @@ export interface ApplicationGatewayProbePropertiesFormatOutput { pickHostNameFromBackendSettings?: boolean; port?: number; protocol?: "Http" | "Https" | "Tcp" | "Tls"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; timeout?: number; unhealthyThreshold?: number; } @@ -1671,14 +1592,10 @@ export interface ApplicationGatewayPropertiesFormat { httpListeners?: Array; listeners?: Array; loadDistributionPolicies?: Array; - operationalState?: "Stopped" | "Starting" | "Running" | "Stopping"; - privateEndpointConnections?: Array; privateLinkConfigurations?: Array; probes?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; redirectConfigurations?: Array; requestRoutingRules?: Array; - resourceGuid?: string; rewriteRuleSets?: Array; routingRules?: Array; sku?: ApplicationGatewaySku; @@ -1710,14 +1627,14 @@ export interface ApplicationGatewayPropertiesFormatOutput { httpListeners?: Array; listeners?: Array; loadDistributionPolicies?: Array; - operationalState?: "Stopped" | "Starting" | "Running" | "Stopping"; - privateEndpointConnections?: Array; + readonly operationalState?: "Stopped" | "Starting" | "Running" | "Stopping"; + readonly privateEndpointConnections?: Array; privateLinkConfigurations?: Array; probes?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; redirectConfigurations?: Array; requestRoutingRules?: Array; - resourceGuid?: string; + readonly resourceGuid?: string; rewriteRuleSets?: Array; routingRules?: Array; sku?: ApplicationGatewaySkuOutput; @@ -1732,18 +1649,16 @@ export interface ApplicationGatewayPropertiesFormatOutput { // @public export interface ApplicationGatewayRedirectConfiguration extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayRedirectConfigurationPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayRedirectConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayRedirectConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -1772,18 +1687,16 @@ export interface ApplicationGatewayRedirectConfigurationPropertiesFormatOutput { // @public export interface ApplicationGatewayRequestRoutingRule extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayRequestRoutingRulePropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayRequestRoutingRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayRequestRoutingRulePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -1793,7 +1706,6 @@ export interface ApplicationGatewayRequestRoutingRulePropertiesFormat { httpListener?: SubResource; loadDistributionPolicy?: SubResource; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; redirectConfiguration?: SubResource; rewriteRuleSet?: SubResource; ruleType?: "Basic" | "PathBasedRouting"; @@ -1807,7 +1719,7 @@ export interface ApplicationGatewayRequestRoutingRulePropertiesFormatOutput { httpListener?: SubResourceOutput; loadDistributionPolicy?: SubResourceOutput; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; redirectConfiguration?: SubResourceOutput; rewriteRuleSet?: SubResourceOutput; ruleType?: "Basic" | "PathBasedRouting"; @@ -1862,44 +1774,40 @@ export interface ApplicationGatewayRewriteRuleOutput { // @public export interface ApplicationGatewayRewriteRuleSet extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayRewriteRuleSetPropertiesFormat; } // @public export interface ApplicationGatewayRewriteRuleSetOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayRewriteRuleSetPropertiesFormatOutput; } // @public export interface ApplicationGatewayRewriteRuleSetPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rewriteRules?: Array; } // @public export interface ApplicationGatewayRewriteRuleSetPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rewriteRules?: Array; } // @public export interface ApplicationGatewayRoutingRule extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayRoutingRulePropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayRoutingRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayRoutingRulePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -1908,7 +1816,6 @@ export interface ApplicationGatewayRoutingRulePropertiesFormat { backendSettings?: SubResource; listener?: SubResource; priority: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; ruleType?: "Basic" | "PathBasedRouting"; } @@ -1918,7 +1825,7 @@ export interface ApplicationGatewayRoutingRulePropertiesFormatOutput { backendSettings?: SubResourceOutput; listener?: SubResourceOutput; priority: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; ruleType?: "Basic" | "PathBasedRouting"; } @@ -1937,8 +1844,6 @@ export interface ApplicationGatewaysBackendHealth200Response extends HttpRespons // @public export interface ApplicationGatewaysBackendHealth202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1966,8 +1871,6 @@ export interface ApplicationGatewaysBackendHealthOnDemand200Response extends Htt // @public export interface ApplicationGatewaysBackendHealthOnDemand202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2078,24 +1981,18 @@ export interface ApplicationGatewaysDelete { // @public export interface ApplicationGatewaysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ApplicationGatewaysDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ApplicationGatewaysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -2483,18 +2380,16 @@ export interface ApplicationGatewaysListQueryParamProperties { // @public export interface ApplicationGatewaySslCertificate extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewaySslCertificatePropertiesFormat; - type?: string; } // @public export interface ApplicationGatewaySslCertificateOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewaySslCertificatePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -2502,8 +2397,6 @@ export interface ApplicationGatewaySslCertificatePropertiesFormat { data?: string; keyVaultSecretId?: string; password?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - publicCertData?: string; } // @public @@ -2511,8 +2404,8 @@ export interface ApplicationGatewaySslCertificatePropertiesFormatOutput { data?: string; keyVaultSecretId?: string; password?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - publicCertData?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly publicCertData?: string; } // @public @@ -2559,24 +2452,21 @@ export interface ApplicationGatewaySslPredefinedPolicyPropertiesFormatOutput { // @public export interface ApplicationGatewaySslProfile extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewaySslProfilePropertiesFormat; - type?: string; } // @public export interface ApplicationGatewaySslProfileOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewaySslProfilePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewaySslProfilePropertiesFormat { clientAuthConfiguration?: ApplicationGatewayClientAuthConfiguration; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sslPolicy?: ApplicationGatewaySslPolicy; trustedClientCertificates?: Array; } @@ -2584,7 +2474,7 @@ export interface ApplicationGatewaySslProfilePropertiesFormat { // @public export interface ApplicationGatewaySslProfilePropertiesFormatOutput { clientAuthConfiguration?: ApplicationGatewayClientAuthConfigurationOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sslPolicy?: ApplicationGatewaySslPolicyOutput; trustedClientCertificates?: Array; } @@ -2596,16 +2486,12 @@ export interface ApplicationGatewaysStart { // @public export interface ApplicationGatewaysStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ApplicationGatewaysStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2639,16 +2525,12 @@ export interface ApplicationGatewaysStop { // @public export interface ApplicationGatewaysStop200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ApplicationGatewaysStop202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2717,64 +2599,56 @@ export interface ApplicationGatewaysUpdateTagsQueryParamProperties { // @public export interface ApplicationGatewayTrustedClientCertificate extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayTrustedClientCertificatePropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayTrustedClientCertificateOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayTrustedClientCertificatePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayTrustedClientCertificatePropertiesFormat { - clientCertIssuerDN?: string; data?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - validatedCertData?: string; } // @public export interface ApplicationGatewayTrustedClientCertificatePropertiesFormatOutput { - clientCertIssuerDN?: string; + readonly clientCertIssuerDN?: string; data?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - validatedCertData?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly validatedCertData?: string; } // @public export interface ApplicationGatewayTrustedRootCertificate extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayTrustedRootCertificatePropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayTrustedRootCertificateOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayTrustedRootCertificatePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ApplicationGatewayTrustedRootCertificatePropertiesFormat { data?: string; keyVaultSecretId?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ApplicationGatewayTrustedRootCertificatePropertiesFormatOutput { data?: string; keyVaultSecretId?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -2793,18 +2667,16 @@ export interface ApplicationGatewayUrlConfigurationOutput { // @public export interface ApplicationGatewayUrlPathMap extends SubResource { - etag?: string; name?: string; properties?: ApplicationGatewayUrlPathMapPropertiesFormat; - type?: string; } // @public export interface ApplicationGatewayUrlPathMapOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ApplicationGatewayUrlPathMapPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -2815,7 +2687,6 @@ export interface ApplicationGatewayUrlPathMapPropertiesFormat { defaultRedirectConfiguration?: SubResource; defaultRewriteRuleSet?: SubResource; pathRules?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -2826,7 +2697,7 @@ export interface ApplicationGatewayUrlPathMapPropertiesFormatOutput { defaultRedirectConfiguration?: SubResourceOutput; defaultRewriteRuleSet?: SubResourceOutput; pathRules?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -2844,9 +2715,9 @@ export interface ApplicationGatewayWafDynamicManifestResultListOutput { // @public export interface ApplicationGatewayWafDynamicManifestResultOutput { id?: string; - name?: string; + readonly name?: string; properties?: ApplicationGatewayWafDynamicManifestPropertiesResultOutput; - type?: string; + readonly type?: string; } // @public (undocumented) @@ -2979,32 +2850,29 @@ export interface ApplicationRuleOutput extends FirewallPolicyRuleOutputParent { // @public export interface ApplicationSecurityGroup extends Resource { - etag?: string; properties?: ApplicationSecurityGroupPropertiesFormat; } // @public export interface ApplicationSecurityGroupListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface ApplicationSecurityGroupOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: ApplicationSecurityGroupPropertiesFormatOutput; } // @public export interface ApplicationSecurityGroupPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; } // @public export interface ApplicationSecurityGroupPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; } // @public @@ -3065,24 +2933,18 @@ export interface ApplicationSecurityGroupsDelete { // @public export interface ApplicationSecurityGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ApplicationSecurityGroupsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ApplicationSecurityGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -3259,14 +3121,13 @@ export interface AuthorizationListResultOutput { export interface AuthorizationPropertiesFormat { authorizationKey?: string; authorizationUseStatus?: "Available" | "InUse"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface AuthorizationPropertiesFormatOutput { authorizationKey?: string; authorizationUseStatus?: "Available" | "InUse"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -3276,7 +3137,7 @@ export interface AutoApprovedPrivateLinkServiceOutput { // @public export interface AutoApprovedPrivateLinkServicesResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -3333,7 +3194,7 @@ export interface AvailableDelegationsListQueryParamProperties { // @public export interface AvailableDelegationsResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -3453,7 +3314,7 @@ export interface AvailablePrivateEndpointTypesListQueryParamProperties { // @public export interface AvailablePrivateEndpointTypesResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -3597,7 +3458,7 @@ export interface AvailableServiceAliasesListQueryParamProperties { // @public export interface AvailableServiceAliasesResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -3611,7 +3472,6 @@ export interface AvailableServiceAliasOutput { // @public export interface AzureFirewall extends Resource { - etag?: string; properties?: AzureFirewallPropertiesFormat; zones?: Array; } @@ -3629,14 +3489,13 @@ export interface AzureFirewallApplicationRule { // @public export interface AzureFirewallApplicationRuleCollection extends SubResource { - etag?: string; name?: string; properties?: AzureFirewallApplicationRuleCollectionPropertiesFormat; } // @public export interface AzureFirewallApplicationRuleCollectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: AzureFirewallApplicationRuleCollectionPropertiesFormatOutput; } @@ -3645,7 +3504,6 @@ export interface AzureFirewallApplicationRuleCollectionOutput extends SubResourc export interface AzureFirewallApplicationRuleCollectionPropertiesFormat { action?: AzureFirewallRCAction; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -3653,7 +3511,7 @@ export interface AzureFirewallApplicationRuleCollectionPropertiesFormat { export interface AzureFirewallApplicationRuleCollectionPropertiesFormatOutput { action?: AzureFirewallRCActionOutput; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -3682,7 +3540,6 @@ export interface AzureFirewallApplicationRuleProtocolOutput { // @public export interface AzureFirewallFqdnTag extends Resource { - etag?: string; properties?: AzureFirewallFqdnTagPropertiesFormat; } @@ -3694,20 +3551,18 @@ export interface AzureFirewallFqdnTagListResultOutput { // @public export interface AzureFirewallFqdnTagOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: AzureFirewallFqdnTagPropertiesFormatOutput; } // @public export interface AzureFirewallFqdnTagPropertiesFormat { - fqdnTagName?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface AzureFirewallFqdnTagPropertiesFormatOutput { - fqdnTagName?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly fqdnTagName?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -3747,46 +3602,40 @@ export interface AzureFirewallFqdnTagsListAllQueryParamProperties { // @public export interface AzureFirewallIPConfiguration extends SubResource { - etag?: string; name?: string; properties?: AzureFirewallIPConfigurationPropertiesFormat; - type?: string; } // @public export interface AzureFirewallIPConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: AzureFirewallIPConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface AzureFirewallIPConfigurationPropertiesFormat { - privateIPAddress?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: SubResource; subnet?: SubResource; } // @public export interface AzureFirewallIPConfigurationPropertiesFormatOutput { - privateIPAddress?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly privateIPAddress?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: SubResourceOutput; subnet?: SubResourceOutput; } // @public export interface AzureFirewallIpGroups { - changeNumber?: string; - id?: string; } // @public export interface AzureFirewallIpGroupsOutput { - changeNumber?: string; - id?: string; + readonly changeNumber?: string; + readonly id?: string; } // @public @@ -3821,14 +3670,13 @@ export interface AzureFirewallNatRule { // @public export interface AzureFirewallNatRuleCollection extends SubResource { - etag?: string; name?: string; properties?: AzureFirewallNatRuleCollectionProperties; } // @public export interface AzureFirewallNatRuleCollectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: AzureFirewallNatRuleCollectionPropertiesOutput; } @@ -3837,7 +3685,6 @@ export interface AzureFirewallNatRuleCollectionOutput extends SubResourceOutput export interface AzureFirewallNatRuleCollectionProperties { action?: AzureFirewallNatRCAction; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -3845,7 +3692,7 @@ export interface AzureFirewallNatRuleCollectionProperties { export interface AzureFirewallNatRuleCollectionPropertiesOutput { action?: AzureFirewallNatRCActionOutput; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -3878,14 +3725,13 @@ export interface AzureFirewallNetworkRule { // @public export interface AzureFirewallNetworkRuleCollection extends SubResource { - etag?: string; name?: string; properties?: AzureFirewallNetworkRuleCollectionPropertiesFormat; } // @public export interface AzureFirewallNetworkRuleCollectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: AzureFirewallNetworkRuleCollectionPropertiesFormatOutput; } @@ -3894,7 +3740,6 @@ export interface AzureFirewallNetworkRuleCollectionOutput extends SubResourceOut export interface AzureFirewallNetworkRuleCollectionPropertiesFormat { action?: AzureFirewallRCAction; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -3902,7 +3747,7 @@ export interface AzureFirewallNetworkRuleCollectionPropertiesFormat { export interface AzureFirewallNetworkRuleCollectionPropertiesFormatOutput { action?: AzureFirewallRCActionOutput; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -3921,7 +3766,7 @@ export interface AzureFirewallNetworkRuleOutput { // @public export interface AzureFirewallOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: AzureFirewallPropertiesFormatOutput; zones?: Array; } @@ -3933,11 +3778,9 @@ export interface AzureFirewallPropertiesFormat { firewallPolicy?: SubResource; hubIPAddresses?: HubIPAddresses; ipConfigurations?: Array; - ipGroups?: Array; managementIpConfiguration?: AzureFirewallIPConfiguration; natRuleCollections?: Array; networkRuleCollections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sku?: AzureFirewallSku; threatIntelMode?: "Alert" | "Deny" | "Off"; virtualHub?: SubResource; @@ -3950,11 +3793,11 @@ export interface AzureFirewallPropertiesFormatOutput { firewallPolicy?: SubResourceOutput; hubIPAddresses?: HubIPAddressesOutput; ipConfigurations?: Array; - ipGroups?: Array; + readonly ipGroups?: Array; managementIpConfiguration?: AzureFirewallIPConfigurationOutput; natRuleCollections?: Array; networkRuleCollections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sku?: AzureFirewallSkuOutput; threatIntelMode?: "Alert" | "Deny" | "Off"; virtualHub?: SubResourceOutput; @@ -4038,24 +3881,18 @@ export interface AzureFirewallsDelete { // @public export interface AzureFirewallsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AzureFirewallsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface AzureFirewallsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -4195,8 +4032,6 @@ export interface AzureFirewallsListLearnedPrefixes200Response extends HttpRespon // @public export interface AzureFirewallsListLearnedPrefixes202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4247,8 +4082,6 @@ export interface AzureFirewallsUpdateTags200Response extends HttpResponse { // @public export interface AzureFirewallsUpdateTags202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4336,16 +4169,16 @@ export interface AzureWebCategoryListResultOutput { // @public export interface AzureWebCategoryOutput { - etag?: string; + readonly etag?: string; id?: string; - name?: string; + readonly name?: string; properties?: AzureWebCategoryPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface AzureWebCategoryPropertiesFormatOutput { - group?: string; + readonly group?: string; } // @public @@ -4355,45 +4188,37 @@ export interface BackendAddressInboundNatRulePortMappingsOutput { // @public export interface BackendAddressPool extends SubResource { - etag?: string; name?: string; properties?: BackendAddressPoolPropertiesFormat; - type?: string; } // @public export interface BackendAddressPoolOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: BackendAddressPoolPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface BackendAddressPoolPropertiesFormat { - backendIPConfigurations?: Array; drainPeriodInSeconds?: number; - inboundNatRules?: Array; loadBalancerBackendAddresses?: Array; - loadBalancingRules?: Array; location?: string; - outboundRule?: SubResource; - outboundRules?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; tunnelInterfaces?: Array; } // @public export interface BackendAddressPoolPropertiesFormatOutput { - backendIPConfigurations?: Array; + readonly backendIPConfigurations?: Array; drainPeriodInSeconds?: number; - inboundNatRules?: Array; + readonly inboundNatRules?: Array; loadBalancerBackendAddresses?: Array; - loadBalancingRules?: Array; + readonly loadBalancingRules?: Array; location?: string; - outboundRule?: SubResourceOutput; - outboundRules?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly outboundRule?: SubResourceOutput; + readonly outboundRules?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; tunnelInterfaces?: Array; } @@ -4407,14 +4232,13 @@ export type BaseAdminRuleOutput = AdminRuleOutput | DefaultAdminRuleOutput; export interface BaseAdminRuleOutputParent extends ChildResourceOutput { // (undocumented) kind: "BaseAdminRule" | "Custom" | "Default"; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public export interface BaseAdminRuleParent extends ChildResource { // (undocumented) kind: "BaseAdminRule" | "Custom" | "Default"; - systemData?: SystemData; } // @public @@ -4425,46 +4249,42 @@ export interface BastionActiveSessionListResultOutput { // @public export interface BastionActiveSessionOutput { - protocol?: "SSH" | "RDP"; - resourceType?: string; - sessionDurationInMins?: number; - sessionId?: string; - startTime?: Record; - targetHostName?: string; - targetIpAddress?: string; - targetResourceGroup?: string; - targetResourceId?: string; - targetSubscriptionId?: string; - userName?: string; + readonly protocol?: "SSH" | "RDP"; + readonly resourceType?: string; + readonly sessionDurationInMins?: number; + readonly sessionId?: string; + readonly startTime?: Record; + readonly targetHostName?: string; + readonly targetIpAddress?: string; + readonly targetResourceGroup?: string; + readonly targetResourceId?: string; + readonly targetSubscriptionId?: string; + readonly userName?: string; } // @public export interface BastionHost extends Resource { - etag?: string; properties?: BastionHostPropertiesFormat; sku?: Sku; } // @public export interface BastionHostIPConfiguration extends SubResource { - etag?: string; name?: string; properties?: BastionHostIPConfigurationPropertiesFormat; - type?: string; } // @public export interface BastionHostIPConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: BastionHostIPConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface BastionHostIPConfigurationPropertiesFormat { privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress: SubResource; subnet: SubResource; } @@ -4472,7 +4292,7 @@ export interface BastionHostIPConfigurationPropertiesFormat { // @public export interface BastionHostIPConfigurationPropertiesFormatOutput { privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress: SubResourceOutput; subnet: SubResourceOutput; } @@ -4485,7 +4305,7 @@ export interface BastionHostListResultOutput { // @public export interface BastionHostOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: BastionHostPropertiesFormatOutput; sku?: SkuOutput; } @@ -4499,7 +4319,6 @@ export interface BastionHostPropertiesFormat { enableShareableLink?: boolean; enableTunneling?: boolean; ipConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; scaleUnits?: number; } @@ -4512,7 +4331,7 @@ export interface BastionHostPropertiesFormatOutput { enableShareableLink?: boolean; enableTunneling?: boolean; ipConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; scaleUnits?: number; } @@ -4574,24 +4393,18 @@ export interface BastionHostsDelete { // @public export interface BastionHostsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface BastionHostsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface BastionHostsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -4728,8 +4541,6 @@ export interface BastionHostsUpdateTags200Response extends HttpResponse { // @public export interface BastionHostsUpdateTags202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4774,16 +4585,13 @@ export interface BastionSessionDeleteResultOutput { // @public export interface BastionSessionStateOutput { - message?: string; - sessionId?: string; - state?: string; + readonly message?: string; + readonly sessionId?: string; + readonly state?: string; } // @public export interface BastionShareableLink { - bsl?: string; - createdAt?: string; - message?: string; vm: Vm; } @@ -4800,9 +4608,9 @@ export interface BastionShareableLinkListResultOutput { // @public export interface BastionShareableLinkOutput { - bsl?: string; - createdAt?: string; - message?: string; + readonly bsl?: string; + readonly createdAt?: string; + readonly message?: string; vm: VmOutput; } @@ -4828,36 +4636,32 @@ export interface BGPCommunityOutput { // @public export interface BgpConnection extends SubResource { - etag?: string; name?: string; properties?: BgpConnectionProperties; - type?: string; } // @public export interface BgpConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: BgpConnectionPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface BgpConnectionProperties { - connectionState?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; hubVirtualNetworkConnection?: SubResource; peerAsn?: number; peerIp?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface BgpConnectionPropertiesOutput { - connectionState?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionState?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; hubVirtualNetworkConnection?: SubResourceOutput; peerAsn?: number; peerIp?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -4867,14 +4671,14 @@ export interface BgpPeerStatusListResultOutput { // @public export interface BgpPeerStatusOutput { - asn?: number; - connectedDuration?: string; - localAddress?: string; - messagesReceived?: number; - messagesSent?: number; - neighbor?: string; - routesReceived?: number; - state?: "Unknown" | "Stopped" | "Idle" | "Connecting" | "Connected"; + readonly asn?: number; + readonly connectedDuration?: string; + readonly localAddress?: string; + readonly messagesReceived?: number; + readonly messagesSent?: number; + readonly neighbor?: string; + readonly routesReceived?: number; + readonly state?: "Unknown" | "Stopped" | "Idle" | "Connecting" | "Connected"; } // @public (undocumented) @@ -5013,18 +4817,14 @@ export interface CheckPrivateLinkServiceVisibilityRequest { // @public export interface ChildResource { - etag?: string; - id?: string; - name?: string; - type?: string; } // @public export interface ChildResourceOutput { - etag?: string; - id?: string; - name?: string; - type?: string; + readonly etag?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; } // @public @@ -5042,14 +4842,12 @@ export interface CloudErrorOutput { // @public (undocumented) export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties { - clientId?: string; - principalId?: string; } // @public (undocumented) export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalpropertiesOutput { - clientId?: string; - principalId?: string; + readonly clientId?: string; + readonly principalId?: string; } // @public @@ -5115,24 +4913,18 @@ export interface ConfigurationPolicyGroupsCreateOrUpdateQueryParamProperties { // @public export interface ConfigurationPolicyGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ConfigurationPolicyGroupsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ConfigurationPolicyGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -5394,29 +5186,25 @@ export interface ConnectionMonitorQueryResultOutput { // @public export interface ConnectionMonitorResultOutput { - etag?: string; - id?: string; + readonly etag?: string; + readonly id?: string; location?: string; - name?: string; + readonly name?: string; properties?: ConnectionMonitorResultPropertiesOutput; tags?: Record; - type?: string; + readonly type?: string; } // @public export interface ConnectionMonitorResultProperties extends ConnectionMonitorParameters { - connectionMonitorType?: "MultiEndpoint" | "SingleSourceDestination"; - monitoringStatus?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - startTime?: Date | string; } // @public export interface ConnectionMonitorResultPropertiesOutput extends ConnectionMonitorParametersOutput { - connectionMonitorType?: "MultiEndpoint" | "SingleSourceDestination"; - monitoringStatus?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - startTime?: string; + readonly connectionMonitorType?: "MultiEndpoint" | "SingleSourceDestination"; + readonly monitoringStatus?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly startTime?: string; } // @public (undocumented) @@ -5478,16 +5266,12 @@ export interface ConnectionMonitorsCreateOrUpdateQueryParamProperties { // @public export interface ConnectionMonitorsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ConnectionMonitorsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -5641,16 +5425,12 @@ export interface ConnectionMonitorsStart { // @public export interface ConnectionMonitorsStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ConnectionMonitorsStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -5684,16 +5464,12 @@ export interface ConnectionMonitorsStop { // @public export interface ConnectionMonitorsStop200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ConnectionMonitorsStop202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -5864,7 +5640,7 @@ export interface ConnectionStateSnapshotOutput { connectionState?: "Reachable" | "Unreachable" | "Unknown"; endTime?: string; evaluationState?: "NotStarted" | "InProgress" | "Completed"; - hops?: Array; + readonly hops?: Array; maxLatencyInMs?: number; minLatencyInMs?: number; probesFailed?: number; @@ -5875,7 +5651,6 @@ export interface ConnectionStateSnapshotOutput { // @public export interface ConnectivityConfiguration extends ChildResource { properties?: ConnectivityConfigurationProperties; - systemData?: SystemData; } // @public @@ -5887,7 +5662,7 @@ export interface ConnectivityConfigurationListResultOutput { // @public export interface ConnectivityConfigurationOutput extends ChildResourceOutput { properties?: ConnectivityConfigurationPropertiesOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public @@ -5898,7 +5673,6 @@ export interface ConnectivityConfigurationProperties { description?: string; hubs?: Array; isGlobal?: "False" | "True"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -5909,7 +5683,7 @@ export interface ConnectivityConfigurationPropertiesOutput { description?: string; hubs?: Array; isGlobal?: "False" | "True"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -5962,8 +5736,6 @@ export interface ConnectivityConfigurationsCreateOrUpdateQueryParamProperties { // @public export interface ConnectivityConfigurationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -5975,8 +5747,6 @@ export interface ConnectivityConfigurationsDelete202Headers { // @public export interface ConnectivityConfigurationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) headers: RawHttpHeaders & ConnectivityConfigurationsDelete202Headers; // (undocumented) @@ -5985,8 +5755,6 @@ export interface ConnectivityConfigurationsDelete202Response extends HttpRespons // @public export interface ConnectivityConfigurationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6113,34 +5881,34 @@ export interface ConnectivityGroupItemOutput { // @public export interface ConnectivityHopOutput { - address?: string; - id?: string; - issues?: Array; - links?: Array; - nextHopIds?: Array; - previousHopIds?: Array; - previousLinks?: Array; - resourceId?: string; - type?: string; + readonly address?: string; + readonly id?: string; + readonly issues?: Array; + readonly links?: Array; + readonly nextHopIds?: Array; + readonly previousHopIds?: Array; + readonly previousLinks?: Array; + readonly resourceId?: string; + readonly type?: string; } // @public export interface ConnectivityInformationOutput { - avgLatencyInMs?: number; - connectionStatus?: "Unknown" | "Connected" | "Disconnected" | "Degraded"; - hops?: Array; - maxLatencyInMs?: number; - minLatencyInMs?: number; - probesFailed?: number; - probesSent?: number; + readonly avgLatencyInMs?: number; + readonly connectionStatus?: "Unknown" | "Connected" | "Disconnected" | "Degraded"; + readonly hops?: Array; + readonly maxLatencyInMs?: number; + readonly minLatencyInMs?: number; + readonly probesFailed?: number; + readonly probesSent?: number; } // @public export interface ConnectivityIssueOutput { - context?: Array>; - origin?: "Local" | "Inbound" | "Outbound"; - severity?: "Error" | "Warning"; - type?: "Unknown" | "AgentStopped" | "GuestFirewall" | "DnsResolution" | "SocketBind" | "NetworkSecurityRule" | "UserDefinedRoute" | "PortThrottled" | "Platform"; + readonly context?: Array>; + readonly origin?: "Local" | "Inbound" | "Outbound"; + readonly severity?: "Error" | "Warning"; + readonly type?: "Unknown" | "AgentStopped" | "GuestFirewall" | "DnsResolution" | "SocketBind" | "NetworkSecurityRule" | "UserDefinedRoute" | "PortThrottled" | "Platform"; } // @public @@ -6164,90 +5932,79 @@ export interface Container extends SubResource { // @public export interface ContainerNetworkInterface extends SubResource { - etag?: string; name?: string; properties?: ContainerNetworkInterfacePropertiesFormat; - type?: string; } // @public export interface ContainerNetworkInterfaceConfiguration extends SubResource { - etag?: string; name?: string; properties?: ContainerNetworkInterfaceConfigurationPropertiesFormat; - type?: string; } // @public export interface ContainerNetworkInterfaceConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ContainerNetworkInterfaceConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ContainerNetworkInterfaceConfigurationPropertiesFormat { containerNetworkInterfaces?: Array; ipConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ContainerNetworkInterfaceConfigurationPropertiesFormatOutput { containerNetworkInterfaces?: Array; ipConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ContainerNetworkInterfaceIpConfiguration { - etag?: string; name?: string; properties?: ContainerNetworkInterfaceIpConfigurationPropertiesFormat; - type?: string; } // @public export interface ContainerNetworkInterfaceIpConfigurationOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ContainerNetworkInterfaceIpConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ContainerNetworkInterfaceIpConfigurationPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ContainerNetworkInterfaceIpConfigurationPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ContainerNetworkInterfaceOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ContainerNetworkInterfacePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ContainerNetworkInterfacePropertiesFormat { container?: Container; - containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfiguration; - ipConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ContainerNetworkInterfacePropertiesFormatOutput { container?: ContainerOutput; - containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfigurationOutput; - ipConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfigurationOutput; + readonly ipConfigurations?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -6255,7 +6012,7 @@ export interface ContainerOutput extends SubResourceOutput { } // @public -function createClient(credentials: TokenCredential, options?: ClientOptions): NetworkManagementClient; +function createClient(credentials: TokenCredential, options?: NetworkManagementClientOptions): NetworkManagementClient; export default createClient; // @public @@ -6276,16 +6033,13 @@ export interface CriterionOutput { // @public export interface CrossTenantScopes { - managementGroups?: Array; - subscriptions?: Array; - tenantId?: string; } // @public export interface CrossTenantScopesOutput { - managementGroups?: Array; - subscriptions?: Array; - tenantId?: string; + readonly managementGroups?: Array; + readonly subscriptions?: Array; + readonly tenantId?: string; } // @public @@ -6302,7 +6056,6 @@ export interface CustomDnsConfigPropertiesFormatOutput { // @public export interface CustomIpPrefix extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties?: CustomIpPrefixPropertiesFormat; zones?: Array; @@ -6366,24 +6119,18 @@ export interface CustomIPPrefixesDelete { // @public export interface CustomIPPrefixesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CustomIPPrefixesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface CustomIPPrefixesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6559,7 +6306,7 @@ export interface CustomIpPrefixListResultOutput { // @public export interface CustomIpPrefixOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties?: CustomIpPrefixPropertiesFormatOutput; zones?: Array; @@ -6569,18 +6316,13 @@ export interface CustomIpPrefixOutput extends ResourceOutput { export interface CustomIpPrefixPropertiesFormat { asn?: string; authorizationMessage?: string; - childCustomIpPrefixes?: Array; cidr?: string; commissionedState?: "Provisioning" | "Provisioned" | "Commissioning" | "CommissionedNoInternetAdvertise" | "Commissioned" | "Decommissioning" | "Deprovisioning" | "Deprovisioned"; customIpPrefixParent?: SubResource; expressRouteAdvertise?: boolean; - failedReason?: string; geo?: "GLOBAL" | "AFRI" | "APAC" | "EURO" | "LATAM" | "NAM" | "ME" | "OCEANIA" | "AQ"; noInternetAdvertise?: boolean; prefixType?: "Singular" | "Parent" | "Child"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - publicIpPrefixes?: Array; - resourceGuid?: string; signedMessage?: string; } @@ -6588,18 +6330,18 @@ export interface CustomIpPrefixPropertiesFormat { export interface CustomIpPrefixPropertiesFormatOutput { asn?: string; authorizationMessage?: string; - childCustomIpPrefixes?: Array; + readonly childCustomIpPrefixes?: Array; cidr?: string; commissionedState?: "Provisioning" | "Provisioned" | "Commissioning" | "CommissionedNoInternetAdvertise" | "Commissioned" | "Decommissioning" | "Deprovisioning" | "Deprovisioned"; customIpPrefixParent?: SubResourceOutput; expressRouteAdvertise?: boolean; - failedReason?: string; + readonly failedReason?: string; geo?: "GLOBAL" | "AFRI" | "APAC" | "EURO" | "LATAM" | "NAM" | "ME" | "OCEANIA" | "AQ"; noInternetAdvertise?: boolean; prefixType?: "Singular" | "Parent" | "Child"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - publicIpPrefixes?: Array; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly publicIpPrefixes?: Array; + readonly resourceGuid?: string; signedMessage?: string; } @@ -6661,24 +6403,18 @@ export interface DdosCustomPoliciesDelete { // @public export interface DdosCustomPoliciesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DdosCustomPoliciesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DdosCustomPoliciesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6777,70 +6513,59 @@ export interface DdosCustomPoliciesUpdateTagsQueryParamProperties { // @public export interface DdosCustomPolicy extends Resource { - etag?: string; properties?: DdosCustomPolicyPropertiesFormat; } // @public export interface DdosCustomPolicyOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: DdosCustomPolicyPropertiesFormatOutput; } // @public export interface DdosCustomPolicyPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; } // @public export interface DdosCustomPolicyPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; } // @public export interface DdosProtectionPlan { - etag?: string; - id?: string; location?: string; - name?: string; properties?: DdosProtectionPlanPropertiesFormat; tags?: Record; - type?: string; } // @public export interface DdosProtectionPlanListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface DdosProtectionPlanOutput { - etag?: string; - id?: string; + readonly etag?: string; + readonly id?: string; location?: string; - name?: string; + readonly name?: string; properties?: DdosProtectionPlanPropertiesFormatOutput; tags?: Record; - type?: string; + readonly type?: string; } // @public export interface DdosProtectionPlanPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - publicIpAddresses?: Array; - resourceGuid?: string; - virtualNetworks?: Array; } // @public export interface DdosProtectionPlanPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - publicIpAddresses?: Array; - resourceGuid?: string; - virtualNetworks?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly publicIpAddresses?: Array; + readonly resourceGuid?: string; + readonly virtualNetworks?: Array; } // @public @@ -6901,24 +6626,18 @@ export interface DdosProtectionPlansDelete { // @public export interface DdosProtectionPlansDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DdosProtectionPlansDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DdosProtectionPlansDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -7099,32 +6818,22 @@ export interface DdosSettingsOutput { // @public export interface DefaultAdminPropertiesFormat { - access?: "Allow" | "Deny" | "AlwaysAllow"; - description?: string; - destinationPortRanges?: Array; - destinations?: Array; - direction?: "Inbound" | "Outbound"; flag?: string; - priority?: number; - protocol?: "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - sourcePortRanges?: Array; - sources?: Array; } // @public export interface DefaultAdminPropertiesFormatOutput { - access?: "Allow" | "Deny" | "AlwaysAllow"; - description?: string; - destinationPortRanges?: Array; - destinations?: Array; - direction?: "Inbound" | "Outbound"; + readonly access?: "Allow" | "Deny" | "AlwaysAllow"; + readonly description?: string; + readonly destinationPortRanges?: Array; + readonly destinations?: Array; + readonly direction?: "Inbound" | "Outbound"; flag?: string; - priority?: number; - protocol?: "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - sourcePortRanges?: Array; - sources?: Array; + readonly priority?: number; + readonly protocol?: "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly sourcePortRanges?: Array; + readonly sources?: Array; } // @public @@ -7219,7 +6928,6 @@ export interface DefaultSecurityRulesListQueryParamProperties { // @public export interface Delegation extends SubResource { - etag?: string; name?: string; properties?: ServiceDelegationPropertiesFormat; type?: string; @@ -7227,7 +6935,7 @@ export interface Delegation extends SubResource { // @public export interface DelegationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ServiceDelegationPropertiesFormatOutput; type?: string; @@ -7240,16 +6948,12 @@ export interface DeleteBastionShareableLink { // @public export interface DeleteBastionShareableLink200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DeleteBastionShareableLink202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -7383,7 +7087,6 @@ export interface DnsSettingsOutput { // @public export interface DscpConfiguration extends Resource { - etag?: string; properties?: DscpConfigurationPropertiesFormat; } @@ -7444,24 +7147,18 @@ export interface DscpConfigurationCreateOrUpdateQueryParamProperties { // @public export interface DscpConfigurationDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DscpConfigurationDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DscpConfigurationDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -7590,42 +7287,38 @@ export interface DscpConfigurationListQueryParamProperties { // @public export interface DscpConfigurationListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface DscpConfigurationOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: DscpConfigurationPropertiesFormatOutput; } // @public export interface DscpConfigurationPropertiesFormat { - associatedNetworkInterfaces?: Array; destinationIpRanges?: Array; destinationPortRanges?: Array; markings?: Array; protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - qosCollectionId?: string; qosDefinitionCollection?: Array; - resourceGuid?: string; sourceIpRanges?: Array; sourcePortRanges?: Array; } // @public export interface DscpConfigurationPropertiesFormatOutput { - associatedNetworkInterfaces?: Array; + readonly associatedNetworkInterfaces?: Array; destinationIpRanges?: Array; destinationPortRanges?: Array; markings?: Array; protocol?: "DoNotUse" | "Icmp" | "Tcp" | "Udp" | "Gre" | "Esp" | "Ah" | "Vxlan" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - qosCollectionId?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly qosCollectionId?: string; qosDefinitionCollection?: Array; - resourceGuid?: string; + readonly resourceGuid?: string; sourceIpRanges?: Array; sourcePortRanges?: Array; } @@ -7667,7 +7360,7 @@ export interface EffectiveNetworkSecurityGroupAssociationOutput { // @public export interface EffectiveNetworkSecurityGroupListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -7700,7 +7393,7 @@ export interface EffectiveNetworkSecurityRuleOutput { // @public export interface EffectiveRouteListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -7730,14 +7423,12 @@ export interface EffectiveSecurityAdminRuleOutput extends EffectiveBaseSecurityA // @public export interface EndpointServiceResult extends SubResource { - name?: string; - type?: string; } // @public export interface EndpointServiceResultOutput extends SubResourceOutput { - name?: string; - type?: string; + readonly name?: string; + readonly type?: string; } // @public @@ -7772,7 +7463,7 @@ export interface EvaluatedNetworkSecurityGroupOutput { appliedTo?: string; matchedRule?: MatchedRuleOutput; networkSecurityGroupId?: string; - rulesEvaluationResult?: Array; + readonly rulesEvaluationResult?: Array; } // @public @@ -7833,7 +7524,6 @@ export interface ExplicitProxyOutput { // @public export interface ExpressRouteCircuit extends Resource { - etag?: string; properties?: ExpressRouteCircuitPropertiesFormat; sku?: ExpressRouteCircuitSku; } @@ -7848,18 +7538,16 @@ export interface ExpressRouteCircuitArpTableOutput { // @public export interface ExpressRouteCircuitAuthorization extends SubResource { - etag?: string; name?: string; properties?: AuthorizationPropertiesFormat; - type?: string; } // @public export interface ExpressRouteCircuitAuthorizationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: AuthorizationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -7919,24 +7607,18 @@ export interface ExpressRouteCircuitAuthorizationsDelete { // @public export interface ExpressRouteCircuitAuthorizationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRouteCircuitAuthorizationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRouteCircuitAuthorizationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -8030,10 +7712,8 @@ export interface ExpressRouteCircuitAuthorizationsListQueryParamProperties { // @public export interface ExpressRouteCircuitConnection extends SubResource { - etag?: string; name?: string; properties?: ExpressRouteCircuitConnectionPropertiesFormat; - type?: string; } // @public @@ -8044,32 +7724,30 @@ export interface ExpressRouteCircuitConnectionListResultOutput { // @public export interface ExpressRouteCircuitConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ExpressRouteCircuitConnectionPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ExpressRouteCircuitConnectionPropertiesFormat { addressPrefix?: string; authorizationKey?: string; - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; expressRouteCircuitPeering?: SubResource; ipv6CircuitConnectionConfig?: Ipv6CircuitConnectionConfig; peerExpressRouteCircuitPeering?: SubResource; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ExpressRouteCircuitConnectionPropertiesFormatOutput { addressPrefix?: string; authorizationKey?: string; - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; + readonly circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; expressRouteCircuitPeering?: SubResourceOutput; ipv6CircuitConnectionConfig?: Ipv6CircuitConnectionConfigOutput; peerExpressRouteCircuitPeering?: SubResourceOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -8129,24 +7807,18 @@ export interface ExpressRouteCircuitConnectionsDelete { // @public export interface ExpressRouteCircuitConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRouteCircuitConnectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRouteCircuitConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -8246,24 +7918,21 @@ export interface ExpressRouteCircuitListResultOutput { // @public export interface ExpressRouteCircuitOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: ExpressRouteCircuitPropertiesFormatOutput; sku?: ExpressRouteCircuitSkuOutput; } // @public export interface ExpressRouteCircuitPeering extends SubResource { - etag?: string; name?: string; properties?: ExpressRouteCircuitPeeringPropertiesFormat; - type?: string; } // @public export interface ExpressRouteCircuitPeeringConfig { advertisedCommunities?: Array; advertisedPublicPrefixes?: Array; - advertisedPublicPrefixesState?: "NotConfigured" | "Configuring" | "Configured" | "ValidationNeeded"; customerASN?: number; legacyMode?: number; routingRegistryName?: string; @@ -8273,7 +7942,7 @@ export interface ExpressRouteCircuitPeeringConfig { export interface ExpressRouteCircuitPeeringConfigOutput { advertisedCommunities?: Array; advertisedPublicPrefixes?: Array; - advertisedPublicPrefixesState?: "NotConfigured" | "Configuring" | "Configured" | "ValidationNeeded"; + readonly advertisedPublicPrefixesState?: "NotConfigured" | "Configuring" | "Configured" | "ValidationNeeded"; customerASN?: number; legacyMode?: number; routingRegistryName?: string; @@ -8297,10 +7966,10 @@ export interface ExpressRouteCircuitPeeringListResultOutput { // @public export interface ExpressRouteCircuitPeeringOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ExpressRouteCircuitPeeringPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -8310,14 +7979,11 @@ export interface ExpressRouteCircuitPeeringPropertiesFormat { expressRouteConnection?: ExpressRouteConnectionId; gatewayManagerEtag?: string; ipv6PeeringConfig?: Ipv6ExpressRouteCircuitPeeringConfig; - lastModifiedBy?: string; microsoftPeeringConfig?: ExpressRouteCircuitPeeringConfig; peerASN?: number; - peeredConnections?: Array; peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; primaryAzurePort?: string; primaryPeerAddressPrefix?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routeFilter?: SubResource; secondaryAzurePort?: string; secondaryPeerAddressPrefix?: string; @@ -8334,14 +8000,14 @@ export interface ExpressRouteCircuitPeeringPropertiesFormatOutput { expressRouteConnection?: ExpressRouteConnectionIdOutput; gatewayManagerEtag?: string; ipv6PeeringConfig?: Ipv6ExpressRouteCircuitPeeringConfigOutput; - lastModifiedBy?: string; + readonly lastModifiedBy?: string; microsoftPeeringConfig?: ExpressRouteCircuitPeeringConfigOutput; peerASN?: number; - peeredConnections?: Array; + readonly peeredConnections?: Array; peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; primaryAzurePort?: string; primaryPeerAddressPrefix?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routeFilter?: SubResourceOutput; secondaryAzurePort?: string; secondaryPeerAddressPrefix?: string; @@ -8408,24 +8074,18 @@ export interface ExpressRouteCircuitPeeringsDelete { // @public export interface ExpressRouteCircuitPeeringsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRouteCircuitPeeringsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRouteCircuitPeeringsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -8528,12 +8188,10 @@ export interface ExpressRouteCircuitPropertiesFormat { gatewayManagerEtag?: string; globalReachEnabled?: boolean; peerings?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; serviceKey?: string; serviceProviderNotes?: string; serviceProviderProperties?: ExpressRouteCircuitServiceProviderProperties; serviceProviderProvisioningState?: "NotProvisioned" | "Provisioning" | "Provisioned" | "Deprovisioning"; - stag?: number; } // @public @@ -8547,12 +8205,12 @@ export interface ExpressRouteCircuitPropertiesFormatOutput { gatewayManagerEtag?: string; globalReachEnabled?: boolean; peerings?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; serviceKey?: string; serviceProviderNotes?: string; serviceProviderProperties?: ExpressRouteCircuitServiceProviderPropertiesOutput; serviceProviderProvisioningState?: "NotProvisioned" | "Provisioning" | "Provisioned" | "Deprovisioning"; - stag?: number; + readonly stag?: number; } // @public @@ -8647,24 +8305,18 @@ export interface ExpressRouteCircuitsDelete { // @public export interface ExpressRouteCircuitsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRouteCircuitsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRouteCircuitsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -8882,8 +8534,6 @@ export interface ExpressRouteCircuitsListArpTable200Response extends HttpRespons // @public export interface ExpressRouteCircuitsListArpTable202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -8947,8 +8597,6 @@ export interface ExpressRouteCircuitsListRoutesTable200Response extends HttpResp // @public export interface ExpressRouteCircuitsListRoutesTable202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -8990,8 +8638,6 @@ export interface ExpressRouteCircuitsListRoutesTableSummary200Response extends H // @public export interface ExpressRouteCircuitsListRoutesTableSummary202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -9094,12 +8740,11 @@ export interface ExpressRouteConnection extends SubResource { // @public export interface ExpressRouteConnectionId { - id?: string; } // @public export interface ExpressRouteConnectionIdOutput { - id?: string; + readonly id?: string; } // @public @@ -9120,7 +8765,6 @@ export interface ExpressRouteConnectionProperties { enablePrivateLinkFastPath?: boolean; expressRouteCircuitPeering: ExpressRouteCircuitPeeringId; expressRouteGatewayBypass?: boolean; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routingConfiguration?: RoutingConfiguration; routingWeight?: number; } @@ -9132,7 +8776,7 @@ export interface ExpressRouteConnectionPropertiesOutput { enablePrivateLinkFastPath?: boolean; expressRouteCircuitPeering: ExpressRouteCircuitPeeringIdOutput; expressRouteGatewayBypass?: boolean; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routingConfiguration?: RoutingConfigurationOutput; routingWeight?: number; } @@ -9194,24 +8838,18 @@ export interface ExpressRouteConnectionsCreateOrUpdateQueryParamProperties { // @public export interface ExpressRouteConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRouteConnectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRouteConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -9305,55 +8943,48 @@ export interface ExpressRouteConnectionsListQueryParamProperties { // @public export interface ExpressRouteCrossConnection extends Resource { - etag?: string; properties?: ExpressRouteCrossConnectionProperties; } // @public export interface ExpressRouteCrossConnectionListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface ExpressRouteCrossConnectionOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: ExpressRouteCrossConnectionPropertiesOutput; } // @public export interface ExpressRouteCrossConnectionPeering extends SubResource { - etag?: string; name?: string; properties?: ExpressRouteCrossConnectionPeeringProperties; } // @public export interface ExpressRouteCrossConnectionPeeringListOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface ExpressRouteCrossConnectionPeeringOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ExpressRouteCrossConnectionPeeringPropertiesOutput; } // @public export interface ExpressRouteCrossConnectionPeeringProperties { - azureASN?: number; gatewayManagerEtag?: string; ipv6PeeringConfig?: Ipv6ExpressRouteCircuitPeeringConfig; - lastModifiedBy?: string; microsoftPeeringConfig?: ExpressRouteCircuitPeeringConfig; peerASN?: number; peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; - primaryAzurePort?: string; primaryPeerAddressPrefix?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - secondaryAzurePort?: string; secondaryPeerAddressPrefix?: string; sharedKey?: string; state?: "Disabled" | "Enabled"; @@ -9362,17 +8993,17 @@ export interface ExpressRouteCrossConnectionPeeringProperties { // @public export interface ExpressRouteCrossConnectionPeeringPropertiesOutput { - azureASN?: number; + readonly azureASN?: number; gatewayManagerEtag?: string; ipv6PeeringConfig?: Ipv6ExpressRouteCircuitPeeringConfigOutput; - lastModifiedBy?: string; + readonly lastModifiedBy?: string; microsoftPeeringConfig?: ExpressRouteCircuitPeeringConfigOutput; peerASN?: number; peeringType?: "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"; - primaryAzurePort?: string; + readonly primaryAzurePort?: string; primaryPeerAddressPrefix?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - secondaryAzurePort?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly secondaryAzurePort?: string; secondaryPeerAddressPrefix?: string; sharedKey?: string; state?: "Disabled" | "Enabled"; @@ -9436,24 +9067,18 @@ export interface ExpressRouteCrossConnectionPeeringsDelete { // @public export interface ExpressRouteCrossConnectionPeeringsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRouteCrossConnectionPeeringsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRouteCrossConnectionPeeringsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -9547,30 +9172,24 @@ export interface ExpressRouteCrossConnectionPeeringsListQueryParamProperties { // @public export interface ExpressRouteCrossConnectionProperties { - bandwidthInMbps?: number; expressRouteCircuit?: ExpressRouteCircuitReference; - peeringLocation?: string; peerings?: Array; - primaryAzurePort?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - secondaryAzurePort?: string; serviceProviderNotes?: string; serviceProviderProvisioningState?: "NotProvisioned" | "Provisioning" | "Provisioned" | "Deprovisioning"; - sTag?: number; } // @public export interface ExpressRouteCrossConnectionPropertiesOutput { - bandwidthInMbps?: number; + readonly bandwidthInMbps?: number; expressRouteCircuit?: ExpressRouteCircuitReferenceOutput; - peeringLocation?: string; + readonly peeringLocation?: string; peerings?: Array; - primaryAzurePort?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - secondaryAzurePort?: string; + readonly primaryAzurePort?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly secondaryAzurePort?: string; serviceProviderNotes?: string; serviceProviderProvisioningState?: "NotProvisioned" | "Provisioning" | "Provisioned" | "Deprovisioning"; - sTag?: number; + readonly sTag?: number; } // @public @@ -9686,8 +9305,6 @@ export interface ExpressRouteCrossConnectionsListArpTable200Response extends Htt // @public export interface ExpressRouteCrossConnectionsListArpTable202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -9786,8 +9403,6 @@ export interface ExpressRouteCrossConnectionsListRoutesTable200Response extends // @public export interface ExpressRouteCrossConnectionsListRoutesTable202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -9829,8 +9444,6 @@ export interface ExpressRouteCrossConnectionsListRoutesTableSummary200Response e // @public export interface ExpressRouteCrossConnectionsListRoutesTableSummary202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -9859,7 +9472,7 @@ export interface ExpressRouteCrossConnectionsListRoutesTableSummaryQueryParamPro // @public export interface ExpressRouteCrossConnectionsRoutesTableSummaryListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -9905,7 +9518,6 @@ export interface ExpressRouteCrossConnectionsUpdateTagsQueryParamProperties { // @public export interface ExpressRouteGateway extends Resource { - etag?: string; properties?: ExpressRouteGatewayProperties; } @@ -9916,7 +9528,7 @@ export interface ExpressRouteGatewayListOutput { // @public export interface ExpressRouteGatewayOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: ExpressRouteGatewayPropertiesOutput; } @@ -9924,7 +9536,6 @@ export interface ExpressRouteGatewayOutput extends ResourceOutput { export interface ExpressRouteGatewayProperties { autoScaleConfiguration?: ExpressRouteGatewayPropertiesAutoScaleConfiguration; expressRouteConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualHub: VirtualHubId; } @@ -9954,7 +9565,7 @@ export interface ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput { export interface ExpressRouteGatewayPropertiesOutput { autoScaleConfiguration?: ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput; expressRouteConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualHub: VirtualHubIdOutput; } @@ -10016,24 +9627,18 @@ export interface ExpressRouteGatewaysCreateOrUpdateQueryParamProperties { // @public export interface ExpressRouteGatewaysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRouteGatewaysDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRouteGatewaysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -10170,8 +9775,6 @@ export interface ExpressRouteGatewaysUpdateTags200Response extends HttpResponse // @public export interface ExpressRouteGatewaysUpdateTags202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -10210,7 +9813,6 @@ export interface ExpressRouteGatewaysUpdateTagsQueryParamProperties { // @public export interface ExpressRouteLink extends SubResource { - etag?: string; name?: string; properties?: ExpressRouteLinkPropertiesFormat; } @@ -10239,7 +9841,7 @@ export interface ExpressRouteLinkMacSecConfigOutput { // @public export interface ExpressRouteLinkOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ExpressRouteLinkPropertiesFormatOutput; } @@ -10247,27 +9849,20 @@ export interface ExpressRouteLinkOutput extends SubResourceOutput { // @public export interface ExpressRouteLinkPropertiesFormat { adminState?: "Enabled" | "Disabled"; - coloLocation?: string; - connectorType?: "LC" | "SC"; - interfaceName?: string; macSecConfig?: ExpressRouteLinkMacSecConfig; - patchPanelId?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - rackId?: string; - routerName?: string; } // @public export interface ExpressRouteLinkPropertiesFormatOutput { adminState?: "Enabled" | "Disabled"; - coloLocation?: string; - connectorType?: "LC" | "SC"; - interfaceName?: string; + readonly coloLocation?: string; + readonly connectorType?: "LC" | "SC"; + readonly interfaceName?: string; macSecConfig?: ExpressRouteLinkMacSecConfigOutput; - patchPanelId?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - rackId?: string; - routerName?: string; + readonly patchPanelId?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly rackId?: string; + readonly routerName?: string; } // @public (undocumented) @@ -10342,17 +9937,14 @@ export interface ExpressRouteLinksListQueryParamProperties { // @public export interface ExpressRoutePort extends Resource { - etag?: string; identity?: ManagedServiceIdentity; properties?: ExpressRoutePortPropertiesFormat; } // @public export interface ExpressRoutePortAuthorization extends SubResource { - etag?: string; name?: string; properties?: ExpressRoutePortAuthorizationPropertiesFormat; - type?: string; } // @public @@ -10363,26 +9955,22 @@ export interface ExpressRoutePortAuthorizationListResultOutput { // @public export interface ExpressRoutePortAuthorizationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ExpressRoutePortAuthorizationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ExpressRoutePortAuthorizationPropertiesFormat { - authorizationKey?: string; - authorizationUseStatus?: "Available" | "InUse"; - circuitResourceUri?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ExpressRoutePortAuthorizationPropertiesFormatOutput { - authorizationKey?: string; - authorizationUseStatus?: "Available" | "InUse"; - circuitResourceUri?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly authorizationKey?: string; + readonly authorizationUseStatus?: "Available" | "InUse"; + readonly circuitResourceUri?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -10442,24 +10030,18 @@ export interface ExpressRoutePortAuthorizationsDelete { // @public export interface ExpressRoutePortAuthorizationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRoutePortAuthorizationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRoutePortAuthorizationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -10559,41 +10141,34 @@ export interface ExpressRoutePortListResultOutput { // @public export interface ExpressRoutePortOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; identity?: ManagedServiceIdentityOutput; properties?: ExpressRoutePortPropertiesFormatOutput; } // @public export interface ExpressRoutePortPropertiesFormat { - allocationDate?: string; bandwidthInGbps?: number; billingType?: "MeteredData" | "UnlimitedData"; - circuits?: Array; encapsulation?: "Dot1Q" | "QinQ"; - etherType?: string; links?: Array; - mtu?: string; peeringLocation?: string; - provisionedBandwidthInGbps?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; } // @public export interface ExpressRoutePortPropertiesFormatOutput { - allocationDate?: string; + readonly allocationDate?: string; bandwidthInGbps?: number; billingType?: "MeteredData" | "UnlimitedData"; - circuits?: Array; + readonly circuits?: Array; encapsulation?: "Dot1Q" | "QinQ"; - etherType?: string; + readonly etherType?: string; links?: Array; - mtu?: string; + readonly mtu?: string; peeringLocation?: string; - provisionedBandwidthInGbps?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisionedBandwidthInGbps?: number; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; } // @public @@ -10654,24 +10229,18 @@ export interface ExpressRoutePortsDelete { // @public export interface ExpressRoutePortsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ExpressRoutePortsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ExpressRoutePortsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -10850,14 +10419,12 @@ export interface ExpressRoutePortsLocation extends Resource { // @public export interface ExpressRoutePortsLocationBandwidths { - offerName?: string; - valueInGbps?: number; } // @public export interface ExpressRoutePortsLocationBandwidthsOutput { - offerName?: string; - valueInGbps?: number; + readonly offerName?: string; + readonly valueInGbps?: number; } // @public @@ -10873,18 +10440,15 @@ export interface ExpressRoutePortsLocationOutput extends ResourceOutput { // @public export interface ExpressRoutePortsLocationPropertiesFormat { - address?: string; availableBandwidths?: Array; - contact?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ExpressRoutePortsLocationPropertiesFormatOutput { - address?: string; + readonly address?: string; availableBandwidths?: Array; - contact?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly contact?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -10997,33 +10561,48 @@ export interface ExpressRoutePortsUpdateTagsQueryParamProperties { "api-version": "2022-05-01"; } +// @public (undocumented) +export interface ExpressRouteProviderPort { + get(options: ExpressRouteProviderPortParameters): StreamableMethod; +} + // @public -export interface ExpressRouteProviderPort extends Resource { - etag?: string; - properties?: ExpressRouteProviderPortProperties; +export interface ExpressRouteProviderPort200Response extends HttpResponse { + // (undocumented) + body: ExpressRouteProviderPortOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface ExpressRouteProviderPortDefaultResponse extends HttpResponse { + // (undocumented) + body: CloudErrorOutput; + // (undocumented) + status: string; } // @public export interface ExpressRouteProviderPortListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface ExpressRouteProviderPortOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: ExpressRouteProviderPortPropertiesOutput; } +// @public (undocumented) +export type ExpressRouteProviderPortParameters = ExpressRouteProviderPortQueryParam & RequestParameters; + // @public export interface ExpressRouteProviderPortProperties { overprovisionFactor?: number; peeringLocation?: string; portBandwidthInMbps?: number; - portPairDescriptor?: string; - primaryAzurePort?: string; remainingBandwidthInMbps?: number; - secondaryAzurePort?: string; usedBandwidthInMbps?: number; } @@ -11032,45 +10611,21 @@ export interface ExpressRouteProviderPortPropertiesOutput { overprovisionFactor?: number; peeringLocation?: string; portBandwidthInMbps?: number; - portPairDescriptor?: string; - primaryAzurePort?: string; + readonly portPairDescriptor?: string; + readonly primaryAzurePort?: string; remainingBandwidthInMbps?: number; - secondaryAzurePort?: string; + readonly secondaryAzurePort?: string; usedBandwidthInMbps?: number; } // @public (undocumented) -export interface ExpressRouteProviderPortsGet { - get(options: ExpressRouteProviderPortsGetParameters): StreamableMethod; -} - -// @public -export interface ExpressRouteProviderPortsGet200Response extends HttpResponse { - // (undocumented) - body: ExpressRouteProviderPortOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface ExpressRouteProviderPortsGetDefaultResponse extends HttpResponse { - // (undocumented) - body: CloudErrorOutput; - // (undocumented) - status: string; -} - -// @public (undocumented) -export type ExpressRouteProviderPortsGetParameters = ExpressRouteProviderPortsGetQueryParam & RequestParameters; - -// @public (undocumented) -export interface ExpressRouteProviderPortsGetQueryParam { +export interface ExpressRouteProviderPortQueryParam { // (undocumented) - queryParameters: ExpressRouteProviderPortsGetQueryParamProperties; + queryParameters: ExpressRouteProviderPortQueryParamProperties; } // @public (undocumented) -export interface ExpressRouteProviderPortsGetQueryParamProperties { +export interface ExpressRouteProviderPortQueryParamProperties { "api-version": "2022-05-01"; } @@ -11142,14 +10697,13 @@ export interface ExpressRouteServiceProviderOutput extends ResourceOutput { export interface ExpressRouteServiceProviderPropertiesFormat { bandwidthsOffered?: Array; peeringLocations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ExpressRouteServiceProviderPropertiesFormatOutput { bandwidthsOffered?: Array; peeringLocations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -11263,24 +10817,18 @@ export interface FirewallPoliciesDelete { // @public export interface FirewallPoliciesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface FirewallPoliciesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface FirewallPoliciesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -11450,7 +10998,6 @@ export interface FirewallPoliciesUpdateTagsQueryParamProperties { // @public export interface FirewallPolicy extends Resource { - etag?: string; identity?: ManagedServiceIdentity; properties?: FirewallPolicyPropertiesFormat; } @@ -11871,7 +11418,7 @@ export interface FirewallPolicyNatRuleCollectionOutput extends FirewallPolicyRul // @public export interface FirewallPolicyOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; identity?: ManagedServiceIdentityOutput; properties?: FirewallPolicyPropertiesFormatOutput; } @@ -11879,14 +11426,10 @@ export interface FirewallPolicyOutput extends ResourceOutput { // @public export interface FirewallPolicyPropertiesFormat { basePolicy?: SubResource; - childPolicies?: Array; dnsSettings?: DnsSettings; explicitProxy?: ExplicitProxy; - firewalls?: Array; insights?: FirewallPolicyInsights; intrusionDetection?: FirewallPolicyIntrusionDetection; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - ruleCollectionGroups?: Array; sku?: FirewallPolicySku; snat?: FirewallPolicySnat; sql?: FirewallPolicySQL; @@ -11898,14 +11441,14 @@ export interface FirewallPolicyPropertiesFormat { // @public export interface FirewallPolicyPropertiesFormatOutput { basePolicy?: SubResourceOutput; - childPolicies?: Array; + readonly childPolicies?: Array; dnsSettings?: DnsSettingsOutput; explicitProxy?: ExplicitProxyOutput; - firewalls?: Array; + readonly firewalls?: Array; insights?: FirewallPolicyInsightsOutput; intrusionDetection?: FirewallPolicyIntrusionDetectionOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - ruleCollectionGroups?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly ruleCollectionGroups?: Array; sku?: FirewallPolicySkuOutput; snat?: FirewallPolicySnatOutput; sql?: FirewallPolicySQLOutput; @@ -11934,10 +11477,8 @@ export type FirewallPolicyRuleCollection = FirewallPolicyNatRuleCollection | Fir // @public export interface FirewallPolicyRuleCollectionGroup extends SubResource { - etag?: string; name?: string; properties?: FirewallPolicyRuleCollectionGroupProperties; - type?: string; } // @public @@ -11948,23 +11489,22 @@ export interface FirewallPolicyRuleCollectionGroupListResultOutput { // @public export interface FirewallPolicyRuleCollectionGroupOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: FirewallPolicyRuleCollectionGroupPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface FirewallPolicyRuleCollectionGroupProperties { priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; ruleCollections?: Array; } // @public export interface FirewallPolicyRuleCollectionGroupPropertiesOutput { priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; ruleCollections?: Array; } @@ -12025,24 +11565,18 @@ export interface FirewallPolicyRuleCollectionGroupsDelete { // @public export interface FirewallPolicyRuleCollectionGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface FirewallPolicyRuleCollectionGroupsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface FirewallPolicyRuleCollectionGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -12228,7 +11762,6 @@ export interface FirewallPolicyTransportSecurityOutput { // @public export interface FlowLog extends Resource { - etag?: string; properties?: FlowLogPropertiesFormat; } @@ -12260,13 +11793,13 @@ export interface FlowLogInformationOutput { // @public export interface FlowLogListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface FlowLogOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: FlowLogPropertiesFormatOutput; } @@ -12283,10 +11816,8 @@ export interface FlowLogPropertiesFormat { enabled?: boolean; flowAnalyticsConfiguration?: TrafficAnalyticsProperties; format?: FlowLogFormatParameters; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; retentionPolicy?: RetentionPolicyParameters; storageId: string; - targetResourceGuid?: string; targetResourceId: string; } @@ -12295,10 +11826,10 @@ export interface FlowLogPropertiesFormatOutput { enabled?: boolean; flowAnalyticsConfiguration?: TrafficAnalyticsPropertiesOutput; format?: FlowLogFormatParametersOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; retentionPolicy?: RetentionPolicyParametersOutput; storageId: string; - targetResourceGuid?: string; + readonly targetResourceGuid?: string; targetResourceId: string; } @@ -12368,16 +11899,12 @@ export interface FlowLogsCreateOrUpdateQueryParamProperties { // @public export interface FlowLogsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface FlowLogsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -12516,33 +12043,26 @@ export interface FlowLogsUpdateTagsQueryParamProperties { // @public export interface FrontendIPConfiguration extends SubResource { - etag?: string; name?: string; properties?: FrontendIPConfigurationPropertiesFormat; - type?: string; zones?: Array; } // @public export interface FrontendIPConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: FrontendIPConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; zones?: Array; } // @public export interface FrontendIPConfigurationPropertiesFormat { gatewayLoadBalancer?: SubResource; - inboundNatPools?: Array; - inboundNatRules?: Array; - loadBalancingRules?: Array; - outboundRules?: Array; privateIPAddress?: string; privateIPAddressVersion?: "IPv4" | "IPv6"; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: PublicIPAddress; publicIPPrefix?: SubResource; subnet?: Subnet; @@ -12551,14 +12071,14 @@ export interface FrontendIPConfigurationPropertiesFormat { // @public export interface FrontendIPConfigurationPropertiesFormatOutput { gatewayLoadBalancer?: SubResourceOutput; - inboundNatPools?: Array; - inboundNatRules?: Array; - loadBalancingRules?: Array; - outboundRules?: Array; + readonly inboundNatPools?: Array; + readonly inboundNatRules?: Array; + readonly loadBalancingRules?: Array; + readonly outboundRules?: Array; privateIPAddress?: string; privateIPAddressVersion?: "IPv4" | "IPv6"; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: PublicIPAddressOutput; publicIPPrefix?: SubResourceOutput; subnet?: SubnetOutput; @@ -12599,13 +12119,13 @@ export interface GatewayRouteListResultOutput { // @public export interface GatewayRouteOutput { - asPath?: string; - localAddress?: string; - network?: string; - nextHop?: string; - origin?: string; - sourcePeer?: string; - weight?: number; + readonly asPath?: string; + readonly localAddress?: string; + readonly network?: string; + readonly nextHop?: string; + readonly origin?: string; + readonly sourcePeer?: string; + readonly weight?: number; } // @public @@ -12633,8 +12153,6 @@ export interface Generatevirtualwanvpnserverconfigurationvpnprofile200Response e // @public export interface Generatevirtualwanvpnserverconfigurationvpnprofile202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -12686,8 +12204,6 @@ export interface GetActiveSessions200Response extends HttpResponse { // @public export interface GetActiveSessions202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -12769,7 +12285,7 @@ export interface GetInboundRoutesParameters { } // @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; +export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public export interface GetOutboundRoutesParameters { @@ -12778,7 +12294,7 @@ export interface GetOutboundRoutesParameters { } // @public -export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; @@ -12791,19 +12307,19 @@ export interface GetVpnSitesConfigurationRequest { // @public export interface HopLinkOutput { - context?: Record; - issues?: Array; - linkType?: string; - nextHopId?: string; + readonly context?: Record; + readonly issues?: Array; + readonly linkType?: string; + readonly nextHopId?: string; properties?: HopLinkPropertiesOutput; - resourceId?: string; + readonly resourceId?: string; } // @public export interface HopLinkPropertiesOutput { - roundTripTimeAvg?: number; - roundTripTimeMax?: number; - roundTripTimeMin?: number; + readonly roundTripTimeAvg?: number; + readonly roundTripTimeMax?: number; + readonly roundTripTimeMin?: number; } // @public @@ -12845,25 +12361,22 @@ export interface HubIPAddressesOutput { // @public export interface HubIpConfiguration extends SubResource { - etag?: string; name?: string; properties?: HubIPConfigurationPropertiesFormat; - type?: string; } // @public export interface HubIpConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: HubIPConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface HubIPConfigurationPropertiesFormat { privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: PublicIPAddress; subnet?: Subnet; } @@ -12872,7 +12385,7 @@ export interface HubIPConfigurationPropertiesFormat { export interface HubIPConfigurationPropertiesFormatOutput { privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: PublicIPAddressOutput; subnet?: SubnetOutput; } @@ -12915,35 +12428,30 @@ export interface HubRouteOutput { // @public export interface HubRouteTable extends SubResource { - etag?: string; name?: string; properties?: HubRouteTableProperties; - type?: string; } // @public export interface HubRouteTableOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: HubRouteTablePropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface HubRouteTableProperties { - associatedConnections?: Array; labels?: Array; - propagatingConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routes?: Array; } // @public export interface HubRouteTablePropertiesOutput { - associatedConnections?: Array; + readonly associatedConnections?: Array; labels?: Array; - propagatingConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly propagatingConnections?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routes?: Array; } @@ -13004,24 +12512,18 @@ export interface HubRouteTablesCreateOrUpdateQueryParamProperties { // @public export interface HubRouteTablesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface HubRouteTablesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface HubRouteTablesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -13115,14 +12617,13 @@ export interface HubRouteTablesListQueryParamProperties { // @public export interface HubVirtualNetworkConnection extends SubResource { - etag?: string; name?: string; properties?: HubVirtualNetworkConnectionProperties; } // @public export interface HubVirtualNetworkConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: HubVirtualNetworkConnectionPropertiesOutput; } @@ -13132,7 +12633,6 @@ export interface HubVirtualNetworkConnectionProperties { allowHubToRemoteVnetTransit?: boolean; allowRemoteVnetToUseHubVnetGateways?: boolean; enableInternetSecurity?: boolean; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; remoteVirtualNetwork?: SubResource; routingConfiguration?: RoutingConfiguration; } @@ -13142,7 +12642,7 @@ export interface HubVirtualNetworkConnectionPropertiesOutput { allowHubToRemoteVnetTransit?: boolean; allowRemoteVnetToUseHubVnetGateways?: boolean; enableInternetSecurity?: boolean; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; remoteVirtualNetwork?: SubResourceOutput; routingConfiguration?: RoutingConfigurationOutput; } @@ -13204,24 +12704,18 @@ export interface HubVirtualNetworkConnectionsCreateOrUpdateQueryParamProperties // @public export interface HubVirtualNetworkConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface HubVirtualNetworkConnectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface HubVirtualNetworkConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -13324,18 +12818,16 @@ export interface IdpsQueryObject { // @public export interface InboundNatPool extends SubResource { - etag?: string; name?: string; properties?: InboundNatPoolPropertiesFormat; - type?: string; } // @public export interface InboundNatPoolOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: InboundNatPoolPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -13348,7 +12840,6 @@ export interface InboundNatPoolPropertiesFormat { frontendPortRangeStart: number; idleTimeoutInMinutes?: number; protocol: "Udp" | "Tcp" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -13361,43 +12852,40 @@ export interface InboundNatPoolPropertiesFormatOutput { frontendPortRangeStart: number; idleTimeoutInMinutes?: number; protocol: "Udp" | "Tcp" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface InboundNatRule extends SubResource { - etag?: string; name?: string; properties?: InboundNatRulePropertiesFormat; - type?: string; } // @public export interface InboundNatRuleListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface InboundNatRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: InboundNatRulePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface InboundNatRulePortMappingOutput { - backendPort?: number; - frontendPort?: number; - inboundNatRuleName?: string; - protocol?: "Udp" | "Tcp" | "All"; + readonly backendPort?: number; + readonly frontendPort?: number; + readonly inboundNatRuleName?: string; + readonly protocol?: "Udp" | "Tcp" | "All"; } // @public export interface InboundNatRulePropertiesFormat { backendAddressPool?: SubResource; - backendIPConfiguration?: NetworkInterfaceIPConfiguration; backendPort?: number; enableFloatingIP?: boolean; enableTcpReset?: boolean; @@ -13407,13 +12895,12 @@ export interface InboundNatRulePropertiesFormat { frontendPortRangeStart?: number; idleTimeoutInMinutes?: number; protocol?: "Udp" | "Tcp" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface InboundNatRulePropertiesFormatOutput { backendAddressPool?: SubResourceOutput; - backendIPConfiguration?: NetworkInterfaceIPConfigurationOutput; + readonly backendIPConfiguration?: NetworkInterfaceIPConfigurationOutput; backendPort?: number; enableFloatingIP?: boolean; enableTcpReset?: boolean; @@ -13423,7 +12910,7 @@ export interface InboundNatRulePropertiesFormatOutput { frontendPortRangeStart?: number; idleTimeoutInMinutes?: number; protocol?: "Udp" | "Tcp" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -13483,24 +12970,18 @@ export interface InboundNatRulesDelete { // @public export interface InboundNatRulesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface InboundNatRulesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface InboundNatRulesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -13595,10 +13076,8 @@ export interface InboundNatRulesListQueryParamProperties { // @public export interface InboundSecurityRule extends SubResource { - etag?: string; name?: string; properties?: InboundSecurityRuleProperties; - type?: string; } // @public (undocumented) @@ -13656,21 +13135,20 @@ export interface InboundSecurityRuleCreateOrUpdateQueryParamProperties { // @public export interface InboundSecurityRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: InboundSecurityRulePropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface InboundSecurityRuleProperties { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } // @public export interface InboundSecurityRulePropertiesOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -13697,7 +13175,6 @@ export interface IPAddressAvailabilityResultOutput { // @public export interface IpAllocation extends Resource { - etag?: string; properties?: IpAllocationPropertiesFormat; } @@ -13709,7 +13186,7 @@ export interface IpAllocationListResultOutput { // @public export interface IpAllocationOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: IpAllocationPropertiesFormatOutput; } @@ -13720,9 +13197,7 @@ export interface IpAllocationPropertiesFormat { prefix?: string; prefixLength?: number; prefixType?: "IPv4" | "IPv6"; - subnet?: SubResource; type?: "Undefined" | "Hypernet"; - virtualNetwork?: SubResource; } // @public @@ -13732,9 +13207,9 @@ export interface IpAllocationPropertiesFormatOutput { prefix?: string; prefixLength?: number; prefixType?: "IPv4" | "IPv6"; - subnet?: SubResourceOutput; + readonly subnet?: SubResourceOutput; type?: "Undefined" | "Hypernet"; - virtualNetwork?: SubResourceOutput; + readonly virtualNetwork?: SubResourceOutput; } // @public @@ -13795,24 +13270,18 @@ export interface IpAllocationsDelete { // @public export interface IpAllocationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface IpAllocationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface IpAllocationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -13982,7 +13451,6 @@ export interface IpAllocationsUpdateTagsQueryParamProperties { // @public export interface IPConfiguration extends SubResource { - etag?: string; name?: string; properties?: IPConfigurationPropertiesFormat; } @@ -13990,51 +13458,46 @@ export interface IPConfiguration extends SubResource { // @public export interface IPConfigurationBgpPeeringAddress { customBgpIpAddresses?: Array; - defaultBgpIpAddresses?: Array; ipconfigurationId?: string; - tunnelIpAddresses?: Array; } // @public export interface IPConfigurationBgpPeeringAddressOutput { customBgpIpAddresses?: Array; - defaultBgpIpAddresses?: Array; + readonly defaultBgpIpAddresses?: Array; ipconfigurationId?: string; - tunnelIpAddresses?: Array; + readonly tunnelIpAddresses?: Array; } // @public export interface IPConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: IPConfigurationPropertiesFormatOutput; } // @public export interface IPConfigurationProfile extends SubResource { - etag?: string; name?: string; properties?: IPConfigurationProfilePropertiesFormat; - type?: string; } // @public export interface IPConfigurationProfileOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: IPConfigurationProfilePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface IPConfigurationProfilePropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: Subnet; } // @public export interface IPConfigurationProfilePropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: SubnetOutput; } @@ -14042,7 +13505,6 @@ export interface IPConfigurationProfilePropertiesFormatOutput { export interface IPConfigurationPropertiesFormat { privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: PublicIPAddress; subnet?: Subnet; } @@ -14051,14 +13513,13 @@ export interface IPConfigurationPropertiesFormat { export interface IPConfigurationPropertiesFormatOutput { privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: PublicIPAddressOutput; subnet?: SubnetOutput; } // @public export interface IpGroup extends Resource { - etag?: string; properties?: IpGroupPropertiesFormat; } @@ -14070,24 +13531,21 @@ export interface IpGroupListResultOutput { // @public export interface IpGroupOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: IpGroupPropertiesFormatOutput; } // @public export interface IpGroupPropertiesFormat { - firewallPolicies?: Array; - firewalls?: Array; ipAddresses?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface IpGroupPropertiesFormatOutput { - firewallPolicies?: Array; - firewalls?: Array; + readonly firewallPolicies?: Array; + readonly firewalls?: Array; ipAddresses?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -14140,24 +13598,18 @@ export interface IpGroupsCreateOrUpdateQueryParamProperties { // @public export interface IpGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface IpGroupsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface IpGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -14377,13 +13829,12 @@ export interface IpTagOutput { // @public export interface Ipv6CircuitConnectionConfig { addressPrefix?: string; - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; } // @public export interface Ipv6CircuitConnectionConfigOutput { addressPrefix?: string; - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; + readonly circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; } // @public @@ -14572,6 +14023,9 @@ export function isUnexpected(response: DisconnectActiveSessions200Response | Dis // @public (undocumented) export function isUnexpected(response: CheckDnsNameAvailability200Response | CheckDnsNameAvailabilityDefaultResponse): response is CheckDnsNameAvailabilityDefaultResponse; +// @public (undocumented) +export function isUnexpected(response: ExpressRouteProviderPort200Response | ExpressRouteProviderPortDefaultResponse): response is ExpressRouteProviderPortDefaultResponse; + // @public (undocumented) export function isUnexpected(response: ListActiveConnectivityConfigurations200Response | ListActiveConnectivityConfigurationsDefaultResponse): response is ListActiveConnectivityConfigurationsDefaultResponse; @@ -14905,9 +14359,6 @@ export function isUnexpected(response: ExpressRoutePortAuthorizationsList200Resp // @public (undocumented) export function isUnexpected(response: ExpressRouteProviderPortsLocationList200Response | ExpressRouteProviderPortsLocationListDefaultResponse): response is ExpressRouteProviderPortsLocationListDefaultResponse; -// @public (undocumented) -export function isUnexpected(response: ExpressRouteProviderPortsGet200Response | ExpressRouteProviderPortsGetDefaultResponse): response is ExpressRouteProviderPortsGetDefaultResponse; - // @public (undocumented) export function isUnexpected(response: FirewallPoliciesDelete200Response | FirewallPoliciesDelete202Response | FirewallPoliciesDelete204Response | FirewallPoliciesDeleteDefaultResponse): response is FirewallPoliciesDeleteDefaultResponse; @@ -16543,7 +15994,6 @@ export interface ListVpnSitesResultOutput { // @public export interface LoadBalancer extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties?: LoadBalancerPropertiesFormat; sku?: LoadBalancerSku; @@ -16563,7 +16013,7 @@ export interface LoadBalancerBackendAddressOutput { // @public export interface LoadBalancerBackendAddressPoolListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -16617,24 +16067,18 @@ export interface LoadBalancerBackendAddressPoolsCreateOrUpdateQueryParamProperti // @public export interface LoadBalancerBackendAddressPoolsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface LoadBalancerBackendAddressPoolsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface LoadBalancerBackendAddressPoolsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -16736,10 +16180,8 @@ export interface LoadBalancerBackendAddressPoolsListQueryParamProperties { // @public export interface LoadBalancerBackendAddressPropertiesFormat { adminState?: "None" | "Up" | "Down" | "Drain"; - inboundNatRulesPortMapping?: Array; ipAddress?: string; loadBalancerFrontendIPConfiguration?: SubResource; - networkInterfaceIPConfiguration?: SubResource; subnet?: SubResource; virtualNetwork?: SubResource; } @@ -16747,17 +16189,17 @@ export interface LoadBalancerBackendAddressPropertiesFormat { // @public export interface LoadBalancerBackendAddressPropertiesFormatOutput { adminState?: "None" | "Up" | "Down" | "Drain"; - inboundNatRulesPortMapping?: Array; + readonly inboundNatRulesPortMapping?: Array; ipAddress?: string; loadBalancerFrontendIPConfiguration?: SubResourceOutput; - networkInterfaceIPConfiguration?: SubResourceOutput; + readonly networkInterfaceIPConfiguration?: SubResourceOutput; subnet?: SubResourceOutput; virtualNetwork?: SubResourceOutput; } // @public export interface LoadBalancerFrontendIPConfigurationListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -16833,13 +16275,13 @@ export interface LoadBalancerFrontendIPConfigurationsListQueryParamProperties { // @public export interface LoadBalancerListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface LoadBalancerLoadBalancingRuleListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -16950,7 +16392,7 @@ export interface LoadBalancerNetworkInterfacesListQueryParamProperties { // @public export interface LoadBalancerOutboundRuleListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -17026,7 +16468,7 @@ export interface LoadBalancerOutboundRulesListQueryParamProperties { // @public export interface LoadBalancerOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties?: LoadBalancerPropertiesFormatOutput; sku?: LoadBalancerSkuOutput; @@ -17034,7 +16476,7 @@ export interface LoadBalancerOutput extends ResourceOutput { // @public export interface LoadBalancerProbeListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -17117,8 +16559,6 @@ export interface LoadBalancerPropertiesFormat { loadBalancingRules?: Array; outboundRules?: Array; probes?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; } // @public @@ -17130,8 +16570,8 @@ export interface LoadBalancerPropertiesFormatOutput { loadBalancingRules?: Array; outboundRules?: Array; probes?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; } // @public @@ -17192,24 +16632,18 @@ export interface LoadBalancersDelete { // @public export interface LoadBalancersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface LoadBalancersDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface LoadBalancersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -17409,16 +16843,12 @@ export interface LoadBalancersSwapPublicIpAddresses { // @public export interface LoadBalancersSwapPublicIpAddresses200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface LoadBalancersSwapPublicIpAddresses202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17513,18 +16943,16 @@ export interface LoadBalancerVipSwapRequestFrontendIPConfigurationProperties { // @public export interface LoadBalancingRule extends SubResource { - etag?: string; name?: string; properties?: LoadBalancingRulePropertiesFormat; - type?: string; } // @public export interface LoadBalancingRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: LoadBalancingRulePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -17541,7 +16969,6 @@ export interface LoadBalancingRulePropertiesFormat { loadDistribution?: "Default" | "SourceIP" | "SourceIPProtocol"; probe?: SubResource; protocol: "Udp" | "Tcp" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -17558,24 +16985,23 @@ export interface LoadBalancingRulePropertiesFormatOutput { loadDistribution?: "Default" | "SourceIP" | "SourceIPProtocol"; probe?: SubResourceOutput; protocol: "Udp" | "Tcp" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface LocalNetworkGateway extends Resource { - etag?: string; properties: LocalNetworkGatewayPropertiesFormat; } // @public export interface LocalNetworkGatewayListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface LocalNetworkGatewayOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties: LocalNetworkGatewayPropertiesFormatOutput; } @@ -17585,8 +17011,6 @@ export interface LocalNetworkGatewayPropertiesFormat { fqdn?: string; gatewayIpAddress?: string; localNetworkAddressSpace?: AddressSpace; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; } // @public @@ -17595,8 +17019,8 @@ export interface LocalNetworkGatewayPropertiesFormatOutput { fqdn?: string; gatewayIpAddress?: string; localNetworkAddressSpace?: AddressSpaceOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; } // @public (undocumented) @@ -17657,24 +17081,18 @@ export interface LocalNetworkGatewaysCreateOrUpdateQueryParamProperties { // @public export interface LocalNetworkGatewaysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface LocalNetworkGatewaysDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface LocalNetworkGatewaysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -17867,16 +17285,14 @@ export interface ManagedRuleSetOutput { // @public export interface ManagedServiceIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface ManagedServiceIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } @@ -17938,16 +17354,12 @@ export interface ManagementGroupNetworkManagerConnectionsCreateOrUpdateQueryPara // @public export interface ManagementGroupNetworkManagerConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ManagementGroupNetworkManagerConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -18097,7 +17509,6 @@ export interface MetricSpecificationOutput { // @public export interface NatGateway extends Resource { - etag?: string; properties?: NatGatewayPropertiesFormat; sku?: NatGatewaySku; zones?: Array; @@ -18111,7 +17522,7 @@ export interface NatGatewayListResultOutput { // @public export interface NatGatewayOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: NatGatewayPropertiesFormatOutput; sku?: NatGatewaySkuOutput; zones?: Array; @@ -18120,21 +17531,18 @@ export interface NatGatewayOutput extends ResourceOutput { // @public export interface NatGatewayPropertiesFormat { idleTimeoutInMinutes?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIpAddresses?: Array; publicIpPrefixes?: Array; - resourceGuid?: string; - subnets?: Array; } // @public export interface NatGatewayPropertiesFormatOutput { idleTimeoutInMinutes?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIpAddresses?: Array; publicIpPrefixes?: Array; - resourceGuid?: string; - subnets?: Array; + readonly resourceGuid?: string; + readonly subnets?: Array; } // @public @@ -18155,8 +17563,6 @@ export interface NatGatewaysCreateOrUpdate201Response extends HttpResponse { // @public export interface NatGatewaysCreateOrUpdate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -18203,24 +17609,18 @@ export interface NatGatewaysDelete { // @public export interface NatGatewaysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface NatGatewaysDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface NatGatewaysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -18490,24 +17890,18 @@ export interface NatRulesCreateOrUpdateQueryParamProperties { // @public export interface NatRulesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface NatRulesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface NatRulesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -18633,7 +18027,7 @@ export interface NetworkConfigurationDiagnosticProfileOutput { // @public export interface NetworkConfigurationDiagnosticResponseOutput { - results?: Array; + readonly results?: Array; } // @public @@ -18645,7 +18039,6 @@ export interface NetworkConfigurationDiagnosticResultOutput { // @public export interface NetworkGroup extends ChildResource { properties?: NetworkGroupProperties; - systemData?: SystemData; } // @public @@ -18657,19 +18050,18 @@ export interface NetworkGroupListResultOutput { // @public export interface NetworkGroupOutput extends ChildResourceOutput { properties?: NetworkGroupPropertiesOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public export interface NetworkGroupProperties { description?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface NetworkGroupPropertiesOutput { description?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -18718,7 +18110,7 @@ export interface NetworkGroupsCreateOrUpdateDefaultResponse extends HttpResponse // @public (undocumented) export interface NetworkGroupsCreateOrUpdateHeaderParam { // (undocumented) - headers: RawHttpHeadersInput & NetworkGroupsCreateOrUpdateHeaders; + headers?: RawHttpHeadersInput & NetworkGroupsCreateOrUpdateHeaders; } // @public (undocumented) @@ -18747,8 +18139,6 @@ export interface NetworkGroupsCreateOrUpdateQueryParamProperties { // @public export interface NetworkGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -18760,8 +18150,6 @@ export interface NetworkGroupsDelete202Headers { // @public export interface NetworkGroupsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) headers: RawHttpHeaders & NetworkGroupsDelete202Headers; // (undocumented) @@ -18770,8 +18158,6 @@ export interface NetworkGroupsDelete202Response extends HttpResponse { // @public export interface NetworkGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -18875,7 +18261,6 @@ export interface NetworkGroupsListQueryParamProperties { // @public export interface NetworkIntentPolicy extends Resource { - etag?: string; } // @public @@ -18886,43 +18271,38 @@ export interface NetworkIntentPolicyConfiguration { // @public export interface NetworkIntentPolicyOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; } // @public export interface NetworkInterface extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties?: NetworkInterfacePropertiesFormat; } // @public export interface NetworkInterfaceAssociationOutput { - id?: string; + readonly id?: string; securityRules?: Array; } // @public export interface NetworkInterfaceDnsSettings { - appliedDnsServers?: Array; dnsServers?: Array; internalDnsNameLabel?: string; - internalDomainNameSuffix?: string; - internalFqdn?: string; } // @public export interface NetworkInterfaceDnsSettingsOutput { - appliedDnsServers?: Array; + readonly appliedDnsServers?: Array; dnsServers?: Array; internalDnsNameLabel?: string; - internalDomainNameSuffix?: string; - internalFqdn?: string; + readonly internalDomainNameSuffix?: string; + readonly internalFqdn?: string; } // @public export interface NetworkInterfaceIPConfiguration extends SubResource { - etag?: string; name?: string; properties?: NetworkInterfaceIPConfigurationPropertiesFormat; type?: string; @@ -18930,13 +18310,13 @@ export interface NetworkInterfaceIPConfiguration extends SubResource { // @public export interface NetworkInterfaceIPConfigurationListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface NetworkInterfaceIPConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: NetworkInterfaceIPConfigurationPropertiesFormatOutput; type?: string; @@ -18944,16 +18324,13 @@ export interface NetworkInterfaceIPConfigurationOutput extends SubResourceOutput // @public export interface NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties { - fqdns?: Array; - groupId?: string; - requiredMemberName?: string; } // @public export interface NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesOutput { - fqdns?: Array; - groupId?: string; - requiredMemberName?: string; + readonly fqdns?: Array; + readonly groupId?: string; + readonly requiredMemberName?: string; } // @public @@ -18967,8 +18344,6 @@ export interface NetworkInterfaceIPConfigurationPropertiesFormat { privateIPAddress?: string; privateIPAddressVersion?: "IPv4" | "IPv6"; privateIPAllocationMethod?: "Static" | "Dynamic"; - privateLinkConnectionProperties?: NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: PublicIPAddress; subnet?: Subnet; virtualNetworkTaps?: Array; @@ -18985,8 +18360,8 @@ export interface NetworkInterfaceIPConfigurationPropertiesFormatOutput { privateIPAddress?: string; privateIPAddressVersion?: "IPv4" | "IPv6"; privateIPAllocationMethod?: "Static" | "Dynamic"; - privateLinkConnectionProperties?: NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly privateLinkConnectionProperties?: NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesOutput; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: PublicIPAddressOutput; subnet?: SubnetOutput; virtualNetworkTaps?: Array; @@ -19064,13 +18439,13 @@ export interface NetworkInterfaceIPConfigurationsListQueryParamProperties { // @public export interface NetworkInterfaceListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface NetworkInterfaceLoadBalancerListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -19111,7 +18486,7 @@ export interface NetworkInterfaceLoadBalancersListQueryParamProperties { // @public export interface NetworkInterfaceOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties?: NetworkInterfacePropertiesFormatOutput; } @@ -19121,23 +18496,13 @@ export interface NetworkInterfacePropertiesFormat { auxiliaryMode?: "None" | "MaxConnections" | "Floating"; disableTcpStateTracking?: boolean; dnsSettings?: NetworkInterfaceDnsSettings; - dscpConfiguration?: SubResource; enableAcceleratedNetworking?: boolean; enableIPForwarding?: boolean; - hostedWorkloads?: Array; ipConfigurations?: Array; - macAddress?: string; migrationPhase?: "None" | "Prepare" | "Commit" | "Abort" | "Committed"; networkSecurityGroup?: NetworkSecurityGroup; nicType?: "Standard" | "Elastic"; - primary?: boolean; - privateEndpoint?: PrivateEndpoint; privateLinkService?: PrivateLinkService; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; - tapConfigurations?: Array; - virtualMachine?: SubResource; - vnetEncryptionSupported?: boolean; workloadType?: string; } @@ -19146,23 +18511,23 @@ export interface NetworkInterfacePropertiesFormatOutput { auxiliaryMode?: "None" | "MaxConnections" | "Floating"; disableTcpStateTracking?: boolean; dnsSettings?: NetworkInterfaceDnsSettingsOutput; - dscpConfiguration?: SubResourceOutput; + readonly dscpConfiguration?: SubResourceOutput; enableAcceleratedNetworking?: boolean; enableIPForwarding?: boolean; - hostedWorkloads?: Array; + readonly hostedWorkloads?: Array; ipConfigurations?: Array; - macAddress?: string; + readonly macAddress?: string; migrationPhase?: "None" | "Prepare" | "Commit" | "Abort" | "Committed"; networkSecurityGroup?: NetworkSecurityGroupOutput; nicType?: "Standard" | "Elastic"; - primary?: boolean; - privateEndpoint?: PrivateEndpointOutput; + readonly primary?: boolean; + readonly privateEndpoint?: PrivateEndpointOutput; privateLinkService?: PrivateLinkServiceOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; - tapConfigurations?: Array; - virtualMachine?: SubResourceOutput; - vnetEncryptionSupported?: boolean; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; + readonly tapConfigurations?: Array; + readonly virtualMachine?: SubResourceOutput; + readonly vnetEncryptionSupported?: boolean; workloadType?: string; } @@ -19224,24 +18589,18 @@ export interface NetworkInterfacesDelete { // @public export interface NetworkInterfacesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface NetworkInterfacesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface NetworkInterfacesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -19335,8 +18694,6 @@ export interface NetworkInterfacesGetEffectiveRouteTable200Response extends Http // @public export interface NetworkInterfacesGetEffectiveRouteTable202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -19591,8 +18948,6 @@ export interface NetworkInterfacesListEffectiveNetworkSecurityGroups200Response // @public export interface NetworkInterfacesListEffectiveNetworkSecurityGroups202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -19781,35 +19136,32 @@ export interface NetworkInterfacesUpdateTagsQueryParamProperties { // @public export interface NetworkInterfaceTapConfiguration extends SubResource { - etag?: string; name?: string; properties?: NetworkInterfaceTapConfigurationPropertiesFormat; - type?: string; } // @public export interface NetworkInterfaceTapConfigurationListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface NetworkInterfaceTapConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: NetworkInterfaceTapConfigurationPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface NetworkInterfaceTapConfigurationPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualNetworkTap?: VirtualNetworkTap; } // @public export interface NetworkInterfaceTapConfigurationPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualNetworkTap?: VirtualNetworkTapOutput; } @@ -19870,24 +19222,18 @@ export interface NetworkInterfaceTapConfigurationsDelete { // @public export interface NetworkInterfaceTapConfigurationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface NetworkInterfaceTapConfigurationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface NetworkInterfaceTapConfigurationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -19984,16 +19330,17 @@ export type NetworkManagementClient = Client & { path: Routes; }; +// @public +export interface NetworkManagementClientOptions extends ClientOptions { +} + // @public export interface NetworkManager extends Resource { - etag?: string; properties?: NetworkManagerProperties; - systemData?: SystemData; } // @public export interface NetworkManagerCommit { - commitId?: string; commitType: "SecurityAdmin" | "Connectivity"; configurationIds?: Array; targetLocations: Array; @@ -20001,7 +19348,7 @@ export interface NetworkManagerCommit { // @public export interface NetworkManagerCommitOutput { - commitId?: string; + readonly commitId?: string; commitType: "SecurityAdmin" | "Connectivity"; configurationIds?: Array; targetLocations: Array; @@ -20070,7 +19417,6 @@ export interface NetworkManagerCommitsPostQueryParamProperties { // @public export interface NetworkManagerConnection extends ChildResource { properties?: NetworkManagerConnectionProperties; - systemData?: SystemData; } // @public @@ -20082,19 +19428,18 @@ export interface NetworkManagerConnectionListResultOutput { // @public export interface NetworkManagerConnectionOutput extends ChildResourceOutput { properties?: NetworkManagerConnectionPropertiesOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public export interface NetworkManagerConnectionProperties { - connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; description?: string; networkManagerId?: string; } // @public export interface NetworkManagerConnectionPropertiesOutput { - connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; + readonly connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; description?: string; networkManagerId?: string; } @@ -20188,9 +19533,9 @@ export interface NetworkManagerListResultOutput { // @public export interface NetworkManagerOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: NetworkManagerPropertiesOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public @@ -20198,19 +19543,17 @@ export interface NetworkManagerProperties { description?: string; networkManagerScopeAccesses: Array<"SecurityAdmin" | "Connectivity">; networkManagerScopes: NetworkManagerPropertiesNetworkManagerScopes; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface NetworkManagerPropertiesNetworkManagerScopes { - crossTenantScopes?: Array; managementGroups?: Array; subscriptions?: Array; } // @public export interface NetworkManagerPropertiesNetworkManagerScopesOutput { - crossTenantScopes?: Array; + readonly crossTenantScopes?: Array; managementGroups?: Array; subscriptions?: Array; } @@ -20220,7 +19563,7 @@ export interface NetworkManagerPropertiesOutput { description?: string; networkManagerScopeAccesses: Array<"SecurityAdmin" | "Connectivity">; networkManagerScopes: NetworkManagerPropertiesNetworkManagerScopesOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -20273,8 +19616,6 @@ export interface NetworkManagersCreateOrUpdateQueryParamProperties { // @public export interface NetworkManagersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -20286,8 +19627,6 @@ export interface NetworkManagersDelete202Headers { // @public export interface NetworkManagersDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) headers: RawHttpHeaders & NetworkManagersDelete202Headers; // (undocumented) @@ -20296,8 +19635,6 @@ export interface NetworkManagersDelete202Response extends HttpResponse { // @public export interface NetworkManagersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -20489,7 +19826,6 @@ export interface NetworkManagersPatchQueryParamProperties { // @public export interface NetworkProfile extends Resource { - etag?: string; properties?: NetworkProfilePropertiesFormat; } @@ -20501,24 +19837,21 @@ export interface NetworkProfileListResultOutput { // @public export interface NetworkProfileOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: NetworkProfilePropertiesFormatOutput; } // @public export interface NetworkProfilePropertiesFormat { containerNetworkInterfaceConfigurations?: Array; - containerNetworkInterfaces?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; } // @public export interface NetworkProfilePropertiesFormatOutput { containerNetworkInterfaceConfigurations?: Array; - containerNetworkInterfaces?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly containerNetworkInterfaces?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; } // @public @@ -20579,24 +19912,18 @@ export interface NetworkProfilesDelete { // @public export interface NetworkProfilesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface NetworkProfilesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface NetworkProfilesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -20792,7 +20119,6 @@ export interface NetworkRuleOutput extends FirewallPolicyRuleOutputParent { // @public export interface NetworkSecurityGroup extends Resource { - etag?: string; properties?: NetworkSecurityGroupPropertiesFormat; } @@ -20804,37 +20130,31 @@ export interface NetworkSecurityGroupListResultOutput { // @public export interface NetworkSecurityGroupOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: NetworkSecurityGroupPropertiesFormatOutput; } // @public export interface NetworkSecurityGroupPropertiesFormat { - defaultSecurityRules?: Array; - flowLogs?: Array; flushConnection?: boolean; - networkInterfaces?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; securityRules?: Array; - subnets?: Array; } // @public export interface NetworkSecurityGroupPropertiesFormatOutput { - defaultSecurityRules?: Array; - flowLogs?: Array; + readonly defaultSecurityRules?: Array; + readonly flowLogs?: Array; flushConnection?: boolean; - networkInterfaces?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly networkInterfaces?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; securityRules?: Array; - subnets?: Array; + readonly subnets?: Array; } // @public export interface NetworkSecurityGroupResultOutput { - evaluatedNetworkSecurityGroups?: Array; + readonly evaluatedNetworkSecurityGroups?: Array; securityRuleAccessResult?: "Allow" | "Deny"; } @@ -20896,24 +20216,18 @@ export interface NetworkSecurityGroupsDelete { // @public export interface NetworkSecurityGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface NetworkSecurityGroupsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface NetworkSecurityGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -21093,7 +20407,6 @@ export interface NetworkSecurityRulesEvaluationResultOutput { // @public export interface NetworkVirtualAppliance extends Resource { - etag?: string; identity?: ManagedServiceIdentity; properties?: NetworkVirtualAppliancePropertiesFormat; } @@ -21106,40 +20419,35 @@ export interface NetworkVirtualApplianceListResultOutput { // @public export interface NetworkVirtualApplianceOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; identity?: ManagedServiceIdentityOutput; properties?: NetworkVirtualAppliancePropertiesFormatOutput; } // @public export interface NetworkVirtualAppliancePropertiesFormat { - addressPrefix?: string; bootStrapConfigurationBlobs?: Array; cloudInitConfiguration?: string; cloudInitConfigurationBlobs?: Array; - inboundSecurityRules?: Array; nvaSku?: VirtualApplianceSkuProperties; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sshPublicKey?: string; virtualApplianceAsn?: number; - virtualApplianceNics?: Array; - virtualApplianceSites?: Array; virtualHub?: SubResource; } // @public export interface NetworkVirtualAppliancePropertiesFormatOutput { - addressPrefix?: string; + readonly addressPrefix?: string; bootStrapConfigurationBlobs?: Array; cloudInitConfiguration?: string; cloudInitConfigurationBlobs?: Array; - inboundSecurityRules?: Array; + readonly inboundSecurityRules?: Array; nvaSku?: VirtualApplianceSkuPropertiesOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sshPublicKey?: string; virtualApplianceAsn?: number; - virtualApplianceNics?: Array; - virtualApplianceSites?: Array; + readonly virtualApplianceNics?: Array; + readonly virtualApplianceSites?: Array; virtualHub?: SubResourceOutput; } @@ -21201,24 +20509,18 @@ export interface NetworkVirtualAppliancesDelete { // @public export interface NetworkVirtualAppliancesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface NetworkVirtualAppliancesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface NetworkVirtualAppliancesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -21284,20 +20586,17 @@ export interface NetworkVirtualApplianceSiteListResultOutput { // @public export interface NetworkVirtualApplianceSku extends Resource { - etag?: string; properties?: NetworkVirtualApplianceSkuPropertiesFormat; } // @public export interface NetworkVirtualApplianceSkuInstances { - instanceCount?: number; - scaleUnit?: string; } // @public export interface NetworkVirtualApplianceSkuInstancesOutput { - instanceCount?: number; - scaleUnit?: string; + readonly instanceCount?: number; + readonly scaleUnit?: string; } // @public @@ -21308,22 +20607,20 @@ export interface NetworkVirtualApplianceSkuListResultOutput { // @public export interface NetworkVirtualApplianceSkuOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: NetworkVirtualApplianceSkuPropertiesFormatOutput; } // @public export interface NetworkVirtualApplianceSkuPropertiesFormat { availableScaleUnits?: Array; - availableVersions?: Array; - vendor?: string; } // @public export interface NetworkVirtualApplianceSkuPropertiesFormatOutput { availableScaleUnits?: Array; - availableVersions?: Array; - vendor?: string; + readonly availableVersions?: Array; + readonly vendor?: string; } // @public (undocumented) @@ -21438,7 +20735,6 @@ export interface NetworkVirtualAppliancesUpdateTagsQueryParamProperties { // @public export interface NetworkWatcher extends Resource { - etag?: string; properties?: NetworkWatcherPropertiesFormat; } @@ -21449,18 +20745,17 @@ export interface NetworkWatcherListResultOutput { // @public export interface NetworkWatcherOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: NetworkWatcherPropertiesFormatOutput; } // @public export interface NetworkWatcherPropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface NetworkWatcherPropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -21574,16 +20869,12 @@ export interface NetworkWatchersCreateOrUpdateQueryParamProperties { // @public export interface NetworkWatchersDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface NetworkWatchersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -22450,18 +21741,16 @@ export interface OrderBy { // @public export interface OutboundRule extends SubResource { - etag?: string; name?: string; properties?: OutboundRulePropertiesFormat; - type?: string; } // @public export interface OutboundRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: OutboundRulePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -22472,7 +21761,6 @@ export interface OutboundRulePropertiesFormat { frontendIPConfigurations: Array; idleTimeoutInMinutes?: number; protocol: "Tcp" | "Udp" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -22483,7 +21771,7 @@ export interface OutboundRulePropertiesFormatOutput { frontendIPConfigurations: Array; idleTimeoutInMinutes?: number; protocol: "Tcp" | "Udp" | "All"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -22504,34 +21792,30 @@ export interface OwaspCrsExclusionEntryOutput { // @public export interface P2SConnectionConfiguration extends SubResource { - etag?: string; name?: string; properties?: P2SConnectionConfigurationProperties; } // @public export interface P2SConnectionConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: P2SConnectionConfigurationPropertiesOutput; } // @public export interface P2SConnectionConfigurationProperties { - configurationPolicyGroupAssociations?: Array; enableInternetSecurity?: boolean; - previousConfigurationPolicyGroupAssociations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routingConfiguration?: RoutingConfiguration; vpnClientAddressPool?: AddressSpace; } // @public export interface P2SConnectionConfigurationPropertiesOutput { - configurationPolicyGroupAssociations?: Array; + readonly configurationPolicyGroupAssociations?: Array; enableInternetSecurity?: boolean; - previousConfigurationPolicyGroupAssociations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly previousConfigurationPolicyGroupAssociations?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routingConfiguration?: RoutingConfigurationOutput; vpnClientAddressPool?: AddressSpaceOutput; } @@ -22554,13 +21838,12 @@ export interface P2SVpnConnectionRequest { // @public export interface P2SVpnGateway extends Resource { - etag?: string; properties?: P2SVpnGatewayProperties; } // @public export interface P2SVpnGatewayOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: P2SVpnGatewayPropertiesOutput; } @@ -22569,9 +21852,7 @@ export interface P2SVpnGatewayProperties { customDnsServers?: Array; isRoutingPreferenceInternet?: boolean; p2SConnectionConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualHub?: SubResource; - vpnClientConnectionHealth?: VpnClientConnectionHealth; vpnGatewayScaleUnit?: number; vpnServerConfiguration?: SubResource; } @@ -22581,9 +21862,9 @@ export interface P2SVpnGatewayPropertiesOutput { customDnsServers?: Array; isRoutingPreferenceInternet?: boolean; p2SConnectionConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualHub?: SubResourceOutput; - vpnClientConnectionHealth?: VpnClientConnectionHealthOutput; + readonly vpnClientConnectionHealth?: VpnClientConnectionHealthOutput; vpnGatewayScaleUnit?: number; vpnServerConfiguration?: SubResourceOutput; } @@ -22638,24 +21919,18 @@ export interface P2SVpnGatewaysCreateOrUpdateQueryParamProperties { // @public export interface P2SVpnGatewaysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface P2SVpnGatewaysDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface P2SVpnGatewaysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -22689,16 +21964,12 @@ export interface P2SVpnGatewaysDisconnectP2SVpnConnections { // @public export interface P2SVpnGatewaysDisconnectP2SVpnConnections200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface P2SVpnGatewaysDisconnectP2SVpnConnections202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -22750,8 +22021,6 @@ export interface P2SVpnGatewaysGenerateVpnProfile200Response extends HttpRespons // @public export interface P2SVpnGatewaysGenerateVpnProfile202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -22827,8 +22096,6 @@ export interface P2SVpnGatewaysGetP2SVpnConnectionHealth200Response extends Http // @public export interface P2SVpnGatewaysGetP2SVpnConnectionHealth202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -22856,8 +22123,6 @@ export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed200Response exte // @public export interface P2SVpnGatewaysGetP2SVpnConnectionHealthDetailed202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -23007,8 +22272,6 @@ export interface P2SVpnGatewaysReset200Response extends HttpResponse { // @public export interface P2SVpnGatewaysReset202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -23045,8 +22308,6 @@ export interface P2SVpnGatewaysUpdateTags200Response extends HttpResponse { // @public export interface P2SVpnGatewaysUpdateTags202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -23164,20 +22425,19 @@ export interface PacketCaptureQueryStatusResultOutput { // @public export interface PacketCaptureResultOutput { - etag?: string; - id?: string; - name?: string; + readonly etag?: string; + readonly id?: string; + readonly name?: string; properties?: PacketCaptureResultPropertiesOutput; } // @public export interface PacketCaptureResultProperties extends PacketCaptureParameters { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface PacketCaptureResultPropertiesOutput extends PacketCaptureParametersOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -23229,16 +22489,12 @@ export interface PacketCapturesCreateQueryParamProperties { // @public export interface PacketCapturesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface PacketCapturesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -23380,16 +22636,12 @@ export interface PacketCapturesStop { // @public export interface PacketCapturesStop200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PacketCapturesStop202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -23430,6 +22682,18 @@ export interface PacketCaptureStorageLocationOutput { storagePath?: string; } +// @public +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator; + next(): Promise>; +} + +// @public +export interface PageSettings { + continuationToken?: string; +} + // @public export function paginate(client: Client, initialResponse: TResponse, options?: PagingOptions): PagedAsyncIterableIterator>; @@ -23466,42 +22730,35 @@ export interface PatchObject { // @public export interface PatchRouteFilter extends SubResource { - etag?: string; - name?: string; properties?: RouteFilterPropertiesFormat; tags?: Record; - type?: string; } // @public export interface PatchRouteFilterOutput extends SubResourceOutput { - etag?: string; - name?: string; + readonly etag?: string; + readonly name?: string; properties?: RouteFilterPropertiesFormatOutput; tags?: Record; - type?: string; + readonly type?: string; } // @public export interface PatchRouteFilterRule extends SubResource { - etag?: string; - name?: string; properties?: RouteFilterRulePropertiesFormat; } // @public export interface PatchRouteFilterRuleOutput extends SubResourceOutput { - etag?: string; - name?: string; + readonly etag?: string; + readonly name?: string; properties?: RouteFilterRulePropertiesFormatOutput; } // @public export interface PeerExpressRouteCircuitConnection extends SubResource { - etag?: string; name?: string; properties?: PeerExpressRouteCircuitConnectionPropertiesFormat; - type?: string; } // @public @@ -23512,32 +22769,30 @@ export interface PeerExpressRouteCircuitConnectionListResultOutput { // @public export interface PeerExpressRouteCircuitConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: PeerExpressRouteCircuitConnectionPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface PeerExpressRouteCircuitConnectionPropertiesFormat { addressPrefix?: string; authResourceGuid?: string; - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; connectionName?: string; expressRouteCircuitPeering?: SubResource; peerExpressRouteCircuitPeering?: SubResource; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface PeerExpressRouteCircuitConnectionPropertiesFormatOutput { addressPrefix?: string; authResourceGuid?: string; - circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; + readonly circuitConnectionStatus?: "Connected" | "Connecting" | "Disconnected"; connectionName?: string; expressRouteCircuitPeering?: SubResourceOutput; peerExpressRouteCircuitPeering?: SubResourceOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -23617,13 +22872,13 @@ export interface PeerRouteListOutput { // @public export interface PeerRouteOutput { - asPath?: string; - localAddress?: string; - network?: string; - nextHop?: string; - origin?: string; - sourcePeer?: string; - weight?: number; + readonly asPath?: string; + readonly localAddress?: string; + readonly network?: string; + readonly nextHop?: string; + readonly origin?: string; + readonly sourcePeer?: string; + readonly weight?: number; } // @public @@ -23664,20 +22919,19 @@ export interface PrivateDnsZoneConfigOutput { // @public export interface PrivateDnsZoneGroup extends SubResource { - etag?: string; name?: string; properties?: PrivateDnsZoneGroupPropertiesFormat; } // @public export interface PrivateDnsZoneGroupListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface PrivateDnsZoneGroupOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: PrivateDnsZoneGroupPropertiesFormatOutput; } @@ -23685,13 +22939,12 @@ export interface PrivateDnsZoneGroupOutput extends SubResourceOutput { // @public export interface PrivateDnsZoneGroupPropertiesFormat { privateDnsZoneConfigs?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface PrivateDnsZoneGroupPropertiesFormatOutput { privateDnsZoneConfigs?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -23751,24 +23004,18 @@ export interface PrivateDnsZoneGroupsDelete { // @public export interface PrivateDnsZoneGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PrivateDnsZoneGroupsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface PrivateDnsZoneGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -23863,74 +23110,65 @@ export interface PrivateDnsZoneGroupsListQueryParamProperties { // @public export interface PrivateDnsZonePropertiesFormat { privateDnsZoneId?: string; - recordSets?: Array; } // @public export interface PrivateDnsZonePropertiesFormatOutput { privateDnsZoneId?: string; - recordSets?: Array; + readonly recordSets?: Array; } // @public export interface PrivateEndpoint extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties?: PrivateEndpointProperties; } // @public export interface PrivateEndpointConnection extends SubResource { - etag?: string; name?: string; properties?: PrivateEndpointConnectionProperties; - type?: string; } // @public export interface PrivateEndpointConnectionListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface PrivateEndpointConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: PrivateEndpointConnectionPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface PrivateEndpointConnectionProperties { - linkIdentifier?: string; - privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface PrivateEndpointConnectionPropertiesOutput { - linkIdentifier?: string; - privateEndpoint?: PrivateEndpointOutput; + readonly linkIdentifier?: string; + readonly privateEndpoint?: PrivateEndpointOutput; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface PrivateEndpointIPConfiguration { - etag?: string; name?: string; properties?: PrivateEndpointIPConfigurationProperties; - type?: string; } // @public export interface PrivateEndpointIPConfigurationOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: PrivateEndpointIPConfigurationPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -23949,13 +23187,13 @@ export interface PrivateEndpointIPConfigurationPropertiesOutput { // @public export interface PrivateEndpointListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface PrivateEndpointOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties?: PrivateEndpointPropertiesOutput; } @@ -23967,9 +23205,7 @@ export interface PrivateEndpointProperties { customNetworkInterfaceName?: string; ipConfigurations?: Array; manualPrivateLinkServiceConnections?: Array; - networkInterfaces?: Array; privateLinkServiceConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: Subnet; } @@ -23980,9 +23216,9 @@ export interface PrivateEndpointPropertiesOutput { customNetworkInterfaceName?: string; ipConfigurations?: Array; manualPrivateLinkServiceConnections?: Array; - networkInterfaces?: Array; + readonly networkInterfaces?: Array; privateLinkServiceConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: SubnetOutput; } @@ -24043,24 +23279,18 @@ export interface PrivateEndpointsDelete { // @public export interface PrivateEndpointsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PrivateEndpointsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface PrivateEndpointsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -24190,25 +23420,22 @@ export interface PrivateEndpointsListQueryParamProperties { // @public export interface PrivateLinkService extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties?: PrivateLinkServiceProperties; } // @public export interface PrivateLinkServiceConnection extends SubResource { - etag?: string; name?: string; properties?: PrivateLinkServiceConnectionProperties; - type?: string; } // @public export interface PrivateLinkServiceConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: PrivateLinkServiceConnectionPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -24216,7 +23443,6 @@ export interface PrivateLinkServiceConnectionProperties { groupIds?: Array; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; privateLinkServiceId?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; requestMessage?: string; } @@ -24225,7 +23451,7 @@ export interface PrivateLinkServiceConnectionPropertiesOutput { groupIds?: Array; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateOutput; privateLinkServiceId?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; requestMessage?: string; } @@ -24245,18 +23471,16 @@ export interface PrivateLinkServiceConnectionStateOutput { // @public export interface PrivateLinkServiceIpConfiguration extends SubResource { - etag?: string; name?: string; properties?: PrivateLinkServiceIpConfigurationProperties; - type?: string; } // @public export interface PrivateLinkServiceIpConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: PrivateLinkServiceIpConfigurationPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -24265,7 +23489,6 @@ export interface PrivateLinkServiceIpConfigurationProperties { privateIPAddress?: string; privateIPAddressVersion?: "IPv4" | "IPv6"; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: Subnet; } @@ -24275,34 +23498,30 @@ export interface PrivateLinkServiceIpConfigurationPropertiesOutput { privateIPAddress?: string; privateIPAddressVersion?: "IPv4" | "IPv6"; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; subnet?: SubnetOutput; } // @public export interface PrivateLinkServiceListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface PrivateLinkServiceOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties?: PrivateLinkServicePropertiesOutput; } // @public export interface PrivateLinkServiceProperties { - alias?: string; autoApproval?: PrivateLinkServicePropertiesAutoApproval; enableProxyProtocol?: boolean; fqdns?: Array; ipConfigurations?: Array; loadBalancerFrontendIpConfigurations?: Array; - networkInterfaces?: Array; - privateEndpointConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; visibility?: PrivateLinkServicePropertiesVisibility; } @@ -24316,15 +23535,15 @@ export interface PrivateLinkServicePropertiesAutoApprovalOutput extends Resource // @public export interface PrivateLinkServicePropertiesOutput { - alias?: string; + readonly alias?: string; autoApproval?: PrivateLinkServicePropertiesAutoApprovalOutput; enableProxyProtocol?: boolean; fqdns?: Array; ipConfigurations?: Array; loadBalancerFrontendIpConfigurations?: Array; - networkInterfaces?: Array; - privateEndpointConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly networkInterfaces?: Array; + readonly privateEndpointConnections?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; visibility?: PrivateLinkServicePropertiesVisibilityOutput; } @@ -24351,8 +23570,6 @@ export interface PrivateLinkServicesCheckPrivateLinkServiceVisibility200Response // @public export interface PrivateLinkServicesCheckPrivateLinkServiceVisibility202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24377,8 +23594,6 @@ export interface PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceG // @public export interface PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroup202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24499,24 +23714,18 @@ export interface PrivateLinkServicesDelete { // @public export interface PrivateLinkServicesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PrivateLinkServicesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface PrivateLinkServicesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -24534,24 +23743,18 @@ export type PrivateLinkServicesDeleteParameters = PrivateLinkServicesDeleteQuery // @public export interface PrivateLinkServicesDeletePrivateEndpointConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PrivateLinkServicesDeletePrivateEndpointConnection202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface PrivateLinkServicesDeletePrivateEndpointConnection204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -24880,41 +24083,37 @@ export interface PrivateLinkServiceVisibilityOutput { // @public export interface Probe extends SubResource { - etag?: string; name?: string; properties?: ProbePropertiesFormat; - type?: string; } // @public export interface ProbeOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ProbePropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public export interface ProbePropertiesFormat { intervalInSeconds?: number; - loadBalancingRules?: Array; numberOfProbes?: number; port: number; probeThreshold?: number; protocol: "Http" | "Tcp" | "Https"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; requestPath?: string; } // @public export interface ProbePropertiesFormatOutput { intervalInSeconds?: number; - loadBalancingRules?: Array; + readonly loadBalancingRules?: Array; numberOfProbes?: number; port: number; probeThreshold?: number; protocol: "Http" | "Tcp" | "Https"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; requestPath?: string; } @@ -24937,7 +24136,6 @@ export interface ProtocolConfiguration { // @public export interface PublicIPAddress extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties?: PublicIPAddressPropertiesFormat; sku?: PublicIPAddressSku; @@ -25021,8 +24219,6 @@ export interface PublicIPAddressesDdosProtectionStatus200Response extends HttpRe // @public export interface PublicIPAddressesDdosProtectionStatus202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25059,24 +24255,18 @@ export interface PublicIPAddressesDelete { // @public export interface PublicIPAddressesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PublicIPAddressesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface PublicIPAddressesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -25464,7 +24654,7 @@ export interface PublicIPAddressListResultOutput { // @public export interface PublicIPAddressOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties?: PublicIPAddressPropertiesFormatOutput; sku?: PublicIPAddressSkuOutput; @@ -25478,16 +24668,13 @@ export interface PublicIPAddressPropertiesFormat { dnsSettings?: PublicIPAddressDnsSettings; idleTimeoutInMinutes?: number; ipAddress?: string; - ipConfiguration?: IPConfiguration; ipTags?: Array; linkedPublicIPAddress?: PublicIPAddress; migrationPhase?: "None" | "Prepare" | "Commit" | "Abort" | "Committed"; natGateway?: NatGateway; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddressVersion?: "IPv4" | "IPv6"; publicIPAllocationMethod?: "Static" | "Dynamic"; publicIPPrefix?: SubResource; - resourceGuid?: string; servicePublicIPAddress?: PublicIPAddress; } @@ -25498,16 +24685,16 @@ export interface PublicIPAddressPropertiesFormatOutput { dnsSettings?: PublicIPAddressDnsSettingsOutput; idleTimeoutInMinutes?: number; ipAddress?: string; - ipConfiguration?: IPConfigurationOutput; + readonly ipConfiguration?: IPConfigurationOutput; ipTags?: Array; linkedPublicIPAddress?: PublicIPAddressOutput; migrationPhase?: "None" | "Prepare" | "Commit" | "Abort" | "Committed"; natGateway?: NatGatewayOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddressVersion?: "IPv4" | "IPv6"; publicIPAllocationMethod?: "Static" | "Dynamic"; publicIPPrefix?: SubResourceOutput; - resourceGuid?: string; + readonly resourceGuid?: string; servicePublicIPAddress?: PublicIPAddressOutput; } @@ -25533,7 +24720,6 @@ export interface PublicIpDdosProtectionStatusResultOutput { // @public export interface PublicIPPrefix extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties?: PublicIPPrefixPropertiesFormat; sku?: PublicIPPrefixSku; @@ -25598,24 +24784,18 @@ export interface PublicIPPrefixesDelete { // @public export interface PublicIPPrefixesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PublicIPPrefixesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface PublicIPPrefixesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -25791,7 +24971,7 @@ export interface PublicIPPrefixListResultOutput { // @public export interface PublicIPPrefixOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties?: PublicIPPrefixPropertiesFormatOutput; sku?: PublicIPPrefixSkuOutput; @@ -25801,29 +24981,24 @@ export interface PublicIPPrefixOutput extends ResourceOutput { // @public export interface PublicIPPrefixPropertiesFormat { customIPPrefix?: SubResource; - ipPrefix?: string; ipTags?: Array; - loadBalancerFrontendIpConfiguration?: SubResource; natGateway?: NatGateway; prefixLength?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - publicIPAddresses?: Array; publicIPAddressVersion?: "IPv4" | "IPv6"; - resourceGuid?: string; } // @public export interface PublicIPPrefixPropertiesFormatOutput { customIPPrefix?: SubResourceOutput; - ipPrefix?: string; + readonly ipPrefix?: string; ipTags?: Array; - loadBalancerFrontendIpConfiguration?: SubResourceOutput; + readonly loadBalancerFrontendIpConfiguration?: SubResourceOutput; natGateway?: NatGatewayOutput; prefixLength?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - publicIPAddresses?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly publicIPAddresses?: Array; publicIPAddressVersion?: "IPv4" | "IPv6"; - resourceGuid?: string; + readonly resourceGuid?: string; } // @public @@ -25853,8 +25028,6 @@ export interface PutBastionShareableLink200Response extends HttpResponse { // @public export interface PutBastionShareableLink202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25975,7 +25148,6 @@ export interface RadiusServerOutput { export interface RecordSet { fqdn?: string; ipAddresses?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; recordSetName?: string; recordType?: string; ttl?: number; @@ -25985,7 +25157,7 @@ export interface RecordSet { export interface RecordSetOutput { fqdn?: string; ipAddresses?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; recordSetName?: string; recordType?: string; ttl?: number; @@ -26005,39 +25177,34 @@ export interface ReferencedPublicIpAddressOutput { export interface Resource { id?: string; location?: string; - name?: string; tags?: Record; - type?: string; } // @public export interface ResourceNavigationLink extends SubResource { - etag?: string; name?: string; properties?: ResourceNavigationLinkFormat; - type?: string; } // @public export interface ResourceNavigationLinkFormat { link?: string; linkedResourceType?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ResourceNavigationLinkFormatOutput { link?: string; linkedResourceType?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface ResourceNavigationLinkOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ResourceNavigationLinkFormatOutput; - type?: string; + readonly type?: string; } // @public (undocumented) @@ -26077,7 +25244,7 @@ export interface ResourceNavigationLinksListQueryParamProperties { // @public export interface ResourceNavigationLinksListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } @@ -26085,9 +25252,9 @@ export interface ResourceNavigationLinksListResultOutput { export interface ResourceOutput { id?: string; location?: string; - name?: string; + readonly name?: string; tags?: Record; - type?: string; + readonly type?: string; } // @public @@ -26114,7 +25281,6 @@ export interface RetentionPolicyParametersOutput { // @public export interface Route extends SubResource { - etag?: string; name?: string; properties?: RoutePropertiesFormat; type?: string; @@ -26122,7 +25288,6 @@ export interface Route extends SubResource { // @public export interface RouteFilter extends Resource { - etag?: string; properties?: RouteFilterPropertiesFormat; } @@ -26134,29 +25299,25 @@ export interface RouteFilterListResultOutput { // @public export interface RouteFilterOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: RouteFilterPropertiesFormatOutput; } // @public export interface RouteFilterPropertiesFormat { - ipv6Peerings?: Array; - peerings?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } // @public export interface RouteFilterPropertiesFormatOutput { - ipv6Peerings?: Array; - peerings?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly ipv6Peerings?: Array; + readonly peerings?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } // @public export interface RouteFilterRule extends SubResource { - etag?: string; location?: string; name?: string; properties?: RouteFilterRulePropertiesFormat; @@ -26170,7 +25331,7 @@ export interface RouteFilterRuleListResultOutput { // @public export interface RouteFilterRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; location?: string; name?: string; properties?: RouteFilterRulePropertiesFormatOutput; @@ -26180,7 +25341,6 @@ export interface RouteFilterRuleOutput extends SubResourceOutput { export interface RouteFilterRulePropertiesFormat { access: "Allow" | "Deny"; communities: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routeFilterRuleType: "Community"; } @@ -26188,7 +25348,7 @@ export interface RouteFilterRulePropertiesFormat { export interface RouteFilterRulePropertiesFormatOutput { access: "Allow" | "Deny"; communities: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routeFilterRuleType: "Community"; } @@ -26249,24 +25409,18 @@ export interface RouteFilterRulesDelete { // @public export interface RouteFilterRulesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RouteFilterRulesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RouteFilterRulesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -26416,24 +25570,18 @@ export interface RouteFiltersDelete { // @public export interface RouteFiltersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RouteFiltersDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RouteFiltersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -26609,25 +25757,21 @@ export interface RouteListResultOutput { // @public export interface RouteMap extends SubResource { - etag?: string; - name?: string; properties?: RouteMapProperties; - type?: string; } // @public export interface RouteMapOutput extends SubResourceOutput { - etag?: string; - name?: string; + readonly etag?: string; + readonly name?: string; properties?: RouteMapPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface RouteMapProperties { associatedInboundConnections?: Array; associatedOutboundConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -26635,7 +25779,7 @@ export interface RouteMapProperties { export interface RouteMapPropertiesOutput { associatedInboundConnections?: Array; associatedOutboundConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; rules?: Array; } @@ -26705,24 +25849,18 @@ export interface RouteMapsCreateOrUpdateQueryParamProperties { // @public export interface RouteMapsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RouteMapsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RouteMapsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -26823,7 +25961,7 @@ export interface RouteMapsListQueryParamProperties { // @public export interface RouteOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: RoutePropertiesFormatOutput; type?: string; @@ -26835,7 +25973,6 @@ export interface RoutePropertiesFormat { hasBgpOverride?: boolean; nextHopIpAddress?: string; nextHopType: "VirtualNetworkGateway" | "VnetLocal" | "Internet" | "VirtualAppliance" | "None"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -26844,7 +25981,7 @@ export interface RoutePropertiesFormatOutput { hasBgpOverride?: boolean; nextHopIpAddress?: string; nextHopType: "VirtualNetworkGateway" | "VnetLocal" | "Internet" | "VirtualAppliance" | "None"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -26891,6 +26028,7 @@ export interface Routes { (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions", subscriptionId: string, resourceGroupName: string, bastionHostName: string): GetActiveSessions; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions", subscriptionId: string, resourceGroupName: string, bastionHostName: string): DisconnectActiveSessions; (path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", subscriptionId: string, location: string): CheckDnsNameAvailability; + (path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", subscriptionId: string, providerport: string): ExpressRouteProviderPort; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations", subscriptionId: string, resourceGroupName: string, networkManagerName: string): ListActiveConnectivityConfigurations; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules", subscriptionId: string, resourceGroupName: string, networkManagerName: string): ListActiveSecurityAdminRules; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations", subscriptionId: string, resourceGroupName: string, virtualNetworkName: string): ListNetworkManagerEffectiveConnectivityConfigurations; @@ -26967,7 +26105,6 @@ export interface Routes { (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", subscriptionId: string, resourceGroupName: string, expressRoutePortName: string, authorizationName: string): ExpressRoutePortAuthorizationsDelete; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations", subscriptionId: string, resourceGroupName: string, expressRoutePortName: string): ExpressRoutePortAuthorizationsList; (path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts", subscriptionId: string): ExpressRouteProviderPortsLocationList; - (path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", subscriptionId: string, providerport: string): ExpressRouteProviderPortsGet; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId: string, resourceGroupName: string, firewallPolicyName: string): FirewallPoliciesDelete; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies", subscriptionId: string, resourceGroupName: string): FirewallPoliciesList; (path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies", subscriptionId: string): FirewallPoliciesListAll; @@ -27171,7 +26308,7 @@ export interface Routes { (path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters", subscriptionId: string): VirtualRoutersList; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}", subscriptionId: string, resourceGroupName: string, virtualRouterName: string, peeringName: string): VirtualRouterPeeringsDelete; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings", subscriptionId: string, resourceGroupName: string, virtualRouterName: string): VirtualRouterPeeringsList; - (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId: string, resourceGroupName: string, VirtualWANName: string): VirtualWansGet; + (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId: string, resourceGroupName: string, virtualWANName: string): VirtualWansGet; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans", subscriptionId: string, resourceGroupName: string): VirtualWansListByResourceGroup; (path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans", subscriptionId: string): VirtualWansList; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId: string, resourceGroupName: string, vpnSiteName: string): VpnSitesGet; @@ -27301,24 +26438,18 @@ export interface RoutesDelete { // @public export interface RoutesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RoutesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RoutesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -27412,7 +26543,6 @@ export interface RoutesListQueryParamProperties { // @public export interface RouteTable extends Resource { - etag?: string; properties?: RouteTablePropertiesFormat; } @@ -27424,26 +26554,23 @@ export interface RouteTableListResultOutput { // @public export interface RouteTableOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: RouteTablePropertiesFormatOutput; } // @public export interface RouteTablePropertiesFormat { disableBgpRoutePropagation?: boolean; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; routes?: Array; - subnets?: Array; } // @public export interface RouteTablePropertiesFormatOutput { disableBgpRoutePropagation?: boolean; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; routes?: Array; - subnets?: Array; + readonly subnets?: Array; } // @public @@ -27504,24 +26631,18 @@ export interface RouteTablesDelete { // @public export interface RouteTablesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RouteTablesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RouteTablesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -27709,10 +26830,8 @@ export interface RoutingConfigurationOutput { // @public export interface RoutingIntent extends SubResource { - etag?: string; name?: string; properties?: RoutingIntentProperties; - type?: string; } // @public (undocumented) @@ -27772,24 +26891,18 @@ export interface RoutingIntentCreateOrUpdateQueryParamProperties { // @public export interface RoutingIntentDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RoutingIntentDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RoutingIntentDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -27883,21 +26996,20 @@ export interface RoutingIntentListQueryParamProperties { // @public export interface RoutingIntentOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: RoutingIntentPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface RoutingIntentProperties { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routingPolicies?: Array; } // @public export interface RoutingIntentPropertiesOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routingPolicies?: Array; } @@ -27918,7 +27030,6 @@ export interface RoutingPolicyOutput { // @public export interface ScopeConnection extends ChildResource { properties?: ScopeConnectionProperties; - systemData?: SystemData; } // @public @@ -27930,12 +27041,11 @@ export interface ScopeConnectionListResultOutput { // @public export interface ScopeConnectionOutput extends ChildResourceOutput { properties?: ScopeConnectionPropertiesOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public export interface ScopeConnectionProperties { - connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; description?: string; resourceId?: string; tenantId?: string; @@ -27943,7 +27053,7 @@ export interface ScopeConnectionProperties { // @public export interface ScopeConnectionPropertiesOutput { - connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; + readonly connectionState?: "Connected" | "Pending" | "Conflict" | "Revoked" | "Rejected"; description?: string; resourceId?: string; tenantId?: string; @@ -28006,16 +27116,12 @@ export interface ScopeConnectionsCreateOrUpdateQueryParamProperties { // @public export interface ScopeConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ScopeConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -28112,7 +27218,6 @@ export interface ScopeConnectionsListQueryParamProperties { // @public export interface SecurityAdminConfiguration extends ChildResource { properties?: SecurityAdminConfigurationPropertiesFormat; - systemData?: SystemData; } // @public @@ -28124,21 +27229,20 @@ export interface SecurityAdminConfigurationListResultOutput { // @public export interface SecurityAdminConfigurationOutput extends ChildResourceOutput { properties?: SecurityAdminConfigurationPropertiesFormatOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public export interface SecurityAdminConfigurationPropertiesFormat { applyOnNetworkIntentPolicyBasedServices?: Array<"None" | "All" | "AllowRulesOnly">; description?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface SecurityAdminConfigurationPropertiesFormatOutput { applyOnNetworkIntentPolicyBasedServices?: Array<"None" | "All" | "AllowRulesOnly">; description?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -28191,8 +27295,6 @@ export interface SecurityAdminConfigurationsCreateOrUpdateQueryParamProperties { // @public export interface SecurityAdminConfigurationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -28204,8 +27306,6 @@ export interface SecurityAdminConfigurationsDelete202Headers { // @public export interface SecurityAdminConfigurationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) headers: RawHttpHeaders & SecurityAdminConfigurationsDelete202Headers; // (undocumented) @@ -28214,8 +27314,6 @@ export interface SecurityAdminConfigurationsDelete202Response extends HttpRespon // @public export interface SecurityAdminConfigurationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -28335,7 +27433,6 @@ export interface SecurityGroupViewResultOutput { // @public export interface SecurityPartnerProvider extends Resource { - etag?: string; properties?: SecurityPartnerProviderPropertiesFormat; } @@ -28347,22 +27444,20 @@ export interface SecurityPartnerProviderListResultOutput { // @public export interface SecurityPartnerProviderOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: SecurityPartnerProviderPropertiesFormatOutput; } // @public export interface SecurityPartnerProviderPropertiesFormat { - connectionStatus?: "Unknown" | "PartiallyConnected" | "Connected" | "NotConnected"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; securityProviderName?: "ZScaler" | "IBoss" | "Checkpoint"; virtualHub?: SubResource; } // @public export interface SecurityPartnerProviderPropertiesFormatOutput { - connectionStatus?: "Unknown" | "PartiallyConnected" | "Connected" | "NotConnected"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly connectionStatus?: "Unknown" | "PartiallyConnected" | "Connected" | "NotConnected"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; securityProviderName?: "ZScaler" | "IBoss" | "Checkpoint"; virtualHub?: SubResourceOutput; } @@ -28425,24 +27520,18 @@ export interface SecurityPartnerProvidersDelete { // @public export interface SecurityPartnerProvidersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SecurityPartnerProvidersDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface SecurityPartnerProvidersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -28611,7 +27700,6 @@ export interface SecurityPartnerProvidersUpdateTagsQueryParamProperties { // @public export interface SecurityRule extends SubResource { - etag?: string; name?: string; properties?: SecurityRulePropertiesFormat; type?: string; @@ -28633,7 +27721,7 @@ export interface SecurityRuleListResultOutput { // @public export interface SecurityRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: SecurityRulePropertiesFormatOutput; type?: string; @@ -28651,7 +27739,6 @@ export interface SecurityRulePropertiesFormat { direction: "Inbound" | "Outbound"; priority?: number; protocol: "Tcp" | "Udp" | "Icmp" | "Esp" | "*" | "Ah"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sourceAddressPrefix?: string; sourceAddressPrefixes?: Array; sourceApplicationSecurityGroups?: Array; @@ -28671,7 +27758,7 @@ export interface SecurityRulePropertiesFormatOutput { direction: "Inbound" | "Outbound"; priority?: number; protocol: "Tcp" | "Udp" | "Icmp" | "Esp" | "*" | "Ah"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; sourceAddressPrefix?: string; sourceAddressPrefixes?: Array; sourceApplicationSecurityGroups?: Array; @@ -28736,24 +27823,18 @@ export interface SecurityRulesDelete { // @public export interface SecurityRulesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SecurityRulesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface SecurityRulesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -28847,18 +27928,16 @@ export interface SecurityRulesListQueryParamProperties { // @public export interface ServiceAssociationLink extends SubResource { - etag?: string; name?: string; properties?: ServiceAssociationLinkPropertiesFormat; - type?: string; } // @public export interface ServiceAssociationLinkOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ServiceAssociationLinkPropertiesFormatOutput; - type?: string; + readonly type?: string; } // @public @@ -28867,7 +27946,6 @@ export interface ServiceAssociationLinkPropertiesFormat { link?: string; linkedResourceType?: string; locations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -28876,7 +27954,7 @@ export interface ServiceAssociationLinkPropertiesFormatOutput { link?: string; linkedResourceType?: string; locations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -28916,21 +27994,19 @@ export interface ServiceAssociationLinksListQueryParamProperties { // @public export interface ServiceAssociationLinksListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface ServiceDelegationPropertiesFormat { - actions?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; serviceName?: string; } // @public export interface ServiceDelegationPropertiesFormatOutput { - actions?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly actions?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; serviceName?: string; } @@ -28992,24 +28068,18 @@ export interface ServiceEndpointPoliciesDelete { // @public export interface ServiceEndpointPoliciesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ServiceEndpointPoliciesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ServiceEndpointPoliciesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -29179,14 +28249,11 @@ export interface ServiceEndpointPoliciesUpdateTagsQueryParamProperties { // @public export interface ServiceEndpointPolicy extends Resource { - etag?: string; - kind?: string; properties?: ServiceEndpointPolicyPropertiesFormat; } // @public export interface ServiceEndpointPolicyDefinition extends SubResource { - etag?: string; name?: string; properties?: ServiceEndpointPolicyDefinitionPropertiesFormat; type?: string; @@ -29200,7 +28267,7 @@ export interface ServiceEndpointPolicyDefinitionListResultOutput { // @public export interface ServiceEndpointPolicyDefinitionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: ServiceEndpointPolicyDefinitionPropertiesFormatOutput; type?: string; @@ -29209,7 +28276,6 @@ export interface ServiceEndpointPolicyDefinitionOutput extends SubResourceOutput // @public export interface ServiceEndpointPolicyDefinitionPropertiesFormat { description?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; service?: string; serviceResources?: Array; } @@ -29217,7 +28283,7 @@ export interface ServiceEndpointPolicyDefinitionPropertiesFormat { // @public export interface ServiceEndpointPolicyDefinitionPropertiesFormatOutput { description?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; service?: string; serviceResources?: Array; } @@ -29279,24 +28345,18 @@ export interface ServiceEndpointPolicyDefinitionsDelete { // @public export interface ServiceEndpointPolicyDefinitionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ServiceEndpointPolicyDefinitionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ServiceEndpointPolicyDefinitionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -29390,48 +28450,44 @@ export interface ServiceEndpointPolicyDefinitionsListByResourceGroupQueryParamPr // @public export interface ServiceEndpointPolicyListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface ServiceEndpointPolicyOutput extends ResourceOutput { - etag?: string; - kind?: string; + readonly etag?: string; + readonly kind?: string; properties?: ServiceEndpointPolicyPropertiesFormatOutput; } // @public export interface ServiceEndpointPolicyPropertiesFormat { contextualServiceEndpointPolicies?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; serviceAlias?: string; serviceEndpointPolicyDefinitions?: Array; - subnets?: Array; } // @public export interface ServiceEndpointPolicyPropertiesFormatOutput { contextualServiceEndpointPolicies?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; serviceAlias?: string; serviceEndpointPolicyDefinitions?: Array; - subnets?: Array; + readonly subnets?: Array; } // @public export interface ServiceEndpointPropertiesFormat { locations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; service?: string; } // @public export interface ServiceEndpointPropertiesFormatOutput { locations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; service?: string; } @@ -29474,25 +28530,25 @@ export interface ServiceTagInformationListQueryParamProperties { // @public export interface ServiceTagInformationListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface ServiceTagInformationOutput { - id?: string; - name?: string; - properties?: ServiceTagInformationPropertiesFormatOutput; - serviceTagChangeNumber?: string; + readonly id?: string; + readonly name?: string; + readonly properties?: ServiceTagInformationPropertiesFormatOutput; + readonly serviceTagChangeNumber?: string; } // @public export interface ServiceTagInformationPropertiesFormatOutput { - addressPrefixes?: Array; - changeNumber?: string; - region?: string; - state?: string; - systemService?: string; + readonly addressPrefixes?: Array; + readonly changeNumber?: string; + readonly region?: string; + readonly state?: string; + readonly systemService?: string; } // @public (undocumented) @@ -29532,13 +28588,13 @@ export interface ServiceTagsListQueryParamProperties { // @public export interface ServiceTagsListResultOutput { - changeNumber?: string; - cloud?: string; - id?: string; - name?: string; - nextLink?: string; - type?: string; - values?: Array; + readonly changeNumber?: string; + readonly cloud?: string; + readonly id?: string; + readonly name?: string; + readonly nextLink?: string; + readonly type?: string; + readonly values?: Array; } // @public @@ -29587,6 +28643,28 @@ export interface SignaturesOverridesPropertiesOutput { signatures?: Record; } +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + // @public (undocumented) export interface SingleQueryResultOutput { description?: string; @@ -29615,7 +28693,6 @@ export interface SkuOutput { // @public export interface StaticMember extends ChildResource { properties?: StaticMemberProperties; - systemData?: SystemData; } // @public @@ -29627,20 +28704,18 @@ export interface StaticMemberListResultOutput { // @public export interface StaticMemberOutput extends ChildResourceOutput { properties?: StaticMemberPropertiesOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } // @public export interface StaticMemberProperties { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - region?: string; resourceId?: string; } // @public export interface StaticMemberPropertiesOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - region?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly region?: string; resourceId?: string; } @@ -29694,16 +28769,12 @@ export interface StaticMembersCreateOrUpdateQueryParamProperties { // @public export interface StaticMembersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticMembersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -29820,19 +28891,17 @@ export interface StaticRouteOutput { // @public export interface StaticRoutesConfig { - propagateStaticRoutes?: boolean; vnetLocalRouteOverrideCriteria?: "Contains" | "Equal"; } // @public export interface StaticRoutesConfigOutput { - propagateStaticRoutes?: boolean; + readonly propagateStaticRoutes?: boolean; vnetLocalRouteOverrideCriteria?: "Contains" | "Equal"; } // @public export interface Subnet extends SubResource { - etag?: string; name?: string; properties?: SubnetPropertiesFormat; type?: string; @@ -29840,7 +28909,7 @@ export interface Subnet extends SubResource { // @public export interface SubnetAssociationOutput { - id?: string; + readonly id?: string; securityRules?: Array; } @@ -29852,7 +28921,7 @@ export interface SubnetListResultOutput { // @public export interface SubnetOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: SubnetPropertiesFormatOutput; type?: string; @@ -29865,18 +28934,11 @@ export interface SubnetPropertiesFormat { applicationGatewayIpConfigurations?: Array; delegations?: Array; ipAllocations?: Array; - ipConfigurationProfiles?: Array; - ipConfigurations?: Array; natGateway?: SubResource; networkSecurityGroup?: NetworkSecurityGroup; privateEndpointNetworkPolicies?: "Enabled" | "Disabled"; - privateEndpoints?: Array; privateLinkServiceNetworkPolicies?: "Enabled" | "Disabled"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - purpose?: string; - resourceNavigationLinks?: Array; routeTable?: RouteTable; - serviceAssociationLinks?: Array; serviceEndpointPolicies?: Array; serviceEndpoints?: Array; } @@ -29888,18 +28950,18 @@ export interface SubnetPropertiesFormatOutput { applicationGatewayIpConfigurations?: Array; delegations?: Array; ipAllocations?: Array; - ipConfigurationProfiles?: Array; - ipConfigurations?: Array; + readonly ipConfigurationProfiles?: Array; + readonly ipConfigurations?: Array; natGateway?: SubResourceOutput; networkSecurityGroup?: NetworkSecurityGroupOutput; privateEndpointNetworkPolicies?: "Enabled" | "Disabled"; - privateEndpoints?: Array; + readonly privateEndpoints?: Array; privateLinkServiceNetworkPolicies?: "Enabled" | "Disabled"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - purpose?: string; - resourceNavigationLinks?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly purpose?: string; + readonly resourceNavigationLinks?: Array; routeTable?: RouteTableOutput; - serviceAssociationLinks?: Array; + readonly serviceAssociationLinks?: Array; serviceEndpointPolicies?: Array; serviceEndpoints?: Array; } @@ -29961,24 +29023,18 @@ export interface SubnetsDelete { // @public export interface SubnetsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SubnetsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface SubnetsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -30078,16 +29134,12 @@ export interface SubnetsPrepareNetworkPolicies { // @public export interface SubnetsPrepareNetworkPolicies200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SubnetsPrepareNetworkPolicies202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -30131,16 +29183,12 @@ export interface SubnetsUnprepareNetworkPolicies { // @public export interface SubnetsUnprepareNetworkPolicies200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SubnetsUnprepareNetworkPolicies202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -30244,16 +29292,12 @@ export interface SubscriptionNetworkManagerConnectionsCreateOrUpdateQueryParamPr // @public export interface SubscriptionNetworkManagerConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SubscriptionNetworkManagerConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -30384,10 +29428,7 @@ export interface SupportedSecurityProvidersQueryParamProperties { // @public export interface SwapResource { - id?: string; - name?: string; properties?: SwapResourceProperties; - type?: string; } // @public @@ -30398,10 +29439,10 @@ export interface SwapResourceListResultOutput { // @public export interface SwapResourceOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties?: SwapResourcePropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -30448,9 +29489,9 @@ export interface TopologyAssociationOutput { // @public export interface TopologyOutput { - createdDateTime?: string; - id?: string; - lastModified?: string; + readonly createdDateTime?: string; + readonly id?: string; + readonly lastModified?: string; resources?: Array; } @@ -30548,20 +29589,15 @@ export interface TroubleshootingResultOutput { // @public export interface TunnelConnectionHealth { - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; - egressBytesTransferred?: number; - ingressBytesTransferred?: number; - lastConnectionEstablishedUtcTime?: string; - tunnel?: string; } // @public export interface TunnelConnectionHealthOutput { - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; - egressBytesTransferred?: number; - ingressBytesTransferred?: number; - lastConnectionEstablishedUtcTime?: string; - tunnel?: string; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly egressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; + readonly lastConnectionEstablishedUtcTime?: string; + readonly tunnel?: string; } // @public @@ -30578,7 +29614,7 @@ export interface UsageNameOutput { // @public export interface UsageOutput { currentValue: number; - id?: string; + readonly id?: string; limit: number; name: UsageNameOutput; unit: "Count"; @@ -30645,16 +29681,12 @@ export interface VerificationIPFlowResultOutput { // @public export interface VipSwapCreate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VipSwapCreate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -30764,46 +29796,40 @@ export interface VipSwapListQueryParamProperties { // @public export interface VirtualApplianceNicProperties { - name?: string; - privateIpAddress?: string; - publicIpAddress?: string; } // @public export interface VirtualApplianceNicPropertiesOutput { - name?: string; - privateIpAddress?: string; - publicIpAddress?: string; + readonly name?: string; + readonly privateIpAddress?: string; + readonly publicIpAddress?: string; } // @public export interface VirtualApplianceSite extends SubResource { - etag?: string; name?: string; properties?: VirtualApplianceSiteProperties; - type?: string; } // @public export interface VirtualApplianceSiteOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VirtualApplianceSitePropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface VirtualApplianceSiteProperties { addressPrefix?: string; o365Policy?: Office365PolicyProperties; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface VirtualApplianceSitePropertiesOutput { addressPrefix?: string; o365Policy?: Office365PolicyPropertiesOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -30863,24 +29889,18 @@ export interface VirtualApplianceSitesDelete { // @public export interface VirtualApplianceSitesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualApplianceSitesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualApplianceSitesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -31058,8 +30078,6 @@ export interface VirtualApplianceSkusListQueryParamProperties { // @public export interface VirtualHub extends Resource { - etag?: string; - kind?: string; properties?: VirtualHubProperties; } @@ -31113,24 +30131,18 @@ export interface VirtualHubBgpConnectionCreateOrUpdateQueryParamProperties { // @public export interface VirtualHubBgpConnectionDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualHubBgpConnectionDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualHubBgpConnectionDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -31222,8 +30234,6 @@ export interface VirtualHubBgpConnectionsListAdvertisedRoutes200Response extends // @public export interface VirtualHubBgpConnectionsListAdvertisedRoutes202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -31273,8 +30283,6 @@ export interface VirtualHubBgpConnectionsListLearnedRoutes200Response extends Ht // @public export interface VirtualHubBgpConnectionsListLearnedRoutes202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -31375,24 +30383,18 @@ export interface VirtualHubIpConfigurationCreateOrUpdateQueryParamProperties { // @public export interface VirtualHubIpConfigurationDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualHubIpConfigurationDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualHubIpConfigurationDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -31493,8 +30495,8 @@ export interface VirtualHubIpConfigurationListQueryParamProperties { // @public export interface VirtualHubOutput extends ResourceOutput { - etag?: string; - kind?: string; + readonly etag?: string; + readonly kind?: string; properties?: VirtualHubPropertiesOutput; } @@ -31503,16 +30505,11 @@ export interface VirtualHubProperties { addressPrefix?: string; allowBranchToBranchTraffic?: boolean; azureFirewall?: SubResource; - bgpConnections?: Array; expressRouteGateway?: SubResource; hubRoutingPreference?: "ExpressRoute" | "VpnGateway" | "ASPath"; - ipConfigurations?: Array; p2SVpnGateway?: SubResource; preferredRoutingGateway?: "ExpressRoute" | "VpnGateway" | "None"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - routeMaps?: Array; routeTable?: VirtualHubRouteTable; - routingState?: "None" | "Provisioned" | "Provisioning" | "Failed"; securityPartnerProvider?: SubResource; securityProviderName?: string; sku?: string; @@ -31529,16 +30526,16 @@ export interface VirtualHubPropertiesOutput { addressPrefix?: string; allowBranchToBranchTraffic?: boolean; azureFirewall?: SubResourceOutput; - bgpConnections?: Array; + readonly bgpConnections?: Array; expressRouteGateway?: SubResourceOutput; hubRoutingPreference?: "ExpressRoute" | "VpnGateway" | "ASPath"; - ipConfigurations?: Array; + readonly ipConfigurations?: Array; p2SVpnGateway?: SubResourceOutput; preferredRoutingGateway?: "ExpressRoute" | "VpnGateway" | "None"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - routeMaps?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly routeMaps?: Array; routeTable?: VirtualHubRouteTableOutput; - routingState?: "None" | "Provisioned" | "Provisioning" | "Failed"; + readonly routingState?: "None" | "Provisioned" | "Provisioning" | "Failed"; securityPartnerProvider?: SubResourceOutput; securityProviderName?: string; sku?: string; @@ -31574,14 +30571,13 @@ export interface VirtualHubRouteTableOutput { // @public export interface VirtualHubRouteTableV2 extends SubResource { - etag?: string; name?: string; properties?: VirtualHubRouteTableV2Properties; } // @public export interface VirtualHubRouteTableV2Output extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VirtualHubRouteTableV2PropertiesOutput; } @@ -31589,14 +30585,13 @@ export interface VirtualHubRouteTableV2Output extends SubResourceOutput { // @public export interface VirtualHubRouteTableV2Properties { attachedConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routes?: Array; } // @public export interface VirtualHubRouteTableV2PropertiesOutput { attachedConnections?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routes?: Array; } @@ -31650,24 +30645,18 @@ export interface VirtualHubRouteTableV2SCreateOrUpdateQueryParamProperties { // @public export interface VirtualHubRouteTableV2SDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualHubRouteTableV2SDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualHubRouteTableV2SDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -31832,24 +30821,18 @@ export interface VirtualHubsCreateOrUpdateQueryParamProperties { // @public export interface VirtualHubsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualHubsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualHubsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -31907,16 +30890,12 @@ export interface VirtualHubsGetEffectiveVirtualHubRoutes { // @public export interface VirtualHubsGetEffectiveVirtualHubRoutes200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualHubsGetEffectiveVirtualHubRoutes202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -31960,16 +30939,12 @@ export interface VirtualHubsGetInboundRoutes { // @public export interface VirtualHubsGetInboundRoutes200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualHubsGetInboundRoutes202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -32013,16 +30988,12 @@ export interface VirtualHubsGetOutboundRoutes { // @public export interface VirtualHubsGetOutboundRoutes200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualHubsGetOutboundRoutes202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -32185,20 +31156,18 @@ export interface VirtualHubsUpdateTagsQueryParamProperties { // @public export interface VirtualNetwork extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties?: VirtualNetworkPropertiesFormat; } // @public export interface VirtualNetworkBgpCommunities { - regionalCommunity?: string; virtualNetworkCommunity: string; } // @public export interface VirtualNetworkBgpCommunitiesOutput { - regionalCommunity?: string; + readonly regionalCommunity?: string; virtualNetworkCommunity: string; } @@ -32232,26 +31201,23 @@ export interface VirtualNetworkEncryptionOutput { // @public export interface VirtualNetworkGateway extends Resource { - etag?: string; extendedLocation?: ExtendedLocation; properties: VirtualNetworkGatewayPropertiesFormat; } // @public export interface VirtualNetworkGatewayConnection extends Resource { - etag?: string; properties: VirtualNetworkGatewayConnectionPropertiesFormat; } // @public export interface VirtualNetworkGatewayConnectionListEntity extends Resource { - etag?: string; properties: VirtualNetworkGatewayConnectionListEntityPropertiesFormat; } // @public export interface VirtualNetworkGatewayConnectionListEntityOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties: VirtualNetworkGatewayConnectionListEntityPropertiesFormatOutput; } @@ -32260,23 +31226,17 @@ export interface VirtualNetworkGatewayConnectionListEntityPropertiesFormat { authorizationKey?: string; connectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; connectionProtocol?: "IKEv2" | "IKEv1"; - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; connectionType: "IPsec" | "Vnet2Vnet" | "ExpressRoute" | "VPNClient"; - egressBytesTransferred?: number; enableBgp?: boolean; enablePrivateLinkFastPath?: boolean; expressRouteGatewayBypass?: boolean; gatewayCustomBgpIpAddresses?: Array; - ingressBytesTransferred?: number; ipsecPolicies?: Array; localNetworkGateway2?: VirtualNetworkConnectionGatewayReference; peer?: SubResource; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; routingWeight?: number; sharedKey?: string; trafficSelectorPolicies?: Array; - tunnelConnectionStatus?: Array; usePolicyBasedTrafficSelectors?: boolean; virtualNetworkGateway1: VirtualNetworkConnectionGatewayReference; virtualNetworkGateway2?: VirtualNetworkConnectionGatewayReference; @@ -32287,23 +31247,23 @@ export interface VirtualNetworkGatewayConnectionListEntityPropertiesFormatOutput authorizationKey?: string; connectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; connectionProtocol?: "IKEv2" | "IKEv1"; - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; connectionType: "IPsec" | "Vnet2Vnet" | "ExpressRoute" | "VPNClient"; - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; enableBgp?: boolean; enablePrivateLinkFastPath?: boolean; expressRouteGatewayBypass?: boolean; gatewayCustomBgpIpAddresses?: Array; - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; ipsecPolicies?: Array; localNetworkGateway2?: VirtualNetworkConnectionGatewayReferenceOutput; peer?: SubResourceOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; routingWeight?: number; sharedKey?: string; trafficSelectorPolicies?: Array; - tunnelConnectionStatus?: Array; + readonly tunnelConnectionStatus?: Array; usePolicyBasedTrafficSelectors?: boolean; virtualNetworkGateway1: VirtualNetworkConnectionGatewayReferenceOutput; virtualNetworkGateway2?: VirtualNetworkConnectionGatewayReferenceOutput; @@ -32311,13 +31271,13 @@ export interface VirtualNetworkGatewayConnectionListEntityPropertiesFormatOutput // @public export interface VirtualNetworkGatewayConnectionListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface VirtualNetworkGatewayConnectionOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties: VirtualNetworkGatewayConnectionPropertiesFormatOutput; } @@ -32326,26 +31286,20 @@ export interface VirtualNetworkGatewayConnectionPropertiesFormat { authorizationKey?: string; connectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; connectionProtocol?: "IKEv2" | "IKEv1"; - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; connectionType: "IPsec" | "Vnet2Vnet" | "ExpressRoute" | "VPNClient"; dpdTimeoutSeconds?: number; - egressBytesTransferred?: number; egressNatRules?: Array; enableBgp?: boolean; enablePrivateLinkFastPath?: boolean; expressRouteGatewayBypass?: boolean; gatewayCustomBgpIpAddresses?: Array; - ingressBytesTransferred?: number; ingressNatRules?: Array; ipsecPolicies?: Array; localNetworkGateway2?: LocalNetworkGateway; peer?: SubResource; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; routingWeight?: number; sharedKey?: string; trafficSelectorPolicies?: Array; - tunnelConnectionStatus?: Array; useLocalAzureIpAddress?: boolean; usePolicyBasedTrafficSelectors?: boolean; virtualNetworkGateway1: VirtualNetworkGateway; @@ -32357,26 +31311,26 @@ export interface VirtualNetworkGatewayConnectionPropertiesFormatOutput { authorizationKey?: string; connectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"; connectionProtocol?: "IKEv2" | "IKEv1"; - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; connectionType: "IPsec" | "Vnet2Vnet" | "ExpressRoute" | "VPNClient"; dpdTimeoutSeconds?: number; - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; egressNatRules?: Array; enableBgp?: boolean; enablePrivateLinkFastPath?: boolean; expressRouteGatewayBypass?: boolean; gatewayCustomBgpIpAddresses?: Array; - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; ingressNatRules?: Array; ipsecPolicies?: Array; localNetworkGateway2?: LocalNetworkGatewayOutput; peer?: SubResourceOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; routingWeight?: number; sharedKey?: string; trafficSelectorPolicies?: Array; - tunnelConnectionStatus?: Array; + readonly tunnelConnectionStatus?: Array; useLocalAzureIpAddress?: boolean; usePolicyBasedTrafficSelectors?: boolean; virtualNetworkGateway1: VirtualNetworkGatewayOutput; @@ -32441,24 +31395,18 @@ export interface VirtualNetworkGatewayConnectionsCreateOrUpdateQueryParamPropert // @public export interface VirtualNetworkGatewayConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualNetworkGatewayConnectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualNetworkGatewayConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -32516,8 +31464,6 @@ export interface VirtualNetworkGatewayConnectionsGetIkeSas200Response extends Ht // @public export interface VirtualNetworkGatewayConnectionsGetIkeSas202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -32630,8 +31576,6 @@ export interface VirtualNetworkGatewayConnectionsResetConnection { // @public export interface VirtualNetworkGatewayConnectionsResetConnection202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -32673,8 +31617,6 @@ export interface VirtualNetworkGatewayConnectionsResetSharedKey200Response exten // @public export interface VirtualNetworkGatewayConnectionsResetSharedKey202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -32780,8 +31722,6 @@ export interface VirtualNetworkGatewayConnectionsStartPacketCapture200Response e // @public export interface VirtualNetworkGatewayConnectionsStartPacketCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -32833,8 +31773,6 @@ export interface VirtualNetworkGatewayConnectionsStopPacketCapture200Response ex // @public export interface VirtualNetworkGatewayConnectionsStopPacketCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -32881,8 +31819,6 @@ export interface VirtualNetworkGatewayConnectionsUpdateTags200Response extends H // @public export interface VirtualNetworkGatewayConnectionsUpdateTags202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -32921,62 +31857,57 @@ export interface VirtualNetworkGatewayConnectionsUpdateTagsQueryParamProperties // @public export interface VirtualNetworkGatewayIPConfiguration extends SubResource { - etag?: string; name?: string; properties?: VirtualNetworkGatewayIPConfigurationPropertiesFormat; } // @public export interface VirtualNetworkGatewayIPConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VirtualNetworkGatewayIPConfigurationPropertiesFormatOutput; } // @public export interface VirtualNetworkGatewayIPConfigurationPropertiesFormat { - privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: SubResource; subnet?: SubResource; } // @public export interface VirtualNetworkGatewayIPConfigurationPropertiesFormatOutput { - privateIPAddress?: string; + readonly privateIPAddress?: string; privateIPAllocationMethod?: "Static" | "Dynamic"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicIPAddress?: SubResourceOutput; subnet?: SubResourceOutput; } // @public export interface VirtualNetworkGatewayListConnectionsResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface VirtualNetworkGatewayListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } // @public export interface VirtualNetworkGatewayNatRule extends SubResource { - etag?: string; name?: string; properties?: VirtualNetworkGatewayNatRuleProperties; - type?: string; } // @public export interface VirtualNetworkGatewayNatRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VirtualNetworkGatewayNatRulePropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -32985,7 +31916,6 @@ export interface VirtualNetworkGatewayNatRuleProperties { internalMappings?: Array; ipConfigurationId?: string; mode?: "EgressSnat" | "IngressSnat"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; type?: "Static" | "Dynamic"; } @@ -32995,7 +31925,7 @@ export interface VirtualNetworkGatewayNatRulePropertiesOutput { internalMappings?: Array; ipConfigurationId?: string; mode?: "EgressSnat" | "IngressSnat"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; type?: "Static" | "Dynamic"; } @@ -33049,24 +31979,18 @@ export interface VirtualNetworkGatewayNatRulesCreateOrUpdateQueryParamProperties // @public export interface VirtualNetworkGatewayNatRulesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualNetworkGatewayNatRulesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualNetworkGatewayNatRulesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -33167,14 +32091,13 @@ export interface VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayQueryPa // @public export interface VirtualNetworkGatewayOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties: VirtualNetworkGatewayPropertiesFormatOutput; } // @public export interface VirtualNetworkGatewayPolicyGroup extends SubResource { - etag?: string; name?: string; properties?: VirtualNetworkGatewayPolicyGroupProperties; } @@ -33195,7 +32118,7 @@ export interface VirtualNetworkGatewayPolicyGroupMemberOutput { // @public export interface VirtualNetworkGatewayPolicyGroupOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VirtualNetworkGatewayPolicyGroupPropertiesOutput; } @@ -33205,8 +32128,6 @@ export interface VirtualNetworkGatewayPolicyGroupProperties { isDefault: boolean; policyMembers: Array; priority: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - vngClientConnectionConfigurations?: Array; } // @public @@ -33214,8 +32135,8 @@ export interface VirtualNetworkGatewayPolicyGroupPropertiesOutput { isDefault: boolean; policyMembers: Array; priority: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - vngClientConnectionConfigurations?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly vngClientConnectionConfigurations?: Array; } // @public @@ -33230,11 +32151,8 @@ export interface VirtualNetworkGatewayPropertiesFormat { enablePrivateIpAddress?: boolean; gatewayDefaultSite?: SubResource; gatewayType?: "Vpn" | "ExpressRoute" | "LocalGateway"; - inboundDnsForwardingEndpoint?: string; ipConfigurations?: Array; natRules?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; sku?: VirtualNetworkGatewaySku; virtualNetworkGatewayPolicyGroups?: Array; vNetExtendedLocationResourceId?: string; @@ -33255,11 +32173,11 @@ export interface VirtualNetworkGatewayPropertiesFormatOutput { enablePrivateIpAddress?: boolean; gatewayDefaultSite?: SubResourceOutput; gatewayType?: "Vpn" | "ExpressRoute" | "LocalGateway"; - inboundDnsForwardingEndpoint?: string; + readonly inboundDnsForwardingEndpoint?: string; ipConfigurations?: Array; natRules?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; sku?: VirtualNetworkGatewaySkuOutput; virtualNetworkGatewayPolicyGroups?: Array; vNetExtendedLocationResourceId?: string; @@ -33326,24 +32244,18 @@ export interface VirtualNetworkGatewaysCreateOrUpdateQueryParamProperties { // @public export interface VirtualNetworkGatewaysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualNetworkGatewaysDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualNetworkGatewaysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -33377,16 +32289,12 @@ export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnect // @public export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnections202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33438,8 +32346,6 @@ export interface VirtualNetworkGatewaysGeneratevpnclientpackage200Response exten // @public export interface VirtualNetworkGatewaysGeneratevpnclientpackage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33491,8 +32397,6 @@ export interface VirtualNetworkGatewaysGenerateVpnProfile200Response extends Htt // @public export interface VirtualNetworkGatewaysGenerateVpnProfile202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33552,8 +32456,6 @@ export interface VirtualNetworkGatewaysGetAdvertisedRoutes200Response extends Ht // @public export interface VirtualNetworkGatewaysGetAdvertisedRoutes202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33596,8 +32498,6 @@ export interface VirtualNetworkGatewaysGetBgpPeerStatus200Response extends HttpR // @public export interface VirtualNetworkGatewaysGetBgpPeerStatus202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33648,8 +32548,6 @@ export interface VirtualNetworkGatewaysGetLearnedRoutes200Response extends HttpR // @public export interface VirtualNetworkGatewaysGetLearnedRoutes202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33705,8 +32603,6 @@ export interface VirtualNetworkGatewaysGetVpnclientConnectionHealth200Response e // @public export interface VirtualNetworkGatewaysGetVpnclientConnectionHealth202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33783,8 +32679,6 @@ export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl200Response extend // @public export interface VirtualNetworkGatewaysGetVpnProfilePackageUrl202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33813,14 +32707,13 @@ export interface VirtualNetworkGatewaysGetVpnProfilePackageUrlQueryParamProperti // @public export interface VirtualNetworkGatewaySku { - capacity?: number; name?: "Basic" | "HighPerformance" | "Standard" | "UltraPerformance" | "VpnGw1" | "VpnGw2" | "VpnGw3" | "VpnGw4" | "VpnGw5" | "VpnGw1AZ" | "VpnGw2AZ" | "VpnGw3AZ" | "VpnGw4AZ" | "VpnGw5AZ" | "ErGw1AZ" | "ErGw2AZ" | "ErGw3AZ"; tier?: "Basic" | "HighPerformance" | "Standard" | "UltraPerformance" | "VpnGw1" | "VpnGw2" | "VpnGw3" | "VpnGw4" | "VpnGw5" | "VpnGw1AZ" | "VpnGw2AZ" | "VpnGw3AZ" | "VpnGw4AZ" | "VpnGw5AZ" | "ErGw1AZ" | "ErGw2AZ" | "ErGw3AZ"; } // @public export interface VirtualNetworkGatewaySkuOutput { - capacity?: number; + readonly capacity?: number; name?: "Basic" | "HighPerformance" | "Standard" | "UltraPerformance" | "VpnGw1" | "VpnGw2" | "VpnGw3" | "VpnGw4" | "VpnGw5" | "VpnGw1AZ" | "VpnGw2AZ" | "VpnGw3AZ" | "VpnGw4AZ" | "VpnGw5AZ" | "ErGw1AZ" | "ErGw2AZ" | "ErGw3AZ"; tier?: "Basic" | "HighPerformance" | "Standard" | "UltraPerformance" | "VpnGw1" | "VpnGw2" | "VpnGw3" | "VpnGw4" | "VpnGw5" | "VpnGw1AZ" | "VpnGw2AZ" | "VpnGw3AZ" | "VpnGw4AZ" | "VpnGw5AZ" | "ErGw1AZ" | "ErGw2AZ" | "ErGw3AZ"; } @@ -33910,8 +32803,6 @@ export interface VirtualNetworkGatewaysReset200Response extends HttpResponse { // @public export interface VirtualNetworkGatewaysReset202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33946,16 +32837,12 @@ export interface VirtualNetworkGatewaysResetVpnClientSharedKey { // @public export interface VirtualNetworkGatewaysResetVpnClientSharedKey200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualNetworkGatewaysResetVpnClientSharedKey202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -33997,8 +32884,6 @@ export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters200Response ex // @public export interface VirtualNetworkGatewaysSetVpnclientIpsecParameters202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -34050,8 +32935,6 @@ export interface VirtualNetworkGatewaysStartPacketCapture200Response extends Htt // @public export interface VirtualNetworkGatewaysStartPacketCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -34103,8 +32986,6 @@ export interface VirtualNetworkGatewaysStopPacketCapture200Response extends Http // @public export interface VirtualNetworkGatewaysStopPacketCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -34186,8 +33067,6 @@ export interface VirtualNetworkGatewaysUpdateTags200Response extends HttpRespons // @public export interface VirtualNetworkGatewaysUpdateTags202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -34278,19 +33157,18 @@ export interface VirtualNetworkListResultOutput { // @public export interface VirtualNetworkListUsageResultOutput { nextLink?: string; - value?: Array; + readonly value?: Array; } // @public export interface VirtualNetworkOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; extendedLocation?: ExtendedLocationOutput; properties?: VirtualNetworkPropertiesFormatOutput; } // @public export interface VirtualNetworkPeering extends SubResource { - etag?: string; name?: string; properties?: VirtualNetworkPeeringPropertiesFormat; type?: string; @@ -34304,7 +33182,7 @@ export interface VirtualNetworkPeeringListResultOutput { // @public export interface VirtualNetworkPeeringOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VirtualNetworkPeeringPropertiesFormatOutput; type?: string; @@ -34318,13 +33196,10 @@ export interface VirtualNetworkPeeringPropertiesFormat { doNotVerifyRemoteGateways?: boolean; peeringState?: "Initiated" | "Connected" | "Disconnected"; peeringSyncLevel?: "FullyInSync" | "RemoteNotInSync" | "LocalNotInSync" | "LocalAndRemoteNotInSync"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; remoteAddressSpace?: AddressSpace; remoteBgpCommunities?: VirtualNetworkBgpCommunities; remoteVirtualNetwork?: SubResource; remoteVirtualNetworkAddressSpace?: AddressSpace; - remoteVirtualNetworkEncryption?: VirtualNetworkEncryption; - resourceGuid?: string; useRemoteGateways?: boolean; } @@ -34336,13 +33211,13 @@ export interface VirtualNetworkPeeringPropertiesFormatOutput { doNotVerifyRemoteGateways?: boolean; peeringState?: "Initiated" | "Connected" | "Disconnected"; peeringSyncLevel?: "FullyInSync" | "RemoteNotInSync" | "LocalNotInSync" | "LocalAndRemoteNotInSync"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; remoteAddressSpace?: AddressSpaceOutput; remoteBgpCommunities?: VirtualNetworkBgpCommunitiesOutput; remoteVirtualNetwork?: SubResourceOutput; remoteVirtualNetworkAddressSpace?: AddressSpaceOutput; - remoteVirtualNetworkEncryption?: VirtualNetworkEncryptionOutput; - resourceGuid?: string; + readonly remoteVirtualNetworkEncryption?: VirtualNetworkEncryptionOutput; + readonly resourceGuid?: string; useRemoteGateways?: boolean; } @@ -34404,24 +33279,18 @@ export interface VirtualNetworkPeeringsDelete { // @public export interface VirtualNetworkPeeringsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualNetworkPeeringsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualNetworkPeeringsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -34524,8 +33393,6 @@ export interface VirtualNetworkPropertiesFormat { encryption?: VirtualNetworkEncryption; flowTimeoutInMinutes?: number; ipAllocations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; subnets?: Array; virtualNetworkPeerings?: Array; } @@ -34541,8 +33408,8 @@ export interface VirtualNetworkPropertiesFormatOutput { encryption?: VirtualNetworkEncryptionOutput; flowTimeoutInMinutes?: number; ipAllocations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; subnets?: Array; virtualNetworkPeerings?: Array; } @@ -34641,24 +33508,18 @@ export interface VirtualNetworksDelete { // @public export interface VirtualNetworksDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualNetworksDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualNetworksDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -34779,8 +33640,6 @@ export interface VirtualNetworksListDdosProtectionStatus200Response extends Http // @public export interface VirtualNetworksListDdosProtectionStatus202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -34908,7 +33767,6 @@ export interface VirtualNetworksUpdateTagsQueryParamProperties { // @public export interface VirtualNetworkTap extends Resource { - etag?: string; properties?: VirtualNetworkTapPropertiesFormat; } @@ -34920,7 +33778,7 @@ export interface VirtualNetworkTapListResultOutput { // @public export interface VirtualNetworkTapOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: VirtualNetworkTapPropertiesFormatOutput; } @@ -34929,9 +33787,6 @@ export interface VirtualNetworkTapPropertiesFormat { destinationLoadBalancerFrontEndIPConfiguration?: FrontendIPConfiguration; destinationNetworkInterfaceIPConfiguration?: NetworkInterfaceIPConfiguration; destinationPort?: number; - networkInterfaceTapConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; } // @public @@ -34939,9 +33794,9 @@ export interface VirtualNetworkTapPropertiesFormatOutput { destinationLoadBalancerFrontEndIPConfiguration?: FrontendIPConfigurationOutput; destinationNetworkInterfaceIPConfiguration?: NetworkInterfaceIPConfigurationOutput; destinationPort?: number; - networkInterfaceTapConfigurations?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceGuid?: string; + readonly networkInterfaceTapConfigurations?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceGuid?: string; } // @public @@ -35002,24 +33857,18 @@ export interface VirtualNetworkTapsDelete { // @public export interface VirtualNetworkTapsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualNetworkTapsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualNetworkTapsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -35188,22 +34037,21 @@ export interface VirtualNetworkTapsUpdateTagsQueryParamProperties { // @public export interface VirtualNetworkUsageNameOutput { - localizedValue?: string; - value?: string; + readonly localizedValue?: string; + readonly value?: string; } // @public export interface VirtualNetworkUsageOutput { - currentValue?: number; - id?: string; - limit?: number; - name?: VirtualNetworkUsageNameOutput; - unit?: string; + readonly currentValue?: number; + readonly id?: string; + readonly limit?: number; + readonly name?: VirtualNetworkUsageNameOutput; + readonly unit?: string; } // @public export interface VirtualRouter extends Resource { - etag?: string; properties?: VirtualRouterPropertiesFormat; } @@ -35225,16 +34073,14 @@ export interface VirtualRouterListResultOutput { // @public export interface VirtualRouterOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: VirtualRouterPropertiesFormatOutput; } // @public export interface VirtualRouterPeering extends SubResource { - etag?: string; name?: string; properties?: VirtualRouterPeeringProperties; - type?: string; } // @public @@ -35245,24 +34091,23 @@ export interface VirtualRouterPeeringListResultOutput { // @public export interface VirtualRouterPeeringOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VirtualRouterPeeringPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface VirtualRouterPeeringProperties { peerAsn?: number; peerIp?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface VirtualRouterPeeringPropertiesOutput { peerAsn?: number; peerIp?: string; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -35322,24 +34167,18 @@ export interface VirtualRouterPeeringsDelete { // @public export interface VirtualRouterPeeringsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualRouterPeeringsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualRouterPeeringsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -35435,8 +34274,6 @@ export interface VirtualRouterPeeringsListQueryParamProperties { export interface VirtualRouterPropertiesFormat { hostedGateway?: SubResource; hostedSubnet?: SubResource; - peerings?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualRouterAsn?: number; virtualRouterIps?: Array; } @@ -35445,8 +34282,8 @@ export interface VirtualRouterPropertiesFormat { export interface VirtualRouterPropertiesFormatOutput { hostedGateway?: SubResourceOutput; hostedSubnet?: SubResourceOutput; - peerings?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly peerings?: Array; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualRouterAsn?: number; virtualRouterIps?: Array; } @@ -35508,24 +34345,18 @@ export interface VirtualRoutersDelete { // @public export interface VirtualRoutersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualRoutersDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualRoutersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -35655,13 +34486,12 @@ export interface VirtualRoutersListQueryParamProperties { // @public export interface VirtualWAN extends Resource { - etag?: string; properties?: VirtualWanProperties; } // @public export interface VirtualWANOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: VirtualWanPropertiesOutput; } @@ -35670,11 +34500,7 @@ export interface VirtualWanProperties { allowBranchToBranchTraffic?: boolean; allowVnetToVnetTraffic?: boolean; disableVpnEncryption?: boolean; - office365LocalBreakoutCategory?: "Optimize" | "OptimizeAndAllow" | "All" | "None"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; type?: string; - virtualHubs?: Array; - vpnSites?: Array; } // @public @@ -35682,11 +34508,11 @@ export interface VirtualWanPropertiesOutput { allowBranchToBranchTraffic?: boolean; allowVnetToVnetTraffic?: boolean; disableVpnEncryption?: boolean; - office365LocalBreakoutCategory?: "Optimize" | "OptimizeAndAllow" | "All" | "None"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly office365LocalBreakoutCategory?: "Optimize" | "OptimizeAndAllow" | "All" | "None"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; type?: string; - virtualHubs?: Array; - vpnSites?: Array; + readonly virtualHubs?: Array; + readonly vpnSites?: Array; } // @public @@ -35739,24 +34565,18 @@ export interface VirtualWansCreateOrUpdateQueryParamProperties { // @public export interface VirtualWansDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualWansDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualWansDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -35786,7 +34606,7 @@ export interface VirtualWansDeleteQueryParamProperties { // @public export interface VirtualWanSecurityProviderOutput { name?: string; - type?: "External" | "Native"; + readonly type?: "External" | "Native"; url?: string; } @@ -35959,42 +34779,39 @@ export interface VmOutput extends ResourceOutput { // @public export interface VnetRoute { - bgpConnections?: Array; staticRoutes?: Array; staticRoutesConfig?: StaticRoutesConfig; } // @public export interface VnetRouteOutput { - bgpConnections?: Array; + readonly bgpConnections?: Array; staticRoutes?: Array; staticRoutesConfig?: StaticRoutesConfigOutput; } // @public export interface VngClientConnectionConfiguration extends SubResource { - etag?: string; name?: string; properties?: VngClientConnectionConfigurationProperties; } // @public export interface VngClientConnectionConfigurationOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VngClientConnectionConfigurationPropertiesOutput; } // @public export interface VngClientConnectionConfigurationProperties { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualNetworkGatewayPolicyGroups: Array; vpnClientAddressPool: AddressSpace; } // @public export interface VngClientConnectionConfigurationPropertiesOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualNetworkGatewayPolicyGroups: Array; vpnClientAddressPool: AddressSpaceOutput; } @@ -36036,8 +34853,6 @@ export interface VpnClientConfigurationOutput { // @public export interface VpnClientConnectionHealth { allocatedIpAddresses?: Array; - totalEgressBytesTransferred?: number; - totalIngressBytesTransferred?: number; vpnClientConnectionsCount?: number; } @@ -36048,25 +34863,25 @@ export interface VpnClientConnectionHealthDetailListResultOutput { // @public export interface VpnClientConnectionHealthDetailOutput { - egressBytesTransferred?: number; - egressPacketsTransferred?: number; - ingressBytesTransferred?: number; - ingressPacketsTransferred?: number; - maxBandwidth?: number; - maxPacketsPerSecond?: number; - privateIpAddress?: string; - publicIpAddress?: string; - vpnConnectionDuration?: number; - vpnConnectionId?: string; - vpnConnectionTime?: string; - vpnUserName?: string; + readonly egressBytesTransferred?: number; + readonly egressPacketsTransferred?: number; + readonly ingressBytesTransferred?: number; + readonly ingressPacketsTransferred?: number; + readonly maxBandwidth?: number; + readonly maxPacketsPerSecond?: number; + readonly privateIpAddress?: string; + readonly publicIpAddress?: string; + readonly vpnConnectionDuration?: number; + readonly vpnConnectionId?: string; + readonly vpnConnectionTime?: string; + readonly vpnUserName?: string; } // @public export interface VpnClientConnectionHealthOutput { allocatedIpAddresses?: Array; - totalEgressBytesTransferred?: number; - totalIngressBytesTransferred?: number; + readonly totalEgressBytesTransferred?: number; + readonly totalIngressBytesTransferred?: number; vpnClientConnectionsCount?: number; } @@ -36104,66 +34919,61 @@ export interface VpnClientParameters { // @public export interface VpnClientRevokedCertificate extends SubResource { - etag?: string; name?: string; properties?: VpnClientRevokedCertificatePropertiesFormat; } // @public export interface VpnClientRevokedCertificateOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VpnClientRevokedCertificatePropertiesFormatOutput; } // @public export interface VpnClientRevokedCertificatePropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; thumbprint?: string; } // @public export interface VpnClientRevokedCertificatePropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; thumbprint?: string; } // @public export interface VpnClientRootCertificate extends SubResource { - etag?: string; name?: string; properties: VpnClientRootCertificatePropertiesFormat; } // @public export interface VpnClientRootCertificateOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties: VpnClientRootCertificatePropertiesFormatOutput; } // @public export interface VpnClientRootCertificatePropertiesFormat { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicCertData: string; } // @public export interface VpnClientRootCertificatePropertiesFormatOutput { - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; publicCertData: string; } // @public export interface VpnConnection extends SubResource { - etag?: string; name?: string; properties?: VpnConnectionProperties; } // @public export interface VpnConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VpnConnectionPropertiesOutput; } @@ -36183,15 +34993,11 @@ export interface VpnConnectionPacketCaptureStopParameters { // @public export interface VpnConnectionProperties { connectionBandwidth?: number; - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; dpdTimeoutSeconds?: number; - egressBytesTransferred?: number; enableBgp?: boolean; enableInternetSecurity?: boolean; enableRateLimiting?: boolean; - ingressBytesTransferred?: number; ipsecPolicies?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; remoteVpnSite?: SubResource; routingConfiguration?: RoutingConfiguration; routingWeight?: number; @@ -36206,15 +35012,15 @@ export interface VpnConnectionProperties { // @public export interface VpnConnectionPropertiesOutput { connectionBandwidth?: number; - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; dpdTimeoutSeconds?: number; - egressBytesTransferred?: number; + readonly egressBytesTransferred?: number; enableBgp?: boolean; enableInternetSecurity?: boolean; enableRateLimiting?: boolean; - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; ipsecPolicies?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; remoteVpnSite?: SubResourceOutput; routingConfiguration?: RoutingConfigurationOutput; routingWeight?: number; @@ -36276,24 +35082,18 @@ export interface VpnConnectionsCreateOrUpdateQueryParamProperties { // @public export interface VpnConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VpnConnectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VpnConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -36407,8 +35207,6 @@ export interface VpnConnectionsStartPacketCapture200Response extends HttpRespons // @public export interface VpnConnectionsStartPacketCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -36460,8 +35258,6 @@ export interface VpnConnectionsStopPacketCapture200Response extends HttpResponse // @public export interface VpnConnectionsStopPacketCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -36507,7 +35303,6 @@ export interface VpnDeviceScriptParameters { // @public export interface VpnGateway extends Resource { - etag?: string; properties?: VpnGatewayProperties; } @@ -36527,47 +35322,42 @@ export interface VpnGatewayIpConfigurationOutput { // @public export interface VpnGatewayNatRule extends SubResource { - etag?: string; name?: string; properties?: VpnGatewayNatRuleProperties; - type?: string; } // @public export interface VpnGatewayNatRuleOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VpnGatewayNatRulePropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface VpnGatewayNatRuleProperties { - egressVpnSiteLinkConnections?: Array; externalMappings?: Array; - ingressVpnSiteLinkConnections?: Array; internalMappings?: Array; ipConfigurationId?: string; mode?: "EgressSnat" | "IngressSnat"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; type?: "Static" | "Dynamic"; } // @public export interface VpnGatewayNatRulePropertiesOutput { - egressVpnSiteLinkConnections?: Array; + readonly egressVpnSiteLinkConnections?: Array; externalMappings?: Array; - ingressVpnSiteLinkConnections?: Array; + readonly ingressVpnSiteLinkConnections?: Array; internalMappings?: Array; ipConfigurationId?: string; mode?: "EgressSnat" | "IngressSnat"; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; type?: "Static" | "Dynamic"; } // @public export interface VpnGatewayOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: VpnGatewayPropertiesOutput; } @@ -36586,10 +35376,8 @@ export interface VpnGatewayProperties { bgpSettings?: BgpSettings; connections?: Array; enableBgpRouteTranslationForNat?: boolean; - ipConfigurations?: Array; isRoutingPreferenceInternet?: boolean; natRules?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualHub?: SubResource; vpnGatewayScaleUnit?: number; } @@ -36599,10 +35387,10 @@ export interface VpnGatewayPropertiesOutput { bgpSettings?: BgpSettingsOutput; connections?: Array; enableBgpRouteTranslationForNat?: boolean; - ipConfigurations?: Array; + readonly ipConfigurations?: Array; isRoutingPreferenceInternet?: boolean; natRules?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; virtualHub?: SubResourceOutput; vpnGatewayScaleUnit?: number; } @@ -36657,24 +35445,18 @@ export interface VpnGatewaysCreateOrUpdateQueryParamProperties { // @public export interface VpnGatewaysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VpnGatewaysDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VpnGatewaysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -36824,8 +35606,6 @@ export interface VpnGatewaysReset200Response extends HttpResponse { // @public export interface VpnGatewaysReset202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -36867,8 +35647,6 @@ export interface VpnGatewaysStartPacketCapture200Response extends HttpResponse { // @public export interface VpnGatewaysStartPacketCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -36920,8 +35698,6 @@ export interface VpnGatewaysStopPacketCapture200Response extends HttpResponse { // @public export interface VpnGatewaysStopPacketCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -36968,8 +35744,6 @@ export interface VpnGatewaysUpdateTags200Response extends HttpResponse { // @public export interface VpnGatewaysUpdateTags202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -37033,8 +35807,6 @@ export interface VpnLinkConnectionsGetIkeSas200Response extends HttpResponse { // @public export interface VpnLinkConnectionsGetIkeSas202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -37103,8 +35875,6 @@ export interface VpnLinkConnectionsResetConnection { // @public export interface VpnLinkConnectionsResetConnection202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -37196,22 +35966,19 @@ export interface VpnServerConfigRadiusServerRootCertificateOutput { // @public export interface VpnServerConfiguration extends Resource { - etag?: string; properties?: VpnServerConfigurationProperties; } // @public export interface VpnServerConfigurationOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: VpnServerConfigurationPropertiesOutput; } // @public export interface VpnServerConfigurationPolicyGroup extends SubResource { - etag?: string; name?: string; properties?: VpnServerConfigurationPolicyGroupProperties; - type?: string; } // @public @@ -37230,38 +35997,33 @@ export interface VpnServerConfigurationPolicyGroupMemberOutput { // @public export interface VpnServerConfigurationPolicyGroupOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VpnServerConfigurationPolicyGroupPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface VpnServerConfigurationPolicyGroupProperties { isDefault?: boolean; - p2SConnectionConfigurations?: Array; policyMembers?: Array; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface VpnServerConfigurationPolicyGroupPropertiesOutput { isDefault?: boolean; - p2SConnectionConfigurations?: Array; + readonly p2SConnectionConfigurations?: Array; policyMembers?: Array; priority?: number; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public export interface VpnServerConfigurationProperties { aadAuthenticationParameters?: AadAuthenticationParameters; configurationPolicyGroups?: Array; - etag?: string; name?: string; - p2SVpnGateways?: Array; - provisioningState?: string; radiusClientRootCertificates?: Array; radiusServerAddress?: string; radiusServerRootCertificates?: Array; @@ -37278,10 +36040,10 @@ export interface VpnServerConfigurationProperties { export interface VpnServerConfigurationPropertiesOutput { aadAuthenticationParameters?: AadAuthenticationParametersOutput; configurationPolicyGroups?: Array; - etag?: string; + readonly etag?: string; name?: string; - p2SVpnGateways?: Array; - provisioningState?: string; + readonly p2SVpnGateways?: Array; + readonly provisioningState?: string; radiusClientRootCertificates?: Array; radiusServerAddress?: string; radiusServerRootCertificates?: Array; @@ -37309,8 +36071,6 @@ export interface VpnServerConfigurationsAssociatedWithVirtualWanList200Response // @public export interface VpnServerConfigurationsAssociatedWithVirtualWanList202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -37387,24 +36147,18 @@ export interface VpnServerConfigurationsCreateOrUpdateQueryParamProperties { // @public export interface VpnServerConfigurationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VpnServerConfigurationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VpnServerConfigurationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -37610,46 +36364,37 @@ export interface VpnServerConfigVpnClientRootCertificateOutput { // @public export interface VpnSite extends Resource { - etag?: string; properties?: VpnSiteProperties; } // @public export interface VpnSiteLink extends SubResource { - etag?: string; name?: string; properties?: VpnSiteLinkProperties; - type?: string; } // @public export interface VpnSiteLinkConnection extends SubResource { - etag?: string; name?: string; properties?: VpnSiteLinkConnectionProperties; - type?: string; } // @public export interface VpnSiteLinkConnectionOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VpnSiteLinkConnectionPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface VpnSiteLinkConnectionProperties { connectionBandwidth?: number; - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; - egressBytesTransferred?: number; egressNatRules?: Array; enableBgp?: boolean; enableRateLimiting?: boolean; - ingressBytesTransferred?: number; ingressNatRules?: Array; ipsecPolicies?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routingWeight?: number; sharedKey?: string; useLocalAzureIpAddress?: boolean; @@ -37663,15 +36408,15 @@ export interface VpnSiteLinkConnectionProperties { // @public export interface VpnSiteLinkConnectionPropertiesOutput { connectionBandwidth?: number; - connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; - egressBytesTransferred?: number; + readonly connectionStatus?: "Unknown" | "Connecting" | "Connected" | "NotConnected"; + readonly egressBytesTransferred?: number; egressNatRules?: Array; enableBgp?: boolean; enableRateLimiting?: boolean; - ingressBytesTransferred?: number; + readonly ingressBytesTransferred?: number; ingressNatRules?: Array; ipsecPolicies?: Array; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; routingWeight?: number; sharedKey?: string; useLocalAzureIpAddress?: boolean; @@ -37719,10 +36464,10 @@ export interface VpnSiteLinkConnectionsGetQueryParamProperties { // @public export interface VpnSiteLinkOutput extends SubResourceOutput { - etag?: string; + readonly etag?: string; name?: string; properties?: VpnSiteLinkPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -37731,7 +36476,6 @@ export interface VpnSiteLinkProperties { fqdn?: string; ipAddress?: string; linkProperties?: VpnLinkProviderProperties; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public @@ -37740,7 +36484,7 @@ export interface VpnSiteLinkPropertiesOutput { fqdn?: string; ipAddress?: string; linkProperties?: VpnLinkProviderPropertiesOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; } // @public (undocumented) @@ -37815,7 +36559,7 @@ export interface VpnSiteLinksListByVpnSiteQueryParamProperties { // @public export interface VpnSiteOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: VpnSitePropertiesOutput; } @@ -37827,7 +36571,6 @@ export interface VpnSiteProperties { ipAddress?: string; isSecuritySite?: boolean; o365Policy?: O365PolicyProperties; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; siteKey?: string; virtualWan?: SubResource; vpnSiteLinks?: Array; @@ -37841,7 +36584,7 @@ export interface VpnSitePropertiesOutput { ipAddress?: string; isSecuritySite?: boolean; o365Policy?: O365PolicyPropertiesOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; siteKey?: string; virtualWan?: SubResourceOutput; vpnSiteLinks?: Array; @@ -37854,16 +36597,12 @@ export interface VpnSitesConfigurationDownload { // @public export interface VpnSitesConfigurationDownload200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VpnSitesConfigurationDownload202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -37950,24 +36689,18 @@ export interface VpnSitesCreateOrUpdateQueryParamProperties { // @public export interface VpnSitesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VpnSitesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VpnSitesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -38145,7 +36878,6 @@ export interface VpnSitesUpdateTagsQueryParamProperties { // @public export interface WebApplicationFirewallCustomRule { action: "Allow" | "Block" | "Log"; - etag?: string; matchConditions: Array; name?: string; priority: number; @@ -38155,7 +36887,7 @@ export interface WebApplicationFirewallCustomRule { // @public export interface WebApplicationFirewallCustomRuleOutput { action: "Allow" | "Block" | "Log"; - etag?: string; + readonly etag?: string; matchConditions: Array; name?: string; priority: number; @@ -38212,24 +36944,18 @@ export interface WebApplicationFirewallPoliciesCreateOrUpdateQueryParamPropertie // @public export interface WebApplicationFirewallPoliciesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebApplicationFirewallPoliciesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface WebApplicationFirewallPoliciesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -38365,44 +37091,38 @@ export interface WebApplicationFirewallPoliciesListQueryParamProperties { // @public export interface WebApplicationFirewallPolicy extends Resource { - etag?: string; properties?: WebApplicationFirewallPolicyPropertiesFormat; } // @public export interface WebApplicationFirewallPolicyListResultOutput { - nextLink?: string; - value?: Array; + readonly nextLink?: string; + readonly value?: Array; } // @public export interface WebApplicationFirewallPolicyOutput extends ResourceOutput { - etag?: string; + readonly etag?: string; properties?: WebApplicationFirewallPolicyPropertiesFormatOutput; } // @public export interface WebApplicationFirewallPolicyPropertiesFormat { - applicationGateways?: Array; customRules?: Array; - httpListeners?: Array; managedRules: ManagedRulesDefinition; - pathBasedRules?: Array; policySettings?: PolicySettings; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceState?: "Creating" | "Enabling" | "Enabled" | "Disabling" | "Disabled" | "Deleting"; } // @public export interface WebApplicationFirewallPolicyPropertiesFormatOutput { - applicationGateways?: Array; + readonly applicationGateways?: Array; customRules?: Array; - httpListeners?: Array; + readonly httpListeners?: Array; managedRules: ManagedRulesDefinitionOutput; - pathBasedRules?: Array; + readonly pathBasedRules?: Array; policySettings?: PolicySettingsOutput; - provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; - resourceState?: "Creating" | "Enabling" | "Enabled" | "Disabling" | "Disabled" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"; + readonly resourceState?: "Creating" | "Enabling" | "Enabled" | "Disabling" | "Disabled" | "Deleting"; } // @public (undocumented) diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/README.md b/sdk/network/arm-network-rest/samples/v1-beta/javascript/README.md index ebd258c51934..10ce81e61ed0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/README.md +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/README.md @@ -1269,6 +1269,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [webapplicationfirewallpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListSample.js [webcategoriesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesGetSample.js [webcategorieslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesListBySubscriptionSample.js -[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview +[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network-rest/README.md diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsCreateOrUpdateSample.js index 2e15cdf7518f..af782eb40f2d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an admin rule collection. @@ -42,7 +42,7 @@ async function createOrUpdateAnAdminRuleCollection() { resourceGroupName, networkManagerName, configurationName, - ruleCollectionName + ruleCollectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsDeleteSample.js index 8f141987006b..ae3a992389ea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes an admin rule collection. @@ -32,10 +32,10 @@ async function deletesAnAdminRuleCollection() { resourceGroupName, networkManagerName, configurationName, - ruleCollectionName + ruleCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsGetSample.js index e6857b10dd94..876d70e979c0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a network manager security admin configuration rule collection. @@ -31,7 +31,7 @@ async function getsSecurityAdminRuleCollection() { resourceGroupName, networkManagerName, configurationName, - ruleCollectionName + ruleCollectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsListSample.js index eb41bf841afb..dd2ad5e97cf5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRuleCollectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the rule collections in a security admin configuration, in a paginated format. @@ -30,7 +30,7 @@ async function listSecurityAdminRuleCollections() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesCreateOrUpdateSample.js index 87d3010cd50f..5b36b83a5f8c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an admin rule. @@ -34,7 +34,7 @@ async function createADefaultAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .put(options); console.log(result); @@ -81,7 +81,7 @@ async function createAnAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesDeleteSample.js index 0667f589f98e..80e73f92b1e0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes an admin rule. @@ -34,10 +34,10 @@ async function deletesAnAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesGetSample.js index 54f2a9576d69..5f0e76920b88 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a network manager security configuration admin rule. @@ -33,7 +33,7 @@ async function getsSecurityAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .get(options); console.log(result); @@ -66,7 +66,7 @@ async function getsSecurityDefaultAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesListSample.js index dc8b07aeaf23..5bed4b363915 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/adminRulesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all network manager security configuration admin rules. @@ -32,7 +32,7 @@ async function listSecurityAdminRules() { resourceGroupName, networkManagerName, configurationName, - ruleCollectionName + ruleCollectionName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsDeleteSample.js index a3b4064d8208..446bd30ea19c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified private endpoint connection on application gateway. @@ -30,10 +30,10 @@ async function deleteApplicationGatewayPrivateEndpointConnection() { subscriptionId, resourceGroupName, applicationGatewayName, - connectionName + connectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsGetSample.js index f4fc5ea2bd2b..5dff0b8bd473 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified private endpoint connection on application gateway. @@ -29,7 +29,7 @@ async function getApplicationGatewayPrivateEndpointConnection() { subscriptionId, resourceGroupName, applicationGatewayName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsListSample.js index 4e277782ef98..0c78b59e917a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all private endpoint connections on an application gateway. @@ -28,7 +28,7 @@ async function listsAllPrivateEndpointConnectionsOnApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsUpdateSample.js index e75a0def40b1..d18cb348dd7f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateEndpointConnectionsUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates the specified private endpoint connection on application gateway. @@ -42,10 +42,10 @@ async function updateApplicationGatewayPrivateEndpointConnection() { subscriptionId, resourceGroupName, applicationGatewayName, - connectionName + connectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateLinkResourcesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateLinkResourcesListSample.js index a60d160e2777..3d335d2a37f1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateLinkResourcesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayPrivateLinkResourcesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all private link resources on an application gateway. @@ -28,7 +28,7 @@ async function listsAllPrivateLinkResourcesOnApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayWafDynamicManifestsDefaultGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayWafDynamicManifestsDefaultGetSample.js index 6ee4be89a1d8..51fa4377940e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayWafDynamicManifestsDefaultGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayWafDynamicManifestsDefaultGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the regional application gateway waf manifest. @@ -25,7 +25,7 @@ async function getsWafDefaultManifest() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests/dafault", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayWafDynamicManifestsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayWafDynamicManifestsGetSample.js index 0550e27959da..bff0ff0842a4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayWafDynamicManifestsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewayWafDynamicManifestsGetSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the regional application gateway waf manifest. @@ -26,7 +26,7 @@ async function getsWafManifests() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysBackendHealthOnDemandSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysBackendHealthOnDemandSample.js index 4017a569f81c..c702de7f9de5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysBackendHealthOnDemandSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysBackendHealthOnDemandSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. @@ -40,10 +40,10 @@ async function testBackendHealth() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysBackendHealthSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysBackendHealthSample.js index 77dc14079ac9..80114aca3c7d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysBackendHealthSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysBackendHealthSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the backend health of the specified application gateway in a resource group. @@ -28,10 +28,10 @@ async function getBackendHealth() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysCreateOrUpdateSample.js index a07db493b6b8..bf8fd5e84f9b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified application gateway. @@ -299,10 +299,10 @@ async function createApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysDeleteSample.js index 1f0e9ae22473..a6392df7dcbc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified application gateway. @@ -28,10 +28,10 @@ async function deleteApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysGetSample.js index df0af7d454f2..104b3fe2b82b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified application gateway. @@ -27,7 +27,7 @@ async function getApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysGetSslPredefinedPolicySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysGetSslPredefinedPolicySample.js index 294098a56b9f..ab285fa47c28 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysGetSslPredefinedPolicySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysGetSslPredefinedPolicySample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets Ssl predefined policy with the specified policy name. @@ -25,7 +25,7 @@ async function getAvailableSslPredefinedPolicyByName() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}", subscriptionId, - predefinedPolicyName + predefinedPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAllSample.js index 6971a4cf4964..1be3b1f76d62 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the application gateways in a subscription. @@ -24,7 +24,7 @@ async function listsAllApplicationGatewaysInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableRequestHeadersSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableRequestHeadersSample.js index 9b1d517cee6a..9ce0706cdcc7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableRequestHeadersSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableRequestHeadersSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all available request headers. @@ -23,7 +23,7 @@ async function getAvailableRequestHeaders() { const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableResponseHeadersSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableResponseHeadersSample.js index d67c08341f64..e3ed8cd35b00 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableResponseHeadersSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableResponseHeadersSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all available response headers. @@ -23,7 +23,7 @@ async function getAvailableResponseHeaders() { const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableServerVariablesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableServerVariablesSample.js index e1f6eb597117..853e06cdaf1a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableServerVariablesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableServerVariablesSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all available server variables. @@ -23,7 +23,7 @@ async function getAvailableServerVariables() { const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableSslOptionsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableSslOptionsSample.js index 4018bb61934b..ccd0688b6513 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableSslOptionsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableSslOptionsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists available Ssl options for configuring Ssl policy. @@ -23,7 +23,7 @@ async function getAvailableSslOptions() { const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableSslPredefinedPoliciesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableSslPredefinedPoliciesSample.js index cc9b845ec00f..44d6f16fe333 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableSslPredefinedPoliciesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableSslPredefinedPoliciesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all SSL predefined policies for configuring Ssl policy. @@ -24,7 +24,7 @@ async function getAvailableSslPredefinedPolicies() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableWafRuleSetsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableWafRuleSetsSample.js index a5295cf91c66..88d2ccd1e528 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableWafRuleSetsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListAvailableWafRuleSetsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all available web application firewall rule sets. @@ -23,7 +23,7 @@ async function getAvailableWafRuleSets() { const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListSample.js index 4d599927b752..c55c3e865adc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all application gateways in a resource group. @@ -26,7 +26,7 @@ async function listsAllApplicationGatewaysInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysStartSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysStartSample.js index af96b9e5edec..51a29b920765 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysStartSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysStartSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Starts the specified application gateway. @@ -28,10 +28,10 @@ async function startApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysStopSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysStopSample.js index 942373b0b53b..9937bc370655 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysStopSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysStopSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Stops the specified application gateway in a resource group. @@ -28,10 +28,10 @@ async function stopApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysUpdateTagsSample.js index 56a9fe0fefd2..5c886b21f2f4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationGatewaysUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates the specified application gateway tags. @@ -28,7 +28,7 @@ async function updateApplicationGatewayTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsCreateOrUpdateSample.js index bcba1a1babe5..a7cc7e76c154 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an application security group. @@ -29,10 +29,10 @@ async function createApplicationSecurityGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", subscriptionId, resourceGroupName, - applicationSecurityGroupName + applicationSecurityGroupName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsDeleteSample.js index 37e04cb1d4de..c41ec7706903 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified application security group. @@ -28,10 +28,10 @@ async function deleteApplicationSecurityGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", subscriptionId, resourceGroupName, - applicationSecurityGroupName + applicationSecurityGroupName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsGetSample.js index ac8cf4030cc4..3de881327266 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about the specified application security group. @@ -27,7 +27,7 @@ async function getApplicationSecurityGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", subscriptionId, resourceGroupName, - applicationSecurityGroupName + applicationSecurityGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsListAllSample.js index f6bbb1ce361c..c021a02a3790 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all application security groups in a subscription. @@ -24,7 +24,7 @@ async function listAllApplicationSecurityGroups() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsListSample.js index a08aee7ddef3..11c8f98b8927 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the application security groups in a resource group. @@ -26,7 +26,7 @@ async function listLoadBalancersInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsUpdateTagsSample.js index 4953d26b6167..c2bf9fe74f30 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/applicationSecurityGroupsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates an application security group's tags. @@ -28,7 +28,7 @@ async function updateApplicationSecurityGroupTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", subscriptionId, resourceGroupName, - applicationSecurityGroupName + applicationSecurityGroupName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableDelegationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableDelegationsListSample.js index 0b99ab14fa7b..777cc2201b03 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableDelegationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableDelegationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all of the available subnet delegations for this subscription in this region. @@ -26,7 +26,7 @@ async function getAvailableDelegations() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableEndpointServicesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableEndpointServicesListSample.js index 1ce874887c64..5a5e520ae753 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableEndpointServicesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableEndpointServicesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List what values of endpoint services are available for use. @@ -26,7 +26,7 @@ async function endpointServicesList() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availablePrivateEndpointTypesListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availablePrivateEndpointTypesListByResourceGroupSample.js index b14edd560da4..5952368aaaed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availablePrivateEndpointTypesListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availablePrivateEndpointTypesListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. @@ -28,7 +28,7 @@ async function getAvailablePrivateEndpointTypesInTheResourceGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", subscriptionId, resourceGroupName, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availablePrivateEndpointTypesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availablePrivateEndpointTypesListSample.js index 25826d550fd6..041dd5993f89 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availablePrivateEndpointTypesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availablePrivateEndpointTypesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. @@ -26,7 +26,7 @@ async function getAvailablePrivateEndpointTypes() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableResourceGroupDelegationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableResourceGroupDelegationsListSample.js index c72826452c22..386ee017b0e3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableResourceGroupDelegationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableResourceGroupDelegationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all of the available subnet delegations for this resource group in this region. @@ -28,7 +28,7 @@ async function getAvailableDelegationsInTheResourceGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations", subscriptionId, resourceGroupName, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableServiceAliasesListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableServiceAliasesListByResourceGroupSample.js index e69ba4cb4434..23629a54dbbd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableServiceAliasesListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableServiceAliasesListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all available service aliases for this resource group in this region. @@ -28,7 +28,7 @@ async function getAvailableServiceAliasesInTheResourceGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases", subscriptionId, resourceGroupName, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableServiceAliasesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableServiceAliasesListSample.js index 6d7f98c0fdfc..fff03f73da4a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableServiceAliasesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/availableServiceAliasesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all available service aliases for this subscription in this region. @@ -26,7 +26,7 @@ async function getAvailableServiceAliases() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallFqdnTagsListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallFqdnTagsListAllSample.js index 741883568a51..98bd4a58e668 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallFqdnTagsListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallFqdnTagsListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the Azure Firewall FQDN Tags in a subscription. @@ -24,7 +24,7 @@ async function listAllAzureFirewallFqdnTagsForAGivenSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsCreateOrUpdateSample.js index 5921706397ca..95344af4062b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Azure Firewall. @@ -126,10 +126,10 @@ async function createAzureFirewall() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -255,10 +255,10 @@ async function createAzureFirewallWithAdditionalProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -382,10 +382,10 @@ async function createAzureFirewallWithIPGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -509,10 +509,10 @@ async function createAzureFirewallWithZones() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -647,10 +647,10 @@ async function createAzureFirewallWithManagementSubnet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -692,10 +692,10 @@ async function createAzureFirewallInVirtualHub() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsDeleteSample.js index 1f89427a52ff..ce6ee2e409af 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified Azure Firewall. @@ -28,10 +28,10 @@ async function deleteAzureFirewall() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsGetSample.js index e85e4c5ea721..8cf5c18679d0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Azure Firewall. @@ -27,7 +27,7 @@ async function getAzureFirewall() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getAzureFirewallWithAdditionalProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); @@ -81,7 +81,7 @@ async function getAzureFirewallWithIPGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); @@ -108,7 +108,7 @@ async function getAzureFirewallWithZones() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); @@ -135,7 +135,7 @@ async function getAzureFirewallWithManagementSubnet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListAllSample.js index 737d413949f2..44872125c8e2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the Azure Firewalls in a subscription. @@ -24,7 +24,7 @@ async function listAllAzureFirewallsForAGivenSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListLearnedPrefixesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListLearnedPrefixesSample.js index 90cfdea78ad9..23d7a5845d41 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListLearnedPrefixesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListLearnedPrefixesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. @@ -28,10 +28,10 @@ async function azureFirewallListLearnedPrefixes() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListSample.js index 0b3fd3dd131d..d4c31bd2a825 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Azure Firewalls in a resource group. @@ -26,7 +26,7 @@ async function listAllAzureFirewallsForAGivenResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsUpdateTagsSample.js index 2dc8902854b5..8b3be941bdb1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/azureFirewallsUpdateTagsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates tags of an Azure Firewall resource. @@ -29,10 +29,10 @@ async function updateAzureFirewallTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsCreateOrUpdateSample.js index 2279f24219e9..7b8d67c31a6f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Bastion Host. @@ -45,10 +45,10 @@ async function createBastionHost() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsDeleteSample.js index 8a0f36805cc5..a68c4d037b89 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified Bastion Host. @@ -28,10 +28,10 @@ async function deleteBastionHost() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsGetSample.js index 61075772b768..a6f5d5032b84 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Bastion Host. @@ -27,7 +27,7 @@ async function getBastionHost() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsListByResourceGroupSample.js index 4a02d3838768..5af5c5d76968 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Bastion Hosts in a resource group. @@ -26,7 +26,7 @@ async function listAllBastionHostsForAGivenResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsListSample.js index 4fb340436e55..800594d2f1dc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Bastion Hosts in a subscription. @@ -24,7 +24,7 @@ async function listAllBastionHostsForAGivenSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsUpdateTagsSample.js index e3c1de4f88f7..eae3ced2bdfc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bastionHostsUpdateTagsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates Tags for BastionHost resource @@ -29,10 +29,10 @@ async function patchBastionHost() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bgpServiceCommunitiesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bgpServiceCommunitiesListSample.js index c68d5a3a0c04..2f51de8340cc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/bgpServiceCommunitiesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/bgpServiceCommunitiesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the available bgp service communities. @@ -24,7 +24,7 @@ async function serviceCommunityList() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/checkDnsNameAvailabilitySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/checkDnsNameAvailabilitySample.js index b04d89027556..a8b2770f0721 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/checkDnsNameAvailabilitySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/checkDnsNameAvailabilitySample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Checks whether a domain name in the cloudapp.azure.com zone is available for use. @@ -25,7 +25,7 @@ async function checkDnsNameAvailability() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsCreateOrUpdateSample.js index f177ed5c2db6..166c74baf7a4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. @@ -48,10 +48,10 @@ async function configurationPolicyGroupPut() { subscriptionId, resourceGroupName, vpnServerConfigurationName, - configurationPolicyGroupName + configurationPolicyGroupName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsDeleteSample.js index bd6317630584..72ed3d718f8f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a ConfigurationPolicyGroup. @@ -30,10 +30,10 @@ async function configurationPolicyGroupDelete() { subscriptionId, resourceGroupName, vpnServerConfigurationName, - configurationPolicyGroupName + configurationPolicyGroupName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsGetSample.js index d5f3291aa687..4f3f6c0eec9e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a ConfigurationPolicyGroup. @@ -29,7 +29,7 @@ async function configurationPolicyGroupGet() { subscriptionId, resourceGroupName, vpnServerConfigurationName, - configurationPolicyGroupName + configurationPolicyGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsListByVpnServerConfigurationSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsListByVpnServerConfigurationSample.js index 8124e3e99979..7b5217fedf98 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsListByVpnServerConfigurationSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/configurationPolicyGroupsListByVpnServerConfigurationSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. @@ -28,7 +28,7 @@ async function configurationPolicyGroupListByVpnServerConfiguration() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsCreateOrUpdateSample.js index d6212f48b631..08df12acbda0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Create or update a connection monitor. @@ -59,10 +59,10 @@ async function createConnectionMonitorV1() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -130,10 +130,10 @@ async function createConnectionMonitorV2() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsDeleteSample.js index 8830aa9b79e3..23066c852859 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified connection monitor. @@ -30,10 +30,10 @@ async function deleteConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsGetSample.js index 3f56aa9e0af8..2d083816034f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a connection monitor by name. @@ -29,7 +29,7 @@ async function getConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsListSample.js index f7faf5a33fd0..85fc5155da6e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all connection monitors for the specified Network Watcher. @@ -28,7 +28,7 @@ async function listConnectionMonitors() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsQuerySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsQuerySample.js index b93344b59b35..38c9093852ec 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsQuerySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsQuerySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Query a snapshot of the most recent connection states. @@ -30,10 +30,10 @@ async function queryConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsStartSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsStartSample.js index 345c00dd2076..f08d85d9d020 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsStartSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsStartSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Starts the specified connection monitor. @@ -30,10 +30,10 @@ async function startConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsStopSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsStopSample.js index dcc0879364a3..ce715f273f51 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsStopSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsStopSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Stops the specified connection monitor. @@ -30,10 +30,10 @@ async function stopConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsUpdateTagsSample.js index fec38dc4ccd8..405adc370329 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectionMonitorsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Update tags of the specified connection monitor. @@ -30,7 +30,7 @@ async function updateConnectionMonitorTags() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsCreateOrUpdateSample.js index 8e20989692d4..6329341ce5dd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates/Updates a new network manager connectivity configuration @@ -53,7 +53,7 @@ async function connectivityConfigurationsPut() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsDeleteSample.js index ffa222d84da9..76d41e74385a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name @@ -30,10 +30,10 @@ async function connectivityConfigurationsDelete() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsGetSample.js index 111a26ecd0d6..4850ea51d648 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name @@ -29,7 +29,7 @@ async function connectivityConfigurationsGet() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsListSample.js index 0686a4446cdd..dc091b7703c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/connectivityConfigurationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the network manager connectivity configuration in a specified network manager. @@ -28,7 +28,7 @@ async function connectivityConfigurationsList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesCreateOrUpdateSample.js index 52869da5fe62..045a7de83bf6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a custom IP prefix. @@ -29,10 +29,10 @@ async function createCustomIPPrefixAllocationMethod() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", subscriptionId, resourceGroupName, - customIpPrefixName + customIpPrefixName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesDeleteSample.js index f77410823019..0f78329d092e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified custom IP prefix. @@ -28,10 +28,10 @@ async function deleteCustomIPPrefix() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", subscriptionId, resourceGroupName, - customIpPrefixName + customIpPrefixName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesGetSample.js index b47d08016ec2..634f5b96b6ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified custom IP prefix in a specified resource group. @@ -27,7 +27,7 @@ async function getCustomIPPrefix() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", subscriptionId, resourceGroupName, - customIpPrefixName + customIpPrefixName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesListAllSample.js index cc50436edcdd..a09da5375441 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the custom IP prefixes in a subscription. @@ -24,7 +24,7 @@ async function listAllCustomIPPrefixes() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesListSample.js index 03c5ac73ea33..24f15b5ff399 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all custom IP prefixes in a resource group. @@ -26,7 +26,7 @@ async function listResourceGroupCustomIPPrefixes() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesUpdateTagsSample.js index 04d57008f82b..622e375e2b4e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/customIPPrefixesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates custom IP prefix tags. @@ -28,7 +28,7 @@ async function updatePublicIPAddressTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", subscriptionId, resourceGroupName, - customIpPrefixName + customIpPrefixName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesCreateOrUpdateSample.js index e291abfa7229..ca3633a385e8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a DDoS custom policy. @@ -29,10 +29,10 @@ async function createDDoSCustomPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", subscriptionId, resourceGroupName, - ddosCustomPolicyName + ddosCustomPolicyName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesDeleteSample.js index 2acd525dea9f..206a8115e42b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified DDoS custom policy. @@ -28,10 +28,10 @@ async function deleteDDoSCustomPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", subscriptionId, resourceGroupName, - ddosCustomPolicyName + ddosCustomPolicyName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesGetSample.js index 3ab073707c00..f818e3fcf57f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about the specified DDoS custom policy. @@ -27,7 +27,7 @@ async function getDDoSCustomPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", subscriptionId, resourceGroupName, - ddosCustomPolicyName + ddosCustomPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesUpdateTagsSample.js index 3280790acb47..5f33e1232fce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosCustomPoliciesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Update a DDoS custom policy tags. @@ -28,7 +28,7 @@ async function dDoSCustomPolicyUpdateTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", subscriptionId, resourceGroupName, - ddosCustomPolicyName + ddosCustomPolicyName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansCreateOrUpdateSample.js index ea8fc429a804..db5c7674a039 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a DDoS protection plan. @@ -29,10 +29,10 @@ async function createDDoSProtectionPlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", subscriptionId, resourceGroupName, - ddosProtectionPlanName + ddosProtectionPlanName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansDeleteSample.js index 0b8bd7a7778a..45cd88411bea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified DDoS protection plan. @@ -28,10 +28,10 @@ async function deleteDDoSProtectionPlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", subscriptionId, resourceGroupName, - ddosProtectionPlanName + ddosProtectionPlanName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansGetSample.js index 4478608287b1..72c2f5ba70e6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about the specified DDoS protection plan. @@ -27,7 +27,7 @@ async function getDDoSProtectionPlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", subscriptionId, resourceGroupName, - ddosProtectionPlanName + ddosProtectionPlanName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansListByResourceGroupSample.js index 7f89b44bafba..4c5c283ebd5f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the DDoS protection plans in a resource group. @@ -26,7 +26,7 @@ async function listDDoSProtectionPlansInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansListSample.js index a8f4a020133c..6e5c3d57e100 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all DDoS protection plans in a subscription. @@ -24,7 +24,7 @@ async function listAllDDoSProtectionPlans() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansUpdateTagsSample.js index 1d67733e3103..856b2cfca95b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ddosProtectionPlansUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Update a DDoS protection plan tags. @@ -28,7 +28,7 @@ async function dDoSProtectionPlanUpdateTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", subscriptionId, resourceGroupName, - ddosProtectionPlanName + ddosProtectionPlanName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/defaultSecurityRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/defaultSecurityRulesGetSample.js index 2b3a1d7e47b8..c5efb5567077 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/defaultSecurityRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/defaultSecurityRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified default network security rule. @@ -29,7 +29,7 @@ async function defaultSecurityRuleGet() { subscriptionId, resourceGroupName, networkSecurityGroupName, - defaultSecurityRuleName + defaultSecurityRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/defaultSecurityRulesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/defaultSecurityRulesListSample.js index 8ae3f413d2b6..4702b7f8cd55 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/defaultSecurityRulesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/defaultSecurityRulesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all default security rules in a network security group. @@ -28,7 +28,7 @@ async function defaultSecurityRuleList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/deleteBastionShareableLinkSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/deleteBastionShareableLinkSample.js index a85ed6bea6ef..e960109f0e20 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/deleteBastionShareableLinkSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/deleteBastionShareableLinkSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the Bastion Shareable Links for all the VMs specified in the request. @@ -42,10 +42,10 @@ async function deleteBastionShareableLinksForTheRequestVMS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/disconnectActiveSessionsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/disconnectActiveSessionsSample.js index 4ec4aa19a1d4..fbcc631d6e6d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/disconnectActiveSessionsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/disconnectActiveSessionsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Returns the list of currently active sessions on the Bastion. @@ -29,7 +29,7 @@ async function deletesTheSpecifiedActiveSession() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationCreateOrUpdateSample.js index fce9ac761bd1..636a3bc5388f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a DSCP Configuration. @@ -54,10 +54,10 @@ async function createDscpConfiguration() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", subscriptionId, resourceGroupName, - dscpConfigurationName + dscpConfigurationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationDeleteSample.js index c32310fe8ae6..d6634dcf39b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a DSCP Configuration. @@ -28,10 +28,10 @@ async function deleteDscpConfiguration() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", subscriptionId, resourceGroupName, - dscpConfigurationName + dscpConfigurationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationGetSample.js index eff0fcf621a6..46239db3593e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a DSCP Configuration. @@ -27,7 +27,7 @@ async function getDscpConfiguration() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", subscriptionId, resourceGroupName, - dscpConfigurationName + dscpConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationListAllSample.js index 1ce9ebc53383..bb1e1cc37b28 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all dscp configurations in a subscription. @@ -24,7 +24,7 @@ async function listAllNetworkInterfaces() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationListSample.js index 1b88c71c2219..f8780e574eaa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/dscpConfigurationListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a DSCP Configuration. @@ -26,7 +26,7 @@ async function getDscpConfiguration() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsCreateOrUpdateSample.js index 5aadee6a5cac..94e0416d4042 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an authorization in the specified express route circuit. @@ -31,10 +31,10 @@ async function createExpressRouteCircuitAuthorization() { subscriptionId, resourceGroupName, circuitName, - authorizationName + authorizationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsDeleteSample.js index 1d2abb41bce5..72e9dbcd1ea2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified authorization from the specified express route circuit. @@ -30,10 +30,10 @@ async function deleteExpressRouteCircuitAuthorization() { subscriptionId, resourceGroupName, circuitName, - authorizationName + authorizationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsGetSample.js index acb59a05da9f..488cc29c0b9f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified authorization from the specified express route circuit. @@ -29,7 +29,7 @@ async function getExpressRouteCircuitAuthorization() { subscriptionId, resourceGroupName, circuitName, - authorizationName + authorizationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsListSample.js index 2007c6e168db..f2bf46d0a381 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitAuthorizationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all authorizations in an express route circuit. @@ -28,7 +28,7 @@ async function listExpressRouteCircuitAuthorization() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsCreateOrUpdateSample.js index 3d15851fbe61..030a518f0903 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a Express Route Circuit Connection in the specified express route circuits. @@ -45,10 +45,10 @@ async function expressRouteCircuitConnectionCreate() { resourceGroupName, circuitName, peeringName, - connectionName + connectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsDeleteSample.js index dc63b95c7fd1..e08aee35a6ec 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified Express Route Circuit Connection from the specified express route circuit. @@ -32,10 +32,10 @@ async function deleteExpressRouteCircuit() { resourceGroupName, circuitName, peeringName, - connectionName + connectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsGetSample.js index 41192982cb45..c1b3e1344b54 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Express Route Circuit Connection from the specified express route circuit. @@ -31,7 +31,7 @@ async function expressRouteCircuitConnectionGet() { resourceGroupName, circuitName, peeringName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsListSample.js index 82f714c9d6e1..f82f8b9df6d4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all global reach connections associated with a private peering in an express route circuit. @@ -30,7 +30,7 @@ async function listExpressRouteCircuitConnection() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsCreateOrUpdateSample.js index 9d4349500f78..8903db0774f5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a peering in the specified express route circuits. @@ -38,10 +38,10 @@ async function createExpressRouteCircuitPeerings() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsDeleteSample.js index 4941fe5e0cc5..9f1eaa6d407c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified peering from the specified express route circuit. @@ -30,10 +30,10 @@ async function deleteExpressRouteCircuitPeerings() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsGetSample.js index 080248b07eef..571514e4cad4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified peering for the express route circuit. @@ -29,7 +29,7 @@ async function getExpressRouteCircuitPeering() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsListSample.js index c63a94a3aa12..12a537fcbbc0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitPeeringsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all peerings in a specified express route circuit. @@ -28,7 +28,7 @@ async function listExpressRouteCircuitPeerings() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsCreateOrUpdateSample.js index d6c75141ba35..ca004f0139e9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an express route circuit. @@ -46,10 +46,10 @@ async function createExpressRouteCircuit() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -90,10 +90,10 @@ async function createExpressRouteCircuitOnExpressRoutePort() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsDeleteSample.js index c4bc0ce41331..5ae090aafe89 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified express route circuit. @@ -28,7 +28,7 @@ async function deleteExpressRouteCircuit() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetPeeringStatsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetPeeringStatsSample.js index d75205289b53..0413a0261dd2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetPeeringStatsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetPeeringStatsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all stats from an express route circuit in a resource group. @@ -29,7 +29,7 @@ async function getExpressRouteCircuitPeeringTrafficStats() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetSample.js index dba456f5f01b..890c2ade23de 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about the specified express route circuit. @@ -27,7 +27,7 @@ async function getExpressRouteCircuit() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetStatsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetStatsSample.js index e0ace39eed5f..d9ea25330922 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetStatsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsGetStatsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the stats from an express route circuit in a resource group. @@ -27,7 +27,7 @@ async function getExpressRouteCircuitTrafficStats() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListAllSample.js index d23147cdd5fa..662537c0ccff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the express route circuits in a subscription. @@ -24,7 +24,7 @@ async function listExpressRouteCircuitsInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListArpTableSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListArpTableSample.js index 68f1bcae98ac..60c795a8b47b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListArpTableSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListArpTableSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the currently advertised ARP table associated with the express route circuit in a resource group. @@ -32,7 +32,7 @@ async function listArpTable() { resourceGroupName, circuitName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListRoutesTableSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListRoutesTableSample.js index f9b8e2afbd57..6bb121e27d83 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListRoutesTableSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListRoutesTableSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the currently advertised routes table associated with the express route circuit in a resource group. @@ -32,7 +32,7 @@ async function listRouteTables() { resourceGroupName, circuitName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListRoutesTableSummarySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListRoutesTableSummarySample.js index 8f6ab588d6a1..bf2ea18d8e5c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListRoutesTableSummarySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListRoutesTableSummarySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the currently advertised routes table summary associated with the express route circuit in a resource group. @@ -32,7 +32,7 @@ async function listRouteTableSummary() { resourceGroupName, circuitName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListSample.js index fdd36dd9b272..f7284e1640d5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the express route circuits in a resource group. @@ -26,7 +26,7 @@ async function listExpressRouteCircuitsInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsUpdateTagsSample.js index 5378405fbe5e..3dfa5be53a5c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCircuitsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates an express route circuit tags. @@ -28,7 +28,7 @@ async function updateExpressRouteCircuitTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsCreateOrUpdateSample.js index 0fc47e8cc339..c09500e9a4ea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. @@ -66,7 +66,7 @@ async function expressRouteConnectionCreate() { subscriptionId, resourceGroupName, expressRouteGatewayName, - connectionName + connectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsDeleteSample.js index 454b78dafc53..8ae89a95516c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a connection to a ExpressRoute circuit. @@ -30,7 +30,7 @@ async function expressRouteConnectionDelete() { subscriptionId, resourceGroupName, expressRouteGatewayName, - connectionName + connectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsGetSample.js index 57586e2e1c2c..4ae86673d7f7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified ExpressRouteConnection. @@ -29,7 +29,7 @@ async function expressRouteConnectionGet() { subscriptionId, resourceGroupName, expressRouteGatewayName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsListSample.js index b3167b217adb..bab9d751efc2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteConnectionsListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists ExpressRouteConnections. @@ -27,7 +27,7 @@ async function expressRouteConnectionList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.js index 47f1ad6a673d..f1691bee1a12 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a peering in the specified ExpressRouteCrossConnection. @@ -42,7 +42,7 @@ async function expressRouteCrossConnectionBgpPeeringCreate() { subscriptionId, resourceGroupName, crossConnectionName, - peeringName + peeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsDeleteSample.js index 7c1d2f52b457..f847c66aace8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified peering from the ExpressRouteCrossConnection. @@ -30,7 +30,7 @@ async function deleteExpressRouteCrossConnectionBgpPeering() { subscriptionId, resourceGroupName, crossConnectionName, - peeringName + peeringName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsGetSample.js index 719ccbc64699..5a8a55b6e2a4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified peering for the ExpressRouteCrossConnection. @@ -29,7 +29,7 @@ async function getExpressRouteCrossConnectionBgpPeering() { subscriptionId, resourceGroupName, crossConnectionName, - peeringName + peeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsListSample.js index e38b281419bb..f41867caa4fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionPeeringsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all peerings in a specified ExpressRouteCrossConnection. @@ -28,7 +28,7 @@ async function expressRouteCrossConnectionBgpPeeringList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings", subscriptionId, resourceGroupName, - crossConnectionName + crossConnectionName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsCreateOrUpdateSample.js index f236790b2d76..3ee6c56b3dc7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Update the specified ExpressRouteCrossConnection. @@ -31,7 +31,7 @@ async function updateExpressRouteCrossConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", subscriptionId, resourceGroupName, - crossConnectionName + crossConnectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsGetSample.js index 9ae1f81425b9..3d53c1f8c84e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets details about the specified ExpressRouteCrossConnection. @@ -27,7 +27,7 @@ async function getExpressRouteCrossConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", subscriptionId, resourceGroupName, - crossConnectionName + crossConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListArpTableSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListArpTableSample.js index 6d6b7d3eacad..ae46366b3e45 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListArpTableSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListArpTableSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the currently advertised ARP table associated with the express route cross connection in a resource group. @@ -32,7 +32,7 @@ async function getExpressRouteCrossConnectionsArpTable() { resourceGroupName, crossConnectionName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListByResourceGroupSample.js index 654f92c279e4..32326098a670 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves all the ExpressRouteCrossConnections in a resource group. @@ -26,7 +26,7 @@ async function expressRouteCrossConnectionListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListRoutesTableSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListRoutesTableSample.js index 54b2d927185d..708fa5b4f1fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListRoutesTableSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListRoutesTableSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the currently advertised routes table associated with the express route cross connection in a resource group. @@ -32,7 +32,7 @@ async function getExpressRouteCrossConnectionsRouteTable() { resourceGroupName, crossConnectionName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListRoutesTableSummarySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListRoutesTableSummarySample.js index 44764ddf23dc..8d6da17baeda 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListRoutesTableSummarySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListRoutesTableSummarySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the route table summary associated with the express route cross connection in a resource group. @@ -32,7 +32,7 @@ async function getExpressRouteCrossConnectionsRouteTableSummary() { resourceGroupName, crossConnectionName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListSample.js index 43a1a3e18aa1..c104a71b21a4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves all the ExpressRouteCrossConnections in a subscription. @@ -24,7 +24,7 @@ async function expressRouteCrossConnectionList() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsUpdateTagsSample.js index 336bc41c7e5d..f31f81d1a6c9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteCrossConnectionsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates an express route cross connection tags. @@ -28,7 +28,7 @@ async function updateExpressRouteCrossConnectionTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", subscriptionId, resourceGroupName, - crossConnectionName + crossConnectionName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysCreateOrUpdateSample.js index 58a85bfb3076..f23db346ab73 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a ExpressRoute gateway in a specified resource group. @@ -37,7 +37,7 @@ async function expressRouteGatewayCreate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysDeleteSample.js index 8392fa898303..c5c6411949fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. @@ -28,7 +28,7 @@ async function expressRouteGatewayDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysGetSample.js index 8a41a03262e6..d1ba7d82b138 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Fetches the details of a ExpressRoute gateway in a resource group. @@ -27,7 +27,7 @@ async function expressRouteGatewayGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysListByResourceGroupSample.js index 26d00119edb2..f849d005d867 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysListByResourceGroupSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists ExpressRoute gateways in a given resource group. @@ -25,7 +25,7 @@ async function expressRouteGatewayListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysListBySubscriptionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysListBySubscriptionSample.js index 76321217002d..ed9f49ea258c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysListBySubscriptionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysListBySubscriptionSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists ExpressRoute gateways under a given subscription. @@ -23,7 +23,7 @@ async function expressRouteGatewayListBySubscription() { const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysUpdateTagsSample.js index dbcf5ad1df78..846b583d4a6d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteGatewaysUpdateTagsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates express route gateway tags. @@ -29,7 +29,7 @@ async function expressRouteGatewayUpdate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteLinksGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteLinksGetSample.js index 33d5de5a2bd2..4d0200e13475 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteLinksGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteLinksGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the specified ExpressRouteLink resource. @@ -29,7 +29,7 @@ async function expressRouteLinkGet() { subscriptionId, resourceGroupName, expressRoutePortName, - linkName + linkName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteLinksListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteLinksListSample.js index 30bb8cb62711..e759ae1ad9cc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteLinksListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteLinksListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. @@ -28,7 +28,7 @@ async function expressRouteLinkGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsCreateOrUpdateSample.js index cbf6480564ae..9f6f7ebf0c2a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an authorization in the specified express route port. @@ -31,7 +31,7 @@ async function createExpressRoutePortAuthorization() { subscriptionId, resourceGroupName, expressRoutePortName, - authorizationName + authorizationName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsDeleteSample.js index 6ffbc7e0d1a6..05d0380fecb8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified authorization from the specified express route port. @@ -30,7 +30,7 @@ async function deleteExpressRoutePortAuthorization() { subscriptionId, resourceGroupName, expressRoutePortName, - authorizationName + authorizationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsGetSample.js index 28efd159c83b..49d4f91243df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified authorization from the specified express route port. @@ -29,7 +29,7 @@ async function getExpressRoutePortAuthorization() { subscriptionId, resourceGroupName, expressRoutePortName, - authorizationName + authorizationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsListSample.js index 5a1795c49f43..df8ed4a77956 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortAuthorizationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all authorizations in an express route port. @@ -28,7 +28,7 @@ async function listExpressRoutePortAuthorization() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsCreateOrUpdateSample.js index 5c2ba142b10a..65af0db58ece 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified ExpressRoutePort resource. @@ -37,7 +37,7 @@ async function expressRoutePortCreate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -76,7 +76,7 @@ async function expressRoutePortUpdateLink() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsDeleteSample.js index 959ad392d093..458487922864 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified ExpressRoutePort resource. @@ -28,7 +28,7 @@ async function expressRoutePortDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsGenerateLoaSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsGenerateLoaSample.js index 27c4c3415a27..97e9655fbb79 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsGenerateLoaSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsGenerateLoaSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Generate a letter of authorization for the requested ExpressRoutePort resource. @@ -28,7 +28,7 @@ async function generateExpressRoutePortLoa() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsGetSample.js index 11134283f56f..d2599949b4e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the requested ExpressRoutePort resource. @@ -27,7 +27,7 @@ async function expressRoutePortGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsListByResourceGroupSample.js index 4f09855b23b1..a9157ad3bd5c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all the ExpressRoutePort resources in the specified resource group. @@ -26,7 +26,7 @@ async function expressRoutePortListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsListSample.js index 8329b1925715..c3d2bee6722b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all the ExpressRoutePort resources in the specified subscription. @@ -24,7 +24,7 @@ async function expressRoutePortList() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsLocationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsLocationsGetSample.js index b5e290fb69c4..1237e06b1c3b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsLocationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsLocationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. @@ -25,7 +25,7 @@ async function expressRoutePortsLocationGet() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}", subscriptionId, - locationName + locationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsLocationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsLocationsListSample.js index 7ff833010ca7..0dde52d63644 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsLocationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsLocationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. @@ -24,7 +24,7 @@ async function expressRoutePortsLocationList() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsUpdateTagsSample.js index 7fa92c3442bd..0b7cf0e1d72e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRoutePortsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Update ExpressRoutePort tags. @@ -28,7 +28,7 @@ async function expressRoutePortUpdateTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteProviderPortsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteProviderPortsGetSample.js index 59c55dbaca59..9ad31424ffb4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteProviderPortsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteProviderPortsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves detail of a provider port. @@ -25,7 +25,7 @@ async function expressRouteProviderPort() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", subscriptionId, - providerport + providerport, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteProviderPortsLocationListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteProviderPortsLocationListSample.js index 6eebe38a3b60..35d8aac894ab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteProviderPortsLocationListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteProviderPortsLocationListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves all the ExpressRouteProviderPorts in a subscription. @@ -23,7 +23,7 @@ async function expressRouteProviderPortList() { const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteServiceProvidersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteServiceProvidersListSample.js index 3e45779109a7..84e2e22a8955 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteServiceProvidersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/expressRouteServiceProvidersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the available express route service providers. @@ -24,7 +24,7 @@ async function listExpressRouteProviders() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesCreateOrUpdateSample.js index 0220d7424ef2..522202f02981 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Firewall Policy. @@ -101,7 +101,7 @@ async function createFirewallPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesDeleteSample.js index 6324a5450915..6ccf4b597b24 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified Firewall Policy. @@ -28,7 +28,7 @@ async function deleteFirewallPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesGetSample.js index 830b6ce560bc..0863a8fd0091 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Firewall Policy. @@ -27,7 +27,7 @@ async function getFirewallPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesListAllSample.js index e4b564493332..e06e4d180a1d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the Firewall Policies in a subscription. @@ -24,7 +24,7 @@ async function listAllFirewallPoliciesForAGivenSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesListSample.js index b64fa9d41b71..da700f4115f4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Firewall Policies in a resource group. @@ -26,7 +26,7 @@ async function listAllFirewallPoliciesForAGivenResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesUpdateTagsSample.js index c6dc90fa6499..73ca5b5fa330 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPoliciesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates tags of a Azure Firewall Policy resource. @@ -28,7 +28,7 @@ async function updateFirewallPolicyTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesFilterValuesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesFilterValuesListSample.js index e1b1edf9bd48..41df2c01eb60 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesFilterValuesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesFilterValuesListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the current filter values for the signatures overrides @@ -28,7 +28,7 @@ async function querySignatureOverrides() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsFilterOptions", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesListSample.js index 0323ba3fe568..2e1165ded8f2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the current status of IDPS signatures for the relevant policy @@ -34,7 +34,7 @@ async function querySignatureOverrides() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsSignatures", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesGetSample.js index 9a3ce80748e7..509020e4b0a9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Returns all signatures overrides for a specific policy. @@ -27,7 +27,7 @@ async function getSignatureOverrides() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesListSample.js index f94b8f100027..1cfe91b062b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Returns all signatures overrides objects for a specific policy as a list containing a single value. @@ -27,7 +27,7 @@ async function getSignatureOverrides() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesPatchSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesPatchSample.js index d25a02ef6588..2f446fe45292 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesPatchSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesPatchSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Will update the status of policy's signature overrides for IDPS @@ -24,7 +24,7 @@ async function patchSignatureOverrides() { name: "default", type: "Microsoft.Network/firewallPolicies/signatureOverrides", id: "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", - properties: { signatures: { "2000105": "Off", "2000106": "Deny" } }, + properties: { signatures: { 2000105: "Off", 2000106: "Deny" } }, }, queryParameters: { "api-version": "2022-05-01" }, }; @@ -33,7 +33,7 @@ async function patchSignatureOverrides() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesPutSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesPutSample.js index bdb486dbed4c..ccb3acfcee52 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesPutSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyIdpsSignaturesOverridesPutSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Will override/create a new signature overrides for the policy's IDPS @@ -24,7 +24,7 @@ async function putSignatureOverrides() { name: "default", type: "Microsoft.Network/firewallPolicies/signatureOverrides", id: "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", - properties: { signatures: { "2000105": "Off", "2000106": "Deny" } }, + properties: { signatures: { 2000105: "Off", 2000106: "Deny" } }, }, queryParameters: { "api-version": "2022-05-01" }, }; @@ -33,7 +33,7 @@ async function putSignatureOverrides() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.js index ad065c53e5c3..1641f6c43a72 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified FirewallPolicyRuleCollectionGroup. @@ -56,7 +56,7 @@ async function createFirewallPolicyNatRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -110,7 +110,7 @@ async function createFirewallPolicyRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -167,7 +167,7 @@ async function createFirewallPolicyRuleCollectionGroupWithIPGroups() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -220,7 +220,7 @@ async function createFirewallPolicyRuleCollectionGroupWithWebCategories() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsDeleteSample.js index dbe947b3e832..d9b944b42991 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified FirewallPolicyRuleCollectionGroup. @@ -30,7 +30,7 @@ async function deleteFirewallPolicyRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsGetSample.js index c75640e07971..ff1b716d8413 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified FirewallPolicyRuleCollectionGroup. @@ -29,7 +29,7 @@ async function getFirewallPolicyNatRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function getFirewallPolicyRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .get(options); console.log(result); @@ -87,7 +87,7 @@ async function getFirewallPolicyRuleCollectionGroupWithIPGroups() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .get(options); console.log(result); @@ -116,7 +116,7 @@ async function getFirewallPolicyRuleCollectionGroupWithWebCategories() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsListSample.js index 129bf3d509e6..780d0782c679 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/firewallPolicyRuleCollectionGroupsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. @@ -28,7 +28,7 @@ async function listAllFirewallPolicyRuleCollectionGroupWithWebCategories() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function listAllFirewallPolicyRuleCollectionGroupsForAGivenFirewallPolicy( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -92,7 +92,7 @@ async function listAllFirewallPolicyRuleCollectionGroupsWithIPGroupsForAGivenFir "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsCreateOrUpdateSample.js index b5c15f918b12..76724cc5c95c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Create or update a flow log for the specified network security group. @@ -41,7 +41,7 @@ async function createOrUpdateFlowLog() { subscriptionId, resourceGroupName, networkWatcherName, - flowLogName + flowLogName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsDeleteSample.js index 147849b3d9ba..229d7fa0cb50 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified flow log resource. @@ -30,7 +30,7 @@ async function deleteFlowLog() { subscriptionId, resourceGroupName, networkWatcherName, - flowLogName + flowLogName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsGetSample.js index f4d38204fffe..a01fe3486306 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a flow log resource by name. @@ -29,7 +29,7 @@ async function getFlowLog() { subscriptionId, resourceGroupName, networkWatcherName, - flowLogName + flowLogName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsListSample.js index 6584e415a415..af8670280b2a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all flow log resources for the specified Network Watcher. @@ -28,7 +28,7 @@ async function listConnectionMonitors() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsUpdateTagsSample.js index 2b33dddac675..a185b9ac07cb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/flowLogsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Update tags of the specified flow log. @@ -30,7 +30,7 @@ async function updateFlowLogTags() { subscriptionId, resourceGroupName, networkWatcherName, - flowLogName + flowLogName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/generatevirtualwanvpnserverconfigurationvpnprofileSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/generatevirtualwanvpnserverconfigurationvpnprofileSample.js index 48efbd1d3396..cf6b314613d5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/generatevirtualwanvpnserverconfigurationvpnprofileSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/generatevirtualwanvpnserverconfigurationvpnprofileSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group. @@ -33,7 +33,7 @@ async function generateVirtualWanVpnServerConfigurationVpnProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile", subscriptionId, resourceGroupName, - virtualWANName + virtualWANName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/getActiveSessionsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/getActiveSessionsSample.js index b9a389715e78..e8468da3e813 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/getActiveSessionsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/getActiveSessionsSample.js @@ -9,7 +9,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default paginate, } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Returns the list of currently active sessions on the Bastion. @@ -31,7 +31,7 @@ async function returnsAListOfCurrentlyActiveSessionsOnTheBastion() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/getBastionShareableLinkSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/getBastionShareableLinkSample.js index 20b238ec130d..8a15563ae869 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/getBastionShareableLinkSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/getBastionShareableLinkSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Return the Bastion Shareable Links for all the VMs specified in the request. @@ -42,7 +42,7 @@ async function returnsTheBastionShareableLinksForTheRequestVMS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesCreateOrUpdateSample.js index 2e9670b3e446..81872d359385 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. @@ -45,7 +45,7 @@ async function routeTablePut() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesDeleteSample.js index cd197fcb3561..b9b6205fb17a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a RouteTable. @@ -30,7 +30,7 @@ async function routeTableDelete() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesGetSample.js index 5dc32e7865aa..80f076e99d35 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a RouteTable. @@ -29,7 +29,7 @@ async function routeTableGet() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesListSample.js index 35b88e4fe422..1d6947628fa5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubRouteTablesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of all RouteTables. @@ -28,7 +28,7 @@ async function routeTableList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsCreateOrUpdateSample.js index 8635dac6e14e..0c38db15fe5d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a hub virtual network connection if it doesn't exist else updates the existing one. @@ -72,7 +72,7 @@ async function hubVirtualNetworkConnectionPut() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsDeleteSample.js index 337213cd52b7..3bc2101ed39e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a HubVirtualNetworkConnection. @@ -30,7 +30,7 @@ async function hubVirtualNetworkConnectionDelete() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsGetSample.js index 2d24cbd52c9d..1bf1f1f7bf7b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a HubVirtualNetworkConnection. @@ -29,7 +29,7 @@ async function hubVirtualNetworkConnectionGet() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsListSample.js index 0e54ff2baee0..1e42150946b1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/hubVirtualNetworkConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of all HubVirtualNetworkConnections. @@ -28,7 +28,7 @@ async function hubVirtualNetworkConnectionList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesCreateOrUpdateSample.js index 9319fbe48fe2..9d7814bc25d1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a load balancer inbound NAT rule. @@ -43,7 +43,7 @@ async function inboundNatRuleCreate() { subscriptionId, resourceGroupName, loadBalancerName, - inboundNatRuleName + inboundNatRuleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesDeleteSample.js index a37bb14ebc50..2c652a8669f5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified load balancer inbound NAT rule. @@ -30,7 +30,7 @@ async function inboundNatRuleDelete() { subscriptionId, resourceGroupName, loadBalancerName, - inboundNatRuleName + inboundNatRuleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesGetSample.js index c93fec1d6aad..067843ab8e24 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified load balancer inbound NAT rule. @@ -29,7 +29,7 @@ async function inboundNatRuleGet() { subscriptionId, resourceGroupName, loadBalancerName, - inboundNatRuleName + inboundNatRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesListSample.js index c3dc78248010..6fbe5762cff1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundNatRulesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the inbound NAT rules in a load balancer. @@ -28,7 +28,7 @@ async function inboundNatRuleList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundSecurityRuleCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundSecurityRuleCreateOrUpdateSample.js index fb6ac92b5806..d88459b94086 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundSecurityRuleCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/inboundSecurityRuleCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance Inbound Security Rules. @@ -41,7 +41,7 @@ async function createNetworkVirtualApplianceInboundSecurityRules() { subscriptionId, resourceGroupName, networkVirtualApplianceName, - ruleCollectionName + ruleCollectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsCreateOrUpdateSample.js index 5ec7086da353..a86c64343c53 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an IpAllocation in the specified resource group. @@ -39,7 +39,7 @@ async function createIPAllocation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", subscriptionId, resourceGroupName, - ipAllocationName + ipAllocationName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsDeleteSample.js index d71429966913..546ec1ae81fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified IpAllocation. @@ -28,7 +28,7 @@ async function deleteIPAllocation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", subscriptionId, resourceGroupName, - ipAllocationName + ipAllocationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsGetSample.js index 968f832f8e53..339e0f885593 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified IpAllocation by resource group. @@ -27,7 +27,7 @@ async function getIPAllocation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", subscriptionId, resourceGroupName, - ipAllocationName + ipAllocationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsListByResourceGroupSample.js index bfb95fd8493b..ca558d6327a1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all IpAllocations in a resource group. @@ -26,7 +26,7 @@ async function listIPAllocationsInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsListSample.js index 988f40ea8215..52fea5697a60 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all IpAllocations in a subscription. @@ -24,7 +24,7 @@ async function listAllIPAllocations() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsUpdateTagsSample.js index da1949b4bf7f..03fb651bfe1b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipAllocationsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a IpAllocation tags. @@ -28,7 +28,7 @@ async function updateVirtualNetworkTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", subscriptionId, resourceGroupName, - ipAllocationName + ipAllocationName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsCreateOrUpdateSample.js index 3dcbb2d17a2c..90c79a442a97 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an ipGroups in a specified resource group. @@ -35,7 +35,7 @@ async function createOrUpdateIPGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", subscriptionId, resourceGroupName, - ipGroupsName + ipGroupsName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsDeleteSample.js index 4cdacac06b3f..09237d31056e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified ipGroups. @@ -28,7 +28,7 @@ async function deleteIPGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", subscriptionId, resourceGroupName, - ipGroupsName + ipGroupsName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsGetSample.js index 4acd7d2ded97..a836474d1e1e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified ipGroups. @@ -27,7 +27,7 @@ async function getIPGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", subscriptionId, resourceGroupName, - ipGroupsName + ipGroupsName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsListByResourceGroupSample.js index c9efc1d8c67a..eebf4c0bbc4e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all IpGroups in a resource group. @@ -26,7 +26,7 @@ async function listByResourceGroupIPGroups() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsListSample.js index 7faaa7c1c988..493e0bd10c2a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all IpGroups in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsUpdateGroupsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsUpdateGroupsSample.js index 7925a94e9cd9..954557a59ede 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsUpdateGroupsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/ipGroupsUpdateGroupsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates tags of an IpGroups resource. @@ -28,7 +28,7 @@ async function updateIPGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", subscriptionId, resourceGroupName, - ipGroupsName + ipGroupsName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/listActiveConnectivityConfigurationsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/listActiveConnectivityConfigurationsSample.js index 9bf39dd3ae87..cb74ddc05479 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/listActiveConnectivityConfigurationsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/listActiveConnectivityConfigurationsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists active connectivity configurations in a network manager. @@ -28,7 +28,7 @@ async function listActiveConnectivityConfigurations() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/listActiveSecurityAdminRulesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/listActiveSecurityAdminRulesSample.js index 00e2be9c52dc..b7ebf7b8db1e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/listActiveSecurityAdminRulesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/listActiveSecurityAdminRulesSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists active security admin rules in a network manager. @@ -28,7 +28,7 @@ async function listActiveSecurityAdminRules() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/listNetworkManagerEffectiveConnectivityConfigurationsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/listNetworkManagerEffectiveConnectivityConfigurationsSample.js index eb9fbc41ffd2..f89cce2afb2c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/listNetworkManagerEffectiveConnectivityConfigurationsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/listNetworkManagerEffectiveConnectivityConfigurationsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all effective connectivity configurations applied on a virtual network. @@ -28,7 +28,7 @@ async function listEffectiveConnectivityConfiguration() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/listNetworkManagerEffectiveSecurityAdminRulesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/listNetworkManagerEffectiveSecurityAdminRulesSample.js index 7f4b197af83f..97f6a95ce1ed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/listNetworkManagerEffectiveSecurityAdminRulesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/listNetworkManagerEffectiveSecurityAdminRulesSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all effective security admin rules applied on a virtual network. @@ -28,7 +28,7 @@ async function listEffectiveSecurityAdminRules() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsCreateOrUpdateSample.js index 720e85d4147c..577bd6e1167c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a load balancer backend address pool. @@ -54,7 +54,7 @@ async function updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtua subscriptionId, resourceGroupName, loadBalancerName, - backendAddressPoolName + backendAddressPoolName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -63,5 +63,5 @@ async function updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtua } updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtualNetworkAndIPAddress().catch( - console.error + console.error, ); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsDeleteSample.js index 32cb1982924c..ad5ce74f56d4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified load balancer backend address pool. @@ -30,7 +30,7 @@ async function backendAddressPoolDelete() { subscriptionId, resourceGroupName, loadBalancerName, - backendAddressPoolName + backendAddressPoolName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsGetSample.js index bf3c46a84fc5..f9036cd2431c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets load balancer backend address pool. @@ -29,7 +29,7 @@ async function loadBalancerWithBackendAddressPoolWithBackendAddresses() { subscriptionId, resourceGroupName, loadBalancerName, - backendAddressPoolName + backendAddressPoolName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function loadBalancerBackendAddressPoolGet() { subscriptionId, resourceGroupName, loadBalancerName, - backendAddressPoolName + backendAddressPoolName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsListSample.js index be0c17cd7d15..f9edb076770d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerBackendAddressPoolsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the load balancer backed address pools. @@ -28,7 +28,7 @@ async function loadBalancerWithBackendAddressPoolContainingBackendAddresses() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function loadBalancerBackendAddressPoolList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerFrontendIPConfigurationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerFrontendIPConfigurationsGetSample.js index 8b0cbc308ac9..b02f5d3acd1c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerFrontendIPConfigurationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerFrontendIPConfigurationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets load balancer frontend IP configuration. @@ -29,7 +29,7 @@ async function loadBalancerFrontendIPConfigurationGet() { subscriptionId, resourceGroupName, loadBalancerName, - frontendIPConfigurationName + frontendIPConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerFrontendIPConfigurationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerFrontendIPConfigurationsListSample.js index 1b4e16169bf7..8adc6e351321 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerFrontendIPConfigurationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerFrontendIPConfigurationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the load balancer frontend IP configurations. @@ -28,7 +28,7 @@ async function loadBalancerFrontendIPConfigurationList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerLoadBalancingRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerLoadBalancingRulesGetSample.js index 9efc6c039d31..1abc0e647472 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerLoadBalancingRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerLoadBalancingRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified load balancer load balancing rule. @@ -29,7 +29,7 @@ async function loadBalancerLoadBalancingRuleGet() { subscriptionId, resourceGroupName, loadBalancerName, - loadBalancingRuleName + loadBalancingRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerLoadBalancingRulesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerLoadBalancingRulesListSample.js index af6d003a1c8d..631584099ed6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerLoadBalancingRulesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerLoadBalancingRulesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the load balancing rules in a load balancer. @@ -28,7 +28,7 @@ async function loadBalancerLoadBalancingRuleList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerNetworkInterfacesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerNetworkInterfacesListSample.js index f5ff019bb0e5..b9025ced0136 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerNetworkInterfacesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerNetworkInterfacesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets associated load balancer network interfaces. @@ -28,7 +28,7 @@ async function loadBalancerNetworkInterfaceListSimple() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function loadBalancerNetworkInterfaceListVmss() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerOutboundRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerOutboundRulesGetSample.js index 3e1ece3576c6..c79a067d0e25 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerOutboundRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerOutboundRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified load balancer outbound rule. @@ -29,7 +29,7 @@ async function loadBalancerOutboundRuleGet() { subscriptionId, resourceGroupName, loadBalancerName, - outboundRuleName + outboundRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerOutboundRulesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerOutboundRulesListSample.js index 390a8fec6802..7bd5fd13e2b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerOutboundRulesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerOutboundRulesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the outbound rules in a load balancer. @@ -28,7 +28,7 @@ async function loadBalancerOutboundRuleList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerProbesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerProbesGetSample.js index e3529881a157..36aea86a98f7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerProbesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerProbesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets load balancer probe. @@ -29,7 +29,7 @@ async function loadBalancerProbeGet() { subscriptionId, resourceGroupName, loadBalancerName, - probeName + probeName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerProbesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerProbesListSample.js index 98a3e9f39677..304b78be7ea5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerProbesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancerProbesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the load balancer probes. @@ -28,7 +28,7 @@ async function loadBalancerProbeList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersCreateOrUpdateSample.js index 939e1ea08d99..5cc1777df17e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a load balancer. @@ -97,7 +97,7 @@ async function createLoadBalancer() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -196,7 +196,7 @@ async function createLoadBalancerWithFrontendIPInZone1() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -297,7 +297,7 @@ async function createLoadBalancerWithGatewayLoadBalancerConsumerConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -402,7 +402,7 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOn "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -411,7 +411,7 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOn } createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOneBackendPool().catch( - console.error + console.error, ); /** * This sample demonstrates how to Creates or updates a load balancer. @@ -496,7 +496,7 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTw "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -505,7 +505,7 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTw } createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTwoBackendPool().catch( - console.error + console.error, ); /** * This sample demonstrates how to Creates or updates a load balancer. @@ -595,7 +595,7 @@ async function createLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBa "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -693,7 +693,7 @@ async function createLoadBalancerWithStandardSku() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -764,7 +764,7 @@ async function createLoadBalancerWithInboundNatPool() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -878,7 +878,7 @@ async function createLoadBalancerWithOutboundRules() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersDeleteSample.js index cd18c3348b02..261296e6b98f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified load balancer. @@ -28,7 +28,7 @@ async function deleteLoadBalancer() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersGetSample.js index 1378d589ec23..3414f2ad43c7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified load balancer. @@ -27,7 +27,7 @@ async function getLoadBalancer() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getLoadBalancerWithInboundNatRulePortMapping() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListAllSample.js index 7201e8103814..d52c7a276418 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the load balancers in a subscription. @@ -24,7 +24,7 @@ async function listAllLoadBalancers() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListInboundNatRulePortMappingsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListInboundNatRulePortMappingsSample.js index 8500968655fd..4a8a85d5484f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListInboundNatRulePortMappingsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListInboundNatRulePortMappingsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List of inbound NAT rule port mappings. @@ -31,7 +31,7 @@ async function queryInboundNatRulePortMapping() { subscriptionId, groupName, loadBalancerName, - backendPoolName + backendPoolName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListSample.js index df7e59d3169d..84b362b8dbd1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the load balancers in a resource group. @@ -26,7 +26,7 @@ async function listLoadBalancersInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersSwapPublicIPAddressesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersSwapPublicIPAddressesSample.js index 865dbd2575f1..e179cbe72000 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersSwapPublicIPAddressesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersSwapPublicIPAddressesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Swaps VIPs between two load balancers. @@ -46,7 +46,7 @@ async function swapViPsBetweenTwoLoadBalancers() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses", subscriptionId, - location + location, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersUpdateTagsSample.js index 59984cc42289..a3458450825f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/loadBalancersUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a load balancer tags. @@ -28,7 +28,7 @@ async function updateLoadBalancerTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysCreateOrUpdateSample.js index 33fdbfff8515..f993ee0f6c1e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a local network gateway in the specified resource group. @@ -36,7 +36,7 @@ async function createLocalNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", subscriptionId, resourceGroupName, - localNetworkGatewayName + localNetworkGatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysDeleteSample.js index 1748b6ca0e93..f221e2df9a27 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified local network gateway. @@ -28,7 +28,7 @@ async function deleteLocalNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", subscriptionId, resourceGroupName, - localNetworkGatewayName + localNetworkGatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysGetSample.js index 137a74230176..c023edbf9c0b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified local network gateway in a resource group. @@ -27,7 +27,7 @@ async function getLocalNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", subscriptionId, resourceGroupName, - localNetworkGatewayName + localNetworkGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysListSample.js index 8f1cf90a92e2..a670cd56b84e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the local network gateways in a resource group. @@ -26,7 +26,7 @@ async function listLocalNetworkGateways() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysUpdateTagsSample.js index 3673ee391136..ccae956e3548 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/localNetworkGatewaysUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a local network gateway tags. @@ -28,7 +28,7 @@ async function updateLocalNetworkGatewayTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", subscriptionId, resourceGroupName, - localNetworkGatewayName + localNetworkGatewayName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.js index 3e946fdf01be..722ee86f0df9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Create a network manager connection on this management group. @@ -31,7 +31,7 @@ async function createOrUpdateManagementGroupNetworkManagerConnection() { .path( "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", managementGroupId, - networkManagerConnectionName + networkManagerConnectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsDeleteSample.js index df05db7fb12a..61ad90b804da 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsDeleteSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Delete specified pending connection created by this management group. @@ -25,7 +25,7 @@ async function deleteManagementGroupNetworkManagerConnection() { .path( "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", managementGroupId, - networkManagerConnectionName + networkManagerConnectionName, ) .delete(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsGetSample.js index 0c56eca0e9b7..0ad952f725f3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get a specified connection created by this management group. @@ -25,7 +25,7 @@ async function getManagementGroupNetworkManagerConnection() { .path( "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", managementGroupId, - networkManagerConnectionName + networkManagerConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsListSample.js index 78a8b8cf5e3e..486a937c09c3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/managementGroupNetworkManagerConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all network manager connections created by this management group. @@ -24,7 +24,7 @@ async function listManagementGroupNetworkManagerConnection() { const initialResponse = await client .path( "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections", - managementGroupId + managementGroupId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysCreateOrUpdateSample.js index 32549965d21d..cc6b1697c3a0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a nat gateway. @@ -44,7 +44,7 @@ async function createNatGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", subscriptionId, resourceGroupName, - natGatewayName + natGatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysDeleteSample.js index b1c3483735f5..4f9e533c91df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified nat gateway. @@ -28,7 +28,7 @@ async function deleteNatGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", subscriptionId, resourceGroupName, - natGatewayName + natGatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysGetSample.js index 91495f749844..cc7cb4d54077 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified nat gateway in a specified resource group. @@ -27,7 +27,7 @@ async function getNatGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", subscriptionId, resourceGroupName, - natGatewayName + natGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysListAllSample.js index eedbe751b56e..6d5950cc8875 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the Nat Gateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysListSample.js index 7760bdad6b0c..dd513ad49816 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all nat gateways in a resource group. @@ -26,7 +26,7 @@ async function listNatGatewaysInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysUpdateTagsSample.js index 9b2a7825ceda..3a711e12140a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natGatewaysUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates nat gateway tags. @@ -28,7 +28,7 @@ async function updateNatGatewayTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", subscriptionId, resourceGroupName, - natGatewayName + natGatewayName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesCreateOrUpdateSample.js index e6ea56cdeccb..2578ec19ff73 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. @@ -40,7 +40,7 @@ async function natRulePut() { subscriptionId, resourceGroupName, gatewayName, - natRuleName + natRuleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesDeleteSample.js index 055bff5c0a89..23209f18dc63 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a nat rule. @@ -30,7 +30,7 @@ async function natRuleDelete() { subscriptionId, resourceGroupName, gatewayName, - natRuleName + natRuleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesGetSample.js index 4d6b2e20727f..eb2062667659 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a nat ruleGet. @@ -29,7 +29,7 @@ async function natRuleGet() { subscriptionId, resourceGroupName, gatewayName, - natRuleName + natRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesListByVpnGatewaySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesListByVpnGatewaySample.js index 3bb34e39eb47..9bd2f33cc196 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesListByVpnGatewaySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/natRulesListByVpnGatewaySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves all nat rules for a particular virtual wan vpn gateway. @@ -28,7 +28,7 @@ async function natRuleList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsCreateOrUpdateSample.js index 66bee7860182..577a7e30ec73 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a network group. @@ -31,7 +31,7 @@ async function networkGroupsPut() { subscriptionId, resourceGroupName, networkManagerName, - networkGroupName + networkGroupName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsDeleteSample.js index 648d0bf1640e..d56ce9daf54f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a network group. @@ -30,7 +30,7 @@ async function networkGroupsDelete() { subscriptionId, resourceGroupName, networkManagerName, - networkGroupName + networkGroupName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsGetSample.js index 4ac22ec05503..80da0d0e6845 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified network group. @@ -29,7 +29,7 @@ async function networkGroupsGet() { subscriptionId, resourceGroupName, networkManagerName, - networkGroupName + networkGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsListSample.js index 961a90a91f57..422a8575c72f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkGroupsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists the specified network group. @@ -28,7 +28,7 @@ async function networkGroupsList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceIPConfigurationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceIPConfigurationsGetSample.js index 96c7c00a0ad1..b3756ec47d21 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceIPConfigurationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceIPConfigurationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified network interface ip configuration. @@ -29,7 +29,7 @@ async function networkInterfaceIPConfigurationGet() { subscriptionId, resourceGroupName, networkInterfaceName, - ipConfigurationName + ipConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceIPConfigurationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceIPConfigurationsListSample.js index f8ec3ba604e8..0b404650dc0e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceIPConfigurationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceIPConfigurationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get all ip configurations in a network interface. @@ -28,7 +28,7 @@ async function networkInterfaceIPConfigurationList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceLoadBalancersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceLoadBalancersListSample.js index e28a82b2e0ee..c7f9b34f3a86 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceLoadBalancersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceLoadBalancersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all load balancers in a network interface. @@ -28,7 +28,7 @@ async function networkInterfaceLoadBalancerList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsCreateOrUpdateSample.js index f7f73aae8e8e..9021b2a0e04f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a Tap configuration in the specified NetworkInterface. @@ -37,7 +37,7 @@ async function createNetworkInterfaceTapConfigurations() { subscriptionId, resourceGroupName, networkInterfaceName, - tapConfigurationName + tapConfigurationName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsDeleteSample.js index 2e0af1634b60..0b617edff74f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified tap configuration from the NetworkInterface. @@ -30,7 +30,7 @@ async function deleteTapConfiguration() { subscriptionId, resourceGroupName, networkInterfaceName, - tapConfigurationName + tapConfigurationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsGetSample.js index c497d45a6a8a..211815c992c7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified tap configuration on a network interface. @@ -29,7 +29,7 @@ async function getNetworkInterfaceTapConfigurations() { subscriptionId, resourceGroupName, networkInterfaceName, - tapConfigurationName + tapConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsListSample.js index 89d82ef56753..6ea41a87d870 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfaceTapConfigurationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get all Tap configurations in a network interface. @@ -28,7 +28,7 @@ async function listVirtualNetworkTapConfigurations() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesCreateOrUpdateSample.js index 17f6ef57a2ed..b2ae1da36c3e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a network interface. @@ -48,7 +48,7 @@ async function createNetworkInterface() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -99,7 +99,7 @@ async function createNetworkInterfaceWithGatewayLoadBalancerConsumerConfigured() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesDeleteSample.js index 8b4c1fdfc39b..c0cef960306a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified network interface. @@ -28,7 +28,7 @@ async function deleteNetworkInterface() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetCloudServiceNetworkInterfaceSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetCloudServiceNetworkInterfaceSample.js index 63911dfad218..4eefdcda00bf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetCloudServiceNetworkInterfaceSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetCloudServiceNetworkInterfaceSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified network interface in a cloud service. @@ -31,7 +31,7 @@ async function getCloudServiceNetworkInterface() { resourceGroupName, cloudServiceName, roleInstanceName, - networkInterfaceName + networkInterfaceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetEffectiveRouteTableSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetEffectiveRouteTableSample.js index 801e46712b00..831336815959 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetEffectiveRouteTableSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetEffectiveRouteTableSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all route tables applied to a network interface. @@ -28,7 +28,7 @@ async function showNetworkInterfaceEffectiveRouteTables() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetSample.js index e8283db0f7b8..8e81bb175a79 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about the specified network interface. @@ -27,7 +27,7 @@ async function getNetworkInterface() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.js index 7a0fd5a01fb7..bea485d43aea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified network interface ip configuration in a virtual machine scale set. @@ -33,7 +33,7 @@ async function getVirtualMachineScaleSetNetworkInterface() { virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, - ipConfigurationName + ipConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.js index 237077000ffb..b2bd293f1bcf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified network interface in a virtual machine scale set. @@ -31,7 +31,7 @@ async function getVirtualMachineScaleSetNetworkInterface() { resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName + networkInterfaceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListAllSample.js index 405d85c2f74d..7db24e323ef3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network interfaces in a subscription. @@ -24,7 +24,7 @@ async function listAllNetworkInterfaces() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListCloudServiceNetworkInterfacesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListCloudServiceNetworkInterfacesSample.js index bd8020bf3cc9..c4b8bf81ba2c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListCloudServiceNetworkInterfacesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListCloudServiceNetworkInterfacesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network interfaces in a cloud service. @@ -28,7 +28,7 @@ async function listCloudServiceNetworkInterfaces() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.js index 6079299844b2..61ebeeac033c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about all network interfaces in a role instance in a cloud service. @@ -30,7 +30,7 @@ async function listCloudServiceRoleInstanceNetworkInterfaces() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListEffectiveNetworkSecurityGroupsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListEffectiveNetworkSecurityGroupsSample.js index da7d9470434d..fcfb5b486ffc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListEffectiveNetworkSecurityGroupsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListEffectiveNetworkSecurityGroupsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network security groups applied to a network interface. @@ -28,7 +28,7 @@ async function listNetworkInterfaceEffectiveNetworkSecurityGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListSample.js index 2c39691d9723..091aa04ca73d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network interfaces in a resource group. @@ -26,7 +26,7 @@ async function listNetworkInterfacesInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.js index ff38c979a765..746a4eceee4e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified network interface ip configuration in a virtual machine scale set. @@ -32,7 +32,7 @@ async function listVirtualMachineScaleSetNetworkInterfaceIPConfigurations() { resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName + networkInterfaceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.js index 988ad04452b7..f23ff2c70e88 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network interfaces in a virtual machine scale set. @@ -28,7 +28,7 @@ async function listVirtualMachineScaleSetNetworkInterfaces() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.js index 1556f46db170..36836c927b57 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about all network interfaces in a virtual machine in a virtual machine scale set. @@ -30,7 +30,7 @@ async function listVirtualMachineScaleSetVMNetworkInterfaces() { subscriptionId, resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex + virtualmachineIndex, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesUpdateTagsSample.js index c04ad25e8057..dc62d3c4e3de 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkInterfacesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a network interface tags. @@ -28,7 +28,7 @@ async function updateNetworkInterfaceTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagerCommitsPostSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagerCommitsPostSample.js index 6da3060528f9..14b64b56151c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagerCommitsPostSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagerCommitsPostSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Post a Network Manager Commit. @@ -35,7 +35,7 @@ async function networkManageCommitPost() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagerDeploymentStatusListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagerDeploymentStatusListSample.js index 8d5aba549883..c59badc656e2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagerDeploymentStatusListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagerDeploymentStatusListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Post to List of Network Manager Deployment Status. @@ -32,7 +32,7 @@ async function networkManagerDeploymentStatusList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersCreateOrUpdateSample.js index 75441e6bb767..c42b9e7ba8f7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a Network Manager. @@ -37,7 +37,7 @@ async function putNetworkManager() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersDeleteSample.js index b82d6152c206..67dc2f81f767 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a network manager. @@ -28,7 +28,7 @@ async function networkManagersDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersGetSample.js index 8f2dc6882d29..9fe71f787b0d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Network Manager. @@ -27,7 +27,7 @@ async function networkManagersGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersListBySubscriptionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersListBySubscriptionSample.js index 4a6fd3256661..d44ebccc56df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersListBySubscriptionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersListBySubscriptionSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all network managers in a subscription. @@ -24,7 +24,7 @@ async function networkManagersList() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersListSample.js index 976ba285e889..1665ef19487c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List network managers in a resource group. @@ -26,7 +26,7 @@ async function listNetworkManager() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersPatchSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersPatchSample.js index 4d835c5cdf81..9049c8d79d6e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersPatchSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkManagersPatchSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Patch NetworkManager. @@ -28,7 +28,7 @@ async function networkManagesPatch() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesCreateOrUpdateSample.js index f702daf12baf..79572bab7c99 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a network profile. @@ -49,7 +49,7 @@ async function createNetworkProfileDefaults() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesDeleteSample.js index c1bc8285d08a..42ad8ae435fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified network profile. @@ -28,7 +28,7 @@ async function deleteNetworkProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesGetSample.js index c6a268598b49..928fe0de000d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified network profile in a specified resource group. @@ -27,7 +27,7 @@ async function getNetworkProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getNetworkProfileWithContainerNetworkInterfaces() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesListAllSample.js index c9975c61810b..0c6d5f48e921 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the network profiles in a subscription. @@ -24,7 +24,7 @@ async function listAllNetworkProfiles() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesListSample.js index f77c4a67eddd..a3f3faaa5c1b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network profiles in a resource group. @@ -26,7 +26,7 @@ async function listResourceGroupNetworkProfiles() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesUpdateTagsSample.js index 7f9e1769846e..8b16baa872ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkProfilesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates network profile tags. @@ -28,7 +28,7 @@ async function updateNetworkProfileTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsCreateOrUpdateSample.js index f1763db26f74..6c598875e7ab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a network security group in the specified resource group. @@ -29,7 +29,7 @@ async function createNetworkSecurityGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -78,7 +78,7 @@ async function createNetworkSecurityGroupWithRule() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsDeleteSample.js index 46e88c4e4d16..975c00618ca5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified network security group. @@ -28,7 +28,7 @@ async function deleteNetworkSecurityGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsGetSample.js index cb3861a508d5..a32a1110f79b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified network security group. @@ -27,7 +27,7 @@ async function getNetworkSecurityGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsListAllSample.js index f6849446fc43..ffb8b3dbaad2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network security groups in a subscription. @@ -24,7 +24,7 @@ async function listAllNetworkSecurityGroups() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsListSample.js index 567a28483472..96c0605e98d9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network security groups in a resource group. @@ -26,7 +26,7 @@ async function listNetworkSecurityGroupsInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsUpdateTagsSample.js index bad6a546bbee..941a1437e4bd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkSecurityGroupsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a network security group tags. @@ -28,7 +28,7 @@ async function updateNetworkSecurityGroupTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesCreateOrUpdateSample.js index c96654e5142a..2dc237d303fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance. @@ -56,7 +56,7 @@ async function createNetworkVirtualAppliance() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesDeleteSample.js index 31e91fa219df..1dd0f09f79d7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified Network Virtual Appliance. @@ -28,7 +28,7 @@ async function deleteNetworkVirtualAppliance() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesGetSample.js index dea9e59dc620..27f1aeafb334 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Network Virtual Appliance. @@ -27,7 +27,7 @@ async function getNetworkVirtualAppliance() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesListByResourceGroupSample.js index 3aabe9352f61..4caf293c6b31 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Network Virtual Appliances in a resource group. @@ -26,7 +26,7 @@ async function listAllNetworkVirtualApplianceForAGivenResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesListSample.js index c149b609c4ab..826e24f6e9e5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all Network Virtual Appliances in a subscription. @@ -24,7 +24,7 @@ async function listAllNetworkVirtualAppliancesForAGivenSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesUpdateTagsSample.js index ca27db9df027..e393ed7268b3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkVirtualAppliancesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a Network Virtual Appliance. @@ -28,7 +28,7 @@ async function updateNetworkVirtualAppliance() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersCheckConnectivitySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersCheckConnectivitySample.js index 1d821e530427..acb06aee705e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersCheckConnectivitySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersCheckConnectivitySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. @@ -36,7 +36,7 @@ async function checkConnectivity() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersCreateOrUpdateSample.js index 62fa24a12bcb..2c924c226a30 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a network watcher in the specified resource group. @@ -28,7 +28,7 @@ async function createNetworkWatcher() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersDeleteSample.js index b319307ddb7e..ae676711f093 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified network watcher resource. @@ -28,7 +28,7 @@ async function deleteNetworkWatcher() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetAzureReachabilityReportSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetAzureReachabilityReportSample.js index 4ffb7ebd4522..69c07e941caf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetAzureReachabilityReportSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetAzureReachabilityReportSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. @@ -35,7 +35,7 @@ async function getAzureReachabilityReport() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetFlowLogStatusSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetFlowLogStatusSample.js index 4e4ddd4d5686..dc1a778100b0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetFlowLogStatusSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetFlowLogStatusSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Queries status of flow log and traffic analytics (optional) on a specified resource. @@ -32,7 +32,7 @@ async function getFlowLogStatus() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetNetworkConfigurationDiagnosticSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetNetworkConfigurationDiagnosticSample.js index ecd0ad941115..d258557c765f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetNetworkConfigurationDiagnosticSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetNetworkConfigurationDiagnosticSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. @@ -41,7 +41,7 @@ async function networkConfigurationDiagnostic() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetNextHopSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetNextHopSample.js index 2d53b3dd5624..d1ee6f6a2767 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetNextHopSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetNextHopSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the next hop from the specified VM. @@ -36,7 +36,7 @@ async function getNextHop() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetSample.js index a549c75c458a..0882cbe090ac 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified network watcher by resource group. @@ -27,7 +27,7 @@ async function getNetworkWatcher() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTopologySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTopologySample.js index 68c1148f87b5..e4fd6406c98d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTopologySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTopologySample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the current network topology by resource group. @@ -28,7 +28,7 @@ async function getTopology() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTroubleshootingResultSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTroubleshootingResultSample.js index b2b436a5efce..c53d0a29ae87 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTroubleshootingResultSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTroubleshootingResultSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the last completed troubleshooting result on a specified resource. @@ -32,7 +32,7 @@ async function getTroubleshootResult() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTroubleshootingSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTroubleshootingSample.js index 717c25fb7b69..10664c75df24 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTroubleshootingSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetTroubleshootingSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Initiate troubleshooting on a specified resource. @@ -37,7 +37,7 @@ async function getTroubleshooting() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetVMSecurityRulesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetVMSecurityRulesSample.js index f3a00d2a18c4..a46b59c09605 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetVMSecurityRulesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersGetVMSecurityRulesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the configured and effective security group rules on the specified VM. @@ -32,7 +32,7 @@ async function getSecurityGroupView() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListAllSample.js index ae13a5ba3fec..585e0fc595ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network watchers by subscription. @@ -24,7 +24,7 @@ async function listAllNetworkWatchers() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListAvailableProvidersSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListAvailableProvidersSample.js index 93545e45aaa4..2da1d3f4fadf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListAvailableProvidersSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListAvailableProvidersSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. @@ -34,7 +34,7 @@ async function getAvailableProvidersList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListSample.js index 3ee4a72360a4..b312d00f96c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all network watchers by resource group. @@ -26,7 +26,7 @@ async function listNetworkWatchers() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersSetFlowLogConfigurationSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersSetFlowLogConfigurationSample.js index 04928a1793e7..df8b9b509921 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersSetFlowLogConfigurationSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersSetFlowLogConfigurationSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Configures flow log and traffic analytics (optional) on a specified resource. @@ -37,7 +37,7 @@ async function configureFlowLog() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersUpdateTagsSample.js index 8285ba36631a..02cefe2c252d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a network watcher tags. @@ -28,7 +28,7 @@ async function updateNetworkWatcherTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersVerifyIPFlowSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersVerifyIPFlowSample.js index b87556514309..865fba29cc6c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersVerifyIPFlowSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/networkWatchersVerifyIPFlowSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Verify IP flow from the specified VM to a location given the currently configured NSG rules. @@ -38,7 +38,7 @@ async function ipFlowVerify() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/operationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/operationsListSample.js index fdcd41b0550f..8cb7fb6c19ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/operationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/operationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all of the available Network Rest API operations. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysCreateOrUpdateSample.js index 9b07f24d289e..c6f24844767d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. @@ -72,7 +72,7 @@ async function p2SVpnGatewayPut() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysDeleteSample.js index a0cea03ad346..1f0b8421b114 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a virtual wan p2s vpn gateway. @@ -28,7 +28,7 @@ async function p2SVpnGatewayDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.js index 4f1d8b907541..20ad54928cb6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. @@ -29,7 +29,7 @@ async function disconnectVpnConnectionsFromP2SVpnGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections", subscriptionId, resourceGroupName, - p2sVpnGatewayName + p2sVpnGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGenerateVpnProfileSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGenerateVpnProfileSample.js index 4f986e02ac9d..1d8be14906a5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGenerateVpnProfileSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGenerateVpnProfileSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. @@ -29,7 +29,7 @@ async function generateP2SVpnGatewayVpnprofile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.js index 5d134105efc0..23c04e1fb4dd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. @@ -33,7 +33,7 @@ async function p2SVpnGatewayGetConnectionHealthDetailed() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.js index 835cb9d3b57c..3c6adb0bdcbf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. @@ -28,7 +28,7 @@ async function p2SVpnGatewayGetConnectionHealth() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetSample.js index 84a3055ded38..06ac00687100 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a virtual wan p2s vpn gateway. @@ -27,7 +27,7 @@ async function p2SVpnGatewayGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysListByResourceGroupSample.js index 7fa8c8d9e880..2098c5372dd7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the P2SVpnGateways in a resource group. @@ -26,7 +26,7 @@ async function p2SVpnGatewayListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysListSample.js index 1960e2ad4389..88dca9e532a8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the P2SVpnGateways in a subscription. @@ -24,7 +24,7 @@ async function p2SVpnGatewayListBySubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysResetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysResetSample.js index c9817b119748..f0dd723a5567 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysResetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysResetSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Resets the primary of the p2s vpn gateway in the specified resource group. @@ -28,7 +28,7 @@ async function resetP2SVpnGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysUpdateTagsSample.js index 55a821d146bb..1eaf9bf4892c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/p2SVpnGatewaysUpdateTagsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates virtual wan p2s vpn gateway tags. @@ -29,7 +29,7 @@ async function p2SVpnGatewayUpdate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/package.json b/sdk/network/arm-network-rest/samples/v1-beta/javascript/package.json index b0d6ff150930..2589aad6f681 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/package.json +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/package.json @@ -28,6 +28,6 @@ "dependencies": { "@azure-rest/arm-network": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" } } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesCreateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesCreateSample.js index 2476f7433618..0341d4707080 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesCreateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesCreateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Create and start a packet capture on the specified VM. @@ -46,7 +46,7 @@ async function createPacketCapture() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesDeleteSample.js index 99c89b2d070a..b5ef915c391f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified packet capture session. @@ -30,7 +30,7 @@ async function deletePacketCapture() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesGetSample.js index 9ba24cec9a60..aee38e7898d0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a packet capture session by name. @@ -29,7 +29,7 @@ async function getPacketCapture() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesGetStatusSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesGetStatusSample.js index 78eec28f12b6..477062c89166 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesGetStatusSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesGetStatusSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Query the status of a running packet capture session. @@ -30,7 +30,7 @@ async function queryPacketCaptureStatus() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesListSample.js index 5f209f632c23..61db0eccba9b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all packet capture sessions within the specified resource group. @@ -28,7 +28,7 @@ async function listPacketCaptures() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesStopSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesStopSample.js index 93f1a02cde27..e7db5f4fdb33 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesStopSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/packetCapturesStopSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Stops a specified packet capture session. @@ -30,7 +30,7 @@ async function stopPacketCapture() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/peerExpressRouteCircuitConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/peerExpressRouteCircuitConnectionsGetSample.js index 716e3eca87bb..ef0f1cceb325 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/peerExpressRouteCircuitConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/peerExpressRouteCircuitConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. @@ -31,7 +31,7 @@ async function peerExpressRouteCircuitConnectionGet() { resourceGroupName, circuitName, peeringName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/peerExpressRouteCircuitConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/peerExpressRouteCircuitConnectionsListSample.js index 2f875c9b96e3..5163ad608ce7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/peerExpressRouteCircuitConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/peerExpressRouteCircuitConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all global reach peer connections associated with a private peering in an express route circuit. @@ -30,7 +30,7 @@ async function listPeerExpressRouteCircuitConnection() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsCreateOrUpdateSample.js index c9fdf0243a70..c0d9d6e75693 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a private dns zone group in the specified private endpoint. @@ -42,7 +42,7 @@ async function createPrivateDnsZoneGroup() { subscriptionId, resourceGroupName, privateEndpointName, - privateDnsZoneGroupName + privateDnsZoneGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsDeleteSample.js index 3e5ffa65504f..1e5ebad8d020 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified private dns zone group. @@ -30,7 +30,7 @@ async function deletePrivateDnsZoneGroup() { subscriptionId, resourceGroupName, privateEndpointName, - privateDnsZoneGroupName + privateDnsZoneGroupName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsGetSample.js index 527077052fa7..0a61ea5fd4cf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the private dns zone group resource by specified private dns zone group name. @@ -29,7 +29,7 @@ async function getPrivateDnsZoneGroup() { subscriptionId, resourceGroupName, privateEndpointName, - privateDnsZoneGroupName + privateDnsZoneGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsListSample.js index 3186c6bcced8..2d07d761ff3e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateDnsZoneGroupsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all private dns zone groups in a private endpoint. @@ -28,7 +28,7 @@ async function listPrivateEndpointsInResourceGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsCreateOrUpdateSample.js index 9432ddf3b6b3..87268596abae 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an private endpoint in the specified resource group. @@ -57,7 +57,7 @@ async function createPrivateEndpoint() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -109,7 +109,7 @@ async function createPrivateEndpointWithApplicationSecurityGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -167,7 +167,7 @@ async function createPrivateEndpointWithManualApprovalConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsDeleteSample.js index 26f84cf6f604..bd3a3fc071b8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified private endpoint. @@ -28,7 +28,7 @@ async function deletePrivateEndpoint() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsGetSample.js index 333b98dbe346..ad061fa8405d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified private endpoint by resource group. @@ -27,7 +27,7 @@ async function getPrivateEndpoint() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getPrivateEndpointWithApplicationSecurityGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .get(options); console.log(result); @@ -81,7 +81,7 @@ async function getPrivateEndpointWithManualApprovalConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsListBySubscriptionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsListBySubscriptionSample.js index 7343187b1bc9..54b1cef96e82 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsListBySubscriptionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsListBySubscriptionSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all private endpoints in a subscription. @@ -24,7 +24,7 @@ async function listAllPrivateEndpoints() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsListSample.js index 08c6473a32ed..f2ced984ea3c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateEndpointsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all private endpoints in a resource group. @@ -26,7 +26,7 @@ async function listPrivateEndpointsInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.js index 4a9bb95a1a1c..25f816cdf868 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Checks whether the subscription is visible to private link service in the specified resource group. @@ -32,7 +32,7 @@ async function checkPrivateLinkServiceVisibility() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", subscriptionId, resourceGroupName, - location + location, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.js index 02e2aa4400a5..63e7d9a022a7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Checks whether the subscription is visible to private link service. @@ -30,7 +30,7 @@ async function checkPrivateLinkServiceVisibility() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", subscriptionId, - location + location, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCreateOrUpdateSample.js index 0d5f1dd10bb5..b00ec7015827 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates an private link service in the specified resource group. @@ -56,7 +56,7 @@ async function createPrivateLinkService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", subscriptionId, resourceGroupName, - serviceName + serviceName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesDeletePrivateEndpointConnectionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesDeletePrivateEndpointConnectionSample.js index 6c911081de7e..e15450c75e90 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesDeletePrivateEndpointConnectionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesDeletePrivateEndpointConnectionSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Delete private end point connection for a private link service in a subscription. @@ -30,7 +30,7 @@ async function deletePrivateEndPointConnectionForAPrivateLinkService() { subscriptionId, resourceGroupName, serviceName, - peConnectionName + peConnectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesDeleteSample.js index 72746a340911..87511dbc52a3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified private link service. @@ -28,7 +28,7 @@ async function deletePrivateLinkService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", subscriptionId, resourceGroupName, - serviceName + serviceName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesGetPrivateEndpointConnectionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesGetPrivateEndpointConnectionSample.js index ec7185fc218a..d72b4702aff5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesGetPrivateEndpointConnectionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesGetPrivateEndpointConnectionSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specific private end point connection by specific private link service in the resource group. @@ -29,7 +29,7 @@ async function getPrivateEndPointConnection() { subscriptionId, resourceGroupName, serviceName, - peConnectionName + peConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesGetSample.js index c20af02a9f80..c11a3c2cac7a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified private link service by resource group. @@ -27,7 +27,7 @@ async function getPrivateLinkService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", subscriptionId, resourceGroupName, - serviceName + serviceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.js index 98de10aeb875..9657f6aea066 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. @@ -28,7 +28,7 @@ async function getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWit "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", subscriptionId, resourceGroupName, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -40,5 +40,5 @@ async function getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWit } getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved().catch( - console.error + console.error, ); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.js index cca9da3527e1..3f028a70dd65 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. @@ -26,7 +26,7 @@ async function getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWit .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -38,5 +38,5 @@ async function getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWit } getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved().catch( - console.error + console.error, ); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListBySubscriptionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListBySubscriptionSample.js index 1192a4b2b0b1..f3a11fbd26a4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListBySubscriptionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListBySubscriptionSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all private link service in a subscription. @@ -24,7 +24,7 @@ async function listAllPrivateListService() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListPrivateEndpointConnectionsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListPrivateEndpointConnectionsSample.js index 132d041fe964..2734038ad95b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListPrivateEndpointConnectionsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListPrivateEndpointConnectionsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all private end point connections for a specific private link service. @@ -28,7 +28,7 @@ async function listPrivateLinkServiceInResourceGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections", subscriptionId, resourceGroupName, - serviceName + serviceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListSample.js index e0b0776acf74..b7a519eefa56 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all private link services in a resource group. @@ -26,7 +26,7 @@ async function listPrivateLinkServiceInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesUpdatePrivateEndpointConnectionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesUpdatePrivateEndpointConnectionSample.js index 5a404eb864d5..7d81f5e8e8bf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesUpdatePrivateEndpointConnectionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/privateLinkServicesUpdatePrivateEndpointConnectionSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Approve or reject private end point connection for a private link service in a subscription. @@ -41,7 +41,7 @@ async function approveOrRejectPrivateEndPointConnectionForAPrivateLinkService() subscriptionId, resourceGroupName, serviceName, - peConnectionName + peConnectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesCreateOrUpdateSample.js index 325691e45622..026b879249e6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a static or dynamic public IP address. @@ -32,7 +32,7 @@ async function createPublicIPAddressDns() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -70,7 +70,7 @@ async function createPublicIPAddressAllocationMethod() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -100,7 +100,7 @@ async function createPublicIPAddressDefaults() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesDdosProtectionStatusSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesDdosProtectionStatusSample.js index 3cb7376df2eb..c75a4947d170 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesDdosProtectionStatusSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesDdosProtectionStatusSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the Ddos Protection Status of a Public IP Address @@ -28,7 +28,7 @@ async function getDdosProtectionStatusOfAPublicIPAddress() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesDeleteSample.js index 30f7cb8dade8..1c1086e42a7e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified public IP address. @@ -28,7 +28,7 @@ async function deletePublicIPAddress() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetCloudServicePublicIpaddressSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetCloudServicePublicIpaddressSample.js index 7cef0ec904ba..2324b47702a9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetCloudServicePublicIpaddressSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetCloudServicePublicIpaddressSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified public IP address in a cloud service. @@ -35,7 +35,7 @@ async function getVmssPublicIP() { roleInstanceName, networkInterfaceName, ipConfigurationName, - publicIpAddressName + publicIpAddressName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetSample.js index 14bd1a609086..4b65111ec3c5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified public IP address in a specified resource group. @@ -27,7 +27,7 @@ async function getPublicIPAddress() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.js index cc6c865e16fe..4dbca24f1aab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified public IP address in a virtual machine scale set. @@ -35,7 +35,7 @@ async function getVmssPublicIP() { virtualmachineIndex, networkInterfaceName, ipConfigurationName, - publicIpAddressName + publicIpAddressName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListAllSample.js index 828204dbd42e..901172a61d22 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the public IP addresses in a subscription. @@ -24,7 +24,7 @@ async function listAllPublicIPAddresses() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListCloudServicePublicIpaddressesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListCloudServicePublicIpaddressesSample.js index 94cfe0fb8fb6..fc31e787d529 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListCloudServicePublicIpaddressesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListCloudServicePublicIpaddressesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about all public IP addresses on a cloud service level. @@ -28,7 +28,7 @@ async function listVmssPublicIP() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.js index 7151d0683402..7a25a6052dfe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about all public IP addresses in a role instance IP configuration in a cloud service. @@ -34,7 +34,7 @@ async function listVmssvmPublicIP() { cloudServiceName, roleInstanceName, networkInterfaceName, - ipConfigurationName + ipConfigurationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListSample.js index 27d4482e05c1..10011d538704 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all public IP addresses in a resource group. @@ -26,7 +26,7 @@ async function listResourceGroupPublicIPAddresses() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.js index 5b690f69bbfd..ecff905e4c8a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about all public IP addresses on a virtual machine scale set level. @@ -28,7 +28,7 @@ async function listVmssPublicIP() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.js index 89758d021628..2b492e3e28e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set. @@ -34,7 +34,7 @@ async function listVmssvmPublicIP() { virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, - ipConfigurationName + ipConfigurationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesUpdateTagsSample.js index 91a1723d40e8..f7412fe47597 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPAddressesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates public IP address tags. @@ -28,7 +28,7 @@ async function updatePublicIPAddressTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesCreateOrUpdateSample.js index e8de36cfb47f..5c8cafb85458 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a static or dynamic public IP prefix. @@ -33,7 +33,7 @@ async function createPublicIPPrefixAllocationMethod() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -67,7 +67,7 @@ async function createPublicIPPrefixDefaults() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesDeleteSample.js index f38f6ba8612b..6af354ebc9c4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified public IP prefix. @@ -28,7 +28,7 @@ async function deletePublicIPPrefix() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesGetSample.js index 4b48870a7ac9..36da9992b7d4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified public IP prefix in a specified resource group. @@ -27,7 +27,7 @@ async function getPublicIPPrefix() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesListAllSample.js index 734b2b0ae992..6761ae793ef2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the public IP prefixes in a subscription. @@ -24,7 +24,7 @@ async function listAllPublicIPPrefixes() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesListSample.js index 0c39671f6f1f..03896d0a2771 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all public IP prefixes in a resource group. @@ -26,7 +26,7 @@ async function listResourceGroupPublicIPPrefixes() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesUpdateTagsSample.js index fc996a143481..64b21585d1d0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/publicIPPrefixesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates public IP prefix tags. @@ -28,7 +28,7 @@ async function updatePublicIPPrefixTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/putBastionShareableLinkSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/putBastionShareableLinkSample.js index c13aa175e316..6e74e1b5b59c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/putBastionShareableLinkSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/putBastionShareableLinkSample.js @@ -9,7 +9,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default paginate, } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a Bastion Shareable Links for all the VMs specified in the request. @@ -45,7 +45,7 @@ async function createBastionShareableLinksForTheRequestVMS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/resourceNavigationLinksListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/resourceNavigationLinksListSample.js index d65601c39d17..cb66c84f245e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/resourceNavigationLinksListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/resourceNavigationLinksListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a list of resource navigation links for a subnet. @@ -29,7 +29,7 @@ async function getResourceNavigationLinks() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesCreateOrUpdateSample.js index 519810c0f19d..8d919394ec0f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a route in the specified route filter. @@ -37,7 +37,7 @@ async function routeFilterRuleCreate() { subscriptionId, resourceGroupName, routeFilterName, - ruleName + ruleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesDeleteSample.js index b0a27c01a4f6..9915c7c46888 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified rule from a route filter. @@ -30,7 +30,7 @@ async function routeFilterRuleDelete() { subscriptionId, resourceGroupName, routeFilterName, - ruleName + ruleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesGetSample.js index f73f17155b7a..e2456b6171f9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified rule from a route filter. @@ -29,7 +29,7 @@ async function routeFilterRuleGet() { subscriptionId, resourceGroupName, routeFilterName, - ruleName + ruleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesListByRouteFilterSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesListByRouteFilterSample.js index 8423084d9f9f..62ba7d29fb90 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesListByRouteFilterSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFilterRulesListByRouteFilterSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all RouteFilterRules in a route filter. @@ -28,7 +28,7 @@ async function routeFilterRuleListByRouteFilter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersCreateOrUpdateSample.js index d723a54da5b8..e62024ed7cea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a route filter in a specified resource group. @@ -44,7 +44,7 @@ async function routeFilterCreate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersDeleteSample.js index 05d5399cf97f..79faafaa81b9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified route filter. @@ -28,7 +28,7 @@ async function routeFilterDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersGetSample.js index 4e1c4a229190..acb1f120e6d6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified route filter. @@ -27,7 +27,7 @@ async function routeFilterGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersListByResourceGroupSample.js index 7f3e99dc70c4..57ded29aeaad 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all route filters in a resource group. @@ -26,7 +26,7 @@ async function routeFilterListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersListSample.js index 7c3192923931..f111c39aefbe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all route filters in a subscription. @@ -24,7 +24,7 @@ async function routeFilterList() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersUpdateTagsSample.js index cdffe573b7a9..02de123665a5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeFiltersUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates tags of a route filter. @@ -28,7 +28,7 @@ async function updateRouteFilterTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsCreateOrUpdateSample.js index c200c5a23543..ed79ef5073f1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a RouteMap if it doesn't exist else updates the existing one. @@ -58,7 +58,7 @@ async function routeMapPut() { subscriptionId, resourceGroupName, virtualHubName, - routeMapName + routeMapName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsDeleteSample.js index c0f808e70245..8edb1c276793 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a RouteMap. @@ -30,7 +30,7 @@ async function routeMapDelete() { subscriptionId, resourceGroupName, virtualHubName, - routeMapName + routeMapName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsGetSample.js index 781a6fb68b7a..cf03c8d6341c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a RouteMap. @@ -29,7 +29,7 @@ async function routeMapGet() { subscriptionId, resourceGroupName, virtualHubName, - routeMapName + routeMapName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsListSample.js index 735a937ee312..2207576feedb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeMapsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of all RouteMaps. @@ -28,7 +28,7 @@ async function routeMapList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesCreateOrUpdateSample.js index 149b3fad5f38..55a4d7428030 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Create or updates a route table in a specified resource group. @@ -29,7 +29,7 @@ async function createRouteTable() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -73,7 +73,7 @@ async function createRouteTableWithRoute() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesDeleteSample.js index 6f60065054e7..2af40706231f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified route table. @@ -28,7 +28,7 @@ async function deleteRouteTable() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesGetSample.js index f9b4aee8c7e4..9e5edf136d94 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified route table. @@ -27,7 +27,7 @@ async function getRouteTable() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesListAllSample.js index 26fc83da5eae..00a0f8c8deb8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all route tables in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesListSample.js index a815d1636191..2b326685c81b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all route tables in a resource group. @@ -26,7 +26,7 @@ async function listRouteTablesInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesUpdateTagsSample.js index e69feb3f66aa..df4ab0aa40ea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routeTablesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a route table tags. @@ -28,7 +28,7 @@ async function updateRouteTableTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesCreateOrUpdateSample.js index 27ed3782a137..4eb29da4b5bb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a route in the specified route table. @@ -36,7 +36,7 @@ async function createRoute() { subscriptionId, resourceGroupName, routeTableName, - routeName + routeName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesDeleteSample.js index 21f475a4c6e6..cc6a03186948 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified route from a route table. @@ -30,7 +30,7 @@ async function deleteRoute() { subscriptionId, resourceGroupName, routeTableName, - routeName + routeName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesGetSample.js index 82f1fcb70016..c513dff94086 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified route from a route table. @@ -29,7 +29,7 @@ async function getRoute() { subscriptionId, resourceGroupName, routeTableName, - routeName + routeName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesListSample.js index 26d409beff36..0b2c0d0b89be 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all routes in a route table. @@ -28,7 +28,7 @@ async function listRoutes() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentCreateOrUpdateSample.js index eb108263224f..efede5faacf7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. @@ -48,7 +48,7 @@ async function routeTablePut() { subscriptionId, resourceGroupName, virtualHubName, - routingIntentName + routingIntentName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentDeleteSample.js index 0be3fc40ef0f..8937f20bc066 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a RoutingIntent. @@ -30,7 +30,7 @@ async function routeTableDelete() { subscriptionId, resourceGroupName, virtualHubName, - routingIntentName + routingIntentName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentGetSample.js index a31a74ddb2d9..fc366ca5974f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a RoutingIntent. @@ -29,7 +29,7 @@ async function routeTableGet() { subscriptionId, resourceGroupName, virtualHubName, - routingIntentName + routingIntentName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentListSample.js index cb694b500ed8..b5d42ef27691 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/routingIntentListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of all RoutingIntent child resources of the VirtualHub. @@ -28,7 +28,7 @@ async function routingIntentList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsCreateOrUpdateSample.js index e47cd1a48394..42ae50a157ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates scope connection from Network Manager @@ -36,7 +36,7 @@ async function createOrUpdateNetworkManagerScopeConnection() { subscriptionId, resourceGroupName, networkManagerName, - scopeConnectionName + scopeConnectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsDeleteSample.js index 49360e4cbd10..bddd6b12e9b4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsDeleteSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Delete the pending scope connection created by this network manager. @@ -29,7 +29,7 @@ async function deleteNetworkManagerScopeConnection() { subscriptionId, resourceGroupName, networkManagerName, - scopeConnectionName + scopeConnectionName, ) .delete(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsGetSample.js index 2a0bfdd2f925..6b161bca7af2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get specified scope connection created by this Network Manager. @@ -29,7 +29,7 @@ async function getNetworkManagerScopeConnection() { subscriptionId, resourceGroupName, networkManagerName, - scopeConnectionName + scopeConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsListSample.js index e7b9a2fdcf2a..87980bfa9b4b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/scopeConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all scope connections created by this network manager. @@ -28,7 +28,7 @@ async function listNetworkManagerScopeConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsCreateOrUpdateSample.js index 44de7e4b0adb..cbbc461b89ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a network manager security admin configuration. @@ -35,7 +35,7 @@ async function createNetworkManagerSecurityAdminConfiguration() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsDeleteSample.js index 25b7495ea37f..57f20ad2397c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a network manager security admin configuration. @@ -30,7 +30,7 @@ async function deleteNetworkManagerSecurityAdminConfiguration() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsGetSample.js index 9a39384c0b26..b75310ae5b3d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves a network manager security admin configuration. @@ -29,7 +29,7 @@ async function getSecurityAdminConfigurations() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsListSample.js index 7e4a7f38333c..d9553fd06aab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityAdminConfigurationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the network manager security admin configurations in a network manager, in a paginated format. @@ -28,7 +28,7 @@ async function listSecurityAdminConfigurationsInANetworkManager() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersCreateOrUpdateSample.js index 5a4272bcdaee..d8c57cd7734f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Security Partner Provider. @@ -38,7 +38,7 @@ async function createSecurityPartnerProvider() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", subscriptionId, resourceGroupName, - securityPartnerProviderName + securityPartnerProviderName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersDeleteSample.js index fed2413ddaf4..d19a2a15297d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified Security Partner Provider. @@ -28,7 +28,7 @@ async function deleteSecurityPartnerProvider() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", subscriptionId, resourceGroupName, - securityPartnerProviderName + securityPartnerProviderName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersGetSample.js index 210a5bad9e83..d8c94f9fa0a8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Security Partner Provider. @@ -27,7 +27,7 @@ async function getSecurityPartnerProvider() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", subscriptionId, resourceGroupName, - securityPartnerProviderName + securityPartnerProviderName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersListByResourceGroupSample.js index f45f49e1a6d0..89916efd4872 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Security Partner Providers in a resource group. @@ -26,7 +26,7 @@ async function listAllSecurityPartnerProvidersForAGivenResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersListSample.js index 175b526c0cfc..574e15ef5808 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the Security Partner Providers in a subscription. @@ -24,7 +24,7 @@ async function listAllSecurityPartnerProvidersForAGivenSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersUpdateTagsSample.js index 7c5babbc6c90..89a21deeec00 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityPartnerProvidersUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates tags of a Security Partner Provider resource. @@ -28,7 +28,7 @@ async function updateSecurityPartnerProviderTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", subscriptionId, resourceGroupName, - securityPartnerProviderName + securityPartnerProviderName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesCreateOrUpdateSample.js index 312c48ed22b5..e0c0076cf033 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a security rule in the specified network security group. @@ -42,7 +42,7 @@ async function createSecurityRule() { subscriptionId, resourceGroupName, networkSecurityGroupName, - securityRuleName + securityRuleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesDeleteSample.js index fc874e8b4c44..de2f23ea16de 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified network security rule. @@ -30,7 +30,7 @@ async function deleteNetworkSecurityRuleFromNetworkSecurityGroup() { subscriptionId, resourceGroupName, networkSecurityGroupName, - securityRuleName + securityRuleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesGetSample.js index c7fd9b70c276..22e8618b3139 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified network security rule. @@ -29,7 +29,7 @@ async function getNetworkSecurityRuleInNetworkSecurityGroup() { subscriptionId, resourceGroupName, networkSecurityGroupName, - securityRuleName + securityRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesListSample.js index c61058766711..8bf7aaa4da83 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/securityRulesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all security rules in a network security group. @@ -28,7 +28,7 @@ async function listNetworkSecurityRulesInNetworkSecurityGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceAssociationLinksListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceAssociationLinksListSample.js index 2eec69d5c9c5..9586df760b14 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceAssociationLinksListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceAssociationLinksListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a list of service association links for a subnet. @@ -29,7 +29,7 @@ async function getServiceAssociationLinks() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesCreateOrUpdateSample.js index a061114cffc5..906abb2f33e6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a service Endpoint Policies. @@ -29,7 +29,7 @@ async function createServiceEndpointPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -77,7 +77,7 @@ async function createServiceEndpointPolicyWithDefinition() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesDeleteSample.js index 78596a244409..03ccfdb82202 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified service endpoint policy. @@ -28,7 +28,7 @@ async function deleteServiceEndpointPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesGetSample.js index 370275764160..fff275cc58e8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified service Endpoint Policies in a specified resource group. @@ -27,7 +27,7 @@ async function getServiceEndPointPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesListByResourceGroupSample.js index 3c259dc810f5..7db6835b724b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all service endpoint Policies in a resource group. @@ -26,7 +26,7 @@ async function listResourceGroupServiceEndpointPolicies() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesListSample.js index 6736251491f7..65ac4ea9c074 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the service endpoint policies in a subscription. @@ -24,7 +24,7 @@ async function listAllServiceEndpointPolicy() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesUpdateTagsSample.js index d444630bdd2e..6eaf3e7fb2ad 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPoliciesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates tags of a service endpoint policy. @@ -28,7 +28,7 @@ async function updateServiceEndpointPolicyTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.js index a5734b9e33ab..9676c3904612 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a service endpoint policy definition in the specified service endpoint policy. @@ -41,7 +41,7 @@ async function createServiceEndpointPolicyDefinition() { subscriptionId, resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName + serviceEndpointPolicyDefinitionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsDeleteSample.js index 33cd0a01a9a0..dec027cdef15 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified ServiceEndpoint policy definitions. @@ -30,7 +30,7 @@ async function deleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy() subscriptionId, resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName + serviceEndpointPolicyDefinitionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsGetSample.js index 30b96802cd70..faadbab5304b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get the specified service endpoint policy definitions from service endpoint policy. @@ -29,7 +29,7 @@ async function getServiceEndpointDefinitionInServiceEndpointPolicy() { subscriptionId, resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName + serviceEndpointPolicyDefinitionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsListByResourceGroupSample.js index 6ee5a8cec224..b1a12d1dbfdc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceEndpointPolicyDefinitionsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all service endpoint policy definitions in a service end point policy. @@ -28,7 +28,7 @@ async function listServiceEndpointDefinitionsInServiceEndPointPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceTagInformationListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceTagInformationListSample.js index 516b6a84c5d9..1e1be10225b4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceTagInformationListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceTagInformationListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a list of service tag information resources with pagination. @@ -26,7 +26,7 @@ async function getListOfServiceTags() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function getListOfServiceTagsWithNoAddressPrefixes() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -86,7 +86,7 @@ async function getListOfServiceTagsWithTagName() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceTagsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceTagsListSample.js index acdd428b5eba..c0c857126c02 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceTagsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/serviceTagsListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a list of service tag information resources. @@ -25,7 +25,7 @@ async function getListOfServiceTags() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersCreateOrUpdateSample.js index 2ed919e2f34a..72f44db4ffee 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a static member. @@ -37,7 +37,7 @@ async function staticMemberPut() { resourceGroupName, networkManagerName, networkGroupName, - staticMemberName + staticMemberName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersDeleteSample.js index cabd799f7f2c..35c8752615ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersDeleteSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a static member. @@ -31,7 +31,7 @@ async function staticMembersDelete() { resourceGroupName, networkManagerName, networkGroupName, - staticMemberName + staticMemberName, ) .delete(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersGetSample.js index b161a96af883..f43c68aca512 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified static member. @@ -31,7 +31,7 @@ async function staticMembersGet() { resourceGroupName, networkManagerName, networkGroupName, - staticMemberName + staticMemberName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersListSample.js index 255251a48362..c0ab8d4b3854 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/staticMembersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists the specified static member. @@ -30,7 +30,7 @@ async function staticMembersList() { subscriptionId, resourceGroupName, networkManagerName, - networkGroupName + networkGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsCreateOrUpdateSample.js index ee5e58ff6f5f..0199d5673211 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a subnet in the specified virtual network. @@ -31,7 +31,7 @@ async function createSubnet() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -63,7 +63,7 @@ async function createSubnetWithADelegation() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -100,7 +100,7 @@ async function createSubnetWithServiceEndpoints() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsDeleteSample.js index a8be03af93fe..06bad4d542b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified subnet. @@ -30,7 +30,7 @@ async function deleteSubnet() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsGetSample.js index 160341e71abb..b46af257a83e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified subnet by virtual network and resource group. @@ -29,7 +29,7 @@ async function getSubnet() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function getSubnetWithADelegation() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsListSample.js index 8ac34fd57532..4ef0c121a8df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all subnets in a virtual network. @@ -28,7 +28,7 @@ async function listSubnets() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsPrepareNetworkPoliciesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsPrepareNetworkPoliciesSample.js index f42fc4d9cf2b..ab42ed34d6af 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsPrepareNetworkPoliciesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsPrepareNetworkPoliciesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Prepares a subnet by applying network intent policies. @@ -31,7 +31,7 @@ async function prepareNetworkPolicies() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsUnprepareNetworkPoliciesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsUnprepareNetworkPoliciesSample.js index 531ef3aac6c0..f6ea37f78ada 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsUnprepareNetworkPoliciesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subnetsUnprepareNetworkPoliciesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Unprepares a subnet by removing network intent policies. @@ -31,7 +31,7 @@ async function unprepareNetworkPolicies() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.js index 0bbc140260c8..e21e47e7f181 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Create a network manager connection on this subscription. @@ -31,7 +31,7 @@ async function createOrUpdateSubscriptionNetworkManagerConnection() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", subscriptionId, - networkManagerConnectionName + networkManagerConnectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsDeleteSample.js index b6fe85199aa3..bb02f2a02360 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsDeleteSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Delete specified connection created by this subscription. @@ -25,7 +25,7 @@ async function deleteSubscriptionNetworkManagerConnection() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", subscriptionId, - networkManagerConnectionName + networkManagerConnectionName, ) .delete(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsGetSample.js index da2ded683632..2259c4530b1c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get a specified connection created by this subscription. @@ -25,7 +25,7 @@ async function getSubscriptionNetworkManagerConnection() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", subscriptionId, - networkManagerConnectionName + networkManagerConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsListSample.js index b208b2b9f371..18cb7508ee3d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/subscriptionNetworkManagerConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all network manager connections created by this subscription. @@ -24,7 +24,7 @@ async function listSubscriptionNetworkManagerConnection() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/supportedSecurityProvidersSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/supportedSecurityProvidersSample.js index 9ceef48f77d0..72abcbd25efc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/supportedSecurityProvidersSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/supportedSecurityProvidersSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gives the supported security providers for the virtual wan. @@ -27,7 +27,7 @@ async function supportedSecurityProviders() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders", subscriptionId, resourceGroupName, - virtualWANName + virtualWANName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/usagesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/usagesListSample.js index 585d65eff5a0..b5df28e1cc2c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/usagesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/usagesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List network usages for a subscription. @@ -26,7 +26,7 @@ async function listUsages() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function listUsagesSpacedLocation() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapCreateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapCreateSample.js index 526aa17166f4..36f405c3d4dd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapCreateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapCreateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Performs vip swap operation on swappable cloud services. @@ -31,7 +31,7 @@ async function putVipSwapOperation() { subscriptionId, groupName, resourceName, - singletonResource + singletonResource, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapGetSample.js index aa7dd49825e9..9efa55133fce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production @@ -29,7 +29,7 @@ async function getSwapResource() { subscriptionId, groupName, resourceName, - singletonResource + singletonResource, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapListSample.js index 33d5a31517df..19f885c8fbfc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vipSwapListSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production @@ -27,7 +27,7 @@ async function getSwapResourceList() { "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots", subscriptionId, groupName, - resourceName + resourceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesCreateOrUpdateSample.js index 5e97acc39d25..91cbdff2c87d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Network Virtual Appliance Site. @@ -38,7 +38,7 @@ async function createNetworkVirtualApplianceSite() { subscriptionId, resourceGroupName, networkVirtualApplianceName, - siteName + siteName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesDeleteSample.js index 0ffb25c3885a..d99280f31dd8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified site from a Virtual Appliance. @@ -30,7 +30,7 @@ async function deleteNetworkVirtualApplianceSite() { subscriptionId, resourceGroupName, networkVirtualApplianceName, - siteName + siteName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesGetSample.js index 6b7161f5bc9c..a17ab98cdc4d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Virtual Appliance Site. @@ -29,7 +29,7 @@ async function getNetworkVirtualApplianceSite() { subscriptionId, resourceGroupName, networkVirtualApplianceName, - siteName + siteName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesListSample.js index 0ec8ef8b086b..506a6b05b484 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSitesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. @@ -28,7 +28,7 @@ async function listAllNetworkVirtualApplianceSitesForAGivenNetworkVirtualApplian "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSkusGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSkusGetSample.js index a2afec20582a..5e7a0b7abf54 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSkusGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSkusGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves a single available sku for network virtual appliance. @@ -25,7 +25,7 @@ async function networkVirtualApplianceSkuGet() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}", subscriptionId, - skuName + skuName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSkusListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSkusListSample.js index b548d100eb4e..19b38c50dcac 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSkusListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualApplianceSkusListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to List all SKUs available for a virtual appliance. @@ -24,7 +24,7 @@ async function networkVirtualApplianceSkuListResult() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionCreateOrUpdateSample.js index a7cd958efd62..10835b32e1d3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. @@ -39,7 +39,7 @@ async function virtualHubRouteTableV2Put() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionDeleteSample.js index 520c5b0c9133..f9749b3e74cd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a VirtualHubBgpConnection. @@ -30,7 +30,7 @@ async function virtualHubRouteTableV2Delete() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionGetSample.js index b55e26719311..1d3020b5fe50 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a Virtual Hub Bgp Connection. @@ -29,7 +29,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListAdvertisedRoutesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListAdvertisedRoutesSample.js index 695978f034db..d08ef8a27978 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListAdvertisedRoutesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListAdvertisedRoutesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. @@ -30,7 +30,7 @@ async function virtualRouterPeerListAdvertisedRoutes() { subscriptionId, resourceGroupName, hubName, - connectionName + connectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListLearnedRoutesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListLearnedRoutesSample.js index 84b8d9741031..72332289e06d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListLearnedRoutesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListLearnedRoutesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves a list of routes the virtual hub bgp connection has learned. @@ -30,7 +30,7 @@ async function virtualRouterPeerListLearnedRoutes() { subscriptionId, resourceGroupName, hubName, - connectionName + connectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListSample.js index 41d9bfca4d70..d8c3098409a3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubBgpConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of all VirtualHubBgpConnections. @@ -28,7 +28,7 @@ async function virtualHubRouteTableV2List() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationCreateOrUpdateSample.js index 51630b10b512..cecbeb131e28 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. @@ -37,7 +37,7 @@ async function virtualHubIPConfigurationPut() { subscriptionId, resourceGroupName, virtualHubName, - ipConfigName + ipConfigName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationDeleteSample.js index 93c1624e25e9..36a3fd09790a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a VirtualHubIpConfiguration. @@ -30,7 +30,7 @@ async function virtualHubIPConfigurationDelete() { subscriptionId, resourceGroupName, virtualHubName, - ipConfigName + ipConfigName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationGetSample.js index bbb0bef26ec1..b87a821bbfb7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a Virtual Hub Ip configuration. @@ -29,7 +29,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { subscriptionId, resourceGroupName, virtualHubName, - ipConfigName + ipConfigName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationListSample.js index e7257d393f72..8d5eab12e3a9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubIPConfigurationListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of all VirtualHubIpConfigurations. @@ -28,7 +28,7 @@ async function virtualHubRouteTableV2List() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SCreateOrUpdateSample.js index 3e8f4accbc0a..2d0adf964877 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. @@ -49,7 +49,7 @@ async function virtualHubRouteTableV2Put() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SDeleteSample.js index 698fcc3a759d..e2f1604bdb9b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a VirtualHubRouteTableV2. @@ -30,7 +30,7 @@ async function virtualHubRouteTableV2Delete() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SGetSample.js index 5f231dd5f5cd..43ec53a8f858 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a VirtualHubRouteTableV2. @@ -29,7 +29,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SListSample.js index 723add44ac2b..00c97fe6138f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubRouteTableV2SListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of all VirtualHubRouteTableV2s. @@ -28,7 +28,7 @@ async function virtualHubRouteTableV2List() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsCreateOrUpdateSample.js index 744eb64dc69c..e08b6b5f29a5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. @@ -39,7 +39,7 @@ async function virtualHubPut() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsDeleteSample.js index 081e76a4e879..c4a8e24b4a7b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a VirtualHub. @@ -28,7 +28,7 @@ async function virtualHubDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetEffectiveVirtualHubRoutesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetEffectiveVirtualHubRoutesSample.js index 9eb9abee57bf..a1b27cb0c48b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetEffectiveVirtualHubRoutesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetEffectiveVirtualHubRoutesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the effective routes configured for the Virtual Hub resource or the specified resource . @@ -33,7 +33,7 @@ async function effectiveRoutesForAConnectionResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -67,7 +67,7 @@ async function effectiveRoutesForARouteTableResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -97,7 +97,7 @@ async function effectiveRoutesForTheVirtualHub() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetInboundRoutesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetInboundRoutesSample.js index 3719ca5dd9f4..fb985bd1a546 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetInboundRoutesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetInboundRoutesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the inbound routes configured for the Virtual Hub on a particular connection. @@ -33,7 +33,7 @@ async function inboundRoutesForTheVirtualHubOnAParticularConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/inboundRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetOutboundRoutesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetOutboundRoutesSample.js index 1258489e3242..7b435bcb08ae 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetOutboundRoutesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetOutboundRoutesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the outbound routes configured for the Virtual Hub on a particular connection. @@ -33,7 +33,7 @@ async function outboundRoutesForTheVirtualHubOnAParticularConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/outboundRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetSample.js index 12b5156795ff..2bcd194f8dc9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a VirtualHub. @@ -27,7 +27,7 @@ async function virtualHubGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsListByResourceGroupSample.js index 8b8a6f4cc122..2215eb5d670d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the VirtualHubs in a resource group. @@ -26,7 +26,7 @@ async function virtualHubListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsListSample.js index 2fbb25110cbf..095977e9089f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the VirtualHubs in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsUpdateTagsSample.js index 1a10fdbce145..11e99a6f2212 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualHubsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates VirtualHub tags. @@ -28,7 +28,7 @@ async function virtualHubUpdate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsCreateOrUpdateSample.js index d29a13b8b2d8..df9609bd3c92 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a virtual network gateway connection in the specified resource group. @@ -106,7 +106,7 @@ async function createVirtualNetworkGatewayConnectionS2S() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsDeleteSample.js index 58bb9e832da4..760835f2ab30 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified virtual network Gateway connection. @@ -28,7 +28,7 @@ async function deleteVirtualNetworkGatewayConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetIkeSasSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetIkeSasSample.js index de284d1015c6..3d03712be670 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetIkeSasSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetIkeSasSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. @@ -28,7 +28,7 @@ async function getVirtualNetworkGatewayConnectionIkeSa() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetSample.js index 826dabd93767..379b28efaf64 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified virtual network gateway connection by resource group. @@ -27,7 +27,7 @@ async function getVirtualNetworkGatewayConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetSharedKeySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetSharedKeySample.js index 4f2f93a8a18e..e00ff022f63b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetSharedKeySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsGetSharedKeySample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. @@ -27,7 +27,7 @@ async function getVirtualNetworkGatewayConnectionSharedKey() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsListSample.js index 06194df3fda6..ead7cacb9220 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. @@ -26,7 +26,7 @@ async function listVirtualNetworkGatewayConnectionsinResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsResetConnectionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsResetConnectionSample.js index ccd316f8f790..149de580f9ac 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsResetConnectionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsResetConnectionSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Resets the virtual network gateway connection specified. @@ -28,7 +28,7 @@ async function resetVirtualNetworkGatewayConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsResetSharedKeySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsResetSharedKeySample.js index 625554c89c1b..36dadce8c538 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsResetSharedKeySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsResetSharedKeySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. @@ -29,7 +29,7 @@ async function resetVirtualNetworkGatewayConnectionSharedKey() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsSetSharedKeySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsSetSharedKeySample.js index 7df4c8b374ad..eb6efd8a6e51 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsSetSharedKeySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsSetSharedKeySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. @@ -29,7 +29,7 @@ async function setVirtualNetworkGatewayConnectionSharedKey() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsStartPacketCaptureSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsStartPacketCaptureSample.js index 26184a828a6d..322989f33b47 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsStartPacketCaptureSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsStartPacketCaptureSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Starts packet capture on virtual network gateway connection in the specified resource group. @@ -32,7 +32,7 @@ async function startPacketCaptureOnVirtualNetworkGatewayConnectionWithFilter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -61,7 +61,7 @@ async function startPacketCaptureOnVirtualNetworkGatewayConnectionWithoutFilter( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsStopPacketCaptureSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsStopPacketCaptureSample.js index fbfa5dd82d02..b9fe1f8d81c4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsStopPacketCaptureSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsStopPacketCaptureSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Stops packet capture on virtual network gateway connection in the specified resource group. @@ -32,7 +32,7 @@ async function stopPacketCaptureOnVirtualNetworkGatewayConnection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsUpdateTagsSample.js index f9b7892defc3..b5a19e7025e5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayConnectionsUpdateTagsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a virtual network gateway connection tags. @@ -29,7 +29,7 @@ async function updateVirtualNetworkGatewayConnectionTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesCreateOrUpdateSample.js index 273dc85f889f..f70ca0a2eb9c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. @@ -40,7 +40,7 @@ async function virtualNetworkGatewayNatRulePut() { subscriptionId, resourceGroupName, virtualNetworkGatewayName, - natRuleName + natRuleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesDeleteSample.js index f3e28f12adaa..fe67ecdce085 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a nat rule. @@ -30,7 +30,7 @@ async function virtualNetworkGatewayNatRuleDelete() { subscriptionId, resourceGroupName, virtualNetworkGatewayName, - natRuleName + natRuleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesGetSample.js index 7f33acfc7686..71ae4528a5e6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a nat rule. @@ -29,7 +29,7 @@ async function virtualNetworkGatewayNatRuleGet() { subscriptionId, resourceGroupName, virtualNetworkGatewayName, - natRuleName + natRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.js index cf286470e196..8cd3db76d7c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves all nat rules for a particular virtual network gateway. @@ -28,7 +28,7 @@ async function virtualNetworkGatewayNatRuleList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysCreateOrUpdateSample.js index bc6b3dd3f7b5..9c86ca1ae1cc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a virtual network gateway in the specified resource group. @@ -97,7 +97,7 @@ async function updateVirtualNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysDeleteSample.js index 2bacf62f18af..0a7d514751cd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified virtual network gateway. @@ -28,7 +28,7 @@ async function deleteVirtualNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.js index 8682b258ae3c..4301d1bbd2fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Disconnect vpn connections of virtual network gateway in the specified resource group. @@ -29,7 +29,7 @@ async function disconnectVpnConnectionsFromVirtualNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGenerateVpnProfileSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGenerateVpnProfileSample.js index 5d2a89fd9938..1eaae6fda983 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGenerateVpnProfileSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGenerateVpnProfileSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. @@ -29,7 +29,7 @@ async function generateVirtualNetworkGatewayVpnProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGeneratevpnclientpackageSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGeneratevpnclientpackageSample.js index 458493381a8d..9e2eeadcbd1d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGeneratevpnclientpackageSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGeneratevpnclientpackageSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -29,7 +29,7 @@ async function generateVpnClientPackage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetAdvertisedRoutesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetAdvertisedRoutesSample.js index 6ef1f3979d56..ab5f21f4c4ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetAdvertisedRoutesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetAdvertisedRoutesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. @@ -28,7 +28,7 @@ async function getVirtualNetworkGatewayAdvertisedRoutes() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetBgpPeerStatusSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetBgpPeerStatusSample.js index 0e1d006a6a22..2206463a40bc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetBgpPeerStatusSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetBgpPeerStatusSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to The GetBgpPeerStatus operation retrieves the status of all BGP peers. @@ -28,7 +28,7 @@ async function getVirtualNetworkGatewayBgpPeerStatus() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetLearnedRoutesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetLearnedRoutesSample.js index 479decdfd1b7..6dea132731d8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetLearnedRoutesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetLearnedRoutesSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. @@ -28,7 +28,7 @@ async function getVirtualNetworkGatewayLearnedRoutes() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetSample.js index 48c492d17c8f..8e847dec10d2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified virtual network gateway by resource group. @@ -27,7 +27,7 @@ async function getVirtualNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.js index 73c0c45139b7..e8e85a3f7dfd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. @@ -28,7 +28,7 @@ async function getVirtualNetworkGatewayVpnProfilePackageUrl() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.js index 88f5bb3e14c0..9003c5e2fcda 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group. @@ -28,7 +28,7 @@ async function getVirtualNetworkGatewayVpnclientConnectionHealth() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.js index 94d56d8a826d..db403b67b602 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. @@ -28,7 +28,7 @@ async function getVirtualNetworkGatewayVpnClientIpsecParameters() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysListConnectionsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysListConnectionsSample.js index af60df57692c..d86ef3ec54c7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysListConnectionsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysListConnectionsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the connections in a virtual network gateway. @@ -28,7 +28,7 @@ async function virtualNetworkGatewaysListConnections() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysListSample.js index 9ffd520a8415..262fe7275a48 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all virtual network gateways by resource group. @@ -26,7 +26,7 @@ async function listVirtualNetworkGatewaysinResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysResetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysResetSample.js index 4a1045f42af5..a9e34b99d4f8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysResetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysResetSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Resets the primary of the virtual network gateway in the specified resource group. @@ -28,7 +28,7 @@ async function resetVirtualNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysResetVpnClientSharedKeySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysResetVpnClientSharedKeySample.js index 88717b7ef100..90caa7f73ab3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysResetVpnClientSharedKeySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysResetVpnClientSharedKeySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Resets the VPN client shared key of the virtual network gateway in the specified resource group. @@ -28,7 +28,7 @@ async function resetVpnClientSharedKey() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.js index 4658466eed83..0004bea01452 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. @@ -38,7 +38,7 @@ async function setVirtualNetworkGatewayVpnClientIpsecParameters() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysStartPacketCaptureSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysStartPacketCaptureSample.js index 9bf6570fcc7f..28c79ce59967 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysStartPacketCaptureSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysStartPacketCaptureSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Starts packet capture on virtual network gateway in the specified resource group. @@ -32,7 +32,7 @@ async function startPacketCaptureOnVirtualNetworkGatewayWithFilter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -61,7 +61,7 @@ async function startPacketCaptureOnVirtualNetworkGatewayWithoutFilter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysStopPacketCaptureSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysStopPacketCaptureSample.js index 879ce3a0c9d6..2ab48ed95508 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysStopPacketCaptureSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysStopPacketCaptureSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Stops packet capture on virtual network gateway in the specified resource group. @@ -32,7 +32,7 @@ async function stopPacketCaptureOnVirtualNetworkGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysSupportedVpnDevicesSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysSupportedVpnDevicesSample.js index bfa4bf15d431..95b9687de750 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysSupportedVpnDevicesSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysSupportedVpnDevicesSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a xml format representation for supported vpn devices. @@ -27,7 +27,7 @@ async function listVirtualNetworkGatewaySupportedVpnDevices() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysUpdateTagsSample.js index 6e088a7e22aa..a3735a0cd2f8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysUpdateTagsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a virtual network gateway tags. @@ -29,7 +29,7 @@ async function updateVirtualNetworkGatewayTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.js index c2ae572ec599..14c63b50aec3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets a xml format representation for vpn device configuration script. @@ -32,7 +32,7 @@ async function getVpnDeviceConfigurationScript() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsCreateOrUpdateSample.js index fc4c14c7cb4b..083364249a54 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a peering in the specified virtual network. @@ -41,7 +41,7 @@ async function createPeering() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -83,7 +83,7 @@ async function createPeeringWithRemoteVirtualNetworkEncryption() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -128,7 +128,7 @@ async function syncPeering() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsDeleteSample.js index a5509bf919e8..0d1e04ab7ca4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified virtual network peering. @@ -30,7 +30,7 @@ async function deletePeering() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsGetSample.js index ea3e210fbd4f..c41563a15a76 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified virtual network peering. @@ -29,7 +29,7 @@ async function getPeering() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function getPeeringWithRemoteVirtualNetworkEncryption() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsListSample.js index c4db599a4a76..8714b67af9ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkPeeringsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all virtual network peerings in a virtual network. @@ -28,7 +28,7 @@ async function listPeerings() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function listPeeringsWithRemoteVirtualNetworkEncryption() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsCreateOrUpdateSample.js index c453d1d3bc04..19c9f47d6b67 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a Virtual Network Tap. @@ -36,7 +36,7 @@ async function createVirtualNetworkTap() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", subscriptionId, resourceGroupName, - tapName + tapName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsDeleteSample.js index a04da512daf4..5932f8c5ed14 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified virtual network tap. @@ -28,7 +28,7 @@ async function deleteVirtualNetworkTapResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", subscriptionId, resourceGroupName, - tapName + tapName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsGetSample.js index 51a0f8529d85..92dcdf862e3e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets information about the specified virtual network tap. @@ -27,7 +27,7 @@ async function getVirtualNetworkTap() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", subscriptionId, resourceGroupName, - tapName + tapName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsListAllSample.js index 62db08de8399..2a6ad34268c5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the VirtualNetworkTaps in a subscription. @@ -24,7 +24,7 @@ async function listAllVirtualNetworkTaps() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsListByResourceGroupSample.js index 79f9c2ee1022..6c614ec3fdc5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the VirtualNetworkTaps in a subscription. @@ -26,7 +26,7 @@ async function listVirtualNetworkTapsInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsUpdateTagsSample.js index 5a64121915f2..3bdea49870ed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworkTapsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates an VirtualNetworkTap tags. @@ -28,7 +28,7 @@ async function updateVirtualNetworkTapTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", subscriptionId, resourceGroupName, - tapName + tapName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksCheckIPAddressAvailabilitySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksCheckIPAddressAvailabilitySample.js index 5f4bde0ac54b..c46e791674f5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksCheckIPAddressAvailabilitySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksCheckIPAddressAvailabilitySample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Checks whether a private IP address is available for use. @@ -27,7 +27,7 @@ async function checkIPAddressAvailability() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksCreateOrUpdateSample.js index 5e3cac2ae6a7..3b627cfde456 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates a virtual network in the specified resource group. @@ -35,7 +35,7 @@ async function createVirtualNetwork() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -72,7 +72,7 @@ async function createVirtualNetworkWithBgpCommunities() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -121,7 +121,7 @@ async function createVirtualNetworkWithDelegatedSubnets() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -158,7 +158,7 @@ async function createVirtualNetworkWithEncryption() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -202,7 +202,7 @@ async function createVirtualNetworkWithServiceEndpoints() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -251,7 +251,7 @@ async function createVirtualNetworkWithServiceEndpointsAndServiceEndpointPolicy( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -287,7 +287,7 @@ async function createVirtualNetworkWithSubnet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -328,7 +328,7 @@ async function createVirtualNetworkWithSubnetContainingAddressPrefixes() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksDeleteSample.js index 3b3c1a0a08e0..f48df61488fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified virtual network. @@ -28,7 +28,7 @@ async function deleteVirtualNetwork() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksGetSample.js index 6b396c021024..48ae83e365f4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified virtual network by resource group. @@ -27,7 +27,7 @@ async function getVirtualNetwork() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getVirtualNetworkWithADelegatedSubnet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); console.log(result); @@ -81,7 +81,7 @@ async function getVirtualNetworkWithServiceAssociationLinks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListAllSample.js index af550c09b195..07a53c48a456 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all virtual networks in a subscription. @@ -24,7 +24,7 @@ async function listAllVirtualNetworks() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListDdosProtectionStatusSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListDdosProtectionStatusSample.js index 182e56ea0726..aa94b3789dd2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListDdosProtectionStatusSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListDdosProtectionStatusSample.js @@ -9,7 +9,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default paginate, } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the Ddos Protection Status of all IP Addresses under the Virtual Network @@ -31,7 +31,7 @@ async function getDdosProtectionStatusOfAVirtualNetwork() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListSample.js index 50b8e5b84b65..4cc40b295cf4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all virtual networks in a resource group. @@ -26,7 +26,7 @@ async function listVirtualNetworksInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListUsageSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListUsageSample.js index 02766080599d..0b949915418d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListUsageSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksListUsageSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists usage stats. @@ -28,7 +28,7 @@ async function vnetGetUsage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksUpdateTagsSample.js index 59b94e4d107c..40fdaffd02ba 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualNetworksUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a virtual network tags. @@ -28,7 +28,7 @@ async function updateVirtualNetworkTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsCreateOrUpdateSample.js index c26e7cf7d562..4909b3f32666 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Virtual Router Peering. @@ -31,7 +31,7 @@ async function createVirtualRouterPeering() { subscriptionId, resourceGroupName, virtualRouterName, - peeringName + peeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsDeleteSample.js index b83cc7c7b6d6..cfa8a4f0d586 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified peering from a Virtual Router. @@ -30,7 +30,7 @@ async function deleteVirtualRouterPeering() { subscriptionId, resourceGroupName, virtualRouterName, - peeringName + peeringName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsGetSample.js index e0f6d9eef414..b1fc7dc88a2d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Virtual Router Peering. @@ -29,7 +29,7 @@ async function getVirtualRouterPeering() { subscriptionId, resourceGroupName, virtualRouterName, - peeringName + peeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsListSample.js index 04858d70af47..56cad7b0becd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRouterPeeringsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Virtual Router Peerings in a Virtual Router resource. @@ -28,7 +28,7 @@ async function listAllVirtualRouterPeeringsForAGivenVirtualRouter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings", subscriptionId, resourceGroupName, - virtualRouterName + virtualRouterName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersCreateOrUpdateSample.js index 2e84b76b8f58..c0144c650b3e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or updates the specified Virtual Router. @@ -37,7 +37,7 @@ async function createVirtualRouter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", subscriptionId, resourceGroupName, - virtualRouterName + virtualRouterName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersDeleteSample.js index 165d39acda66..d75d42bbfe2b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes the specified Virtual Router. @@ -28,7 +28,7 @@ async function deleteVirtualRouter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", subscriptionId, resourceGroupName, - virtualRouterName + virtualRouterName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersGetSample.js index 21f766a4b5da..c094496dbe9e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Virtual Router. @@ -27,7 +27,7 @@ async function getVirtualRouter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", subscriptionId, resourceGroupName, - virtualRouterName + virtualRouterName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersListByResourceGroupSample.js index f03dfdac9f55..ad67ef176573 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all Virtual Routers in a resource group. @@ -26,7 +26,7 @@ async function listAllVirtualRouterForAGivenResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersListSample.js index cb75c522adf7..dcd4a87b5b21 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualRoutersListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the Virtual Routers in a subscription. @@ -24,7 +24,7 @@ async function listAllVirtualRoutersForAGivenSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansCreateOrUpdateSample.js index b759887b948b..cb226b2d6a49 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. @@ -33,7 +33,7 @@ async function virtualWanCreate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId, resourceGroupName, - VirtualWANName + VirtualWANName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansDeleteSample.js index 36a6987e095a..d0baf40e1113 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a VirtualWAN. @@ -28,7 +28,7 @@ async function virtualWanDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId, resourceGroupName, - VirtualWANName + VirtualWANName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansGetSample.js index 87637420c22d..4328838f1ea1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a VirtualWAN. @@ -27,7 +27,7 @@ async function virtualWanGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId, resourceGroupName, - VirtualWANName + VirtualWANName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansListByResourceGroupSample.js index 3f5f336f5084..ce333c6d0951 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the VirtualWANs in a resource group. @@ -26,7 +26,7 @@ async function virtualWanListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansListSample.js index c45f573a83d2..e936aa6958ed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the VirtualWANs in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansUpdateTagsSample.js index 3eaad9d2ee18..a53ee3cb89a1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/virtualWansUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates a VirtualWAN tags. @@ -28,7 +28,7 @@ async function virtualWanUpdate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId, resourceGroupName, - VirtualWANName + VirtualWANName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsCreateOrUpdateSample.js index 3fad8811fb36..0a0669dc477e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. @@ -78,7 +78,7 @@ async function vpnConnectionPut() { subscriptionId, resourceGroupName, gatewayName, - connectionName + connectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsDeleteSample.js index 4f05b53b8dc8..027ef35bcd80 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a vpn connection. @@ -30,7 +30,7 @@ async function vpnConnectionDelete() { subscriptionId, resourceGroupName, gatewayName, - connectionName + connectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsGetSample.js index edccb0bc4227..8e6092860b4f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a vpn connection. @@ -29,7 +29,7 @@ async function vpnConnectionGet() { subscriptionId, resourceGroupName, gatewayName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsListByVpnGatewaySample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsListByVpnGatewaySample.js index 521015bb16bd..04d2ef0ba905 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsListByVpnGatewaySample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsListByVpnGatewaySample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves all vpn connections for a particular virtual wan vpn gateway. @@ -28,7 +28,7 @@ async function vpnConnectionList() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsStartPacketCaptureSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsStartPacketCaptureSample.js index 0fbd14003e29..eb3966c376ef 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsStartPacketCaptureSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsStartPacketCaptureSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Starts packet capture on Vpn connection in the specified resource group. @@ -35,7 +35,7 @@ async function startPacketCaptureOnVpnConnectionWithFilter() { subscriptionId, resourceGroupName, gatewayName, - vpnConnectionName + vpnConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -67,7 +67,7 @@ async function startPacketCaptureOnVpnConnectionWithoutFilter() { subscriptionId, resourceGroupName, gatewayName, - vpnConnectionName + vpnConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsStopPacketCaptureSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsStopPacketCaptureSample.js index a1c30ea95fae..7d5b689f8374 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsStopPacketCaptureSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnConnectionsStopPacketCaptureSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Stops packet capture on Vpn connection in the specified resource group. @@ -35,7 +35,7 @@ async function startPacketCaptureOnVpnConnectionWithoutFilter() { subscriptionId, resourceGroupName, gatewayName, - vpnConnectionName + vpnConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysCreateOrUpdateSample.js index bdf332e5c944..3cbe6eec441c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. @@ -93,7 +93,7 @@ async function vpnGatewayPut() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysDeleteSample.js index 09b8905ef36b..89508a88fdc5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a virtual wan vpn gateway. @@ -28,7 +28,7 @@ async function vpnGatewayDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysGetSample.js index b3bd086df194..7f0f36fbdac4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a virtual wan vpn gateway. @@ -27,7 +27,7 @@ async function vpnGatewayGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysListByResourceGroupSample.js index 939caebb37cd..af94dd29febb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the VpnGateways in a resource group. @@ -26,7 +26,7 @@ async function vpnGatewayListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysListSample.js index b4e5e6925ec1..9c3bac4f3ab8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the VpnGateways in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysResetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysResetSample.js index 4fb7bf868e60..dc72c8275401 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysResetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysResetSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Resets the primary of the vpn gateway in the specified resource group. @@ -28,7 +28,7 @@ async function resetVpnGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysStartPacketCaptureSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysStartPacketCaptureSample.js index a9c62ee81731..4cc8a09b63ea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysStartPacketCaptureSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysStartPacketCaptureSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Starts packet capture on vpn gateway in the specified resource group. @@ -32,7 +32,7 @@ async function startPacketCaptureOnVpnGatewayWithFilter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -61,7 +61,7 @@ async function startPacketCaptureOnVpnGatewayWithoutFilter() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysStopPacketCaptureSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysStopPacketCaptureSample.js index b51a863e786b..7b648dde42fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysStopPacketCaptureSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysStopPacketCaptureSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Stops packet capture on vpn gateway in the specified resource group. @@ -32,7 +32,7 @@ async function stopPacketCaptureOnVpnGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysUpdateTagsSample.js index 56bb0bf7efb0..7a01f86a9e62 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnGatewaysUpdateTagsSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates virtual wan vpn gateway tags. @@ -29,7 +29,7 @@ async function vpnGatewayUpdate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsGetIkeSasSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsGetIkeSasSample.js index 814a0679cdb8..a77aa91157e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsGetIkeSasSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsGetIkeSasSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. @@ -32,7 +32,7 @@ async function getVpnLinkConnectionIkeSa() { resourceGroupName, gatewayName, connectionName, - linkConnectionName + linkConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsListByVpnConnectionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsListByVpnConnectionSample.js index 37e7a064a36e..e0fba44d1ba1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsListByVpnConnectionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsListByVpnConnectionSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. @@ -30,7 +30,7 @@ async function vpnSiteLinkConnectionList() { subscriptionId, resourceGroupName, gatewayName, - connectionName + connectionName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsResetConnectionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsResetConnectionSample.js index 3720e9d78173..0f0c595f86db 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsResetConnectionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnLinkConnectionsResetConnectionSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Resets the VpnLink connection specified. @@ -32,7 +32,7 @@ async function resetVpnLinkConnection() { resourceGroupName, gatewayName, connectionName, - linkConnectionName + linkConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsAssociatedWithVirtualWanListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsAssociatedWithVirtualWanListSample.js index 52c3ee1ac2bc..e6ebc5cd82a8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsAssociatedWithVirtualWanListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsAssociatedWithVirtualWanListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. @@ -28,7 +28,7 @@ async function getVirtualWanVpnServerConfigurations() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations", subscriptionId, resourceGroupName, - virtualWANName + virtualWANName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsCreateOrUpdateSample.js index 489a6828caf1..45b440e990ca 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. @@ -112,7 +112,7 @@ async function vpnServerConfigurationCreate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsDeleteSample.js index 10f2f89a9dd4..8b1c925bf37d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a VpnServerConfiguration. @@ -28,7 +28,7 @@ async function vpnServerConfigurationDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsGetSample.js index 98c03ae9b938..7ffd1b10bc9a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a VpnServerConfiguration. @@ -27,7 +27,7 @@ async function vpnServerConfigurationGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsListByResourceGroupSample.js index 99f9d038c67e..65e5ee57e77a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the vpnServerConfigurations in a resource group. @@ -26,7 +26,7 @@ async function vpnServerConfigurationListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsListSample.js index 70f90340ead2..b4c00a056517 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the VpnServerConfigurations in a subscription. @@ -24,7 +24,7 @@ async function vpnServerConfigurationList() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsUpdateTagsSample.js index cfa7b2bc17f0..a32a96adc101 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnServerConfigurationsUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates VpnServerConfiguration tags. @@ -28,7 +28,7 @@ async function vpnServerConfigurationUpdate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinkConnectionsGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinkConnectionsGetSample.js index 60ac2367f8d8..4682077c7537 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinkConnectionsGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinkConnectionsGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a vpn site link connection. @@ -31,7 +31,7 @@ async function vpnSiteLinkConnectionGet() { resourceGroupName, gatewayName, connectionName, - linkConnectionName + linkConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinksGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinksGetSample.js index d819f4b1c741..5ec6e6c259c5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinksGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinksGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a VPN site link. @@ -29,7 +29,7 @@ async function vpnSiteGet() { subscriptionId, resourceGroupName, vpnSiteName, - vpnSiteLinkName + vpnSiteLinkName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinksListByVpnSiteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinksListByVpnSiteSample.js index 48f38d5fca0d..8e8f3af61af6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinksListByVpnSiteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSiteLinksListByVpnSiteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the vpnSiteLinks in a resource group for a vpn site. @@ -28,7 +28,7 @@ async function vpnSiteLinkListByVpnSite() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesConfigurationDownloadSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesConfigurationDownloadSample.js index fce0216d2508..cb4d2a617545 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesConfigurationDownloadSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesConfigurationDownloadSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gives the sas-url to download the configurations for vpn-sites in a resource group. @@ -35,7 +35,7 @@ async function vpnSitesConfigurationDownload() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration", subscriptionId, resourceGroupName, - virtualWANName + virtualWANName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesCreateOrUpdateSample.js index dac951bd7d6a..cb904ef6ded3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesCreateOrUpdateSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. @@ -56,7 +56,7 @@ async function vpnSiteCreate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesDeleteSample.js index 47a1a414618b..aa389332b394 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes a VpnSite. @@ -28,7 +28,7 @@ async function vpnSiteDelete() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesGetSample.js index 9880a8fbc6f6..0857a3859416 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieves the details of a VPN site. @@ -27,7 +27,7 @@ async function vpnSiteGet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesListByResourceGroupSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesListByResourceGroupSample.js index 1ef812537be9..5d2612444096 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesListByResourceGroupSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesListByResourceGroupSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the vpnSites in a resource group. @@ -26,7 +26,7 @@ async function vpnSiteListByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesListSample.js index f5b14c7c4b90..13d85f88a05d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all the VpnSites in a subscription. diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesUpdateTagsSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesUpdateTagsSample.js index 8cb5106f7744..7a40c7d0ce4e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesUpdateTagsSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/vpnSitesUpdateTagsSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Updates VpnSite tags. @@ -28,7 +28,7 @@ async function vpnSiteUpdate() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesCreateOrUpdateSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesCreateOrUpdateSample.js index 614bc698ec96..8fec5fb872ad 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesCreateOrUpdateSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesCreateOrUpdateSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Creates or update policy with specified rule set name within a resource group. @@ -124,7 +124,7 @@ async function createsOrUpdatesAWafPolicyWithinAResourceGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", subscriptionId, resourceGroupName, - policyName + policyName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesDeleteSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesDeleteSample.js index 288f2ebae2a5..8e5c5efc68d0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesDeleteSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesDeleteSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { getLongRunningPoller } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Deletes Policy. @@ -28,7 +28,7 @@ async function deletesAWafPolicyWithinAResourceGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", subscriptionId, resourceGroupName, - policyName + policyName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesGetSample.js index ebe5ae31a4cb..ad431da7885f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Retrieve protection policy with specified name within a resource group. @@ -27,7 +27,7 @@ async function getsAWafPolicyWithinAResourceGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", subscriptionId, resourceGroupName, - policyName + policyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListAllSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListAllSample.js index 1ff7a4fd4bae..9318ad3c063c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListAllSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListAllSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the WAF policies in a subscription. @@ -24,7 +24,7 @@ async function listsAllWafPoliciesInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListSample.js index 969f882c1443..bc0c1ab2666e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Lists all of the protection policies within a resource group. @@ -26,7 +26,7 @@ async function listsAllWafPoliciesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesGetSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesGetSample.js index baad9e9226ec..ffffd86a2e1b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesGetSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesGetSample.js @@ -5,7 +5,7 @@ // Licensed under the MIT License. const createNetworkManagementClient = require("@azure-rest/arm-network").default; const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets the specified Azure Web Category. @@ -25,7 +25,7 @@ async function getAzureWebCategoryByName() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}", subscriptionId, - name + name, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesListBySubscriptionSample.js b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesListBySubscriptionSample.js index b9d991c81286..b8c055574e6d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesListBySubscriptionSample.js +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesListBySubscriptionSample.js @@ -6,7 +6,7 @@ const createNetworkManagementClient = require("@azure-rest/arm-network").default, { paginate } = require("@azure-rest/arm-network"); const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); +require("dotenv/config"); /** * This sample demonstrates how to Gets all the Azure Web Categories in a subscription. @@ -24,7 +24,7 @@ async function listAllAzureWebCategoriesForAGivenSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/README.md b/sdk/network/arm-network-rest/samples/v1-beta/typescript/README.md index 314ff5c735d8..b6876469eadd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/README.md +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/README.md @@ -1281,7 +1281,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [webapplicationfirewallpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts [webcategoriesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts [webcategorieslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts -[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview +[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/package.json b/sdk/network/arm-network-rest/samples/v1-beta/typescript/package.json index bf1ab1838de3..063a80dfb56d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/package.json +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/package.json @@ -32,11 +32,11 @@ "dependencies": { "@azure-rest/arm-network": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" }, "devDependencies": { "@types/node": "^18.0.0", - "typescript": "~5.7.2", + "typescript": "~5.6.2", "rimraf": "latest" } } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsCreateOrUpdateSample.ts index 94864985702f..f717a3cf2955 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - AdminRuleCollectionsCreateOrUpdateParameters + AdminRuleCollectionsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,12 +30,12 @@ async function createOrUpdateAnAdminRuleCollection() { appliesToGroups: [ { networkGroupId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup", + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -44,7 +44,7 @@ async function createOrUpdateAnAdminRuleCollection() { resourceGroupName, networkManagerName, configurationName, - ruleCollectionName + ruleCollectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsDeleteSample.ts index af2367a54fa1..c427087e55e7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AdminRuleCollectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function deletesAnAdminRuleCollection() { const configurationName = "myTestSecurityConfig"; const ruleCollectionName = "testRuleCollection"; const options: AdminRuleCollectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01", force: false } + queryParameters: { "api-version": "2022-05-01", force: false }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function deletesAnAdminRuleCollection() { resourceGroupName, networkManagerName, configurationName, - ruleCollectionName + ruleCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsGetSample.ts index 5b52e6d67893..c9932ebfe756 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - AdminRuleCollectionsGetParameters + AdminRuleCollectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function getsSecurityAdminRuleCollection() { const configurationName = "myTestSecurityConfig"; const ruleCollectionName = "testRuleCollection"; const options: AdminRuleCollectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getsSecurityAdminRuleCollection() { resourceGroupName, networkManagerName, configurationName, - ruleCollectionName + ruleCollectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsListSample.ts index d140a9d132b8..77b4aec9d3d3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRuleCollectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AdminRuleCollectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function listSecurityAdminRuleCollections() { const networkManagerName = "testNetworkManager"; const configurationName = "myTestSecurityConfig"; const options: AdminRuleCollectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function listSecurityAdminRuleCollections() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesCreateOrUpdateSample.ts index c35e0ab0208d..4e370b7372be 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - AdminRulesCreateOrUpdateParameters + AdminRulesCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,7 +26,7 @@ async function createADefaultAdminRule() { const ruleName = "SampleDefaultAdminRule"; const options: AdminRulesCreateOrUpdateParameters = { body: { kind: "Default", properties: { flag: "AllowVnetInbound" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -36,7 +36,7 @@ async function createADefaultAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .put(options); console.log(result); @@ -69,13 +69,11 @@ async function createAnAdminRule() { direction: "Inbound", priority: 1, sourcePortRanges: ["0-65535"], - sources: [ - { addressPrefix: "Internet", addressPrefixType: "ServiceTag" } - ], - protocol: "Tcp" - } + sources: [{ addressPrefix: "Internet", addressPrefixType: "ServiceTag" }], + protocol: "Tcp", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -85,7 +83,7 @@ async function createAnAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesDeleteSample.ts index d9dc6ec5274b..1edc603e41e5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AdminRulesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,7 +26,7 @@ async function deletesAnAdminRule() { const ruleCollectionName = "testRuleCollection"; const ruleName = "SampleAdminRule"; const options: AdminRulesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01", force: false } + queryParameters: { "api-version": "2022-05-01", force: false }, }; const initialResponse = await client .path( @@ -36,10 +36,10 @@ async function deletesAnAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesGetSample.ts index 619b70f9de87..ea4363e773f5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - AdminRulesGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { AdminRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +23,7 @@ async function getsSecurityAdminRule() { const ruleCollectionName = "testRuleCollection"; const ruleName = "SampleAdminRule"; const options: AdminRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -35,7 +33,7 @@ async function getsSecurityAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .get(options); console.log(result); @@ -58,7 +56,7 @@ async function getsSecurityDefaultAdminRule() { const ruleCollectionName = "testRuleCollection"; const ruleName = "SampleDefaultAdminRule"; const options: AdminRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -68,7 +66,7 @@ async function getsSecurityDefaultAdminRule() { networkManagerName, configurationName, ruleCollectionName, - ruleName + ruleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesListSample.ts index ee16fd7bd20b..48e475796db5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/adminRulesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AdminRulesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function listSecurityAdminRules() { const configurationName = "myTestSecurityConfig"; const ruleCollectionName = "testRuleCollection"; const options: AdminRulesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listSecurityAdminRules() { resourceGroupName, networkManagerName, configurationName, - ruleCollectionName + ruleCollectionName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts index 822090163a9c..4a02c60bd43e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewayPrivateEndpointConnectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteApplicationGatewayPrivateEndpointConnection() { const applicationGatewayName = "appgw"; const connectionName = "connection1"; const options: ApplicationGatewayPrivateEndpointConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function deleteApplicationGatewayPrivateEndpointConnection() { subscriptionId, resourceGroupName, applicationGatewayName, - connectionName + connectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsGetSample.ts index 6efe672350ff..446a44ce044c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewayPrivateEndpointConnectionsGetParameters + ApplicationGatewayPrivateEndpointConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getApplicationGatewayPrivateEndpointConnection() { const applicationGatewayName = "appgw"; const connectionName = "connection1"; const options: ApplicationGatewayPrivateEndpointConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getApplicationGatewayPrivateEndpointConnection() { subscriptionId, resourceGroupName, applicationGatewayName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsListSample.ts index 98e3f82b1505..2dde17ac2e3a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewayPrivateEndpointConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listsAllPrivateEndpointConnectionsOnApplicationGateway() { const resourceGroupName = "rg1"; const applicationGatewayName = "appgw"; const options: ApplicationGatewayPrivateEndpointConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts index 956a92dd92f6..9265c2f6341c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateEndpointConnectionsUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewayPrivateEndpointConnectionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,16 +28,15 @@ async function updateApplicationGatewayPrivateEndpointConnection() { name: "connection1", properties: { privateEndpoint: { - id: - "/subscriptions/subId2/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + id: "/subscriptions/subId2/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", }, privateLinkServiceConnectionState: { description: "approved it for some reason.", - status: "Approved" - } - } + status: "Approved", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -45,10 +44,10 @@ async function updateApplicationGatewayPrivateEndpointConnection() { subscriptionId, resourceGroupName, applicationGatewayName, - connectionName + connectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateLinkResourcesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateLinkResourcesListSample.ts index 358a2b5f34d4..e0e6afc689c0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateLinkResourcesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayPrivateLinkResourcesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewayPrivateLinkResourcesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listsAllPrivateLinkResourcesOnApplicationGateway() { const resourceGroupName = "rg1"; const applicationGatewayName = "appgw"; const options: ApplicationGatewayPrivateLinkResourcesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsDefaultGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsDefaultGetSample.ts index cbc80d39024e..7a1ff6b82e9a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsDefaultGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsDefaultGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewayWafDynamicManifestsDefaultGetParameters + ApplicationGatewayWafDynamicManifestsDefaultGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function getsWafDefaultManifest() { const subscriptionId = ""; const location = "westus"; const options: ApplicationGatewayWafDynamicManifestsDefaultGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests/dafault", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsGetSample.ts index 51ae4b1eb9c2..ebdc7298b4bd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewayWafDynamicManifestsGetSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewayWafDynamicManifestsGetParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function getsWafManifests() { const subscriptionId = ""; const location = "westus"; const options: ApplicationGatewayWafDynamicManifestsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthOnDemandSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthOnDemandSample.ts index bb23e41cf033..3a022a6195be 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthOnDemandSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthOnDemandSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysBackendHealthOnDemandParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,28 +26,26 @@ async function testBackendHealth() { body: { path: "/", backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool", }, backendHttpSettings: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings", }, pickHostNameFromBackendHttpSettings: true, timeout: 30, - protocol: "Http" + protocol: "Http", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthSample.ts index a5ff87443f54..9088ca51b104 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysBackendHealthSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysBackendHealthParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function getBackendHealth() { const resourceGroupName = "appgw"; const applicationGatewayName = "appgw"; const options: ApplicationGatewaysBackendHealthParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysCreateOrUpdateSample.ts index 5cf19904821b..26714682d3e3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,8 +27,9 @@ async function createApplicationGateway() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid/resourceGroups/rg1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} - } + "/subscriptions/subid/resourceGroups/rg1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, }, location: "eastus", properties: { @@ -36,18 +37,14 @@ async function createApplicationGateway() { { name: "appgwpool", properties: { - backendAddresses: [ - { ipAddress: "10.0.1.1" }, - { ipAddress: "10.0.1.2" } - ] - } + backendAddresses: [{ ipAddress: "10.0.1.1" }, { ipAddress: "10.0.1.2" }], + }, }, { name: "appgwpool1", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", - properties: { backendAddresses: [{}, {}] } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + properties: { backendAddresses: [{}, {}] }, + }, ], backendHttpSettingsCollection: [ { @@ -56,78 +53,70 @@ async function createApplicationGateway() { cookieBasedAffinity: "Disabled", port: 80, requestTimeout: 30, - protocol: "Http" - } - } + protocol: "Http", + }, + }, ], frontendIPConfigurations: [ { name: "appgwfip", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip", + }, + }, + }, ], frontendPorts: [ { name: "appgwfp", properties: { port: 443 } }, - { name: "appgwfp80", properties: { port: 80 } } + { name: "appgwfp80", properties: { port: 80 } }, ], gatewayIPConfigurations: [ { name: "appgwipc", properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet", + }, + }, + }, ], globalConfiguration: { enableRequestBuffering: true, - enableResponseBuffering: true + enableResponseBuffering: true, }, httpListeners: [ { name: "appgwhl", properties: { frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", }, frontendPort: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", }, requireServerNameIndication: false, sslCertificate: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", }, sslProfile: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", }, - protocol: "Https" - } + protocol: "Https", + }, }, { name: "appgwhttplistener", properties: { frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", }, frontendPort: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", }, - protocol: "Http" - } - } + protocol: "Http", + }, + }, ], loadDistributionPolicies: [ { @@ -139,69 +128,60 @@ async function createApplicationGateway() { name: "ld11", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", }, - weightPerServer: 40 - } + weightPerServer: 40, + }, }, { name: "ld11", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", }, - weightPerServer: 60 - } - } - ] - } - } + weightPerServer: 60, + }, + }, + ], + }, + }, ], requestRoutingRules: [ { name: "appgwrule", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", }, backendHttpSettings: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", }, httpListener: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", }, loadDistributionPolicy: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", }, priority: 10, rewriteRuleSet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", }, - ruleType: "Basic" - } + ruleType: "Basic", + }, }, { name: "appgwPathBasedRule", properties: { httpListener: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", }, priority: 20, ruleType: "PathBasedRouting", urlPathMap: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + }, + }, + }, ], rewriteRuleSets: [ { @@ -214,38 +194,38 @@ async function createApplicationGateway() { requestHeaderConfigurations: [ { headerName: "X-Forwarded-For", - headerValue: "{var_add_x_forwarded_for_proxy}" - } + headerValue: "{var_add_x_forwarded_for_proxy}", + }, ], responseHeaderConfigurations: [ { headerName: "Strict-Transport-Security", - headerValue: "max-age=31536000" - } + headerValue: "max-age=31536000", + }, ], - urlConfiguration: { modifiedPath: "/abc" } + urlConfiguration: { modifiedPath: "/abc" }, }, conditions: [ { ignoreCase: true, negate: false, pattern: "^Bearer", - variable: "http_req_Authorization" - } + variable: "http_req_Authorization", + }, ], - ruleSequence: 102 - } - ] - } - } + ruleSequence: 102, + }, + ], + }, + }, ], sku: { name: "Standard_v2", capacity: 3, tier: "Standard_v2" }, sslCertificates: [ { name: "sslcert", properties: { data: "****", password: "****" } }, { name: "sslcert2", - properties: { keyVaultSecretId: "https://kv/secret" } - } + properties: { keyVaultSecretId: "https://kv/secret" }, + }, ], sslProfiles: [ { @@ -255,87 +235,76 @@ async function createApplicationGateway() { sslPolicy: { cipherSuites: ["TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"], minProtocolVersion: "TLSv1_1", - policyType: "Custom" + policyType: "Custom", }, trustedClientCertificates: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" - } - ] - } - } - ], - trustedClientCertificates: [ - { name: "clientcert", properties: { data: "****" } } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + }, + ], + }, + }, ], + trustedClientCertificates: [{ name: "clientcert", properties: { data: "****" } }], trustedRootCertificates: [ { name: "rootcert", properties: { data: "****" } }, { name: "rootcert1", - properties: { keyVaultSecretId: "https://kv/secret" } - } + properties: { keyVaultSecretId: "https://kv/secret" }, + }, ], urlPathMaps: [ { name: "pathMap1", properties: { defaultBackendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", }, defaultBackendHttpSettings: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", }, defaultLoadDistributionPolicy: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", }, defaultRewriteRuleSet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", }, pathRules: [ { name: "apiPaths", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", }, backendHttpSettings: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", }, loadDistributionPolicy: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", }, paths: ["/api", "/v1/api"], rewriteRuleSet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" - } - } - } - ] - } - } - ] - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + }, + }, + }, + ], + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysDeleteSample.ts index 7f0eed34a7e6..dd78161ff3a9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function deleteApplicationGateway() { const resourceGroupName = "rg1"; const applicationGatewayName = "appgw"; const options: ApplicationGatewaysDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSample.ts index 312229807462..c476b7d3da89 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewaysGetParameters + ApplicationGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getApplicationGateway() { const resourceGroupName = "rg1"; const applicationGatewayName = "appgw"; const options: ApplicationGatewaysGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSslPredefinedPolicySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSslPredefinedPolicySample.ts index 53f11d3b85f1..5cc14b9395b2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSslPredefinedPolicySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysGetSslPredefinedPolicySample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewaysGetSslPredefinedPolicyParameters + ApplicationGatewaysGetSslPredefinedPolicyParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function getAvailableSslPredefinedPolicyByName() { const subscriptionId = ""; const predefinedPolicyName = "AppGwSslPolicy20150501"; const options: ApplicationGatewaysGetSslPredefinedPolicyParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}", subscriptionId, - predefinedPolicyName + predefinedPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAllSample.ts index d2e8ed383d83..d65fa9d9ddb7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listsAllApplicationGatewaysInASubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ApplicationGatewaysListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableRequestHeadersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableRequestHeadersSample.ts index 276a743ad1c8..82dd2f59ed00 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableRequestHeadersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableRequestHeadersSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewaysListAvailableRequestHeadersParameters + ApplicationGatewaysListAvailableRequestHeadersParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -20,12 +20,12 @@ async function getAvailableRequestHeaders() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ApplicationGatewaysListAvailableRequestHeadersParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableResponseHeadersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableResponseHeadersSample.ts index 80dcd892f006..0746f534d793 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableResponseHeadersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableResponseHeadersSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewaysListAvailableResponseHeadersParameters + ApplicationGatewaysListAvailableResponseHeadersParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -20,12 +20,12 @@ async function getAvailableResponseHeaders() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ApplicationGatewaysListAvailableResponseHeadersParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableServerVariablesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableServerVariablesSample.ts index 58808a22c85f..df9e7b79256d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableServerVariablesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableServerVariablesSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewaysListAvailableServerVariablesParameters + ApplicationGatewaysListAvailableServerVariablesParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -20,12 +20,12 @@ async function getAvailableServerVariables() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ApplicationGatewaysListAvailableServerVariablesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslOptionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslOptionsSample.ts index 369fd66b565e..62c76c2e10e7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslOptionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslOptionsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewaysListAvailableSslOptionsParameters + ApplicationGatewaysListAvailableSslOptionsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -20,12 +20,12 @@ async function getAvailableSslOptions() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ApplicationGatewaysListAvailableSslOptionsParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts index adda74b5064c..1e492c02abdc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableSslPredefinedPoliciesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysListAvailableSslPredefinedPoliciesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function getAvailableSslPredefinedPolicies() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ApplicationGatewaysListAvailableSslPredefinedPoliciesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableWafRuleSetsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableWafRuleSetsSample.ts index 0fc264027b1f..4f4007d89a75 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableWafRuleSetsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListAvailableWafRuleSetsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewaysListAvailableWafRuleSetsParameters + ApplicationGatewaysListAvailableWafRuleSetsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -20,12 +20,12 @@ async function getAvailableWafRuleSets() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ApplicationGatewaysListAvailableWafRuleSetsParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListSample.ts index e0cc581b07a6..4009f57b5bdc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listsAllApplicationGatewaysInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: ApplicationGatewaysListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStartSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStartSample.ts index a87edc3be911..4f97298a2dbc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStartSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function startApplicationGateway() { const resourceGroupName = "rg1"; const applicationGatewayName = "appgw"; const options: ApplicationGatewaysStartParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStopSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStopSample.ts index 5f76e913516d..dcb1f32f8f15 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStopSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysStopSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationGatewaysStopParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function stopApplicationGateway() { const resourceGroupName = "rg1"; const applicationGatewayName = "appgw"; const options: ApplicationGatewaysStopParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysUpdateTagsSample.ts index 5a9492e74dcd..f74178c7214a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationGatewaysUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationGatewaysUpdateTagsParameters + ApplicationGatewaysUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateApplicationGatewayTags() { const applicationGatewayName = "AppGw"; const options: ApplicationGatewaysUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", subscriptionId, resourceGroupName, - applicationGatewayName + applicationGatewayName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsCreateOrUpdateSample.ts index d7ebc7fd9003..66cbeafbb463 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationSecurityGroupsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,17 +24,17 @@ async function createApplicationSecurityGroup() { const applicationSecurityGroupName = "test-asg"; const options: ApplicationSecurityGroupsCreateOrUpdateParameters = { body: { location: "westus", properties: {} }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", subscriptionId, resourceGroupName, - applicationSecurityGroupName + applicationSecurityGroupName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsDeleteSample.ts index dfb05b46cd89..28c17afffd11 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationSecurityGroupsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function deleteApplicationSecurityGroup() { const resourceGroupName = "rg1"; const applicationSecurityGroupName = "test-asg"; const options: ApplicationSecurityGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", subscriptionId, resourceGroupName, - applicationSecurityGroupName + applicationSecurityGroupName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsGetSample.ts index d9cb0556da18..517d01df1b2f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationSecurityGroupsGetParameters + ApplicationSecurityGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getApplicationSecurityGroup() { const resourceGroupName = "rg1"; const applicationSecurityGroupName = "test-asg"; const options: ApplicationSecurityGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", subscriptionId, resourceGroupName, - applicationSecurityGroupName + applicationSecurityGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListAllSample.ts index 0193eacc377a..b1d30774a2d3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationSecurityGroupsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllApplicationSecurityGroups() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ApplicationSecurityGroupsListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListSample.ts index 1f77355b39f0..105efaed3d02 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ApplicationSecurityGroupsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listLoadBalancersInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: ApplicationSecurityGroupsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsUpdateTagsSample.ts index 0f980d4c7e8e..4250843afe14 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/applicationSecurityGroupsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ApplicationSecurityGroupsUpdateTagsParameters + ApplicationSecurityGroupsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateApplicationSecurityGroupTags() { const applicationSecurityGroupName = "test-asg"; const options: ApplicationSecurityGroupsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", subscriptionId, resourceGroupName, - applicationSecurityGroupName + applicationSecurityGroupName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableDelegationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableDelegationsListSample.ts index 2ff59db7671e..265bdadeea65 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableDelegationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableDelegationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AvailableDelegationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function getAvailableDelegations() { const subscriptionId = ""; const location = "westcentralus"; const options: AvailableDelegationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableEndpointServicesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableEndpointServicesListSample.ts index 5fe3b4897e19..b67dfd18099c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableEndpointServicesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableEndpointServicesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AvailableEndpointServicesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function endpointServicesList() { const subscriptionId = ""; const location = "westus"; const options: AvailableEndpointServicesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListByResourceGroupSample.ts index 3a48f868af09..f8f4760c8637 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AvailablePrivateEndpointTypesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getAvailablePrivateEndpointTypesInTheResourceGroup() { const resourceGroupName = "rg1"; const location = "regionName"; const options: AvailablePrivateEndpointTypesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", subscriptionId, resourceGroupName, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListSample.ts index 781fbffe240c..1fec93e3b9e9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availablePrivateEndpointTypesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AvailablePrivateEndpointTypesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function getAvailablePrivateEndpointTypes() { const subscriptionId = ""; const location = "regionName"; const options: AvailablePrivateEndpointTypesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableResourceGroupDelegationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableResourceGroupDelegationsListSample.ts index b1c56fd96779..02246ea9a3a7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableResourceGroupDelegationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableResourceGroupDelegationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AvailableResourceGroupDelegationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getAvailableDelegationsInTheResourceGroup() { const resourceGroupName = "rg1"; const location = "westcentralus"; const options: AvailableResourceGroupDelegationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations", subscriptionId, resourceGroupName, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListByResourceGroupSample.ts index b82826c1b7a3..c1d7379fda4a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AvailableServiceAliasesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getAvailableServiceAliasesInTheResourceGroup() { const resourceGroupName = "rg1"; const location = "westcentralus"; const options: AvailableServiceAliasesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases", subscriptionId, resourceGroupName, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListSample.ts index e12ecaa830c6..a1fadfa891b4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/availableServiceAliasesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AvailableServiceAliasesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function getAvailableServiceAliases() { const subscriptionId = ""; const location = "westcentralus"; const options: AvailableServiceAliasesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallFqdnTagsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallFqdnTagsListAllSample.ts index 768f89e686c3..71bd4b44ca0c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallFqdnTagsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallFqdnTagsListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AzureFirewallFqdnTagsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllAzureFirewallFqdnTagsForAGivenSubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: AzureFirewallFqdnTagsListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsCreateOrUpdateSample.ts index 9c460cda341d..0d42dee4bc24 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AzureFirewallsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -38,26 +38,24 @@ async function createAzureFirewall() { description: "Deny inbound rule", protocols: [{ port: 443, protocolType: "Https" }], sourceAddresses: ["216.58.216.164", "10.0.0.0/24"], - targetFqdns: ["www.test.com"] - } - ] - } - } + targetFqdns: ["www.test.com"], + }, + ], + }, + }, ], ipConfigurations: [ { name: "azureFirewallIpConfiguration", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet", + }, + }, + }, ], natRuleCollections: [ { @@ -74,7 +72,7 @@ async function createAzureFirewall() { protocols: ["TCP"], sourceAddresses: ["*"], translatedAddress: "1.2.3.5", - translatedPort: "8443" + translatedPort: "8443", }, { name: "DNAT-HTTP-traffic-With-FQDN", @@ -84,11 +82,11 @@ async function createAzureFirewall() { protocols: ["TCP"], sourceAddresses: ["*"], translatedFqdn: "internalhttpserver", - translatedPort: "880" - } - ] - } - } + translatedPort: "880", + }, + ], + }, + }, ], networkRuleCollections: [ { @@ -103,41 +101,37 @@ async function createAzureFirewall() { destinationAddresses: ["*"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: [ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ] + sourceAddresses: ["192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255"], }, { name: "L4-traffic-with-FQDN", - description: - "Block traffic based on source IPs and ports to amazon", + description: "Block traffic based on source IPs and ports to amazon", destinationFqdns: ["www.amazon.com"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: ["10.2.4.12-10.2.4.255"] - } - ] - } - } + sourceAddresses: ["10.2.4.12-10.2.4.255"], + }, + ], + }, + }, ], sku: { name: "AZFW_VNet", tier: "Standard" }, - threatIntelMode: "Alert" + threatIntelMode: "Alert", }, tags: { key1: "value1" }, - zones: [] + zones: [], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -172,26 +166,24 @@ async function createAzureFirewallWithAdditionalProperties() { description: "Deny inbound rule", protocols: [{ port: 443, protocolType: "Https" }], sourceAddresses: ["216.58.216.164", "10.0.0.0/24"], - targetFqdns: ["www.test.com"] - } - ] - } - } + targetFqdns: ["www.test.com"], + }, + ], + }, + }, ], ipConfigurations: [ { name: "azureFirewallIpConfiguration", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet", + }, + }, + }, ], ipGroups: [], natRuleCollections: [ @@ -209,7 +201,7 @@ async function createAzureFirewallWithAdditionalProperties() { protocols: ["TCP"], sourceAddresses: ["*"], translatedAddress: "1.2.3.5", - translatedPort: "8443" + translatedPort: "8443", }, { name: "DNAT-HTTP-traffic-With-FQDN", @@ -219,11 +211,11 @@ async function createAzureFirewallWithAdditionalProperties() { protocols: ["TCP"], sourceAddresses: ["*"], translatedFqdn: "internalhttpserver", - translatedPort: "880" - } - ] - } - } + translatedPort: "880", + }, + ], + }, + }, ], networkRuleCollections: [ { @@ -238,41 +230,37 @@ async function createAzureFirewallWithAdditionalProperties() { destinationAddresses: ["*"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: [ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ] + sourceAddresses: ["192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255"], }, { name: "L4-traffic-with-FQDN", - description: - "Block traffic based on source IPs and ports to amazon", + description: "Block traffic based on source IPs and ports to amazon", destinationFqdns: ["www.amazon.com"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: ["10.2.4.12-10.2.4.255"] - } - ] - } - } + sourceAddresses: ["10.2.4.12-10.2.4.255"], + }, + ], + }, + }, ], sku: { name: "AZFW_VNet", tier: "Standard" }, - threatIntelMode: "Alert" + threatIntelMode: "Alert", }, tags: { key1: "value1" }, - zones: [] + zones: [], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -306,26 +294,24 @@ async function createAzureFirewallWithIPGroups() { description: "Deny inbound rule", protocols: [{ port: 443, protocolType: "Https" }], sourceAddresses: ["216.58.216.164", "10.0.0.0/24"], - targetFqdns: ["www.test.com"] - } - ] - } - } + targetFqdns: ["www.test.com"], + }, + ], + }, + }, ], ipConfigurations: [ { name: "azureFirewallIpConfiguration", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet", + }, + }, + }, ], natRuleCollections: [ { @@ -342,7 +328,7 @@ async function createAzureFirewallWithIPGroups() { protocols: ["TCP"], sourceAddresses: ["*"], translatedAddress: "1.2.3.5", - translatedPort: "8443" + translatedPort: "8443", }, { name: "DNAT-HTTP-traffic-With-FQDN", @@ -352,11 +338,11 @@ async function createAzureFirewallWithIPGroups() { protocols: ["TCP"], sourceAddresses: ["*"], translatedFqdn: "internalhttpserver", - translatedPort: "880" - } - ] - } - } + translatedPort: "880", + }, + ], + }, + }, ], networkRuleCollections: [ { @@ -371,41 +357,37 @@ async function createAzureFirewallWithIPGroups() { destinationAddresses: ["*"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: [ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ] + sourceAddresses: ["192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255"], }, { name: "L4-traffic-with-FQDN", - description: - "Block traffic based on source IPs and ports to amazon", + description: "Block traffic based on source IPs and ports to amazon", destinationFqdns: ["www.amazon.com"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: ["10.2.4.12-10.2.4.255"] - } - ] - } - } + sourceAddresses: ["10.2.4.12-10.2.4.255"], + }, + ], + }, + }, ], sku: { name: "AZFW_VNet", tier: "Standard" }, - threatIntelMode: "Alert" + threatIntelMode: "Alert", }, tags: { key1: "value1" }, - zones: [] + zones: [], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -439,26 +421,24 @@ async function createAzureFirewallWithZones() { description: "Deny inbound rule", protocols: [{ port: 443, protocolType: "Https" }], sourceAddresses: ["216.58.216.164", "10.0.0.0/24"], - targetFqdns: ["www.test.com"] - } - ] - } - } + targetFqdns: ["www.test.com"], + }, + ], + }, + }, ], ipConfigurations: [ { name: "azureFirewallIpConfiguration", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet", + }, + }, + }, ], natRuleCollections: [ { @@ -475,7 +455,7 @@ async function createAzureFirewallWithZones() { protocols: ["TCP"], sourceAddresses: ["*"], translatedAddress: "1.2.3.5", - translatedPort: "8443" + translatedPort: "8443", }, { name: "DNAT-HTTP-traffic-With-FQDN", @@ -485,11 +465,11 @@ async function createAzureFirewallWithZones() { protocols: ["TCP"], sourceAddresses: ["*"], translatedFqdn: "internalhttpserver", - translatedPort: "880" - } - ] - } - } + translatedPort: "880", + }, + ], + }, + }, ], networkRuleCollections: [ { @@ -504,41 +484,37 @@ async function createAzureFirewallWithZones() { destinationAddresses: ["*"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: [ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ] + sourceAddresses: ["192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255"], }, { name: "L4-traffic-with-FQDN", - description: - "Block traffic based on source IPs and ports to amazon", + description: "Block traffic based on source IPs and ports to amazon", destinationFqdns: ["www.amazon.com"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: ["10.2.4.12-10.2.4.255"] - } - ] - } - } + sourceAddresses: ["10.2.4.12-10.2.4.255"], + }, + ], + }, + }, ], sku: { name: "AZFW_VNet", tier: "Standard" }, - threatIntelMode: "Alert" + threatIntelMode: "Alert", }, tags: { key1: "value1" }, - zones: ["1", "2", "3"] + zones: ["1", "2", "3"], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -572,39 +548,35 @@ async function createAzureFirewallWithManagementSubnet() { description: "Deny inbound rule", protocols: [{ port: 443, protocolType: "Https" }], sourceAddresses: ["216.58.216.164", "10.0.0.0/24"], - targetFqdns: ["www.test.com"] - } - ] - } - } + targetFqdns: ["www.test.com"], + }, + ], + }, + }, ], ipConfigurations: [ { name: "azureFirewallIpConfiguration", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet", + }, + }, + }, ], managementIpConfiguration: { name: "azureFirewallMgmtIpConfiguration", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet", + }, + }, }, natRuleCollections: [ { @@ -621,7 +593,7 @@ async function createAzureFirewallWithManagementSubnet() { protocols: ["TCP"], sourceAddresses: ["*"], translatedAddress: "1.2.3.5", - translatedPort: "8443" + translatedPort: "8443", }, { name: "DNAT-HTTP-traffic-With-FQDN", @@ -631,11 +603,11 @@ async function createAzureFirewallWithManagementSubnet() { protocols: ["TCP"], sourceAddresses: ["*"], translatedFqdn: "internalhttpserver", - translatedPort: "880" - } - ] - } - } + translatedPort: "880", + }, + ], + }, + }, ], networkRuleCollections: [ { @@ -650,41 +622,37 @@ async function createAzureFirewallWithManagementSubnet() { destinationAddresses: ["*"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: [ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ] + sourceAddresses: ["192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255"], }, { name: "L4-traffic-with-FQDN", - description: - "Block traffic based on source IPs and ports to amazon", + description: "Block traffic based on source IPs and ports to amazon", destinationFqdns: ["www.amazon.com"], destinationPorts: ["443-444", "8443"], protocols: ["TCP"], - sourceAddresses: ["10.2.4.12-10.2.4.255"] - } - ] - } - } + sourceAddresses: ["10.2.4.12-10.2.4.255"], + }, + ], + }, + }, ], sku: { name: "AZFW_VNet", tier: "Standard" }, - threatIntelMode: "Alert" + threatIntelMode: "Alert", }, tags: { key1: "value1" }, - zones: [] + zones: [], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -707,31 +675,29 @@ async function createAzureFirewallInVirtualHub() { location: "West US", properties: { firewallPolicy: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1", }, hubIPAddresses: { publicIPs: { addresses: [], count: 1 } }, sku: { name: "AZFW_Hub", tier: "Standard" }, threatIntelMode: "Alert", virtualHub: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + }, }, tags: { key1: "value1" }, - zones: [] + zones: [], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsDeleteSample.ts index 3f4e34273d78..7f30c1eaf406 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AzureFirewallsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function deleteAzureFirewall() { const resourceGroupName = "rg1"; const azureFirewallName = "azurefirewall"; const options: AzureFirewallsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsGetSample.ts index e1380734715d..81e07f47f3e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - AzureFirewallsGetParameters + AzureFirewallsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getAzureFirewall() { const resourceGroupName = "rg1"; const azureFirewallName = "azurefirewall"; const options: AzureFirewallsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); @@ -49,14 +49,14 @@ async function getAzureFirewallWithAdditionalProperties() { const resourceGroupName = "rg1"; const azureFirewallName = "azurefirewall"; const options: AzureFirewallsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); @@ -76,14 +76,14 @@ async function getAzureFirewallWithIPGroups() { const resourceGroupName = "rg1"; const azureFirewallName = "azurefirewall"; const options: AzureFirewallsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); @@ -103,14 +103,14 @@ async function getAzureFirewallWithZones() { const resourceGroupName = "rg1"; const azureFirewallName = "azurefirewall"; const options: AzureFirewallsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); @@ -130,14 +130,14 @@ async function getAzureFirewallWithManagementSubnet() { const resourceGroupName = "rg1"; const azureFirewallName = "azurefirewall"; const options: AzureFirewallsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListAllSample.ts index 4a01e05db949..9dbec7561941 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AzureFirewallsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllAzureFirewallsForAGivenSubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: AzureFirewallsListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListLearnedPrefixesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListLearnedPrefixesSample.ts index 3b94fc4d00ed..f9cbc0ba03a8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListLearnedPrefixesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListLearnedPrefixesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AzureFirewallsListLearnedPrefixesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function azureFirewallListLearnedPrefixes() { const resourceGroupName = "rg1"; const azureFirewallName = "azureFirewall1"; const options: AzureFirewallsListLearnedPrefixesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListSample.ts index d0aded34a4df..7c97958726d0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AzureFirewallsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listAllAzureFirewallsForAGivenResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: AzureFirewallsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsUpdateTagsSample.ts index 5499c77cc6fc..1921618dc522 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/azureFirewallsUpdateTagsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { AzureFirewallsUpdateTagsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,17 +24,17 @@ async function updateAzureFirewallTags() { const azureFirewallName = "fw1"; const options: AzureFirewallsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", subscriptionId, resourceGroupName, - azureFirewallName + azureFirewallName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsCreateOrUpdateSample.ts index f475e228f220..e56294f6e4c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { BastionHostsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,29 +30,27 @@ async function createBastionHost() { name: "bastionHostIpConfiguration", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" - } - } - } - ] - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet", + }, + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsDeleteSample.ts index b0e459e3ae21..158f47430f96 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { BastionHostsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function deleteBastionHost() { const resourceGroupName = "rg1"; const bastionHostName = "bastionhosttenant"; const options: BastionHostsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsGetSample.ts index 3c20585356df..2b2e3d5a1090 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - BastionHostsGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { BastionHostsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function getBastionHost() { const resourceGroupName = "rg1"; const bastionHostName = "bastionhosttenant'"; const options: BastionHostsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListByResourceGroupSample.ts index a0186b44bcc1..9101eccf4f48 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { BastionHostsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listAllBastionHostsForAGivenResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: BastionHostsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListSample.ts index 5ae5e2fc0fa0..656e8027bf54 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { BastionHostsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllBastionHostsForAGivenSubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: BastionHostsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsUpdateTagsSample.ts index 5026605d0dfd..eed6009a2b36 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bastionHostsUpdateTagsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { BastionHostsUpdateTagsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,17 +24,17 @@ async function patchBastionHost() { const bastionHostName = "bastionhosttenant"; const options: BastionHostsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bgpServiceCommunitiesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bgpServiceCommunitiesListSample.ts index 29c5672d2c96..884f31f06d83 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bgpServiceCommunitiesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/bgpServiceCommunitiesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { BgpServiceCommunitiesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function serviceCommunityList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: BgpServiceCommunitiesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/checkDnsNameAvailabilitySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/checkDnsNameAvailabilitySample.ts index 2d1a9fec34ee..70c0a9848b70 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/checkDnsNameAvailabilitySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/checkDnsNameAvailabilitySample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - CheckDnsNameAvailabilityParameters + CheckDnsNameAvailabilityParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function checkDnsNameAvailability() { const subscriptionId = ""; const location = "westus"; const options: CheckDnsNameAvailabilityParameters = { - queryParameters: { domainNameLabel: "testdns", "api-version": "2022-05-01" } + queryParameters: { domainNameLabel: "testdns", "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsCreateOrUpdateSample.ts index e8691bac029b..2f1eabc288f1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConfigurationPolicyGroupsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,18 +31,18 @@ async function configurationPolicyGroupPut() { { name: "policy1", attributeType: "RadiusAzureGroupId", - attributeValue: "6ad1bd08" + attributeValue: "6ad1bd08", }, { name: "policy2", attributeType: "CertificateGroupId", - attributeValue: "red.com" - } + attributeValue: "red.com", + }, ], - priority: 0 - } + priority: 0, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -50,10 +50,10 @@ async function configurationPolicyGroupPut() { subscriptionId, resourceGroupName, vpnServerConfigurationName, - configurationPolicyGroupName + configurationPolicyGroupName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsDeleteSample.ts index bfc5b028f2c0..d919a7c6b0d4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConfigurationPolicyGroupsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function configurationPolicyGroupDelete() { const vpnServerConfigurationName = "vpnServerConfiguration1"; const configurationPolicyGroupName = "policyGroup1"; const options: ConfigurationPolicyGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function configurationPolicyGroupDelete() { subscriptionId, resourceGroupName, vpnServerConfigurationName, - configurationPolicyGroupName + configurationPolicyGroupName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsGetSample.ts index 72ce14216975..6ef2073484fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ConfigurationPolicyGroupsGetParameters + ConfigurationPolicyGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function configurationPolicyGroupGet() { const vpnServerConfigurationName = "vpnServerConfiguration1"; const configurationPolicyGroupName = "policyGroup1"; const options: ConfigurationPolicyGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function configurationPolicyGroupGet() { subscriptionId, resourceGroupName, vpnServerConfigurationName, - configurationPolicyGroupName + configurationPolicyGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsListByVpnServerConfigurationSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsListByVpnServerConfigurationSample.ts index 73ece36ae909..7234e14e0c64 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsListByVpnServerConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/configurationPolicyGroupsListByVpnServerConfigurationSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConfigurationPolicyGroupsListByVpnServerConfigurationParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function configurationPolicyGroupListByVpnServerConfiguration() { const resourceGroupName = "rg1"; const vpnServerConfigurationName = "vpnServerConfiguration1"; const options: ConfigurationPolicyGroupsListByVpnServerConfigurationParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsCreateOrUpdateSample.ts index 7081370b7039..b68dab74cf81 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConnectionMonitorsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,29 +31,29 @@ async function createConnectionMonitorV1() { { name: "source", resourceId: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1", }, - { name: "destination", address: "bing.com" } + { name: "destination", address: "bing.com" }, ], testConfigurations: [ { name: "tcp", tcpConfiguration: { port: 80 }, testFrequencySec: 60, - protocol: "Tcp" - } + protocol: "Tcp", + }, ], testGroups: [ { name: "tg", destinations: ["destination"], sources: ["source"], - testConfigurations: ["tcp"] - } - ] - } + testConfigurations: ["tcp"], + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -61,10 +61,10 @@ async function createConnectionMonitorV1() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -90,19 +90,19 @@ async function createConnectionMonitorV2() { { name: "vm1", resourceId: - "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1" + "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1", }, { name: "CanaryWorkspaceVamshi", filter: { type: "Include", - items: [{ type: "AgentAddress", address: "npmuser" }] + items: [{ type: "AgentAddress", address: "npmuser" }], }, resourceId: - "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace" + "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace", }, { name: "bing", address: "bing.com" }, - { name: "google", address: "google.com" } + { name: "google", address: "google.com" }, ], outputs: [], testConfigurations: [ @@ -110,8 +110,8 @@ async function createConnectionMonitorV2() { name: "testConfig1", tcpConfiguration: { disableTraceRoute: false, port: 80 }, testFrequencySec: 60, - protocol: "Tcp" - } + protocol: "Tcp", + }, ], testGroups: [ { @@ -119,12 +119,12 @@ async function createConnectionMonitorV2() { destinations: ["bing", "google"], disable: false, sources: ["vm1", "CanaryWorkspaceVamshi"], - testConfigurations: ["testConfig1"] - } - ] - } + testConfigurations: ["testConfig1"], + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -132,10 +132,10 @@ async function createConnectionMonitorV2() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsDeleteSample.ts index b429743543ff..c89d2422e24d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConnectionMonitorsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteConnectionMonitor() { const networkWatcherName = "nw1"; const connectionMonitorName = "cm1"; const options: ConnectionMonitorsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function deleteConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsGetSample.ts index 752ba7663bf4..086ea840bdb8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ConnectionMonitorsGetParameters + ConnectionMonitorsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getConnectionMonitor() { const networkWatcherName = "nw1"; const connectionMonitorName = "cm1"; const options: ConnectionMonitorsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsListSample.ts index 582384daa8fb..68942a1f538a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConnectionMonitorsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listConnectionMonitors() { const resourceGroupName = "rg1"; const networkWatcherName = "nw1"; const options: ConnectionMonitorsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsQuerySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsQuerySample.ts index 61ebd87921ce..34bffd9dc231 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsQuerySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsQuerySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConnectionMonitorsQueryParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function queryConnectionMonitor() { const networkWatcherName = "nw1"; const connectionMonitorName = "cm1"; const options: ConnectionMonitorsQueryParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function queryConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStartSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStartSample.ts index c1f435d2546d..adc35134e5fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStartSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStartSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConnectionMonitorsStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function startConnectionMonitor() { const networkWatcherName = "nw1"; const connectionMonitorName = "cm1"; const options: ConnectionMonitorsStartParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function startConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStopSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStopSample.ts index f3d34407ff44..205a65a904fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStopSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsStopSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConnectionMonitorsStopParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function stopConnectionMonitor() { const networkWatcherName = "nw1"; const connectionMonitorName = "cm1"; const options: ConnectionMonitorsStopParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function stopConnectionMonitor() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsUpdateTagsSample.ts index 3e0d18ec11aa..ea5cc5dc0e85 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectionMonitorsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ConnectionMonitorsUpdateTagsParameters + ConnectionMonitorsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function updateConnectionMonitorTags() { const connectionMonitorName = "cm1"; const options: ConnectionMonitorsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -32,7 +32,7 @@ async function updateConnectionMonitorTags() { subscriptionId, resourceGroupName, networkWatcherName, - connectionMonitorName + connectionMonitorName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsCreateOrUpdateSample.ts index 3cf53b1e6d5b..9e4558d35bb2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ConnectivityConfigurationsCreateOrUpdateParameters + ConnectivityConfigurationsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,8 +32,8 @@ async function connectivityConfigurationsPut() { isGlobal: "False", networkGroupId: "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - useHubGateway: "True" - } + useHubGateway: "True", + }, ], connectivityTopology: "HubAndSpoke", deleteExistingPeering: "True", @@ -41,13 +41,13 @@ async function connectivityConfigurationsPut() { { resourceId: "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - resourceType: "Microsoft.Network/virtualNetworks" - } + resourceType: "Microsoft.Network/virtualNetworks", + }, ], - isGlobal: "True" - } + isGlobal: "True", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -55,7 +55,7 @@ async function connectivityConfigurationsPut() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsDeleteSample.ts index aacb6e06c668..27bb435a3cc8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConnectivityConfigurationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function connectivityConfigurationsDelete() { const networkManagerName = "testNetworkManager"; const configurationName = "myTestConnectivityConfig"; const options: ConnectivityConfigurationsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01", force: false } + queryParameters: { "api-version": "2022-05-01", force: false }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function connectivityConfigurationsDelete() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsGetSample.ts index 786de939f762..36f874a7047b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ConnectivityConfigurationsGetParameters + ConnectivityConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function connectivityConfigurationsGet() { const networkManagerName = "testNetworkManager"; const configurationName = "myTestConnectivityConfig"; const options: ConnectivityConfigurationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function connectivityConfigurationsGet() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsListSample.ts index 9261cba6f5a4..81c8d53e661c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/connectivityConfigurationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ConnectivityConfigurationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function connectivityConfigurationsList() { const resourceGroupName = "myResourceGroup"; const networkManagerName = "testNetworkManager"; const options: ConnectivityConfigurationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesCreateOrUpdateSample.ts index b655a1756afc..7124566ec016 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { CustomIPPrefixesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,17 +24,17 @@ async function createCustomIPPrefixAllocationMethod() { const customIpPrefixName = "test-customipprefix"; const options: CustomIPPrefixesCreateOrUpdateParameters = { body: { location: "westus", properties: { cidr: "0.0.0.0/24" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", subscriptionId, resourceGroupName, - customIpPrefixName + customIpPrefixName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesDeleteSample.ts index 39b6b05989fe..48bdc905d861 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { CustomIPPrefixesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function deleteCustomIPPrefix() { const resourceGroupName = "rg1"; const customIpPrefixName = "test-customipprefix"; const options: CustomIPPrefixesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", subscriptionId, resourceGroupName, - customIpPrefixName + customIpPrefixName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesGetSample.ts index aba46112184d..2ca65dac49e5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - CustomIPPrefixesGetParameters + CustomIPPrefixesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getCustomIPPrefix() { const resourceGroupName = "rg1"; const customIpPrefixName = "test-customipprefix"; const options: CustomIPPrefixesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", subscriptionId, resourceGroupName, - customIpPrefixName + customIpPrefixName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListAllSample.ts index dc245161df64..ec3d28894834 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { CustomIPPrefixesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllCustomIPPrefixes() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: CustomIPPrefixesListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListSample.ts index a864368ba2b3..be7d5c57d2ab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { CustomIPPrefixesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listResourceGroupCustomIPPrefixes() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: CustomIPPrefixesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesUpdateTagsSample.ts index 4dbc4f61bfc1..ab92489f5b39 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/customIPPrefixesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - CustomIPPrefixesUpdateTagsParameters + CustomIPPrefixesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updatePublicIPAddressTags() { const customIpPrefixName = "test-customipprefix"; const options: CustomIPPrefixesUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", subscriptionId, resourceGroupName, - customIpPrefixName + customIpPrefixName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesCreateOrUpdateSample.ts index fe493fc605ca..39629db81e8d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DdosCustomPoliciesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,17 +24,17 @@ async function createDDoSCustomPolicy() { const ddosCustomPolicyName = "test-ddos-custom-policy"; const options: DdosCustomPoliciesCreateOrUpdateParameters = { body: { location: "centraluseuap" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", subscriptionId, resourceGroupName, - ddosCustomPolicyName + ddosCustomPolicyName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesDeleteSample.ts index cb775cd0d199..fc7e6a9783e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DdosCustomPoliciesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function deleteDDoSCustomPolicy() { const resourceGroupName = "rg1"; const ddosCustomPolicyName = "test-ddos-custom-policy"; const options: DdosCustomPoliciesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", subscriptionId, resourceGroupName, - ddosCustomPolicyName + ddosCustomPolicyName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesGetSample.ts index 5a687dc6d70f..29ed9b6f9b95 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - DdosCustomPoliciesGetParameters + DdosCustomPoliciesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getDDoSCustomPolicy() { const resourceGroupName = "rg1"; const ddosCustomPolicyName = "test-ddos-custom-policy"; const options: DdosCustomPoliciesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", subscriptionId, resourceGroupName, - ddosCustomPolicyName + ddosCustomPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesUpdateTagsSample.ts index 2e56aab206a2..d9679cc0e4df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosCustomPoliciesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - DdosCustomPoliciesUpdateTagsParameters + DdosCustomPoliciesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function dDoSCustomPolicyUpdateTags() { const ddosCustomPolicyName = "test-ddos-custom-policy"; const options: DdosCustomPoliciesUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", subscriptionId, resourceGroupName, - ddosCustomPolicyName + ddosCustomPolicyName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansCreateOrUpdateSample.ts index 45f2d9d1100e..d5bd8bc5f292 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DdosProtectionPlansCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,17 +24,17 @@ async function createDDoSProtectionPlan() { const ddosProtectionPlanName = "test-plan"; const options: DdosProtectionPlansCreateOrUpdateParameters = { body: { location: "westus", properties: {} }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", subscriptionId, resourceGroupName, - ddosProtectionPlanName + ddosProtectionPlanName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansDeleteSample.ts index 8bb01115b1be..8862b020fe83 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DdosProtectionPlansDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function deleteDDoSProtectionPlan() { const resourceGroupName = "rg1"; const ddosProtectionPlanName = "test-plan"; const options: DdosProtectionPlansDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", subscriptionId, resourceGroupName, - ddosProtectionPlanName + ddosProtectionPlanName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansGetSample.ts index 1204662b318c..9780721ccffd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - DdosProtectionPlansGetParameters + DdosProtectionPlansGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getDDoSProtectionPlan() { const resourceGroupName = "rg1"; const ddosProtectionPlanName = "test-plan"; const options: DdosProtectionPlansGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", subscriptionId, resourceGroupName, - ddosProtectionPlanName + ddosProtectionPlanName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListByResourceGroupSample.ts index 206785b25345..a7e362cb97fa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DdosProtectionPlansListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listDDoSProtectionPlansInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: DdosProtectionPlansListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListSample.ts index 3ee173e08280..0d7413cf4fca 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DdosProtectionPlansListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllDDoSProtectionPlans() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: DdosProtectionPlansListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansUpdateTagsSample.ts index 0311f4ae8700..d6f8351b09da 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ddosProtectionPlansUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - DdosProtectionPlansUpdateTagsParameters + DdosProtectionPlansUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function dDoSProtectionPlanUpdateTags() { const ddosProtectionPlanName = "test-plan"; const options: DdosProtectionPlansUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", subscriptionId, resourceGroupName, - ddosProtectionPlanName + ddosProtectionPlanName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesGetSample.ts index 050db79dc100..e1ef5c0d919d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - DefaultSecurityRulesGetParameters + DefaultSecurityRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function defaultSecurityRuleGet() { const networkSecurityGroupName = "nsg1"; const defaultSecurityRuleName = "AllowVnetInBound"; const options: DefaultSecurityRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function defaultSecurityRuleGet() { subscriptionId, resourceGroupName, networkSecurityGroupName, - defaultSecurityRuleName + defaultSecurityRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesListSample.ts index 30eee5ce3cf9..23984052a942 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/defaultSecurityRulesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DefaultSecurityRulesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function defaultSecurityRuleList() { const resourceGroupName = "testrg"; const networkSecurityGroupName = "nsg1"; const options: DefaultSecurityRulesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/deleteBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/deleteBastionShareableLinkSample.ts index 7b6b53126b1e..77cee60e4285 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/deleteBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/deleteBastionShareableLinkSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DeleteBastionShareableLinkParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,29 +27,27 @@ async function deleteBastionShareableLinksForTheRequestVMS() { vms: [ { vm: { - id: - "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" - } + id: "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1", + }, }, { vm: { - id: - "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" - } - } - ] + id: "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2", + }, + }, + ], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/disconnectActiveSessionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/disconnectActiveSessionsSample.ts index e55eec5a351e..6367d5e52f40 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/disconnectActiveSessionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/disconnectActiveSessionsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DisconnectActiveSessionsParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function deletesTheSpecifiedActiveSession() { const bastionHostName = "bastionhosttenant"; const options: DisconnectActiveSessionsParameters = { body: {}, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationCreateOrUpdateSample.ts index af960f9882ab..78e6cac232a1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DscpConfigurationCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,17 +28,15 @@ async function createDscpConfiguration() { properties: { qosDefinitionCollection: [ { - destinationIpRanges: [ - { endIP: "127.0.10.2", startIP: "127.0.10.1" } - ], + destinationIpRanges: [{ endIP: "127.0.10.2", startIP: "127.0.10.1" }], destinationPortRanges: [{ end: 15, start: 15 }], markings: [1], sourceIpRanges: [{ endIP: "127.0.0.2", startIP: "127.0.0.1" }], sourcePortRanges: [ { end: 11, start: 10 }, - { end: 21, start: 20 } + { end: 21, start: 20 }, ], - protocol: "Tcp" + protocol: "Tcp", }, { destinationIpRanges: [{ endIP: "12.0.10.2", startIP: "12.0.10.1" }], @@ -46,22 +44,22 @@ async function createDscpConfiguration() { markings: [2], sourceIpRanges: [{ endIP: "12.0.0.2", startIP: "12.0.0.1" }], sourcePortRanges: [{ end: 12, start: 11 }], - protocol: "Udp" - } - ] - } + protocol: "Udp", + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", subscriptionId, resourceGroupName, - dscpConfigurationName + dscpConfigurationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationDeleteSample.ts index 8e671a407042..e1451e7c2cb8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DscpConfigurationDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,17 +23,17 @@ async function deleteDscpConfiguration() { const resourceGroupName = "rg1"; const dscpConfigurationName = "mydscpConfig"; const options: DscpConfigurationDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", subscriptionId, resourceGroupName, - dscpConfigurationName + dscpConfigurationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationGetSample.ts index 9770d9806a7a..6ad31429fb93 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - DscpConfigurationGetParameters + DscpConfigurationGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getDscpConfiguration() { const resourceGroupName = "rg1"; const dscpConfigurationName = "mydscpConfig"; const options: DscpConfigurationGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", subscriptionId, resourceGroupName, - dscpConfigurationName + dscpConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListAllSample.ts index d1cd56e8cc0e..3e6705a0b1ed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DscpConfigurationListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllNetworkInterfaces() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: DscpConfigurationListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListSample.ts index 7d5e5d1a01b1..8633a7a8f421 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/dscpConfigurationListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { DscpConfigurationListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function getDscpConfiguration() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: DscpConfigurationListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts index 47da5ba6455c..bbd455da108c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitAuthorizationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function createExpressRouteCircuitAuthorization() { const authorizationName = "authorizatinName"; const options: ExpressRouteCircuitAuthorizationsCreateOrUpdateParameters = { body: { properties: {} }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -33,10 +33,10 @@ async function createExpressRouteCircuitAuthorization() { subscriptionId, resourceGroupName, circuitName, - authorizationName + authorizationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsDeleteSample.ts index e9570db19ddc..4edb43fe85f6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitAuthorizationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteExpressRouteCircuitAuthorization() { const circuitName = "circuitName"; const authorizationName = "authorizationName"; const options: ExpressRouteCircuitAuthorizationsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function deleteExpressRouteCircuitAuthorization() { subscriptionId, resourceGroupName, circuitName, - authorizationName + authorizationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsGetSample.ts index 8d698cb580bf..56a9267fbdfa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCircuitAuthorizationsGetParameters + ExpressRouteCircuitAuthorizationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getExpressRouteCircuitAuthorization() { const circuitName = "circuitName"; const authorizationName = "authorizationName"; const options: ExpressRouteCircuitAuthorizationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getExpressRouteCircuitAuthorization() { subscriptionId, resourceGroupName, circuitName, - authorizationName + authorizationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsListSample.ts index 5035c9fa278b..663d0e67e8c7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitAuthorizationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitAuthorizationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listExpressRouteCircuitAuthorization() { const resourceGroupName = "rg1"; const circuitName = "circuitName"; const options: ExpressRouteCircuitAuthorizationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsCreateOrUpdateSample.ts index 9276819a2357..9352c7ed84dc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitConnectionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,17 +30,15 @@ async function expressRouteCircuitConnectionCreate() { addressPrefix: "10.0.0.0/29", authorizationKey: "946a1918-b7a2-4917-b43c-8c4cdaee006a", expressRouteCircuitPeering: { - id: - "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + id: "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering", }, ipv6CircuitConnectionConfig: { addressPrefix: "aa:bb::/125" }, peerExpressRouteCircuitPeering: { - id: - "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" - } - } + id: "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -49,10 +47,10 @@ async function expressRouteCircuitConnectionCreate() { resourceGroupName, circuitName, peeringName, - connectionName + connectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsDeleteSample.ts index 58371b45f41b..0ee6a18cca34 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitConnectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function deleteExpressRouteCircuit() { const peeringName = "AzurePrivatePeering"; const connectionName = "circuitConnectionUSAUS"; const options: ExpressRouteCircuitConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,10 +34,10 @@ async function deleteExpressRouteCircuit() { resourceGroupName, circuitName, peeringName, - connectionName + connectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsGetSample.ts index 2f6c765527c5..f02f0d3cd253 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCircuitConnectionsGetParameters + ExpressRouteCircuitConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function expressRouteCircuitConnectionGet() { const peeringName = "AzurePrivatePeering"; const connectionName = "circuitConnectionUSAUS"; const options: ExpressRouteCircuitConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function expressRouteCircuitConnectionGet() { resourceGroupName, circuitName, peeringName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsListSample.ts index a5c8b8b035e7..48d36915b497 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function listExpressRouteCircuitConnection() { const circuitName = "ExpressRouteARMCircuitA"; const peeringName = "AzurePrivatePeering"; const options: ExpressRouteCircuitConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function listExpressRouteCircuitConnection() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsCreateOrUpdateSample.ts index 02bc1d207077..8d4a0f1dbddc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitPeeringsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -29,10 +29,10 @@ async function createExpressRouteCircuitPeerings() { peerASN: 200, primaryPeerAddressPrefix: "192.168.16.252/30", secondaryPeerAddressPrefix: "192.168.18.252/30", - vlanId: 200 - } + vlanId: 200, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -40,10 +40,10 @@ async function createExpressRouteCircuitPeerings() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsDeleteSample.ts index 1dde4b3c80a7..0782a11a7b68 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitPeeringsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteExpressRouteCircuitPeerings() { const circuitName = "circuitName"; const peeringName = "peeringName"; const options: ExpressRouteCircuitPeeringsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,10 +32,10 @@ async function deleteExpressRouteCircuitPeerings() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsGetSample.ts index 080dbbe4024f..68320057886e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCircuitPeeringsGetParameters + ExpressRouteCircuitPeeringsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getExpressRouteCircuitPeering() { const circuitName = "circuitName"; const peeringName = "MicrosoftPeering"; const options: ExpressRouteCircuitPeeringsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getExpressRouteCircuitPeering() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsListSample.ts index 997ee5efa0e1..b81ee5f75476 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitPeeringsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitPeeringsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listExpressRouteCircuitPeerings() { const resourceGroupName = "rg1"; const circuitName = "circuitName"; const options: ExpressRouteCircuitPeeringsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsCreateOrUpdateSample.ts index 32622e1a5bf8..1989d828acaa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,26 +32,26 @@ async function createExpressRouteCircuit() { serviceProviderProperties: { bandwidthInMbps: 200, peeringLocation: "Silicon Valley", - serviceProviderName: "Equinix" - } + serviceProviderName: "Equinix", + }, }, sku: { name: "Standard_MeteredData", family: "MeteredData", - tier: "Standard" - } + tier: "Standard", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -76,27 +76,26 @@ async function createExpressRouteCircuitOnExpressRoutePort() { authorizationKey: "b0be57f5-1fba-463b-adec-ffe767354cdd", bandwidthInGbps: 10, expressRoutePort: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + }, }, sku: { name: "Premium_MeteredData", family: "MeteredData", - tier: "Premium" - } + tier: "Premium", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsDeleteSample.ts index ee1e50628198..f8c375635b65 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteExpressRouteCircuit() { const resourceGroupName = "rg1"; const circuitName = "circuitName"; const options: ExpressRouteCircuitsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetPeeringStatsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetPeeringStatsSample.ts index 003d6a8e9d45..71381f7f19e4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetPeeringStatsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetPeeringStatsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCircuitsGetPeeringStatsParameters + ExpressRouteCircuitsGetPeeringStatsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getExpressRouteCircuitPeeringTrafficStats() { const circuitName = "circuitName"; const peeringName = "peeringName"; const options: ExpressRouteCircuitsGetPeeringStatsParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getExpressRouteCircuitPeeringTrafficStats() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetSample.ts index 9334286a81b4..acf96975187b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCircuitsGetParameters + ExpressRouteCircuitsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getExpressRouteCircuit() { const resourceGroupName = "rg1"; const circuitName = "circuitName"; const options: ExpressRouteCircuitsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetStatsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetStatsSample.ts index c4dcaed36a3d..72e70d6386f3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetStatsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsGetStatsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCircuitsGetStatsParameters + ExpressRouteCircuitsGetStatsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getExpressRouteCircuitTrafficStats() { const resourceGroupName = "rg1"; const circuitName = "circuitName"; const options: ExpressRouteCircuitsGetStatsParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListAllSample.ts index 3863f280f990..2915dc4f7e94 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listExpressRouteCircuitsInASubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ExpressRouteCircuitsListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListArpTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListArpTableSample.ts index d6c0a7f240c1..3954fb5b6c15 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListArpTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListArpTableSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitsListArpTableParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function listArpTable() { const peeringName = "peeringName"; const devicePath = "devicePath"; const options: ExpressRouteCircuitsListArpTableParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listArpTable() { resourceGroupName, circuitName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSample.ts index 4838552e28e4..997460c147db 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitsListRoutesTableParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function listRouteTables() { const peeringName = "peeringName"; const devicePath = "devicePath"; const options: ExpressRouteCircuitsListRoutesTableParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listRouteTables() { resourceGroupName, circuitName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSummarySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSummarySample.ts index e214152c57dd..648e4602c572 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSummarySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListRoutesTableSummarySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitsListRoutesTableSummaryParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function listRouteTableSummary() { const peeringName = "peeringName"; const devicePath = "devicePath"; const options: ExpressRouteCircuitsListRoutesTableSummaryParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listRouteTableSummary() { resourceGroupName, circuitName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListSample.ts index ba87cc77fb7d..0f684c1a2510 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCircuitsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listExpressRouteCircuitsInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: ExpressRouteCircuitsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsUpdateTagsSample.ts index 09884658151d..4ac5700df94e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCircuitsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCircuitsUpdateTagsParameters + ExpressRouteCircuitsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateExpressRouteCircuitTags() { const circuitName = "er1"; const options: ExpressRouteCircuitsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", subscriptionId, resourceGroupName, - circuitName + circuitName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsCreateOrUpdateSample.ts index 534bd691150f..b9bb443a7ba7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteConnectionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,49 +26,41 @@ async function expressRouteConnectionCreate() { const options: ExpressRouteConnectionsCreateOrUpdateParameters = { body: { name: "connectionName", - id: - "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", properties: { authorizationKey: "authorizationKey", expressRouteCircuitPeering: { - id: - "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", }, routingConfiguration: { associatedRouteTable: { - id: - "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1", }, inboundRouteMap: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", }, outboundRouteMap: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2", }, propagatedRouteTables: { ids: [ { - id: - "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1", }, { - id: - "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2", }, { - id: - "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" - } + id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3", + }, ], - labels: ["label1", "label2"] - } + labels: ["label1", "label2"], + }, }, - routingWeight: 2 - } + routingWeight: 2, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -76,7 +68,7 @@ async function expressRouteConnectionCreate() { subscriptionId, resourceGroupName, expressRouteGatewayName, - connectionName + connectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsDeleteSample.ts index 35febfa3ade8..2f6cf98afee1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteConnectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function expressRouteConnectionDelete() { const expressRouteGatewayName = "expressRouteGatewayName"; const connectionName = "connectionName"; const options: ExpressRouteConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function expressRouteConnectionDelete() { subscriptionId, resourceGroupName, expressRouteGatewayName, - connectionName + connectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsGetSample.ts index c69a3eb78583..3d8f919044c9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteConnectionsGetParameters + ExpressRouteConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function expressRouteConnectionGet() { const expressRouteGatewayName = "expressRouteGatewayName"; const connectionName = "connectionName"; const options: ExpressRouteConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function expressRouteConnectionGet() { subscriptionId, resourceGroupName, expressRouteGatewayName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsListSample.ts index 16d4d8eb9016..404053e0ebe2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteConnectionsListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteConnectionsListParameters + ExpressRouteConnectionsListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function expressRouteConnectionList() { const resourceGroupName = "resourceGroupName"; const expressRouteGatewayName = "expressRouteGatewayName"; const options: ExpressRouteConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts index e514330b1f64..ea8934def8de 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionPeeringsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,15 +28,15 @@ async function expressRouteCrossConnectionBgpPeeringCreate() { properties: { ipv6PeeringConfig: { primaryPeerAddressPrefix: "3FFE:FFFF:0:CD30::/126", - secondaryPeerAddressPrefix: "3FFE:FFFF:0:CD30::4/126" + secondaryPeerAddressPrefix: "3FFE:FFFF:0:CD30::4/126", }, peerASN: 200, primaryPeerAddressPrefix: "192.168.16.252/30", secondaryPeerAddressPrefix: "192.168.18.252/30", - vlanId: 200 - } + vlanId: 200, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -44,7 +44,7 @@ async function expressRouteCrossConnectionBgpPeeringCreate() { subscriptionId, resourceGroupName, crossConnectionName, - peeringName + peeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsDeleteSample.ts index c46563e0bb23..ed6a960baf3c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionPeeringsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteExpressRouteCrossConnectionBgpPeering() { const crossConnectionName = ""; const peeringName = "AzurePrivatePeering"; const options: ExpressRouteCrossConnectionPeeringsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteExpressRouteCrossConnectionBgpPeering() { subscriptionId, resourceGroupName, crossConnectionName, - peeringName + peeringName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsGetSample.ts index 5da18738432c..db8702117bbd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCrossConnectionPeeringsGetParameters + ExpressRouteCrossConnectionPeeringsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getExpressRouteCrossConnectionBgpPeering() { const crossConnectionName = ""; const peeringName = "AzurePrivatePeering"; const options: ExpressRouteCrossConnectionPeeringsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getExpressRouteCrossConnectionBgpPeering() { subscriptionId, resourceGroupName, crossConnectionName, - peeringName + peeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsListSample.ts index 9a8484090db2..d4da68842d08 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionPeeringsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionPeeringsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function expressRouteCrossConnectionBgpPeeringList() { const resourceGroupName = "CrossConnection-SiliconValley"; const crossConnectionName = ""; const options: ExpressRouteCrossConnectionPeeringsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings", subscriptionId, resourceGroupName, - crossConnectionName + crossConnectionName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsCreateOrUpdateSample.ts index ff9c0a5256d5..3b5347a632ed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,16 +24,16 @@ async function updateExpressRouteCrossConnection() { const crossConnectionName = ""; const options: ExpressRouteCrossConnectionsCreateOrUpdateParameters = { body: { - properties: { serviceProviderProvisioningState: "NotProvisioned" } + properties: { serviceProviderProvisioningState: "NotProvisioned" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", subscriptionId, resourceGroupName, - crossConnectionName + crossConnectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsGetSample.ts index 41c203056951..0025183b6746 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCrossConnectionsGetParameters + ExpressRouteCrossConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getExpressRouteCrossConnection() { const resourceGroupName = "CrossConnection-SiliconValley"; const crossConnectionName = ""; const options: ExpressRouteCrossConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", subscriptionId, resourceGroupName, - crossConnectionName + crossConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListArpTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListArpTableSample.ts index 67c33bfb1f61..0dd30f458363 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListArpTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListArpTableSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionsListArpTableParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function getExpressRouteCrossConnectionsArpTable() { const peeringName = "AzurePrivatePeering"; const devicePath = "primary"; const options: ExpressRouteCrossConnectionsListArpTableParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function getExpressRouteCrossConnectionsArpTable() { resourceGroupName, crossConnectionName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListByResourceGroupSample.ts index d0f57e939fcf..7d89426e8d13 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function expressRouteCrossConnectionListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "CrossConnection-SiliconValley"; const options: ExpressRouteCrossConnectionsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSample.ts index 404c243c427b..c3066bb495d6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionsListRoutesTableParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function getExpressRouteCrossConnectionsRouteTable() { const peeringName = "AzurePrivatePeering"; const devicePath = "primary"; const options: ExpressRouteCrossConnectionsListRoutesTableParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function getExpressRouteCrossConnectionsRouteTable() { resourceGroupName, crossConnectionName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSummarySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSummarySample.ts index 0e092ff282a0..e73853c3419b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSummarySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListRoutesTableSummarySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionsListRoutesTableSummaryParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function getExpressRouteCrossConnectionsRouteTableSummary() { const peeringName = "AzurePrivatePeering"; const devicePath = "primary"; const options: ExpressRouteCrossConnectionsListRoutesTableSummaryParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function getExpressRouteCrossConnectionsRouteTableSummary() { resourceGroupName, crossConnectionName, peeringName, - devicePath + devicePath, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListSample.ts index 4aecc36d8847..314f9d297e89 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteCrossConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function expressRouteCrossConnectionList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ExpressRouteCrossConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsUpdateTagsSample.ts index 05bfa5bd9231..c98c60dbe514 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteCrossConnectionsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteCrossConnectionsUpdateTagsParameters + ExpressRouteCrossConnectionsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateExpressRouteCrossConnectionTags() { const crossConnectionName = ""; const options: ExpressRouteCrossConnectionsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", subscriptionId, resourceGroupName, - crossConnectionName + crossConnectionName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysCreateOrUpdateSample.ts index ef94a0e74da2..a7a2bddf8e65 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteGatewaysCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,19 +28,18 @@ async function expressRouteGatewayCreate() { properties: { autoScaleConfiguration: { bounds: { min: 3 } }, virtualHub: { - id: - "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" - } - } + id: "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysDeleteSample.ts index de080271d75a..f3cd9a7d9d87 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteGatewaysDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function expressRouteGatewayDelete() { const resourceGroupName = "resourceGroupName"; const expressRouteGatewayName = "expressRouteGatewayName"; const options: ExpressRouteGatewaysDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysGetSample.ts index f0a1225f06fa..69073f92a5a8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteGatewaysGetParameters + ExpressRouteGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function expressRouteGatewayGet() { const resourceGroupName = "resourceGroupName"; const expressRouteGatewayName = "expressRouteGatewayName"; const options: ExpressRouteGatewaysGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListByResourceGroupSample.ts index 1d5fa090c64d..db8ccb4abe47 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListByResourceGroupSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteGatewaysListByResourceGroupParameters + ExpressRouteGatewaysListByResourceGroupParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function expressRouteGatewayListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "resourceGroupName"; const options: ExpressRouteGatewaysListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListBySubscriptionSample.ts index 8e5583c57388..d10a62f0c960 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysListBySubscriptionSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteGatewaysListBySubscriptionParameters + ExpressRouteGatewaysListBySubscriptionParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -20,12 +20,12 @@ async function expressRouteGatewayListBySubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ExpressRouteGatewaysListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysUpdateTagsSample.ts index eb9c64a5a19f..0486c42d87fe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteGatewaysUpdateTagsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteGatewaysUpdateTagsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function expressRouteGatewayUpdate() { const expressRouteGatewayName = "expressRouteGatewayName"; const options: ExpressRouteGatewaysUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", subscriptionId, resourceGroupName, - expressRouteGatewayName + expressRouteGatewayName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksGetSample.ts index 08c78e1ce135..f8a25096359b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteLinksGetParameters + ExpressRouteLinksGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function expressRouteLinkGet() { const expressRoutePortName = "portName"; const linkName = "linkName"; const options: ExpressRouteLinksGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function expressRouteLinkGet() { subscriptionId, resourceGroupName, expressRoutePortName, - linkName + linkName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksListSample.ts index fe81b5d50c17..719fb5c71a99 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteLinksListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteLinksListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function expressRouteLinkGet() { const resourceGroupName = "rg1"; const expressRoutePortName = "portName"; const options: ExpressRouteLinksListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsCreateOrUpdateSample.ts index aef9b5df0ce0..183d52de3f77 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRoutePortAuthorizationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function createExpressRoutePortAuthorization() { const authorizationName = "authorizatinName"; const options: ExpressRoutePortAuthorizationsCreateOrUpdateParameters = { body: { properties: {} }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -33,7 +33,7 @@ async function createExpressRoutePortAuthorization() { subscriptionId, resourceGroupName, expressRoutePortName, - authorizationName + authorizationName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsDeleteSample.ts index 2087fafb1cdf..dc3b4a7d8a49 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRoutePortAuthorizationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteExpressRoutePortAuthorization() { const expressRoutePortName = "expressRoutePortName"; const authorizationName = "authorizationName"; const options: ExpressRoutePortAuthorizationsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteExpressRoutePortAuthorization() { subscriptionId, resourceGroupName, expressRoutePortName, - authorizationName + authorizationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsGetSample.ts index 0f26ca4a1e0a..44964439275f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRoutePortAuthorizationsGetParameters + ExpressRoutePortAuthorizationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getExpressRoutePortAuthorization() { const expressRoutePortName = "expressRoutePortName"; const authorizationName = "authorizationName"; const options: ExpressRoutePortAuthorizationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getExpressRoutePortAuthorization() { subscriptionId, resourceGroupName, expressRoutePortName, - authorizationName + authorizationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsListSample.ts index d9dd10ec57d9..0e9b7ed3fcef 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortAuthorizationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRoutePortAuthorizationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listExpressRoutePortAuthorization() { const resourceGroupName = "rg1"; const expressRoutePortName = "expressRoutePortName"; const options: ExpressRoutePortAuthorizationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsCreateOrUpdateSample.ts index 2076bd5ff6ac..20b1bd7ac1e4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRoutePortsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -29,17 +29,17 @@ async function expressRoutePortCreate() { bandwidthInGbps: 100, billingType: "UnlimitedData", encapsulation: "QinQ", - peeringLocation: "peeringLocationName" - } + peeringLocation: "peeringLocationName", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -68,17 +68,17 @@ async function expressRoutePortUpdateLink() { billingType: "UnlimitedData", encapsulation: "QinQ", links: [{ name: "link1", properties: { adminState: "Enabled" } }], - peeringLocation: "peeringLocationName" - } + peeringLocation: "peeringLocationName", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsDeleteSample.ts index d3c0c313cd44..076e48920209 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRoutePortsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function expressRoutePortDelete() { const resourceGroupName = "rg1"; const expressRoutePortName = "portName"; const options: ExpressRoutePortsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGenerateLoaSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGenerateLoaSample.ts index 704c68f7fc98..bfb3556e720f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGenerateLoaSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGenerateLoaSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRoutePortsGenerateLOAParameters + ExpressRoutePortsGenerateLOAParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function generateExpressRoutePortLoa() { const expressRoutePortName = "portName"; const options: ExpressRoutePortsGenerateLOAParameters = { body: { customerName: "customerName" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGetSample.ts index 800176513099..76551e6fa623 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRoutePortsGetParameters + ExpressRoutePortsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function expressRoutePortGet() { const resourceGroupName = "rg1"; const expressRoutePortName = "portName"; const options: ExpressRoutePortsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListByResourceGroupSample.ts index 11c1c1f64664..06dc6c571f06 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRoutePortsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function expressRoutePortListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: ExpressRoutePortsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListSample.ts index 4c491f0174ef..1ccd8ce67d65 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRoutePortsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function expressRoutePortList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ExpressRoutePortsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsGetSample.ts index 0628f6598961..211a3d423cdc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRoutePortsLocationsGetParameters + ExpressRoutePortsLocationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function expressRoutePortsLocationGet() { const subscriptionId = ""; const locationName = "locationName"; const options: ExpressRoutePortsLocationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}", subscriptionId, - locationName + locationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsListSample.ts index 9f1bdf275de8..9849e14aced1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsLocationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRoutePortsLocationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function expressRoutePortsLocationList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ExpressRoutePortsLocationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsUpdateTagsSample.ts index bcec23f16ccf..ac276d68d675 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRoutePortsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRoutePortsUpdateTagsParameters + ExpressRoutePortsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function expressRoutePortUpdateTags() { const expressRoutePortName = "portName"; const options: ExpressRoutePortsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", subscriptionId, resourceGroupName, - expressRoutePortName + expressRoutePortName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsGetSample.ts index c55b69140629..a9c08961cbf1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteProviderPortsGetParameters + ExpressRouteProviderPortsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function expressRouteProviderPort() { const subscriptionId = ""; const providerport = "abc"; const options: ExpressRouteProviderPortsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", subscriptionId, - providerport + providerport, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsLocationListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsLocationListSample.ts index 1b1ef77e479e..892bc03e26fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsLocationListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteProviderPortsLocationListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ExpressRouteProviderPortsLocationListParameters + ExpressRouteProviderPortsLocationListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -20,12 +20,12 @@ async function expressRouteProviderPortList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ExpressRouteProviderPortsLocationListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts", - subscriptionId + subscriptionId, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteServiceProvidersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteServiceProvidersListSample.ts index 89de1bcd8302..109560a2a4a6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteServiceProvidersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/expressRouteServiceProvidersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ExpressRouteServiceProvidersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listExpressRouteProviders() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ExpressRouteServiceProvidersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts index f30ef5205d25..9192fc2f1fd2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FirewallPoliciesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -29,7 +29,7 @@ async function createFirewallPolicy() { dnsSettings: { enableProxy: true, requireProxyForNetworkRules: false, - servers: ["30.3.4.5"] + servers: ["30.3.4.5"], }, explicitProxy: { enableExplicitProxy: true, @@ -38,33 +38,30 @@ async function createFirewallPolicy() { httpsPort: 8087, pacFile: "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", - pacFilePort: 8087 + pacFilePort: 8087, }, insights: { isEnabled: true, logAnalyticsResources: { defaultWorkspaceId: { - id: - "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + id: "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace", }, workspaces: [ { region: "westus", workspaceId: { - id: - "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" - } + id: "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1", + }, }, { region: "eastus", workspaceId: { - id: - "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" - } - } - ] + id: "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2", + }, + }, + ], }, - retentionDays: 100 + retentionDays: 100, }, intrusionDetection: { configuration: { @@ -75,12 +72,12 @@ async function createFirewallPolicy() { destinationAddresses: ["5.6.7.8"], destinationPorts: ["*"], sourceAddresses: ["1.2.3.4"], - protocol: "TCP" - } + protocol: "TCP", + }, ], - signatureOverrides: [{ id: "2525004", mode: "Deny" }] + signatureOverrides: [{ id: "2525004", mode: "Deny" }], }, - mode: "Alert" + mode: "Alert", }, sku: { tier: "Premium" }, snat: { privateRanges: ["IANAPrivateRanges"] }, @@ -88,25 +85,25 @@ async function createFirewallPolicy() { threatIntelMode: "Alert", threatIntelWhitelist: { fqdns: ["*.microsoft.com"], - ipAddresses: ["20.3.4.5"] + ipAddresses: ["20.3.4.5"], }, transportSecurity: { certificateAuthority: { name: "clientcert", - keyVaultSecretId: "https://kv/secret" - } - } + keyVaultSecretId: "https://kv/secret", + }, + }, }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesDeleteSample.ts index 00894f786832..7f1dd45d11aa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FirewallPoliciesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteFirewallPolicy() { const resourceGroupName = "rg1"; const firewallPolicyName = "firewallPolicy"; const options: FirewallPoliciesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesGetSample.ts index 2e0820a93db3..797fce2f56b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPoliciesGetParameters + FirewallPoliciesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getFirewallPolicy() { const resourceGroupName = "rg1"; const firewallPolicyName = "firewallPolicy"; const options: FirewallPoliciesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListAllSample.ts index 9dd51214183d..49da61862278 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FirewallPoliciesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllFirewallPoliciesForAGivenSubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: FirewallPoliciesListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListSample.ts index d6ccda3b0748..c473d7bb7c95 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FirewallPoliciesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listAllFirewallPoliciesForAGivenResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: FirewallPoliciesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesUpdateTagsSample.ts index 1f8f30cd9cad..ce404e9a0ef0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPoliciesUpdateTagsParameters + FirewallPoliciesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateFirewallPolicyTags() { const firewallPolicyName = "firewallPolicy"; const options: FirewallPoliciesUpdateTagsParameters = { body: { tags: { key1: "value1", key2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesFilterValuesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesFilterValuesListSample.ts index cadccc09d3ea..f959a9e63279 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesFilterValuesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesFilterValuesListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPolicyIdpsSignaturesFilterValuesListParameters + FirewallPolicyIdpsSignaturesFilterValuesListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function querySignatureOverrides() { const firewallPolicyName = "firewallPolicy"; const options: FirewallPolicyIdpsSignaturesFilterValuesListParameters = { body: { filterName: "severity" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsFilterOptions", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesListSample.ts index 07b1f5965e6b..f51c70da9367 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPolicyIdpsSignaturesListParameters + FirewallPolicyIdpsSignaturesListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,16 +27,16 @@ async function querySignatureOverrides() { orderBy: { field: "severity", order: "Ascending" }, resultsPerPage: 20, search: "", - skip: 0 + skip: 0, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsSignatures", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesGetSample.ts index 36e9f48c0d71..f69cb89e5e2a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPolicyIdpsSignaturesOverridesGetParameters + FirewallPolicyIdpsSignaturesOverridesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getSignatureOverrides() { const resourceGroupName = "rg1"; const firewallPolicyName = "firewallPolicy"; const options: FirewallPolicyIdpsSignaturesOverridesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesListSample.ts index d12b4e728ecf..f9859d8fb859 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPolicyIdpsSignaturesOverridesListParameters + FirewallPolicyIdpsSignaturesOverridesListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getSignatureOverrides() { const resourceGroupName = "rg1"; const firewallPolicyName = "firewallPolicy"; const options: FirewallPolicyIdpsSignaturesOverridesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPatchSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPatchSample.ts index 8bea7f432984..523b93e66ee8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPatchSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPatchSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPolicyIdpsSignaturesOverridesPatchParameters + FirewallPolicyIdpsSignaturesOverridesPatchParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,18 +25,17 @@ async function patchSignatureOverrides() { body: { name: "default", type: "Microsoft.Network/firewallPolicies/signatureOverrides", - id: - "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", - properties: { signatures: { "2000105": "Off", "2000106": "Deny" } } + id: "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + properties: { signatures: { "2000105": "Off", "2000106": "Deny" } }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPutSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPutSample.ts index 114c11856946..ef12e06d0f16 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPutSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyIdpsSignaturesOverridesPutSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPolicyIdpsSignaturesOverridesPutParameters + FirewallPolicyIdpsSignaturesOverridesPutParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,18 +25,17 @@ async function putSignatureOverrides() { body: { name: "default", type: "Microsoft.Network/firewallPolicies/signatureOverrides", - id: - "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", - properties: { signatures: { "2000105": "Off", "2000106": "Deny" } } + id: "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + properties: { signatures: { "2000105": "Off", "2000106": "Deny" } }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts index 101a4c6748c0..22ef05489fa8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FirewallPolicyRuleCollectionGroupsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -43,14 +43,14 @@ async function createFirewallPolicyNatRuleCollectionGroup() { sourceAddresses: ["2.2.2.2"], sourceIpGroups: [], translatedFqdn: "internalhttp.server.net", - translatedPort: "8080" - } - ] - } - ] - } + translatedPort: "8080", + }, + ], + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -58,7 +58,7 @@ async function createFirewallPolicyNatRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -97,14 +97,14 @@ async function createFirewallPolicyRuleCollectionGroup() { destinationPorts: ["*"], ipProtocols: ["TCP"], ruleType: "NetworkRule", - sourceAddresses: ["10.1.25.0/24"] - } - ] - } - ] - } + sourceAddresses: ["10.1.25.0/24"], + }, + ], + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -112,7 +112,7 @@ async function createFirewallPolicyRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -147,21 +147,21 @@ async function createFirewallPolicyRuleCollectionGroupWithIPGroups() { { name: "network-1", destinationIpGroups: [ - "/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2" + "/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2", ], destinationPorts: ["*"], ipProtocols: ["TCP"], ruleType: "NetworkRule", sourceIpGroups: [ - "/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1" - ] - } - ] - } - ] - } + "/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1", + ], + }, + ], + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -169,7 +169,7 @@ async function createFirewallPolicyRuleCollectionGroupWithIPGroups() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -207,14 +207,14 @@ async function createFirewallPolicyRuleCollectionGroupWithWebCategories() { protocols: [{ port: 443, protocolType: "Https" }], ruleType: "ApplicationRule", sourceAddresses: ["216.58.216.164", "10.0.0.0/24"], - webCategories: ["Hacking"] - } - ] - } - ] - } + webCategories: ["Hacking"], + }, + ], + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -222,7 +222,7 @@ async function createFirewallPolicyRuleCollectionGroupWithWebCategories() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsDeleteSample.ts index d304d776c2f3..293571a38539 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FirewallPolicyRuleCollectionGroupsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteFirewallPolicyRuleCollectionGroup() { const firewallPolicyName = "firewallPolicy"; const ruleCollectionGroupName = "ruleCollectionGroup1"; const options: FirewallPolicyRuleCollectionGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteFirewallPolicyRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsGetSample.ts index 0f3ff105f4db..8254b6298c54 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FirewallPolicyRuleCollectionGroupsGetParameters + FirewallPolicyRuleCollectionGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getFirewallPolicyNatRuleCollectionGroup() { const firewallPolicyName = "firewallPolicy"; const ruleCollectionGroupName = "ruleCollectionGroup1"; const options: FirewallPolicyRuleCollectionGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getFirewallPolicyNatRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .get(options); console.log(result); @@ -52,7 +52,7 @@ async function getFirewallPolicyRuleCollectionGroup() { const firewallPolicyName = "firewallPolicy"; const ruleCollectionGroupName = "ruleCollectionGroup1"; const options: FirewallPolicyRuleCollectionGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -60,7 +60,7 @@ async function getFirewallPolicyRuleCollectionGroup() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .get(options); console.log(result); @@ -81,7 +81,7 @@ async function getFirewallPolicyRuleCollectionGroupWithIPGroups() { const firewallPolicyName = "firewallPolicy"; const ruleCollectionGroupName = "ruleGroup1"; const options: FirewallPolicyRuleCollectionGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -89,7 +89,7 @@ async function getFirewallPolicyRuleCollectionGroupWithIPGroups() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .get(options); console.log(result); @@ -110,7 +110,7 @@ async function getFirewallPolicyRuleCollectionGroupWithWebCategories() { const firewallPolicyName = "firewallPolicy"; const ruleCollectionGroupName = "ruleCollectionGroup1"; const options: FirewallPolicyRuleCollectionGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -118,7 +118,7 @@ async function getFirewallPolicyRuleCollectionGroupWithWebCategories() { subscriptionId, resourceGroupName, firewallPolicyName, - ruleCollectionGroupName + ruleCollectionGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsListSample.ts index e561c2fd656d..f1745c8ed915 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPolicyRuleCollectionGroupsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FirewallPolicyRuleCollectionGroupsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listAllFirewallPolicyRuleCollectionGroupWithWebCategories() { const resourceGroupName = "rg1"; const firewallPolicyName = "firewallPolicy"; const options: FirewallPolicyRuleCollectionGroupsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -41,9 +41,7 @@ async function listAllFirewallPolicyRuleCollectionGroupWithWebCategories() { console.log(result); } -listAllFirewallPolicyRuleCollectionGroupWithWebCategories().catch( - console.error -); +listAllFirewallPolicyRuleCollectionGroupWithWebCategories().catch(console.error); /** * This sample demonstrates how to Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * @@ -57,14 +55,14 @@ async function listAllFirewallPolicyRuleCollectionGroupsForAGivenFirewallPolicy( const resourceGroupName = "rg1"; const firewallPolicyName = "firewallPolicy"; const options: FirewallPolicyRuleCollectionGroupsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -75,9 +73,7 @@ async function listAllFirewallPolicyRuleCollectionGroupsForAGivenFirewallPolicy( console.log(result); } -listAllFirewallPolicyRuleCollectionGroupsForAGivenFirewallPolicy().catch( - console.error -); +listAllFirewallPolicyRuleCollectionGroupsForAGivenFirewallPolicy().catch(console.error); /** * This sample demonstrates how to Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * @@ -91,14 +87,14 @@ async function listAllFirewallPolicyRuleCollectionGroupsWithIPGroupsForAGivenFir const resourceGroupName = "rg1"; const firewallPolicyName = "firewallPolicy"; const options: FirewallPolicyRuleCollectionGroupsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", subscriptionId, resourceGroupName, - firewallPolicyName + firewallPolicyName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -109,6 +105,4 @@ async function listAllFirewallPolicyRuleCollectionGroupsWithIPGroupsForAGivenFir console.log(result); } -listAllFirewallPolicyRuleCollectionGroupsWithIPGroupsForAGivenFirewallPolicy().catch( - console.error -); +listAllFirewallPolicyRuleCollectionGroupsWithIPGroupsForAGivenFirewallPolicy().catch(console.error); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsCreateOrUpdateSample.ts index 98527c930a3b..d9efd2a297a9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FlowLogsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,10 +32,10 @@ async function createOrUpdateFlowLog() { storageId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", targetResourceId: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" - } + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -43,7 +43,7 @@ async function createOrUpdateFlowLog() { subscriptionId, resourceGroupName, networkWatcherName, - flowLogName + flowLogName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsDeleteSample.ts index 684a880b3bec..2adf1d1ee962 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FlowLogsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteFlowLog() { const networkWatcherName = "nw1"; const flowLogName = "fl"; const options: FlowLogsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteFlowLog() { subscriptionId, resourceGroupName, networkWatcherName, - flowLogName + flowLogName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsGetSample.ts index 1ab6da99a2eb..8de40d549308 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - FlowLogsGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { FlowLogsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function getFlowLog() { const networkWatcherName = "nw1"; const flowLogName = "flowLog1"; const options: FlowLogsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function getFlowLog() { subscriptionId, resourceGroupName, networkWatcherName, - flowLogName + flowLogName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsListSample.ts index 40bbcbbc6160..2ec829340a8c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { FlowLogsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listConnectionMonitors() { const resourceGroupName = "rg1"; const networkWatcherName = "nw1"; const options: FlowLogsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsUpdateTagsSample.ts index bb19e93213c9..37aa8f3890cc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/flowLogsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - FlowLogsUpdateTagsParameters + FlowLogsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function updateFlowLogTags() { const flowLogName = "fl"; const options: FlowLogsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -32,7 +32,7 @@ async function updateFlowLogTags() { subscriptionId, resourceGroupName, networkWatcherName, - flowLogName + flowLogName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts index b46dff3cc513..30d4289ddac6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/generatevirtualwanvpnserverconfigurationvpnprofileSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { GeneratevirtualwanvpnserverconfigurationvpnprofileParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,16 +26,16 @@ async function generateVirtualWanVpnServerConfigurationVpnProfile() { body: { authenticationMethod: "EAPTLS", vpnServerConfigurationResourceId: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile", subscriptionId, resourceGroupName, - virtualWANName + virtualWANName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getActiveSessionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getActiveSessionsSample.ts index cc61e454bd7b..3dba73cf4fd1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getActiveSessionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getActiveSessionsSample.ts @@ -6,7 +6,7 @@ import createNetworkManagementClient, { GetActiveSessionsParameters, // getLongRunningPoller, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function returnsAListOfCurrentlyActiveSessionsOnTheBastion() { const resourceGroupName = "rg1"; const bastionHostName = "bastionhosttenant"; const options: GetActiveSessionsParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getBastionShareableLinkSample.ts index 66d733648972..1843200214ba 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/getBastionShareableLinkSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { GetBastionShareableLinkParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,26 +27,24 @@ async function returnsTheBastionShareableLinksForTheRequestVMS() { vms: [ { vm: { - id: - "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" - } + id: "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1", + }, }, { vm: { - id: - "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" - } - } - ] + id: "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2", + }, + }, + ], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesCreateOrUpdateSample.ts index 8c084b734d11..d54474c418db 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { HubRouteTablesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -34,12 +34,12 @@ async function routeTablePut() { destinations: ["10.0.0.0/8", "20.0.0.0/8", "30.0.0.0/8"], nextHop: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", - nextHopType: "ResourceId" - } - ] - } + nextHopType: "ResourceId", + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -47,7 +47,7 @@ async function routeTablePut() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesDeleteSample.ts index 4681b711d65a..80531ce8e66e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { HubRouteTablesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function routeTableDelete() { const virtualHubName = "virtualHub1"; const routeTableName = "hubRouteTable1"; const options: HubRouteTablesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function routeTableDelete() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesGetSample.ts index 8d0d9de60f45..33732cc64f43 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - HubRouteTablesGetParameters + HubRouteTablesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function routeTableGet() { const virtualHubName = "virtualHub1"; const routeTableName = "hubRouteTable1"; const options: HubRouteTablesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function routeTableGet() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesListSample.ts index 6a13a121e7dc..52b545fc6c28 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubRouteTablesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { HubRouteTablesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function routeTableList() { const resourceGroupName = "rg1"; const virtualHubName = "virtualHub1"; const options: HubRouteTablesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts index c2a69037acfc..fc324dc0a029 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { HubVirtualNetworkConnectionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,50 +28,45 @@ async function hubVirtualNetworkConnectionPut() { properties: { enableInternetSecurity: false, remoteVirtualNetwork: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1", }, routingConfiguration: { associatedRouteTable: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", }, inboundRouteMap: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", }, outboundRouteMap: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2", }, propagatedRouteTables: { ids: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + }, ], - labels: ["label1", "label2"] + labels: ["label1", "label2"], }, vnetRoutes: { staticRoutes: [ { name: "route1", addressPrefixes: ["10.1.0.0/16", "10.2.0.0/16"], - nextHopIpAddress: "10.0.0.68" + nextHopIpAddress: "10.0.0.68", }, { name: "route2", addressPrefixes: ["10.3.0.0/16", "10.4.0.0/16"], - nextHopIpAddress: "10.0.0.65" - } + nextHopIpAddress: "10.0.0.65", + }, ], - staticRoutesConfig: { vnetLocalRouteOverrideCriteria: "Equal" } - } - } - } + staticRoutesConfig: { vnetLocalRouteOverrideCriteria: "Equal" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -79,7 +74,7 @@ async function hubVirtualNetworkConnectionPut() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsDeleteSample.ts index f66e69e84d9a..52e6c6493314 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { HubVirtualNetworkConnectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function hubVirtualNetworkConnectionDelete() { const virtualHubName = "virtualHub1"; const connectionName = "connection1"; const options: HubVirtualNetworkConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function hubVirtualNetworkConnectionDelete() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsGetSample.ts index 409af7176c2f..b9369f0f91be 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - HubVirtualNetworkConnectionsGetParameters + HubVirtualNetworkConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function hubVirtualNetworkConnectionGet() { const virtualHubName = "virtualHub1"; const connectionName = "connection1"; const options: HubVirtualNetworkConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function hubVirtualNetworkConnectionGet() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsListSample.ts index 7c7ca2a71042..81245b481cfa 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/hubVirtualNetworkConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { HubVirtualNetworkConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function hubVirtualNetworkConnectionList() { const resourceGroupName = "rg1"; const virtualHubName = "virtualHub1"; const options: HubVirtualNetworkConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesCreateOrUpdateSample.ts index 47b92695b8b5..f4c65387acb0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { InboundNatRulesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,15 +30,14 @@ async function inboundNatRuleCreate() { enableFloatingIP: false, enableTcpReset: false, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + id: "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1", }, frontendPort: 3390, idleTimeoutInMinutes: 4, - protocol: "Tcp" - } + protocol: "Tcp", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -46,7 +45,7 @@ async function inboundNatRuleCreate() { subscriptionId, resourceGroupName, loadBalancerName, - inboundNatRuleName + inboundNatRuleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesDeleteSample.ts index 2483ed345e07..8b4403ee9697 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { InboundNatRulesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function inboundNatRuleDelete() { const loadBalancerName = "lb1"; const inboundNatRuleName = "natRule1.1"; const options: InboundNatRulesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function inboundNatRuleDelete() { subscriptionId, resourceGroupName, loadBalancerName, - inboundNatRuleName + inboundNatRuleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesGetSample.ts index 210ec520482d..52e907bce8af 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - InboundNatRulesGetParameters + InboundNatRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function inboundNatRuleGet() { const loadBalancerName = "lb1"; const inboundNatRuleName = "natRule1.1"; const options: InboundNatRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function inboundNatRuleGet() { subscriptionId, resourceGroupName, loadBalancerName, - inboundNatRuleName + inboundNatRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesListSample.ts index 6b81bcc9dc83..ca51c89d2a28 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundNatRulesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { InboundNatRulesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function inboundNatRuleList() { const resourceGroupName = "testrg"; const loadBalancerName = "lb1"; const options: InboundNatRulesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundSecurityRuleCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundSecurityRuleCreateOrUpdateSample.ts index 51c832519c5f..640ec26aa6a3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundSecurityRuleCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/inboundSecurityRuleCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { InboundSecurityRuleCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,12 +30,12 @@ async function createNetworkVirtualApplianceInboundSecurityRules() { { destinationPortRange: 22, sourceAddressPrefix: "50.20.121.5/32", - protocol: "TCP" - } - ] - } + protocol: "TCP", + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -43,7 +43,7 @@ async function createNetworkVirtualApplianceInboundSecurityRules() { subscriptionId, resourceGroupName, networkVirtualApplianceName, - ruleCollectionName + ruleCollectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsCreateOrUpdateSample.ts index e7c2bce7763d..4c9e9a73bbba 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpAllocationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -29,19 +29,19 @@ async function createIPAllocation() { type: "Hypernet", allocationTags: { vNetID: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1", }, - prefix: "3.2.5.0/24" - } + prefix: "3.2.5.0/24", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", subscriptionId, resourceGroupName, - ipAllocationName + ipAllocationName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsDeleteSample.ts index 78b36ed69254..789405393fd3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpAllocationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteIPAllocation() { const resourceGroupName = "rg1"; const ipAllocationName = "test-ipallocation"; const options: IpAllocationsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", subscriptionId, resourceGroupName, - ipAllocationName + ipAllocationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsGetSample.ts index 10270e8d3c88..392d0f48afc0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - IpAllocationsGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { IpAllocationsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function getIPAllocation() { const resourceGroupName = "rg1"; const ipAllocationName = "test-ipallocation"; const options: IpAllocationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", subscriptionId, resourceGroupName, - ipAllocationName + ipAllocationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListByResourceGroupSample.ts index 2b7d83d5c2a5..4b3b3cbc07bd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpAllocationsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listIPAllocationsInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: IpAllocationsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListSample.ts index 13722b9d06a3..881b8ab974d6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpAllocationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllIPAllocations() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: IpAllocationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsUpdateTagsSample.ts index 8eda61027443..0a7fea67d075 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipAllocationsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - IpAllocationsUpdateTagsParameters + IpAllocationsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateVirtualNetworkTags() { const ipAllocationName = "test-ipallocation"; const options: IpAllocationsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", subscriptionId, resourceGroupName, - ipAllocationName + ipAllocationName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsCreateOrUpdateSample.ts index 14bbb3b375a2..a0f87145ee21 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpGroupsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,18 +26,18 @@ async function createOrUpdateIPGroups() { body: { location: "West US", properties: { - ipAddresses: ["13.64.39.16/32", "40.74.146.80/31", "40.74.147.32/28"] + ipAddresses: ["13.64.39.16/32", "40.74.146.80/31", "40.74.147.32/28"], }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", subscriptionId, resourceGroupName, - ipGroupsName + ipGroupsName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsDeleteSample.ts index 176b7dcdfed6..8307c293d1f3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpGroupsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteIPGroups() { const resourceGroupName = "myResourceGroup"; const ipGroupsName = "ipGroups1"; const options: IpGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", subscriptionId, resourceGroupName, - ipGroupsName + ipGroupsName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsGetSample.ts index f894b7306569..ed824d8e1657 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - IpGroupsGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { IpGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function getIPGroups() { const resourceGroupName = "myResourceGroup"; const ipGroupsName = "ipGroups1"; const options: IpGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", subscriptionId, resourceGroupName, - ipGroupsName + ipGroupsName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListByResourceGroupSample.ts index 6c63fb0cad89..a343ff72beec 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpGroupsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listByResourceGroupIPGroups() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: IpGroupsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListSample.ts index c51c24f1e475..f8c277035254 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { IpGroupsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,10 @@ async function listIPGroups() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: IpGroupsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsUpdateGroupsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsUpdateGroupsSample.ts index ff88c4aea82d..b4994fe07c6f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsUpdateGroupsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/ipGroupsUpdateGroupsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - IpGroupsUpdateGroupsParameters + IpGroupsUpdateGroupsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateIPGroups() { const ipGroupsName = "ipGroups1"; const options: IpGroupsUpdateGroupsParameters = { body: { tags: { key1: "value1", key2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", subscriptionId, resourceGroupName, - ipGroupsName + ipGroupsName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveConnectivityConfigurationsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveConnectivityConfigurationsSample.ts index bbe26e56aac1..a0481644ea48 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveConnectivityConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveConnectivityConfigurationsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ListActiveConnectivityConfigurationsParameters + ListActiveConnectivityConfigurationsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listActiveConnectivityConfigurations() { const networkManagerName = "testNetworkManager"; const options: ListActiveConnectivityConfigurationsParameters = { body: { regions: ["westus"], skipToken: "fakeSkipTokenCode" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveSecurityAdminRulesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveSecurityAdminRulesSample.ts index a7e54f7050a1..a4ee4e8e92e2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveSecurityAdminRulesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listActiveSecurityAdminRulesSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ListActiveSecurityAdminRulesParameters + ListActiveSecurityAdminRulesParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listActiveSecurityAdminRules() { const networkManagerName = "testNetworkManager"; const options: ListActiveSecurityAdminRulesParameters = { body: { regions: ["westus"], skipToken: "fakeSkipTokenCode" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts index 3a2229b4aa90..16641b1faf08 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveConnectivityConfigurationsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ListNetworkManagerEffectiveConnectivityConfigurationsParameters + ListNetworkManagerEffectiveConnectivityConfigurationsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listEffectiveConnectivityConfiguration() { const virtualNetworkName = "testVirtualNetwork"; const options: ListNetworkManagerEffectiveConnectivityConfigurationsParameters = { body: { skipToken: "FakeSkipTokenCode" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveSecurityAdminRulesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveSecurityAdminRulesSample.ts index 101933a39b1b..9fdddf302892 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveSecurityAdminRulesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/listNetworkManagerEffectiveSecurityAdminRulesSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ListNetworkManagerEffectiveSecurityAdminRulesParameters + ListNetworkManagerEffectiveSecurityAdminRulesParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listEffectiveSecurityAdminRules() { const virtualNetworkName = "testVirtualNetwork"; const options: ListNetworkManagerEffectiveSecurityAdminRulesParameters = { body: { skipToken: "FakeSkipTokenCode" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts index 095b27248acb..cf9154078b76 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancerBackendAddressPoolsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,25 +32,23 @@ async function updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtua properties: { ipAddress: "10.0.0.4", virtualNetwork: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb", + }, + }, }, { name: "address2", properties: { ipAddress: "10.0.0.5", virtualNetwork: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" - } - } - } - ] - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb", + }, + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -58,7 +56,7 @@ async function updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtua subscriptionId, resourceGroupName, loadBalancerName, - backendAddressPoolName + backendAddressPoolName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -67,5 +65,5 @@ async function updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtua } updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtualNetworkAndIPAddress().catch( - console.error + console.error, ); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsDeleteSample.ts index 4f016ff3f5c3..04c7c32b3ce7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancerBackendAddressPoolsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function backendAddressPoolDelete() { const loadBalancerName = "lb"; const backendAddressPoolName = "backend"; const options: LoadBalancerBackendAddressPoolsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function backendAddressPoolDelete() { subscriptionId, resourceGroupName, loadBalancerName, - backendAddressPoolName + backendAddressPoolName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsGetSample.ts index f4b6e2a032fa..f30f3f3652ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - LoadBalancerBackendAddressPoolsGetParameters + LoadBalancerBackendAddressPoolsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function loadBalancerWithBackendAddressPoolWithBackendAddresses() { const loadBalancerName = "lb"; const backendAddressPoolName = "backend"; const options: LoadBalancerBackendAddressPoolsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function loadBalancerWithBackendAddressPoolWithBackendAddresses() { subscriptionId, resourceGroupName, loadBalancerName, - backendAddressPoolName + backendAddressPoolName, ) .get(options); console.log(result); @@ -52,7 +52,7 @@ async function loadBalancerBackendAddressPoolGet() { const loadBalancerName = "lb"; const backendAddressPoolName = "backend"; const options: LoadBalancerBackendAddressPoolsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -60,7 +60,7 @@ async function loadBalancerBackendAddressPoolGet() { subscriptionId, resourceGroupName, loadBalancerName, - backendAddressPoolName + backendAddressPoolName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsListSample.ts index c17758cdafa0..f92c01a01e4c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerBackendAddressPoolsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancerBackendAddressPoolsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function loadBalancerWithBackendAddressPoolContainingBackendAddresses() { const resourceGroupName = "testrg"; const loadBalancerName = "lb"; const options: LoadBalancerBackendAddressPoolsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -41,9 +41,7 @@ async function loadBalancerWithBackendAddressPoolContainingBackendAddresses() { console.log(result); } -loadBalancerWithBackendAddressPoolContainingBackendAddresses().catch( - console.error -); +loadBalancerWithBackendAddressPoolContainingBackendAddresses().catch(console.error); /** * This sample demonstrates how to Gets all the load balancer backed address pools. * @@ -57,14 +55,14 @@ async function loadBalancerBackendAddressPoolList() { const resourceGroupName = "testrg"; const loadBalancerName = "lb"; const options: LoadBalancerBackendAddressPoolsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsGetSample.ts index 89424a7ad2fd..9fc4967fbe76 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - LoadBalancerFrontendIPConfigurationsGetParameters + LoadBalancerFrontendIPConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function loadBalancerFrontendIPConfigurationGet() { const loadBalancerName = "lb"; const frontendIPConfigurationName = "frontend"; const options: LoadBalancerFrontendIPConfigurationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function loadBalancerFrontendIPConfigurationGet() { subscriptionId, resourceGroupName, loadBalancerName, - frontendIPConfigurationName + frontendIPConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsListSample.ts index 44dc40d4cd80..d47881769ae8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerFrontendIPConfigurationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancerFrontendIPConfigurationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function loadBalancerFrontendIPConfigurationList() { const resourceGroupName = "testrg"; const loadBalancerName = "lb"; const options: LoadBalancerFrontendIPConfigurationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesGetSample.ts index 18ca85aac7e1..1fa12e12657c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - LoadBalancerLoadBalancingRulesGetParameters + LoadBalancerLoadBalancingRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function loadBalancerLoadBalancingRuleGet() { const loadBalancerName = "lb1"; const loadBalancingRuleName = "rule1"; const options: LoadBalancerLoadBalancingRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function loadBalancerLoadBalancingRuleGet() { subscriptionId, resourceGroupName, loadBalancerName, - loadBalancingRuleName + loadBalancingRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesListSample.ts index 3561e1227dc5..5b9ef2b5ed25 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerLoadBalancingRulesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancerLoadBalancingRulesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function loadBalancerLoadBalancingRuleList() { const resourceGroupName = "testrg"; const loadBalancerName = "lb1"; const options: LoadBalancerLoadBalancingRulesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerNetworkInterfacesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerNetworkInterfacesListSample.ts index 32f9fcfb1291..d373f974036c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerNetworkInterfacesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerNetworkInterfacesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancerNetworkInterfacesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function loadBalancerNetworkInterfaceListSimple() { const resourceGroupName = "testrg"; const loadBalancerName = "lb"; const options: LoadBalancerNetworkInterfacesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -55,14 +55,14 @@ async function loadBalancerNetworkInterfaceListVmss() { const resourceGroupName = "testrg"; const loadBalancerName = "lb"; const options: LoadBalancerNetworkInterfacesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesGetSample.ts index 18318300bdd2..472df5d2b65c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - LoadBalancerOutboundRulesGetParameters + LoadBalancerOutboundRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function loadBalancerOutboundRuleGet() { const loadBalancerName = "lb1"; const outboundRuleName = "rule1"; const options: LoadBalancerOutboundRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function loadBalancerOutboundRuleGet() { subscriptionId, resourceGroupName, loadBalancerName, - outboundRuleName + outboundRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesListSample.ts index d3b32ed71431..1074bab448a5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerOutboundRulesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancerOutboundRulesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function loadBalancerOutboundRuleList() { const resourceGroupName = "testrg"; const loadBalancerName = "lb1"; const options: LoadBalancerOutboundRulesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesGetSample.ts index a6e7fe45ae9d..b45b368653c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - LoadBalancerProbesGetParameters + LoadBalancerProbesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function loadBalancerProbeGet() { const loadBalancerName = "lb"; const probeName = "probe1"; const options: LoadBalancerProbesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function loadBalancerProbeGet() { subscriptionId, resourceGroupName, loadBalancerName, - probeName + probeName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesListSample.ts index 3f1c420220b8..82d97f704f8b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancerProbesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancerProbesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function loadBalancerProbeList() { const resourceGroupName = "testrg"; const loadBalancerName = "lb"; const options: LoadBalancerProbesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersCreateOrUpdateSample.ts index 7ad4f25a7d30..391365ad4ee3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancersCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,11 +32,10 @@ async function createLoadBalancer() { name: "fe-lb", properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb", + }, + }, + }, ], inboundNatPools: [], inboundNatRules: [ @@ -47,40 +46,36 @@ async function createLoadBalancer() { enableFloatingIP: true, enableTcpReset: false, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 3389, idleTimeoutInMinutes: 15, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], loadBalancingRules: [ { name: "rulelb", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", }, backendPort: 80, enableFloatingIP: true, enableTcpReset: false, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 80, idleTimeoutInMinutes: 15, loadDistribution: "Default", probe: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", }, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], probes: [ { @@ -91,20 +86,20 @@ async function createLoadBalancer() { port: 80, probeThreshold: 1, requestPath: "healthcheck.aspx", - protocol: "Http" - } - } - ] - } + protocol: "Http", + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -135,12 +130,11 @@ async function createLoadBalancerWithFrontendIPInZone1() { name: "fe-lb", properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb", + }, }, - zones: ["1"] - } + zones: ["1"], + }, ], inboundNatPools: [], inboundNatRules: [ @@ -150,39 +144,35 @@ async function createLoadBalancerWithFrontendIPInZone1() { backendPort: 3389, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 3389, idleTimeoutInMinutes: 15, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], loadBalancingRules: [ { name: "rulelb", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", }, backendPort: 80, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 80, idleTimeoutInMinutes: 15, loadDistribution: "Default", probe: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", }, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], outboundRules: [], probes: [ @@ -194,21 +184,21 @@ async function createLoadBalancerWithFrontendIPInZone1() { port: 80, probeThreshold: 1, requestPath: "healthcheck.aspx", - protocol: "Http" - } - } - ] + protocol: "Http", + }, + }, + ], }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -239,15 +229,13 @@ async function createLoadBalancerWithGatewayLoadBalancerConsumerConfigured() { name: "fe-lb", properties: { gatewayLoadBalancer: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb", + }, + }, + }, ], inboundNatPools: [], inboundNatRules: [ @@ -257,39 +245,35 @@ async function createLoadBalancerWithGatewayLoadBalancerConsumerConfigured() { backendPort: 3389, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 3389, idleTimeoutInMinutes: 15, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], loadBalancingRules: [ { name: "rulelb", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", }, backendPort: 80, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 80, idleTimeoutInMinutes: 15, loadDistribution: "Default", probe: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", }, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], outboundRules: [], probes: [ @@ -301,21 +285,21 @@ async function createLoadBalancerWithGatewayLoadBalancerConsumerConfigured() { port: 80, probeThreshold: 1, requestPath: "healthcheck.aspx", - protocol: "Http" - } - } - ] + protocol: "Http", + }, + }, + ], }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -323,9 +307,7 @@ async function createLoadBalancerWithGatewayLoadBalancerConsumerConfigured() { console.log(result); } -createLoadBalancerWithGatewayLoadBalancerConsumerConfigured().catch( - console.error -); +createLoadBalancerWithGatewayLoadBalancerConsumerConfigured().catch(console.error); /** * This sample demonstrates how to Creates or updates a load balancer. * @@ -351,28 +333,27 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOn type: "Internal", identifier: 900, port: 15000, - protocol: "VXLAN" + protocol: "VXLAN", }, { type: "Internal", identifier: 901, port: 15001, - protocol: "VXLAN" - } - ] - } - } + protocol: "VXLAN", + }, + ], + }, + }, ], frontendIPConfigurations: [ { name: "fe-lb", properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb", + }, + }, + }, ], inboundNatPools: [], loadBalancingRules: [ @@ -381,26 +362,23 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOn properties: { backendAddressPools: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + }, ], backendPort: 0, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 0, idleTimeoutInMinutes: 15, loadDistribution: "Default", probe: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", }, - protocol: "All" - } - } + protocol: "All", + }, + }, ], outboundRules: [], probes: [ @@ -412,21 +390,21 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOn port: 80, probeThreshold: 1, requestPath: "healthcheck.aspx", - protocol: "Http" - } - } - ] + protocol: "Http", + }, + }, + ], }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -435,7 +413,7 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOn } createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOneBackendPool().catch( - console.error + console.error, ); /** * This sample demonstrates how to Creates or updates a load balancer. @@ -455,18 +433,17 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTw properties: { backendAddressPools: [ { name: "be-lb1", properties: {} }, - { name: "be-lb2", properties: {} } + { name: "be-lb2", properties: {} }, ], frontendIPConfigurations: [ { name: "fe-lb", properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb", + }, + }, + }, ], inboundNatPools: [], loadBalancingRules: [ @@ -476,30 +453,26 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTw backendAddressPool: {}, backendAddressPools: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1", }, { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2", + }, ], backendPort: 0, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 0, idleTimeoutInMinutes: 15, loadDistribution: "Default", probe: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", }, - protocol: "All" - } - } + protocol: "All", + }, + }, ], outboundRules: [], probes: [ @@ -511,21 +484,21 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTw port: 80, probeThreshold: 1, requestPath: "healthcheck.aspx", - protocol: "Http" - } - } - ] + protocol: "Http", + }, + }, + ], }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -534,7 +507,7 @@ async function createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTw } createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTwoBackendPool().catch( - console.error + console.error, ); /** * This sample demonstrates how to Creates or updates a load balancer. @@ -561,50 +534,45 @@ async function createLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBa name: "regional-lb1-address", properties: { loadBalancerFrontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" - } - } - } - ] - } - } + id: "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb", + }, + }, + }, + ], + }, + }, ], frontendIPConfigurations: [ { name: "fe-lb", properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb", + }, + }, + }, ], loadBalancingRules: [ { name: "rulelb", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", }, backendPort: 80, enableFloatingIP: false, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 80, idleTimeoutInMinutes: 15, loadDistribution: "Default", probe: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", }, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], probes: [ { @@ -615,21 +583,21 @@ async function createLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBa port: 80, probeThreshold: 1, requestPath: "healthcheck.aspx", - protocol: "Http" - } - } - ] + protocol: "Http", + }, + }, + ], }, - sku: { name: "Standard", tier: "Global" } + sku: { name: "Standard", tier: "Global" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -637,9 +605,7 @@ async function createLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBa console.log(result); } -createLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBackendPool().catch( - console.error -); +createLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBackendPool().catch(console.error); /** * This sample demonstrates how to Creates or updates a load balancer. * @@ -662,11 +628,10 @@ async function createLoadBalancerWithStandardSku() { name: "fe-lb", properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb", + }, + }, + }, ], inboundNatPools: [], inboundNatRules: [ @@ -676,39 +641,35 @@ async function createLoadBalancerWithStandardSku() { backendPort: 3389, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 3389, idleTimeoutInMinutes: 15, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], loadBalancingRules: [ { name: "rulelb", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", }, backendPort: 80, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 80, idleTimeoutInMinutes: 15, loadDistribution: "Default", probe: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", }, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], outboundRules: [], probes: [ @@ -720,21 +681,21 @@ async function createLoadBalancerWithStandardSku() { port: 80, probeThreshold: 1, requestPath: "healthcheck.aspx", - protocol: "Http" - } - } - ] + protocol: "Http", + }, + }, + ], }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -763,53 +724,49 @@ async function createLoadBalancerWithInboundNatPool() { frontendIPConfigurations: [ { name: "test", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", properties: { privateIPAllocationMethod: "Dynamic", subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet", + }, }, - zones: [] - } + zones: [], + }, ], inboundNatPools: [ { name: "test", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", properties: { backendPort: 8888, enableFloatingIP: true, enableTcpReset: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", }, frontendPortRangeEnd: 8085, frontendPortRangeStart: 8080, idleTimeoutInMinutes: 10, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], inboundNatRules: [], loadBalancingRules: [], outboundRules: [], - probes: [] + probes: [], }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -840,11 +797,10 @@ async function createLoadBalancerWithOutboundRules() { name: "fe-lb", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip", + }, + }, + }, ], inboundNatPools: [], inboundNatRules: [ @@ -854,58 +810,52 @@ async function createLoadBalancerWithOutboundRules() { backendPort: 3389, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 3389, idleTimeoutInMinutes: 15, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], loadBalancingRules: [ { name: "rulelb", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", }, backendPort: 80, disableOutboundSnat: true, enableFloatingIP: true, frontendIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", }, frontendPort: 80, idleTimeoutInMinutes: 15, loadDistribution: "Default", probe: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", }, - protocol: "Tcp" - } - } + protocol: "Tcp", + }, + }, ], outboundRules: [ { name: "rule1", properties: { backendAddressPool: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", }, frontendIPConfigurations: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + }, ], - protocol: "All" - } - } + protocol: "All", + }, + }, ], probes: [ { @@ -916,21 +866,21 @@ async function createLoadBalancerWithOutboundRules() { port: 80, probeThreshold: 1, requestPath: "healthcheck.aspx", - protocol: "Http" - } - } - ] + protocol: "Http", + }, + }, + ], }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersDeleteSample.ts index d74985c119ec..8fbcb05d2fa7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancersDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteLoadBalancer() { const resourceGroupName = "rg1"; const loadBalancerName = "lb"; const options: LoadBalancersDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersGetSample.ts index 8a3d397853fe..dfe373d5c09f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - LoadBalancersGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { LoadBalancersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function getLoadBalancer() { const resourceGroupName = "rg1"; const loadBalancerName = "lb"; const options: LoadBalancersGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); console.log(result); @@ -49,14 +47,14 @@ async function getLoadBalancerWithInboundNatRulePortMapping() { const resourceGroupName = "rg1"; const loadBalancerName = "lb"; const options: LoadBalancersGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListAllSample.ts index b1b066615859..6d53d129bb1b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancersListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllLoadBalancers() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: LoadBalancersListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListInboundNatRulePortMappingsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListInboundNatRulePortMappingsSample.ts index f6e2469a5b57..b8dd51ff8e00 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListInboundNatRulePortMappingsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListInboundNatRulePortMappingsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancersListInboundNatRulePortMappingsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function queryInboundNatRulePortMapping() { const backendPoolName = "bp1"; const options: LoadBalancersListInboundNatRulePortMappingsParameters = { body: { ipAddress: "10.0.0.4" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -33,7 +33,7 @@ async function queryInboundNatRulePortMapping() { subscriptionId, groupName, loadBalancerName, - backendPoolName + backendPoolName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListSample.ts index c712e8536c07..6d0afb09f681 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listLoadBalancersInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: LoadBalancersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersSwapPublicIPAddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersSwapPublicIPAddressesSample.ts index d43a53952841..cae5bdc7f7f8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersSwapPublicIPAddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersSwapPublicIPAddressesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LoadBalancersSwapPublicIpAddressesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,34 +25,30 @@ async function swapViPsBetweenTwoLoadBalancers() { body: { frontendIPConfigurations: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfe1", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfe1", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/pip2" - } - } + id: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/pip2", + }, + }, }, { - id: - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb2/frontendIPConfigurations/lbfe2", + id: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb2/frontendIPConfigurations/lbfe2", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip1" - } - } - } - ] + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip1", + }, + }, + }, + ], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses", subscriptionId, - location + location, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersUpdateTagsSample.ts index 250028787a88..e2349f6f8000 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/loadBalancersUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - LoadBalancersUpdateTagsParameters + LoadBalancersUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateLoadBalancerTags() { const loadBalancerName = "lb"; const options: LoadBalancersUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", subscriptionId, resourceGroupName, - loadBalancerName + loadBalancerName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysCreateOrUpdateSample.ts index 52f7bf2ecab5..85788a9dba38 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LocalNetworkGatewaysCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,17 +28,17 @@ async function createLocalNetworkGateway() { properties: { fqdn: "site1.contoso.com", gatewayIpAddress: "11.12.13.14", - localNetworkAddressSpace: { addressPrefixes: ["10.1.0.0/16"] } - } + localNetworkAddressSpace: { addressPrefixes: ["10.1.0.0/16"] }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", subscriptionId, resourceGroupName, - localNetworkGatewayName + localNetworkGatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysDeleteSample.ts index 260aaf6ca533..2f12ae45d4c3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LocalNetworkGatewaysDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteLocalNetworkGateway() { const resourceGroupName = "rg1"; const localNetworkGatewayName = "localgw"; const options: LocalNetworkGatewaysDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", subscriptionId, resourceGroupName, - localNetworkGatewayName + localNetworkGatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysGetSample.ts index dfa8f8ff1c85..68f3b0fc495b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - LocalNetworkGatewaysGetParameters + LocalNetworkGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getLocalNetworkGateway() { const resourceGroupName = "rg1"; const localNetworkGatewayName = "localgw"; const options: LocalNetworkGatewaysGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", subscriptionId, resourceGroupName, - localNetworkGatewayName + localNetworkGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysListSample.ts index 44fc6620c4c7..0dc856728ec3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { LocalNetworkGatewaysListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listLocalNetworkGateways() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: LocalNetworkGatewaysListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysUpdateTagsSample.ts index fbc13f63188c..7114ed2aec3f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/localNetworkGatewaysUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - LocalNetworkGatewaysUpdateTagsParameters + LocalNetworkGatewaysUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateLocalNetworkGatewayTags() { const localNetworkGatewayName = "lgw"; const options: LocalNetworkGatewaysUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", subscriptionId, resourceGroupName, - localNetworkGatewayName + localNetworkGatewayName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts index 722d7d75bea2..f6d71d898a67 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ManagementGroupNetworkManagerConnectionsCreateOrUpdateParameters + ManagementGroupNetworkManagerConnectionsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,16 +24,16 @@ async function createOrUpdateManagementGroupNetworkManagerConnection() { body: { properties: { networkManagerId: - "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" - } + "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", managementGroupId, - networkManagerConnectionName + networkManagerConnectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsDeleteSample.ts index 16d4793043d8..791ce8bd1a0f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ManagementGroupNetworkManagerConnectionsDeleteParameters + ManagementGroupNetworkManagerConnectionsDeleteParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function deleteManagementGroupNetworkManagerConnection() { const managementGroupId = "managementGroupA"; const networkManagerConnectionName = "TestNMConnection"; const options: ManagementGroupNetworkManagerConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", managementGroupId, - networkManagerConnectionName + networkManagerConnectionName, ) .delete(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsGetSample.ts index 195f7caa833e..d302844c55c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ManagementGroupNetworkManagerConnectionsGetParameters + ManagementGroupNetworkManagerConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function getManagementGroupNetworkManagerConnection() { const managementGroupId = "managementGroupA"; const networkManagerConnectionName = "TestNMConnection"; const options: ManagementGroupNetworkManagerConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", managementGroupId, - networkManagerConnectionName + networkManagerConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsListSample.ts index 5302cf9c704d..4425374abc9a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/managementGroupNetworkManagerConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ManagementGroupNetworkManagerConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listManagementGroupNetworkManagerConnection() { const client = createNetworkManagementClient(credential); const managementGroupId = "managementGroupA"; const options: ManagementGroupNetworkManagerConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections", - managementGroupId + managementGroupId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysCreateOrUpdateSample.ts index 4cb090c735e7..2727545616a7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatGatewaysCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,27 +28,25 @@ async function createNatGateway() { properties: { publicIpAddresses: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1", + }, ], publicIpPrefixes: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ] + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1", + }, + ], }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", subscriptionId, resourceGroupName, - natGatewayName + natGatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysDeleteSample.ts index 7a20ce71ffb3..513f56d2102f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatGatewaysDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteNatGateway() { const resourceGroupName = "rg1"; const natGatewayName = "test-natGateway"; const options: NatGatewaysDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", subscriptionId, resourceGroupName, - natGatewayName + natGatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysGetSample.ts index b976532f63e7..307e98c37bfb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - NatGatewaysGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { NatGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function getNatGateway() { const resourceGroupName = "rg1"; const natGatewayName = "test-natGateway"; const options: NatGatewaysGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", subscriptionId, resourceGroupName, - natGatewayName + natGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListAllSample.ts index d657b7c65f3d..41fce0a6a643 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatGatewaysListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,10 @@ async function listAllNatGateways() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: NatGatewaysListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListSample.ts index 3c36589669f2..6aefad3d671e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatGatewaysListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listNatGatewaysInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: NatGatewaysListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysUpdateTagsSample.ts index 6c8a45761147..d1ca6d9f5744 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natGatewaysUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NatGatewaysUpdateTagsParameters + NatGatewaysUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateNatGatewayTags() { const natGatewayName = "test-natGateway"; const options: NatGatewaysUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", subscriptionId, resourceGroupName, - natGatewayName + natGatewayName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesCreateOrUpdateSample.ts index 99eaa5fd5eae..c5bea521b2ea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatRulesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,10 +31,10 @@ async function natRulePut() { internalMappings: [{ addressSpace: "10.4.0.0/24" }], ipConfigurationId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", - mode: "EgressSnat" - } + mode: "EgressSnat", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -42,7 +42,7 @@ async function natRulePut() { subscriptionId, resourceGroupName, gatewayName, - natRuleName + natRuleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesDeleteSample.ts index e9e3edecbad4..93452a2f4a5b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatRulesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function natRuleDelete() { const gatewayName = "gateway1"; const natRuleName = "natRule1"; const options: NatRulesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function natRuleDelete() { subscriptionId, resourceGroupName, gatewayName, - natRuleName + natRuleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesGetSample.ts index 2914ab8c09d6..00d6123c5b39 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - NatRulesGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { NatRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function natRuleGet() { const gatewayName = "gateway1"; const natRuleName = "natRule1"; const options: NatRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function natRuleGet() { subscriptionId, resourceGroupName, gatewayName, - natRuleName + natRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesListByVpnGatewaySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesListByVpnGatewaySample.ts index 6e922289f937..78d7c97ae6ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesListByVpnGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/natRulesListByVpnGatewaySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NatRulesListByVpnGatewayParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function natRuleList() { const resourceGroupName = "rg1"; const gatewayName = "gateway1"; const options: NatRulesListByVpnGatewayParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsCreateOrUpdateSample.ts index 26d9ace35892..3e09803cb95b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkGroupsCreateOrUpdateParameters + NetworkGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function networkGroupsPut() { const options: NetworkGroupsCreateOrUpdateParameters = { headers: {}, body: { properties: { description: "A sample group" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function networkGroupsPut() { subscriptionId, resourceGroupName, networkManagerName, - networkGroupName + networkGroupName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsDeleteSample.ts index 44bfafdc32b2..34a162254dce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkGroupsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function networkGroupsDelete() { const networkManagerName = "testNetworkManager"; const networkGroupName = "testNetworkGroup"; const options: NetworkGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01", force: false } + queryParameters: { "api-version": "2022-05-01", force: false }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function networkGroupsDelete() { subscriptionId, resourceGroupName, networkManagerName, - networkGroupName + networkGroupName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsGetSample.ts index c6f90d8b5a53..0d64700a4ffe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - NetworkGroupsGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { NetworkGroupsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function networkGroupsGet() { const networkManagerName = "testNetworkManager"; const networkGroupName = "testNetworkGroup"; const options: NetworkGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function networkGroupsGet() { subscriptionId, resourceGroupName, networkManagerName, - networkGroupName + networkGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsListSample.ts index 4b88e07c7001..62d0cef7bcb7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkGroupsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkGroupsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function networkGroupsList() { const resourceGroupName = "rg1"; const networkManagerName = "testNetworkManager"; const options: NetworkGroupsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsGetSample.ts index 7338197b3b0c..bad033d9bdd9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkInterfaceIPConfigurationsGetParameters + NetworkInterfaceIPConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function networkInterfaceIPConfigurationGet() { const networkInterfaceName = "mynic"; const ipConfigurationName = "ipconfig1"; const options: NetworkInterfaceIPConfigurationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function networkInterfaceIPConfigurationGet() { subscriptionId, resourceGroupName, networkInterfaceName, - ipConfigurationName + ipConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsListSample.ts index 8efb425f6502..eced0d6f45e4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceIPConfigurationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfaceIPConfigurationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function networkInterfaceIPConfigurationList() { const resourceGroupName = "testrg"; const networkInterfaceName = "nic1"; const options: NetworkInterfaceIPConfigurationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceLoadBalancersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceLoadBalancersListSample.ts index f7914e9d8e98..bf1ae650c2ec 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceLoadBalancersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceLoadBalancersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfaceLoadBalancersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function networkInterfaceLoadBalancerList() { const resourceGroupName = "testrg"; const networkInterfaceName = "nic1"; const options: NetworkInterfaceLoadBalancersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts index cf03bdd75b1c..2fcb2f5405db 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfaceTapConfigurationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,12 +27,11 @@ async function createNetworkInterfaceTapConfigurations() { body: { properties: { virtualNetworkTap: { - id: - "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - } - } + id: "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -40,7 +39,7 @@ async function createNetworkInterfaceTapConfigurations() { subscriptionId, resourceGroupName, networkInterfaceName, - tapConfigurationName + tapConfigurationName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsDeleteSample.ts index 102f3ddcb984..4b04cbb310a8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfaceTapConfigurationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteTapConfiguration() { const networkInterfaceName = "test-networkinterface"; const tapConfigurationName = "test-tapconfiguration"; const options: NetworkInterfaceTapConfigurationsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteTapConfiguration() { subscriptionId, resourceGroupName, networkInterfaceName, - tapConfigurationName + tapConfigurationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsGetSample.ts index 450094411ce1..c41df365f872 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkInterfaceTapConfigurationsGetParameters + NetworkInterfaceTapConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getNetworkInterfaceTapConfigurations() { const networkInterfaceName = "mynic"; const tapConfigurationName = "tapconfiguration1"; const options: NetworkInterfaceTapConfigurationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getNetworkInterfaceTapConfigurations() { subscriptionId, resourceGroupName, networkInterfaceName, - tapConfigurationName + tapConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsListSample.ts index 992c43a9cb01..93507bce8e2f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfaceTapConfigurationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfaceTapConfigurationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listVirtualNetworkTapConfigurations() { const resourceGroupName = "rg1"; const networkInterfaceName = "mynic"; const options: NetworkInterfaceTapConfigurationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesCreateOrUpdateSample.ts index 05963cebb12b..7850f944075f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -33,26 +33,24 @@ async function createNetworkInterface() { name: "ipconfig1", properties: { publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" - } - } - } - ] - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default", + }, + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -83,30 +81,27 @@ async function createNetworkInterfaceWithGatewayLoadBalancerConsumerConfigured() name: "ipconfig1", properties: { gatewayLoadBalancer: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider", }, publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" - } - } - } - ] - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default", + }, + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -114,6 +109,4 @@ async function createNetworkInterfaceWithGatewayLoadBalancerConsumerConfigured() console.log(result); } -createNetworkInterfaceWithGatewayLoadBalancerConsumerConfigured().catch( - console.error -); +createNetworkInterfaceWithGatewayLoadBalancerConsumerConfigured().catch(console.error); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesDeleteSample.ts index f990beca2d80..d6cd73cd6ecd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteNetworkInterface() { const resourceGroupName = "rg1"; const networkInterfaceName = "test-nic"; const options: NetworkInterfacesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts index 48ce8220fb5f..4e6710c5a0f3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetCloudServiceNetworkInterfaceSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkInterfacesGetCloudServiceNetworkInterfaceParameters + NetworkInterfacesGetCloudServiceNetworkInterfaceParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function getCloudServiceNetworkInterface() { const roleInstanceName = "TestVMRole_IN_0"; const networkInterfaceName = "nic1"; const options: NetworkInterfacesGetCloudServiceNetworkInterfaceParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getCloudServiceNetworkInterface() { resourceGroupName, cloudServiceName, roleInstanceName, - networkInterfaceName + networkInterfaceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetEffectiveRouteTableSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetEffectiveRouteTableSample.ts index 6d09d2a1716e..32b93cc1d78b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetEffectiveRouteTableSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetEffectiveRouteTableSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesGetEffectiveRouteTableParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function showNetworkInterfaceEffectiveRouteTables() { const resourceGroupName = "rg1"; const networkInterfaceName = "nic1"; const options: NetworkInterfacesGetEffectiveRouteTableParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetSample.ts index 5fc63a834fd2..f0c8835ffaa1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkInterfacesGetParameters + NetworkInterfacesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getNetworkInterface() { const resourceGroupName = "rg1"; const networkInterfaceName = "test-nic"; const options: NetworkInterfacesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts index dc734657f161..cc63a67d3d51 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetIPConfigurationSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters + NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function getVirtualMachineScaleSetNetworkInterface() { const networkInterfaceName = "nic1"; const ipConfigurationName = "ip1"; const options: NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationParameters = { - queryParameters: { "api-version": "2018-10-01" } + queryParameters: { "api-version": "2018-10-01" }, }; const result = await client .path( @@ -35,7 +35,7 @@ async function getVirtualMachineScaleSetNetworkInterface() { virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, - ipConfigurationName + ipConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts index 79ce813455c6..79315994bdcb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesGetVirtualMachineScaleSetNetworkInterfaceSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters + NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function getVirtualMachineScaleSetNetworkInterface() { const virtualmachineIndex = "1"; const networkInterfaceName = "nic1"; const options: NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceParameters = { - queryParameters: { "api-version": "2018-10-01" } + queryParameters: { "api-version": "2018-10-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function getVirtualMachineScaleSetNetworkInterface() { resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName + networkInterfaceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListAllSample.ts index 1aa1ce77f3b1..a2a2f404e30b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllNetworkInterfaces() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: NetworkInterfacesListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceNetworkInterfacesSample.ts index dbe75ffa6cd3..61f3b10dc89e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceNetworkInterfacesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesListCloudServiceNetworkInterfacesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listCloudServiceNetworkInterfaces() { const resourceGroupName = "rg1"; const cloudServiceName = "cs1"; const options: NetworkInterfacesListCloudServiceNetworkInterfacesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts index 4213989975b4..86fbdd245a87 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function listCloudServiceRoleInstanceNetworkInterfaces() { const cloudServiceName = "cs1"; const roleInstanceName = "TestVMRole_IN_0"; const options: NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function listCloudServiceRoleInstanceNetworkInterfaces() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts index ffb226ceb847..085b10296bed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListEffectiveNetworkSecurityGroupsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesListEffectiveNetworkSecurityGroupsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listNetworkInterfaceEffectiveNetworkSecurityGroups() { const resourceGroupName = "rg1"; const networkInterfaceName = "nic1"; const options: NetworkInterfacesListEffectiveNetworkSecurityGroupsParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListSample.ts index 23467484ff0f..d97b6db6c8bc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listNetworkInterfacesInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: NetworkInterfacesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts index c68258aaac47..e84a8385961b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetIPConfigurationsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function listVirtualMachineScaleSetNetworkInterfaceIPConfigurations() { const virtualmachineIndex = "2"; const networkInterfaceName = "nic1"; const options: NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsParameters = { - queryParameters: { "api-version": "2018-10-01" } + queryParameters: { "api-version": "2018-10-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function listVirtualMachineScaleSetNetworkInterfaceIPConfigurations() { resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName + networkInterfaceName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -45,6 +45,4 @@ async function listVirtualMachineScaleSetNetworkInterfaceIPConfigurations() { console.log(result); } -listVirtualMachineScaleSetNetworkInterfaceIPConfigurations().catch( - console.error -); +listVirtualMachineScaleSetNetworkInterfaceIPConfigurations().catch(console.error); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts index 7cdce67bff24..18059e362b05 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetNetworkInterfacesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listVirtualMachineScaleSetNetworkInterfaces() { const resourceGroupName = "rg1"; const virtualMachineScaleSetName = "vmss1"; const options: NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesParameters = { - queryParameters: { "api-version": "2018-10-01" } + queryParameters: { "api-version": "2018-10-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts index b58b954bd664..84890fc7000c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function listVirtualMachineScaleSetVMNetworkInterfaces() { const virtualMachineScaleSetName = "vmss1"; const virtualmachineIndex = "1"; const options: NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesParameters = { - queryParameters: { "api-version": "2018-10-01" } + queryParameters: { "api-version": "2018-10-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function listVirtualMachineScaleSetVMNetworkInterfaces() { subscriptionId, resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex + virtualmachineIndex, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesUpdateTagsSample.ts index 7e1ceac4e99b..024c86cbd223 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkInterfacesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkInterfacesUpdateTagsParameters + NetworkInterfacesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateNetworkInterfaceTags() { const networkInterfaceName = "test-nic"; const options: NetworkInterfacesUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", subscriptionId, resourceGroupName, - networkInterfaceName + networkInterfaceName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerCommitsPostSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerCommitsPostSample.ts index dbd63645bb04..73032a5e359d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerCommitsPostSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerCommitsPostSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkManagerCommitsPostParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,18 +26,18 @@ async function networkManageCommitPost() { body: { commitType: "SecurityAdmin", configurationIds: [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig", ], - targetLocations: ["useast"] + targetLocations: ["useast"], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerDeploymentStatusListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerDeploymentStatusListSample.ts index faeb2573f698..fe0ff137ad2d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerDeploymentStatusListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagerDeploymentStatusListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkManagerDeploymentStatusListParameters + NetworkManagerDeploymentStatusListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function networkManagerDeploymentStatusList() { body: { deploymentTypes: ["Connectivity", "SecurityAdmin"], regions: ["eastus", "westus"], - skipToken: "FakeSkipTokenCode" + skipToken: "FakeSkipTokenCode", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersCreateOrUpdateSample.ts index 1f4310f9a111..6d7356feb81a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkManagersCreateOrUpdateParameters + NetworkManagersCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,18 +28,18 @@ async function putNetworkManager() { networkManagerScopeAccesses: ["Connectivity"], networkManagerScopes: { managementGroups: ["/Microsoft.Management/testmg"], - subscriptions: ["/subscriptions/00000000-0000-0000-0000-000000000000"] - } - } + subscriptions: ["/subscriptions/00000000-0000-0000-0000-000000000000"], + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersDeleteSample.ts index 5cc531b49dac..80d5facab6fe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkManagersDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function networkManagersDelete() { const resourceGroupName = "rg1"; const networkManagerName = "testNetworkManager"; const options: NetworkManagersDeleteParameters = { - queryParameters: { "api-version": "2022-05-01", force: false } + queryParameters: { "api-version": "2022-05-01", force: false }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersGetSample.ts index 698782811b9f..63b5631d6346 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkManagersGetParameters + NetworkManagersGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function networkManagersGet() { const resourceGroupName = "rg1"; const networkManagerName = "testNetworkManager"; const options: NetworkManagersGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListBySubscriptionSample.ts index ca06baff23e5..8255989604ea 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkManagersListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function networkManagersList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: NetworkManagersListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListSample.ts index 2f9fbd6e5fcd..7da78046af0d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkManagersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listNetworkManager() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: NetworkManagersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersPatchSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersPatchSample.ts index e45d8aca4cff..4aaac9fb21fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersPatchSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkManagersPatchSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkManagersPatchParameters + NetworkManagersPatchParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function networkManagesPatch() { const networkManagerName = "testNetworkManager"; const options: NetworkManagersPatchParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesCreateOrUpdateSample.ts index 383ee49fa8c2..7f3a4fa3c2be 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkProfilesCreateOrUpdateParameters + NetworkProfilesCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -34,25 +34,24 @@ async function createNetworkProfileDefaults() { name: "ipconfig1", properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - } - } - ] - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1", + }, + }, + }, + ], + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesDeleteSample.ts index eb61e773991a..d1621e3e74e8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkProfilesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteNetworkProfile() { const resourceGroupName = "rg1"; const networkProfileName = "networkProfile1"; const options: NetworkProfilesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesGetSample.ts index 627562467a80..02ef0ab5510b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkProfilesGetParameters + NetworkProfilesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getNetworkProfile() { const resourceGroupName = "rg1"; const networkProfileName = "networkProfile1"; const options: NetworkProfilesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .get(options); console.log(result); @@ -49,14 +49,14 @@ async function getNetworkProfileWithContainerNetworkInterfaces() { const resourceGroupName = "rg1"; const networkProfileName = "networkProfile1"; const options: NetworkProfilesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListAllSample.ts index 2112106849b9..0f82d177d7e8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkProfilesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllNetworkProfiles() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: NetworkProfilesListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListSample.ts index 8a32d2173155..05931dd6e3e5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkProfilesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listResourceGroupNetworkProfiles() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: NetworkProfilesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesUpdateTagsSample.ts index 06de6685b830..48e705053004 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkProfilesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkProfilesUpdateTagsParameters + NetworkProfilesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateNetworkProfileTags() { const networkProfileName = "test-np"; const options: NetworkProfilesUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", subscriptionId, resourceGroupName, - networkProfileName + networkProfileName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsCreateOrUpdateSample.ts index b3b95ea5563e..1dfadf7afd4c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkSecurityGroupsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function createNetworkSecurityGroup() { const networkSecurityGroupName = "testnsg"; const options: NetworkSecurityGroupsCreateOrUpdateParameters = { body: { location: "eastus" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -67,20 +67,20 @@ async function createNetworkSecurityGroupWithRule() { priority: 130, sourceAddressPrefix: "*", sourcePortRange: "*", - protocol: "*" - } - } - ] - } + protocol: "*", + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsDeleteSample.ts index fbbbeff8e956..ab42d9f876f1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkSecurityGroupsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteNetworkSecurityGroup() { const resourceGroupName = "rg1"; const networkSecurityGroupName = "testnsg"; const options: NetworkSecurityGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsGetSample.ts index 5eb073a9d18a..26c72c67cc6d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkSecurityGroupsGetParameters + NetworkSecurityGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getNetworkSecurityGroup() { const resourceGroupName = "rg1"; const networkSecurityGroupName = "testnsg"; const options: NetworkSecurityGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListAllSample.ts index 32af716e76aa..8962efa553fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkSecurityGroupsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllNetworkSecurityGroups() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: NetworkSecurityGroupsListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListSample.ts index 75c4210a52f2..373aabdc9fa2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkSecurityGroupsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listNetworkSecurityGroupsInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: NetworkSecurityGroupsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsUpdateTagsSample.ts index 8e5d944ebff6..04b9d63486e6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkSecurityGroupsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkSecurityGroupsUpdateTagsParameters + NetworkSecurityGroupsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateNetworkSecurityGroupTags() { const networkSecurityGroupName = "testnsg"; const options: NetworkSecurityGroupsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesCreateOrUpdateSample.ts index 3077beec4df8..d5e40a4db11d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkVirtualAppliancesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,38 +27,38 @@ async function createNetworkVirtualAppliance() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid/resourcegroups/rg1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} - } + "/subscriptions/subid/resourcegroups/rg1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, }, location: "West US", properties: { bootStrapConfigurationBlobs: [ - "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig", ], cloudInitConfigurationBlobs: [ - "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig", ], nvaSku: { bundledScaleUnit: "1", marketPlaceVersion: "12.1", - vendor: "Cisco SDWAN" + vendor: "Cisco SDWAN", }, virtualApplianceAsn: 10000, virtualHub: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + }, }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesDeleteSample.ts index 34fc589a75fd..b8cb562d37dc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkVirtualAppliancesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteNetworkVirtualAppliance() { const resourceGroupName = "rg1"; const networkVirtualApplianceName = "nva"; const options: NetworkVirtualAppliancesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesGetSample.ts index 76ec1c3ce2e8..964f8773606c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkVirtualAppliancesGetParameters + NetworkVirtualAppliancesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getNetworkVirtualAppliance() { const resourceGroupName = "rg1"; const networkVirtualApplianceName = "nva"; const options: NetworkVirtualAppliancesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListByResourceGroupSample.ts index 4c588db1e065..ad7c72bd716f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkVirtualAppliancesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listAllNetworkVirtualApplianceForAGivenResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: NetworkVirtualAppliancesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListSample.ts index 85d4284cdd20..724d8280997c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkVirtualAppliancesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllNetworkVirtualAppliancesForAGivenSubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: NetworkVirtualAppliancesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesUpdateTagsSample.ts index 5899f3e9f09a..e798f2ad9ffb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkVirtualAppliancesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkVirtualAppliancesUpdateTagsParameters + NetworkVirtualAppliancesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateNetworkVirtualAppliance() { const networkVirtualApplianceName = "nva"; const options: NetworkVirtualAppliancesUpdateTagsParameters = { body: { tags: { key1: "value1", key2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCheckConnectivitySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCheckConnectivitySample.ts index 305a268147d4..c016407a3cee 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCheckConnectivitySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCheckConnectivitySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersCheckConnectivityParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,17 +28,17 @@ async function checkConnectivity() { preferredIPVersion: "IPv4", source: { resourceId: - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" - } + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCreateOrUpdateSample.ts index a7c950840ec1..443908410c88 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkWatchersCreateOrUpdateParameters + NetworkWatchersCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function createNetworkWatcher() { const networkWatcherName = "nw1"; const options: NetworkWatchersCreateOrUpdateParameters = { body: { location: "eastus", properties: {} }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersDeleteSample.ts index 783cec50d5d9..0b95bbe4a3ab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteNetworkWatcher() { const resourceGroupName = "rg1"; const networkWatcherName = "nw1"; const options: NetworkWatchersDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetAzureReachabilityReportSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetAzureReachabilityReportSample.ts index 14bfb920cec5..a53c0edb3fab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetAzureReachabilityReportSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetAzureReachabilityReportSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersGetAzureReachabilityReportParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,16 +28,16 @@ async function getAzureReachabilityReport() { endTime: new Date("2017-09-10T00:00:00Z"), providerLocation: { country: "United States", state: "washington" }, providers: ["Frontier Communications of America, Inc. - ASN 5650"], - startTime: new Date("2017-09-07T00:00:00Z") + startTime: new Date("2017-09-07T00:00:00Z"), }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetFlowLogStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetFlowLogStatusSample.ts index 8734aa8a3e71..90d0cfcbb53e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetFlowLogStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetFlowLogStatusSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersGetFlowLogStatusParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function getFlowLogStatus() { const options: NetworkWatchersGetFlowLogStatusParameters = { body: { targetResourceId: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNetworkConfigurationDiagnosticSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNetworkConfigurationDiagnosticSample.ts index cbd880a87e87..4437f389d982 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNetworkConfigurationDiagnosticSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNetworkConfigurationDiagnosticSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersGetNetworkConfigurationDiagnosticParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,20 +30,20 @@ async function networkConfigurationDiagnostic() { destinationPort: "12100", direction: "Inbound", source: "10.1.0.4", - protocol: "TCP" - } + protocol: "TCP", + }, ], targetResourceId: - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNextHopSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNextHopSample.ts index ca4ffd935a40..7ab9e168cdbe 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNextHopSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetNextHopSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersGetNextHopParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -29,16 +29,16 @@ async function getNextHop() { targetNicResourceId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1", targetResourceId: - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetSample.ts index 2472bfe193c5..8243f787749d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkWatchersGetParameters + NetworkWatchersGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getNetworkWatcher() { const resourceGroupName = "rg1"; const networkWatcherName = "nw1"; const options: NetworkWatchersGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTopologySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTopologySample.ts index e39c476b276a..f96109c9d1c0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTopologySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTopologySample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkWatchersGetTopologyParameters + NetworkWatchersGetTopologyParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getTopology() { const networkWatcherName = "nw1"; const options: NetworkWatchersGetTopologyParameters = { body: { targetResourceGroupName: "rg2" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingResultSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingResultSample.ts index dcf902f1e5ae..9391702c9392 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingResultSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingResultSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersGetTroubleshootingResultParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function getTroubleshootResult() { const options: NetworkWatchersGetTroubleshootingResultParameters = { body: { targetResourceId: - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingSample.ts index 97c9eeabde8d..ecc96a212c35 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetTroubleshootingSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersGetTroubleshootingParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,19 +27,19 @@ async function getTroubleshooting() { properties: { storageId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - storagePath: "https://st1.blob.core.windows.net/cn1" + storagePath: "https://st1.blob.core.windows.net/cn1", }, targetResourceId: - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetVMSecurityRulesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetVMSecurityRulesSample.ts index 3a53d0ac49f0..09eeeafbb9a1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetVMSecurityRulesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersGetVMSecurityRulesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersGetVMSecurityRulesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function getSecurityGroupView() { const options: NetworkWatchersGetVMSecurityRulesParameters = { body: { targetResourceId: - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAllSample.ts index 9fc9f4de87e0..06f3b83ddb34 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllNetworkWatchers() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: NetworkWatchersListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAvailableProvidersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAvailableProvidersSample.ts index 09b759adced4..49733064fc66 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAvailableProvidersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListAvailableProvidersSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersListAvailableProvidersParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,16 +27,16 @@ async function getAvailableProvidersList() { azureLocations: ["West US"], city: "seattle", country: "United States", - state: "washington" + state: "washington", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListSample.ts index 644c19bdc883..57a70f10a7a6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listNetworkWatchers() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: NetworkWatchersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersSetFlowLogConfigurationSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersSetFlowLogConfigurationSample.ts index 33e88bd07620..6850f9a9f20a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersSetFlowLogConfigurationSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersSetFlowLogConfigurationSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersSetFlowLogConfigurationParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,19 +27,19 @@ async function configureFlowLog() { properties: { enabled: true, storageId: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", }, targetResourceId: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersUpdateTagsSample.ts index 7f2d77744ab0..347e9eab503f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - NetworkWatchersUpdateTagsParameters + NetworkWatchersUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateNetworkWatcherTags() { const networkWatcherName = "nw1"; const options: NetworkWatchersUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersVerifyIPFlowSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersVerifyIPFlowSample.ts index c30aede5cf5d..2c313bfeec60 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersVerifyIPFlowSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/networkWatchersVerifyIPFlowSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { NetworkWatchersVerifyIPFlowParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,16 +31,16 @@ async function ipFlowVerify() { remotePort: "80", targetResourceId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - protocol: "TCP" + protocol: "TCP", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/operationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/operationsListSample.ts index a992614da260..c5034b8c6084 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/operationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/operationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { OperationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -20,11 +20,9 @@ async function getAListOfOperationsForAResourceProvider() { const credential = new DefaultAzureCredential(); const client = createNetworkManagementClient(credential); const options: OperationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; - const initialResponse = await client - .path("/providers/Microsoft.Network/operations") - .get(options); + const initialResponse = await client.path("/providers/Microsoft.Network/operations").get(options); const pageData = paginate(client, initialResponse); const result = []; for await (const item of pageData) { diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysCreateOrUpdateSample.ts index bea7289d5498..5f0259e8998f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,57 +31,50 @@ async function p2SVpnGatewayPut() { p2SConnectionConfigurations: [ { name: "P2SConnectionConfig1", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", properties: { routingConfiguration: { associatedRouteTable: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", }, propagatedRouteTables: { ids: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", }, { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2", }, { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3", + }, ], - labels: ["label1", "label2"] + labels: ["label1", "label2"], }, - vnetRoutes: { staticRoutes: [] } + vnetRoutes: { staticRoutes: [] }, }, - vpnClientAddressPool: { addressPrefixes: ["101.3.0.0/16"] } - } - } + vpnClientAddressPool: { addressPrefixes: ["101.3.0.0/16"] }, + }, + }, ], virtualHub: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", }, vpnGatewayScaleUnit: 1, vpnServerConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + }, }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDeleteSample.ts index a828236e9704..bbcee10407d5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function p2SVpnGatewayDelete() { const resourceGroupName = "rg1"; const gatewayName = "p2sVpnGateway1"; const options: P2SVpnGatewaysDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts index b0e7028d3338..425faeae733e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysDisconnectP2SvpnConnectionsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysDisconnectP2SVpnConnectionsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function disconnectVpnConnectionsFromP2SVpnGateway() { const p2sVpnGatewayName = "p2svpngateway"; const options: P2SVpnGatewaysDisconnectP2SVpnConnectionsParameters = { body: { vpnConnectionIds: ["vpnconnId1", "vpnconnId2"] }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections", subscriptionId, resourceGroupName, - p2sVpnGatewayName + p2sVpnGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGenerateVpnProfileSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGenerateVpnProfileSample.ts index c713f8eeac36..3c7b0f0ce28e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGenerateVpnProfileSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGenerateVpnProfileSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysGenerateVpnProfileParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function generateP2SVpnGatewayVpnprofile() { const gatewayName = "p2sVpnGateway1"; const options: P2SVpnGatewaysGenerateVpnProfileParameters = { body: { authenticationMethod: "EAPTLS" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts index d5e6f2fa6928..e3a1db43e611 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthDetailedSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,16 +26,16 @@ async function p2SVpnGatewayGetConnectionHealthDetailed() { body: { outputBlobSasUrl: "https://blobcortextesturl.blob.core.windows.net/folderforconfig/p2sconnectionhealths?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b", - vpnUserNamesFilter: ["vpnUser1", "vpnUser2"] + vpnUserNamesFilter: ["vpnUser1", "vpnUser2"], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts index e44219a17640..3cca6cdbac9a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetP2SvpnConnectionHealthSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysGetP2SVpnConnectionHealthParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function p2SVpnGatewayGetConnectionHealth() { const resourceGroupName = "rg1"; const gatewayName = "p2sVpnGateway1"; const options: P2SVpnGatewaysGetP2SVpnConnectionHealthParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetSample.ts index b5b2b78b150f..94e148006d38 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - P2SVpnGatewaysGetParameters + P2SVpnGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function p2SVpnGatewayGet() { const resourceGroupName = "rg1"; const gatewayName = "p2sVpnGateway1"; const options: P2SVpnGatewaysGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListByResourceGroupSample.ts index aec369ab1692..570955b31e03 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function p2SVpnGatewayListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: P2SVpnGatewaysListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListSample.ts index 9a86d289578c..a6fc992dadc5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function p2SVpnGatewayListBySubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: P2SVpnGatewaysListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysResetSample.ts index e808ba922668..fdb786153ba1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysResetSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysResetParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function resetP2SVpnGateway() { const resourceGroupName = "rg1"; const gatewayName = "p2sVpnGateway1"; const options: P2SVpnGatewaysResetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysUpdateTagsSample.ts index b3e432ebbc6a..08fe43686a75 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/p2SVpnGatewaysUpdateTagsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { P2SVpnGatewaysUpdateTagsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function p2SVpnGatewayUpdate() { const gatewayName = "p2sVpnGateway1"; const options: P2SVpnGatewaysUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesCreateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesCreateSample.ts index ba51608a5e73..edd0c64aff90 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesCreateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesCreateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PacketCapturesCreateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,23 +27,20 @@ async function createPacketCapture() { body: { properties: { bytesToCapturePerPacket: 10000, - filters: [ - { localIPAddress: "10.0.0.4", localPort: "80", protocol: "TCP" } - ], + filters: [{ localIPAddress: "10.0.0.4", localPort: "80", protocol: "TCP" }], storageLocation: { filePath: "D:capturepc1.cap", storageId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - storagePath: - "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + storagePath: "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", }, target: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", timeLimitInSeconds: 100, - totalBytesPerSession: 100000 - } + totalBytesPerSession: 100000, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -51,7 +48,7 @@ async function createPacketCapture() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesDeleteSample.ts index 02106c342319..ec9e63bbd0f7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PacketCapturesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deletePacketCapture() { const networkWatcherName = "nw1"; const packetCaptureName = "pc1"; const options: PacketCapturesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deletePacketCapture() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetSample.ts index c2a03249c5eb..5a5763f32949 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PacketCapturesGetParameters + PacketCapturesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getPacketCapture() { const networkWatcherName = "nw1"; const packetCaptureName = "pc1"; const options: PacketCapturesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getPacketCapture() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetStatusSample.ts index 8cb2d1ddc7d5..67be2d14f7e4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesGetStatusSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PacketCapturesGetStatusParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function queryPacketCaptureStatus() { const networkWatcherName = "nw1"; const packetCaptureName = "pc1"; const options: PacketCapturesGetStatusParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function queryPacketCaptureStatus() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesListSample.ts index 56f222b55164..08f4c977e7e4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PacketCapturesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listPacketCaptures() { const resourceGroupName = "rg1"; const networkWatcherName = "nw1"; const options: PacketCapturesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures", subscriptionId, resourceGroupName, - networkWatcherName + networkWatcherName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesStopSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesStopSample.ts index 0d2b32e2a3ad..d2941886a72c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesStopSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/packetCapturesStopSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PacketCapturesStopParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function stopPacketCapture() { const networkWatcherName = "nw1"; const packetCaptureName = "pc1"; const options: PacketCapturesStopParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function stopPacketCapture() { subscriptionId, resourceGroupName, networkWatcherName, - packetCaptureName + packetCaptureName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsGetSample.ts index 43167c16c9f1..172d1d2ac292 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PeerExpressRouteCircuitConnectionsGetParameters + PeerExpressRouteCircuitConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function peerExpressRouteCircuitConnectionGet() { const peeringName = "AzurePrivatePeering"; const connectionName = "60aee347-e889-4a42-8c1b-0aae8b1e4013"; const options: PeerExpressRouteCircuitConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function peerExpressRouteCircuitConnectionGet() { resourceGroupName, circuitName, peeringName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsListSample.ts index aae832a25175..1c6d5d92aab0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/peerExpressRouteCircuitConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PeerExpressRouteCircuitConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function listPeerExpressRouteCircuitConnection() { const circuitName = "ExpressRouteARMCircuitA"; const peeringName = "AzurePrivatePeering"; const options: PeerExpressRouteCircuitConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function listPeerExpressRouteCircuitConnection() { subscriptionId, resourceGroupName, circuitName, - peeringName + peeringName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsCreateOrUpdateSample.ts index 4660265adcb7..28133cf1b2b8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateDnsZoneGroupsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,13 +30,13 @@ async function createPrivateDnsZoneGroup() { { properties: { privateDnsZoneId: - "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com" - } - } - ] - } + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -44,7 +44,7 @@ async function createPrivateDnsZoneGroup() { subscriptionId, resourceGroupName, privateEndpointName, - privateDnsZoneGroupName + privateDnsZoneGroupName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsDeleteSample.ts index cf79927afc82..b5c4f9144409 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateDnsZoneGroupsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deletePrivateDnsZoneGroup() { const privateEndpointName = "testPe"; const privateDnsZoneGroupName = "testPdnsgroup"; const options: PrivateDnsZoneGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deletePrivateDnsZoneGroup() { subscriptionId, resourceGroupName, privateEndpointName, - privateDnsZoneGroupName + privateDnsZoneGroupName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsGetSample.ts index 20a6edac3fd6..f1bf830b8cc4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PrivateDnsZoneGroupsGetParameters + PrivateDnsZoneGroupsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getPrivateDnsZoneGroup() { const privateEndpointName = "testPe"; const privateDnsZoneGroupName = "testPdnsgroup"; const options: PrivateDnsZoneGroupsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getPrivateDnsZoneGroup() { subscriptionId, resourceGroupName, privateEndpointName, - privateDnsZoneGroupName + privateDnsZoneGroupName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsListSample.ts index af7b778bc29b..369530de3c8c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateDnsZoneGroupsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateDnsZoneGroupsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listPrivateEndpointsInResourceGroup() { const resourceGroupName = "rg1"; const privateEndpointName = "testPe"; const options: PrivateDnsZoneGroupsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsCreateOrUpdateSample.ts index 75aec2914521..92ea1648f240 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateEndpointsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -33,9 +33,9 @@ async function createPrivateEndpoint() { properties: { groupId: "file", memberName: "file", - privateIPAddress: "192.168.0.6" - } - } + privateIPAddress: "192.168.0.6", + }, + }, ], privateLinkServiceConnections: [ { @@ -43,24 +43,23 @@ async function createPrivateEndpoint() { groupIds: ["groupIdFromResource"], privateLinkServiceId: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - requestMessage: "Please approve my connection." - } - } + requestMessage: "Please approve my connection.", + }, + }, ], subnet: { - id: - "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - } - } + id: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -87,9 +86,8 @@ async function createPrivateEndpointWithApplicationSecurityGroups() { properties: { applicationSecurityGroups: [ { - id: - "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" - } + id: "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1", + }, ], privateLinkServiceConnections: [ { @@ -97,24 +95,23 @@ async function createPrivateEndpointWithApplicationSecurityGroups() { groupIds: ["groupIdFromResource"], privateLinkServiceId: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - requestMessage: "Please approve my connection." - } - } + requestMessage: "Please approve my connection.", + }, + }, ], subnet: { - id: - "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - } - } + id: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -146,9 +143,9 @@ async function createPrivateEndpointWithManualApprovalConnection() { properties: { groupId: "file", memberName: "file", - privateIPAddress: "192.168.0.5" - } - } + privateIPAddress: "192.168.0.5", + }, + }, ], manualPrivateLinkServiceConnections: [ { @@ -156,24 +153,23 @@ async function createPrivateEndpointWithManualApprovalConnection() { groupIds: ["groupIdFromResource"], privateLinkServiceId: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - requestMessage: "Please manually approve my connection." - } - } + requestMessage: "Please manually approve my connection.", + }, + }, ], subnet: { - id: - "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - } - } + id: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsDeleteSample.ts index 4e09e8885e69..3cdf0ab28d04 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateEndpointsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deletePrivateEndpoint() { const resourceGroupName = "rg1"; const privateEndpointName = "testPe"; const options: PrivateEndpointsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsGetSample.ts index 9039a0f1f606..3088227deae4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PrivateEndpointsGetParameters + PrivateEndpointsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getPrivateEndpoint() { const resourceGroupName = "rg1"; const privateEndpointName = "testPe"; const options: PrivateEndpointsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .get(options); console.log(result); @@ -49,14 +49,14 @@ async function getPrivateEndpointWithApplicationSecurityGroups() { const resourceGroupName = "rg1"; const privateEndpointName = "testPe"; const options: PrivateEndpointsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .get(options); console.log(result); @@ -76,14 +76,14 @@ async function getPrivateEndpointWithManualApprovalConnection() { const resourceGroupName = "rg1"; const privateEndpointName = "testPe"; const options: PrivateEndpointsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", subscriptionId, resourceGroupName, - privateEndpointName + privateEndpointName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListBySubscriptionSample.ts index 82727a5f8b01..a65bf07f9b58 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateEndpointsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllPrivateEndpoints() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: PrivateEndpointsListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListSample.ts index 07096fb495ec..fddc6b276784 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateEndpointsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateEndpointsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listPrivateEndpointsInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: PrivateEndpointsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts index dfdb4dc4fa21..c905dd498b25 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function checkPrivateLinkServiceVisibility() { const options: PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupParameters = { body: { privateLinkServiceAlias: - "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", subscriptionId, resourceGroupName, - location + location, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts index def4ad0e9315..f3ecf10988cf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCheckPrivateLinkServiceVisibilitySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesCheckPrivateLinkServiceVisibilityParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,15 +24,15 @@ async function checkPrivateLinkServiceVisibility() { const options: PrivateLinkServicesCheckPrivateLinkServiceVisibilityParameters = { body: { privateLinkServiceAlias: - "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", subscriptionId, - location + location, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCreateOrUpdateSample.ts index 948e056a8188..40137d5bb077 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -36,31 +36,29 @@ async function createPrivateLinkService() { privateIPAddressVersion: "IPv4", privateIPAllocationMethod: "Static", subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb", + }, + }, + }, ], loadBalancerFrontendIpConfigurations: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + }, ], visibility: { - subscriptions: ["subscription1", "subscription2", "subscription3"] - } - } + subscriptions: ["subscription1", "subscription2", "subscription3"], + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", subscriptionId, resourceGroupName, - serviceName + serviceName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeletePrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeletePrivateEndpointConnectionSample.ts index b6a37bad5492..76244633e1d7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeletePrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeletePrivateEndpointConnectionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesDeletePrivateEndpointConnectionParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deletePrivateEndPointConnectionForAPrivateLinkService() { const serviceName = "testPls"; const peConnectionName = "testPlePeConnection"; const options: PrivateLinkServicesDeletePrivateEndpointConnectionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deletePrivateEndPointConnectionForAPrivateLinkService() { subscriptionId, resourceGroupName, serviceName, - peConnectionName + peConnectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeleteSample.ts index f73c8b700f0e..540414e2653e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deletePrivateLinkService() { const resourceGroupName = "rg1"; const serviceName = "testPls"; const options: PrivateLinkServicesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", subscriptionId, resourceGroupName, - serviceName + serviceName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetPrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetPrivateEndpointConnectionSample.ts index 6d8fefb0e29e..e9efcc875a75 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetPrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetPrivateEndpointConnectionSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PrivateLinkServicesGetPrivateEndpointConnectionParameters + PrivateLinkServicesGetPrivateEndpointConnectionParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getPrivateEndPointConnection() { const serviceName = "testPls"; const peConnectionName = "testPlePeConnection"; const options: PrivateLinkServicesGetPrivateEndpointConnectionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getPrivateEndPointConnection() { subscriptionId, resourceGroupName, serviceName, - peConnectionName + peConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetSample.ts index 4ef47fb7f67e..79e882b2ef77 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PrivateLinkServicesGetParameters + PrivateLinkServicesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getPrivateLinkService() { const resourceGroupName = "rg1"; const serviceName = "testPls"; const options: PrivateLinkServicesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", subscriptionId, resourceGroupName, - serviceName + serviceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts index 6e5d7ff410c7..12f87d1d073c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWit const resourceGroupName = "rg1"; const location = "regionName"; const options: PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", subscriptionId, resourceGroupName, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -42,5 +42,5 @@ async function getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWit } getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved().catch( - console.error + console.error, ); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts index 60bd011b02c9..21b62cf62993 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListAutoApprovedPrivateLinkServicesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesListAutoApprovedPrivateLinkServicesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWit const subscriptionId = ""; const location = "regionName"; const options: PrivateLinkServicesListAutoApprovedPrivateLinkServicesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -40,5 +40,5 @@ async function getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWit } getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved().catch( - console.error + console.error, ); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListBySubscriptionSample.ts index 10e7fae305d0..ccbad1022561 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllPrivateListService() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: PrivateLinkServicesListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListPrivateEndpointConnectionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListPrivateEndpointConnectionsSample.ts index 9d962884ce94..c0e61c3fc03d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListPrivateEndpointConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListPrivateEndpointConnectionsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesListPrivateEndpointConnectionsParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listPrivateLinkServiceInResourceGroup() { const resourceGroupName = "rg1"; const serviceName = "testPls"; const options: PrivateLinkServicesListPrivateEndpointConnectionsParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections", subscriptionId, resourceGroupName, - serviceName + serviceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListSample.ts index 9d18700b8957..df1469feff1f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PrivateLinkServicesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listPrivateLinkServiceInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: PrivateLinkServicesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts index 93ea2f026eac..0195423100dd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/privateLinkServicesUpdatePrivateEndpointConnectionSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PrivateLinkServicesUpdatePrivateEndpointConnectionParameters + PrivateLinkServicesUpdatePrivateEndpointConnectionParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,16 +27,15 @@ async function approveOrRejectPrivateEndPointConnectionForAPrivateLinkService() name: "testPlePeConnection", properties: { privateEndpoint: { - id: - "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + id: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", }, privateLinkServiceConnectionState: { description: "approved it for some reason.", - status: "Approved" - } - } + status: "Approved", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -44,12 +43,10 @@ async function approveOrRejectPrivateEndPointConnectionForAPrivateLinkService() subscriptionId, resourceGroupName, serviceName, - peConnectionName + peConnectionName, ) .put(options); console.log(result); } -approveOrRejectPrivateEndPointConnectionForAPrivateLinkService().catch( - console.error -); +approveOrRejectPrivateEndPointConnectionForAPrivateLinkService().catch(console.error); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesCreateOrUpdateSample.ts index 15380f14737e..b525ca5f1bd5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function createPublicIPAddressDns() { const options: PublicIPAddressesCreateOrUpdateParameters = { body: { location: "eastus", - properties: { dnsSettings: { domainNameLabel: "dnslbl" } } + properties: { dnsSettings: { domainNameLabel: "dnslbl" } }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -61,18 +61,18 @@ async function createPublicIPAddressAllocationMethod() { properties: { idleTimeoutInMinutes: 10, publicIPAddressVersion: "IPv4", - publicIPAllocationMethod: "Static" + publicIPAllocationMethod: "Static", }, - sku: { name: "Standard", tier: "Global" } + sku: { name: "Standard", tier: "Global" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -95,14 +95,14 @@ async function createPublicIPAddressDefaults() { const publicIpAddressName = "test-ip"; const options: PublicIPAddressesCreateOrUpdateParameters = { body: { location: "eastus" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDdosProtectionStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDdosProtectionStatusSample.ts index c73c47067d87..4506732fc976 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDdosProtectionStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDdosProtectionStatusSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesDdosProtectionStatusParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getDdosProtectionStatusOfAPublicIPAddress() { const resourceGroupName = "rg1"; const publicIpAddressName = "test-pip"; const options: PublicIPAddressesDdosProtectionStatusParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDeleteSample.ts index 9d0a6deeb37d..ee2681566497 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deletePublicIPAddress() { const resourceGroupName = "rg1"; const publicIpAddressName = "test-ip"; const options: PublicIPAddressesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetCloudServicePublicIpaddressSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetCloudServicePublicIpaddressSample.ts index 9b94b2a8f9b0..f27643f8a9e9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetCloudServicePublicIpaddressSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetCloudServicePublicIpaddressSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PublicIPAddressesGetCloudServicePublicIPAddressParameters + PublicIPAddressesGetCloudServicePublicIPAddressParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,7 +26,7 @@ async function getVmssPublicIP() { const ipConfigurationName = "ip1"; const publicIpAddressName = "pub1"; const options: PublicIPAddressesGetCloudServicePublicIPAddressParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -37,7 +37,7 @@ async function getVmssPublicIP() { roleInstanceName, networkInterfaceName, ipConfigurationName, - publicIpAddressName + publicIpAddressName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetSample.ts index 1b8c10c58429..93251d32676b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PublicIPAddressesGetParameters + PublicIPAddressesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getPublicIPAddress() { const resourceGroupName = "rg1"; const publicIpAddressName = "testDNS-ip"; const options: PublicIPAddressesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts index 70fb6c03d5f2..89b3dc221b02 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesGetVirtualMachineScaleSetPublicIpaddressSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters + PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,7 +26,7 @@ async function getVmssPublicIP() { const ipConfigurationName = "ip1"; const publicIpAddressName = "pub1"; const options: PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressParameters = { - queryParameters: { "api-version": "2018-10-01" } + queryParameters: { "api-version": "2018-10-01" }, }; const result = await client .path( @@ -37,7 +37,7 @@ async function getVmssPublicIP() { virtualmachineIndex, networkInterfaceName, ipConfigurationName, - publicIpAddressName + publicIpAddressName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListAllSample.ts index e4635798a0bf..26f3b258a9b5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllPublicIPAddresses() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: PublicIPAddressesListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServicePublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServicePublicIpaddressesSample.ts index 9ef2da9a8132..4cadd06be400 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServicePublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServicePublicIpaddressesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesListCloudServicePublicIPAddressesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listVmssPublicIP() { const resourceGroupName = "cs-tester"; const cloudServiceName = "cs1"; const options: PublicIPAddressesListCloudServicePublicIPAddressesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts index 974c21f4e501..d5d95bd9ba77 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListCloudServiceRoleInstancePublicIpaddressesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,7 +26,7 @@ async function listVmssvmPublicIP() { const networkInterfaceName = "nic1"; const ipConfigurationName = "ip1"; const options: PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -36,7 +36,7 @@ async function listVmssvmPublicIP() { cloudServiceName, roleInstanceName, networkInterfaceName, - ipConfigurationName + ipConfigurationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListSample.ts index 618ec2c3811c..52f9d20972e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listResourceGroupPublicIPAddresses() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: PublicIPAddressesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts index ba7f0ec22244..048393c13f11 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetPublicIpaddressesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listVmssPublicIP() { const resourceGroupName = "vmss-tester"; const virtualMachineScaleSetName = "vmss1"; const options: PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesParameters = { - queryParameters: { "api-version": "2018-10-01" } + queryParameters: { "api-version": "2018-10-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts index 70a6aa6cf98f..eed1d538bb84 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesListVirtualMachineScaleSetVmpublicIpaddressesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,7 +26,7 @@ async function listVmssvmPublicIP() { const networkInterfaceName = "nic1"; const ipConfigurationName = "ip1"; const options: PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesParameters = { - queryParameters: { "api-version": "2018-10-01" } + queryParameters: { "api-version": "2018-10-01" }, }; const initialResponse = await client .path( @@ -36,7 +36,7 @@ async function listVmssvmPublicIP() { virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, - ipConfigurationName + ipConfigurationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesUpdateTagsSample.ts index fc6e9caee872..7791dbca52f2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPAddressesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PublicIPAddressesUpdateTagsParameters + PublicIPAddressesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updatePublicIPAddressTags() { const publicIpAddressName = "test-ip"; const options: PublicIPAddressesUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", subscriptionId, resourceGroupName, - publicIpAddressName + publicIpAddressName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesCreateOrUpdateSample.ts index a1e4bd768f64..10260464b177 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPPrefixesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,16 +26,16 @@ async function createPublicIPPrefixAllocationMethod() { body: { location: "westus", properties: { prefixLength: 30, publicIPAddressVersion: "IPv4" }, - sku: { name: "Standard", tier: "Regional" } + sku: { name: "Standard", tier: "Regional" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -60,16 +60,16 @@ async function createPublicIPPrefixDefaults() { body: { location: "westus", properties: { prefixLength: 30 }, - sku: { name: "Standard" } + sku: { name: "Standard" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesDeleteSample.ts index 0d778ea429c4..acc27ac8427d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPPrefixesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deletePublicIPPrefix() { const resourceGroupName = "rg1"; const publicIpPrefixName = "test-ipprefix"; const options: PublicIPPrefixesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesGetSample.ts index 8faa31dbbce8..b5b61f7b7924 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PublicIPPrefixesGetParameters + PublicIPPrefixesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getPublicIPPrefix() { const resourceGroupName = "rg1"; const publicIpPrefixName = "test-ipprefix"; const options: PublicIPPrefixesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListAllSample.ts index 9e98aa876790..91b440d03e02 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPPrefixesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllPublicIPPrefixes() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: PublicIPPrefixesListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListSample.ts index 4f383c239fe9..e3467cc91098 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { PublicIPPrefixesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listResourceGroupPublicIPPrefixes() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: PublicIPPrefixesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesUpdateTagsSample.ts index 0fac3c9d46e0..d2e3ee7db24a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/publicIPPrefixesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - PublicIPPrefixesUpdateTagsParameters + PublicIPPrefixesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updatePublicIPPrefixTags() { const publicIpPrefixName = "test-ipprefix"; const options: PublicIPPrefixesUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", subscriptionId, resourceGroupName, - publicIpPrefixName + publicIpPrefixName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/putBastionShareableLinkSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/putBastionShareableLinkSample.ts index b9d843ec30ae..60f931fc7c43 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/putBastionShareableLinkSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/putBastionShareableLinkSample.ts @@ -6,7 +6,7 @@ import createNetworkManagementClient, { PutBastionShareableLinkParameters, // getLongRunningPoller, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,26 +28,24 @@ async function createBastionShareableLinksForTheRequestVMS() { vms: [ { vm: { - id: - "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" - } + id: "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1", + }, }, { vm: { - id: - "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" - } - } - ] + id: "/subscriptions/subid/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2", + }, + }, + ], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks", subscriptionId, resourceGroupName, - bastionHostName + bastionHostName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/resourceNavigationLinksListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/resourceNavigationLinksListSample.ts index a25ce9c29b60..29fe81dbc752 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/resourceNavigationLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/resourceNavigationLinksListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ResourceNavigationLinksListParameters + ResourceNavigationLinksListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getResourceNavigationLinks() { const virtualNetworkName = "vnet"; const subnetName = "subnet"; const options: ResourceNavigationLinksListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getResourceNavigationLinks() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesCreateOrUpdateSample.ts index 20780036fb2a..7e6b1a29dfef 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteFilterRulesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,10 +28,10 @@ async function routeFilterRuleCreate() { properties: { access: "Allow", communities: ["12076:5030", "12076:5040"], - routeFilterRuleType: "Community" - } + routeFilterRuleType: "Community", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -39,7 +39,7 @@ async function routeFilterRuleCreate() { subscriptionId, resourceGroupName, routeFilterName, - ruleName + ruleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesDeleteSample.ts index 65567d53cd18..34797839ca80 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteFilterRulesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function routeFilterRuleDelete() { const routeFilterName = "filterName"; const ruleName = "ruleName"; const options: RouteFilterRulesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function routeFilterRuleDelete() { subscriptionId, resourceGroupName, routeFilterName, - ruleName + ruleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesGetSample.ts index 68cd74e0a3f3..7ea9e327af86 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - RouteFilterRulesGetParameters + RouteFilterRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function routeFilterRuleGet() { const routeFilterName = "filterName"; const ruleName = "filterName"; const options: RouteFilterRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function routeFilterRuleGet() { subscriptionId, resourceGroupName, routeFilterName, - ruleName + ruleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesListByRouteFilterSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesListByRouteFilterSample.ts index bd0833b72247..3c8265f12682 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesListByRouteFilterSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFilterRulesListByRouteFilterSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteFilterRulesListByRouteFilterParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function routeFilterRuleListByRouteFilter() { const resourceGroupName = "rg1"; const routeFilterName = "filterName"; const options: RouteFilterRulesListByRouteFilterParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersCreateOrUpdateSample.ts index eab35e024d5f..32e76fe97868 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteFiltersCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,21 +32,21 @@ async function routeFilterCreate() { properties: { access: "Allow", communities: ["12076:5030", "12076:5040"], - routeFilterRuleType: "Community" - } - } - ] + routeFilterRuleType: "Community", + }, + }, + ], }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersDeleteSample.ts index 93058972eccc..ef8776fcb23d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteFiltersDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function routeFilterDelete() { const resourceGroupName = "rg1"; const routeFilterName = "filterName"; const options: RouteFiltersDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersGetSample.ts index 877ce0105c88..3d87cd8a4134 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - RouteFiltersGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { RouteFiltersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function routeFilterGet() { const resourceGroupName = "rg1"; const routeFilterName = "filterName"; const options: RouteFiltersGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListByResourceGroupSample.ts index 896ef2846e78..fc5828d83b1f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteFiltersListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function routeFilterListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: RouteFiltersListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListSample.ts index d7a0f672f3f4..2009601f7a92 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteFiltersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function routeFilterList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: RouteFiltersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersUpdateTagsSample.ts index 46d4905ed080..1a3abffa1e7d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeFiltersUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - RouteFiltersUpdateTagsParameters + RouteFiltersUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateRouteFilterTags() { const routeFilterName = "filterName"; const options: RouteFiltersUpdateTagsParameters = { body: { tags: { key1: "value1" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", subscriptionId, resourceGroupName, - routeFilterName + routeFilterName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsCreateOrUpdateSample.ts index 879dedb69ce9..15e5811faa93 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteMapsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,7 +27,7 @@ async function routeMapPut() { body: { properties: { associatedInboundConnections: [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1", ], associatedOutboundConnections: [], rules: [ @@ -36,25 +36,23 @@ async function routeMapPut() { actions: [ { type: "Add", - parameters: [ - { asPath: ["22334"], community: [], routePrefix: [] } - ] - } + parameters: [{ asPath: ["22334"], community: [], routePrefix: [] }], + }, ], matchCriteria: [ { asPath: [], community: [], matchCondition: "Contains", - routePrefix: ["10.0.0.0/8"] - } + routePrefix: ["10.0.0.0/8"], + }, ], - nextStepIfMatched: "Continue" - } - ] - } + nextStepIfMatched: "Continue", + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -62,7 +60,7 @@ async function routeMapPut() { subscriptionId, resourceGroupName, virtualHubName, - routeMapName + routeMapName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsDeleteSample.ts index cce6a80cc324..93609e73d59e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteMapsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function routeMapDelete() { const virtualHubName = "virtualHub1"; const routeMapName = "routeMap1"; const options: RouteMapsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function routeMapDelete() { subscriptionId, resourceGroupName, virtualHubName, - routeMapName + routeMapName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsGetSample.ts index b86feed29d75..6087f6ce17ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - RouteMapsGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { RouteMapsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function routeMapGet() { const virtualHubName = "virtualHub1"; const routeMapName = "routeMap1"; const options: RouteMapsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function routeMapGet() { subscriptionId, resourceGroupName, virtualHubName, - routeMapName + routeMapName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsListSample.ts index 872cf031dd50..212110c96cbd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeMapsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteMapsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function routeMapList() { const resourceGroupName = "rg1"; const virtualHubName = "virtualHub1"; const options: RouteMapsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesCreateOrUpdateSample.ts index fe841192c505..9e61b47f82f6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteTablesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function createRouteTable() { const routeTableName = "testrt"; const options: RouteTablesCreateOrUpdateParameters = { body: { location: "westus" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -62,20 +62,20 @@ async function createRouteTableWithRoute() { name: "route1", properties: { addressPrefix: "10.0.3.0/24", - nextHopType: "VirtualNetworkGateway" - } - } - ] - } + nextHopType: "VirtualNetworkGateway", + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesDeleteSample.ts index 21f8bd518db9..49fde98d4f1c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteTablesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteRouteTable() { const resourceGroupName = "rg1"; const routeTableName = "testrt"; const options: RouteTablesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesGetSample.ts index a3f02e3508e4..eb9c14e9e7e5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - RouteTablesGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { RouteTablesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function getRouteTable() { const resourceGroupName = "rg1"; const routeTableName = "testrt"; const options: RouteTablesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListAllSample.ts index 9d32e091f040..878176ad8f2c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteTablesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,10 @@ async function listAllRouteTables() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: RouteTablesListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListSample.ts index ebbd76a5ac03..7f99df495fe9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RouteTablesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listRouteTablesInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: RouteTablesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesUpdateTagsSample.ts index 4899e009a8bd..954770705dda 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routeTablesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - RouteTablesUpdateTagsParameters + RouteTablesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateRouteTableTags() { const routeTableName = "testrt"; const options: RouteTablesUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesCreateOrUpdateSample.ts index 331961801e76..8dfe2cd43419 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RoutesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,10 +27,10 @@ async function createRoute() { body: { properties: { addressPrefix: "10.0.3.0/24", - nextHopType: "VirtualNetworkGateway" - } + nextHopType: "VirtualNetworkGateway", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -38,7 +38,7 @@ async function createRoute() { subscriptionId, resourceGroupName, routeTableName, - routeName + routeName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesDeleteSample.ts index 91b595fbe9f1..658d10f2867a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RoutesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteRoute() { const routeTableName = "testrt"; const routeName = "route1"; const options: RoutesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteRoute() { subscriptionId, resourceGroupName, routeTableName, - routeName + routeName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesGetSample.ts index 7b3c2fdcd10d..78070fdf5657 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - RoutesGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { RoutesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function getRoute() { const routeTableName = "testrt"; const routeName = "route1"; const options: RoutesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function getRoute() { subscriptionId, resourceGroupName, routeTableName, - routeName + routeName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesListSample.ts index 6c39c4a4caac..0727f708a4b9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RoutesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listRoutes() { const resourceGroupName = "rg1"; const routeTableName = "testrt"; const options: RoutesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes", subscriptionId, resourceGroupName, - routeTableName + routeTableName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentCreateOrUpdateSample.ts index ab78176e961e..ec7de2b1eb7a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RoutingIntentCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,18 +31,18 @@ async function routeTablePut() { name: "InternetTraffic", destinations: ["Internet"], nextHop: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1", }, { name: "PrivateTrafficPolicy", destinations: ["PrivateTraffic"], nextHop: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" - } - ] - } + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1", + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -50,7 +50,7 @@ async function routeTablePut() { subscriptionId, resourceGroupName, virtualHubName, - routingIntentName + routingIntentName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentDeleteSample.ts index 175fd1276094..0320c9168799 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RoutingIntentDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function routeTableDelete() { const virtualHubName = "virtualHub1"; const routingIntentName = "Intent1"; const options: RoutingIntentDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function routeTableDelete() { subscriptionId, resourceGroupName, virtualHubName, - routingIntentName + routingIntentName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentGetSample.ts index e993ca141682..7f2e1f26bc7f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - RoutingIntentGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { RoutingIntentGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function routeTableGet() { const virtualHubName = "virtualHub1"; const routingIntentName = "Intent1"; const options: RoutingIntentGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function routeTableGet() { subscriptionId, resourceGroupName, virtualHubName, - routingIntentName + routingIntentName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentListSample.ts index 179aa883ab39..0024e9a70c7f 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/routingIntentListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { RoutingIntentListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function routingIntentList() { const resourceGroupName = "rg1"; const virtualHubName = "virtualHub1"; const options: RoutingIntentListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsCreateOrUpdateSample.ts index 7bcffc248c88..8d49faabb494 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ScopeConnectionsCreateOrUpdateParameters + ScopeConnectionsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,13 +25,12 @@ async function createOrUpdateNetworkManagerScopeConnection() { const options: ScopeConnectionsCreateOrUpdateParameters = { body: { properties: { - description: - "This is a scope connection to a cross tenant subscription.", + description: "This is a scope connection to a cross tenant subscription.", resourceId: "subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b", - tenantId: "6babcaad-604b-40ac-a9d7-9fd97c0b779f" - } + tenantId: "6babcaad-604b-40ac-a9d7-9fd97c0b779f", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -39,7 +38,7 @@ async function createOrUpdateNetworkManagerScopeConnection() { subscriptionId, resourceGroupName, networkManagerName, - scopeConnectionName + scopeConnectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsDeleteSample.ts index 0157a4b8c337..5de16b295a98 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ScopeConnectionsDeleteParameters + ScopeConnectionsDeleteParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function deleteNetworkManagerScopeConnection() { const networkManagerName = "testNetworkManager"; const scopeConnectionName = "TestScopeConnection"; const options: ScopeConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function deleteNetworkManagerScopeConnection() { subscriptionId, resourceGroupName, networkManagerName, - scopeConnectionName + scopeConnectionName, ) .delete(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsGetSample.ts index f44546ef4c18..1367f338dbd7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ScopeConnectionsGetParameters + ScopeConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getNetworkManagerScopeConnection() { const networkManagerName = "testNetworkManager"; const scopeConnectionName = "TestScopeConnection"; const options: ScopeConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getNetworkManagerScopeConnection() { subscriptionId, resourceGroupName, networkManagerName, - scopeConnectionName + scopeConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsListSample.ts index beca68c5a83d..d8a3edd67040 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/scopeConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ScopeConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listNetworkManagerScopeConnection() { const resourceGroupName = "rg1"; const networkManagerName = "testNetworkManager"; const options: ScopeConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsCreateOrUpdateSample.ts index fa6114d44c5d..c20e83e931d2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - SecurityAdminConfigurationsCreateOrUpdateParameters + SecurityAdminConfigurationsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,10 +26,10 @@ async function createNetworkManagerSecurityAdminConfiguration() { body: { properties: { description: "A sample policy", - applyOnNetworkIntentPolicyBasedServices: ["None"] - } + applyOnNetworkIntentPolicyBasedServices: ["None"], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -37,7 +37,7 @@ async function createNetworkManagerSecurityAdminConfiguration() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsDeleteSample.ts index 796e0a2a5e40..994fa52a8238 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityAdminConfigurationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteNetworkManagerSecurityAdminConfiguration() { const networkManagerName = "testNetworkManager"; const configurationName = "myTestSecurityConfig"; const options: SecurityAdminConfigurationsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01", force: false } + queryParameters: { "api-version": "2022-05-01", force: false }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteNetworkManagerSecurityAdminConfiguration() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsGetSample.ts index 8008cf2a6bee..2f97b49e31e0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - SecurityAdminConfigurationsGetParameters + SecurityAdminConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getSecurityAdminConfigurations() { const networkManagerName = "testNetworkManager"; const configurationName = "myTestSecurityConfig"; const options: SecurityAdminConfigurationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getSecurityAdminConfigurations() { subscriptionId, resourceGroupName, networkManagerName, - configurationName + configurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsListSample.ts index a6898598fa1d..29f272d67dab 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityAdminConfigurationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityAdminConfigurationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listSecurityAdminConfigurationsInANetworkManager() { const resourceGroupName = "rg1"; const networkManagerName = "testNetworkManager"; const options: SecurityAdminConfigurationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations", subscriptionId, resourceGroupName, - networkManagerName + networkManagerName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersCreateOrUpdateSample.ts index 9e1e92b69a7e..b6a2cbd61fe5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityPartnerProvidersCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,20 +28,19 @@ async function createSecurityPartnerProvider() { properties: { securityProviderName: "ZScaler", virtualHub: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + }, }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", subscriptionId, resourceGroupName, - securityPartnerProviderName + securityPartnerProviderName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersDeleteSample.ts index baaa4f9a207b..8e1716bc53d0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityPartnerProvidersDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteSecurityPartnerProvider() { const resourceGroupName = "rg1"; const securityPartnerProviderName = "securityPartnerProvider"; const options: SecurityPartnerProvidersDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", subscriptionId, resourceGroupName, - securityPartnerProviderName + securityPartnerProviderName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersGetSample.ts index 293631a2b589..9f9acd28887a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - SecurityPartnerProvidersGetParameters + SecurityPartnerProvidersGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getSecurityPartnerProvider() { const resourceGroupName = "rg1"; const securityPartnerProviderName = "securityPartnerProvider"; const options: SecurityPartnerProvidersGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", subscriptionId, resourceGroupName, - securityPartnerProviderName + securityPartnerProviderName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListByResourceGroupSample.ts index 28b18871587c..3f3457dc310e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityPartnerProvidersListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listAllSecurityPartnerProvidersForAGivenResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: SecurityPartnerProvidersListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListSample.ts index 27b8c614a081..57e3f9cb0c51 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityPartnerProvidersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllSecurityPartnerProvidersForAGivenSubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: SecurityPartnerProvidersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersUpdateTagsSample.ts index 6635953fb470..e1e3ae8aca63 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityPartnerProvidersUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - SecurityPartnerProvidersUpdateTagsParameters + SecurityPartnerProvidersUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateSecurityPartnerProviderTags() { const securityPartnerProviderName = "securityPartnerProvider"; const options: SecurityPartnerProvidersUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", subscriptionId, resourceGroupName, - securityPartnerProviderName + securityPartnerProviderName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesCreateOrUpdateSample.ts index 7ffc139be645..11d922740aa4 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityRulesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -33,10 +33,10 @@ async function createSecurityRule() { priority: 100, sourceAddressPrefix: "10.0.0.0/8", sourcePortRange: "*", - protocol: "*" - } + protocol: "*", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -44,7 +44,7 @@ async function createSecurityRule() { subscriptionId, resourceGroupName, networkSecurityGroupName, - securityRuleName + securityRuleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesDeleteSample.ts index b2c92986b00c..9b24c28826fc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityRulesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteNetworkSecurityRuleFromNetworkSecurityGroup() { const networkSecurityGroupName = "testnsg"; const securityRuleName = "rule1"; const options: SecurityRulesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteNetworkSecurityRuleFromNetworkSecurityGroup() { subscriptionId, resourceGroupName, networkSecurityGroupName, - securityRuleName + securityRuleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesGetSample.ts index 6bde6ae8573f..ad68e78b00db 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - SecurityRulesGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { SecurityRulesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function getNetworkSecurityRuleInNetworkSecurityGroup() { const networkSecurityGroupName = "testnsg"; const securityRuleName = "rule1"; const options: SecurityRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function getNetworkSecurityRuleInNetworkSecurityGroup() { subscriptionId, resourceGroupName, networkSecurityGroupName, - securityRuleName + securityRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesListSample.ts index d392dc0ad8fa..83fcb0ca6712 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/securityRulesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SecurityRulesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listNetworkSecurityRulesInNetworkSecurityGroup() { const resourceGroupName = "rg1"; const networkSecurityGroupName = "testnsg"; const options: SecurityRulesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules", subscriptionId, resourceGroupName, - networkSecurityGroupName + networkSecurityGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceAssociationLinksListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceAssociationLinksListSample.ts index 2a023b80d015..ee6782a352f5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceAssociationLinksListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceAssociationLinksListSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ServiceAssociationLinksListParameters + ServiceAssociationLinksListParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getServiceAssociationLinks() { const virtualNetworkName = "vnet"; const subnetName = "subnet"; const options: ServiceAssociationLinksListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getServiceAssociationLinks() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesCreateOrUpdateSample.ts index 103e463129c4..a64f04ffdb81 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceEndpointPoliciesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function createServiceEndpointPolicy() { const serviceEndpointPolicyName = "testPolicy"; const options: ServiceEndpointPoliciesCreateOrUpdateParameters = { body: { location: "westus" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -65,21 +65,21 @@ async function createServiceEndpointPolicyWithDefinition() { serviceResources: [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] - } - } - ] - } + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount", + ], + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesDeleteSample.ts index 18d894270fb9..6ab2038bad8c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceEndpointPoliciesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteServiceEndpointPolicy() { const resourceGroupName = "rg1"; const serviceEndpointPolicyName = "serviceEndpointPolicy1"; const options: ServiceEndpointPoliciesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesGetSample.ts index 78958d57e101..93b2ace7ae16 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ServiceEndpointPoliciesGetParameters + ServiceEndpointPoliciesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getServiceEndPointPolicy() { const resourceGroupName = "rg1"; const serviceEndpointPolicyName = "testServiceEndpointPolicy"; const options: ServiceEndpointPoliciesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListByResourceGroupSample.ts index b49afa8e9d0b..345c2a6bb5ed 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceEndpointPoliciesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listResourceGroupServiceEndpointPolicies() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: ServiceEndpointPoliciesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListSample.ts index 1f9cb670db54..2776816ab921 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceEndpointPoliciesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllServiceEndpointPolicy() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: ServiceEndpointPoliciesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesUpdateTagsSample.ts index 6c555c040d1c..11884856bb38 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPoliciesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ServiceEndpointPoliciesUpdateTagsParameters + ServiceEndpointPoliciesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateServiceEndpointPolicyTags() { const serviceEndpointPolicyName = "testServiceEndpointPolicy"; const options: ServiceEndpointPoliciesUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts index 8b38241579e6..b3f71310be2e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceEndpointPolicyDefinitionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,11 +31,11 @@ async function createServiceEndpointPolicyDefinition() { serviceResources: [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] - } + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount", + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -43,7 +43,7 @@ async function createServiceEndpointPolicyDefinition() { subscriptionId, resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName + serviceEndpointPolicyDefinitionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsDeleteSample.ts index 5f4ea892a299..5fa5457245e3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceEndpointPolicyDefinitionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy() const serviceEndpointPolicyName = "testPolicy"; const serviceEndpointPolicyDefinitionName = "testDefinition"; const options: ServiceEndpointPolicyDefinitionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy() subscriptionId, resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName + serviceEndpointPolicyDefinitionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); @@ -40,6 +40,4 @@ async function deleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy() console.log(result); } -deleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy().catch( - console.error -); +deleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy().catch(console.error); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsGetSample.ts index e38cf4b5d4a5..5afaf17dd11e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - ServiceEndpointPolicyDefinitionsGetParameters + ServiceEndpointPolicyDefinitionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getServiceEndpointDefinitionInServiceEndpointPolicy() { const serviceEndpointPolicyName = "testPolicy"; const serviceEndpointPolicyDefinitionName = "testDefinition"; const options: ServiceEndpointPolicyDefinitionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getServiceEndpointDefinitionInServiceEndpointPolicy() { subscriptionId, resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName + serviceEndpointPolicyDefinitionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts index 70fac4b80013..38eea78d4c3e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceEndpointPolicyDefinitionsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceEndpointPolicyDefinitionsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listServiceEndpointDefinitionsInServiceEndPointPolicy() { const resourceGroupName = "rg1"; const serviceEndpointPolicyName = "testPolicy"; const options: ServiceEndpointPolicyDefinitionsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions", subscriptionId, resourceGroupName, - serviceEndpointPolicyName + serviceEndpointPolicyName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagInformationListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagInformationListSample.ts index fd574f806ac6..7aaf52bff528 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagInformationListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagInformationListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { ServiceTagInformationListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function getListOfServiceTags() { const subscriptionId = ""; const location = "westeurope"; const options: ServiceTagInformationListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -52,13 +52,13 @@ async function getListOfServiceTagsWithNoAddressPrefixes() { const subscriptionId = ""; const location = "westeurope"; const options: ServiceTagInformationListParameters = { - queryParameters: { "api-version": "2022-05-01", noAddressPrefixes: true } + queryParameters: { "api-version": "2022-05-01", noAddressPrefixes: true }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -82,13 +82,13 @@ async function getListOfServiceTagsWithTagName() { const subscriptionId = ""; const location = "westeurope"; const options: ServiceTagInformationListParameters = { - queryParameters: { "api-version": "2022-05-01", tagName: "ApiManagement" } + queryParameters: { "api-version": "2022-05-01", tagName: "ApiManagement" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagsListSample.ts index 877550e066b3..3757722961cd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/serviceTagsListSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - ServiceTagsListParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { ServiceTagsListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +19,13 @@ async function getListOfServiceTags() { const subscriptionId = ""; const location = "westcentralus"; const options: ServiceTagsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersCreateOrUpdateSample.ts index 0fb956d0841f..affd127b7ce1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - StaticMembersCreateOrUpdateParameters + StaticMembersCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,10 +27,10 @@ async function staticMemberPut() { body: { properties: { resourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -39,7 +39,7 @@ async function staticMemberPut() { resourceGroupName, networkManagerName, networkGroupName, - staticMemberName + staticMemberName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersDeleteSample.ts index 48f7b296a578..38b7f9dc75d2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - StaticMembersDeleteParameters + StaticMembersDeleteParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function staticMembersDelete() { const networkGroupName = "testNetworkGroup"; const staticMemberName = "testStaticMember"; const options: StaticMembersDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function staticMembersDelete() { resourceGroupName, networkManagerName, networkGroupName, - staticMemberName + staticMemberName, ) .delete(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersGetSample.ts index 7228764351e1..f634a9a891e8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - StaticMembersGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { StaticMembersGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +22,7 @@ async function staticMembersGet() { const networkGroupName = "testNetworkGroup"; const staticMemberName = "testStaticMember"; const options: StaticMembersGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function staticMembersGet() { resourceGroupName, networkManagerName, networkGroupName, - staticMemberName + staticMemberName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersListSample.ts index b9f8b947e9dd..45a3d8c8b0af 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/staticMembersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { StaticMembersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function staticMembersList() { const networkManagerName = "testNetworkManager"; const networkGroupName = "testNetworkGroup"; const options: StaticMembersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function staticMembersList() { subscriptionId, resourceGroupName, networkManagerName, - networkGroupName + networkGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsCreateOrUpdateSample.ts index 2487db133921..84e8ecb05ea2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SubnetsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function createSubnet() { const subnetName = "subnet1"; const options: SubnetsCreateOrUpdateParameters = { body: { properties: { addressPrefix: "10.0.0.0/16" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -33,7 +33,7 @@ async function createSubnet() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -57,7 +57,7 @@ async function createSubnetWithADelegation() { const subnetName = "subnet1"; const options: SubnetsCreateOrUpdateParameters = { body: { properties: { addressPrefix: "10.0.0.0/16" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -65,7 +65,7 @@ async function createSubnetWithADelegation() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -91,10 +91,10 @@ async function createSubnetWithServiceEndpoints() { body: { properties: { addressPrefix: "10.0.0.0/16", - serviceEndpoints: [{ service: "Microsoft.Storage" }] - } + serviceEndpoints: [{ service: "Microsoft.Storage" }], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -102,7 +102,7 @@ async function createSubnetWithServiceEndpoints() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsDeleteSample.ts index ce1d9fdea3c1..9b3cbecb3820 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SubnetsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteSubnet() { const virtualNetworkName = "vnetname"; const subnetName = "subnet1"; const options: SubnetsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteSubnet() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsGetSample.ts index 5a9fe20d7e6f..6b6977aa5ab6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - SubnetsGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { SubnetsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function getSubnet() { const virtualNetworkName = "vnetname"; const subnetName = "subnet1"; const options: SubnetsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function getSubnet() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .get(options); console.log(result); @@ -52,7 +50,7 @@ async function getSubnetWithADelegation() { const virtualNetworkName = "vnetname"; const subnetName = "subnet1"; const options: SubnetsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -60,7 +58,7 @@ async function getSubnetWithADelegation() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsListSample.ts index 36b905a7a4fd..7674df6f8149 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SubnetsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listSubnets() { const resourceGroupName = "subnet-test"; const virtualNetworkName = "vnetname"; const options: SubnetsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsPrepareNetworkPoliciesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsPrepareNetworkPoliciesSample.ts index 49cd791ca5c3..7babd080cbc8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsPrepareNetworkPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsPrepareNetworkPoliciesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SubnetsPrepareNetworkPoliciesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function prepareNetworkPolicies() { const subnetName = "subnet1"; const options: SubnetsPrepareNetworkPoliciesParameters = { body: { serviceName: "Microsoft.Sql/managedInstances" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -33,7 +33,7 @@ async function prepareNetworkPolicies() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsUnprepareNetworkPoliciesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsUnprepareNetworkPoliciesSample.ts index 96a93203bf87..54b07ec82d32 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsUnprepareNetworkPoliciesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subnetsUnprepareNetworkPoliciesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SubnetsUnprepareNetworkPoliciesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function unprepareNetworkPolicies() { const subnetName = "subnet1"; const options: SubnetsUnprepareNetworkPoliciesParameters = { body: { serviceName: "Microsoft.Sql/managedInstances" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -33,7 +33,7 @@ async function unprepareNetworkPolicies() { subscriptionId, resourceGroupName, virtualNetworkName, - subnetName + subnetName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts index cffb817582ca..bf24b2f2c821 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - SubscriptionNetworkManagerConnectionsCreateOrUpdateParameters + SubscriptionNetworkManagerConnectionsCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,16 +24,16 @@ async function createOrUpdateSubscriptionNetworkManagerConnection() { body: { properties: { networkManagerId: - "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" - } + "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", subscriptionId, - networkManagerConnectionName + networkManagerConnectionName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsDeleteSample.ts index 7bcbfb3c8ac4..8b8aee681cf6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsDeleteSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - SubscriptionNetworkManagerConnectionsDeleteParameters + SubscriptionNetworkManagerConnectionsDeleteParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function deleteSubscriptionNetworkManagerConnection() { const subscriptionId = ""; const networkManagerConnectionName = "TestNMConnection"; const options: SubscriptionNetworkManagerConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", subscriptionId, - networkManagerConnectionName + networkManagerConnectionName, ) .delete(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsGetSample.ts index 05fe3a094499..0d23b4ab8b9d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - SubscriptionNetworkManagerConnectionsGetParameters + SubscriptionNetworkManagerConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function getSubscriptionNetworkManagerConnection() { const subscriptionId = ""; const networkManagerConnectionName = "TestNMConnection"; const options: SubscriptionNetworkManagerConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", subscriptionId, - networkManagerConnectionName + networkManagerConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsListSample.ts index 3e25e80cbd5b..7e720fa8e553 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/subscriptionNetworkManagerConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { SubscriptionNetworkManagerConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listSubscriptionNetworkManagerConnection() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: SubscriptionNetworkManagerConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/supportedSecurityProvidersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/supportedSecurityProvidersSample.ts index b8b4c195b7e0..de990bc8a76d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/supportedSecurityProvidersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/supportedSecurityProvidersSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - SupportedSecurityProvidersParameters + SupportedSecurityProvidersParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function supportedSecurityProviders() { const resourceGroupName = "rg1"; const virtualWANName = "wan1"; const options: SupportedSecurityProvidersParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders", subscriptionId, resourceGroupName, - virtualWANName + virtualWANName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/usagesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/usagesListSample.ts index e357afe4be1a..930f6e0ce40c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/usagesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/usagesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { UsagesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listUsages() { const subscriptionId = ""; const location = "westus"; const options: UsagesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -52,13 +52,13 @@ async function listUsagesSpacedLocation() { const subscriptionId = ""; const location = "West US"; const options: UsagesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapCreateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapCreateSample.ts index 5c45b9eab278..012a8d8fb003 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapCreateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapCreateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VipSwapCreateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function putVipSwapOperation() { const singletonResource = "swap"; const options: VipSwapCreateParameters = { body: { properties: { slotType: "Production" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -33,7 +33,7 @@ async function putVipSwapOperation() { subscriptionId, groupName, resourceName, - singletonResource + singletonResource, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapGetSample.ts index cd2639e928b0..982d24cd3ee7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - VipSwapGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { VipSwapGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function getSwapResource() { const resourceName = "testCloudService"; const singletonResource = "swap"; const options: VipSwapGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function getSwapResource() { subscriptionId, groupName, resourceName, - singletonResource + singletonResource, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapListSample.ts index 23870b05af9a..5daeb83cb019 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vipSwapListSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - VipSwapListParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { VipSwapListParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function getSwapResourceList() { const groupName = "rg1"; const resourceName = "testCloudService"; const options: VipSwapListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots", subscriptionId, groupName, - resourceName + resourceName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesCreateOrUpdateSample.ts index c2fb8e39fd11..37ce97291407 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualApplianceSitesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -28,11 +28,11 @@ async function createNetworkVirtualApplianceSite() { properties: { addressPrefix: "192.168.1.0/24", o365Policy: { - breakOutCategories: { default: true, allow: true, optimize: true } - } - } + breakOutCategories: { default: true, allow: true, optimize: true }, + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -40,7 +40,7 @@ async function createNetworkVirtualApplianceSite() { subscriptionId, resourceGroupName, networkVirtualApplianceName, - siteName + siteName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesDeleteSample.ts index 5ac5eab5e0e7..0a660e4194a3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualApplianceSitesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteNetworkVirtualApplianceSite() { const networkVirtualApplianceName = "nva"; const siteName = "site1"; const options: VirtualApplianceSitesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteNetworkVirtualApplianceSite() { subscriptionId, resourceGroupName, networkVirtualApplianceName, - siteName + siteName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesGetSample.ts index f088d7f303a9..11079ebc2390 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualApplianceSitesGetParameters + VirtualApplianceSitesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getNetworkVirtualApplianceSite() { const networkVirtualApplianceName = "nva"; const siteName = "site1"; const options: VirtualApplianceSitesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getNetworkVirtualApplianceSite() { subscriptionId, resourceGroupName, networkVirtualApplianceName, - siteName + siteName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesListSample.ts index cad30b99811e..b30cd8ed9d17 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSitesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualApplianceSitesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listAllNetworkVirtualApplianceSitesForAGivenNetworkVirtualApplian const resourceGroupName = "rg1"; const networkVirtualApplianceName = "nva"; const options: VirtualApplianceSitesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites", subscriptionId, resourceGroupName, - networkVirtualApplianceName + networkVirtualApplianceName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -41,6 +41,4 @@ async function listAllNetworkVirtualApplianceSitesForAGivenNetworkVirtualApplian console.log(result); } -listAllNetworkVirtualApplianceSitesForAGivenNetworkVirtualAppliance().catch( - console.error -); +listAllNetworkVirtualApplianceSitesForAGivenNetworkVirtualAppliance().catch(console.error); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusGetSample.ts index d4a8caec1fc1..7a72fc39d2eb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualApplianceSkusGetParameters + VirtualApplianceSkusGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,13 @@ async function networkVirtualApplianceSkuGet() { const subscriptionId = ""; const skuName = "ciscoSdwan"; const options: VirtualApplianceSkusGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}", subscriptionId, - skuName + skuName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusListSample.ts index 6ca21c02073f..14a901be955d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualApplianceSkusListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualApplianceSkusListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function networkVirtualApplianceSkuListResult() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VirtualApplianceSkusListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionCreateOrUpdateSample.ts index eeae62f7f936..e1cfa05f8f31 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubBgpConnectionCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,14 +27,13 @@ async function virtualHubRouteTableV2Put() { body: { properties: { hubVirtualNetworkConnection: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1", }, peerAsn: 20000, - peerIp: "192.168.1.5" - } + peerIp: "192.168.1.5", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -42,7 +41,7 @@ async function virtualHubRouteTableV2Put() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionDeleteSample.ts index 3064a33531d9..6f0a7cd982c6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubBgpConnectionDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function virtualHubRouteTableV2Delete() { const virtualHubName = "hub1"; const connectionName = "conn1"; const options: VirtualHubBgpConnectionDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function virtualHubRouteTableV2Delete() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionGetSample.ts index a314e4753d23..3ee1863b9194 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualHubBgpConnectionGetParameters + VirtualHubBgpConnectionGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { const virtualHubName = "hub1"; const connectionName = "conn1"; const options: VirtualHubBgpConnectionGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { subscriptionId, resourceGroupName, virtualHubName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts index 4b4a5b3e5696..af1ddbe5152e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListAdvertisedRoutesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubBgpConnectionsListAdvertisedRoutesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function virtualRouterPeerListAdvertisedRoutes() { const hubName = "virtualRouter1"; const connectionName = "peer1"; const options: VirtualHubBgpConnectionsListAdvertisedRoutesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function virtualRouterPeerListAdvertisedRoutes() { subscriptionId, resourceGroupName, hubName, - connectionName + connectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListLearnedRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListLearnedRoutesSample.ts index 4de585176bea..e042b31f4af8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListLearnedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListLearnedRoutesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubBgpConnectionsListLearnedRoutesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function virtualRouterPeerListLearnedRoutes() { const hubName = "virtualRouter1"; const connectionName = "peer1"; const options: VirtualHubBgpConnectionsListLearnedRoutesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function virtualRouterPeerListLearnedRoutes() { subscriptionId, resourceGroupName, hubName, - connectionName + connectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListSample.ts index 5dd2c77bc46b..95c5ace35b7c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubBgpConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubBgpConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualHubRouteTableV2List() { const resourceGroupName = "rg1"; const virtualHubName = "hub1"; const options: VirtualHubBgpConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationCreateOrUpdateSample.ts index b84dfe1ab3ef..94ae03b08fc2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubIpConfigurationCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,12 +27,11 @@ async function virtualHubIPConfigurationPut() { body: { properties: { subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -40,7 +39,7 @@ async function virtualHubIPConfigurationPut() { subscriptionId, resourceGroupName, virtualHubName, - ipConfigName + ipConfigName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationDeleteSample.ts index 7adfc677a711..71f9becea20d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubIpConfigurationDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function virtualHubIPConfigurationDelete() { const virtualHubName = "hub1"; const ipConfigName = "ipconfig1"; const options: VirtualHubIpConfigurationDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function virtualHubIPConfigurationDelete() { subscriptionId, resourceGroupName, virtualHubName, - ipConfigName + ipConfigName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationGetSample.ts index 4cbdece9941d..232c1dfda6fb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualHubIpConfigurationGetParameters + VirtualHubIpConfigurationGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { const virtualHubName = "hub1"; const ipConfigName = "ipconfig1"; const options: VirtualHubIpConfigurationGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { subscriptionId, resourceGroupName, virtualHubName, - ipConfigName + ipConfigName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationListSample.ts index 1e4d0ce5a90b..ebce67da1ba7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubIPConfigurationListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubIpConfigurationListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualHubRouteTableV2List() { const resourceGroupName = "rg1"; const virtualHubName = "hub1"; const options: VirtualHubIpConfigurationListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SCreateOrUpdateSample.ts index 4d29a61eaae1..52879805abc5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubRouteTableV2SCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,18 +32,18 @@ async function virtualHubRouteTableV2Put() { destinationType: "CIDR", destinations: ["20.10.0.0/16", "20.20.0.0/16"], nextHopType: "IPAddress", - nextHops: ["10.0.0.68"] + nextHops: ["10.0.0.68"], }, { destinationType: "CIDR", destinations: ["0.0.0.0/0"], nextHopType: "IPAddress", - nextHops: ["10.0.0.68"] - } - ] - } + nextHops: ["10.0.0.68"], + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -51,7 +51,7 @@ async function virtualHubRouteTableV2Put() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SDeleteSample.ts index df2d3a124306..2a208a0b6e74 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubRouteTableV2SDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function virtualHubRouteTableV2Delete() { const virtualHubName = "virtualHub1"; const routeTableName = "virtualHubRouteTable1a"; const options: VirtualHubRouteTableV2SDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function virtualHubRouteTableV2Delete() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SGetSample.ts index d862c7dce86a..22c70e0fe2ba 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualHubRouteTableV2SGetParameters + VirtualHubRouteTableV2SGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { const virtualHubName = "virtualHub1"; const routeTableName = "virtualHubRouteTable1a"; const options: VirtualHubRouteTableV2SGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function virtualHubVirtualHubRouteTableV2Get() { subscriptionId, resourceGroupName, virtualHubName, - routeTableName + routeTableName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SListSample.ts index 1201dc4b9613..32cd482173a5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubRouteTableV2SListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubRouteTableV2SListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualHubRouteTableV2List() { const resourceGroupName = "rg1"; const virtualHubName = "virtualHub1"; const options: VirtualHubRouteTableV2SListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsCreateOrUpdateSample.ts index 1839d988940b..8d0dc1d29fb5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -29,20 +29,19 @@ async function virtualHubPut() { addressPrefix: "10.168.0.0/24", sku: "Basic", virtualWan: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1", + }, }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsDeleteSample.ts index ecab9e2d4abb..3ce86fe207b1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualHubDelete() { const resourceGroupName = "rg1"; const virtualHubName = "virtualHub1"; const options: VirtualHubsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetEffectiveVirtualHubRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetEffectiveVirtualHubRoutesSample.ts index 3bbde279c3df..e417eff046ee 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetEffectiveVirtualHubRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetEffectiveVirtualHubRoutesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubsGetEffectiveVirtualHubRoutesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,16 +26,16 @@ async function effectiveRoutesForAConnectionResource() { body: { resourceId: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", - virtualWanResourceType: "ExpressRouteConnection" + virtualWanResourceType: "ExpressRouteConnection", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -60,16 +60,16 @@ async function effectiveRoutesForARouteTableResource() { body: { resourceId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", - virtualWanResourceType: "RouteTable" + virtualWanResourceType: "RouteTable", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -92,14 +92,14 @@ async function effectiveRoutesForTheVirtualHub() { const virtualHubName = "virtualHub1"; const options: VirtualHubsGetEffectiveVirtualHubRoutesParameters = { body: {}, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetInboundRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetInboundRoutesSample.ts index b0a86aaeb6b5..483615feb7b9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetInboundRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetInboundRoutesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubsGetInboundRoutesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,16 +26,16 @@ async function inboundRoutesForTheVirtualHubOnAParticularConnection() { body: { connectionType: "ExpressRouteConnection", resourceUri: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/inboundRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetOutboundRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetOutboundRoutesSample.ts index e08c5082f8bd..ca660977eeae 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetOutboundRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetOutboundRoutesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubsGetOutboundRoutesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,16 +26,16 @@ async function outboundRoutesForTheVirtualHubOnAParticularConnection() { body: { connectionType: "ExpressRouteConnection", resourceUri: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/outboundRoutes", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetSample.ts index 8eb0cf3f0d57..e22239480ee8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - VirtualHubsGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { VirtualHubsGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function virtualHubGet() { const resourceGroupName = "rg1"; const virtualHubName = "virtualHub1"; const options: VirtualHubsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListByResourceGroupSample.ts index 3c0cf38e8fe1..d26b37213040 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function virtualHubListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VirtualHubsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListSample.ts index a45a449ea2a5..3f26e52f4d3e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualHubsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,10 @@ async function virtualHubList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VirtualHubsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsUpdateTagsSample.ts index 2bd38267a152..2fdee2b1101a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualHubsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualHubsUpdateTagsParameters + VirtualHubsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualHubUpdate() { const virtualHubName = "virtualHub2"; const options: VirtualHubsUpdateTagsParameters = { body: { tags: { key1: "value1", key2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", subscriptionId, resourceGroupName, - virtualHubName + virtualHubName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts index e71c38d70ebd..23aec1854ab3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,90 +32,83 @@ async function createVirtualNetworkGatewayConnectionS2S() { dpdTimeoutSeconds: 30, egressNatRules: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + }, ], enableBgp: false, gatewayCustomBgpIpAddresses: [ { customBgpIpAddress: "169.254.21.1", ipConfigurationId: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default", }, { customBgpIpAddress: "169.254.21.3", ipConfigurationId: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" - } + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive", + }, ], ingressNatRules: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + }, ], ipsecPolicies: [], localNetworkGateway2: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", location: "centralus", properties: { gatewayIpAddress: "x.x.x.x", - localNetworkAddressSpace: { addressPrefixes: ["10.1.0.0/16"] } + localNetworkAddressSpace: { addressPrefixes: ["10.1.0.0/16"] }, }, - tags: {} + tags: {}, }, routingWeight: 0, sharedKey: "Abc123", trafficSelectorPolicies: [], usePolicyBasedTrafficSelectors: false, virtualNetworkGateway1: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", location: "centralus", properties: { activeActive: false, bgpSettings: { asn: 65514, bgpPeeringAddress: "10.0.1.30", - peerWeight: 0 + peerWeight: 0, }, enableBgp: false, gatewayType: "Vpn", ipConfigurations: [ { name: "gwipconfig1", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", properties: { privateIPAllocationMethod: "Dynamic", publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet", + }, + }, + }, ], sku: { name: "VpnGw1", tier: "VpnGw1" }, - vpnType: "RouteBased" + vpnType: "RouteBased", }, - tags: {} - } - } + tags: {}, + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsDeleteSample.ts index 511d4acc76df..59820783f4a3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteVirtualNetworkGatewayConnection() { const resourceGroupName = "rg1"; const virtualNetworkGatewayConnectionName = "conn1"; const options: VirtualNetworkGatewayConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetIkeSasSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetIkeSasSample.ts index 44a709a9452a..870382e31d76 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetIkeSasSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetIkeSasSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsGetIkeSasParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getVirtualNetworkGatewayConnectionIkeSa() { const resourceGroupName = "rg1"; const virtualNetworkGatewayConnectionName = "vpngwcn1"; const options: VirtualNetworkGatewayConnectionsGetIkeSasParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSample.ts index 43315c2fbc3e..7493e8679483 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkGatewayConnectionsGetParameters + VirtualNetworkGatewayConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getVirtualNetworkGatewayConnection() { const resourceGroupName = "rg1"; const virtualNetworkGatewayConnectionName = "connS2S"; const options: VirtualNetworkGatewayConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSharedKeySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSharedKeySample.ts index ad1b7e80a989..807a90e5a0da 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsGetSharedKeySample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkGatewayConnectionsGetSharedKeyParameters + VirtualNetworkGatewayConnectionsGetSharedKeyParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getVirtualNetworkGatewayConnectionSharedKey() { const resourceGroupName = "rg1"; const virtualNetworkGatewayConnectionName = "connS2S"; const options: VirtualNetworkGatewayConnectionsGetSharedKeyParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsListSample.ts index f817b26806bc..ae37ed344657 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listVirtualNetworkGatewayConnectionsinResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VirtualNetworkGatewayConnectionsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetConnectionSample.ts index 506b0bd666ad..6ee14dc84ae5 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetConnectionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsResetConnectionParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function resetVirtualNetworkGatewayConnection() { const resourceGroupName = "rg1"; const virtualNetworkGatewayConnectionName = "conn1"; const options: VirtualNetworkGatewayConnectionsResetConnectionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetSharedKeySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetSharedKeySample.ts index 7bb9001dbc8f..b11b9f616a4a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsResetSharedKeySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsResetSharedKeyParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function resetVirtualNetworkGatewayConnectionSharedKey() { const virtualNetworkGatewayConnectionName = "conn1"; const options: VirtualNetworkGatewayConnectionsResetSharedKeyParameters = { body: { keyLength: 128 }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsSetSharedKeySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsSetSharedKeySample.ts index b6a759fdd9db..36541625749d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsSetSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsSetSharedKeySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsSetSharedKeyParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function setVirtualNetworkGatewayConnectionSharedKey() { const virtualNetworkGatewayConnectionName = "connS2S"; const options: VirtualNetworkGatewayConnectionsSetSharedKeyParameters = { body: { value: "AzureAbc123" }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts index a91c1d7d5817..e9bf106a4c1d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStartPacketCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsStartPacketCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function startPacketCaptureOnVirtualNetworkGatewayConnectionWithFilter() { const options: VirtualNetworkGatewayConnectionsStartPacketCaptureParameters = { body: { filterData: - "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -42,9 +42,7 @@ async function startPacketCaptureOnVirtualNetworkGatewayConnectionWithFilter() { console.log(result); } -startPacketCaptureOnVirtualNetworkGatewayConnectionWithFilter().catch( - console.error -); +startPacketCaptureOnVirtualNetworkGatewayConnectionWithFilter().catch(console.error); /** * This sample demonstrates how to Starts packet capture on virtual network gateway connection in the specified resource group. * @@ -58,14 +56,14 @@ async function startPacketCaptureOnVirtualNetworkGatewayConnectionWithoutFilter( const resourceGroupName = "rg1"; const virtualNetworkGatewayConnectionName = "vpngwcn1"; const options: VirtualNetworkGatewayConnectionsStartPacketCaptureParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -73,6 +71,4 @@ async function startPacketCaptureOnVirtualNetworkGatewayConnectionWithoutFilter( console.log(result); } -startPacketCaptureOnVirtualNetworkGatewayConnectionWithoutFilter().catch( - console.error -); +startPacketCaptureOnVirtualNetworkGatewayConnectionWithoutFilter().catch(console.error); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts index 9c8155061f42..895bd6b66b78 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsStopPacketCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsStopPacketCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function stopPacketCaptureOnVirtualNetworkGatewayConnection() { const options: VirtualNetworkGatewayConnectionsStopPacketCaptureParameters = { body: { sasUrl: - "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsUpdateTagsSample.ts index 88da4422d01c..1be14b42b5fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayConnectionsUpdateTagsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayConnectionsUpdateTagsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function updateVirtualNetworkGatewayConnectionTags() { const virtualNetworkGatewayConnectionName = "test"; const options: VirtualNetworkGatewayConnectionsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts index 8b8dd523983e..11b0a671584b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayNatRulesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,18 +27,14 @@ async function virtualNetworkGatewayNatRulePut() { body: { properties: { type: "Static", - externalMappings: [ - { addressSpace: "192.168.21.0/24", portRange: "300-400" } - ], - internalMappings: [ - { addressSpace: "10.4.0.0/24", portRange: "200-300" } - ], + externalMappings: [{ addressSpace: "192.168.21.0/24", portRange: "300-400" }], + internalMappings: [{ addressSpace: "10.4.0.0/24", portRange: "200-300" }], ipConfigurationId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", - mode: "EgressSnat" - } + mode: "EgressSnat", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -46,7 +42,7 @@ async function virtualNetworkGatewayNatRulePut() { subscriptionId, resourceGroupName, virtualNetworkGatewayName, - natRuleName + natRuleName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesDeleteSample.ts index 5c4f1a19e781..6e9697ed30b0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayNatRulesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function virtualNetworkGatewayNatRuleDelete() { const virtualNetworkGatewayName = "gateway1"; const natRuleName = "natRule1"; const options: VirtualNetworkGatewayNatRulesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function virtualNetworkGatewayNatRuleDelete() { subscriptionId, resourceGroupName, virtualNetworkGatewayName, - natRuleName + natRuleName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesGetSample.ts index 6b3aaff5c1aa..59077c4c8c2c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkGatewayNatRulesGetParameters + VirtualNetworkGatewayNatRulesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function virtualNetworkGatewayNatRuleGet() { const virtualNetworkGatewayName = "gateway1"; const natRuleName = "natRule1"; const options: VirtualNetworkGatewayNatRulesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function virtualNetworkGatewayNatRuleGet() { subscriptionId, resourceGroupName, virtualNetworkGatewayName, - natRuleName + natRuleName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts index a1b77d9c8833..ebb137024267 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualNetworkGatewayNatRuleList() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "gateway1"; const options: VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysCreateOrUpdateSample.ts index bfd1c6bf4040..e3aaab12d46c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,7 +30,7 @@ async function updateVirtualNetworkGateway() { bgpSettings: { asn: 65515, bgpPeeringAddress: "10.0.1.30", - peerWeight: 0 + peerWeight: 0, }, customRoutes: { addressPrefixes: ["101.168.0.6/32"] }, disableIPSecReplayProtection: false, @@ -44,41 +44,37 @@ async function updateVirtualNetworkGateway() { properties: { privateIPAllocationMethod: "Dynamic", publicIPAddress: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip", }, subnet: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet", + }, + }, + }, ], natRules: [ { name: "natRule1", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", properties: { type: "Static", externalMappings: [{ addressSpace: "50.0.0.0/24" }], internalMappings: [{ addressSpace: "10.10.0.0/24" }], ipConfigurationId: "", - mode: "EgressSnat" - } + mode: "EgressSnat", + }, }, { name: "natRule2", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", properties: { type: "Static", externalMappings: [{ addressSpace: "30.0.0.0/24" }], internalMappings: [{ addressSpace: "20.10.0.0/24" }], ipConfigurationId: "", - mode: "IngressSnat" - } - } + mode: "IngressSnat", + }, + }, ], sku: { name: "VpnGw1", tier: "VpnGw1" }, vpnClientConfiguration: { @@ -86,24 +82,24 @@ async function updateVirtualNetworkGateway() { { radiusServerAddress: "10.2.0.0", radiusServerScore: 20, - radiusServerSecret: "radiusServerSecret" - } + radiusServerSecret: "radiusServerSecret", + }, ], vpnClientProtocols: ["OpenVPN"], vpnClientRevokedCertificates: [], - vpnClientRootCertificates: [] + vpnClientRootCertificates: [], }, - vpnType: "RouteBased" - } + vpnType: "RouteBased", + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDeleteSample.ts index bff114016b7d..29a3521d37d6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteVirtualNetworkGateway() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts index 52c33b78f81a..f0a4b3407e50 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function disconnectVpnConnectionsFromVirtualNetworkGateway() { const virtualNetworkGatewayName = "vpngateway"; const options: VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsParameters = { body: { vpnConnectionIds: ["vpnconnId1", "vpnconnId2"] }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGenerateVpnProfileSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGenerateVpnProfileSample.ts index f82562a9cd65..99d07c672b29 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGenerateVpnProfileSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGenerateVpnProfileSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysGenerateVpnProfileParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function generateVirtualNetworkGatewayVpnProfile() { const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysGenerateVpnProfileParameters = { body: {}, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts index a73c2506288e..113865c23b6c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGeneratevpnclientpackageSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysGeneratevpnclientpackageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function generateVpnClientPackage() { const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysGeneratevpnclientpackageParameters = { body: {}, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts index bbad3f2b5963..d00d0a541480 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetAdvertisedRoutesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysGetAdvertisedRoutesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getVirtualNetworkGatewayAdvertisedRoutes() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysGetAdvertisedRoutesParameters = { - queryParameters: { peer: "test", "api-version": "2022-05-01" } + queryParameters: { peer: "test", "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetBgpPeerStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetBgpPeerStatusSample.ts index b91f03c2f42a..a94006c13166 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetBgpPeerStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetBgpPeerStatusSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysGetBgpPeerStatusParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getVirtualNetworkGatewayBgpPeerStatus() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysGetBgpPeerStatusParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetLearnedRoutesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetLearnedRoutesSample.ts index 7ebf5dfe4e06..16793cc3ca77 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetLearnedRoutesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetLearnedRoutesSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysGetLearnedRoutesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getVirtualNetworkGatewayLearnedRoutes() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysGetLearnedRoutesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetSample.ts index 6a5e941116c6..c5d1acd7b3bd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkGatewaysGetParameters + VirtualNetworkGatewaysGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getVirtualNetworkGateway() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts index a6696fdb7cce..cb7b70dfe5e1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnProfilePackageUrlSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysGetVpnProfilePackageUrlParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getVirtualNetworkGatewayVpnProfilePackageUrl() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysGetVpnProfilePackageUrlParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts index 30f3fc81e0ba..7c50acf63d48 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientConnectionHealthSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysGetVpnclientConnectionHealthParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getVirtualNetworkGatewayVpnclientConnectionHealth() { const resourceGroupName = "p2s-vnet-test"; const virtualNetworkGatewayName = "vpnp2sgw"; const options: VirtualNetworkGatewaysGetVpnclientConnectionHealthParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts index f0c6ec61ed5e..1541d612c58b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysGetVpnclientIpsecParametersSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysGetVpnclientIpsecParametersParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getVirtualNetworkGatewayVpnClientIpsecParameters() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysGetVpnclientIpsecParametersParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListConnectionsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListConnectionsSample.ts index 8dbae4b2917a..43fd1def4709 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListConnectionsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListConnectionsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysListConnectionsParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualNetworkGatewaysListConnections() { const resourceGroupName = "testrg"; const virtualNetworkGatewayName = "test-vpn-gateway-1"; const options: VirtualNetworkGatewaysListConnectionsParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListSample.ts index 71d90718c0fe..58d7608d97f9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listVirtualNetworkGatewaysinResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VirtualNetworkGatewaysListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetSample.ts index 12d2cd1afec7..dce353e648ff 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysResetParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function resetVirtualNetworkGateway() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysResetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts index 9eb020ca8ca5..c539cb1aa462 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysResetVpnClientSharedKeySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysResetVpnClientSharedKeyParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function resetVpnClientSharedKey() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysResetVpnClientSharedKeyParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts index f2d70a6f44ce..eee37ad80a3b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSetVpnclientIpsecParametersSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysSetVpnclientIpsecParametersParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,16 +31,16 @@ async function setVirtualNetworkGatewayVpnClientIpsecParameters() { ipsecIntegrity: "SHA256", pfsGroup: "PFS2", saDataSizeKilobytes: 429497, - saLifeTimeSeconds: 86473 + saLifeTimeSeconds: 86473, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStartPacketCaptureSample.ts index 71d269ed1cbc..26a1f3681a0a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStartPacketCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysStartPacketCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function startPacketCaptureOnVirtualNetworkGatewayWithFilter() { const options: VirtualNetworkGatewaysStartPacketCaptureParameters = { body: { filterData: - "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -56,14 +56,14 @@ async function startPacketCaptureOnVirtualNetworkGatewayWithoutFilter() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysStartPacketCaptureParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStopPacketCaptureSample.ts index a11459c2eaf2..39e7143ded33 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysStopPacketCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysStopPacketCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function stopPacketCaptureOnVirtualNetworkGateway() { const options: VirtualNetworkGatewaysStopPacketCaptureParameters = { body: { sasUrl: - "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSupportedVpnDevicesSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSupportedVpnDevicesSample.ts index 549929b33230..3d1eddf41281 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSupportedVpnDevicesSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysSupportedVpnDevicesSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkGatewaysSupportedVpnDevicesParameters + VirtualNetworkGatewaysSupportedVpnDevicesParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function listVirtualNetworkGatewaySupportedVpnDevices() { const resourceGroupName = "rg1"; const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysSupportedVpnDevicesParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysUpdateTagsSample.ts index bc5eb1f50963..11e316395550 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysUpdateTagsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkGatewaysUpdateTagsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function updateVirtualNetworkGatewayTags() { const virtualNetworkGatewayName = "vpngw"; const options: VirtualNetworkGatewaysUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", subscriptionId, resourceGroupName, - virtualNetworkGatewayName + virtualNetworkGatewayName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts index 0891cb6ea387..91b40e266611 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkGatewaysVpnDeviceConfigurationScriptSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkGatewaysVpnDeviceConfigurationScriptParameters + VirtualNetworkGatewaysVpnDeviceConfigurationScriptParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function getVpnDeviceConfigurationScript() { body: { deviceFamily: "ISR", firmwareVersion: "IOS 15.1 (Preview)", - vendor: "Cisco" + vendor: "Cisco", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript", subscriptionId, resourceGroupName, - virtualNetworkGatewayConnectionName + virtualNetworkGatewayConnectionName, ) .post(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsCreateOrUpdateSample.ts index 19b18108b8f9..b4e30a54d784 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkPeeringsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -30,13 +30,12 @@ async function createPeering() { allowGatewayTransit: false, allowVirtualNetworkAccess: true, remoteVirtualNetwork: { - id: - "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + id: "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2", }, - useRemoteGateways: false - } + useRemoteGateways: false, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -44,7 +43,7 @@ async function createPeering() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -73,13 +72,12 @@ async function createPeeringWithRemoteVirtualNetworkEncryption() { allowGatewayTransit: false, allowVirtualNetworkAccess: true, remoteVirtualNetwork: { - id: - "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + id: "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2", }, - useRemoteGateways: false - } + useRemoteGateways: false, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -87,7 +85,7 @@ async function createPeeringWithRemoteVirtualNetworkEncryption() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -116,16 +114,15 @@ async function syncPeering() { allowGatewayTransit: false, allowVirtualNetworkAccess: true, remoteVirtualNetwork: { - id: - "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + id: "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2", }, - useRemoteGateways: false - } + useRemoteGateways: false, + }, }, queryParameters: { syncRemoteAddressSpace: "true", - "api-version": "2022-05-01" - } + "api-version": "2022-05-01", + }, }; const initialResponse = await client .path( @@ -133,7 +130,7 @@ async function syncPeering() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsDeleteSample.ts index 5578e3ee28aa..b0d007f14bca 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkPeeringsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deletePeering() { const virtualNetworkName = "vnet1"; const virtualNetworkPeeringName = "peer"; const options: VirtualNetworkPeeringsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deletePeering() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsGetSample.ts index 6a1b3352827e..63c95d356973 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkPeeringsGetParameters + VirtualNetworkPeeringsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getPeering() { const virtualNetworkName = "vnet1"; const virtualNetworkPeeringName = "peer"; const options: VirtualNetworkPeeringsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getPeering() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .get(options); console.log(result); @@ -52,7 +52,7 @@ async function getPeeringWithRemoteVirtualNetworkEncryption() { const virtualNetworkName = "vnet1"; const virtualNetworkPeeringName = "peer"; const options: VirtualNetworkPeeringsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -60,7 +60,7 @@ async function getPeeringWithRemoteVirtualNetworkEncryption() { subscriptionId, resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName + virtualNetworkPeeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsListSample.ts index 150d312a58fe..df64c1ff057b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkPeeringsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkPeeringsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listPeerings() { const resourceGroupName = "peerTest"; const virtualNetworkName = "vnet1"; const options: VirtualNetworkPeeringsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -55,14 +55,14 @@ async function listPeeringsWithRemoteVirtualNetworkEncryption() { const resourceGroupName = "peerTest"; const virtualNetworkName = "vnet1"; const options: VirtualNetworkPeeringsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsCreateOrUpdateSample.ts index c534aae768de..c125b06449bc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkTapsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,19 +27,18 @@ async function createVirtualNetworkTap() { location: "centraluseuap", properties: { destinationNetworkInterfaceIPConfiguration: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1", + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", subscriptionId, resourceGroupName, - tapName + tapName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsDeleteSample.ts index cb2000f6aee9..0fbb94d2b8cf 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkTapsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteVirtualNetworkTapResource() { const resourceGroupName = "rg1"; const tapName = "test-vtap"; const options: VirtualNetworkTapsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", subscriptionId, resourceGroupName, - tapName + tapName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsGetSample.ts index c6f3a739ef57..d4d4cbd21996 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkTapsGetParameters + VirtualNetworkTapsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getVirtualNetworkTap() { const resourceGroupName = "rg1"; const tapName = "testvtap"; const options: VirtualNetworkTapsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", subscriptionId, resourceGroupName, - tapName + tapName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListAllSample.ts index c8e5d53f1733..0417b3bf2f2b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkTapsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllVirtualNetworkTaps() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VirtualNetworkTapsListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListByResourceGroupSample.ts index 0e46d62a8c0a..0949bd0394df 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworkTapsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listVirtualNetworkTapsInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VirtualNetworkTapsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsUpdateTagsSample.ts index 2d43707b697f..0badb785b657 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworkTapsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworkTapsUpdateTagsParameters + VirtualNetworkTapsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateVirtualNetworkTapTags() { const tapName = "test-vtap"; const options: VirtualNetworkTapsUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", subscriptionId, resourceGroupName, - tapName + tapName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCheckIPAddressAvailabilitySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCheckIPAddressAvailabilitySample.ts index 706cf5d4efc4..e5f69c1bff0b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCheckIPAddressAvailabilitySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCheckIPAddressAvailabilitySample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworksCheckIPAddressAvailabilityParameters + VirtualNetworksCheckIPAddressAvailabilityParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function checkIPAddressAvailability() { const resourceGroupName = "rg1"; const virtualNetworkName = "test-vnet"; const options: VirtualNetworksCheckIPAddressAvailabilityParameters = { - queryParameters: { ipAddress: "10.0.1.4", "api-version": "2022-05-01" } + queryParameters: { ipAddress: "10.0.1.4", "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCreateOrUpdateSample.ts index 78c06dd9e2b5..72efb388d820 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworksCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,17 +27,17 @@ async function createVirtualNetwork() { location: "eastus", properties: { addressSpace: { addressPrefixes: ["10.0.0.0/16"] }, - flowTimeoutInMinutes: 10 - } + flowTimeoutInMinutes: 10, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -64,19 +64,17 @@ async function createVirtualNetworkWithBgpCommunities() { properties: { addressSpace: { addressPrefixes: ["10.0.0.0/16"] }, bgpCommunities: { virtualNetworkCommunity: "12076:20000" }, - subnets: [ - { name: "test-1", properties: { addressPrefix: "10.0.0.0/24" } } - ] - } + subnets: [{ name: "test-1", properties: { addressPrefix: "10.0.0.0/24" } }], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -110,22 +108,22 @@ async function createVirtualNetworkWithDelegatedSubnets() { delegations: [ { name: "myDelegation", - properties: { serviceName: "Microsoft.Sql/managedInstances" } - } - ] - } - } - ] - } + properties: { serviceName: "Microsoft.Sql/managedInstances" }, + }, + ], + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -152,19 +150,17 @@ async function createVirtualNetworkWithEncryption() { properties: { addressSpace: { addressPrefixes: ["10.0.0.0/16"] }, encryption: { enabled: true, enforcement: "AllowUnencrypted" }, - subnets: [ - { name: "test-1", properties: { addressPrefix: "10.0.0.0/24" } } - ] - } + subnets: [{ name: "test-1", properties: { addressPrefix: "10.0.0.0/24" } }], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -195,20 +191,20 @@ async function createVirtualNetworkWithServiceEndpoints() { name: "test-1", properties: { addressPrefix: "10.0.0.0/16", - serviceEndpoints: [{ service: "Microsoft.Storage" }] - } - } - ] - } + serviceEndpoints: [{ service: "Microsoft.Storage" }], + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -241,24 +237,23 @@ async function createVirtualNetworkWithServiceEndpointsAndServiceEndpointPolicy( addressPrefix: "10.0.0.0/16", serviceEndpointPolicies: [ { - id: - "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" - } + id: "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1", + }, ], - serviceEndpoints: [{ service: "Microsoft.Storage" }] - } - } - ] - } + serviceEndpoints: [{ service: "Microsoft.Storage" }], + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -266,9 +261,7 @@ async function createVirtualNetworkWithServiceEndpointsAndServiceEndpointPolicy( console.log(result); } -createVirtualNetworkWithServiceEndpointsAndServiceEndpointPolicy().catch( - console.error -); +createVirtualNetworkWithServiceEndpointsAndServiceEndpointPolicy().catch(console.error); /** * This sample demonstrates how to Creates or updates a virtual network in the specified resource group. * @@ -286,19 +279,17 @@ async function createVirtualNetworkWithSubnet() { location: "eastus", properties: { addressSpace: { addressPrefixes: ["10.0.0.0/16"] }, - subnets: [ - { name: "test-1", properties: { addressPrefix: "10.0.0.0/24" } } - ] - } + subnets: [{ name: "test-1", properties: { addressPrefix: "10.0.0.0/24" } }], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); @@ -327,19 +318,19 @@ async function createVirtualNetworkWithSubnetContainingAddressPrefixes() { subnets: [ { name: "test-2", - properties: { addressPrefixes: ["10.0.0.0/28", "10.0.1.0/28"] } - } - ] - } + properties: { addressPrefixes: ["10.0.0.0/28", "10.0.1.0/28"] }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksDeleteSample.ts index bdea489647cc..c5a5ead50520 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworksDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteVirtualNetwork() { const resourceGroupName = "rg1"; const virtualNetworkName = "test-vnet"; const options: VirtualNetworksDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksGetSample.ts index bec10582824c..83f3957967c1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworksGetParameters + VirtualNetworksGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getVirtualNetwork() { const resourceGroupName = "rg1"; const virtualNetworkName = "test-vnet"; const options: VirtualNetworksGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); console.log(result); @@ -49,14 +49,14 @@ async function getVirtualNetworkWithADelegatedSubnet() { const resourceGroupName = "rg1"; const virtualNetworkName = "test-vnet"; const options: VirtualNetworksGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); console.log(result); @@ -76,14 +76,14 @@ async function getVirtualNetworkWithServiceAssociationLinks() { const resourceGroupName = "rg1"; const virtualNetworkName = "test-vnet"; const options: VirtualNetworksGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListAllSample.ts index 1f4cc0fb66b7..d164a4522a47 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworksListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllVirtualNetworks() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VirtualNetworksListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListDdosProtectionStatusSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListDdosProtectionStatusSample.ts index f7b182099168..90954c52544e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListDdosProtectionStatusSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListDdosProtectionStatusSample.ts @@ -6,7 +6,7 @@ import createNetworkManagementClient, { VirtualNetworksListDdosProtectionStatusParameters, // getLongRunningPoller, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function getDdosProtectionStatusOfAVirtualNetwork() { const resourceGroupName = "rg1"; const virtualNetworkName = "test-vnet"; const options: VirtualNetworksListDdosProtectionStatusParameters = { - queryParameters: { top: 75, "api-version": "2022-05-01" } + queryParameters: { top: 75, "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .post(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListSample.ts index a512a89880bd..84325896549c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworksListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listVirtualNetworksInResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VirtualNetworksListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListUsageSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListUsageSample.ts index 665168cfa0ac..5eeb5cc46f5a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListUsageSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksListUsageSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualNetworksListUsageParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function vnetGetUsage() { const resourceGroupName = "rg1"; const virtualNetworkName = "vnetName"; const options: VirtualNetworksListUsageParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksUpdateTagsSample.ts index fddb87c780e3..61aa7ae4d503 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualNetworksUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualNetworksUpdateTagsParameters + VirtualNetworksUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function updateVirtualNetworkTags() { const virtualNetworkName = "test-vnet"; const options: VirtualNetworksUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", subscriptionId, resourceGroupName, - virtualNetworkName + virtualNetworkName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsCreateOrUpdateSample.ts index 2445e41ce9f7..3643388482b1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualRouterPeeringsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function createVirtualRouterPeering() { const peeringName = "peering1"; const options: VirtualRouterPeeringsCreateOrUpdateParameters = { body: { properties: { peerAsn: 20000, peerIp: "192.168.1.5" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -33,7 +33,7 @@ async function createVirtualRouterPeering() { subscriptionId, resourceGroupName, virtualRouterName, - peeringName + peeringName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsDeleteSample.ts index 63dcb562e9fa..198eb7cd029c 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualRouterPeeringsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function deleteVirtualRouterPeering() { const virtualRouterName = "virtualRouter"; const peeringName = "peering1"; const options: VirtualRouterPeeringsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function deleteVirtualRouterPeering() { subscriptionId, resourceGroupName, virtualRouterName, - peeringName + peeringName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsGetSample.ts index fe39373efc92..0944b0cfe9fc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualRouterPeeringsGetParameters + VirtualRouterPeeringsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function getVirtualRouterPeering() { const virtualRouterName = "virtualRouter"; const peeringName = "peering1"; const options: VirtualRouterPeeringsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function getVirtualRouterPeering() { subscriptionId, resourceGroupName, virtualRouterName, - peeringName + peeringName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsListSample.ts index d706318dffd5..ad3512ca5c26 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRouterPeeringsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualRouterPeeringsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function listAllVirtualRouterPeeringsForAGivenVirtualRouter() { const resourceGroupName = "rg1"; const virtualRouterName = "virtualRouter"; const options: VirtualRouterPeeringsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings", subscriptionId, resourceGroupName, - virtualRouterName + virtualRouterName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersCreateOrUpdateSample.ts index 5cf8c58d1d85..85248243a25a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualRoutersCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,20 +27,19 @@ async function createVirtualRouter() { location: "West US", properties: { hostedGateway: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway", + }, }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", subscriptionId, resourceGroupName, - virtualRouterName + virtualRouterName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersDeleteSample.ts index 87a33b813e72..2b62340a8a6e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualRoutersDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deleteVirtualRouter() { const resourceGroupName = "rg1"; const virtualRouterName = "virtualRouter"; const options: VirtualRoutersDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", subscriptionId, resourceGroupName, - virtualRouterName + virtualRouterName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersGetSample.ts index ba24fed0ea99..6fdf544088ef 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualRoutersGetParameters + VirtualRoutersGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getVirtualRouter() { const resourceGroupName = "rg1"; const virtualRouterName = "virtualRouter"; const options: VirtualRoutersGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", subscriptionId, resourceGroupName, - virtualRouterName + virtualRouterName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListByResourceGroupSample.ts index 749832097dce..557f3f1fb2fd 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualRoutersListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listAllVirtualRouterForAGivenResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VirtualRoutersListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListSample.ts index 941c952d4391..a590f3d82fcc 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualRoutersListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualRoutersListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllVirtualRoutersForAGivenSubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VirtualRoutersListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansCreateOrUpdateSample.ts index c8788da04140..7b5929474a99 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualWansCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -26,16 +26,16 @@ async function virtualWanCreate() { body: { location: "West US", properties: { type: "Basic", disableVpnEncryption: false }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId, resourceGroupName, - VirtualWANName + VirtualWANName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansDeleteSample.ts index 917f0c52bbb5..c70a51be7dca 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualWansDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualWanDelete() { const resourceGroupName = "rg1"; const VirtualWANName = "virtualWan1"; const options: VirtualWansDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId, resourceGroupName, - VirtualWANName + VirtualWANName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansGetSample.ts index 09e035b06d90..b1d89654d43b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - VirtualWansGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { VirtualWansGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function virtualWanGet() { const resourceGroupName = "rg1"; const VirtualWANName = "wan1"; const options: VirtualWansGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId, resourceGroupName, - VirtualWANName + VirtualWANName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListByResourceGroupSample.ts index ba429c914846..3cac84d1b450 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualWansListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function virtualWanListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VirtualWansListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListSample.ts index 0982e711bd1a..37a6aefa31d0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VirtualWansListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,10 @@ async function virtualWanList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VirtualWansListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansUpdateTagsSample.ts index 02081b5565b7..7042f6f51099 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/virtualWansUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VirtualWansUpdateTagsParameters + VirtualWansUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function virtualWanUpdate() { const VirtualWANName = "wan1"; const options: VirtualWansUpdateTagsParameters = { body: { tags: { key1: "value1", key2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", subscriptionId, resourceGroupName, - VirtualWANName + VirtualWANName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsCreateOrUpdateSample.ts index 3f22aced98ba..37c8015188bb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnConnectionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,39 +27,32 @@ async function vpnConnectionPut() { body: { properties: { remoteVpnSite: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", }, routingConfiguration: { associatedRouteTable: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1", }, inboundRouteMap: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", }, outboundRouteMap: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2", }, propagatedRouteTables: { ids: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1", }, { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2", }, { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3", + }, ], - labels: ["label1", "label2"] - } + labels: ["label1", "label2"], + }, }, trafficSelectorPolicies: [], vpnLinkConnections: [ @@ -72,15 +65,14 @@ async function vpnConnectionPut() { vpnConnectionProtocolType: "IKEv2", vpnLinkConnectionMode: "Default", vpnSiteLink: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" - } - } - } - ] - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1", + }, + }, + }, + ], + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -88,7 +80,7 @@ async function vpnConnectionPut() { subscriptionId, resourceGroupName, gatewayName, - connectionName + connectionName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsDeleteSample.ts index ba651c28b54a..9d1400da1ad6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnConnectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function vpnConnectionDelete() { const gatewayName = "gateway1"; const connectionName = "vpnConnection1"; const options: VpnConnectionsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function vpnConnectionDelete() { subscriptionId, resourceGroupName, gatewayName, - connectionName + connectionName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsGetSample.ts index 7234dcd1daf3..b81ee0873f28 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VpnConnectionsGetParameters + VpnConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +23,7 @@ async function vpnConnectionGet() { const gatewayName = "gateway1"; const connectionName = "vpnConnection1"; const options: VpnConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +31,7 @@ async function vpnConnectionGet() { subscriptionId, resourceGroupName, gatewayName, - connectionName + connectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsListByVpnGatewaySample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsListByVpnGatewaySample.ts index 9e67a7bb0530..b21725999395 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsListByVpnGatewaySample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsListByVpnGatewaySample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnConnectionsListByVpnGatewayParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function vpnConnectionList() { const resourceGroupName = "rg1"; const gatewayName = "gateway1"; const options: VpnConnectionsListByVpnGatewayParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStartPacketCaptureSample.ts index 2c7ebcc6e2da..379a624cb85b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStartPacketCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnConnectionsStartPacketCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,9 +27,9 @@ async function startPacketCaptureOnVpnConnectionWithFilter() { body: { filterData: "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}", - linkConnectionNames: ["siteLink1", "siteLink2"] + linkConnectionNames: ["siteLink1", "siteLink2"], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -37,7 +37,7 @@ async function startPacketCaptureOnVpnConnectionWithFilter() { subscriptionId, resourceGroupName, gatewayName, - vpnConnectionName + vpnConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -61,7 +61,7 @@ async function startPacketCaptureOnVpnConnectionWithoutFilter() { const vpnConnectionName = "vpnConnection1"; const options: VpnConnectionsStartPacketCaptureParameters = { body: { linkConnectionNames: ["siteLink1", "siteLink2"] }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -69,7 +69,7 @@ async function startPacketCaptureOnVpnConnectionWithoutFilter() { subscriptionId, resourceGroupName, gatewayName, - vpnConnectionName + vpnConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStopPacketCaptureSample.ts index 23d4800be77a..85092f836e9b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnConnectionsStopPacketCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnConnectionsStopPacketCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,9 +27,9 @@ async function startPacketCaptureOnVpnConnectionWithoutFilter() { body: { linkConnectionNames: ["vpnSiteLink1", "vpnSiteLink2"], sasUrl: - "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -37,7 +37,7 @@ async function startPacketCaptureOnVpnConnectionWithoutFilter() { subscriptionId, resourceGroupName, gatewayName, - vpnConnectionName + vpnConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysCreateOrUpdateSample.ts index ede54cc41530..b33cf2e2a19d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -31,22 +31,21 @@ async function vpnGatewayPut() { bgpPeeringAddresses: [ { customBgpIpAddresses: ["169.254.21.5"], - ipconfigurationId: "Instance0" + ipconfigurationId: "Instance0", }, { customBgpIpAddresses: ["169.254.21.10"], - ipconfigurationId: "Instance1" - } + ipconfigurationId: "Instance1", + }, ], - peerWeight: 0 + peerWeight: 0, }, connections: [ { name: "vpnConnection1", properties: { remoteVpnSite: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", }, vpnLinkConnections: [ { @@ -55,21 +54,19 @@ async function vpnGatewayPut() { connectionBandwidth: 200, egressNatRules: [ { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + }, ], sharedKey: "key", vpnConnectionProtocolType: "IKEv2", vpnSiteLink: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" - } - } - } - ] - } - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1", + }, + }, + }, + ], + }, + }, ], enableBgpRouteTranslationForNat: false, isRoutingPreferenceInternet: false, @@ -81,25 +78,24 @@ async function vpnGatewayPut() { externalMappings: [{ addressSpace: "192.168.0.0/26" }], internalMappings: [{ addressSpace: "0.0.0.0/26" }], ipConfigurationId: "", - mode: "EgressSnat" - } - } + mode: "EgressSnat", + }, + }, ], virtualHub: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - } + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + }, }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysDeleteSample.ts index 5f3232673cda..00e29c92e695 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function vpnGatewayDelete() { const resourceGroupName = "rg1"; const gatewayName = "gateway1"; const options: VpnGatewaysDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysGetSample.ts index a76409b6646e..b09c34b3a5ce 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - VpnGatewaysGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { VpnGatewaysGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function vpnGatewayGet() { const resourceGroupName = "rg1"; const gatewayName = "gateway1"; const options: VpnGatewaysGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListByResourceGroupSample.ts index 325e53586672..8f684ccfe405 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function vpnGatewayListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VpnGatewaysListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListSample.ts index ef0fba489fec..6d774398525b 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,10 @@ async function vpnGatewayListBySubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VpnGatewaysListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysResetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysResetSample.ts index 145ceaa88c81..76762df8e628 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysResetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysResetSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysResetParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function resetVpnGateway() { const resourceGroupName = "rg1"; const gatewayName = "vpngw"; const options: VpnGatewaysResetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStartPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStartPacketCaptureSample.ts index 6033b3ebdd46..e4a2afa944a7 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStartPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStartPacketCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysStartPacketCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function startPacketCaptureOnVpnGatewayWithFilter() { const options: VpnGatewaysStartPacketCaptureParameters = { body: { filterData: - "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); @@ -56,14 +56,14 @@ async function startPacketCaptureOnVpnGatewayWithoutFilter() { const resourceGroupName = "rg1"; const gatewayName = "vpngw"; const options: VpnGatewaysStartPacketCaptureParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStopPacketCaptureSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStopPacketCaptureSample.ts index ca3b348ff4ce..5db0491d6fa6 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStopPacketCaptureSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysStopPacketCaptureSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysStopPacketCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,16 +25,16 @@ async function stopPacketCaptureOnVpnGateway() { const options: VpnGatewaysStopPacketCaptureParameters = { body: { sasUrl: - "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D", }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysUpdateTagsSample.ts index 34c0160cbb37..0b250c7f57d3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnGatewaysUpdateTagsSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnGatewaysUpdateTagsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,14 +24,14 @@ async function vpnGatewayUpdate() { const gatewayName = "gateway1"; const options: VpnGatewaysUpdateTagsParameters = { body: { tags: { tag1: "value1", tag2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", subscriptionId, resourceGroupName, - gatewayName + gatewayName, ) .patch(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsGetIkeSasSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsGetIkeSasSample.ts index fcf1918066f1..8ff686c99b38 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsGetIkeSasSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsGetIkeSasSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnLinkConnectionsGetIkeSasParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function getVpnLinkConnectionIkeSa() { const connectionName = "vpnConnection1"; const linkConnectionName = "Connection-Link1"; const options: VpnLinkConnectionsGetIkeSasParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function getVpnLinkConnectionIkeSa() { resourceGroupName, gatewayName, connectionName, - linkConnectionName + linkConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsListByVpnConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsListByVpnConnectionSample.ts index a25a973bc389..8fd7a2f9f6d8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsListByVpnConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsListByVpnConnectionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnLinkConnectionsListByVpnConnectionParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function vpnSiteLinkConnectionList() { const gatewayName = "gateway1"; const connectionName = "vpnConnection1"; const options: VpnLinkConnectionsListByVpnConnectionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -32,7 +32,7 @@ async function vpnSiteLinkConnectionList() { subscriptionId, resourceGroupName, gatewayName, - connectionName + connectionName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsResetConnectionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsResetConnectionSample.ts index b1072d0ca7e4..141852ccc979 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsResetConnectionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnLinkConnectionsResetConnectionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnLinkConnectionsResetConnectionParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -25,7 +25,7 @@ async function resetVpnLinkConnection() { const connectionName = "vpnConnection1"; const linkConnectionName = "Connection-Link1"; const options: VpnLinkConnectionsResetConnectionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( @@ -34,7 +34,7 @@ async function resetVpnLinkConnection() { resourceGroupName, gatewayName, connectionName, - linkConnectionName + linkConnectionName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts index 5652d49e14f0..210d3b25b31a 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsAssociatedWithVirtualWanListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnServerConfigurationsAssociatedWithVirtualWanListParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function getVirtualWanVpnServerConfigurations() { const resourceGroupName = "rg1"; const virtualWANName = "wan1"; const options: VpnServerConfigurationsAssociatedWithVirtualWanListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations", subscriptionId, resourceGroupName, - virtualWANName + virtualWANName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsCreateOrUpdateSample.ts index b2b07f78af81..190a419a535e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnServerConfigurationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -29,56 +29,54 @@ async function vpnServerConfigurationCreate() { configurationPolicyGroups: [ { name: "policyGroup1", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", properties: { isDefault: true, policyMembers: [ { name: "policy1", attributeType: "RadiusAzureGroupId", - attributeValue: "6ad1bd08" - } + attributeValue: "6ad1bd08", + }, ], - priority: 0 - } + priority: 0, + }, }, { name: "policyGroup2", - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", properties: { isDefault: true, policyMembers: [ { name: "policy2", attributeType: "CertificateGroupId", - attributeValue: "red.com" - } + attributeValue: "red.com", + }, ], - priority: 0 - } - } + priority: 0, + }, + }, ], radiusClientRootCertificates: [ { name: "vpnServerConfigRadiusClientRootCert1", - thumbprint: "83FFBFC8848B5A5836C94D0112367E16148A286F" - } + thumbprint: "83FFBFC8848B5A5836C94D0112367E16148A286F", + }, ], radiusServerRootCertificates: [ { name: "vpnServerConfigRadiusServerRootCer1", publicCertData: - "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - } + "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM", + }, ], radiusServers: [ { radiusServerAddress: "10.0.0.0", radiusServerScore: 25, - radiusServerSecret: "radiusServerSecret" - } + radiusServerSecret: "radiusServerSecret", + }, ], vpnClientIpsecPolicies: [ { @@ -89,34 +87,34 @@ async function vpnServerConfigurationCreate() { ipsecIntegrity: "SHA256", pfsGroup: "PFS14", saDataSizeKilobytes: 429497, - saLifeTimeSeconds: 86472 - } + saLifeTimeSeconds: 86472, + }, ], vpnClientRevokedCertificates: [ { name: "vpnServerConfigVpnClientRevokedCert1", - thumbprint: "83FFBFC8848B5A5836C94D0112367E16148A286F" - } + thumbprint: "83FFBFC8848B5A5836C94D0112367E16148A286F", + }, ], vpnClientRootCertificates: [ { name: "vpnServerConfigVpnClientRootCert1", publicCertData: - "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - } + "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN", + }, ], - vpnProtocols: ["IkeV2"] + vpnProtocols: ["IkeV2"], }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsDeleteSample.ts index 68852f6363bf..e77d93e31878 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnServerConfigurationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function vpnServerConfigurationDelete() { const resourceGroupName = "rg1"; const vpnServerConfigurationName = "vpnServerConfiguration1"; const options: VpnServerConfigurationsDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsGetSample.ts index 1c79439281a4..08341a468296 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VpnServerConfigurationsGetParameters + VpnServerConfigurationsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function vpnServerConfigurationGet() { const resourceGroupName = "rg1"; const vpnServerConfigurationName = "vpnServerConfiguration1"; const options: VpnServerConfigurationsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListByResourceGroupSample.ts index a92511c47557..97f23b882940 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnServerConfigurationsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function vpnServerConfigurationListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VpnServerConfigurationsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListSample.ts index c7345a316877..5cbaccedfe39 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnServerConfigurationsListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function vpnServerConfigurationList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VpnServerConfigurationsListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsUpdateTagsSample.ts index 079c27631115..e5a8d5b1f644 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnServerConfigurationsUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VpnServerConfigurationsUpdateTagsParameters + VpnServerConfigurationsUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function vpnServerConfigurationUpdate() { const vpnServerConfigurationName = "vpnServerConfiguration1"; const options: VpnServerConfigurationsUpdateTagsParameters = { body: { tags: { key1: "value1", key2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", subscriptionId, resourceGroupName, - vpnServerConfigurationName + vpnServerConfigurationName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinkConnectionsGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinkConnectionsGetSample.ts index c2a19d399b51..190c9df5cec0 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinkConnectionsGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinkConnectionsGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VpnSiteLinkConnectionsGetParameters + VpnSiteLinkConnectionsGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -24,7 +24,7 @@ async function vpnSiteLinkConnectionGet() { const connectionName = "vpnConnection1"; const linkConnectionName = "Connection-Link1"; const options: VpnSiteLinkConnectionsGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -33,7 +33,7 @@ async function vpnSiteLinkConnectionGet() { resourceGroupName, gatewayName, connectionName, - linkConnectionName + linkConnectionName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksGetSample.ts index ced2d5c8bcbd..451de67243eb 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - VpnSiteLinksGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { VpnSiteLinksGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,7 +21,7 @@ async function vpnSiteGet() { const vpnSiteName = "vpnSite1"; const vpnSiteLinkName = "vpnSiteLink1"; const options: VpnSiteLinksGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( @@ -31,7 +29,7 @@ async function vpnSiteGet() { subscriptionId, resourceGroupName, vpnSiteName, - vpnSiteLinkName + vpnSiteLinkName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksListByVpnSiteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksListByVpnSiteSample.ts index b6fe82e4948b..01743b55edf3 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksListByVpnSiteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSiteLinksListByVpnSiteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnSiteLinksListByVpnSiteParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function vpnSiteLinkListByVpnSite() { const resourceGroupName = "rg1"; const vpnSiteName = "vpnSite1"; const options: VpnSiteLinksListByVpnSiteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesConfigurationDownloadSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesConfigurationDownloadSample.ts index e9872c5a9188..e9918fc08993 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesConfigurationDownloadSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesConfigurationDownloadSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnSitesConfigurationDownloadParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -27,17 +27,17 @@ async function vpnSitesConfigurationDownload() { outputBlobSasUrl: "https://blobcortextesturl.blob.core.windows.net/folderforconfig/vpnFile?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b", vpnSites: [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/abc" - ] + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/abc", + ], }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration", subscriptionId, resourceGroupName, - virtualWANName + virtualWANName, ) .post(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesCreateOrUpdateSample.ts index bb540f8b5088..3fbe78af0ff1 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesCreateOrUpdateSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnSitesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -29,11 +29,10 @@ async function vpnSiteCreate() { addressSpace: { addressPrefixes: ["10.0.0.0/16"] }, isSecuritySite: false, o365Policy: { - breakOutCategories: { default: false, allow: true, optimize: true } + breakOutCategories: { default: false, allow: true, optimize: true }, }, virtualWan: { - id: - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", }, vpnSiteLinks: [ { @@ -44,22 +43,22 @@ async function vpnSiteCreate() { ipAddress: "50.50.50.56", linkProperties: { linkProviderName: "vendor1", - linkSpeedInMbps: 0 - } - } - } - ] + linkSpeedInMbps: 0, + }, + }, + }, + ], }, - tags: { key1: "value1" } + tags: { key1: "value1" }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .put(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesDeleteSample.ts index 3791c591ea37..e3e5b57ee602 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnSitesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function vpnSiteDelete() { const resourceGroupName = "rg1"; const vpnSiteName = "vpnSite1"; const options: VpnSitesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesGetSample.ts index 3ef8ce5aee41..3142bcb61d62 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - VpnSitesGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { VpnSitesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +20,14 @@ async function vpnSiteGet() { const resourceGroupName = "rg1"; const vpnSiteName = "vpnSite1"; const options: VpnSitesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListByResourceGroupSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListByResourceGroupSample.ts index e419b2d03877..dfe126b56918 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListByResourceGroupSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListByResourceGroupSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnSitesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function vpnSiteListByResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: VpnSitesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListSample.ts index ff8e5e726a06..d32703a46d0d 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { VpnSitesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +21,10 @@ async function vpnSiteList() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: VpnSitesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesUpdateTagsSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesUpdateTagsSample.ts index f39ec17e4164..10a5665fd9e2 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesUpdateTagsSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/vpnSitesUpdateTagsSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - VpnSitesUpdateTagsParameters + VpnSitesUpdateTagsParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function vpnSiteUpdate() { const vpnSiteName = "vpnSite1"; const options: VpnSitesUpdateTagsParameters = { body: { tags: { key1: "value1", key2: "value2" } }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", subscriptionId, resourceGroupName, - vpnSiteName + vpnSiteName, ) .patch(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesCreateOrUpdateSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesCreateOrUpdateSample.ts index 01931e161340..ea890c313292 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesCreateOrUpdateSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesCreateOrUpdateSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - WebApplicationFirewallPoliciesCreateOrUpdateParameters + WebApplicationFirewallPoliciesCreateOrUpdateParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -32,14 +32,12 @@ async function createsOrUpdatesAWafPolicyWithinAResourceGroup() { matchConditions: [ { matchValues: ["192.168.1.0/24", "10.0.0.0/24"], - matchVariables: [ - { selector: undefined, variableName: "RemoteAddr" } - ], - operator: "IPMatch" - } + matchVariables: [{ selector: undefined, variableName: "RemoteAddr" }], + operator: "IPMatch", + }, ], priority: 1, - ruleType: "MatchRule" + ruleType: "MatchRule", }, { name: "Rule2", @@ -47,22 +45,18 @@ async function createsOrUpdatesAWafPolicyWithinAResourceGroup() { matchConditions: [ { matchValues: ["192.168.1.0/24"], - matchVariables: [ - { selector: undefined, variableName: "RemoteAddr" } - ], - operator: "IPMatch" + matchVariables: [{ selector: undefined, variableName: "RemoteAddr" }], + operator: "IPMatch", }, { matchValues: ["Windows"], - matchVariables: [ - { selector: "UserAgent", variableName: "RequestHeaders" } - ], - operator: "Contains" - } + matchVariables: [{ selector: "UserAgent", variableName: "RequestHeaders" }], + operator: "Contains", + }, ], priority: 2, - ruleType: "MatchRule" - } + ruleType: "MatchRule", + }, ], managedRules: { exclusions: [ @@ -72,36 +66,36 @@ async function createsOrUpdatesAWafPolicyWithinAResourceGroup() { ruleGroups: [ { ruleGroupName: "REQUEST-930-APPLICATION-ATTACK-LFI", - rules: [{ ruleId: "930120" }] + rules: [{ ruleId: "930120" }], }, - { ruleGroupName: "REQUEST-932-APPLICATION-ATTACK-RCE" } + { ruleGroupName: "REQUEST-932-APPLICATION-ATTACK-RCE" }, ], ruleSetType: "OWASP", - ruleSetVersion: "3.2" - } + ruleSetVersion: "3.2", + }, ], matchVariable: "RequestArgNames", selector: "hello", - selectorMatchOperator: "StartsWith" + selectorMatchOperator: "StartsWith", }, { exclusionManagedRuleSets: [ - { ruleGroups: [], ruleSetType: "OWASP", ruleSetVersion: "3.1" } + { ruleGroups: [], ruleSetType: "OWASP", ruleSetVersion: "3.1" }, ], matchVariable: "RequestArgNames", selector: "hello", - selectorMatchOperator: "EndsWith" + selectorMatchOperator: "EndsWith", }, { matchVariable: "RequestArgNames", selector: "test", - selectorMatchOperator: "StartsWith" + selectorMatchOperator: "StartsWith", }, { matchVariable: "RequestArgValues", selector: "test", - selectorMatchOperator: "StartsWith" - } + selectorMatchOperator: "StartsWith", + }, ], managedRuleSets: [ { @@ -113,26 +107,26 @@ async function createsOrUpdatesAWafPolicyWithinAResourceGroup() { { action: "AnomalyScoring", ruleId: "931130", - state: "Disabled" - } - ] - } + state: "Disabled", + }, + ], + }, ], ruleSetType: "OWASP", - ruleSetVersion: "3.2" - } - ] - } - } + ruleSetVersion: "3.2", + }, + ], + }, + }, }, - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", subscriptionId, resourceGroupName, - policyName + policyName, ) .put(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesDeleteSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesDeleteSample.ts index e70a672f9438..030734a0ce9e 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesDeleteSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesDeleteSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { WebApplicationFirewallPoliciesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -23,14 +23,14 @@ async function deletesAWafPolicyWithinAResourceGroup() { const resourceGroupName = "rg1"; const policyName = "Policy1"; const options: WebApplicationFirewallPoliciesDeleteParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", subscriptionId, resourceGroupName, - policyName + policyName, ) .delete(options); const poller = getLongRunningPoller(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesGetSample.ts index 8e6481f7c5ae..51346bb5dca9 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesGetSample.ts @@ -4,7 +4,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createNetworkManagementClient, { - WebApplicationFirewallPoliciesGetParameters + WebApplicationFirewallPoliciesGetParameters, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,14 +22,14 @@ async function getsAWafPolicyWithinAResourceGroup() { const resourceGroupName = "rg1"; const policyName = "Policy1"; const options: WebApplicationFirewallPoliciesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", subscriptionId, resourceGroupName, - policyName + policyName, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListAllSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListAllSample.ts index 13407bdd6221..2f7aea5b4398 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListAllSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListAllSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { WebApplicationFirewallPoliciesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listsAllWafPoliciesInASubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: WebApplicationFirewallPoliciesListAllParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts index 6201a4c9b9b6..7da78a4e75ca 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { WebApplicationFirewallPoliciesListParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -22,13 +22,13 @@ async function listsAllWafPoliciesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "rg1"; const options: WebApplicationFirewallPoliciesListParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts index e4d455859287..a7ae6114a472 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts @@ -3,9 +3,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createNetworkManagementClient, { - WebCategoriesGetParameters -} from "@azure-rest/arm-network"; +import createNetworkManagementClient, { WebCategoriesGetParameters } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,13 +19,13 @@ async function getAzureWebCategoryByName() { const subscriptionId = ""; const name = "Arts"; const options: WebCategoriesGetParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}", subscriptionId, - name + name, ) .get(options); console.log(result); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts index ccc9348eee78..8cc0805d3039 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts @@ -5,7 +5,7 @@ // Licensed under the MIT License. import createNetworkManagementClient, { WebCategoriesListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-network"; import { DefaultAzureCredential } from "@azure/identity"; import "dotenv/config"; @@ -21,12 +21,12 @@ async function listAllAzureWebCategoriesForAGivenSubscription() { const client = createNetworkManagementClient(credential); const subscriptionId = ""; const options: WebCategoriesListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-05-01" } + queryParameters: { "api-version": "2022-05-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/tsconfig.json b/sdk/network/arm-network-rest/samples/v1-beta/typescript/tsconfig.json index ad5ff9a19d36..984eed535aa8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/tsconfig.json +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2020", "module": "commonjs", "moduleResolution": "node", "resolveJsonModule": true, diff --git a/sdk/network/arm-network-rest/src/models.ts b/sdk/network/arm-network-rest/src/models.ts index 8f1587ceeffb..04cfd6dfecf3 100644 --- a/sdk/network/arm-network-rest/src/models.ts +++ b/sdk/network/arm-network-rest/src/models.ts @@ -2656,12 +2656,6 @@ export interface ExpressRoutePortAuthorization extends SubResource { /** Properties of ExpressRoutePort Authorization. */ export interface ExpressRoutePortAuthorizationPropertiesFormat {} -/** ExpressRouteProviderPort resource. */ -export interface ExpressRouteProviderPort extends Resource { - /** Properties of the express route Service Provider Port. */ - properties?: ExpressRouteProviderPortProperties; -} - /** Properties of ExpressRouteProviderPort. */ export interface ExpressRouteProviderPortProperties { /** The peering location of the port pair. */ From b17fe7e1b40124ca654c5a75511b16a04238c647 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:04 +0800 Subject: [PATCH 56/73] Migration: Update package.json, tsconfig.json, and api-extractor.json --- .../arm-servicefabric-rest/api-extractor.json | 27 +- .../arm-servicefabric-rest/package.json | 75 +-- .../src/clientDefinitions.ts | 252 +++++----- .../src/isUnexpected.ts | 452 ++++++++++-------- .../arm-servicefabric-rest/src/logger.ts | 5 + .../arm-servicefabric-rest/src/models.ts | 225 +++++---- .../src/outputModels.ts | 202 ++++++-- .../src/paginateHelper.ts | 186 ++++++- .../arm-servicefabric-rest/src/parameters.ts | 35 +- .../src/pollingHelper.ts | 181 ++++++- .../arm-servicefabric-rest/src/responses.ts | 119 ++--- .../src/serviceFabricClient.ts | 68 ++- .../arm-servicefabric-rest/swagger/README.md | 4 + .../arm-servicefabric-rest/tsconfig.json | 18 +- .../tsconfig.samples.json | 10 + .../arm-servicefabric-rest/tsconfig.src.json | 3 + .../arm-servicefabric-rest/tsconfig.test.json | 6 + 17 files changed, 1245 insertions(+), 623 deletions(-) create mode 100644 sdk/servicefabric/arm-servicefabric-rest/src/logger.ts create mode 100644 sdk/servicefabric/arm-servicefabric-rest/tsconfig.samples.json create mode 100644 sdk/servicefabric/arm-servicefabric-rest/tsconfig.src.json create mode 100644 sdk/servicefabric/arm-servicefabric-rest/tsconfig.test.json diff --git a/sdk/servicefabric/arm-servicefabric-rest/api-extractor.json b/sdk/servicefabric/arm-servicefabric-rest/api-extractor.json index ba311620986d..4b97f8bf3f2d 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/api-extractor.json +++ b/sdk/servicefabric/arm-servicefabric-rest/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./types/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "dist/esm/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/arm-servicefabric.d.ts" + "publicTrimmedFilePath": "dist/arm-servicefabric.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } } diff --git a/sdk/servicefabric/arm-servicefabric-rest/package.json b/sdk/servicefabric/arm-servicefabric-rest/package.json index 07cf2b41308a..ddf1c2b7cb76 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/package.json +++ b/sdk/servicefabric/arm-servicefabric-rest/package.json @@ -23,11 +23,8 @@ }, "files": [ "dist/", - "dist-esm/src/", - "types/arm-servicefabric.d.ts", "README.md", - "LICENSE", - "review/*" + "LICENSE" ], "//metadata": { "constantPaths": [ @@ -41,12 +38,12 @@ "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:node": "tsc -p . && dev-tool run bundle --browser-test false", + "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build:browser": "dev-tool run build-package && dev-tool run bundle", + "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", + "build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false", "build:samples": "echo skipped.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "dev-tool run build-package && dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", @@ -63,53 +60,39 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^2.2.0", - "@azure/core-paging": "^1.2.0", + "@azure/core-lro": "^3.1.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.1.0", + "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-istanbul": "^2.1.8", "autorest": "latest", - "chai": "^4.2.0", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "~1.4.0", - "karma-sourcemap-loader": "^0.3.8", - "mocha": "^11.0.2", - "nyc": "^17.0.0", - "source-map-support": "^0.5.9", - "ts-node": "^10.0.0", - "typescript": "~5.7.2" - }, - "browser": { - "./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js" + "playwright": "^1.49.1", + "typescript": "~5.7.2", + "vitest": "^2.1.8" }, + "browser": "./dist/browser/index.js", "//sampleConfiguration": { "productName": "", "productSlugs": [ @@ -117,5 +100,23 @@ ], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview" - } + }, + "type": "module", + "tshy": { + "project": "./tsconfig.src.json", + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "react-native": "./dist/react-native/index.js" } diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts b/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts index 7fe1a6cbd3d2..be389adb17bd 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts @@ -1,133 +1,137 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { - ApplicationTypeVersionsCreateOrUpdateParameters, - ApplicationTypeVersionsDeleteParameters, - ApplicationTypeVersionsGetParameters, - ApplicationTypeVersionsListParameters, - ApplicationTypesCreateOrUpdateParameters, - ApplicationTypesDeleteParameters, - ApplicationTypesGetParameters, - ApplicationTypesListParameters, - ApplicationsCreateOrUpdateParameters, - ApplicationsDeleteParameters, - ApplicationsGetParameters, - ApplicationsListParameters, - ApplicationsUpdateParameters, - ClusterVersionsGetByEnvironmentParameters, - ClusterVersionsGetParameters, - ClusterVersionsListByEnvironmentParameters, - ClusterVersionsListParameters, +import { + ClustersGetParameters, ClustersCreateOrUpdateParameters, + ClustersUpdateParameters, ClustersDeleteParameters, - ClustersGetParameters, ClustersListByResourceGroupParameters, ClustersListParameters, ClustersListUpgradableVersionsParameters, - ClustersUpdateParameters, + ClusterVersionsGetParameters, + ClusterVersionsGetByEnvironmentParameters, + ClusterVersionsListParameters, + ClusterVersionsListByEnvironmentParameters, OperationsListParameters, + ApplicationTypesGetParameters, + ApplicationTypesCreateOrUpdateParameters, + ApplicationTypesDeleteParameters, + ApplicationTypesListParameters, + ApplicationTypeVersionsGetParameters, + ApplicationTypeVersionsCreateOrUpdateParameters, + ApplicationTypeVersionsDeleteParameters, + ApplicationTypeVersionsListParameters, + ApplicationsGetParameters, + ApplicationsCreateOrUpdateParameters, + ApplicationsUpdateParameters, + ApplicationsDeleteParameters, + ApplicationsListParameters, + ServicesGetParameters, ServicesCreateOrUpdateParameters, + ServicesUpdateParameters, ServicesDeleteParameters, - ServicesGetParameters, ServicesListParameters, - ServicesUpdateParameters, } from "./parameters"; -import type { - ApplicationTypeVersionsCreateOrUpdate202Response, - ApplicationTypeVersionsCreateOrUpdatedefaultResponse, - ApplicationTypeVersionsDelete202Response, - ApplicationTypeVersionsDelete204Response, - ApplicationTypeVersionsDeletedefaultResponse, - ApplicationTypeVersionsGet200Response, - ApplicationTypeVersionsGetdefaultResponse, - ApplicationTypeVersionsList200Response, - ApplicationTypeVersionsListdefaultResponse, +import { + ClustersGet200Response, + ClustersGetDefaultResponse, + ClustersCreateOrUpdate200Response, + ClustersCreateOrUpdate202Response, + ClustersCreateOrUpdateDefaultResponse, + ClustersUpdate200Response, + ClustersUpdate202Response, + ClustersUpdateDefaultResponse, + ClustersDelete200Response, + ClustersDelete204Response, + ClustersDeleteDefaultResponse, + ClustersListByResourceGroup200Response, + ClustersListByResourceGroupDefaultResponse, + ClustersList200Response, + ClustersListDefaultResponse, + ClustersListUpgradableVersions200Response, + ClustersListUpgradableVersionsDefaultResponse, + ClusterVersionsGet200Response, + ClusterVersionsGetDefaultResponse, + ClusterVersionsGetByEnvironment200Response, + ClusterVersionsGetByEnvironmentDefaultResponse, + ClusterVersionsList200Response, + ClusterVersionsListDefaultResponse, + ClusterVersionsListByEnvironment200Response, + ClusterVersionsListByEnvironmentDefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, + ApplicationTypesGet200Response, + ApplicationTypesGetDefaultResponse, ApplicationTypesCreateOrUpdate200Response, - ApplicationTypesCreateOrUpdatedefaultResponse, + ApplicationTypesCreateOrUpdateDefaultResponse, ApplicationTypesDelete202Response, ApplicationTypesDelete204Response, - ApplicationTypesDeletedefaultResponse, - ApplicationTypesGet200Response, - ApplicationTypesGetdefaultResponse, + ApplicationTypesDeleteDefaultResponse, ApplicationTypesList200Response, - ApplicationTypesListdefaultResponse, + ApplicationTypesListDefaultResponse, + ApplicationTypeVersionsGet200Response, + ApplicationTypeVersionsGetDefaultResponse, + ApplicationTypeVersionsCreateOrUpdate202Response, + ApplicationTypeVersionsCreateOrUpdateDefaultResponse, + ApplicationTypeVersionsDelete202Response, + ApplicationTypeVersionsDelete204Response, + ApplicationTypeVersionsDeleteDefaultResponse, + ApplicationTypeVersionsList200Response, + ApplicationTypeVersionsListDefaultResponse, + ApplicationsGet200Response, + ApplicationsGetDefaultResponse, ApplicationsCreateOrUpdate202Response, - ApplicationsCreateOrUpdatedefaultResponse, + ApplicationsCreateOrUpdateDefaultResponse, + ApplicationsUpdate202Response, + ApplicationsUpdateDefaultResponse, ApplicationsDelete202Response, ApplicationsDelete204Response, - ApplicationsDeletedefaultResponse, - ApplicationsGet200Response, - ApplicationsGetdefaultResponse, + ApplicationsDeleteDefaultResponse, ApplicationsList200Response, - ApplicationsListdefaultResponse, - ApplicationsUpdate202Response, - ApplicationsUpdatedefaultResponse, - ClusterVersionsGet200Response, - ClusterVersionsGetByEnvironment200Response, - ClusterVersionsGetByEnvironmentdefaultResponse, - ClusterVersionsGetdefaultResponse, - ClusterVersionsList200Response, - ClusterVersionsListByEnvironment200Response, - ClusterVersionsListByEnvironmentdefaultResponse, - ClusterVersionsListdefaultResponse, - ClustersCreateOrUpdate200Response, - ClustersCreateOrUpdate202Response, - ClustersCreateOrUpdatedefaultResponse, - ClustersDelete200Response, - ClustersDelete204Response, - ClustersDeletedefaultResponse, - ClustersGet200Response, - ClustersGetdefaultResponse, - ClustersList200Response, - ClustersListByResourceGroup200Response, - ClustersListByResourceGroupdefaultResponse, - ClustersListUpgradableVersions200Response, - ClustersListUpgradableVersionsdefaultResponse, - ClustersListdefaultResponse, - ClustersUpdate200Response, - ClustersUpdate202Response, - ClustersUpdatedefaultResponse, - OperationsList200Response, - OperationsListdefaultResponse, + ApplicationsListDefaultResponse, + ServicesGet200Response, + ServicesGetDefaultResponse, ServicesCreateOrUpdate202Response, - ServicesCreateOrUpdatedefaultResponse, + ServicesCreateOrUpdateDefaultResponse, + ServicesUpdate202Response, + ServicesUpdateDefaultResponse, ServicesDelete202Response, ServicesDelete204Response, - ServicesDeletedefaultResponse, - ServicesGet200Response, - ServicesGetdefaultResponse, + ServicesDeleteDefaultResponse, ServicesList200Response, - ServicesListdefaultResponse, - ServicesUpdate202Response, - ServicesUpdatedefaultResponse, + ServicesListDefaultResponse, } from "./responses"; -import type { Client, StreamableMethod } from "@azure-rest/core-client"; +import { Client, StreamableMethod } from "@azure-rest/core-client"; export interface ClustersGet { /** Get a Service Fabric cluster resource created or in the process of being created in the specified resource group. */ get( options?: ClustersGetParameters, - ): StreamableMethod; + ): StreamableMethod; /** Create or update a Service Fabric cluster resource with the specified name. */ put( options: ClustersCreateOrUpdateParameters, ): StreamableMethod< | ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response - | ClustersCreateOrUpdatedefaultResponse + | ClustersCreateOrUpdateDefaultResponse >; /** Update the configuration of a Service Fabric cluster resource with the specified name. */ patch( options: ClustersUpdateParameters, ): StreamableMethod< - ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdatedefaultResponse + | ClustersUpdate200Response + | ClustersUpdate202Response + | ClustersUpdateDefaultResponse >; /** Delete a Service Fabric cluster resource with the specified name. */ delete( options?: ClustersDeleteParameters, ): StreamableMethod< - ClustersDelete200Response | ClustersDelete204Response | ClustersDeletedefaultResponse + | ClustersDelete200Response + | ClustersDelete204Response + | ClustersDeleteDefaultResponse >; } @@ -136,7 +140,8 @@ export interface ClustersListByResourceGroup { get( options?: ClustersListByResourceGroupParameters, ): StreamableMethod< - ClustersListByResourceGroup200Response | ClustersListByResourceGroupdefaultResponse + | ClustersListByResourceGroup200Response + | ClustersListByResourceGroupDefaultResponse >; } @@ -144,7 +149,7 @@ export interface ClustersList { /** Gets all Service Fabric cluster resources created or in the process of being created in the subscription. */ get( options?: ClustersListParameters, - ): StreamableMethod; + ): StreamableMethod; } export interface ClustersListUpgradableVersions { @@ -152,7 +157,8 @@ export interface ClustersListUpgradableVersions { post( options?: ClustersListUpgradableVersionsParameters, ): StreamableMethod< - ClustersListUpgradableVersions200Response | ClustersListUpgradableVersionsdefaultResponse + | ClustersListUpgradableVersions200Response + | ClustersListUpgradableVersionsDefaultResponse >; } @@ -160,7 +166,9 @@ export interface ClusterVersionsGet { /** Gets information about an available Service Fabric cluster code version. */ get( options?: ClusterVersionsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ClusterVersionsGet200Response | ClusterVersionsGetDefaultResponse + >; } export interface ClusterVersionsGetByEnvironment { @@ -168,7 +176,8 @@ export interface ClusterVersionsGetByEnvironment { get( options?: ClusterVersionsGetByEnvironmentParameters, ): StreamableMethod< - ClusterVersionsGetByEnvironment200Response | ClusterVersionsGetByEnvironmentdefaultResponse + | ClusterVersionsGetByEnvironment200Response + | ClusterVersionsGetByEnvironmentDefaultResponse >; } @@ -176,7 +185,9 @@ export interface ClusterVersionsList { /** Gets all available code versions for Service Fabric cluster resources by location. */ get( options?: ClusterVersionsListParameters, - ): StreamableMethod; + ): StreamableMethod< + ClusterVersionsList200Response | ClusterVersionsListDefaultResponse + >; } export interface ClusterVersionsListByEnvironment { @@ -184,7 +195,8 @@ export interface ClusterVersionsListByEnvironment { get( options?: ClusterVersionsListByEnvironmentParameters, ): StreamableMethod< - ClusterVersionsListByEnvironment200Response | ClusterVersionsListByEnvironmentdefaultResponse + | ClusterVersionsListByEnvironment200Response + | ClusterVersionsListByEnvironmentDefaultResponse >; } @@ -192,19 +204,24 @@ export interface OperationsList { /** Get the list of available Service Fabric resource provider API operations. */ get( options?: OperationsListParameters, - ): StreamableMethod; + ): StreamableMethod< + OperationsList200Response | OperationsListDefaultResponse + >; } export interface ApplicationTypesGet { /** Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource. */ get( options?: ApplicationTypesGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ApplicationTypesGet200Response | ApplicationTypesGetDefaultResponse + >; /** Create or update a Service Fabric application type name resource with the specified name. */ put( options: ApplicationTypesCreateOrUpdateParameters, ): StreamableMethod< - ApplicationTypesCreateOrUpdate200Response | ApplicationTypesCreateOrUpdatedefaultResponse + | ApplicationTypesCreateOrUpdate200Response + | ApplicationTypesCreateOrUpdateDefaultResponse >; /** Delete a Service Fabric application type name resource with the specified name. */ delete( @@ -212,7 +229,7 @@ export interface ApplicationTypesGet { ): StreamableMethod< | ApplicationTypesDelete202Response | ApplicationTypesDelete204Response - | ApplicationTypesDeletedefaultResponse + | ApplicationTypesDeleteDefaultResponse >; } @@ -220,7 +237,9 @@ export interface ApplicationTypesList { /** Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource. */ get( options?: ApplicationTypesListParameters, - ): StreamableMethod; + ): StreamableMethod< + ApplicationTypesList200Response | ApplicationTypesListDefaultResponse + >; } export interface ApplicationTypeVersionsGet { @@ -228,14 +247,15 @@ export interface ApplicationTypeVersionsGet { get( options?: ApplicationTypeVersionsGetParameters, ): StreamableMethod< - ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetdefaultResponse + | ApplicationTypeVersionsGet200Response + | ApplicationTypeVersionsGetDefaultResponse >; /** Create or update a Service Fabric application type version resource with the specified name. */ put( options: ApplicationTypeVersionsCreateOrUpdateParameters, ): StreamableMethod< | ApplicationTypeVersionsCreateOrUpdate202Response - | ApplicationTypeVersionsCreateOrUpdatedefaultResponse + | ApplicationTypeVersionsCreateOrUpdateDefaultResponse >; /** Delete a Service Fabric application type version resource with the specified name. */ delete( @@ -243,7 +263,7 @@ export interface ApplicationTypeVersionsGet { ): StreamableMethod< | ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response - | ApplicationTypeVersionsDeletedefaultResponse + | ApplicationTypeVersionsDeleteDefaultResponse >; } @@ -252,7 +272,8 @@ export interface ApplicationTypeVersionsList { get( options?: ApplicationTypeVersionsListParameters, ): StreamableMethod< - ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListdefaultResponse + | ApplicationTypeVersionsList200Response + | ApplicationTypeVersionsListDefaultResponse >; } @@ -260,24 +281,29 @@ export interface ApplicationsGet { /** Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource. */ get( options?: ApplicationsGetParameters, - ): StreamableMethod; + ): StreamableMethod< + ApplicationsGet200Response | ApplicationsGetDefaultResponse + >; /** Create or update a Service Fabric application resource with the specified name. */ put( options: ApplicationsCreateOrUpdateParameters, ): StreamableMethod< - ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdatedefaultResponse + | ApplicationsCreateOrUpdate202Response + | ApplicationsCreateOrUpdateDefaultResponse >; /** Update a Service Fabric application resource with the specified name. */ patch( options: ApplicationsUpdateParameters, - ): StreamableMethod; + ): StreamableMethod< + ApplicationsUpdate202Response | ApplicationsUpdateDefaultResponse + >; /** Delete a Service Fabric application resource with the specified name. */ delete( options?: ApplicationsDeleteParameters, ): StreamableMethod< | ApplicationsDelete202Response | ApplicationsDelete204Response - | ApplicationsDeletedefaultResponse + | ApplicationsDeleteDefaultResponse >; } @@ -285,27 +311,35 @@ export interface ApplicationsList { /** Gets all application resources created or in the process of being created in the Service Fabric cluster resource. */ get( options?: ApplicationsListParameters, - ): StreamableMethod; + ): StreamableMethod< + ApplicationsList200Response | ApplicationsListDefaultResponse + >; } export interface ServicesGet { /** Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource. */ get( options?: ServicesGetParameters, - ): StreamableMethod; + ): StreamableMethod; /** Create or update a Service Fabric service resource with the specified name. */ put( options: ServicesCreateOrUpdateParameters, - ): StreamableMethod; + ): StreamableMethod< + ServicesCreateOrUpdate202Response | ServicesCreateOrUpdateDefaultResponse + >; /** Update a Service Fabric service resource with the specified name. */ patch( options: ServicesUpdateParameters, - ): StreamableMethod; + ): StreamableMethod< + ServicesUpdate202Response | ServicesUpdateDefaultResponse + >; /** Delete a Service Fabric service resource with the specified name. */ delete( options?: ServicesDeleteParameters, ): StreamableMethod< - ServicesDelete202Response | ServicesDelete204Response | ServicesDeletedefaultResponse + | ServicesDelete202Response + | ServicesDelete204Response + | ServicesDeleteDefaultResponse >; } @@ -313,7 +347,7 @@ export interface ServicesList { /** Gets all service resources created or in the process of being created in the Service Fabric application resource. */ get( options?: ServicesListParameters, - ): StreamableMethod; + ): StreamableMethod; } export interface Routes { diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts b/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts index fc2e61352ded..081372049bc0 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts @@ -1,74 +1,74 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { - ApplicationTypeVersionsCreateOrUpdate202Response, - ApplicationTypeVersionsCreateOrUpdatedefaultResponse, - ApplicationTypeVersionsDelete202Response, - ApplicationTypeVersionsDelete204Response, - ApplicationTypeVersionsDeletedefaultResponse, - ApplicationTypeVersionsGet200Response, - ApplicationTypeVersionsGetdefaultResponse, - ApplicationTypeVersionsList200Response, - ApplicationTypeVersionsListdefaultResponse, +import { + ClustersGet200Response, + ClustersGetDefaultResponse, + ClustersCreateOrUpdate200Response, + ClustersCreateOrUpdate202Response, + ClustersCreateOrUpdateDefaultResponse, + ClustersUpdate200Response, + ClustersUpdate202Response, + ClustersUpdateDefaultResponse, + ClustersDelete200Response, + ClustersDelete204Response, + ClustersDeleteDefaultResponse, + ClustersListByResourceGroup200Response, + ClustersListByResourceGroupDefaultResponse, + ClustersList200Response, + ClustersListDefaultResponse, + ClustersListUpgradableVersions200Response, + ClustersListUpgradableVersionsDefaultResponse, + ClusterVersionsGet200Response, + ClusterVersionsGetDefaultResponse, + ClusterVersionsGetByEnvironment200Response, + ClusterVersionsGetByEnvironmentDefaultResponse, + ClusterVersionsList200Response, + ClusterVersionsListDefaultResponse, + ClusterVersionsListByEnvironment200Response, + ClusterVersionsListByEnvironmentDefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, + ApplicationTypesGet200Response, + ApplicationTypesGetDefaultResponse, ApplicationTypesCreateOrUpdate200Response, - ApplicationTypesCreateOrUpdatedefaultResponse, + ApplicationTypesCreateOrUpdateDefaultResponse, ApplicationTypesDelete202Response, ApplicationTypesDelete204Response, - ApplicationTypesDeletedefaultResponse, - ApplicationTypesGet200Response, - ApplicationTypesGetdefaultResponse, + ApplicationTypesDeleteDefaultResponse, ApplicationTypesList200Response, - ApplicationTypesListdefaultResponse, + ApplicationTypesListDefaultResponse, + ApplicationTypeVersionsGet200Response, + ApplicationTypeVersionsGetDefaultResponse, + ApplicationTypeVersionsCreateOrUpdate202Response, + ApplicationTypeVersionsCreateOrUpdateDefaultResponse, + ApplicationTypeVersionsDelete202Response, + ApplicationTypeVersionsDelete204Response, + ApplicationTypeVersionsDeleteDefaultResponse, + ApplicationTypeVersionsList200Response, + ApplicationTypeVersionsListDefaultResponse, + ApplicationsGet200Response, + ApplicationsGetDefaultResponse, ApplicationsCreateOrUpdate202Response, - ApplicationsCreateOrUpdatedefaultResponse, + ApplicationsCreateOrUpdateDefaultResponse, + ApplicationsUpdate202Response, + ApplicationsUpdateDefaultResponse, ApplicationsDelete202Response, ApplicationsDelete204Response, - ApplicationsDeletedefaultResponse, - ApplicationsGet200Response, - ApplicationsGetdefaultResponse, + ApplicationsDeleteDefaultResponse, ApplicationsList200Response, - ApplicationsListdefaultResponse, - ApplicationsUpdate202Response, - ApplicationsUpdatedefaultResponse, - ClusterVersionsGet200Response, - ClusterVersionsGetByEnvironment200Response, - ClusterVersionsGetByEnvironmentdefaultResponse, - ClusterVersionsGetdefaultResponse, - ClusterVersionsList200Response, - ClusterVersionsListByEnvironment200Response, - ClusterVersionsListByEnvironmentdefaultResponse, - ClusterVersionsListdefaultResponse, - ClustersCreateOrUpdate200Response, - ClustersCreateOrUpdate202Response, - ClustersCreateOrUpdatedefaultResponse, - ClustersDelete200Response, - ClustersDelete204Response, - ClustersDeletedefaultResponse, - ClustersGet200Response, - ClustersGetdefaultResponse, - ClustersList200Response, - ClustersListByResourceGroup200Response, - ClustersListByResourceGroupdefaultResponse, - ClustersListUpgradableVersions200Response, - ClustersListUpgradableVersionsdefaultResponse, - ClustersListdefaultResponse, - ClustersUpdate200Response, - ClustersUpdate202Response, - ClustersUpdatedefaultResponse, - OperationsList200Response, - OperationsListdefaultResponse, + ApplicationsListDefaultResponse, + ServicesGet200Response, + ServicesGetDefaultResponse, ServicesCreateOrUpdate202Response, - ServicesCreateOrUpdatedefaultResponse, + ServicesCreateOrUpdateDefaultResponse, + ServicesUpdate202Response, + ServicesUpdateDefaultResponse, ServicesDelete202Response, ServicesDelete204Response, - ServicesDeletedefaultResponse, - ServicesGet200Response, - ServicesGetdefaultResponse, + ServicesDeleteDefaultResponse, ServicesList200Response, - ServicesListdefaultResponse, - ServicesUpdate202Response, - ServicesUpdatedefaultResponse, + ServicesListDefaultResponse, } from "./responses"; const responseMap: Record = { @@ -82,7 +82,8 @@ const responseMap: Record = { ["200", "204"], "GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters": + ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}": @@ -133,275 +134,314 @@ const responseMap: Record = { }; export function isUnexpected( - response: ClustersGet200Response | ClustersGetdefaultResponse, -): response is ClustersGetdefaultResponse; + response: ClustersGet200Response | ClustersGetDefaultResponse, +): response is ClustersGetDefaultResponse; export function isUnexpected( response: | ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response - | ClustersCreateOrUpdatedefaultResponse, -): response is ClustersCreateOrUpdatedefaultResponse; + | ClustersCreateOrUpdateDefaultResponse, +): response is ClustersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdatedefaultResponse, -): response is ClustersUpdatedefaultResponse; + response: + | ClustersUpdate200Response + | ClustersUpdate202Response + | ClustersUpdateDefaultResponse, +): response is ClustersUpdateDefaultResponse; export function isUnexpected( - response: ClustersDelete200Response | ClustersDelete204Response | ClustersDeletedefaultResponse, -): response is ClustersDeletedefaultResponse; + response: + | ClustersDelete200Response + | ClustersDelete204Response + | ClustersDeleteDefaultResponse, +): response is ClustersDeleteDefaultResponse; export function isUnexpected( - response: ClustersListByResourceGroup200Response | ClustersListByResourceGroupdefaultResponse, -): response is ClustersListByResourceGroupdefaultResponse; + response: + | ClustersListByResourceGroup200Response + | ClustersListByResourceGroupDefaultResponse, +): response is ClustersListByResourceGroupDefaultResponse; export function isUnexpected( - response: ClustersList200Response | ClustersListdefaultResponse, -): response is ClustersListdefaultResponse; + response: ClustersList200Response | ClustersListDefaultResponse, +): response is ClustersListDefaultResponse; export function isUnexpected( response: | ClustersListUpgradableVersions200Response - | ClustersListUpgradableVersionsdefaultResponse, -): response is ClustersListUpgradableVersionsdefaultResponse; + | ClustersListUpgradableVersionsDefaultResponse, +): response is ClustersListUpgradableVersionsDefaultResponse; export function isUnexpected( - response: ClusterVersionsGet200Response | ClusterVersionsGetdefaultResponse, -): response is ClusterVersionsGetdefaultResponse; + response: ClusterVersionsGet200Response | ClusterVersionsGetDefaultResponse, +): response is ClusterVersionsGetDefaultResponse; export function isUnexpected( response: | ClusterVersionsGetByEnvironment200Response - | ClusterVersionsGetByEnvironmentdefaultResponse, -): response is ClusterVersionsGetByEnvironmentdefaultResponse; + | ClusterVersionsGetByEnvironmentDefaultResponse, +): response is ClusterVersionsGetByEnvironmentDefaultResponse; export function isUnexpected( - response: ClusterVersionsList200Response | ClusterVersionsListdefaultResponse, -): response is ClusterVersionsListdefaultResponse; + response: ClusterVersionsList200Response | ClusterVersionsListDefaultResponse, +): response is ClusterVersionsListDefaultResponse; export function isUnexpected( response: | ClusterVersionsListByEnvironment200Response - | ClusterVersionsListByEnvironmentdefaultResponse, -): response is ClusterVersionsListByEnvironmentdefaultResponse; + | ClusterVersionsListByEnvironmentDefaultResponse, +): response is ClusterVersionsListByEnvironmentDefaultResponse; export function isUnexpected( - response: OperationsList200Response | OperationsListdefaultResponse, -): response is OperationsListdefaultResponse; + response: OperationsList200Response | OperationsListDefaultResponse, +): response is OperationsListDefaultResponse; export function isUnexpected( - response: ApplicationTypesGet200Response | ApplicationTypesGetdefaultResponse, -): response is ApplicationTypesGetdefaultResponse; + response: ApplicationTypesGet200Response | ApplicationTypesGetDefaultResponse, +): response is ApplicationTypesGetDefaultResponse; export function isUnexpected( response: | ApplicationTypesCreateOrUpdate200Response - | ApplicationTypesCreateOrUpdatedefaultResponse, -): response is ApplicationTypesCreateOrUpdatedefaultResponse; + | ApplicationTypesCreateOrUpdateDefaultResponse, +): response is ApplicationTypesCreateOrUpdateDefaultResponse; export function isUnexpected( response: | ApplicationTypesDelete202Response | ApplicationTypesDelete204Response - | ApplicationTypesDeletedefaultResponse, -): response is ApplicationTypesDeletedefaultResponse; + | ApplicationTypesDeleteDefaultResponse, +): response is ApplicationTypesDeleteDefaultResponse; export function isUnexpected( - response: ApplicationTypesList200Response | ApplicationTypesListdefaultResponse, -): response is ApplicationTypesListdefaultResponse; + response: + | ApplicationTypesList200Response + | ApplicationTypesListDefaultResponse, +): response is ApplicationTypesListDefaultResponse; export function isUnexpected( - response: ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetdefaultResponse, -): response is ApplicationTypeVersionsGetdefaultResponse; + response: + | ApplicationTypeVersionsGet200Response + | ApplicationTypeVersionsGetDefaultResponse, +): response is ApplicationTypeVersionsGetDefaultResponse; export function isUnexpected( response: | ApplicationTypeVersionsCreateOrUpdate202Response - | ApplicationTypeVersionsCreateOrUpdatedefaultResponse, -): response is ApplicationTypeVersionsCreateOrUpdatedefaultResponse; + | ApplicationTypeVersionsCreateOrUpdateDefaultResponse, +): response is ApplicationTypeVersionsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response - | ApplicationTypeVersionsDeletedefaultResponse, -): response is ApplicationTypeVersionsDeletedefaultResponse; + | ApplicationTypeVersionsDeleteDefaultResponse, +): response is ApplicationTypeVersionsDeleteDefaultResponse; export function isUnexpected( - response: ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListdefaultResponse, -): response is ApplicationTypeVersionsListdefaultResponse; + response: + | ApplicationTypeVersionsList200Response + | ApplicationTypeVersionsListDefaultResponse, +): response is ApplicationTypeVersionsListDefaultResponse; export function isUnexpected( - response: ApplicationsGet200Response | ApplicationsGetdefaultResponse, -): response is ApplicationsGetdefaultResponse; + response: ApplicationsGet200Response | ApplicationsGetDefaultResponse, +): response is ApplicationsGetDefaultResponse; export function isUnexpected( - response: ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdatedefaultResponse, -): response is ApplicationsCreateOrUpdatedefaultResponse; + response: + | ApplicationsCreateOrUpdate202Response + | ApplicationsCreateOrUpdateDefaultResponse, +): response is ApplicationsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ApplicationsUpdate202Response | ApplicationsUpdatedefaultResponse, -): response is ApplicationsUpdatedefaultResponse; + response: ApplicationsUpdate202Response | ApplicationsUpdateDefaultResponse, +): response is ApplicationsUpdateDefaultResponse; export function isUnexpected( response: | ApplicationsDelete202Response | ApplicationsDelete204Response - | ApplicationsDeletedefaultResponse, -): response is ApplicationsDeletedefaultResponse; + | ApplicationsDeleteDefaultResponse, +): response is ApplicationsDeleteDefaultResponse; export function isUnexpected( - response: ApplicationsList200Response | ApplicationsListdefaultResponse, -): response is ApplicationsListdefaultResponse; + response: ApplicationsList200Response | ApplicationsListDefaultResponse, +): response is ApplicationsListDefaultResponse; export function isUnexpected( - response: ServicesGet200Response | ServicesGetdefaultResponse, -): response is ServicesGetdefaultResponse; + response: ServicesGet200Response | ServicesGetDefaultResponse, +): response is ServicesGetDefaultResponse; export function isUnexpected( - response: ServicesCreateOrUpdate202Response | ServicesCreateOrUpdatedefaultResponse, -): response is ServicesCreateOrUpdatedefaultResponse; + response: + | ServicesCreateOrUpdate202Response + | ServicesCreateOrUpdateDefaultResponse, +): response is ServicesCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ServicesUpdate202Response | ServicesUpdatedefaultResponse, -): response is ServicesUpdatedefaultResponse; + response: ServicesUpdate202Response | ServicesUpdateDefaultResponse, +): response is ServicesUpdateDefaultResponse; export function isUnexpected( - response: ServicesDelete202Response | ServicesDelete204Response | ServicesDeletedefaultResponse, -): response is ServicesDeletedefaultResponse; + response: + | ServicesDelete202Response + | ServicesDelete204Response + | ServicesDeleteDefaultResponse, +): response is ServicesDeleteDefaultResponse; export function isUnexpected( - response: ServicesList200Response | ServicesListdefaultResponse, -): response is ServicesListdefaultResponse; + response: ServicesList200Response | ServicesListDefaultResponse, +): response is ServicesListDefaultResponse; export function isUnexpected( response: | ClustersGet200Response - | ClustersGetdefaultResponse + | ClustersGetDefaultResponse | ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response - | ClustersCreateOrUpdatedefaultResponse + | ClustersCreateOrUpdateDefaultResponse | ClustersUpdate200Response | ClustersUpdate202Response - | ClustersUpdatedefaultResponse + | ClustersUpdateDefaultResponse | ClustersDelete200Response | ClustersDelete204Response - | ClustersDeletedefaultResponse + | ClustersDeleteDefaultResponse | ClustersListByResourceGroup200Response - | ClustersListByResourceGroupdefaultResponse + | ClustersListByResourceGroupDefaultResponse | ClustersList200Response - | ClustersListdefaultResponse + | ClustersListDefaultResponse | ClustersListUpgradableVersions200Response - | ClustersListUpgradableVersionsdefaultResponse + | ClustersListUpgradableVersionsDefaultResponse | ClusterVersionsGet200Response - | ClusterVersionsGetdefaultResponse + | ClusterVersionsGetDefaultResponse | ClusterVersionsGetByEnvironment200Response - | ClusterVersionsGetByEnvironmentdefaultResponse + | ClusterVersionsGetByEnvironmentDefaultResponse | ClusterVersionsList200Response - | ClusterVersionsListdefaultResponse + | ClusterVersionsListDefaultResponse | ClusterVersionsListByEnvironment200Response - | ClusterVersionsListByEnvironmentdefaultResponse + | ClusterVersionsListByEnvironmentDefaultResponse | OperationsList200Response - | OperationsListdefaultResponse + | OperationsListDefaultResponse | ApplicationTypesGet200Response - | ApplicationTypesGetdefaultResponse + | ApplicationTypesGetDefaultResponse | ApplicationTypesCreateOrUpdate200Response - | ApplicationTypesCreateOrUpdatedefaultResponse + | ApplicationTypesCreateOrUpdateDefaultResponse | ApplicationTypesDelete202Response | ApplicationTypesDelete204Response - | ApplicationTypesDeletedefaultResponse + | ApplicationTypesDeleteDefaultResponse | ApplicationTypesList200Response - | ApplicationTypesListdefaultResponse + | ApplicationTypesListDefaultResponse | ApplicationTypeVersionsGet200Response - | ApplicationTypeVersionsGetdefaultResponse + | ApplicationTypeVersionsGetDefaultResponse | ApplicationTypeVersionsCreateOrUpdate202Response - | ApplicationTypeVersionsCreateOrUpdatedefaultResponse + | ApplicationTypeVersionsCreateOrUpdateDefaultResponse | ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response - | ApplicationTypeVersionsDeletedefaultResponse + | ApplicationTypeVersionsDeleteDefaultResponse | ApplicationTypeVersionsList200Response - | ApplicationTypeVersionsListdefaultResponse + | ApplicationTypeVersionsListDefaultResponse | ApplicationsGet200Response - | ApplicationsGetdefaultResponse + | ApplicationsGetDefaultResponse | ApplicationsCreateOrUpdate202Response - | ApplicationsCreateOrUpdatedefaultResponse + | ApplicationsCreateOrUpdateDefaultResponse | ApplicationsUpdate202Response - | ApplicationsUpdatedefaultResponse + | ApplicationsUpdateDefaultResponse | ApplicationsDelete202Response | ApplicationsDelete204Response - | ApplicationsDeletedefaultResponse + | ApplicationsDeleteDefaultResponse | ApplicationsList200Response - | ApplicationsListdefaultResponse + | ApplicationsListDefaultResponse | ServicesGet200Response - | ServicesGetdefaultResponse + | ServicesGetDefaultResponse | ServicesCreateOrUpdate202Response - | ServicesCreateOrUpdatedefaultResponse + | ServicesCreateOrUpdateDefaultResponse | ServicesUpdate202Response - | ServicesUpdatedefaultResponse + | ServicesUpdateDefaultResponse | ServicesDelete202Response | ServicesDelete204Response - | ServicesDeletedefaultResponse + | ServicesDeleteDefaultResponse | ServicesList200Response - | ServicesListdefaultResponse, + | ServicesListDefaultResponse, ): response is - | ClustersGetdefaultResponse - | ClustersCreateOrUpdatedefaultResponse - | ClustersUpdatedefaultResponse - | ClustersDeletedefaultResponse - | ClustersListByResourceGroupdefaultResponse - | ClustersListdefaultResponse - | ClustersListUpgradableVersionsdefaultResponse - | ClusterVersionsGetdefaultResponse - | ClusterVersionsGetByEnvironmentdefaultResponse - | ClusterVersionsListdefaultResponse - | ClusterVersionsListByEnvironmentdefaultResponse - | OperationsListdefaultResponse - | ApplicationTypesGetdefaultResponse - | ApplicationTypesCreateOrUpdatedefaultResponse - | ApplicationTypesDeletedefaultResponse - | ApplicationTypesListdefaultResponse - | ApplicationTypeVersionsGetdefaultResponse - | ApplicationTypeVersionsCreateOrUpdatedefaultResponse - | ApplicationTypeVersionsDeletedefaultResponse - | ApplicationTypeVersionsListdefaultResponse - | ApplicationsGetdefaultResponse - | ApplicationsCreateOrUpdatedefaultResponse - | ApplicationsUpdatedefaultResponse - | ApplicationsDeletedefaultResponse - | ApplicationsListdefaultResponse - | ServicesGetdefaultResponse - | ServicesCreateOrUpdatedefaultResponse - | ServicesUpdatedefaultResponse - | ServicesDeletedefaultResponse - | ServicesListdefaultResponse { + | ClustersGetDefaultResponse + | ClustersCreateOrUpdateDefaultResponse + | ClustersUpdateDefaultResponse + | ClustersDeleteDefaultResponse + | ClustersListByResourceGroupDefaultResponse + | ClustersListDefaultResponse + | ClustersListUpgradableVersionsDefaultResponse + | ClusterVersionsGetDefaultResponse + | ClusterVersionsGetByEnvironmentDefaultResponse + | ClusterVersionsListDefaultResponse + | ClusterVersionsListByEnvironmentDefaultResponse + | OperationsListDefaultResponse + | ApplicationTypesGetDefaultResponse + | ApplicationTypesCreateOrUpdateDefaultResponse + | ApplicationTypesDeleteDefaultResponse + | ApplicationTypesListDefaultResponse + | ApplicationTypeVersionsGetDefaultResponse + | ApplicationTypeVersionsCreateOrUpdateDefaultResponse + | ApplicationTypeVersionsDeleteDefaultResponse + | ApplicationTypeVersionsListDefaultResponse + | ApplicationsGetDefaultResponse + | ApplicationsCreateOrUpdateDefaultResponse + | ApplicationsUpdateDefaultResponse + | ApplicationsDeleteDefaultResponse + | ApplicationsListDefaultResponse + | ServicesGetDefaultResponse + | ServicesCreateOrUpdateDefaultResponse + | ServicesUpdateDefaultResponse + | ServicesDeleteDefaultResponse + | ServicesListDefaultResponse { const lroOriginal = response.headers["x-ms-original-url"]; const url = new URL(lroOriginal ?? response.request.url); const method = response.request.method; let pathDetails = responseMap[`${method} ${url.pathname}`]; if (!pathDetails) { - pathDetails = geParametrizedPathSuccess(url.pathname); + pathDetails = getParametrizedPathSuccess(method, url.pathname); } return !pathDetails.includes(response.status); } -function geParametrizedPathSuccess(path: string): string[] { +function getParametrizedPathSuccess(method: string, path: string): string[] { const pathParts = path.split("/"); + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + // Iterate the responseMap to find a match for (const [key, value] of Object.entries(responseMap)) { // Extracting the path from the map key which is in format // GET /path/foo + if (!key.startsWith(method)) { + continue; + } const candidatePath = getPathFromMapKey(key); // Get each part of the url path const candidateParts = candidatePath.split("/"); - // If the candidate and actual paths don't match in size - // we move on to the next candidate path - if (candidateParts.length === pathParts.length && hasParametrizedPath(key)) { - // track if we have found a match to return the values found. - let found = true; - for (let i = 0; i < candidateParts.length; i++) { - if (candidateParts[i].startsWith("{") && candidateParts[i].endsWith("}")) { - // If the current part of the candidate is a "template" part - // it is a match with the actual path part on hand - // skip as the parameterized part can match anything - continue; - } + // track if we have found a match to return the values found. + let found = true; + for ( + let i = candidateParts.length - 1, j = pathParts.length - 1; + i >= 1 && j >= 1; + i--, j-- + ) { + if ( + candidateParts[i]?.startsWith("{") && + candidateParts[i]?.indexOf("}") !== -1 + ) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp( + `${candidateParts[i]?.slice(start, end)}`, + ).test(pathParts[j] || ""); - // If the candidate part is not a template and - // the parts don't match mark the candidate as not found - // to move on with the next candidate path. - if (candidateParts[i] !== pathParts[i]) { + if (!isMatched) { found = false; break; } + continue; } - // We finished evaluating the current candidate parts - // if all parts matched we return the success values form - // the path mapping. - if (found) { - return value; + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; } } - } - // No match was found, return an empty array. - return []; -} + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } -function hasParametrizedPath(path: string): boolean { - return path.includes("/{"); + return matchedValue; } function getPathFromMapKey(mapKey: string): string { diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/logger.ts b/sdk/servicefabric/arm-servicefabric-rest/src/logger.ts new file mode 100644 index 000000000000..e52c764d1228 --- /dev/null +++ b/sdk/servicefabric/arm-servicefabric-rest/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-servicefabric"); diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/models.ts b/sdk/servicefabric/arm-servicefabric-rest/src/models.ts index 8f57b52fb81a..3d20175dcee2 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/models.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/models.ts @@ -1,18 +1,24 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** + * The cluster resource + * + */ export interface Cluster extends Resource { /** The cluster resource properties */ properties?: ClusterProperties; } +/** Describes the cluster resource properties. */ export interface ClusterProperties { /** The list of add-on features to enable in the cluster. */ addOnFeatures?: Array< - "RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService" + | "RepairManager" + | "DnsService" + | "BackupRestoreService" + | "ResourceMonitorService" >; - /** The Service Fabric runtime versions available for this cluster. */ - availableClusterVersions?: Array; /** The AAD authentication settings of the cluster. */ azureActiveDirectory?: AzureActiveDirectory; /** The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. */ @@ -25,36 +31,6 @@ export interface ClusterProperties { clientCertificateThumbprints?: Array; /** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**. */ clusterCodeVersion?: string; - /** The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint. */ - clusterEndpoint?: string; - /** A service generated unique identifier for the cluster resource. */ - clusterId?: string; - /** - * The current state of the cluster. - * - * - WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it. - * - Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up. - * - BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time. - * - UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration. - * - UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate. - * - UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the **upgradeMode** is set to 'Automatic'. - * - EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version. - * - UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider. - * - AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted. - * - Ready - Indicates that the cluster is in a stable state. - * - */ - clusterState?: - | "WaitingForNodes" - | "Deploying" - | "BaselineUpgrade" - | "UpdatingUserConfiguration" - | "UpdatingUserCertificate" - | "UpdatingInfrastructure" - | "EnforcingClusterVersion" - | "UpgradeServiceUnreachable" - | "AutoScale" - | "Ready"; /** The storage account information for storing Service Fabric diagnostic logs. */ diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfig; /** Indicates if the event store service is enabled. */ @@ -65,8 +41,6 @@ export interface ClusterProperties { managementEndpoint: string; /** The list of node types in the cluster. */ nodeTypes: Array; - /** The provisioning state of the cluster resource. */ - provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled"; /** * The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity). * @@ -108,6 +82,7 @@ export interface ClusterProperties { notifications?: Array; } +/** The detail of the Service Fabric runtime version result */ export interface ClusterVersionDetails { /** The Service Fabric runtime version of the cluster. */ codeVersion?: string; @@ -117,6 +92,7 @@ export interface ClusterVersionDetails { environment?: "Windows" | "Linux"; } +/** The settings to enable AAD authentication on the cluster. */ export interface AzureActiveDirectory { /** Azure active directory tenant id. */ tenantId?: string; @@ -126,6 +102,7 @@ export interface AzureActiveDirectory { clientApplication?: string; } +/** Describes the certificate details. */ export interface CertificateDescription { /** Thumbprint of the primary certificate. */ thumbprint: string; @@ -143,6 +120,7 @@ export interface CertificateDescription { | "TrustedPublisher"; } +/** Describes a list of server certificates referenced by common name that are used to secure the cluster. */ export interface ServerCertificateCommonNames { /** The list of server certificates referenced by common name that are used to secure the cluster. */ commonNames?: Array; @@ -158,6 +136,7 @@ export interface ServerCertificateCommonNames { | "TrustedPublisher"; } +/** Describes the server certificate details using common name. */ export interface ServerCertificateCommonName { /** The common name of the server certificate. */ certificateCommonName: string; @@ -165,6 +144,7 @@ export interface ServerCertificateCommonName { certificateIssuerThumbprint: string; } +/** Describes the client certificate details using common name. */ export interface ClientCertificateCommonName { /** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */ isAdmin: boolean; @@ -174,6 +154,7 @@ export interface ClientCertificateCommonName { certificateIssuerThumbprint: string; } +/** Describes the client certificate details using thumbprint. */ export interface ClientCertificateThumbprint { /** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */ isAdmin: boolean; @@ -181,6 +162,7 @@ export interface ClientCertificateThumbprint { certificateThumbprint: string; } +/** The storage account information for storing Service Fabric diagnostic logs. */ export interface DiagnosticsStorageAccountConfig { /** The Azure storage account name. */ storageAccountName: string; @@ -196,6 +178,7 @@ export interface DiagnosticsStorageAccountConfig { tableEndpoint: string; } +/** Describes a section in the fabric settings of the cluster. */ export interface SettingsSectionDescription { /** The section name of the fabric settings. */ name: string; @@ -203,6 +186,7 @@ export interface SettingsSectionDescription { parameters: Array; } +/** Describes a parameter in fabric settings of the cluster. */ export interface SettingsParameterDescription { /** The parameter name of fabric setting. */ name: string; @@ -210,6 +194,7 @@ export interface SettingsParameterDescription { value: string; } +/** Describes a node type in the cluster, each node type represents sub set of nodes in the cluster. */ export interface NodeTypeDescription { /** The name of the node type. */ name: string; @@ -246,6 +231,7 @@ export interface NodeTypeDescription { multipleAvailabilityZones?: boolean; } +/** Port range details */ export interface EndpointRangeDescription { /** Starting port of a range of ports */ startPort: number; @@ -253,6 +239,7 @@ export interface EndpointRangeDescription { endPort: number; } +/** Describes the policy used when upgrading the cluster. */ export interface ClusterUpgradePolicy { /** If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data). */ forceRestart?: boolean; @@ -274,6 +261,10 @@ export interface ClusterUpgradePolicy { deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicy; } +/** + * Defines a health policy used to evaluate the health of the cluster or of a cluster node. + * + */ export interface ClusterHealthPolicy { /** * The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10. @@ -301,6 +292,10 @@ export interface ClusterHealthPolicy { applicationHealthPolicies?: Record; } +/** + * Defines a health policy used to evaluate the health of an application or one of its children entities. + * + */ export interface ApplicationHealthPolicy { /** The health policy used by default to evaluate the health of a service type. */ defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicy; @@ -308,6 +303,10 @@ export interface ApplicationHealthPolicy { serviceTypeHealthPolicies?: Record; } +/** + * Represents the health policy used to evaluate the health of services belonging to a service type. + * + */ export interface ServiceTypeHealthPolicy { /** * The maximum percentage of services allowed to be unhealthy before your application is considered in error. @@ -316,6 +315,7 @@ export interface ServiceTypeHealthPolicy { maxPercentUnhealthyServices?: number; } +/** Describes the delta health policies for the cluster upgrade. */ export interface ClusterUpgradeDeltaHealthPolicy { /** * The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. @@ -342,6 +342,10 @@ export interface ClusterUpgradeDeltaHealthPolicy { applicationDeltaHealthPolicies?: Record; } +/** + * Defines a delta health policy used to evaluate the health of an application or one of its child entities when upgrading the cluster. + * + */ export interface ApplicationDeltaHealthPolicy { /** The delta health policy used by default to evaluate the health of a service type when upgrading the cluster. */ defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicy; @@ -349,6 +353,10 @@ export interface ApplicationDeltaHealthPolicy { serviceTypeDeltaHealthPolicies?: Record; } +/** + * Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster. + * + */ export interface ServiceTypeDeltaHealthPolicy { /** * The maximum allowed percentage of services health degradation allowed during cluster upgrades. @@ -364,6 +372,7 @@ export interface ApplicationTypeVersionsCleanupPolicy { maxUnusedVersionsToKeep: number; } +/** Describes the notification channel for cluster events. */ export interface Notification { /** Indicates if the notification is enabled. */ isEnabled: boolean; @@ -375,6 +384,7 @@ export interface Notification { notificationTargets: Array; } +/** Describes the notification target properties. */ export interface NotificationTarget { /** The notification channel indicates the type of receivers subscribed to the notification, either user or subscription. */ notificationChannel: "EmailUser" | "EmailSubscription"; @@ -382,23 +392,15 @@ export interface NotificationTarget { receivers: Array; } +/** The resource model definition. */ export interface Resource { - /** Azure resource identifier. */ - id?: string; - /** Azure resource name. */ - name?: string; - /** Azure resource type. */ - type?: string; /** Azure resource location. */ location: string; /** Azure resource tags. */ tags?: Record; - /** Azure resource etag. */ - etag?: string; - /** Metadata pertaining to creation and last modification of the resource. */ - systemData?: SystemData; } +/** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { /** The identity that created the resource. */ createdBy?: string; @@ -414,6 +416,7 @@ export interface SystemData { lastModifiedAt?: Date | string; } +/** Cluster update request */ export interface ClusterUpdateParameters { /** Describes the cluster resource properties that can be updated during PATCH operation. */ properties?: ClusterPropertiesUpdateParameters; @@ -421,10 +424,14 @@ export interface ClusterUpdateParameters { tags?: Record; } +/** Describes the cluster resource properties that can be updated during PATCH operation. */ export interface ClusterPropertiesUpdateParameters { /** The list of add-on features to enable in the cluster. */ addOnFeatures?: Array< - "RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService" + | "RepairManager" + | "DnsService" + | "BackupRestoreService" + | "ResourceMonitorService" >; /** The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. */ certificate?: CertificateDescription; @@ -484,47 +491,36 @@ export interface UpgradableVersionsDescription { targetVersion: string; } +/** The application type name resource */ export interface ApplicationTypeResource extends ProxyResource { /** The application type name properties */ properties?: ApplicationTypeResourceProperties; } -export interface ApplicationTypeResourceProperties { - /** The current deployment or provisioning state, which only appears in the response. */ - provisioningState?: string; -} +/** The application type name properties */ +export interface ApplicationTypeResourceProperties {} +/** The resource model definition for proxy-only resource. */ export interface ProxyResource { - /** Azure resource identifier. */ - id?: string; - /** Azure resource name. */ - name?: string; - /** Azure resource type. */ - type?: string; /** It will be deprecated in New API, resource location depends on the parent resource. */ location?: string; /** Azure resource tags. */ tags?: Record; - /** Azure resource etag. */ - etag?: string; - /** Metadata pertaining to creation and last modification of the resource. */ - systemData?: SystemData; } +/** An application type version resource for the specified application type name resource. */ export interface ApplicationTypeVersionResource extends ProxyResource { /** The properties of the application type version resource. */ properties?: ApplicationTypeVersionResourceProperties; } +/** The properties of the application type version resource. */ export interface ApplicationTypeVersionResourceProperties { - /** The current deployment or provisioning state, which only appears in the response */ - provisioningState?: string; /** The URL to the application package */ appPackageUrl: string; - /** List of application type parameters that can be overridden when creating or updating the application. */ - defaultParameterList?: Record; } +/** The application resource. */ export interface ApplicationResource extends ProxyResource { /** Describes the managed identities for an Azure resource. */ identity?: ManagedIdentity; @@ -532,13 +528,14 @@ export interface ApplicationResource extends ProxyResource { properties?: ApplicationResourceProperties; } +/** Describes the managed identities for an Azure resource. */ export interface ManagedIdentity { - /** The principal id of the managed identity. This property will only be provided for a system assigned identity. */ - principalId?: string; - /** The tenant id of the managed identity. This property will only be provided for a system assigned identity. */ - tenantId?: string; /** The type of managed identity for the resource. */ - type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; + type?: + | "SystemAssigned" + | "UserAssigned" + | "SystemAssigned, UserAssigned" + | "None"; /** * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. @@ -547,20 +544,16 @@ export interface ManagedIdentity { userAssignedIdentities?: Record; } -export interface UserAssignedIdentity { - /** The principal id of user assigned identity. */ - principalId?: string; - /** The client id of user assigned identity. */ - clientId?: string; -} +export interface UserAssignedIdentity {} -export interface ApplicationResourceProperties extends ApplicationResourceUpdateProperties { - /** The current deployment or provisioning state, which only appears in the response */ - provisioningState?: string; +/** The application resource properties. */ +export interface ApplicationResourceProperties + extends ApplicationResourceUpdateProperties { /** The application type name as defined in the application manifest. */ typeName?: string; } +/** The application resource properties for patch operations. */ export interface ApplicationResourceUpdateProperties { /** The version of the application type as defined in the application manifest. */ typeVersion?: string; @@ -580,6 +573,7 @@ export interface ApplicationResourceUpdateProperties { managedIdentities?: Array; } +/** Describes the policy for a monitored application upgrade. */ export interface ApplicationUpgradePolicy { /** The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). */ upgradeReplicaSetCheckTimeout?: string; @@ -593,11 +587,16 @@ export interface ApplicationUpgradePolicy { */ applicationHealthPolicy?: ArmApplicationHealthPolicy; /** The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. */ - upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored"; + upgradeMode?: + | "Invalid" + | "UnmonitoredAuto" + | "UnmonitoredManual" + | "Monitored"; /** Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss. */ recreateApplication?: boolean; } +/** The policy used for monitoring the application upgrade */ export interface ArmRollingUpgradeMonitoringPolicy { /** The activation Mode of the service package */ failureAction?: "Rollback" | "Manual"; @@ -613,6 +612,10 @@ export interface ArmRollingUpgradeMonitoringPolicy { upgradeDomainTimeout?: string; } +/** + * Defines a health policy used to evaluate the health of an application or one of its children entities. + * + */ export interface ArmApplicationHealthPolicy { /** Indicates whether warnings are treated with the same severity as errors. */ considerWarningAsError?: boolean; @@ -630,6 +633,10 @@ export interface ArmApplicationHealthPolicy { serviceTypeHealthPolicyMap?: Record; } +/** + * Represents the health policy used to evaluate the health of services belonging to a service type. + * + */ export interface ArmServiceTypeHealthPolicy { /** * The maximum percentage of services allowed to be unhealthy before your application is considered in error. @@ -648,6 +655,10 @@ export interface ArmServiceTypeHealthPolicy { maxPercentUnhealthyReplicasPerPartition?: number; } +/** + * Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application. + * + */ export interface ApplicationMetricDescription { /** The name of the metric. */ name?: string; @@ -685,19 +696,21 @@ export interface ApplicationUserAssignedIdentity { principalId: string; } +/** The application resource for patch operations. */ export interface ApplicationResourceUpdate extends ProxyResource { /** The application resource properties for patch operations. */ properties?: ApplicationResourceUpdateProperties; } +/** The service resource. */ export interface ServiceResource extends ProxyResource { /** The service resource properties. */ properties?: ServiceResourceProperties; } -export interface ServiceResourcePropertiesParent extends ServiceResourcePropertiesBase { - /** The current deployment or provisioning state, which only appears in the response */ - provisioningState?: string; +/** The service resource properties. */ +export interface ServiceResourcePropertiesParent + extends ServiceResourcePropertiesBase { /** The name of the service type */ serviceTypeName?: string; /** Describes how the service is partitioned. */ @@ -709,10 +722,16 @@ export interface ServiceResourcePropertiesParent extends ServiceResourceProperti serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless"; } +/** Describes how the service is partitioned. */ export interface PartitionSchemeDescriptionParent { - partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range"; + partitionScheme: + | "PartitionSchemeDescription" + | "Named" + | "Singleton" + | "UniformInt64Range"; } +/** The common service resource properties. */ export interface ServiceResourcePropertiesBase { /** The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". */ placementConstraints?: string; @@ -726,6 +745,7 @@ export interface ServiceResourcePropertiesBase { defaultMoveCost?: "Zero" | "Low" | "Medium" | "High"; } +/** Creates a particular correlation between services. */ export interface ServiceCorrelationDescription { /** The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. */ scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity"; @@ -733,6 +753,7 @@ export interface ServiceCorrelationDescription { serviceName: string; } +/** Specifies a metric to load balance a service during runtime. */ export interface ServiceLoadMetricDescription { /** The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive. */ name: string; @@ -746,20 +767,26 @@ export interface ServiceLoadMetricDescription { defaultLoad?: number; } +/** Describes the policy to be used for placement of a Service Fabric service. */ export interface ServicePlacementPolicyDescription { type: "ServicePlacementPolicyDescription"; } +/** The service resource for patch operations. */ export interface ServiceResourceUpdate extends ProxyResource { /** The service resource properties for patch operations. */ properties?: ServiceResourceUpdateProperties; } -export interface ServiceResourceUpdatePropertiesParent extends ServiceResourcePropertiesBase { +/** The service resource properties for patch operations. */ +export interface ServiceResourceUpdatePropertiesParent + extends ServiceResourcePropertiesBase { serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless"; } -export interface NamedPartitionSchemeDescription extends PartitionSchemeDescriptionParent { +/** Describes the named partition scheme of the service. */ +export interface NamedPartitionSchemeDescription + extends PartitionSchemeDescriptionParent { /** The number of partitions. */ count: number; /** Array of size specified by the ‘count’ parameter, for the names of the partitions. */ @@ -767,11 +794,15 @@ export interface NamedPartitionSchemeDescription extends PartitionSchemeDescript partitionScheme: "Named"; } -export interface SingletonPartitionSchemeDescription extends PartitionSchemeDescriptionParent { +/** SingletonPartitionSchemeDescription */ +export interface SingletonPartitionSchemeDescription + extends PartitionSchemeDescriptionParent { partitionScheme: "Singleton"; } -export interface StatefulServiceProperties extends ServiceResourcePropertiesParent { +/** The properties of a stateful service resource. */ +export interface StatefulServiceProperties + extends ServiceResourcePropertiesParent { /** A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false. */ hasPersistedState?: boolean; /** The target replica set size as a number. */ @@ -787,7 +818,9 @@ export interface StatefulServiceProperties extends ServiceResourcePropertiesPare serviceKind: "Stateful"; } -export interface StatefulServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent { +/** The properties of a stateful service resource for patch operations. */ +export interface StatefulServiceUpdateProperties + extends ServiceResourceUpdatePropertiesParent { /** The target replica set size as a number. */ targetReplicaSetSize?: number; /** The minimum replica set size as a number. */ @@ -801,7 +834,9 @@ export interface StatefulServiceUpdateProperties extends ServiceResourceUpdatePr serviceKind: "Stateful"; } -export interface StatelessServiceProperties extends ServiceResourcePropertiesParent { +/** The properties of a stateless service resource. */ +export interface StatelessServiceProperties + extends ServiceResourcePropertiesParent { /** The instance count. */ instanceCount?: number; /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is represented in ISO 8601 format (hh:mm:ss.s). */ @@ -809,7 +844,9 @@ export interface StatelessServiceProperties extends ServiceResourcePropertiesPar serviceKind: "Stateless"; } -export interface StatelessServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent { +/** The properties of a stateless service resource for patch operations. */ +export interface StatelessServiceUpdateProperties + extends ServiceResourceUpdatePropertiesParent { /** The instance count. */ instanceCount?: number; /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. It is represented in ISO 8601 format (hh:mm:ss.s). */ @@ -817,6 +854,7 @@ export interface StatelessServiceUpdateProperties extends ServiceResourceUpdateP serviceKind: "Stateless"; } +/** Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions. */ export interface UniformInt64RangePartitionSchemeDescription extends PartitionSchemeDescriptionParent { /** The number of partitions. */ @@ -836,11 +874,16 @@ export interface UniformInt64RangePartitionSchemeDescription partitionScheme: "UniformInt64Range"; } -export type ServiceResourceProperties = StatefulServiceProperties | StatelessServiceProperties; +/** The service resource properties. */ +export type ServiceResourceProperties = + | StatefulServiceProperties + | StatelessServiceProperties; +/** Describes how the service is partitioned. */ export type PartitionSchemeDescription = | NamedPartitionSchemeDescription | SingletonPartitionSchemeDescription | UniformInt64RangePartitionSchemeDescription; +/** The service resource properties for patch operations. */ export type ServiceResourceUpdateProperties = | StatefulServiceUpdateProperties | StatelessServiceUpdateProperties; diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/outputModels.ts b/sdk/servicefabric/arm-servicefabric-rest/src/outputModels.ts index d94dcf6ef65f..e3dc3fd46cd3 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/outputModels.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/outputModels.ts @@ -1,18 +1,26 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** + * The cluster resource + * + */ export interface ClusterOutput extends ResourceOutput { /** The cluster resource properties */ properties?: ClusterPropertiesOutput; } +/** Describes the cluster resource properties. */ export interface ClusterPropertiesOutput { /** The list of add-on features to enable in the cluster. */ addOnFeatures?: Array< - "RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService" + | "RepairManager" + | "DnsService" + | "BackupRestoreService" + | "ResourceMonitorService" >; /** The Service Fabric runtime versions available for this cluster. */ - availableClusterVersions?: Array; + readonly availableClusterVersions?: Array; /** The AAD authentication settings of the cluster. */ azureActiveDirectory?: AzureActiveDirectoryOutput; /** The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. */ @@ -26,9 +34,9 @@ export interface ClusterPropertiesOutput { /** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**. */ clusterCodeVersion?: string; /** The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint. */ - clusterEndpoint?: string; + readonly clusterEndpoint?: string; /** A service generated unique identifier for the cluster resource. */ - clusterId?: string; + readonly clusterId?: string; /** * The current state of the cluster. * @@ -44,7 +52,7 @@ export interface ClusterPropertiesOutput { * - Ready - Indicates that the cluster is in a stable state. * */ - clusterState?: + readonly clusterState?: | "WaitingForNodes" | "Deploying" | "BaselineUpgrade" @@ -66,7 +74,7 @@ export interface ClusterPropertiesOutput { /** The list of node types in the cluster. */ nodeTypes: Array; /** The provisioning state of the cluster resource. */ - provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled"; + readonly provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled"; /** * The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity). * @@ -108,6 +116,7 @@ export interface ClusterPropertiesOutput { notifications?: Array; } +/** The detail of the Service Fabric runtime version result */ export interface ClusterVersionDetailsOutput { /** The Service Fabric runtime version of the cluster. */ codeVersion?: string; @@ -117,6 +126,7 @@ export interface ClusterVersionDetailsOutput { environment?: "Windows" | "Linux"; } +/** The settings to enable AAD authentication on the cluster. */ export interface AzureActiveDirectoryOutput { /** Azure active directory tenant id. */ tenantId?: string; @@ -126,6 +136,7 @@ export interface AzureActiveDirectoryOutput { clientApplication?: string; } +/** Describes the certificate details. */ export interface CertificateDescriptionOutput { /** Thumbprint of the primary certificate. */ thumbprint: string; @@ -143,6 +154,7 @@ export interface CertificateDescriptionOutput { | "TrustedPublisher"; } +/** Describes a list of server certificates referenced by common name that are used to secure the cluster. */ export interface ServerCertificateCommonNamesOutput { /** The list of server certificates referenced by common name that are used to secure the cluster. */ commonNames?: Array; @@ -158,6 +170,7 @@ export interface ServerCertificateCommonNamesOutput { | "TrustedPublisher"; } +/** Describes the server certificate details using common name. */ export interface ServerCertificateCommonNameOutput { /** The common name of the server certificate. */ certificateCommonName: string; @@ -165,6 +178,7 @@ export interface ServerCertificateCommonNameOutput { certificateIssuerThumbprint: string; } +/** Describes the client certificate details using common name. */ export interface ClientCertificateCommonNameOutput { /** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */ isAdmin: boolean; @@ -174,6 +188,7 @@ export interface ClientCertificateCommonNameOutput { certificateIssuerThumbprint: string; } +/** Describes the client certificate details using thumbprint. */ export interface ClientCertificateThumbprintOutput { /** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */ isAdmin: boolean; @@ -181,6 +196,7 @@ export interface ClientCertificateThumbprintOutput { certificateThumbprint: string; } +/** The storage account information for storing Service Fabric diagnostic logs. */ export interface DiagnosticsStorageAccountConfigOutput { /** The Azure storage account name. */ storageAccountName: string; @@ -196,6 +212,7 @@ export interface DiagnosticsStorageAccountConfigOutput { tableEndpoint: string; } +/** Describes a section in the fabric settings of the cluster. */ export interface SettingsSectionDescriptionOutput { /** The section name of the fabric settings. */ name: string; @@ -203,6 +220,7 @@ export interface SettingsSectionDescriptionOutput { parameters: Array; } +/** Describes a parameter in fabric settings of the cluster. */ export interface SettingsParameterDescriptionOutput { /** The parameter name of fabric setting. */ name: string; @@ -210,6 +228,7 @@ export interface SettingsParameterDescriptionOutput { value: string; } +/** Describes a node type in the cluster, each node type represents sub set of nodes in the cluster. */ export interface NodeTypeDescriptionOutput { /** The name of the node type. */ name: string; @@ -246,6 +265,7 @@ export interface NodeTypeDescriptionOutput { multipleAvailabilityZones?: boolean; } +/** Port range details */ export interface EndpointRangeDescriptionOutput { /** Starting port of a range of ports */ startPort: number; @@ -253,6 +273,7 @@ export interface EndpointRangeDescriptionOutput { endPort: number; } +/** Describes the policy used when upgrading the cluster. */ export interface ClusterUpgradePolicyOutput { /** If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data). */ forceRestart?: boolean; @@ -274,6 +295,10 @@ export interface ClusterUpgradePolicyOutput { deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicyOutput; } +/** + * Defines a health policy used to evaluate the health of the cluster or of a cluster node. + * + */ export interface ClusterHealthPolicyOutput { /** * The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10. @@ -301,6 +326,10 @@ export interface ClusterHealthPolicyOutput { applicationHealthPolicies?: Record; } +/** + * Defines a health policy used to evaluate the health of an application or one of its children entities. + * + */ export interface ApplicationHealthPolicyOutput { /** The health policy used by default to evaluate the health of a service type. */ defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicyOutput; @@ -308,6 +337,10 @@ export interface ApplicationHealthPolicyOutput { serviceTypeHealthPolicies?: Record; } +/** + * Represents the health policy used to evaluate the health of services belonging to a service type. + * + */ export interface ServiceTypeHealthPolicyOutput { /** * The maximum percentage of services allowed to be unhealthy before your application is considered in error. @@ -316,6 +349,7 @@ export interface ServiceTypeHealthPolicyOutput { maxPercentUnhealthyServices?: number; } +/** Describes the delta health policies for the cluster upgrade. */ export interface ClusterUpgradeDeltaHealthPolicyOutput { /** * The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. @@ -339,16 +373,30 @@ export interface ClusterUpgradeDeltaHealthPolicyOutput { */ maxPercentDeltaUnhealthyApplications: number; /** Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster. */ - applicationDeltaHealthPolicies?: Record; + applicationDeltaHealthPolicies?: Record< + string, + ApplicationDeltaHealthPolicyOutput + >; } +/** + * Defines a delta health policy used to evaluate the health of an application or one of its child entities when upgrading the cluster. + * + */ export interface ApplicationDeltaHealthPolicyOutput { /** The delta health policy used by default to evaluate the health of a service type when upgrading the cluster. */ defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicyOutput; /** The map with service type delta health policy per service type name. The map is empty by default. */ - serviceTypeDeltaHealthPolicies?: Record; + serviceTypeDeltaHealthPolicies?: Record< + string, + ServiceTypeDeltaHealthPolicyOutput + >; } +/** + * Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster. + * + */ export interface ServiceTypeDeltaHealthPolicyOutput { /** * The maximum allowed percentage of services health degradation allowed during cluster upgrades. @@ -364,6 +412,7 @@ export interface ApplicationTypeVersionsCleanupPolicyOutput { maxUnusedVersionsToKeep: number; } +/** Describes the notification channel for cluster events. */ export interface NotificationOutput { /** Indicates if the notification is enabled. */ isEnabled: boolean; @@ -375,6 +424,7 @@ export interface NotificationOutput { notificationTargets: Array; } +/** Describes the notification target properties. */ export interface NotificationTargetOutput { /** The notification channel indicates the type of receivers subscribed to the notification, either user or subscription. */ notificationChannel: "EmailUser" | "EmailSubscription"; @@ -382,23 +432,25 @@ export interface NotificationTargetOutput { receivers: Array; } +/** The resource model definition. */ export interface ResourceOutput { /** Azure resource identifier. */ - id?: string; + readonly id?: string; /** Azure resource name. */ - name?: string; + readonly name?: string; /** Azure resource type. */ - type?: string; + readonly type?: string; /** Azure resource location. */ location: string; /** Azure resource tags. */ tags?: Record; /** Azure resource etag. */ - etag?: string; + readonly etag?: string; /** Metadata pertaining to creation and last modification of the resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } +/** Metadata pertaining to creation and last modification of the resource. */ export interface SystemDataOutput { /** The identity that created the resource. */ createdBy?: string; @@ -414,11 +466,13 @@ export interface SystemDataOutput { lastModifiedAt?: string; } +/** The structure of the error. */ export interface ErrorModelOutput { /** The error details. */ error?: ErrorModelErrorOutput; } +/** The error details. */ export interface ErrorModelErrorOutput { /** The error code. */ code?: string; @@ -426,18 +480,21 @@ export interface ErrorModelErrorOutput { message?: string; } +/** Cluster list results */ export interface ClusterListResultOutput { value?: Array; /** The URL to use for getting the next set of results. */ nextLink?: string; } +/** The list results of the Service Fabric runtime versions. */ export interface ClusterCodeVersionsListResultOutput { value?: Array; /** The URL to use for getting the next set of results. */ nextLink?: string; } +/** The result of the Service Fabric runtime versions */ export interface ClusterCodeVersionsResultOutput { /** The identification of the result */ id?: string; @@ -449,17 +506,20 @@ export interface ClusterCodeVersionsResultOutput { properties?: ClusterVersionDetailsOutput; } +/** The list of intermediate cluster code versions for an upgrade or downgrade. Or minimum and maximum upgradable version if no target was given */ export interface UpgradableVersionPathResultOutput { supportedPath?: Array; } +/** Describes the result of the request to list Service Fabric resource provider operations. */ export interface OperationListResultOutput { /** List of operations supported by the Service Fabric resource provider. */ value?: Array; /** URL to get the next set of operation list results if there are any. */ - nextLink?: string; + readonly nextLink?: string; } +/** Available operation list result */ export interface OperationResultOutput { /** The name of the operation. */ name?: string; @@ -473,6 +533,7 @@ export interface OperationResultOutput { nextLink?: string; } +/** Operation supported by the Service Fabric resource provider */ export interface AvailableOperationDisplayOutput { /** The name of the provider. */ provider?: string; @@ -484,59 +545,68 @@ export interface AvailableOperationDisplayOutput { description?: string; } +/** The application type name resource */ export interface ApplicationTypeResourceOutput extends ProxyResourceOutput { /** The application type name properties */ properties?: ApplicationTypeResourcePropertiesOutput; } +/** The application type name properties */ export interface ApplicationTypeResourcePropertiesOutput { /** The current deployment or provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; } +/** The resource model definition for proxy-only resource. */ export interface ProxyResourceOutput { /** Azure resource identifier. */ - id?: string; + readonly id?: string; /** Azure resource name. */ - name?: string; + readonly name?: string; /** Azure resource type. */ - type?: string; + readonly type?: string; /** It will be deprecated in New API, resource location depends on the parent resource. */ location?: string; /** Azure resource tags. */ tags?: Record; /** Azure resource etag. */ - etag?: string; + readonly etag?: string; /** Metadata pertaining to creation and last modification of the resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } +/** The list of application type names. */ export interface ApplicationTypeResourceListOutput { value?: Array; /** URL to get the next set of application type list results if there are any. */ - nextLink?: string; + readonly nextLink?: string; } -export interface ApplicationTypeVersionResourceOutput extends ProxyResourceOutput { +/** An application type version resource for the specified application type name resource. */ +export interface ApplicationTypeVersionResourceOutput + extends ProxyResourceOutput { /** The properties of the application type version resource. */ properties?: ApplicationTypeVersionResourcePropertiesOutput; } +/** The properties of the application type version resource. */ export interface ApplicationTypeVersionResourcePropertiesOutput { /** The current deployment or provisioning state, which only appears in the response */ - provisioningState?: string; + readonly provisioningState?: string; /** The URL to the application package */ appPackageUrl: string; /** List of application type parameters that can be overridden when creating or updating the application. */ - defaultParameterList?: Record; + readonly defaultParameterList?: Record; } +/** The list of application type version resources for the specified application type name resource. */ export interface ApplicationTypeVersionResourceListOutput { value?: Array; /** URL to get the next set of application type version list results if there are any. */ - nextLink?: string; + readonly nextLink?: string; } +/** The application resource. */ export interface ApplicationResourceOutput extends ProxyResourceOutput { /** Describes the managed identities for an Azure resource. */ identity?: ManagedIdentityOutput; @@ -544,13 +614,18 @@ export interface ApplicationResourceOutput extends ProxyResourceOutput { properties?: ApplicationResourcePropertiesOutput; } +/** Describes the managed identities for an Azure resource. */ export interface ManagedIdentityOutput { /** The principal id of the managed identity. This property will only be provided for a system assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The tenant id of the managed identity. This property will only be provided for a system assigned identity. */ - tenantId?: string; + readonly tenantId?: string; /** The type of managed identity for the resource. */ - type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; + type?: + | "SystemAssigned" + | "UserAssigned" + | "SystemAssigned, UserAssigned" + | "None"; /** * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. @@ -561,19 +636,21 @@ export interface ManagedIdentityOutput { export interface UserAssignedIdentityOutput { /** The principal id of user assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The client id of user assigned identity. */ - clientId?: string; + readonly clientId?: string; } +/** The application resource properties. */ export interface ApplicationResourcePropertiesOutput extends ApplicationResourceUpdatePropertiesOutput { /** The current deployment or provisioning state, which only appears in the response */ - provisioningState?: string; + readonly provisioningState?: string; /** The application type name as defined in the application manifest. */ typeName?: string; } +/** The application resource properties for patch operations. */ export interface ApplicationResourceUpdatePropertiesOutput { /** The version of the application type as defined in the application manifest. */ typeVersion?: string; @@ -593,6 +670,7 @@ export interface ApplicationResourceUpdatePropertiesOutput { managedIdentities?: Array; } +/** Describes the policy for a monitored application upgrade. */ export interface ApplicationUpgradePolicyOutput { /** The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). */ upgradeReplicaSetCheckTimeout?: string; @@ -606,11 +684,16 @@ export interface ApplicationUpgradePolicyOutput { */ applicationHealthPolicy?: ArmApplicationHealthPolicyOutput; /** The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. */ - upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored"; + upgradeMode?: + | "Invalid" + | "UnmonitoredAuto" + | "UnmonitoredManual" + | "Monitored"; /** Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss. */ recreateApplication?: boolean; } +/** The policy used for monitoring the application upgrade */ export interface ArmRollingUpgradeMonitoringPolicyOutput { /** The activation Mode of the service package */ failureAction?: "Rollback" | "Manual"; @@ -626,6 +709,10 @@ export interface ArmRollingUpgradeMonitoringPolicyOutput { upgradeDomainTimeout?: string; } +/** + * Defines a health policy used to evaluate the health of an application or one of its children entities. + * + */ export interface ArmApplicationHealthPolicyOutput { /** Indicates whether warnings are treated with the same severity as errors. */ considerWarningAsError?: boolean; @@ -643,6 +730,10 @@ export interface ArmApplicationHealthPolicyOutput { serviceTypeHealthPolicyMap?: Record; } +/** + * Represents the health policy used to evaluate the health of services belonging to a service type. + * + */ export interface ArmServiceTypeHealthPolicyOutput { /** * The maximum percentage of services allowed to be unhealthy before your application is considered in error. @@ -661,6 +752,10 @@ export interface ArmServiceTypeHealthPolicyOutput { maxPercentUnhealthyReplicasPerPartition?: number; } +/** + * Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application. + * + */ export interface ApplicationMetricDescriptionOutput { /** The name of the metric. */ name?: string; @@ -698,25 +793,30 @@ export interface ApplicationUserAssignedIdentityOutput { principalId: string; } +/** The application resource for patch operations. */ export interface ApplicationResourceUpdateOutput extends ProxyResourceOutput { /** The application resource properties for patch operations. */ properties?: ApplicationResourceUpdatePropertiesOutput; } +/** The list of application resources. */ export interface ApplicationResourceListOutput { value?: Array; /** URL to get the next set of application list results if there are any. */ - nextLink?: string; + readonly nextLink?: string; } +/** The service resource. */ export interface ServiceResourceOutput extends ProxyResourceOutput { /** The service resource properties. */ properties?: ServiceResourcePropertiesOutput; } -export interface ServiceResourcePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput { +/** The service resource properties. */ +export interface ServiceResourcePropertiesOutputParent + extends ServiceResourcePropertiesBaseOutput { /** The current deployment or provisioning state, which only appears in the response */ - provisioningState?: string; + readonly provisioningState?: string; /** The name of the service type */ serviceTypeName?: string; /** Describes how the service is partitioned. */ @@ -728,10 +828,16 @@ export interface ServiceResourcePropertiesOutputParent extends ServiceResourcePr serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless"; } +/** Describes how the service is partitioned. */ export interface PartitionSchemeDescriptionOutputParent { - partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range"; + partitionScheme: + | "PartitionSchemeDescription" + | "Named" + | "Singleton" + | "UniformInt64Range"; } +/** The common service resource properties. */ export interface ServiceResourcePropertiesBaseOutput { /** The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". */ placementConstraints?: string; @@ -745,6 +851,7 @@ export interface ServiceResourcePropertiesBaseOutput { defaultMoveCost?: "Zero" | "Low" | "Medium" | "High"; } +/** Creates a particular correlation between services. */ export interface ServiceCorrelationDescriptionOutput { /** The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. */ scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity"; @@ -752,6 +859,7 @@ export interface ServiceCorrelationDescriptionOutput { serviceName: string; } +/** Specifies a metric to load balance a service during runtime. */ export interface ServiceLoadMetricDescriptionOutput { /** The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive. */ name: string; @@ -765,26 +873,31 @@ export interface ServiceLoadMetricDescriptionOutput { defaultLoad?: number; } +/** Describes the policy to be used for placement of a Service Fabric service. */ export interface ServicePlacementPolicyDescriptionOutput { type: "ServicePlacementPolicyDescription"; } +/** The service resource for patch operations. */ export interface ServiceResourceUpdateOutput extends ProxyResourceOutput { /** The service resource properties for patch operations. */ properties?: ServiceResourceUpdatePropertiesOutput; } +/** The service resource properties for patch operations. */ export interface ServiceResourceUpdatePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput { serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless"; } +/** The list of service resources. */ export interface ServiceResourceListOutput { value?: Array; /** URL to get the next set of service list results if there are any. */ - nextLink?: string; + readonly nextLink?: string; } +/** Describes the named partition scheme of the service. */ export interface NamedPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent { /** The number of partitions. */ @@ -794,12 +907,15 @@ export interface NamedPartitionSchemeDescriptionOutput partitionScheme: "Named"; } +/** SingletonPartitionSchemeDescription */ export interface SingletonPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent { partitionScheme: "Singleton"; } -export interface StatefulServicePropertiesOutput extends ServiceResourcePropertiesOutputParent { +/** The properties of a stateful service resource. */ +export interface StatefulServicePropertiesOutput + extends ServiceResourcePropertiesOutputParent { /** A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false. */ hasPersistedState?: boolean; /** The target replica set size as a number. */ @@ -815,6 +931,7 @@ export interface StatefulServicePropertiesOutput extends ServiceResourceProperti serviceKind: "Stateful"; } +/** The properties of a stateful service resource for patch operations. */ export interface StatefulServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent { /** The target replica set size as a number. */ @@ -830,7 +947,9 @@ export interface StatefulServiceUpdatePropertiesOutput serviceKind: "Stateful"; } -export interface StatelessServicePropertiesOutput extends ServiceResourcePropertiesOutputParent { +/** The properties of a stateless service resource. */ +export interface StatelessServicePropertiesOutput + extends ServiceResourcePropertiesOutputParent { /** The instance count. */ instanceCount?: number; /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is represented in ISO 8601 format (hh:mm:ss.s). */ @@ -838,6 +957,7 @@ export interface StatelessServicePropertiesOutput extends ServiceResourcePropert serviceKind: "Stateless"; } +/** The properties of a stateless service resource for patch operations. */ export interface StatelessServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent { /** The instance count. */ @@ -847,6 +967,7 @@ export interface StatelessServiceUpdatePropertiesOutput serviceKind: "Stateless"; } +/** Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions. */ export interface UniformInt64RangePartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent { /** The number of partitions. */ @@ -866,13 +987,16 @@ export interface UniformInt64RangePartitionSchemeDescriptionOutput partitionScheme: "UniformInt64Range"; } +/** The service resource properties. */ export type ServiceResourcePropertiesOutput = | StatefulServicePropertiesOutput | StatelessServicePropertiesOutput; +/** Describes how the service is partitioned. */ export type PartitionSchemeDescriptionOutput = | NamedPartitionSchemeDescriptionOutput | SingletonPartitionSchemeDescriptionOutput | UniformInt64RangePartitionSchemeDescriptionOutput; +/** The service resource properties for patch operations. */ export type ServiceResourceUpdatePropertiesOutput = | StatefulServiceUpdatePropertiesOutput | StatelessServiceUpdatePropertiesOutput; diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/paginateHelper.ts b/sdk/servicefabric/arm-servicefabric-rest/src/paginateHelper.ts index 5d541b4e406d..5ef95e5ea0a3 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/paginateHelper.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/paginateHelper.ts @@ -1,10 +1,162 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { getPagedAsyncIterator } from "@azure/core-paging"; -import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; -import { createRestError } from "@azure-rest/core-client"; +import { + Client, + createRestError, + PathUncheckedResponse, +} from "@azure-rest/core-client"; + +/** + * returns an async iterator that iterates over results. It also has a `byPage` + * method that returns pages of items at once. + * + * @param pagedResult - an object that specifies how to get pages. + * @returns a paged async iterator that iterates over results. + */ +function getPagedAsyncIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, + TLink = string, +>( + pagedResult: PagedResult, +): PagedAsyncIterableIterator { + const iter = getItemAsyncIterator( + pagedResult, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: + pagedResult?.byPage ?? + (((settings?: PageSettings) => { + const { continuationToken } = settings ?? {}; + return getPageAsyncIterator(pagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + }); + }) as unknown as ( + settings?: TPageSettings, + ) => AsyncIterableIterator), + }; +} + +async function* getItemAsyncIterator( + pagedResult: PagedResult, +): AsyncIterableIterator { + const pages = getPageAsyncIterator(pagedResult); + const firstVal = await pages.next(); + // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is + if (!Array.isArray(firstVal.value)) { + // can extract elements from this page + const { toElements } = pagedResult; + if (toElements) { + yield* toElements(firstVal.value) as TElement[]; + for await (const page of pages) { + yield* toElements(page) as TElement[]; + } + } else { + yield firstVal.value; + // `pages` is of type `AsyncIterableIterator` but TPage = TElement in this case + yield* pages as unknown as AsyncIterableIterator; + } + } else { + yield* firstVal.value; + for await (const page of pages) { + // pages is of type `AsyncIterableIterator` so `page` is of type `TPage`. In this branch, + // it must be the case that `TPage = TElement[]` + yield* page as unknown as TElement[]; + } + } +} + +async function* getPageAsyncIterator( + pagedResult: PagedResult, + options: { + pageLink?: TLink; + } = {}, +): AsyncIterableIterator { + const { pageLink } = options; + let response = await pagedResult.getPage( + pageLink ?? pagedResult.firstPageLink, + ); + if (!response) { + return; + } + yield response.page; + while (response.nextPageLink) { + response = await pagedResult.getPage(response.nextPageLink); + if (!response) { + return; + } + yield response.page; + } +} + +/** + * An interface that tracks the settings for paged iteration + */ +export interface PageSettings { + /** + * The token that keeps track of where to continue the iterator + */ + continuationToken?: string; +} + +/** + * An interface that allows async iterable iteration both to completion and by page. + */ +export interface PagedAsyncIterableIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, +> { + /** + * The next method, part of the iteration protocol + */ + next(): Promise>; + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator](): PagedAsyncIterableIterator< + TElement, + TPage, + TPageSettings + >; + /** + * Return an AsyncIterableIterator that works a page at a time + */ + byPage: (settings?: TPageSettings) => AsyncIterableIterator; +} + +/** + * An interface that describes how to communicate with the service. + */ +interface PagedResult { + /** + * Link to the first page of results. + */ + firstPageLink: TLink; + /** + * A method that returns a page of results. + */ + getPage: ( + pageLink: TLink, + ) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + /** + * a function to implement the `byPage` method on the paged async iterator. + */ + byPage?: (settings?: TPageSettings) => AsyncIterableIterator; + + /** + * A function to extract elements from a page. + */ + toElements?: (page: TPage) => unknown[]; +} /** * Helper type to extract the type of an array @@ -14,10 +166,7 @@ export type GetArrayType = T extends Array ? TData : never; /** * The type of a custom function that defines how to get a page and a link to the next one if any. */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; @@ -69,7 +218,9 @@ export function paginate( typeof customGetPage === "function" ? customGetPage : async (pageLink: string) => { - const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get(); + const result = firstRun + ? initialResponse + : await client.pathUnchecked(pageLink).get(); firstRun = false; checkPagingRequest(result); const nextLink = getNextLink(result.body, nextLinkName); @@ -95,7 +246,9 @@ function getNextLink(body: unknown, nextLinkName?: string): string | undefined { const nextLink = (body as Record)[nextLinkName]; if (typeof nextLink !== "string" && typeof nextLink !== "undefined") { - throw new Error(`Body Property ${nextLinkName} should be a string or undefined`); + throw new Error( + `Body Property ${nextLinkName} should be a string or undefined`, + ); } return nextLink; @@ -123,7 +276,18 @@ function getElements(body: unknown, itemName: string): T[] { * Checks if a request failed */ function checkPagingRequest(response: PathUncheckedResponse): void { - const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"]; + const Http2xxStatusCodes = [ + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "226", + ]; if (!Http2xxStatusCodes.includes(response.status)) { throw createRestError( `Pagination failed with unexpected statusCode ${response.status}`, diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts b/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts index 76af4682fc88..0ac27932550e 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts @@ -1,17 +1,17 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RequestParameters } from "@azure-rest/core-client"; -import type { - ApplicationResource, - ApplicationResourceUpdate, - ApplicationTypeResource, - ApplicationTypeVersionResource, +import { RequestParameters } from "@azure-rest/core-client"; +import { Cluster, ClusterUpdateParameters, + UpgradableVersionsDescription, + ApplicationTypeResource, + ApplicationTypeVersionResource, + ApplicationResource, + ApplicationResourceUpdate, ServiceResource, ServiceResourceUpdate, - UpgradableVersionsDescription, } from "./models"; export type ClustersGetParameters = RequestParameters; @@ -26,9 +26,10 @@ export interface ClustersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ClustersCreateOrUpdateParameters = ClustersCreateOrUpdateMediaTypesParam & - ClustersCreateOrUpdateBodyParam & - RequestParameters; +export type ClustersCreateOrUpdateParameters = + ClustersCreateOrUpdateMediaTypesParam & + ClustersCreateOrUpdateBodyParam & + RequestParameters; export interface ClustersUpdateBodyParam { /** The parameters which contains the property value and property name which used to update the cluster configuration. */ @@ -114,9 +115,10 @@ export interface ApplicationsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ApplicationsCreateOrUpdateParameters = ApplicationsCreateOrUpdateMediaTypesParam & - ApplicationsCreateOrUpdateBodyParam & - RequestParameters; +export type ApplicationsCreateOrUpdateParameters = + ApplicationsCreateOrUpdateMediaTypesParam & + ApplicationsCreateOrUpdateBodyParam & + RequestParameters; export interface ApplicationsUpdateBodyParam { /** The application resource for patch operations. */ @@ -145,9 +147,10 @@ export interface ServicesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ServicesCreateOrUpdateParameters = ServicesCreateOrUpdateMediaTypesParam & - ServicesCreateOrUpdateBodyParam & - RequestParameters; +export type ServicesCreateOrUpdateParameters = + ServicesCreateOrUpdateMediaTypesParam & + ServicesCreateOrUpdateBodyParam & + RequestParameters; export interface ServicesUpdateBodyParam { /** The service resource for patch operations. */ diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/pollingHelper.ts b/sdk/servicefabric/arm-servicefabric-rest/src/pollingHelper.ts index d25daede0b1c..131043e0b2d0 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/pollingHelper.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/pollingHelper.ts @@ -1,15 +1,87 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { Client, HttpResponse } from "@azure-rest/core-client"; -import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollOperationState, - PollerLike, +import { Client, HttpResponse } from "@azure-rest/core-client"; +import { AbortSignalLike } from "@azure/abort-controller"; +import { + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState, + createHttpPoller, } from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike< + TState extends OperationState, + TResult, +> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} /** * Helper function that builds a Poller object to help polling a long running operation. @@ -18,43 +90,108 @@ import { LroEngine } from "@azure/core-lro"; * @param options - Options to set a resume state or custom polling interval. * @returns - A poller object to poll for operation state updates and eventually get the final response. */ -export function getLongRunningPoller( +export async function getLongRunningPoller( client: Client, initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { sendInitialRequest: async () => { // In the case of Rest Clients we are building the LRO poller object from a response that's the reason // we are not triggering the initial request here, just extracting the information from the // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async (path) => { + sendPollRequest: async ( + path: string, + pollOptions?: { abortSignal?: AbortSignalLike }, + ) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const response = await client.pathUnchecked(path ?? initialResponse.request.url).get(); + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } const lroResponse = getLroResponse(response as TResult); - lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; + lroResponse.rawResponse.headers["x-ms-original-url"] = + initialResponse.request.url; return lroResponse; }, }; - return new LroEngine(poller, options); + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; } /** - * Converts a Rest Client response to a response that the LRO engine knows about + * Converts a Rest Client response to a response that the LRO implementation understands * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with + * @returns - An LRO response that the LRO implementation understands */ -function getLroResponse(response: TResult): LroResponse { +function getLroResponse( + response: TResult, +): OperationResponse { if (Number.isNaN(response.status)) { - throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); + throw new TypeError( + `Status code of the response is not a number. Value: ${response.status}`, + ); } return { diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts b/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts index 47c76472f8d8..7a181954dcd9 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts @@ -1,22 +1,22 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { HttpResponse } from "@azure-rest/core-client"; -import type { - ApplicationResourceListOutput, - ApplicationResourceOutput, - ApplicationTypeResourceListOutput, - ApplicationTypeResourceOutput, - ApplicationTypeVersionResourceListOutput, - ApplicationTypeVersionResourceOutput, - ClusterCodeVersionsListResultOutput, - ClusterListResultOutput, +import { HttpResponse } from "@azure-rest/core-client"; +import { ClusterOutput, ErrorModelOutput, + ClusterListResultOutput, + UpgradableVersionPathResultOutput, + ClusterCodeVersionsListResultOutput, OperationListResultOutput, - ServiceResourceListOutput, + ApplicationTypeResourceOutput, + ApplicationTypeResourceListOutput, + ApplicationTypeVersionResourceOutput, + ApplicationTypeVersionResourceListOutput, + ApplicationResourceOutput, + ApplicationResourceListOutput, ServiceResourceOutput, - UpgradableVersionPathResultOutput, + ServiceResourceListOutput, } from "./outputModels"; /** Get a Service Fabric cluster resource created or in the process of being created in the specified resource group. */ @@ -26,7 +26,7 @@ export interface ClustersGet200Response extends HttpResponse { } /** Get a Service Fabric cluster resource created or in the process of being created in the specified resource group. */ -export interface ClustersGetdefaultResponse extends HttpResponse { +export interface ClustersGetDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -44,7 +44,7 @@ export interface ClustersCreateOrUpdate202Response extends HttpResponse { } /** Create or update a Service Fabric cluster resource with the specified name. */ -export interface ClustersCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ClustersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -62,7 +62,7 @@ export interface ClustersUpdate202Response extends HttpResponse { } /** Update the configuration of a Service Fabric cluster resource with the specified name. */ -export interface ClustersUpdatedefaultResponse extends HttpResponse { +export interface ClustersUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -70,17 +70,15 @@ export interface ClustersUpdatedefaultResponse extends HttpResponse { /** Delete a Service Fabric cluster resource with the specified name. */ export interface ClustersDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Service Fabric cluster resource with the specified name. */ export interface ClustersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Service Fabric cluster resource with the specified name. */ -export interface ClustersDeletedefaultResponse extends HttpResponse { +export interface ClustersDeleteDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -92,7 +90,8 @@ export interface ClustersListByResourceGroup200Response extends HttpResponse { } /** Gets all Service Fabric cluster resources created or in the process of being created in the resource group. */ -export interface ClustersListByResourceGroupdefaultResponse extends HttpResponse { +export interface ClustersListByResourceGroupDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -104,19 +103,21 @@ export interface ClustersList200Response extends HttpResponse { } /** Gets all Service Fabric cluster resources created or in the process of being created in the subscription. */ -export interface ClustersListdefaultResponse extends HttpResponse { +export interface ClustersListDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version. */ -export interface ClustersListUpgradableVersions200Response extends HttpResponse { +export interface ClustersListUpgradableVersions200Response + extends HttpResponse { status: "200"; body: UpgradableVersionPathResultOutput; } /** If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version. */ -export interface ClustersListUpgradableVersionsdefaultResponse extends HttpResponse { +export interface ClustersListUpgradableVersionsDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -128,19 +129,21 @@ export interface ClusterVersionsGet200Response extends HttpResponse { } /** Gets information about an available Service Fabric cluster code version. */ -export interface ClusterVersionsGetdefaultResponse extends HttpResponse { +export interface ClusterVersionsGetDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Gets information about an available Service Fabric cluster code version by environment. */ -export interface ClusterVersionsGetByEnvironment200Response extends HttpResponse { +export interface ClusterVersionsGetByEnvironment200Response + extends HttpResponse { status: "200"; body: ClusterCodeVersionsListResultOutput; } /** Gets information about an available Service Fabric cluster code version by environment. */ -export interface ClusterVersionsGetByEnvironmentdefaultResponse extends HttpResponse { +export interface ClusterVersionsGetByEnvironmentDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -152,19 +155,21 @@ export interface ClusterVersionsList200Response extends HttpResponse { } /** Gets all available code versions for Service Fabric cluster resources by location. */ -export interface ClusterVersionsListdefaultResponse extends HttpResponse { +export interface ClusterVersionsListDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Gets all available code versions for Service Fabric cluster resources by environment. */ -export interface ClusterVersionsListByEnvironment200Response extends HttpResponse { +export interface ClusterVersionsListByEnvironment200Response + extends HttpResponse { status: "200"; body: ClusterCodeVersionsListResultOutput; } /** Gets all available code versions for Service Fabric cluster resources by environment. */ -export interface ClusterVersionsListByEnvironmentdefaultResponse extends HttpResponse { +export interface ClusterVersionsListByEnvironmentDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -176,7 +181,7 @@ export interface OperationsList200Response extends HttpResponse { } /** Get the list of available Service Fabric resource provider API operations. */ -export interface OperationsListdefaultResponse extends HttpResponse { +export interface OperationsListDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -188,19 +193,21 @@ export interface ApplicationTypesGet200Response extends HttpResponse { } /** Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource. */ -export interface ApplicationTypesGetdefaultResponse extends HttpResponse { +export interface ApplicationTypesGetDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Create or update a Service Fabric application type name resource with the specified name. */ -export interface ApplicationTypesCreateOrUpdate200Response extends HttpResponse { +export interface ApplicationTypesCreateOrUpdate200Response + extends HttpResponse { status: "200"; body: ApplicationTypeResourceOutput; } /** Create or update a Service Fabric application type name resource with the specified name. */ -export interface ApplicationTypesCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ApplicationTypesCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -208,17 +215,15 @@ export interface ApplicationTypesCreateOrUpdatedefaultResponse extends HttpRespo /** Delete a Service Fabric application type name resource with the specified name. */ export interface ApplicationTypesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Service Fabric application type name resource with the specified name. */ export interface ApplicationTypesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Service Fabric application type name resource with the specified name. */ -export interface ApplicationTypesDeletedefaultResponse extends HttpResponse { +export interface ApplicationTypesDeleteDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -230,7 +235,7 @@ export interface ApplicationTypesList200Response extends HttpResponse { } /** Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource. */ -export interface ApplicationTypesListdefaultResponse extends HttpResponse { +export interface ApplicationTypesListDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -242,19 +247,22 @@ export interface ApplicationTypeVersionsGet200Response extends HttpResponse { } /** Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource. */ -export interface ApplicationTypeVersionsGetdefaultResponse extends HttpResponse { +export interface ApplicationTypeVersionsGetDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } /** Create or update a Service Fabric application type version resource with the specified name. */ -export interface ApplicationTypeVersionsCreateOrUpdate202Response extends HttpResponse { +export interface ApplicationTypeVersionsCreateOrUpdate202Response + extends HttpResponse { status: "202"; body: ApplicationTypeVersionResourceOutput; } /** Create or update a Service Fabric application type version resource with the specified name. */ -export interface ApplicationTypeVersionsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ApplicationTypeVersionsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -262,17 +270,16 @@ export interface ApplicationTypeVersionsCreateOrUpdatedefaultResponse extends Ht /** Delete a Service Fabric application type version resource with the specified name. */ export interface ApplicationTypeVersionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Service Fabric application type version resource with the specified name. */ export interface ApplicationTypeVersionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Service Fabric application type version resource with the specified name. */ -export interface ApplicationTypeVersionsDeletedefaultResponse extends HttpResponse { +export interface ApplicationTypeVersionsDeleteDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -284,7 +291,8 @@ export interface ApplicationTypeVersionsList200Response extends HttpResponse { } /** Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource. */ -export interface ApplicationTypeVersionsListdefaultResponse extends HttpResponse { +export interface ApplicationTypeVersionsListDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -296,7 +304,7 @@ export interface ApplicationsGet200Response extends HttpResponse { } /** Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource. */ -export interface ApplicationsGetdefaultResponse extends HttpResponse { +export interface ApplicationsGetDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -308,7 +316,8 @@ export interface ApplicationsCreateOrUpdate202Response extends HttpResponse { } /** Create or update a Service Fabric application resource with the specified name. */ -export interface ApplicationsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ApplicationsCreateOrUpdateDefaultResponse + extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -320,7 +329,7 @@ export interface ApplicationsUpdate202Response extends HttpResponse { } /** Update a Service Fabric application resource with the specified name. */ -export interface ApplicationsUpdatedefaultResponse extends HttpResponse { +export interface ApplicationsUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -328,17 +337,15 @@ export interface ApplicationsUpdatedefaultResponse extends HttpResponse { /** Delete a Service Fabric application resource with the specified name. */ export interface ApplicationsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Service Fabric application resource with the specified name. */ export interface ApplicationsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Service Fabric application resource with the specified name. */ -export interface ApplicationsDeletedefaultResponse extends HttpResponse { +export interface ApplicationsDeleteDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -350,7 +357,7 @@ export interface ApplicationsList200Response extends HttpResponse { } /** Gets all application resources created or in the process of being created in the Service Fabric cluster resource. */ -export interface ApplicationsListdefaultResponse extends HttpResponse { +export interface ApplicationsListDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -362,7 +369,7 @@ export interface ServicesGet200Response extends HttpResponse { } /** Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource. */ -export interface ServicesGetdefaultResponse extends HttpResponse { +export interface ServicesGetDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -374,7 +381,7 @@ export interface ServicesCreateOrUpdate202Response extends HttpResponse { } /** Create or update a Service Fabric service resource with the specified name. */ -export interface ServicesCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ServicesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -386,7 +393,7 @@ export interface ServicesUpdate202Response extends HttpResponse { } /** Update a Service Fabric service resource with the specified name. */ -export interface ServicesUpdatedefaultResponse extends HttpResponse { +export interface ServicesUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -394,17 +401,15 @@ export interface ServicesUpdatedefaultResponse extends HttpResponse { /** Delete a Service Fabric service resource with the specified name. */ export interface ServicesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Service Fabric service resource with the specified name. */ export interface ServicesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Service Fabric service resource with the specified name. */ -export interface ServicesDeletedefaultResponse extends HttpResponse { +export interface ServicesDeleteDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -416,7 +421,7 @@ export interface ServicesList200Response extends HttpResponse { } /** Gets all service resources created or in the process of being created in the Service Fabric application resource. */ -export interface ServicesListdefaultResponse extends HttpResponse { +export interface ServicesListDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts b/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts index 7f0f0ac1ae4c..7241576acf37 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts @@ -1,26 +1,29 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { ClientOptions } from "@azure-rest/core-client"; -import { getClient } from "@azure-rest/core-client"; -import type { TokenCredential } from "@azure/core-auth"; -import type { ServiceFabricClient } from "./clientDefinitions"; -import { customizedApiVersionPolicy } from "./customizedApiVersionPolicy"; +import { getClient, ClientOptions } from "@azure-rest/core-client"; +import { logger } from "./logger"; +import { TokenCredential } from "@azure/core-auth"; +import { ServiceFabricClient } from "./clientDefinitions"; +/** The optional parameters for the client */ +export interface ServiceFabricClientOptions extends ClientOptions { + /** The api version option of the client */ + apiVersion?: string; +} + +/** + * Initialize a new instance of `ServiceFabricClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters + */ export default function createClient( credentials: TokenCredential, - options: ClientOptions = {}, + { apiVersion = "2021-06-01", ...options }: ServiceFabricClientOptions = {}, ): ServiceFabricClient { - const baseUrl = options.baseUrl ?? "https://management.azure.com"; - options.apiVersion = options.apiVersion ?? "2021-06-01"; - options = { - ...options, - credentials: { - scopes: ["https://management.azure.com/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-arm-servicefabric-rest/1.0.0-beta.1`; + const endpointUrl = + options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-servicefabric-rest/1.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` @@ -30,14 +33,37 @@ export default function createClient( userAgentOptions: { userAgentPrefix, }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? [ + "https://management.azure.com/.default", + ], + }, }; + const client = getClient( + endpointUrl, + credentials, + options, + ) as ServiceFabricClient; + + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + client.pipeline.addPolicy({ + name: "ClientApiVersionPolicy", + sendRequest: (req, next) => { + // Use the apiVersion defined in request url directly + // Append one if there is no apiVersion and we have one at client options + const url = new URL(req.url); + if (!url.searchParams.get("api-version") && apiVersion) { + req.url = `${req.url}${ + Array.from(url.searchParams.keys()).length > 0 ? "&" : "?" + }api-version=${apiVersion}`; + } - const client = getClient(baseUrl, credentials, options) as ServiceFabricClient; - // Considering ApiVersionPolicy in core has bugs so we replace with our customized one - client.pipeline.removePolicy({ - name: "ApiVersionPolicy", + return next(req); + }, }); - client.pipeline.addPolicy(customizedApiVersionPolicy(options)); return client; } diff --git a/sdk/servicefabric/arm-servicefabric-rest/swagger/README.md b/sdk/servicefabric/arm-servicefabric-rest/swagger/README.md index d1fb9f2ef33a..3eb438740608 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/swagger/README.md +++ b/sdk/servicefabric/arm-servicefabric-rest/swagger/README.md @@ -4,6 +4,8 @@ ## Configuration ```yaml +flavor: azure +openapi-type: arm package-name: "@azure-rest/arm-servicefabric" title: ServiceFabricClient description: Service Fabric Client @@ -18,4 +20,6 @@ package-version: 1.0.0-beta.2 rest-level-client: true security: AADToken security-scopes: "https://management.azure.com/.default" +use-extension: + "@autorest/typescript": "latest" ``` diff --git a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.json b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.json index 9686c443aef8..19ceb382b521 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.json +++ b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.json @@ -1,9 +1,13 @@ { - "extends": "../../../tsconfig", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", - "paths": { "@azure-rest/arm-servicefabric": ["./src/index"] } - }, - "include": ["src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.samples.json" + }, + { + "path": "./tsconfig.test.json" + } + ] } diff --git a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.samples.json b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.samples.json new file mode 100644 index 000000000000..e06f2e66008d --- /dev/null +++ b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.samples.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.samples.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/arm-servicefabric": [ + "./dist/esm" + ] + } + } +} diff --git a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.src.json b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.test.json b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.test.json new file mode 100644 index 000000000000..3c2b783a8c1b --- /dev/null +++ b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.test.json @@ -0,0 +1,6 @@ +{ + "extends": [ + "./tsconfig.src.json", + "../../../tsconfig.test.base.json" + ] +} From dd806806529e0358ae5712d0b2a4f9069ac58ead Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:04 +0800 Subject: [PATCH 57/73] Migration: Update test config --- .../tsconfig.browser.config.json | 17 +++++++++++++++++ .../vitest.browser.config.ts | 17 +++++++++++++++++ .../arm-servicefabric-rest/vitest.config.ts | 7 +++++++ .../arm-servicefabric-rest/vitest.esm.config.ts | 12 ++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 sdk/servicefabric/arm-servicefabric-rest/tsconfig.browser.config.json create mode 100644 sdk/servicefabric/arm-servicefabric-rest/vitest.browser.config.ts create mode 100644 sdk/servicefabric/arm-servicefabric-rest/vitest.config.ts create mode 100644 sdk/servicefabric/arm-servicefabric-rest/vitest.esm.config.ts diff --git a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.browser.config.json b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.browser.config.json new file mode 100644 index 000000000000..b6586181d006 --- /dev/null +++ b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.browser.config.json @@ -0,0 +1,17 @@ +{ + "extends": "./.tshy/build.json", + "include": [ + "./src/**/*.ts", + "./src/**/*.mts", + "./test/**/*.spec.ts", + "./test/**/*.mts" + ], + "exclude": [ + "./test/**/node/**/*.ts" + ], + "compilerOptions": { + "outDir": "./dist-test/browser", + "rootDir": ".", + "skipLibCheck": true + } +} diff --git a/sdk/servicefabric/arm-servicefabric-rest/vitest.browser.config.ts b/sdk/servicefabric/arm-servicefabric-rest/vitest.browser.config.ts new file mode 100644 index 000000000000..b48c61b2ef46 --- /dev/null +++ b/sdk/servicefabric/arm-servicefabric-rest/vitest.browser.config.ts @@ -0,0 +1,17 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: [ + "dist-test/browser/test/**/*.spec.js", + ], + }, + }), +); diff --git a/sdk/servicefabric/arm-servicefabric-rest/vitest.config.ts b/sdk/servicefabric/arm-servicefabric-rest/vitest.config.ts new file mode 100644 index 000000000000..cc5cd85d4131 --- /dev/null +++ b/sdk/servicefabric/arm-servicefabric-rest/vitest.config.ts @@ -0,0 +1,7 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import viteConfig from "../../../vitest.shared.config.ts"; + +export default viteConfig; diff --git a/sdk/servicefabric/arm-servicefabric-rest/vitest.esm.config.ts b/sdk/servicefabric/arm-servicefabric-rest/vitest.esm.config.ts new file mode 100644 index 000000000000..a70127279fc9 --- /dev/null +++ b/sdk/servicefabric/arm-servicefabric-rest/vitest.esm.config.ts @@ -0,0 +1,12 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig( + vitestConfig, + vitestEsmConfig +); From 207b6f654d8945115eef81b27fb630d0fc475ccd Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:05 +0800 Subject: [PATCH 58/73] Migration: Clean up files --- .../arm-servicefabric-rest/karma.conf.js | 133 ------------------ 1 file changed, 133 deletions(-) delete mode 100644 sdk/servicefabric/arm-servicefabric-rest/karma.conf.js diff --git a/sdk/servicefabric/arm-servicefabric-rest/karma.conf.js b/sdk/servicefabric/arm-servicefabric-rest/karma.conf.js deleted file mode 100644 index 4fdf26c79ac0..000000000000 --- a/sdk/servicefabric/arm-servicefabric-rest/karma.conf.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -require("dotenv").config(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["source-map-support", "mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - "karma-source-map-support", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { - pattern: "dist-test/index.browser.js.map", - type: "html", - included: false, - served: true, - }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // IMPORTANT: COMMENT following line if you want to debug in your browsers!! - // Preprocess source file to calculate code coverage, however this will make source file unreadable - // "dist-test/index.js": ["coverage"] - }, - - envPreprocessor: [ - "TEST_MODE", - "ENDPOINT", - "AZURE_CLIENT_SECRET", - "AZURE_CLIENT_ID", - "AZURE_TENANT_ID", - "SUBSCRIPTION_ID", - "RECORDINGS_RELATIVE_PATH", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - reporters: [ - { type: "json", subdir: ".", file: "coverage.json" }, - { type: "lcovonly", subdir: ".", file: "lcov.info" }, - { type: "html", subdir: "html" }, - { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, - ], - }, - - junitReporter: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 60000000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; From 5529e72ab0f3a6516b8d540c425a8a69f2c7f471 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:20 +0800 Subject: [PATCH 59/73] Migration: Apply codemod: "fixSourceFile" --- .../src/clientDefinitions.ts | 4 ++-- .../arm-servicefabric-rest/src/index.ts | 20 +++++++++---------- .../src/isUnexpected.ts | 2 +- .../arm-servicefabric-rest/src/parameters.ts | 2 +- .../arm-servicefabric-rest/src/responses.ts | 2 +- .../src/serviceFabricClient.ts | 4 ++-- .../test/public/servicefabric.spec.ts | 11 +++++----- .../test/public/utils/env.ts | 4 +--- .../test/public/utils/recordedClient.ts | 6 +++--- 9 files changed, 26 insertions(+), 29 deletions(-) diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts b/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts index be389adb17bd..2752c1fe0ec3 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts @@ -32,7 +32,7 @@ import { ServicesUpdateParameters, ServicesDeleteParameters, ServicesListParameters, -} from "./parameters"; +} from "./parameters.js"; import { ClustersGet200Response, ClustersGetDefaultResponse, @@ -101,7 +101,7 @@ import { ServicesDeleteDefaultResponse, ServicesList200Response, ServicesListDefaultResponse, -} from "./responses"; +} from "./responses.js"; import { Client, StreamableMethod } from "@azure-rest/core-client"; export interface ClustersGet { diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/index.ts b/sdk/servicefabric/arm-servicefabric-rest/src/index.ts index afb2f83dfb0c..a5ae5dd49060 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/index.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/index.ts @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import ServiceFabricClient from "./serviceFabricClient"; +import ServiceFabricClient from "./serviceFabricClient.js"; -export * from "./serviceFabricClient"; -export * from "./parameters"; -export * from "./responses"; -export * from "./clientDefinitions"; -export * from "./isUnexpected"; -export * from "./models"; -export * from "./outputModels"; -export * from "./paginateHelper"; -export * from "./pollingHelper"; +export * from "./serviceFabricClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./paginateHelper.js"; +export * from "./pollingHelper.js"; export default ServiceFabricClient; diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts b/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts index 081372049bc0..ed60f0445055 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts @@ -69,7 +69,7 @@ import { ServicesDeleteDefaultResponse, ServicesList200Response, ServicesListDefaultResponse, -} from "./responses"; +} from "./responses.js"; const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}": diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts b/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts index 0ac27932550e..449e57ed00cf 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts @@ -12,7 +12,7 @@ import { ApplicationResourceUpdate, ServiceResource, ServiceResourceUpdate, -} from "./models"; +} from "./models.js"; export type ClustersGetParameters = RequestParameters; diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts b/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts index 7a181954dcd9..848b666cab27 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts @@ -17,7 +17,7 @@ import { ApplicationResourceListOutput, ServiceResourceOutput, ServiceResourceListOutput, -} from "./outputModels"; +} from "./outputModels.js"; /** Get a Service Fabric cluster resource created or in the process of being created in the specified resource group. */ export interface ClustersGet200Response extends HttpResponse { diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts b/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts index 7241576acf37..edd7babd65dc 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts @@ -2,9 +2,9 @@ // Licensed under the MIT License. import { getClient, ClientOptions } from "@azure-rest/core-client"; -import { logger } from "./logger"; +import { logger } from "./logger.js"; import { TokenCredential } from "@azure/core-auth"; -import { ServiceFabricClient } from "./clientDefinitions"; +import { ServiceFabricClient } from "./clientDefinitions.js"; /** The optional parameters for the client */ export interface ServiceFabricClientOptions extends ClientOptions { diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts index e126a801bb73..f3844f690370 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts @@ -4,8 +4,7 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { env, isPlaybackMode } from "@azure-tools/test-recorder"; import { assert } from "chai"; -import { createClient, createRecorder } from "./utils/recordedClient"; -import type { Context } from "mocha"; +import { createClient, createRecorder } from "./utils/recordedClient.js"; import type { ApplicationTypeResourceListOutput, ApplicationTypeResourceOutput, @@ -15,8 +14,8 @@ import type { ClustersCreateOrUpdateParameters, ClustersUpdateParameters, ServiceFabricClient, -} from "../../src/index"; -import { getLongRunningPoller } from "../../src/index"; +} from "../../src/index.js"; +import { getLongRunningPoller } from "../../src/index.js"; export const testPollingOptions = { intervalInMs: isPlaybackMode() ? 0 : undefined, @@ -31,7 +30,7 @@ describe("Service Fabric Rest Level Client Test", () => { let clusterName: string; let applicationTypeName: string; - beforeEach(async function (this: Context) { + beforeEach(async function () { recorder = await createRecorder(this); subscriptionId = env.SUBSCRIPTION_ID || ""; // This is an example of how the environment variables are used @@ -199,7 +198,7 @@ describe("Service Fabric Rest Level Client Test", () => { it("clusters update test", async function () { if (isPlaybackMode()) { - this.skip(); + ctx.skip(); } const parameters: ClustersUpdateParameters = { body: { diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.ts index 866412f4082d..54ee1e71af77 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.ts @@ -1,6 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts index a5b3c9040c21..5a4dd12d7e17 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts @@ -6,9 +6,9 @@ import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { ClientOptions } from "@azure-rest/core-client"; import { createTestCredential } from "@azure-tools/test-credential"; -import type { ServiceFabricClient } from "../../../src/index"; -import ServiceFabricManagementClient from "../../../src/index"; -import "./env"; +import type { ServiceFabricClient } from "../../../src/index.js"; +import ServiceFabricManagementClient from "../../../src/index.js"; +import "./env.js"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", From cb7b57c86f579846470ec17bc9ba1e87f2962fa6 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:21 +0800 Subject: [PATCH 60/73] Migration: Apply codemod: "fixTestingImports" --- .../arm-servicefabric-rest/test/public/servicefabric.spec.ts | 2 +- .../arm-servicefabric-rest/test/public/utils/recordedClient.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts index f3844f690370..14a9f09d81b9 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts @@ -3,7 +3,6 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { env, isPlaybackMode } from "@azure-tools/test-recorder"; -import { assert } from "chai"; import { createClient, createRecorder } from "./utils/recordedClient.js"; import type { ApplicationTypeResourceListOutput, @@ -16,6 +15,7 @@ import type { ServiceFabricClient, } from "../../src/index.js"; import { getLongRunningPoller } from "../../src/index.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; export const testPollingOptions = { intervalInMs: isPlaybackMode() ? 0 : undefined, diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts index 5a4dd12d7e17..3f6c6a659c8f 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import type { Context } from "mocha"; import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { ClientOptions } from "@azure-rest/core-client"; From 09c6c783a8b9fff86fa5549f1b29ddfe99b948b7 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:22 +0800 Subject: [PATCH 61/73] Migration: Apply codemod: "replaceAssertIsRejected" From 99274fed89bdb26ebf74c1edc8a849d1b0de9a86 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:23 +0800 Subject: [PATCH 62/73] Migration: Apply codemod: "replaceSinonStub" From 4e77f570c19c6b29dc3a699f4618091af3c6c9c4 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:23 +0800 Subject: [PATCH 63/73] Migration: Apply codemod: "addViHelper" From b6030115bfd8bfae52400ab0afe42385c5b33810 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:24 +0800 Subject: [PATCH 64/73] Migration: Apply codemod: "replaceSupportTracing" From ea71872ad02cfc892a4eeb0837fb390216dc3c8f Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:24 +0800 Subject: [PATCH 65/73] Migration: Apply codemod: "replaceTestUtils" From 363321bde7094afc7f4e4ae24b1363d11fdfe358 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:42:42 +0800 Subject: [PATCH 66/73] Migration: rushx format --- .../src/clientDefinitions.ts | 76 +++++-------------- .../src/isUnexpected.ts | 59 ++++---------- .../arm-servicefabric-rest/src/models.ts | 59 ++++---------- .../src/outputModels.ts | 45 +++-------- .../src/paginateHelper.ts | 49 +++--------- .../arm-servicefabric-rest/src/parameters.ts | 21 +++-- .../src/pollingHelper.ts | 21 ++--- .../arm-servicefabric-rest/src/responses.ts | 45 ++++------- .../src/serviceFabricClient.ts | 13 +--- .../tsconfig.browser.config.json | 11 +-- .../tsconfig.samples.json | 4 +- .../arm-servicefabric-rest/tsconfig.test.json | 5 +- 12 files changed, 106 insertions(+), 302 deletions(-) diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts b/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts index 2752c1fe0ec3..bd32c4b4d82b 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/clientDefinitions.ts @@ -121,17 +121,13 @@ export interface ClustersGet { patch( options: ClustersUpdateParameters, ): StreamableMethod< - | ClustersUpdate200Response - | ClustersUpdate202Response - | ClustersUpdateDefaultResponse + ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdateDefaultResponse >; /** Delete a Service Fabric cluster resource with the specified name. */ delete( options?: ClustersDeleteParameters, ): StreamableMethod< - | ClustersDelete200Response - | ClustersDelete204Response - | ClustersDeleteDefaultResponse + ClustersDelete200Response | ClustersDelete204Response | ClustersDeleteDefaultResponse >; } @@ -140,8 +136,7 @@ export interface ClustersListByResourceGroup { get( options?: ClustersListByResourceGroupParameters, ): StreamableMethod< - | ClustersListByResourceGroup200Response - | ClustersListByResourceGroupDefaultResponse + ClustersListByResourceGroup200Response | ClustersListByResourceGroupDefaultResponse >; } @@ -157,8 +152,7 @@ export interface ClustersListUpgradableVersions { post( options?: ClustersListUpgradableVersionsParameters, ): StreamableMethod< - | ClustersListUpgradableVersions200Response - | ClustersListUpgradableVersionsDefaultResponse + ClustersListUpgradableVersions200Response | ClustersListUpgradableVersionsDefaultResponse >; } @@ -166,9 +160,7 @@ export interface ClusterVersionsGet { /** Gets information about an available Service Fabric cluster code version. */ get( options?: ClusterVersionsGetParameters, - ): StreamableMethod< - ClusterVersionsGet200Response | ClusterVersionsGetDefaultResponse - >; + ): StreamableMethod; } export interface ClusterVersionsGetByEnvironment { @@ -176,8 +168,7 @@ export interface ClusterVersionsGetByEnvironment { get( options?: ClusterVersionsGetByEnvironmentParameters, ): StreamableMethod< - | ClusterVersionsGetByEnvironment200Response - | ClusterVersionsGetByEnvironmentDefaultResponse + ClusterVersionsGetByEnvironment200Response | ClusterVersionsGetByEnvironmentDefaultResponse >; } @@ -185,9 +176,7 @@ export interface ClusterVersionsList { /** Gets all available code versions for Service Fabric cluster resources by location. */ get( options?: ClusterVersionsListParameters, - ): StreamableMethod< - ClusterVersionsList200Response | ClusterVersionsListDefaultResponse - >; + ): StreamableMethod; } export interface ClusterVersionsListByEnvironment { @@ -195,8 +184,7 @@ export interface ClusterVersionsListByEnvironment { get( options?: ClusterVersionsListByEnvironmentParameters, ): StreamableMethod< - | ClusterVersionsListByEnvironment200Response - | ClusterVersionsListByEnvironmentDefaultResponse + ClusterVersionsListByEnvironment200Response | ClusterVersionsListByEnvironmentDefaultResponse >; } @@ -204,24 +192,19 @@ export interface OperationsList { /** Get the list of available Service Fabric resource provider API operations. */ get( options?: OperationsListParameters, - ): StreamableMethod< - OperationsList200Response | OperationsListDefaultResponse - >; + ): StreamableMethod; } export interface ApplicationTypesGet { /** Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource. */ get( options?: ApplicationTypesGetParameters, - ): StreamableMethod< - ApplicationTypesGet200Response | ApplicationTypesGetDefaultResponse - >; + ): StreamableMethod; /** Create or update a Service Fabric application type name resource with the specified name. */ put( options: ApplicationTypesCreateOrUpdateParameters, ): StreamableMethod< - | ApplicationTypesCreateOrUpdate200Response - | ApplicationTypesCreateOrUpdateDefaultResponse + ApplicationTypesCreateOrUpdate200Response | ApplicationTypesCreateOrUpdateDefaultResponse >; /** Delete a Service Fabric application type name resource with the specified name. */ delete( @@ -237,9 +220,7 @@ export interface ApplicationTypesList { /** Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource. */ get( options?: ApplicationTypesListParameters, - ): StreamableMethod< - ApplicationTypesList200Response | ApplicationTypesListDefaultResponse - >; + ): StreamableMethod; } export interface ApplicationTypeVersionsGet { @@ -247,8 +228,7 @@ export interface ApplicationTypeVersionsGet { get( options?: ApplicationTypeVersionsGetParameters, ): StreamableMethod< - | ApplicationTypeVersionsGet200Response - | ApplicationTypeVersionsGetDefaultResponse + ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetDefaultResponse >; /** Create or update a Service Fabric application type version resource with the specified name. */ put( @@ -272,8 +252,7 @@ export interface ApplicationTypeVersionsList { get( options?: ApplicationTypeVersionsListParameters, ): StreamableMethod< - | ApplicationTypeVersionsList200Response - | ApplicationTypeVersionsListDefaultResponse + ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListDefaultResponse >; } @@ -281,22 +260,17 @@ export interface ApplicationsGet { /** Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource. */ get( options?: ApplicationsGetParameters, - ): StreamableMethod< - ApplicationsGet200Response | ApplicationsGetDefaultResponse - >; + ): StreamableMethod; /** Create or update a Service Fabric application resource with the specified name. */ put( options: ApplicationsCreateOrUpdateParameters, ): StreamableMethod< - | ApplicationsCreateOrUpdate202Response - | ApplicationsCreateOrUpdateDefaultResponse + ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdateDefaultResponse >; /** Update a Service Fabric application resource with the specified name. */ patch( options: ApplicationsUpdateParameters, - ): StreamableMethod< - ApplicationsUpdate202Response | ApplicationsUpdateDefaultResponse - >; + ): StreamableMethod; /** Delete a Service Fabric application resource with the specified name. */ delete( options?: ApplicationsDeleteParameters, @@ -311,9 +285,7 @@ export interface ApplicationsList { /** Gets all application resources created or in the process of being created in the Service Fabric cluster resource. */ get( options?: ApplicationsListParameters, - ): StreamableMethod< - ApplicationsList200Response | ApplicationsListDefaultResponse - >; + ): StreamableMethod; } export interface ServicesGet { @@ -324,22 +296,16 @@ export interface ServicesGet { /** Create or update a Service Fabric service resource with the specified name. */ put( options: ServicesCreateOrUpdateParameters, - ): StreamableMethod< - ServicesCreateOrUpdate202Response | ServicesCreateOrUpdateDefaultResponse - >; + ): StreamableMethod; /** Update a Service Fabric service resource with the specified name. */ patch( options: ServicesUpdateParameters, - ): StreamableMethod< - ServicesUpdate202Response | ServicesUpdateDefaultResponse - >; + ): StreamableMethod; /** Delete a Service Fabric service resource with the specified name. */ delete( options?: ServicesDeleteParameters, ): StreamableMethod< - | ServicesDelete202Response - | ServicesDelete204Response - | ServicesDeleteDefaultResponse + ServicesDelete202Response | ServicesDelete204Response | ServicesDeleteDefaultResponse >; } diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts b/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts index ed60f0445055..11c31748d95a 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/isUnexpected.ts @@ -82,8 +82,7 @@ const responseMap: Record = { ["200", "204"], "GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters": ["200"], - "GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters": - ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters": ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}": @@ -143,21 +142,13 @@ export function isUnexpected( | ClustersCreateOrUpdateDefaultResponse, ): response is ClustersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: - | ClustersUpdate200Response - | ClustersUpdate202Response - | ClustersUpdateDefaultResponse, + response: ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdateDefaultResponse, ): response is ClustersUpdateDefaultResponse; export function isUnexpected( - response: - | ClustersDelete200Response - | ClustersDelete204Response - | ClustersDeleteDefaultResponse, + response: ClustersDelete200Response | ClustersDelete204Response | ClustersDeleteDefaultResponse, ): response is ClustersDeleteDefaultResponse; export function isUnexpected( - response: - | ClustersListByResourceGroup200Response - | ClustersListByResourceGroupDefaultResponse, + response: ClustersListByResourceGroup200Response | ClustersListByResourceGroupDefaultResponse, ): response is ClustersListByResourceGroupDefaultResponse; export function isUnexpected( response: ClustersList200Response | ClustersListDefaultResponse, @@ -201,14 +192,10 @@ export function isUnexpected( | ApplicationTypesDeleteDefaultResponse, ): response is ApplicationTypesDeleteDefaultResponse; export function isUnexpected( - response: - | ApplicationTypesList200Response - | ApplicationTypesListDefaultResponse, + response: ApplicationTypesList200Response | ApplicationTypesListDefaultResponse, ): response is ApplicationTypesListDefaultResponse; export function isUnexpected( - response: - | ApplicationTypeVersionsGet200Response - | ApplicationTypeVersionsGetDefaultResponse, + response: ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetDefaultResponse, ): response is ApplicationTypeVersionsGetDefaultResponse; export function isUnexpected( response: @@ -222,17 +209,13 @@ export function isUnexpected( | ApplicationTypeVersionsDeleteDefaultResponse, ): response is ApplicationTypeVersionsDeleteDefaultResponse; export function isUnexpected( - response: - | ApplicationTypeVersionsList200Response - | ApplicationTypeVersionsListDefaultResponse, + response: ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListDefaultResponse, ): response is ApplicationTypeVersionsListDefaultResponse; export function isUnexpected( response: ApplicationsGet200Response | ApplicationsGetDefaultResponse, ): response is ApplicationsGetDefaultResponse; export function isUnexpected( - response: - | ApplicationsCreateOrUpdate202Response - | ApplicationsCreateOrUpdateDefaultResponse, + response: ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdateDefaultResponse, ): response is ApplicationsCreateOrUpdateDefaultResponse; export function isUnexpected( response: ApplicationsUpdate202Response | ApplicationsUpdateDefaultResponse, @@ -250,18 +233,13 @@ export function isUnexpected( response: ServicesGet200Response | ServicesGetDefaultResponse, ): response is ServicesGetDefaultResponse; export function isUnexpected( - response: - | ServicesCreateOrUpdate202Response - | ServicesCreateOrUpdateDefaultResponse, + response: ServicesCreateOrUpdate202Response | ServicesCreateOrUpdateDefaultResponse, ): response is ServicesCreateOrUpdateDefaultResponse; export function isUnexpected( response: ServicesUpdate202Response | ServicesUpdateDefaultResponse, ): response is ServicesUpdateDefaultResponse; export function isUnexpected( - response: - | ServicesDelete202Response - | ServicesDelete204Response - | ServicesDeleteDefaultResponse, + response: ServicesDelete202Response | ServicesDelete204Response | ServicesDeleteDefaultResponse, ): response is ServicesDeleteDefaultResponse; export function isUnexpected( response: ServicesList200Response | ServicesListDefaultResponse, @@ -398,24 +376,17 @@ function getParametrizedPathSuccess(method: string, path: string): string[] { // track if we have found a match to return the values found. let found = true; - for ( - let i = candidateParts.length - 1, j = pathParts.length - 1; - i >= 1 && j >= 1; - i--, j-- - ) { - if ( - candidateParts[i]?.startsWith("{") && - candidateParts[i]?.indexOf("}") !== -1 - ) { + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { const start = candidateParts[i]!.indexOf("}") + 1, end = candidateParts[i]?.length; // If the current part of the candidate is a "template" part // Try to use the suffix of pattern to match the path // {guid} ==> $ // {guid}:export ==> :export$ - const isMatched = new RegExp( - `${candidateParts[i]?.slice(start, end)}`, - ).test(pathParts[j] || ""); + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); if (!isMatched) { found = false; diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/models.ts b/sdk/servicefabric/arm-servicefabric-rest/src/models.ts index 3d20175dcee2..c3aae3efba19 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/models.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/models.ts @@ -14,10 +14,7 @@ export interface Cluster extends Resource { export interface ClusterProperties { /** The list of add-on features to enable in the cluster. */ addOnFeatures?: Array< - | "RepairManager" - | "DnsService" - | "BackupRestoreService" - | "ResourceMonitorService" + "RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService" >; /** The AAD authentication settings of the cluster. */ azureActiveDirectory?: AzureActiveDirectory; @@ -428,10 +425,7 @@ export interface ClusterUpdateParameters { export interface ClusterPropertiesUpdateParameters { /** The list of add-on features to enable in the cluster. */ addOnFeatures?: Array< - | "RepairManager" - | "DnsService" - | "BackupRestoreService" - | "ResourceMonitorService" + "RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService" >; /** The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. */ certificate?: CertificateDescription; @@ -531,11 +525,7 @@ export interface ApplicationResource extends ProxyResource { /** Describes the managed identities for an Azure resource. */ export interface ManagedIdentity { /** The type of managed identity for the resource. */ - type?: - | "SystemAssigned" - | "UserAssigned" - | "SystemAssigned, UserAssigned" - | "None"; + type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. @@ -547,8 +537,7 @@ export interface ManagedIdentity { export interface UserAssignedIdentity {} /** The application resource properties. */ -export interface ApplicationResourceProperties - extends ApplicationResourceUpdateProperties { +export interface ApplicationResourceProperties extends ApplicationResourceUpdateProperties { /** The application type name as defined in the application manifest. */ typeName?: string; } @@ -587,11 +576,7 @@ export interface ApplicationUpgradePolicy { */ applicationHealthPolicy?: ArmApplicationHealthPolicy; /** The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. */ - upgradeMode?: - | "Invalid" - | "UnmonitoredAuto" - | "UnmonitoredManual" - | "Monitored"; + upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored"; /** Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss. */ recreateApplication?: boolean; } @@ -709,8 +694,7 @@ export interface ServiceResource extends ProxyResource { } /** The service resource properties. */ -export interface ServiceResourcePropertiesParent - extends ServiceResourcePropertiesBase { +export interface ServiceResourcePropertiesParent extends ServiceResourcePropertiesBase { /** The name of the service type */ serviceTypeName?: string; /** Describes how the service is partitioned. */ @@ -724,11 +708,7 @@ export interface ServiceResourcePropertiesParent /** Describes how the service is partitioned. */ export interface PartitionSchemeDescriptionParent { - partitionScheme: - | "PartitionSchemeDescription" - | "Named" - | "Singleton" - | "UniformInt64Range"; + partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range"; } /** The common service resource properties. */ @@ -779,14 +759,12 @@ export interface ServiceResourceUpdate extends ProxyResource { } /** The service resource properties for patch operations. */ -export interface ServiceResourceUpdatePropertiesParent - extends ServiceResourcePropertiesBase { +export interface ServiceResourceUpdatePropertiesParent extends ServiceResourcePropertiesBase { serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless"; } /** Describes the named partition scheme of the service. */ -export interface NamedPartitionSchemeDescription - extends PartitionSchemeDescriptionParent { +export interface NamedPartitionSchemeDescription extends PartitionSchemeDescriptionParent { /** The number of partitions. */ count: number; /** Array of size specified by the ‘count’ parameter, for the names of the partitions. */ @@ -795,14 +773,12 @@ export interface NamedPartitionSchemeDescription } /** SingletonPartitionSchemeDescription */ -export interface SingletonPartitionSchemeDescription - extends PartitionSchemeDescriptionParent { +export interface SingletonPartitionSchemeDescription extends PartitionSchemeDescriptionParent { partitionScheme: "Singleton"; } /** The properties of a stateful service resource. */ -export interface StatefulServiceProperties - extends ServiceResourcePropertiesParent { +export interface StatefulServiceProperties extends ServiceResourcePropertiesParent { /** A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false. */ hasPersistedState?: boolean; /** The target replica set size as a number. */ @@ -819,8 +795,7 @@ export interface StatefulServiceProperties } /** The properties of a stateful service resource for patch operations. */ -export interface StatefulServiceUpdateProperties - extends ServiceResourceUpdatePropertiesParent { +export interface StatefulServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent { /** The target replica set size as a number. */ targetReplicaSetSize?: number; /** The minimum replica set size as a number. */ @@ -835,8 +810,7 @@ export interface StatefulServiceUpdateProperties } /** The properties of a stateless service resource. */ -export interface StatelessServiceProperties - extends ServiceResourcePropertiesParent { +export interface StatelessServiceProperties extends ServiceResourcePropertiesParent { /** The instance count. */ instanceCount?: number; /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is represented in ISO 8601 format (hh:mm:ss.s). */ @@ -845,8 +819,7 @@ export interface StatelessServiceProperties } /** The properties of a stateless service resource for patch operations. */ -export interface StatelessServiceUpdateProperties - extends ServiceResourceUpdatePropertiesParent { +export interface StatelessServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent { /** The instance count. */ instanceCount?: number; /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. It is represented in ISO 8601 format (hh:mm:ss.s). */ @@ -875,9 +848,7 @@ export interface UniformInt64RangePartitionSchemeDescription } /** The service resource properties. */ -export type ServiceResourceProperties = - | StatefulServiceProperties - | StatelessServiceProperties; +export type ServiceResourceProperties = StatefulServiceProperties | StatelessServiceProperties; /** Describes how the service is partitioned. */ export type PartitionSchemeDescription = | NamedPartitionSchemeDescription diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/outputModels.ts b/sdk/servicefabric/arm-servicefabric-rest/src/outputModels.ts index e3dc3fd46cd3..9e244c1de7b4 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/outputModels.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/outputModels.ts @@ -14,10 +14,7 @@ export interface ClusterOutput extends ResourceOutput { export interface ClusterPropertiesOutput { /** The list of add-on features to enable in the cluster. */ addOnFeatures?: Array< - | "RepairManager" - | "DnsService" - | "BackupRestoreService" - | "ResourceMonitorService" + "RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService" >; /** The Service Fabric runtime versions available for this cluster. */ readonly availableClusterVersions?: Array; @@ -373,10 +370,7 @@ export interface ClusterUpgradeDeltaHealthPolicyOutput { */ maxPercentDeltaUnhealthyApplications: number; /** Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster. */ - applicationDeltaHealthPolicies?: Record< - string, - ApplicationDeltaHealthPolicyOutput - >; + applicationDeltaHealthPolicies?: Record; } /** @@ -387,10 +381,7 @@ export interface ApplicationDeltaHealthPolicyOutput { /** The delta health policy used by default to evaluate the health of a service type when upgrading the cluster. */ defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicyOutput; /** The map with service type delta health policy per service type name. The map is empty by default. */ - serviceTypeDeltaHealthPolicies?: Record< - string, - ServiceTypeDeltaHealthPolicyOutput - >; + serviceTypeDeltaHealthPolicies?: Record; } /** @@ -583,8 +574,7 @@ export interface ApplicationTypeResourceListOutput { } /** An application type version resource for the specified application type name resource. */ -export interface ApplicationTypeVersionResourceOutput - extends ProxyResourceOutput { +export interface ApplicationTypeVersionResourceOutput extends ProxyResourceOutput { /** The properties of the application type version resource. */ properties?: ApplicationTypeVersionResourcePropertiesOutput; } @@ -621,11 +611,7 @@ export interface ManagedIdentityOutput { /** The tenant id of the managed identity. This property will only be provided for a system assigned identity. */ readonly tenantId?: string; /** The type of managed identity for the resource. */ - type?: - | "SystemAssigned" - | "UserAssigned" - | "SystemAssigned, UserAssigned" - | "None"; + type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. @@ -684,11 +670,7 @@ export interface ApplicationUpgradePolicyOutput { */ applicationHealthPolicy?: ArmApplicationHealthPolicyOutput; /** The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. */ - upgradeMode?: - | "Invalid" - | "UnmonitoredAuto" - | "UnmonitoredManual" - | "Monitored"; + upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored"; /** Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss. */ recreateApplication?: boolean; } @@ -813,8 +795,7 @@ export interface ServiceResourceOutput extends ProxyResourceOutput { } /** The service resource properties. */ -export interface ServiceResourcePropertiesOutputParent - extends ServiceResourcePropertiesBaseOutput { +export interface ServiceResourcePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput { /** The current deployment or provisioning state, which only appears in the response */ readonly provisioningState?: string; /** The name of the service type */ @@ -830,11 +811,7 @@ export interface ServiceResourcePropertiesOutputParent /** Describes how the service is partitioned. */ export interface PartitionSchemeDescriptionOutputParent { - partitionScheme: - | "PartitionSchemeDescription" - | "Named" - | "Singleton" - | "UniformInt64Range"; + partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range"; } /** The common service resource properties. */ @@ -914,8 +891,7 @@ export interface SingletonPartitionSchemeDescriptionOutput } /** The properties of a stateful service resource. */ -export interface StatefulServicePropertiesOutput - extends ServiceResourcePropertiesOutputParent { +export interface StatefulServicePropertiesOutput extends ServiceResourcePropertiesOutputParent { /** A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false. */ hasPersistedState?: boolean; /** The target replica set size as a number. */ @@ -948,8 +924,7 @@ export interface StatefulServiceUpdatePropertiesOutput } /** The properties of a stateless service resource. */ -export interface StatelessServicePropertiesOutput - extends ServiceResourcePropertiesOutputParent { +export interface StatelessServicePropertiesOutput extends ServiceResourcePropertiesOutputParent { /** The instance count. */ instanceCount?: number; /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is represented in ISO 8601 format (hh:mm:ss.s). */ diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/paginateHelper.ts b/sdk/servicefabric/arm-servicefabric-rest/src/paginateHelper.ts index 5ef95e5ea0a3..a5ee77d86caf 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/paginateHelper.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/paginateHelper.ts @@ -1,11 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { - Client, - createRestError, - PathUncheckedResponse, -} from "@azure-rest/core-client"; +import { Client, createRestError, PathUncheckedResponse } from "@azure-rest/core-client"; /** * returns an async iterator that iterates over results. It also has a `byPage` @@ -22,9 +18,7 @@ function getPagedAsyncIterator< >( pagedResult: PagedResult, ): PagedAsyncIterableIterator { - const iter = getItemAsyncIterator( - pagedResult, - ); + const iter = getItemAsyncIterator(pagedResult); return { next() { return iter.next(); @@ -39,9 +33,7 @@ function getPagedAsyncIterator< return getPageAsyncIterator(pagedResult, { pageLink: continuationToken as unknown as TLink | undefined, }); - }) as unknown as ( - settings?: TPageSettings, - ) => AsyncIterableIterator), + }) as unknown as (settings?: TPageSettings) => AsyncIterableIterator), }; } @@ -81,9 +73,7 @@ async function* getPageAsyncIterator( } = {}, ): AsyncIterableIterator { const { pageLink } = options; - let response = await pagedResult.getPage( - pageLink ?? pagedResult.firstPageLink, - ); + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); if (!response) { return; } @@ -122,11 +112,7 @@ export interface PagedAsyncIterableIterator< /** * The connection to the async iterator, part of the iteration protocol */ - [Symbol.asyncIterator](): PagedAsyncIterableIterator< - TElement, - TPage, - TPageSettings - >; + [Symbol.asyncIterator](): PagedAsyncIterableIterator; /** * Return an AsyncIterableIterator that works a page at a time */ @@ -144,9 +130,7 @@ interface PagedResult { /** * A method that returns a page of results. */ - getPage: ( - pageLink: TLink, - ) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + getPage: (pageLink: TLink) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; /** * a function to implement the `byPage` method on the paged async iterator. */ @@ -218,9 +202,7 @@ export function paginate( typeof customGetPage === "function" ? customGetPage : async (pageLink: string) => { - const result = firstRun - ? initialResponse - : await client.pathUnchecked(pageLink).get(); + const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get(); firstRun = false; checkPagingRequest(result); const nextLink = getNextLink(result.body, nextLinkName); @@ -246,9 +228,7 @@ function getNextLink(body: unknown, nextLinkName?: string): string | undefined { const nextLink = (body as Record)[nextLinkName]; if (typeof nextLink !== "string" && typeof nextLink !== "undefined") { - throw new Error( - `Body Property ${nextLinkName} should be a string or undefined`, - ); + throw new Error(`Body Property ${nextLinkName} should be a string or undefined`); } return nextLink; @@ -276,18 +256,7 @@ function getElements(body: unknown, itemName: string): T[] { * Checks if a request failed */ function checkPagingRequest(response: PathUncheckedResponse): void { - const Http2xxStatusCodes = [ - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "226", - ]; + const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"]; if (!Http2xxStatusCodes.includes(response.status)) { throw createRestError( `Pagination failed with unexpected statusCode ${response.status}`, diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts b/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts index 449e57ed00cf..a1421c9a1b0f 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/parameters.ts @@ -26,10 +26,9 @@ export interface ClustersCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ClustersCreateOrUpdateParameters = - ClustersCreateOrUpdateMediaTypesParam & - ClustersCreateOrUpdateBodyParam & - RequestParameters; +export type ClustersCreateOrUpdateParameters = ClustersCreateOrUpdateMediaTypesParam & + ClustersCreateOrUpdateBodyParam & + RequestParameters; export interface ClustersUpdateBodyParam { /** The parameters which contains the property value and property name which used to update the cluster configuration. */ @@ -115,10 +114,9 @@ export interface ApplicationsCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ApplicationsCreateOrUpdateParameters = - ApplicationsCreateOrUpdateMediaTypesParam & - ApplicationsCreateOrUpdateBodyParam & - RequestParameters; +export type ApplicationsCreateOrUpdateParameters = ApplicationsCreateOrUpdateMediaTypesParam & + ApplicationsCreateOrUpdateBodyParam & + RequestParameters; export interface ApplicationsUpdateBodyParam { /** The application resource for patch operations. */ @@ -147,10 +145,9 @@ export interface ServicesCreateOrUpdateMediaTypesParam { contentType?: "application/json"; } -export type ServicesCreateOrUpdateParameters = - ServicesCreateOrUpdateMediaTypesParam & - ServicesCreateOrUpdateBodyParam & - RequestParameters; +export type ServicesCreateOrUpdateParameters = ServicesCreateOrUpdateMediaTypesParam & + ServicesCreateOrUpdateBodyParam & + RequestParameters; export interface ServicesUpdateBodyParam { /** The service resource for patch operations. */ diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/pollingHelper.ts b/sdk/servicefabric/arm-servicefabric-rest/src/pollingHelper.ts index 131043e0b2d0..0ff7c2fe9be1 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/pollingHelper.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/pollingHelper.ts @@ -15,10 +15,7 @@ import { /** * A simple poller that can be used to poll a long running operation. */ -export interface SimplePollerLike< - TState extends OperationState, - TResult, -> { +export interface SimplePollerLike, TResult> { /** * Returns true if the poller has finished polling. */ @@ -42,9 +39,7 @@ export interface SimplePollerLike< /** * Returns a promise that will resolve once the underlying operation is completed. */ - pollUntilDone(pollOptions?: { - abortSignal?: AbortSignalLike; - }): Promise; + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; /** * Invokes the provided callback after each polling is completed, * sending the current state of the poller's operation. @@ -103,10 +98,7 @@ export async function getLongRunningPoller( // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async ( - path: string, - pollOptions?: { abortSignal?: AbortSignalLike }, - ) => { + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location @@ -132,8 +124,7 @@ export async function getLongRunningPoller( inputAbortSignal?.removeEventListener("abort", abortListener); } const lroResponse = getLroResponse(response as TResult); - lroResponse.rawResponse.headers["x-ms-original-url"] = - initialResponse.request.url; + lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; return lroResponse; }, }; @@ -189,9 +180,7 @@ function getLroResponse( response: TResult, ): OperationResponse { if (Number.isNaN(response.status)) { - throw new TypeError( - `Status code of the response is not a number. Value: ${response.status}`, - ); + throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); } return { diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts b/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts index 848b666cab27..1ddb9b9736ed 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/responses.ts @@ -90,8 +90,7 @@ export interface ClustersListByResourceGroup200Response extends HttpResponse { } /** Gets all Service Fabric cluster resources created or in the process of being created in the resource group. */ -export interface ClustersListByResourceGroupDefaultResponse - extends HttpResponse { +export interface ClustersListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -109,15 +108,13 @@ export interface ClustersListDefaultResponse extends HttpResponse { } /** If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version. */ -export interface ClustersListUpgradableVersions200Response - extends HttpResponse { +export interface ClustersListUpgradableVersions200Response extends HttpResponse { status: "200"; body: UpgradableVersionPathResultOutput; } /** If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version. */ -export interface ClustersListUpgradableVersionsDefaultResponse - extends HttpResponse { +export interface ClustersListUpgradableVersionsDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -135,15 +132,13 @@ export interface ClusterVersionsGetDefaultResponse extends HttpResponse { } /** Gets information about an available Service Fabric cluster code version by environment. */ -export interface ClusterVersionsGetByEnvironment200Response - extends HttpResponse { +export interface ClusterVersionsGetByEnvironment200Response extends HttpResponse { status: "200"; body: ClusterCodeVersionsListResultOutput; } /** Gets information about an available Service Fabric cluster code version by environment. */ -export interface ClusterVersionsGetByEnvironmentDefaultResponse - extends HttpResponse { +export interface ClusterVersionsGetByEnvironmentDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -161,15 +156,13 @@ export interface ClusterVersionsListDefaultResponse extends HttpResponse { } /** Gets all available code versions for Service Fabric cluster resources by environment. */ -export interface ClusterVersionsListByEnvironment200Response - extends HttpResponse { +export interface ClusterVersionsListByEnvironment200Response extends HttpResponse { status: "200"; body: ClusterCodeVersionsListResultOutput; } /** Gets all available code versions for Service Fabric cluster resources by environment. */ -export interface ClusterVersionsListByEnvironmentDefaultResponse - extends HttpResponse { +export interface ClusterVersionsListByEnvironmentDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -199,15 +192,13 @@ export interface ApplicationTypesGetDefaultResponse extends HttpResponse { } /** Create or update a Service Fabric application type name resource with the specified name. */ -export interface ApplicationTypesCreateOrUpdate200Response - extends HttpResponse { +export interface ApplicationTypesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: ApplicationTypeResourceOutput; } /** Create or update a Service Fabric application type name resource with the specified name. */ -export interface ApplicationTypesCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ApplicationTypesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -247,22 +238,19 @@ export interface ApplicationTypeVersionsGet200Response extends HttpResponse { } /** Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource. */ -export interface ApplicationTypeVersionsGetDefaultResponse - extends HttpResponse { +export interface ApplicationTypeVersionsGetDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } /** Create or update a Service Fabric application type version resource with the specified name. */ -export interface ApplicationTypeVersionsCreateOrUpdate202Response - extends HttpResponse { +export interface ApplicationTypeVersionsCreateOrUpdate202Response extends HttpResponse { status: "202"; body: ApplicationTypeVersionResourceOutput; } /** Create or update a Service Fabric application type version resource with the specified name. */ -export interface ApplicationTypeVersionsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ApplicationTypeVersionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -278,8 +266,7 @@ export interface ApplicationTypeVersionsDelete204Response extends HttpResponse { } /** Delete a Service Fabric application type version resource with the specified name. */ -export interface ApplicationTypeVersionsDeleteDefaultResponse - extends HttpResponse { +export interface ApplicationTypeVersionsDeleteDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -291,8 +278,7 @@ export interface ApplicationTypeVersionsList200Response extends HttpResponse { } /** Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource. */ -export interface ApplicationTypeVersionsListDefaultResponse - extends HttpResponse { +export interface ApplicationTypeVersionsListDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } @@ -316,8 +302,7 @@ export interface ApplicationsCreateOrUpdate202Response extends HttpResponse { } /** Create or update a Service Fabric application resource with the specified name. */ -export interface ApplicationsCreateOrUpdateDefaultResponse - extends HttpResponse { +export interface ApplicationsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: ErrorModelOutput; } diff --git a/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts b/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts index edd7babd65dc..90c43480fd7b 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/src/serviceFabricClient.ts @@ -21,8 +21,7 @@ export default function createClient( credentials: TokenCredential, { apiVersion = "2021-06-01", ...options }: ServiceFabricClientOptions = {}, ): ServiceFabricClient { - const endpointUrl = - options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; const userAgentInfo = `azsdk-js-arm-servicefabric-rest/1.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix @@ -37,16 +36,10 @@ export default function createClient( logger: options.loggingOptions?.logger ?? logger.info, }, credentials: { - scopes: options.credentials?.scopes ?? [ - "https://management.azure.com/.default", - ], + scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"], }, }; - const client = getClient( - endpointUrl, - credentials, - options, - ) as ServiceFabricClient; + const client = getClient(endpointUrl, credentials, options) as ServiceFabricClient; client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); client.pipeline.addPolicy({ diff --git a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.browser.config.json b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.browser.config.json index b6586181d006..f772e6eb3b76 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.browser.config.json +++ b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.browser.config.json @@ -1,14 +1,7 @@ { "extends": "./.tshy/build.json", - "include": [ - "./src/**/*.ts", - "./src/**/*.mts", - "./test/**/*.spec.ts", - "./test/**/*.mts" - ], - "exclude": [ - "./test/**/node/**/*.ts" - ], + "include": ["./src/**/*.ts", "./src/**/*.mts", "./test/**/*.spec.ts", "./test/**/*.mts"], + "exclude": ["./test/**/node/**/*.ts"], "compilerOptions": { "outDir": "./dist-test/browser", "rootDir": ".", diff --git a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.samples.json b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.samples.json index e06f2e66008d..396a751add04 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.samples.json +++ b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.samples.json @@ -2,9 +2,7 @@ "extends": "../../../tsconfig.samples.base.json", "compilerOptions": { "paths": { - "@azure-rest/arm-servicefabric": [ - "./dist/esm" - ] + "@azure-rest/arm-servicefabric": ["./dist/esm"] } } } diff --git a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.test.json b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.test.json index 3c2b783a8c1b..290ca214aebc 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/tsconfig.test.json +++ b/sdk/servicefabric/arm-servicefabric-rest/tsconfig.test.json @@ -1,6 +1,3 @@ { - "extends": [ - "./tsconfig.src.json", - "../../../tsconfig.test.base.json" - ] + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] } From ec436d513455156ae6f893acea2089c6e38aa375 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:53:23 +0800 Subject: [PATCH 67/73] update --- common/config/rush/pnpm-lock.yaml | 48 +- .../arm-appservice-rest/package.json | 4 +- sdk/compute/arm-compute-rest/package.json | 4 +- .../arm-containerservice-rest/package.json | 4 +- sdk/network/arm-network-rest/package.json | 4 +- .../arm-servicefabric-rest/CHANGELOG.md | 9 +- .../arm-servicefabric-rest/package.json | 33 +- .../review/arm-servicefabric.api.md | 624 +++++++++--------- .../applicationTypesDeleteSample.ts | 2 +- .../clustersCreateOrUpdateSample.ts | 4 +- .../samples-dev/clustersUpdateSample.ts | 2 +- .../samples/v1-beta/javascript/README.md | 2 +- .../applicationTypesCreateOrUpdateSample.js | 2 +- .../applicationTypesDeleteSample.js | 4 +- .../javascript/applicationTypesGetSample.js | 2 +- .../javascript/applicationTypesListSample.js | 2 +- .../clustersCreateOrUpdateSample.js | 8 +- .../javascript/clustersDeleteSample.js | 2 +- .../v1-beta/javascript/clustersGetSample.js | 2 +- .../clustersListByResourceGroupSample.js | 2 +- .../v1-beta/javascript/clustersListSample.js | 2 +- .../clustersListUpgradableVersionsSample.js | 4 +- .../javascript/clustersUpdateSample.js | 4 +- .../samples/v1-beta/javascript/package.json | 2 +- .../samples/v1-beta/typescript/README.md | 2 +- .../samples/v1-beta/typescript/package.json | 4 +- .../applicationTypesCreateOrUpdateSample.ts | 2 +- .../src/applicationTypesDeleteSample.ts | 4 +- .../src/applicationTypesGetSample.ts | 2 +- .../src/applicationTypesListSample.ts | 14 +- .../src/clustersCreateOrUpdateSample.ts | 20 +- .../typescript/src/clustersDeleteSample.ts | 2 +- .../typescript/src/clustersGetSample.ts | 2 +- .../src/clustersListByResourceGroupSample.ts | 12 +- .../typescript/src/clustersListSample.ts | 10 +- .../clustersListUpgradableVersionsSample.ts | 16 +- .../typescript/src/clustersUpdateSample.ts | 4 +- .../samples/v1-beta/typescript/tsconfig.json | 2 +- .../test/public/servicefabric.spec.ts | 6 +- 39 files changed, 453 insertions(+), 425 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 291063840b11..ae6ffe8823a7 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -702,7 +702,7 @@ importers: version: file:projects/arm-servicebus.tgz '@rush-temp/arm-servicefabric': specifier: file:./projects/arm-servicefabric.tgz - version: file:projects/arm-servicefabric.tgz + version: file:projects/arm-servicefabric.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-servicefabric-1': specifier: file:./projects/arm-servicefabric-1.tgz version: file:projects/arm-servicefabric-1.tgz @@ -3363,7 +3363,7 @@ packages: version: 0.0.0 '@rush-temp/arm-servicefabric@file:projects/arm-servicefabric.tgz': - resolution: {integrity: sha512-onlinX89I6AcQvlV8+4aNVn8e/yXskZBfMMemAFYVM9GS9AX3Em6JTXRO/3ZD9qu7Zf+wyrE2yRr6OmcJn/jEg==, tarball: file:projects/arm-servicefabric.tgz} + resolution: {integrity: sha512-Kdpge1zLtThG2cpA/c53WkzZ6+n5NWy3W3x9Nw2xDZKHowHwCKG4xISZbnjQ8oi8bQIPSUpjv7ZPtDc5otPqrw==, tarball: file:projects/arm-servicefabric.tgz} version: 0.0.0 '@rush-temp/arm-servicefabricmanagedclusters@file:projects/arm-servicefabricmanagedclusters.tgz': @@ -14744,43 +14744,39 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-servicefabric@file:projects/arm-servicefabric.tgz': + '@rush-temp/arm-servicefabric@file:projects/arm-servicefabric.tgz(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 - '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 - chai: 4.5.0 dotenv: 16.4.7 eslint: 9.17.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 11.0.2 - nyc: 17.1.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.6.8(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-servicefabricmanagedclusters@file:projects/arm-servicefabricmanagedclusters.tgz': dependencies: diff --git a/sdk/appservice/arm-appservice-rest/package.json b/sdk/appservice/arm-appservice-rest/package.json index 01e539141d99..a5344579ef69 100644 --- a/sdk/appservice/arm-appservice-rest/package.json +++ b/sdk/appservice/arm-appservice-rest/package.json @@ -24,7 +24,9 @@ "files": [ "dist/", "README.md", - "LICENSE" + "LICENSE", + "review/*", + "CHANGELOG.md" ], "//metadata": { "constantPaths": [ diff --git a/sdk/compute/arm-compute-rest/package.json b/sdk/compute/arm-compute-rest/package.json index bcdb8ee4de56..33ca99e63de6 100644 --- a/sdk/compute/arm-compute-rest/package.json +++ b/sdk/compute/arm-compute-rest/package.json @@ -23,7 +23,9 @@ "files": [ "dist/", "README.md", - "LICENSE" + "LICENSE", + "review/*", + "CHANGELOG.md" ], "engines": { "node": ">=18.0.0" diff --git a/sdk/containerservice/arm-containerservice-rest/package.json b/sdk/containerservice/arm-containerservice-rest/package.json index 39a6d7c36c55..a21f671ce4e5 100644 --- a/sdk/containerservice/arm-containerservice-rest/package.json +++ b/sdk/containerservice/arm-containerservice-rest/package.json @@ -24,7 +24,9 @@ "files": [ "dist/", "README.md", - "LICENSE" + "LICENSE", + "review/*", + "CHANGELOG.md" ], "//metadata": { "constantPaths": [ diff --git a/sdk/network/arm-network-rest/package.json b/sdk/network/arm-network-rest/package.json index 5920df34d4bd..7abcebbe8bf7 100644 --- a/sdk/network/arm-network-rest/package.json +++ b/sdk/network/arm-network-rest/package.json @@ -23,7 +23,9 @@ "files": [ "dist/", "README.md", - "LICENSE" + "LICENSE", + "review/*", + "CHANGELOG.md" ], "engines": { "node": ">=18.0.0" diff --git a/sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md b/sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md index d8bec637860f..145dff2b1adb 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md +++ b/sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md @@ -1,14 +1,9 @@ # Release History -## 1.0.0-beta.2 (Unreleased) +## 1.0.0-beta.2 (2024-12-24) ### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Refresh sdk with latest codegen ## 1.0.0-beta.1 (2022-07-15) diff --git a/sdk/servicefabric/arm-servicefabric-rest/package.json b/sdk/servicefabric/arm-servicefabric-rest/package.json index ddf1c2b7cb76..c9371141ce5a 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/package.json +++ b/sdk/servicefabric/arm-servicefabric-rest/package.json @@ -13,9 +13,9 @@ "isomorphic" ], "license": "MIT", - "main": "dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-servicefabric.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicefabric/arm-servicefabric-rest/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { @@ -24,7 +24,9 @@ "files": [ "dist/", "README.md", - "LICENSE" + "LICENSE", + "review/*", + "CHANGELOG.md" ], "//metadata": { "constantPaths": [ @@ -118,5 +120,26 @@ ], "selfLink": false }, - "react-native": "./dist/react-native/index.js" + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } + } } diff --git a/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md b/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md index a0033d6df5f4..18cf7310fbc7 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md +++ b/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md @@ -4,43 +4,43 @@ ```ts -import type { Client } from '@azure-rest/core-client'; -import type { ClientOptions } from '@azure-rest/core-client'; -import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PagedAsyncIterableIterator } from '@azure/core-paging'; -import type { PathUncheckedResponse } from '@azure-rest/core-client'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; -import type { RequestParameters } from '@azure-rest/core-client'; -import type { StreamableMethod } from '@azure-rest/core-client'; -import type { TokenCredential } from '@azure/core-auth'; +import { AbortSignalLike } from '@azure/abort-controller'; +import { CancelOnProgress } from '@azure/core-lro'; +import { Client } from '@azure-rest/core-client'; +import { ClientOptions } from '@azure-rest/core-client'; +import { CreateHttpPollerOptions } from '@azure/core-lro'; +import { HttpResponse } from '@azure-rest/core-client'; +import { OperationState } from '@azure/core-lro'; +import { PathUncheckedResponse } from '@azure-rest/core-client'; +import { RequestParameters } from '@azure-rest/core-client'; +import { StreamableMethod } from '@azure-rest/core-client'; +import { TokenCredential } from '@azure/core-auth'; -// @public (undocumented) +// @public export interface ApplicationDeltaHealthPolicy { defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicy; serviceTypeDeltaHealthPolicies?: Record; } -// @public (undocumented) +// @public export interface ApplicationDeltaHealthPolicyOutput { defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicyOutput; serviceTypeDeltaHealthPolicies?: Record; } -// @public (undocumented) +// @public export interface ApplicationHealthPolicy { defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicy; serviceTypeHealthPolicies?: Record; } -// @public (undocumented) +// @public export interface ApplicationHealthPolicyOutput { defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicyOutput; serviceTypeHealthPolicies?: Record; } -// @public (undocumented) +// @public export interface ApplicationMetricDescription { maximumCapacity?: number; name?: string; @@ -48,7 +48,7 @@ export interface ApplicationMetricDescription { totalApplicationCapacity?: number; } -// @public (undocumented) +// @public export interface ApplicationMetricDescriptionOutput { maximumCapacity?: number; name?: string; @@ -56,48 +56,47 @@ export interface ApplicationMetricDescriptionOutput { totalApplicationCapacity?: number; } -// @public (undocumented) +// @public export interface ApplicationResource extends ProxyResource { identity?: ManagedIdentity; properties?: ApplicationResourceProperties; } -// @public (undocumented) +// @public export interface ApplicationResourceListOutput { - nextLink?: string; + readonly nextLink?: string; // (undocumented) value?: Array; } -// @public (undocumented) +// @public export interface ApplicationResourceOutput extends ProxyResourceOutput { identity?: ManagedIdentityOutput; properties?: ApplicationResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface ApplicationResourceProperties extends ApplicationResourceUpdateProperties { - provisioningState?: string; typeName?: string; } -// @public (undocumented) +// @public export interface ApplicationResourcePropertiesOutput extends ApplicationResourceUpdatePropertiesOutput { - provisioningState?: string; + readonly provisioningState?: string; typeName?: string; } -// @public (undocumented) +// @public export interface ApplicationResourceUpdate extends ProxyResource { properties?: ApplicationResourceUpdateProperties; } -// @public (undocumented) +// @public export interface ApplicationResourceUpdateOutput extends ProxyResourceOutput { properties?: ApplicationResourceUpdatePropertiesOutput; } -// @public (undocumented) +// @public export interface ApplicationResourceUpdateProperties { managedIdentities?: Array; maximumNodes?: number; @@ -109,7 +108,7 @@ export interface ApplicationResourceUpdateProperties { upgradePolicy?: ApplicationUpgradePolicy; } -// @public (undocumented) +// @public export interface ApplicationResourceUpdatePropertiesOutput { managedIdentities?: Array; maximumNodes?: number; @@ -135,7 +134,7 @@ export interface ApplicationsCreateOrUpdateBodyParam { } // @public -export interface ApplicationsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ApplicationsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -152,22 +151,18 @@ export type ApplicationsCreateOrUpdateParameters = ApplicationsCreateOrUpdateMed // @public export interface ApplicationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ApplicationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ApplicationsDeletedefaultResponse extends HttpResponse { +export interface ApplicationsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -179,10 +174,10 @@ export type ApplicationsDeleteParameters = RequestParameters; // @public (undocumented) export interface ApplicationsGet { - delete(options?: ApplicationsDeleteParameters): StreamableMethod; - get(options?: ApplicationsGetParameters): StreamableMethod; - patch(options: ApplicationsUpdateParameters): StreamableMethod; - put(options: ApplicationsCreateOrUpdateParameters): StreamableMethod; + delete(options?: ApplicationsDeleteParameters): StreamableMethod; + get(options?: ApplicationsGetParameters): StreamableMethod; + patch(options: ApplicationsUpdateParameters): StreamableMethod; + put(options: ApplicationsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -194,7 +189,7 @@ export interface ApplicationsGet200Response extends HttpResponse { } // @public -export interface ApplicationsGetdefaultResponse extends HttpResponse { +export interface ApplicationsGetDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -206,7 +201,7 @@ export type ApplicationsGetParameters = RequestParameters; // @public (undocumented) export interface ApplicationsList { - get(options?: ApplicationsListParameters): StreamableMethod; + get(options?: ApplicationsListParameters): StreamableMethod; } // @public @@ -218,7 +213,7 @@ export interface ApplicationsList200Response extends HttpResponse { } // @public -export interface ApplicationsListdefaultResponse extends HttpResponse { +export interface ApplicationsListDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -242,7 +237,7 @@ export interface ApplicationsUpdateBodyParam { } // @public -export interface ApplicationsUpdatedefaultResponse extends HttpResponse { +export interface ApplicationsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -257,31 +252,30 @@ export interface ApplicationsUpdateMediaTypesParam { // @public (undocumented) export type ApplicationsUpdateParameters = ApplicationsUpdateMediaTypesParam & ApplicationsUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ApplicationTypeResource extends ProxyResource { properties?: ApplicationTypeResourceProperties; } -// @public (undocumented) +// @public export interface ApplicationTypeResourceListOutput { - nextLink?: string; + readonly nextLink?: string; // (undocumented) value?: Array; } -// @public (undocumented) +// @public export interface ApplicationTypeResourceOutput extends ProxyResourceOutput { properties?: ApplicationTypeResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface ApplicationTypeResourceProperties { - provisioningState?: string; } -// @public (undocumented) +// @public export interface ApplicationTypeResourcePropertiesOutput { - provisioningState?: string; + readonly provisioningState?: string; } // @public @@ -298,7 +292,7 @@ export interface ApplicationTypesCreateOrUpdateBodyParam { } // @public -export interface ApplicationTypesCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ApplicationTypesCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -315,22 +309,18 @@ export type ApplicationTypesCreateOrUpdateParameters = ApplicationTypesCreateOrU // @public export interface ApplicationTypesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ApplicationTypesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ApplicationTypesDeletedefaultResponse extends HttpResponse { +export interface ApplicationTypesDeleteDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -342,9 +332,9 @@ export type ApplicationTypesDeleteParameters = RequestParameters; // @public (undocumented) export interface ApplicationTypesGet { - delete(options?: ApplicationTypesDeleteParameters): StreamableMethod; - get(options?: ApplicationTypesGetParameters): StreamableMethod; - put(options: ApplicationTypesCreateOrUpdateParameters): StreamableMethod; + delete(options?: ApplicationTypesDeleteParameters): StreamableMethod; + get(options?: ApplicationTypesGetParameters): StreamableMethod; + put(options: ApplicationTypesCreateOrUpdateParameters): StreamableMethod; } // @public @@ -356,7 +346,7 @@ export interface ApplicationTypesGet200Response extends HttpResponse { } // @public -export interface ApplicationTypesGetdefaultResponse extends HttpResponse { +export interface ApplicationTypesGetDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -368,7 +358,7 @@ export type ApplicationTypesGetParameters = RequestParameters; // @public (undocumented) export interface ApplicationTypesList { - get(options?: ApplicationTypesListParameters): StreamableMethod; + get(options?: ApplicationTypesListParameters): StreamableMethod; } // @public @@ -380,7 +370,7 @@ export interface ApplicationTypesList200Response extends HttpResponse { } // @public -export interface ApplicationTypesListdefaultResponse extends HttpResponse { +export interface ApplicationTypesListDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -390,35 +380,33 @@ export interface ApplicationTypesListdefaultResponse extends HttpResponse { // @public (undocumented) export type ApplicationTypesListParameters = RequestParameters; -// @public (undocumented) +// @public export interface ApplicationTypeVersionResource extends ProxyResource { properties?: ApplicationTypeVersionResourceProperties; } -// @public (undocumented) +// @public export interface ApplicationTypeVersionResourceListOutput { - nextLink?: string; + readonly nextLink?: string; // (undocumented) value?: Array; } -// @public (undocumented) +// @public export interface ApplicationTypeVersionResourceOutput extends ProxyResourceOutput { properties?: ApplicationTypeVersionResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface ApplicationTypeVersionResourceProperties { appPackageUrl: string; - defaultParameterList?: Record; - provisioningState?: string; } -// @public (undocumented) +// @public export interface ApplicationTypeVersionResourcePropertiesOutput { appPackageUrl: string; - defaultParameterList?: Record; - provisioningState?: string; + readonly defaultParameterList?: Record; + readonly provisioningState?: string; } // @public (undocumented) @@ -445,7 +433,7 @@ export interface ApplicationTypeVersionsCreateOrUpdateBodyParam { } // @public -export interface ApplicationTypeVersionsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ApplicationTypeVersionsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -462,22 +450,18 @@ export type ApplicationTypeVersionsCreateOrUpdateParameters = ApplicationTypeVer // @public export interface ApplicationTypeVersionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ApplicationTypeVersionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ApplicationTypeVersionsDeletedefaultResponse extends HttpResponse { +export interface ApplicationTypeVersionsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -489,9 +473,9 @@ export type ApplicationTypeVersionsDeleteParameters = RequestParameters; // @public (undocumented) export interface ApplicationTypeVersionsGet { - delete(options?: ApplicationTypeVersionsDeleteParameters): StreamableMethod; - get(options?: ApplicationTypeVersionsGetParameters): StreamableMethod; - put(options: ApplicationTypeVersionsCreateOrUpdateParameters): StreamableMethod; + delete(options?: ApplicationTypeVersionsDeleteParameters): StreamableMethod; + get(options?: ApplicationTypeVersionsGetParameters): StreamableMethod; + put(options: ApplicationTypeVersionsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -503,7 +487,7 @@ export interface ApplicationTypeVersionsGet200Response extends HttpResponse { } // @public -export interface ApplicationTypeVersionsGetdefaultResponse extends HttpResponse { +export interface ApplicationTypeVersionsGetDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -515,7 +499,7 @@ export type ApplicationTypeVersionsGetParameters = RequestParameters; // @public (undocumented) export interface ApplicationTypeVersionsList { - get(options?: ApplicationTypeVersionsListParameters): StreamableMethod; + get(options?: ApplicationTypeVersionsListParameters): StreamableMethod; } // @public @@ -527,7 +511,7 @@ export interface ApplicationTypeVersionsList200Response extends HttpResponse { } // @public -export interface ApplicationTypeVersionsListdefaultResponse extends HttpResponse { +export interface ApplicationTypeVersionsListDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -537,7 +521,7 @@ export interface ApplicationTypeVersionsListdefaultResponse extends HttpResponse // @public (undocumented) export type ApplicationTypeVersionsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface ApplicationUpgradePolicy { applicationHealthPolicy?: ArmApplicationHealthPolicy; forceRestart?: boolean; @@ -547,7 +531,7 @@ export interface ApplicationUpgradePolicy { upgradeReplicaSetCheckTimeout?: string; } -// @public (undocumented) +// @public export interface ApplicationUpgradePolicyOutput { applicationHealthPolicy?: ArmApplicationHealthPolicyOutput; forceRestart?: boolean; @@ -569,7 +553,7 @@ export interface ApplicationUserAssignedIdentityOutput { principalId: string; } -// @public (undocumented) +// @public export interface ArmApplicationHealthPolicy { considerWarningAsError?: boolean; defaultServiceTypeHealthPolicy?: ArmServiceTypeHealthPolicy; @@ -577,7 +561,7 @@ export interface ArmApplicationHealthPolicy { serviceTypeHealthPolicyMap?: Record; } -// @public (undocumented) +// @public export interface ArmApplicationHealthPolicyOutput { considerWarningAsError?: boolean; defaultServiceTypeHealthPolicy?: ArmServiceTypeHealthPolicyOutput; @@ -585,7 +569,7 @@ export interface ArmApplicationHealthPolicyOutput { serviceTypeHealthPolicyMap?: Record; } -// @public (undocumented) +// @public export interface ArmRollingUpgradeMonitoringPolicy { failureAction?: "Rollback" | "Manual"; healthCheckRetryTimeout?: string; @@ -595,7 +579,7 @@ export interface ArmRollingUpgradeMonitoringPolicy { upgradeTimeout?: string; } -// @public (undocumented) +// @public export interface ArmRollingUpgradeMonitoringPolicyOutput { failureAction?: "Rollback" | "Manual"; healthCheckRetryTimeout?: string; @@ -605,21 +589,21 @@ export interface ArmRollingUpgradeMonitoringPolicyOutput { upgradeTimeout?: string; } -// @public (undocumented) +// @public export interface ArmServiceTypeHealthPolicy { maxPercentUnhealthyPartitionsPerService?: number; maxPercentUnhealthyReplicasPerPartition?: number; maxPercentUnhealthyServices?: number; } -// @public (undocumented) +// @public export interface ArmServiceTypeHealthPolicyOutput { maxPercentUnhealthyPartitionsPerService?: number; maxPercentUnhealthyReplicasPerPartition?: number; maxPercentUnhealthyServices?: number; } -// @public (undocumented) +// @public export interface AvailableOperationDisplayOutput { description?: string; operation?: string; @@ -627,73 +611,73 @@ export interface AvailableOperationDisplayOutput { resource?: string; } -// @public (undocumented) +// @public export interface AzureActiveDirectory { clientApplication?: string; clusterApplication?: string; tenantId?: string; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryOutput { clientApplication?: string; clusterApplication?: string; tenantId?: string; } -// @public (undocumented) +// @public export interface CertificateDescription { thumbprint: string; thumbprintSecondary?: string; x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher"; } -// @public (undocumented) +// @public export interface CertificateDescriptionOutput { thumbprint: string; thumbprintSecondary?: string; x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher"; } -// @public (undocumented) +// @public export interface ClientCertificateCommonName { certificateCommonName: string; certificateIssuerThumbprint: string; isAdmin: boolean; } -// @public (undocumented) +// @public export interface ClientCertificateCommonNameOutput { certificateCommonName: string; certificateIssuerThumbprint: string; isAdmin: boolean; } -// @public (undocumented) +// @public export interface ClientCertificateThumbprint { certificateThumbprint: string; isAdmin: boolean; } -// @public (undocumented) +// @public export interface ClientCertificateThumbprintOutput { certificateThumbprint: string; isAdmin: boolean; } -// @public (undocumented) +// @public export interface Cluster extends Resource { properties?: ClusterProperties; } -// @public (undocumented) +// @public export interface ClusterCodeVersionsListResultOutput { nextLink?: string; // (undocumented) value?: Array; } -// @public (undocumented) +// @public export interface ClusterCodeVersionsResultOutput { id?: string; name?: string; @@ -701,54 +685,49 @@ export interface ClusterCodeVersionsResultOutput { type?: string; } -// @public (undocumented) +// @public export interface ClusterHealthPolicy { applicationHealthPolicies?: Record; maxPercentUnhealthyApplications?: number; maxPercentUnhealthyNodes?: number; } -// @public (undocumented) +// @public export interface ClusterHealthPolicyOutput { applicationHealthPolicies?: Record; maxPercentUnhealthyApplications?: number; maxPercentUnhealthyNodes?: number; } -// @public (undocumented) +// @public export interface ClusterListResultOutput { nextLink?: string; // (undocumented) value?: Array; } -// @public (undocumented) +// @public export interface ClusterOutput extends ResourceOutput { properties?: ClusterPropertiesOutput; } -// @public (undocumented) +// @public export interface ClusterProperties { addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">; applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicy; - availableClusterVersions?: Array; azureActiveDirectory?: AzureActiveDirectory; certificate?: CertificateDescription; certificateCommonNames?: ServerCertificateCommonNames; clientCertificateCommonNames?: Array; clientCertificateThumbprints?: Array; clusterCodeVersion?: string; - clusterEndpoint?: string; - clusterId?: string; - clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready"; diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfig; eventStoreServiceEnabled?: boolean; fabricSettings?: Array; infrastructureServiceManager?: boolean; managementEndpoint: string; nodeTypes: Array; - notifications?: Array; - provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled"; + notifications?: Array; reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum"; reverseProxyCertificate?: CertificateDescription; reverseProxyCertificateCommonNames?: ServerCertificateCommonNames; @@ -763,20 +742,20 @@ export interface ClusterProperties { waveUpgradePaused?: boolean; } -// @public (undocumented) +// @public export interface ClusterPropertiesOutput { addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">; applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicyOutput; - availableClusterVersions?: Array; + readonly availableClusterVersions?: Array; azureActiveDirectory?: AzureActiveDirectoryOutput; certificate?: CertificateDescriptionOutput; certificateCommonNames?: ServerCertificateCommonNamesOutput; clientCertificateCommonNames?: Array; clientCertificateThumbprints?: Array; clusterCodeVersion?: string; - clusterEndpoint?: string; - clusterId?: string; - clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready"; + readonly clusterEndpoint?: string; + readonly clusterId?: string; + readonly clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready"; diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfigOutput; eventStoreServiceEnabled?: boolean; fabricSettings?: Array; @@ -784,7 +763,7 @@ export interface ClusterPropertiesOutput { managementEndpoint: string; nodeTypes: Array; notifications?: Array; - provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled"; + readonly provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled"; reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum"; reverseProxyCertificate?: CertificateDescriptionOutput; reverseProxyCertificateCommonNames?: ServerCertificateCommonNamesOutput; @@ -799,7 +778,7 @@ export interface ClusterPropertiesOutput { waveUpgradePaused?: boolean; } -// @public (undocumented) +// @public export interface ClusterPropertiesUpdateParameters { addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">; applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicy; @@ -812,7 +791,7 @@ export interface ClusterPropertiesUpdateParameters { fabricSettings?: Array; infrastructureServiceManager?: boolean; nodeTypes?: Array; - notifications?: Array; + notifications?: Array; reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum"; reverseProxyCertificate?: CertificateDescription; sfZonalUpgradeMode?: "Parallel" | "Hierarchical"; @@ -847,7 +826,7 @@ export interface ClustersCreateOrUpdateBodyParam { } // @public -export interface ClustersCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ClustersCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -864,22 +843,18 @@ export type ClustersCreateOrUpdateParameters = ClustersCreateOrUpdateMediaTypesP // @public export interface ClustersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ClustersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ClustersDeletedefaultResponse extends HttpResponse { +export interface ClustersDeleteDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -891,10 +866,10 @@ export type ClustersDeleteParameters = RequestParameters; // @public (undocumented) export interface ClustersGet { - delete(options?: ClustersDeleteParameters): StreamableMethod; - get(options?: ClustersGetParameters): StreamableMethod; - patch(options: ClustersUpdateParameters): StreamableMethod; - put(options: ClustersCreateOrUpdateParameters): StreamableMethod; + delete(options?: ClustersDeleteParameters): StreamableMethod; + get(options?: ClustersGetParameters): StreamableMethod; + patch(options: ClustersUpdateParameters): StreamableMethod; + put(options: ClustersCreateOrUpdateParameters): StreamableMethod; } // @public @@ -906,7 +881,7 @@ export interface ClustersGet200Response extends HttpResponse { } // @public -export interface ClustersGetdefaultResponse extends HttpResponse { +export interface ClustersGetDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -918,7 +893,7 @@ export type ClustersGetParameters = RequestParameters; // @public (undocumented) export interface ClustersList { - get(options?: ClustersListParameters): StreamableMethod; + get(options?: ClustersListParameters): StreamableMethod; } // @public @@ -931,7 +906,7 @@ export interface ClustersList200Response extends HttpResponse { // @public (undocumented) export interface ClustersListByResourceGroup { - get(options?: ClustersListByResourceGroupParameters): StreamableMethod; + get(options?: ClustersListByResourceGroupParameters): StreamableMethod; } // @public @@ -943,7 +918,7 @@ export interface ClustersListByResourceGroup200Response extends HttpResponse { } // @public -export interface ClustersListByResourceGroupdefaultResponse extends HttpResponse { +export interface ClustersListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -954,7 +929,7 @@ export interface ClustersListByResourceGroupdefaultResponse extends HttpResponse export type ClustersListByResourceGroupParameters = RequestParameters; // @public -export interface ClustersListdefaultResponse extends HttpResponse { +export interface ClustersListDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -966,7 +941,7 @@ export type ClustersListParameters = RequestParameters; // @public (undocumented) export interface ClustersListUpgradableVersions { - post(options?: ClustersListUpgradableVersionsParameters): StreamableMethod; + post(options?: ClustersListUpgradableVersionsParameters): StreamableMethod; } // @public @@ -983,7 +958,7 @@ export interface ClustersListUpgradableVersionsBodyParam { } // @public -export interface ClustersListUpgradableVersionsdefaultResponse extends HttpResponse { +export interface ClustersListUpgradableVersionsDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1020,7 +995,7 @@ export interface ClustersUpdateBodyParam { } // @public -export interface ClustersUpdatedefaultResponse extends HttpResponse { +export interface ClustersUpdateDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1035,13 +1010,13 @@ export interface ClustersUpdateMediaTypesParam { // @public (undocumented) export type ClustersUpdateParameters = ClustersUpdateMediaTypesParam & ClustersUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ClusterUpdateParameters { properties?: ClusterPropertiesUpdateParameters; tags?: Record; } -// @public (undocumented) +// @public export interface ClusterUpgradeDeltaHealthPolicy { applicationDeltaHealthPolicies?: Record; maxPercentDeltaUnhealthyApplications: number; @@ -1049,7 +1024,7 @@ export interface ClusterUpgradeDeltaHealthPolicy { maxPercentUpgradeDomainDeltaUnhealthyNodes: number; } -// @public (undocumented) +// @public export interface ClusterUpgradeDeltaHealthPolicyOutput { applicationDeltaHealthPolicies?: Record; maxPercentDeltaUnhealthyApplications: number; @@ -1057,7 +1032,7 @@ export interface ClusterUpgradeDeltaHealthPolicyOutput { maxPercentUpgradeDomainDeltaUnhealthyNodes: number; } -// @public (undocumented) +// @public export interface ClusterUpgradePolicy { deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicy; forceRestart?: boolean; @@ -1070,7 +1045,7 @@ export interface ClusterUpgradePolicy { upgradeTimeout: string; } -// @public (undocumented) +// @public export interface ClusterUpgradePolicyOutput { deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicyOutput; forceRestart?: boolean; @@ -1083,14 +1058,14 @@ export interface ClusterUpgradePolicyOutput { upgradeTimeout: string; } -// @public (undocumented) +// @public export interface ClusterVersionDetails { codeVersion?: string; environment?: "Windows" | "Linux"; supportExpiryUtc?: string; } -// @public (undocumented) +// @public export interface ClusterVersionDetailsOutput { codeVersion?: string; environment?: "Windows" | "Linux"; @@ -1099,7 +1074,7 @@ export interface ClusterVersionDetailsOutput { // @public (undocumented) export interface ClusterVersionsGet { - get(options?: ClusterVersionsGetParameters): StreamableMethod; + get(options?: ClusterVersionsGetParameters): StreamableMethod; } // @public @@ -1112,7 +1087,7 @@ export interface ClusterVersionsGet200Response extends HttpResponse { // @public (undocumented) export interface ClusterVersionsGetByEnvironment { - get(options?: ClusterVersionsGetByEnvironmentParameters): StreamableMethod; + get(options?: ClusterVersionsGetByEnvironmentParameters): StreamableMethod; } // @public @@ -1124,7 +1099,7 @@ export interface ClusterVersionsGetByEnvironment200Response extends HttpResponse } // @public -export interface ClusterVersionsGetByEnvironmentdefaultResponse extends HttpResponse { +export interface ClusterVersionsGetByEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1135,7 +1110,7 @@ export interface ClusterVersionsGetByEnvironmentdefaultResponse extends HttpResp export type ClusterVersionsGetByEnvironmentParameters = RequestParameters; // @public -export interface ClusterVersionsGetdefaultResponse extends HttpResponse { +export interface ClusterVersionsGetDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1147,7 +1122,7 @@ export type ClusterVersionsGetParameters = RequestParameters; // @public (undocumented) export interface ClusterVersionsList { - get(options?: ClusterVersionsListParameters): StreamableMethod; + get(options?: ClusterVersionsListParameters): StreamableMethod; } // @public @@ -1160,7 +1135,7 @@ export interface ClusterVersionsList200Response extends HttpResponse { // @public (undocumented) export interface ClusterVersionsListByEnvironment { - get(options?: ClusterVersionsListByEnvironmentParameters): StreamableMethod; + get(options?: ClusterVersionsListByEnvironmentParameters): StreamableMethod; } // @public @@ -1172,7 +1147,7 @@ export interface ClusterVersionsListByEnvironment200Response extends HttpRespons } // @public -export interface ClusterVersionsListByEnvironmentdefaultResponse extends HttpResponse { +export interface ClusterVersionsListByEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1183,7 +1158,7 @@ export interface ClusterVersionsListByEnvironmentdefaultResponse extends HttpRes export type ClusterVersionsListByEnvironmentParameters = RequestParameters; // @public -export interface ClusterVersionsListdefaultResponse extends HttpResponse { +export interface ClusterVersionsListDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1193,11 +1168,11 @@ export interface ClusterVersionsListdefaultResponse extends HttpResponse { // @public (undocumented) export type ClusterVersionsListParameters = RequestParameters; -// @public (undocumented) -function createClient(credentials: TokenCredential, options?: ClientOptions): ServiceFabricClient; +// @public +function createClient(credentials: TokenCredential, { apiVersion, ...options }?: ServiceFabricClientOptions): ServiceFabricClient; export default createClient; -// @public (undocumented) +// @public export interface DiagnosticsStorageAccountConfig { blobEndpoint: string; protectedAccountKeyName: string; @@ -1207,7 +1182,7 @@ export interface DiagnosticsStorageAccountConfig { tableEndpoint: string; } -// @public (undocumented) +// @public export interface DiagnosticsStorageAccountConfigOutput { blobEndpoint: string; protectedAccountKeyName: string; @@ -1217,25 +1192,25 @@ export interface DiagnosticsStorageAccountConfigOutput { tableEndpoint: string; } -// @public (undocumented) +// @public export interface EndpointRangeDescription { endPort: number; startPort: number; } -// @public (undocumented) +// @public export interface EndpointRangeDescriptionOutput { endPort: number; startPort: number; } -// @public (undocumented) +// @public export interface ErrorModelErrorOutput { code?: string; message?: string; } -// @public (undocumented) +// @public export interface ErrorModelOutput { error?: ErrorModelErrorOutput; } @@ -1244,121 +1219,119 @@ export interface ErrorModelOutput { export type GetArrayType = T extends Array ? TData : never; // @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; +export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public -export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; // @public (undocumented) -export function isUnexpected(response: ClustersGet200Response | ClustersGetdefaultResponse): response is ClustersGetdefaultResponse; +export function isUnexpected(response: ClustersGet200Response | ClustersGetDefaultResponse): response is ClustersGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response | ClustersCreateOrUpdatedefaultResponse): response is ClustersCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response | ClustersCreateOrUpdateDefaultResponse): response is ClustersCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdatedefaultResponse): response is ClustersUpdatedefaultResponse; +export function isUnexpected(response: ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdateDefaultResponse): response is ClustersUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClustersDelete200Response | ClustersDelete204Response | ClustersDeletedefaultResponse): response is ClustersDeletedefaultResponse; +export function isUnexpected(response: ClustersDelete200Response | ClustersDelete204Response | ClustersDeleteDefaultResponse): response is ClustersDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClustersListByResourceGroup200Response | ClustersListByResourceGroupdefaultResponse): response is ClustersListByResourceGroupdefaultResponse; +export function isUnexpected(response: ClustersListByResourceGroup200Response | ClustersListByResourceGroupDefaultResponse): response is ClustersListByResourceGroupDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClustersList200Response | ClustersListdefaultResponse): response is ClustersListdefaultResponse; +export function isUnexpected(response: ClustersList200Response | ClustersListDefaultResponse): response is ClustersListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClustersListUpgradableVersions200Response | ClustersListUpgradableVersionsdefaultResponse): response is ClustersListUpgradableVersionsdefaultResponse; +export function isUnexpected(response: ClustersListUpgradableVersions200Response | ClustersListUpgradableVersionsDefaultResponse): response is ClustersListUpgradableVersionsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClusterVersionsGet200Response | ClusterVersionsGetdefaultResponse): response is ClusterVersionsGetdefaultResponse; +export function isUnexpected(response: ClusterVersionsGet200Response | ClusterVersionsGetDefaultResponse): response is ClusterVersionsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClusterVersionsGetByEnvironment200Response | ClusterVersionsGetByEnvironmentdefaultResponse): response is ClusterVersionsGetByEnvironmentdefaultResponse; +export function isUnexpected(response: ClusterVersionsGetByEnvironment200Response | ClusterVersionsGetByEnvironmentDefaultResponse): response is ClusterVersionsGetByEnvironmentDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClusterVersionsList200Response | ClusterVersionsListdefaultResponse): response is ClusterVersionsListdefaultResponse; +export function isUnexpected(response: ClusterVersionsList200Response | ClusterVersionsListDefaultResponse): response is ClusterVersionsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClusterVersionsListByEnvironment200Response | ClusterVersionsListByEnvironmentdefaultResponse): response is ClusterVersionsListByEnvironmentdefaultResponse; +export function isUnexpected(response: ClusterVersionsListByEnvironment200Response | ClusterVersionsListByEnvironmentDefaultResponse): response is ClusterVersionsListByEnvironmentDefaultResponse; // @public (undocumented) -export function isUnexpected(response: OperationsList200Response | OperationsListdefaultResponse): response is OperationsListdefaultResponse; +export function isUnexpected(response: OperationsList200Response | OperationsListDefaultResponse): response is OperationsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationTypesGet200Response | ApplicationTypesGetdefaultResponse): response is ApplicationTypesGetdefaultResponse; +export function isUnexpected(response: ApplicationTypesGet200Response | ApplicationTypesGetDefaultResponse): response is ApplicationTypesGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationTypesCreateOrUpdate200Response | ApplicationTypesCreateOrUpdatedefaultResponse): response is ApplicationTypesCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ApplicationTypesCreateOrUpdate200Response | ApplicationTypesCreateOrUpdateDefaultResponse): response is ApplicationTypesCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationTypesDelete202Response | ApplicationTypesDelete204Response | ApplicationTypesDeletedefaultResponse): response is ApplicationTypesDeletedefaultResponse; +export function isUnexpected(response: ApplicationTypesDelete202Response | ApplicationTypesDelete204Response | ApplicationTypesDeleteDefaultResponse): response is ApplicationTypesDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationTypesList200Response | ApplicationTypesListdefaultResponse): response is ApplicationTypesListdefaultResponse; +export function isUnexpected(response: ApplicationTypesList200Response | ApplicationTypesListDefaultResponse): response is ApplicationTypesListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetdefaultResponse): response is ApplicationTypeVersionsGetdefaultResponse; +export function isUnexpected(response: ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetDefaultResponse): response is ApplicationTypeVersionsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationTypeVersionsCreateOrUpdate202Response | ApplicationTypeVersionsCreateOrUpdatedefaultResponse): response is ApplicationTypeVersionsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ApplicationTypeVersionsCreateOrUpdate202Response | ApplicationTypeVersionsCreateOrUpdateDefaultResponse): response is ApplicationTypeVersionsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response | ApplicationTypeVersionsDeletedefaultResponse): response is ApplicationTypeVersionsDeletedefaultResponse; +export function isUnexpected(response: ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response | ApplicationTypeVersionsDeleteDefaultResponse): response is ApplicationTypeVersionsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListdefaultResponse): response is ApplicationTypeVersionsListdefaultResponse; +export function isUnexpected(response: ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListDefaultResponse): response is ApplicationTypeVersionsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationsGet200Response | ApplicationsGetdefaultResponse): response is ApplicationsGetdefaultResponse; +export function isUnexpected(response: ApplicationsGet200Response | ApplicationsGetDefaultResponse): response is ApplicationsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdatedefaultResponse): response is ApplicationsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdateDefaultResponse): response is ApplicationsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationsUpdate202Response | ApplicationsUpdatedefaultResponse): response is ApplicationsUpdatedefaultResponse; +export function isUnexpected(response: ApplicationsUpdate202Response | ApplicationsUpdateDefaultResponse): response is ApplicationsUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationsDelete202Response | ApplicationsDelete204Response | ApplicationsDeletedefaultResponse): response is ApplicationsDeletedefaultResponse; +export function isUnexpected(response: ApplicationsDelete202Response | ApplicationsDelete204Response | ApplicationsDeleteDefaultResponse): response is ApplicationsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ApplicationsList200Response | ApplicationsListdefaultResponse): response is ApplicationsListdefaultResponse; +export function isUnexpected(response: ApplicationsList200Response | ApplicationsListDefaultResponse): response is ApplicationsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ServicesGet200Response | ServicesGetdefaultResponse): response is ServicesGetdefaultResponse; +export function isUnexpected(response: ServicesGet200Response | ServicesGetDefaultResponse): response is ServicesGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ServicesCreateOrUpdate202Response | ServicesCreateOrUpdatedefaultResponse): response is ServicesCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ServicesCreateOrUpdate202Response | ServicesCreateOrUpdateDefaultResponse): response is ServicesCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ServicesUpdate202Response | ServicesUpdatedefaultResponse): response is ServicesUpdatedefaultResponse; +export function isUnexpected(response: ServicesUpdate202Response | ServicesUpdateDefaultResponse): response is ServicesUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ServicesDelete202Response | ServicesDelete204Response | ServicesDeletedefaultResponse): response is ServicesDeletedefaultResponse; +export function isUnexpected(response: ServicesDelete202Response | ServicesDelete204Response | ServicesDeleteDefaultResponse): response is ServicesDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ServicesList200Response | ServicesListdefaultResponse): response is ServicesListdefaultResponse; +export function isUnexpected(response: ServicesList200Response | ServicesListDefaultResponse): response is ServicesListDefaultResponse; -// @public (undocumented) +// @public export interface ManagedIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface ManagedIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface NamedPartitionSchemeDescription extends PartitionSchemeDescriptionParent { count: number; names: Array; @@ -1366,7 +1339,7 @@ export interface NamedPartitionSchemeDescription extends PartitionSchemeDescript partitionScheme: "Named"; } -// @public (undocumented) +// @public export interface NamedPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent { count: number; names: Array; @@ -1374,7 +1347,7 @@ export interface NamedPartitionSchemeDescriptionOutput extends PartitionSchemeDe partitionScheme: "Named"; } -// @public (undocumented) +// @public export interface NodeTypeDescription { applicationPorts?: EndpointRangeDescription; capacities?: Record; @@ -1391,7 +1364,7 @@ export interface NodeTypeDescription { vmInstanceCount: number; } -// @public (undocumented) +// @public export interface NodeTypeDescriptionOutput { applicationPorts?: EndpointRangeDescriptionOutput; capacities?: Record; @@ -1408,15 +1381,16 @@ export interface NodeTypeDescriptionOutput { vmInstanceCount: number; } -// @public (undocumented) -export interface Notification { +// @public +interface Notification_2 { isEnabled: boolean; notificationCategory: "WaveProgress"; notificationLevel: "Critical" | "All"; notificationTargets: Array; } +export { Notification_2 as Notification } -// @public (undocumented) +// @public export interface NotificationOutput { isEnabled: boolean; notificationCategory: "WaveProgress"; @@ -1424,25 +1398,25 @@ export interface NotificationOutput { notificationTargets: Array; } -// @public (undocumented) +// @public export interface NotificationTarget { notificationChannel: "EmailUser" | "EmailSubscription"; receivers: Array; } -// @public (undocumented) +// @public export interface NotificationTargetOutput { notificationChannel: "EmailUser" | "EmailSubscription"; receivers: Array; } -// @public (undocumented) +// @public export interface OperationListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface OperationResultOutput { display?: AvailableOperationDisplayOutput; isDataAction?: boolean; @@ -1453,7 +1427,7 @@ export interface OperationResultOutput { // @public (undocumented) export interface OperationsList { - get(options?: OperationsListParameters): StreamableMethod; + get(options?: OperationsListParameters): StreamableMethod; } // @public @@ -1465,7 +1439,7 @@ export interface OperationsList200Response extends HttpResponse { } // @public -export interface OperationsListdefaultResponse extends HttpResponse { +export interface OperationsListDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1475,6 +1449,18 @@ export interface OperationsListdefaultResponse extends HttpResponse { // @public (undocumented) export type OperationsListParameters = RequestParameters; +// @public +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator; + next(): Promise>; +} + +// @public +export interface PageSettings { + continuationToken?: string; +} + // @public export function paginate(client: Client, initialResponse: TResponse, options?: PagingOptions): PagedAsyncIterableIterator>; @@ -1490,66 +1476,56 @@ export interface PagingOptions { customGetPage?: GetPage[]>; } -// @public (undocumented) +// @public export type PartitionSchemeDescription = NamedPartitionSchemeDescription | SingletonPartitionSchemeDescription | UniformInt64RangePartitionSchemeDescription; -// @public (undocumented) +// @public export type PartitionSchemeDescriptionOutput = NamedPartitionSchemeDescriptionOutput | SingletonPartitionSchemeDescriptionOutput | UniformInt64RangePartitionSchemeDescriptionOutput; -// @public (undocumented) +// @public export interface PartitionSchemeDescriptionOutputParent { // (undocumented) partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range"; } -// @public (undocumented) +// @public export interface PartitionSchemeDescriptionParent { // (undocumented) partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range"; } -// @public (undocumented) +// @public export interface ProxyResource { - etag?: string; - id?: string; location?: string; - name?: string; - systemData?: SystemData; tags?: Record; - type?: string; } -// @public (undocumented) +// @public export interface ProxyResourceOutput { - etag?: string; - id?: string; + readonly etag?: string; + readonly id?: string; location?: string; - name?: string; - systemData?: SystemDataOutput; + readonly name?: string; + readonly systemData?: SystemDataOutput; tags?: Record; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface Resource { - etag?: string; - id?: string; location: string; - name?: string; - systemData?: SystemData; tags?: Record; - type?: string; } -// @public (undocumented) +// @public export interface ResourceOutput { - etag?: string; - id?: string; + readonly etag?: string; + readonly id?: string; location: string; - name?: string; - systemData?: SystemDataOutput; + readonly name?: string; + readonly systemData?: SystemDataOutput; tags?: Record; - type?: string; + readonly type?: string; } // @public (undocumented) @@ -1573,37 +1549,37 @@ export interface Routes { (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationName: string): ServicesList; } -// @public (undocumented) +// @public export interface ServerCertificateCommonName { certificateCommonName: string; certificateIssuerThumbprint: string; } -// @public (undocumented) +// @public export interface ServerCertificateCommonNameOutput { certificateCommonName: string; certificateIssuerThumbprint: string; } -// @public (undocumented) +// @public export interface ServerCertificateCommonNames { commonNames?: Array; x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher"; } -// @public (undocumented) +// @public export interface ServerCertificateCommonNamesOutput { commonNames?: Array; x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher"; } -// @public (undocumented) +// @public export interface ServiceCorrelationDescription { scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity"; serviceName: string; } -// @public (undocumented) +// @public export interface ServiceCorrelationDescriptionOutput { scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity"; serviceName: string; @@ -1614,7 +1590,12 @@ export type ServiceFabricClient = Client & { path: Routes; }; -// @public (undocumented) +// @public +export interface ServiceFabricClientOptions extends ClientOptions { + apiVersion?: string; +} + +// @public export interface ServiceLoadMetricDescription { defaultLoad?: number; name: string; @@ -1623,7 +1604,7 @@ export interface ServiceLoadMetricDescription { weight?: "Zero" | "Low" | "Medium" | "High"; } -// @public (undocumented) +// @public export interface ServiceLoadMetricDescriptionOutput { defaultLoad?: number; name: string; @@ -1632,39 +1613,39 @@ export interface ServiceLoadMetricDescriptionOutput { weight?: "Zero" | "Low" | "Medium" | "High"; } -// @public (undocumented) +// @public export interface ServicePlacementPolicyDescription { // (undocumented) type: "ServicePlacementPolicyDescription"; } -// @public (undocumented) +// @public export interface ServicePlacementPolicyDescriptionOutput { // (undocumented) type: "ServicePlacementPolicyDescription"; } -// @public (undocumented) +// @public export interface ServiceResource extends ProxyResource { properties?: ServiceResourceProperties; } -// @public (undocumented) +// @public export interface ServiceResourceListOutput { - nextLink?: string; + readonly nextLink?: string; // (undocumented) value?: Array; } -// @public (undocumented) +// @public export interface ServiceResourceOutput extends ProxyResourceOutput { properties?: ServiceResourcePropertiesOutput; } -// @public (undocumented) +// @public export type ServiceResourceProperties = StatefulServiceProperties | StatelessServiceProperties; -// @public (undocumented) +// @public export interface ServiceResourcePropertiesBase { correlationScheme?: Array; defaultMoveCost?: "Zero" | "Low" | "Medium" | "High"; @@ -1673,7 +1654,7 @@ export interface ServiceResourcePropertiesBase { servicePlacementPolicies?: Array; } -// @public (undocumented) +// @public export interface ServiceResourcePropertiesBaseOutput { correlationScheme?: Array; defaultMoveCost?: "Zero" | "Low" | "Medium" | "High"; @@ -1682,13 +1663,13 @@ export interface ServiceResourcePropertiesBaseOutput { servicePlacementPolicies?: Array; } -// @public (undocumented) +// @public export type ServiceResourcePropertiesOutput = StatefulServicePropertiesOutput | StatelessServicePropertiesOutput; -// @public (undocumented) +// @public export interface ServiceResourcePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput { partitionDescription?: PartitionSchemeDescriptionOutput; - provisioningState?: string; + readonly provisioningState?: string; serviceDnsName?: string; // (undocumented) serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless"; @@ -1696,10 +1677,9 @@ export interface ServiceResourcePropertiesOutputParent extends ServiceResourcePr serviceTypeName?: string; } -// @public (undocumented) +// @public export interface ServiceResourcePropertiesParent extends ServiceResourcePropertiesBase { partitionDescription?: PartitionSchemeDescription; - provisioningState?: string; serviceDnsName?: string; // (undocumented) serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless"; @@ -1707,29 +1687,29 @@ export interface ServiceResourcePropertiesParent extends ServiceResourceProperti serviceTypeName?: string; } -// @public (undocumented) +// @public export interface ServiceResourceUpdate extends ProxyResource { properties?: ServiceResourceUpdateProperties; } -// @public (undocumented) +// @public export interface ServiceResourceUpdateOutput extends ProxyResourceOutput { properties?: ServiceResourceUpdatePropertiesOutput; } -// @public (undocumented) +// @public export type ServiceResourceUpdateProperties = StatefulServiceUpdateProperties | StatelessServiceUpdateProperties; -// @public (undocumented) +// @public export type ServiceResourceUpdatePropertiesOutput = StatefulServiceUpdatePropertiesOutput | StatelessServiceUpdatePropertiesOutput; -// @public (undocumented) +// @public export interface ServiceResourceUpdatePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput { // (undocumented) serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless"; } -// @public (undocumented) +// @public export interface ServiceResourceUpdatePropertiesParent extends ServiceResourcePropertiesBase { // (undocumented) serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless"; @@ -1749,7 +1729,7 @@ export interface ServicesCreateOrUpdateBodyParam { } // @public -export interface ServicesCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ServicesCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1766,22 +1746,18 @@ export type ServicesCreateOrUpdateParameters = ServicesCreateOrUpdateMediaTypesP // @public export interface ServicesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ServicesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ServicesDeletedefaultResponse extends HttpResponse { +export interface ServicesDeleteDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1793,10 +1769,10 @@ export type ServicesDeleteParameters = RequestParameters; // @public (undocumented) export interface ServicesGet { - delete(options?: ServicesDeleteParameters): StreamableMethod; - get(options?: ServicesGetParameters): StreamableMethod; - patch(options: ServicesUpdateParameters): StreamableMethod; - put(options: ServicesCreateOrUpdateParameters): StreamableMethod; + delete(options?: ServicesDeleteParameters): StreamableMethod; + get(options?: ServicesGetParameters): StreamableMethod; + patch(options: ServicesUpdateParameters): StreamableMethod; + put(options: ServicesCreateOrUpdateParameters): StreamableMethod; } // @public @@ -1808,7 +1784,7 @@ export interface ServicesGet200Response extends HttpResponse { } // @public -export interface ServicesGetdefaultResponse extends HttpResponse { +export interface ServicesGetDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1820,7 +1796,7 @@ export type ServicesGetParameters = RequestParameters; // @public (undocumented) export interface ServicesList { - get(options?: ServicesListParameters): StreamableMethod; + get(options?: ServicesListParameters): StreamableMethod; } // @public @@ -1832,7 +1808,7 @@ export interface ServicesList200Response extends HttpResponse { } // @public -export interface ServicesListdefaultResponse extends HttpResponse { +export interface ServicesListDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1856,7 +1832,7 @@ export interface ServicesUpdateBodyParam { } // @public -export interface ServicesUpdatedefaultResponse extends HttpResponse { +export interface ServicesUpdateDefaultResponse extends HttpResponse { // (undocumented) body: ErrorModelOutput; // (undocumented) @@ -1871,63 +1847,85 @@ export interface ServicesUpdateMediaTypesParam { // @public (undocumented) export type ServicesUpdateParameters = ServicesUpdateMediaTypesParam & ServicesUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ServiceTypeDeltaHealthPolicy { maxPercentDeltaUnhealthyServices?: number; } -// @public (undocumented) +// @public export interface ServiceTypeDeltaHealthPolicyOutput { maxPercentDeltaUnhealthyServices?: number; } -// @public (undocumented) +// @public export interface ServiceTypeHealthPolicy { maxPercentUnhealthyServices?: number; } -// @public (undocumented) +// @public export interface ServiceTypeHealthPolicyOutput { maxPercentUnhealthyServices?: number; } -// @public (undocumented) +// @public export interface SettingsParameterDescription { name: string; value: string; } -// @public (undocumented) +// @public export interface SettingsParameterDescriptionOutput { name: string; value: string; } -// @public (undocumented) +// @public export interface SettingsSectionDescription { name: string; parameters: Array; } -// @public (undocumented) +// @public export interface SettingsSectionDescriptionOutput { name: string; parameters: Array; } -// @public (undocumented) +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + +// @public export interface SingletonPartitionSchemeDescription extends PartitionSchemeDescriptionParent { // (undocumented) partitionScheme: "Singleton"; } -// @public (undocumented) +// @public export interface SingletonPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent { // (undocumented) partitionScheme: "Singleton"; } -// @public (undocumented) +// @public export interface StatefulServiceProperties extends ServiceResourcePropertiesParent { hasPersistedState?: boolean; minReplicaSetSize?: number; @@ -1939,7 +1937,7 @@ export interface StatefulServiceProperties extends ServiceResourcePropertiesPare targetReplicaSetSize?: number; } -// @public (undocumented) +// @public export interface StatefulServicePropertiesOutput extends ServiceResourcePropertiesOutputParent { hasPersistedState?: boolean; minReplicaSetSize?: number; @@ -1951,7 +1949,7 @@ export interface StatefulServicePropertiesOutput extends ServiceResourceProperti targetReplicaSetSize?: number; } -// @public (undocumented) +// @public export interface StatefulServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent { minReplicaSetSize?: number; quorumLossWaitDuration?: Date | string; @@ -1962,7 +1960,7 @@ export interface StatefulServiceUpdateProperties extends ServiceResourceUpdatePr targetReplicaSetSize?: number; } -// @public (undocumented) +// @public export interface StatefulServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent { minReplicaSetSize?: number; quorumLossWaitDuration?: string; @@ -1973,7 +1971,7 @@ export interface StatefulServiceUpdatePropertiesOutput extends ServiceResourceUp targetReplicaSetSize?: number; } -// @public (undocumented) +// @public export interface StatelessServiceProperties extends ServiceResourcePropertiesParent { instanceCloseDelayDuration?: string; instanceCount?: number; @@ -1981,7 +1979,7 @@ export interface StatelessServiceProperties extends ServiceResourcePropertiesPar serviceKind: "Stateless"; } -// @public (undocumented) +// @public export interface StatelessServicePropertiesOutput extends ServiceResourcePropertiesOutputParent { instanceCloseDelayDuration?: string; instanceCount?: number; @@ -1989,7 +1987,7 @@ export interface StatelessServicePropertiesOutput extends ServiceResourcePropert serviceKind: "Stateless"; } -// @public (undocumented) +// @public export interface StatelessServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent { instanceCloseDelayDuration?: string; instanceCount?: number; @@ -1997,7 +1995,7 @@ export interface StatelessServiceUpdateProperties extends ServiceResourceUpdateP serviceKind: "Stateless"; } -// @public (undocumented) +// @public export interface StatelessServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent { instanceCloseDelayDuration?: string; instanceCount?: number; @@ -2005,7 +2003,7 @@ export interface StatelessServiceUpdatePropertiesOutput extends ServiceResourceU serviceKind: "Stateless"; } -// @public (undocumented) +// @public export interface SystemData { createdAt?: Date | string; createdBy?: string; @@ -2015,7 +2013,7 @@ export interface SystemData { lastModifiedByType?: string; } -// @public (undocumented) +// @public export interface SystemDataOutput { createdAt?: string; createdBy?: string; @@ -2025,7 +2023,7 @@ export interface SystemDataOutput { lastModifiedByType?: string; } -// @public (undocumented) +// @public export interface UniformInt64RangePartitionSchemeDescription extends PartitionSchemeDescriptionParent { count: number; highKey: string; @@ -2034,7 +2032,7 @@ export interface UniformInt64RangePartitionSchemeDescription extends PartitionSc partitionScheme: "UniformInt64Range"; } -// @public (undocumented) +// @public export interface UniformInt64RangePartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent { count: number; highKey: string; @@ -2043,7 +2041,7 @@ export interface UniformInt64RangePartitionSchemeDescriptionOutput extends Parti partitionScheme: "UniformInt64Range"; } -// @public (undocumented) +// @public export interface UpgradableVersionPathResultOutput { // (undocumented) supportedPath?: Array; @@ -2056,14 +2054,12 @@ export interface UpgradableVersionsDescription { // @public (undocumented) export interface UserAssignedIdentity { - clientId?: string; - principalId?: string; } // @public (undocumented) export interface UserAssignedIdentityOutput { - clientId?: string; - principalId?: string; + readonly clientId?: string; + readonly principalId?: string; } // (No @packageDocumentation comment for this package) diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples-dev/applicationTypesDeleteSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples-dev/applicationTypesDeleteSample.ts index a36140fc488f..2c2c6cb31a92 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples-dev/applicationTypesDeleteSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples-dev/applicationTypesDeleteSample.ts @@ -33,7 +33,7 @@ async function deleteAnApplicationType() { applicationTypeName, ) .delete(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples-dev/clustersCreateOrUpdateSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples-dev/clustersCreateOrUpdateSample.ts index 42457bba6244..8084237480c0 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples-dev/clustersCreateOrUpdateSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples-dev/clustersCreateOrUpdateSample.ts @@ -192,7 +192,7 @@ async function putAClusterWithMaximumParameters() { clusterName, ) .put(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -256,7 +256,7 @@ async function putAClusterWithMinimumParameters() { clusterName, ) .put(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples-dev/clustersUpdateSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples-dev/clustersUpdateSample.ts index 66f0b4401ef5..21a87cf06b0e 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples-dev/clustersUpdateSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples-dev/clustersUpdateSample.ts @@ -69,7 +69,7 @@ async function patchACluster() { clusterName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/README.md b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/README.md index 601a70e1e0cf..5f533ee2f4d9 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/README.md +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/README.md @@ -65,6 +65,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [clusterslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListSample.js [clusterslistupgradableversionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListUpgradableVersionsSample.js [clustersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersUpdateSample.js -[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview +[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicefabric/arm-servicefabric-rest/README.md diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesCreateOrUpdateSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesCreateOrUpdateSample.js index e05fc6c5558b..68286488835c 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesCreateOrUpdateSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesCreateOrUpdateSample.js @@ -31,7 +31,7 @@ async function putAnApplicationType() { subscriptionId, resourceGroupName, clusterName, - applicationTypeName + applicationTypeName, ) .put(parameters); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesDeleteSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesDeleteSample.js index d68d3bb25d18..9bfb59241a60 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesDeleteSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesDeleteSample.js @@ -31,10 +31,10 @@ async function deleteAnApplicationType() { subscriptionId, resourceGroupName, clusterName, - applicationTypeName + applicationTypeName, ) .delete(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesGetSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesGetSample.js index 4ef8ddbf72fb..c388d89121dd 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesGetSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesGetSample.js @@ -30,7 +30,7 @@ async function getAnApplicationType() { subscriptionId, resourceGroupName, clusterName, - applicationTypeName + applicationTypeName, ) .get(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesListSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesListSample.js index 400deeb28b0a..fe479980167d 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesListSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/applicationTypesListSample.js @@ -28,7 +28,7 @@ async function getAListOfApplicationTypeNameResources() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .get(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersCreateOrUpdateSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersCreateOrUpdateSample.js index e457e9c291f3..6a10c354f728 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersCreateOrUpdateSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersCreateOrUpdateSample.js @@ -187,10 +187,10 @@ async function putAClusterWithMaximumParameters() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .put(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -251,10 +251,10 @@ async function putAClusterWithMinimumParameters() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .put(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersDeleteSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersDeleteSample.js index 688b9c6b4ae3..aefb95ce726f 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersDeleteSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersDeleteSample.js @@ -28,7 +28,7 @@ async function deleteACluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .delete(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersGetSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersGetSample.js index 5e8961803384..c0f0ea6a7d65 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersGetSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersGetSample.js @@ -28,7 +28,7 @@ async function getACluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .get(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListByResourceGroupSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListByResourceGroupSample.js index 3db85b03dd0d..bf41b3921e87 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListByResourceGroupSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listClusterByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListSample.js index 3ebd9b50cfb3..e74010e549bd 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListSample.js @@ -24,7 +24,7 @@ async function listClusters() { const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", - subscriptionId + subscriptionId, ) .get(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListUpgradableVersionsSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListUpgradableVersionsSample.js index 5a5b5888ba47..3a2538597e4d 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListUpgradableVersionsSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListUpgradableVersionsSample.js @@ -28,7 +28,7 @@ async function getMinimumAndMaximumCodeVersions() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .post(); console.log(result); @@ -58,7 +58,7 @@ async function getUpgradePath() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .post(options); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersUpdateSample.js b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersUpdateSample.js index 29ac1d0e3d3c..12e0a0b23387 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersUpdateSample.js +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersUpdateSample.js @@ -64,10 +64,10 @@ async function patchACluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/package.json b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/package.json index fc0492d7a1b4..a3998fc1970d 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/package.json +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/package.json @@ -28,6 +28,6 @@ "dependencies": { "@azure-rest/arm-servicefabric": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" } } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/README.md b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/README.md index cc3d063526e5..29e71ba015e6 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/README.md +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/README.md @@ -77,7 +77,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [clusterslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListSample.ts [clusterslistupgradableversionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListUpgradableVersionsSample.ts [clustersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersUpdateSample.ts -[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview +[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicefabric/arm-servicefabric-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/package.json b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/package.json index 0165f85e5833..aef429c857f9 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/package.json +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/package.json @@ -32,11 +32,11 @@ "dependencies": { "@azure-rest/arm-servicefabric": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" }, "devDependencies": { "@types/node": "^18.0.0", - "typescript": "~5.7.2", + "typescript": "~5.6.2", "rimraf": "latest" } } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesCreateOrUpdateSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesCreateOrUpdateSample.ts index f122093b47c1..ebfbf47da3cd 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesCreateOrUpdateSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesCreateOrUpdateSample.ts @@ -33,7 +33,7 @@ async function putAnApplicationType() { subscriptionId, resourceGroupName, clusterName, - applicationTypeName + applicationTypeName, ) .put(parameters); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesDeleteSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesDeleteSample.ts index 09c970c8e022..2c2c6cb31a92 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesDeleteSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesDeleteSample.ts @@ -30,10 +30,10 @@ async function deleteAnApplicationType() { subscriptionId, resourceGroupName, clusterName, - applicationTypeName + applicationTypeName, ) .delete(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesGetSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesGetSample.ts index 36d13072261a..86dc48b9a2f3 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesGetSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesGetSample.ts @@ -30,7 +30,7 @@ async function getAnApplicationType() { subscriptionId, resourceGroupName, clusterName, - applicationTypeName + applicationTypeName, ) .get(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesListSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesListSample.ts index 00e859ade491..22724f47640a 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesListSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/applicationTypesListSample.ts @@ -23,12 +23,14 @@ async function getAListOfApplicationTypeNameResources() { const clusterName = "myCluster"; const credential = new DefaultAzureCredential(); const client = ServiceFabricManagementClient(credential); - const result = await client.path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes", - subscriptionId, - resourceGroupName, - clusterName - ).get(); + const result = await client + .path( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes", + subscriptionId, + resourceGroupName, + clusterName, + ) + .get(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersCreateOrUpdateSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersCreateOrUpdateSample.ts index 9236d4b3341c..8084237480c0 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersCreateOrUpdateSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersCreateOrUpdateSample.ts @@ -184,13 +184,15 @@ async function putAClusterWithMaximumParameters() { }; const credential = new DefaultAzureCredential(); const client = ServiceFabricManagementClient(credential); - const initialResponse = await client.path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", - subscriptionId, - resourceGroupName, - clusterName - ).put(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const initialResponse = await client + .path( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", + subscriptionId, + resourceGroupName, + clusterName, + ) + .put(parameters); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -251,10 +253,10 @@ async function putAClusterWithMinimumParameters() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .put(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersDeleteSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersDeleteSample.ts index 1ae37dfbcffe..9d5fc070a349 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersDeleteSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersDeleteSample.ts @@ -28,7 +28,7 @@ async function deleteACluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .delete(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersGetSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersGetSample.ts index 6db689e777dd..c1ba7dbaa87a 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersGetSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersGetSample.ts @@ -28,7 +28,7 @@ async function getACluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .get(); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListByResourceGroupSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListByResourceGroupSample.ts index f470057b6fe9..eeeb59c2dffc 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListByResourceGroupSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListByResourceGroupSample.ts @@ -22,11 +22,13 @@ async function listClusterByResourceGroup() { const resourceGroupName = "resRg"; const credential = new DefaultAzureCredential(); const client = ServiceFabricManagementClient(credential); - const result = await client.path( - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters", - subscriptionId, - resourceGroupName - ).get(); + const result = await client + .path( + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters", + subscriptionId, + resourceGroupName, + ) + .get(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListSample.ts index af51b2f821e9..04a149e0812c 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListSample.ts @@ -21,10 +21,12 @@ async function listClusters() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const credential = new DefaultAzureCredential(); const client = ServiceFabricManagementClient(credential); - const result = await client.path( - "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", - subscriptionId - ).get(); + const result = await client + .path( + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", + subscriptionId, + ) + .get(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListUpgradableVersionsSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListUpgradableVersionsSample.ts index 7476768dce41..a4ff63c6e371 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListUpgradableVersionsSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListUpgradableVersionsSample.ts @@ -25,12 +25,14 @@ async function getMinimumAndMaximumCodeVersions() { const clusterName = "myCluster"; const credential = new DefaultAzureCredential(); const client = ServiceFabricManagementClient(credential); - const result = await client.path( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", - subscriptionId, - resourceGroupName, - clusterName - ).post(); + const result = await client + .path( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", + subscriptionId, + resourceGroupName, + clusterName, + ) + .post(); console.log(result); } @@ -58,7 +60,7 @@ async function getUpgradePath() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .post(options); console.log(result); diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersUpdateSample.ts b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersUpdateSample.ts index c15c93d987c3..21a87cf06b0e 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersUpdateSample.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersUpdateSample.ts @@ -66,10 +66,10 @@ async function patchACluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId, resourceGroupName, - clusterName + clusterName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/tsconfig.json b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/tsconfig.json index ad5ff9a19d36..984eed535aa8 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/tsconfig.json +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2020", "module": "commonjs", "moduleResolution": "node", "resolveJsonModule": true, diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts index 14a9f09d81b9..4ffce3af01ab 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts @@ -109,7 +109,7 @@ describe("Service Fabric Rest Level Client Test", () => { clusterName, ) .put(parameters); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.status, "200"); assert.equal((result.body as ClusterOutput).name, clusterName); @@ -254,7 +254,7 @@ describe("Service Fabric Rest Level Client Test", () => { clusterName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.status, "200"); assert.equal((result.body as ClusterOutput).properties?.upgradeMode, "Automatic"); @@ -270,7 +270,7 @@ describe("Service Fabric Rest Level Client Test", () => { applicationTypeName, ) .delete(); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const deleteResult = await poller.pollUntilDone(); assert.equal(deleteResult.status, "204"); From 4edf19467cf0c65a069dee4f8fd31fdb3bcc28fa Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 27 Dec 2024 11:23:14 +0800 Subject: [PATCH 68/73] update --- sdk/appservice/arm-appservice-rest/CHANGELOG.md | 1 + .../arm-appservice-rest/samples/v1-beta/javascript/README.md | 2 +- .../arm-appservice-rest/samples/v1-beta/typescript/README.md | 2 +- sdk/compute/arm-compute-rest/CHANGELOG.md | 1 + .../arm-compute-rest/samples/v1-beta/javascript/README.md | 2 +- .../arm-compute-rest/samples/v1-beta/typescript/README.md | 2 +- .../samples/v1-beta/javascript/README.md | 2 +- .../samples/v1-beta/typescript/README.md | 2 +- sdk/network/arm-network-rest/CHANGELOG.md | 1 + .../arm-network-rest/samples/v1-beta/javascript/README.md | 2 +- .../arm-network-rest/samples/v1-beta/typescript/README.md | 2 +- sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md | 1 + .../arm-servicefabric-rest/samples/v1-beta/javascript/README.md | 2 +- .../arm-servicefabric-rest/samples/v1-beta/typescript/README.md | 2 +- 14 files changed, 14 insertions(+), 10 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/CHANGELOG.md b/sdk/appservice/arm-appservice-rest/CHANGELOG.md index 77cdad424d8c..e68dbab95fd9 100644 --- a/sdk/appservice/arm-appservice-rest/CHANGELOG.md +++ b/sdk/appservice/arm-appservice-rest/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.0.0-beta.2 (2024-12-23) ### Features Added + - Refresh sdk with latest codegen ## 1.0.0-beta.1 (2021-05-11) diff --git a/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/README.md b/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/README.md index f8d49a4c910c..b5f4aeb950f2 100644 --- a/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/README.md +++ b/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/README.md @@ -59,6 +59,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [appserviceplanslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/appServicePlansListByResourceGroupSample.js [appserviceplanslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/appServicePlansListSample.js [appserviceplansupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/appServicePlansUpdateSample.js -[apiref]: https://docs.microsoft.com/rest/api/appservice +[apiref]: https://learn.microsoft.com/rest/api/appservice [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice-rest/README.md diff --git a/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/README.md b/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/README.md index 5cbd9f9c1d2c..73eced6786c3 100644 --- a/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/README.md +++ b/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/README.md @@ -71,7 +71,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [appserviceplanslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/src/appServicePlansListByResourceGroupSample.ts [appserviceplanslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/src/appServicePlansListSample.ts [appserviceplansupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/src/appServicePlansUpdateSample.ts -[apiref]: https://docs.microsoft.com/rest/api/appservice +[apiref]: https://learn.microsoft.com/rest/api/appservice [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/compute/arm-compute-rest/CHANGELOG.md b/sdk/compute/arm-compute-rest/CHANGELOG.md index 6690f3018251..a0435b29eea1 100644 --- a/sdk/compute/arm-compute-rest/CHANGELOG.md +++ b/sdk/compute/arm-compute-rest/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.0.0-beta.2 (2024-12-23) ### Features Added + - Refresh sdk with latest codegen ## 1.0.0-beta.1 (2021-09-22) diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/README.md b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/README.md index 34ae9924df74..75e8c66fba86 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/README.md +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/README.md @@ -601,6 +601,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [virtualmachinessimulateevictionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js [virtualmachinesstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js [virtualmachinesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview +[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute-rest/README.md diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/README.md b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/README.md index ea6bfb903528..b174a96330d2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/README.md +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/README.md @@ -613,7 +613,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [virtualmachinessimulateevictionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts [virtualmachinesstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts [virtualmachinesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview +[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md index 2ba1ea6ae3a3..96e3063927df 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md @@ -85,6 +85,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [managedclustersstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js [managedclustersstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js [managedclustersupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js -[apiref]: https://docs.microsoft.com/rest/api/aks +[apiref]: https://learn.microsoft.com/rest/api/aks [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice-rest/README.md diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md index 5aba816a637f..e34a363fd203 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md @@ -97,7 +97,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [managedclustersstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts [managedclustersstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts [managedclustersupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts -[apiref]: https://docs.microsoft.com/rest/api/aks +[apiref]: https://learn.microsoft.com/rest/api/aks [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/network/arm-network-rest/CHANGELOG.md b/sdk/network/arm-network-rest/CHANGELOG.md index e6a29b8fcd3f..ea4dc7fe32ff 100644 --- a/sdk/network/arm-network-rest/CHANGELOG.md +++ b/sdk/network/arm-network-rest/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.0.0-beta.2 (2024-12-23) ### Features Added + - Refresh sdk with latest codegen ## 1.0.0-beta.1 (2022-09-29) diff --git a/sdk/network/arm-network-rest/samples/v1-beta/javascript/README.md b/sdk/network/arm-network-rest/samples/v1-beta/javascript/README.md index 10ce81e61ed0..ebd258c51934 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/javascript/README.md +++ b/sdk/network/arm-network-rest/samples/v1-beta/javascript/README.md @@ -1269,6 +1269,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [webapplicationfirewallpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/javascript/webApplicationFirewallPoliciesListSample.js [webcategoriesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesGetSample.js [webcategorieslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/javascript/webCategoriesListBySubscriptionSample.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview +[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network-rest/README.md diff --git a/sdk/network/arm-network-rest/samples/v1-beta/typescript/README.md b/sdk/network/arm-network-rest/samples/v1-beta/typescript/README.md index b6876469eadd..314ff5c735d8 100644 --- a/sdk/network/arm-network-rest/samples/v1-beta/typescript/README.md +++ b/sdk/network/arm-network-rest/samples/v1-beta/typescript/README.md @@ -1281,7 +1281,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [webapplicationfirewallpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webApplicationFirewallPoliciesListSample.ts [webcategoriesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesGetSample.ts [webcategorieslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/network/arm-network-rest/samples/v1-beta/typescript/src/webCategoriesListBySubscriptionSample.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview +[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-network?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md b/sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md index 145dff2b1adb..61bc47e6456f 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md +++ b/sdk/servicefabric/arm-servicefabric-rest/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.0.0-beta.2 (2024-12-24) ### Features Added + - Refresh sdk with latest codegen ## 1.0.0-beta.1 (2022-07-15) diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/README.md b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/README.md index 5f533ee2f4d9..601a70e1e0cf 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/README.md +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/README.md @@ -65,6 +65,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [clusterslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListSample.js [clusterslistupgradableversionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersListUpgradableVersionsSample.js [clustersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/javascript/clustersUpdateSample.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview +[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicefabric/arm-servicefabric-rest/README.md diff --git a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/README.md b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/README.md index 29e71ba015e6..cc3d063526e5 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/README.md +++ b/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/README.md @@ -77,7 +77,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [clusterslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListSample.ts [clusterslistupgradableversionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersListUpgradableVersionsSample.ts [clustersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicefabric/arm-servicefabric-rest/samples/v1-beta/typescript/src/clustersUpdateSample.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview +[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-servicefabric?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicefabric/arm-servicefabric-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html From 17359e8bb402b1f2995d6f21dcbf8c39b4db9cda Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 27 Dec 2024 13:51:21 +0800 Subject: [PATCH 69/73] update --- .../test/public/utils/env.browser.ts | 2 -- .../arm-containerservice-rest/test/public/utils/env.ts | 4 ---- .../test/public/utils/recordedClient.ts | 1 - .../arm-servicefabric-rest/test/public/utils/env.browser.ts | 2 -- .../arm-servicefabric-rest/test/public/utils/env.ts | 4 ---- .../test/public/utils/recordedClient.ts | 1 - 6 files changed, 14 deletions(-) delete mode 100644 sdk/containerservice/arm-containerservice-rest/test/public/utils/env.browser.ts delete mode 100644 sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts delete mode 100644 sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.browser.ts delete mode 100644 sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.ts diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.browser.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.browser.ts deleted file mode 100644 index fc36ab244fad..000000000000 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.browser.ts +++ /dev/null @@ -1,2 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts deleted file mode 100644 index 54ee1e71af77..000000000000 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import "dotenv/config"; diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts index 6f227b5de575..7d8b542b307e 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts @@ -2,7 +2,6 @@ // Licensed under the MIT License. import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; -import "./env.js"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.browser.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.browser.ts deleted file mode 100644 index fc36ab244fad..000000000000 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.browser.ts +++ /dev/null @@ -1,2 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.ts deleted file mode 100644 index 54ee1e71af77..000000000000 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/env.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import "dotenv/config"; diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts index 3f6c6a659c8f..d5141c6bdafa 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts @@ -6,7 +6,6 @@ import type { ClientOptions } from "@azure-rest/core-client"; import { createTestCredential } from "@azure-tools/test-credential"; import type { ServiceFabricClient } from "../../../src/index.js"; import ServiceFabricManagementClient from "../../../src/index.js"; -import "./env.js"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", From 24949dd84dd76637318580b97593c06a27e9fee6 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 27 Dec 2024 15:01:09 +0800 Subject: [PATCH 70/73] Update servicefabric.spec.ts --- .../test/public/servicefabric.spec.ts | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts index 4ffce3af01ab..c2998ddaf5d3 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/servicefabric.spec.ts @@ -48,16 +48,7 @@ describe("Service Fabric Rest Level Client Test", () => { it("clusters create test", async function () { const parameters: ClustersCreateOrUpdateParameters = { body: { - type: "Microsoft.ServiceFabric/clusters", location: location, - id: - "/subscriptions/" + - subscriptionId + - "/resourceGroups/" + - resourceGroup + - "/providers/Microsoft.ServiceFabric/clusters/" + - clusterName, - name: clusterName, properties: { managementEndpoint: "http://myCluster.eastus.cloudapp.azure.com:19080", fabricSettings: [ @@ -118,18 +109,7 @@ describe("Service Fabric Rest Level Client Test", () => { it("applicationTypes create test", async function () { const parameters: ApplicationTypesCreateOrUpdateParameters = { body: { - type: "applicationTypes", location: location, - id: - "/subscriptions/" + - subscriptionId + - "/resourceGroups/" + - resourceGroup + - "/providers/Microsoft.ServiceFabric/clusters/" + - clusterName + - "/applicationTypes/" + - applicationTypeName, - name: "myCluster", }, }; const result = await client @@ -198,7 +178,7 @@ describe("Service Fabric Rest Level Client Test", () => { it("clusters update test", async function () { if (isPlaybackMode()) { - ctx.skip(); + this.skip(); } const parameters: ClustersUpdateParameters = { body: { From 64d89f1ad26a1354baa01a23e7e843a0689cdc7f Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 27 Dec 2024 15:04:11 +0800 Subject: [PATCH 71/73] update --- .../arm-appservice-rest/test/public/utils/recordedClient.ts | 4 ++-- .../arm-compute-rest/test/public/utils/recordedClient.ts | 4 ++-- .../test/public/utils/recordedClient.ts | 4 ++-- .../arm-network-rest/test/public/utils/recordedClient.ts | 4 ++-- .../test/public/utils/recordedClient.ts | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts index 74227456d8e7..f126d6330256 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { ClientOptions } from "@azure-rest/core-client"; import { createTestCredential } from "@azure-tools/test-credential"; @@ -30,7 +30,7 @@ const recorderEnvSetup: RecorderStartOptions = { * read before they are being used. */ -export async function createRecorder(context: Context): Promise { +export async function createRecorder(context: TestInfo): Promise { const recorder = new Recorder(context.currentTest); await recorder.start(recorderEnvSetup); return recorder; diff --git a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts index 4007422cba84..33eb8b72c532 100644 --- a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts +++ b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { TokenCredential } from "@azure/core-auth"; @@ -26,7 +26,7 @@ const recorderEnvSetup: RecorderStartOptions = { * Should be called first in the test suite to make sure environment variables are * read before they are being used. */ -export async function createRecorder(context: Context): Promise { +export async function createRecorder(context: TestInfo): Promise { const recorder = new Recorder(context.currentTest); await recorder.start(recorderEnvSetup); return recorder; diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts index 7d8b542b307e..d075001afc98 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; const envSetupForPlayback: Record = { @@ -24,7 +24,7 @@ const recorderEnvSetup: RecorderStartOptions = { * Should be called first in the test suite to make sure environment variables are * read before they are being used. */ -export async function createRecorder(context: Context): Promise { +export async function createRecorder(context: TestInfo): Promise { const recorder = new Recorder(context.currentTest); await recorder.start(recorderEnvSetup); return recorder; diff --git a/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts b/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts index 5f99464cd027..f299cc66c3e6 100644 --- a/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts +++ b/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { NetworkManagementClient } from "../../../src/clientDefinitions.js"; import type { TokenCredential } from "@azure/core-auth"; @@ -25,7 +25,7 @@ const recorderEnvSetup: RecorderStartOptions = { * Should be called first in the test suite to make sure environment variables are * read before they are being used. */ -export async function createRecorder(context: Context): Promise { +export async function createRecorder(context: TestInfo): Promise { const recorder = new Recorder(context.currentTest); await recorder.start(recorderEnvSetup); return recorder; diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts index d5141c6bdafa..6af3d3371aee 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { ClientOptions } from "@azure-rest/core-client"; import { createTestCredential } from "@azure-tools/test-credential"; @@ -28,7 +28,7 @@ const recorderEnvSetup: RecorderStartOptions = { * Should be called first in the test suite to make sure environment variables are * read before they are being used. */ -export async function createRecorder(context: Context): Promise { +export async function createRecorder(context: TestInfo): Promise { const recorder = new Recorder(context.currentTest); await recorder.start(recorderEnvSetup); return recorder; From 1467a0d898829b414aa754bdd482fc9ca5e4571f Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 27 Dec 2024 16:13:00 +0800 Subject: [PATCH 72/73] update --- .../arm-appservice-rest/test/public/utils/recordedClient.ts | 2 +- .../arm-compute-rest/test/public/utils/recordedClient.ts | 2 +- .../test/public/utils/recordedClient.ts | 2 +- .../arm-network-rest/test/public/utils/recordedClient.ts | 2 +- .../arm-servicefabric-rest/test/public/utils/recordedClient.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts index f126d6330256..364347b24a5c 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts @@ -31,7 +31,7 @@ const recorderEnvSetup: RecorderStartOptions = { */ export async function createRecorder(context: TestInfo): Promise { - const recorder = new Recorder(context.currentTest); + const recorder = new Recorder(context); await recorder.start(recorderEnvSetup); return recorder; } diff --git a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts index 33eb8b72c532..0d062cb313c3 100644 --- a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts +++ b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts @@ -27,7 +27,7 @@ const recorderEnvSetup: RecorderStartOptions = { * read before they are being used. */ export async function createRecorder(context: TestInfo): Promise { - const recorder = new Recorder(context.currentTest); + const recorder = new Recorder(context); await recorder.start(recorderEnvSetup); return recorder; } diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts index d075001afc98..4e3e9b0d7b5e 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts @@ -25,7 +25,7 @@ const recorderEnvSetup: RecorderStartOptions = { * read before they are being used. */ export async function createRecorder(context: TestInfo): Promise { - const recorder = new Recorder(context.currentTest); + const recorder = new Recorder(context); await recorder.start(recorderEnvSetup); return recorder; } diff --git a/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts b/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts index f299cc66c3e6..ef6395cbca93 100644 --- a/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts +++ b/sdk/network/arm-network-rest/test/public/utils/recordedClient.ts @@ -26,7 +26,7 @@ const recorderEnvSetup: RecorderStartOptions = { * read before they are being used. */ export async function createRecorder(context: TestInfo): Promise { - const recorder = new Recorder(context.currentTest); + const recorder = new Recorder(context); await recorder.start(recorderEnvSetup); return recorder; } diff --git a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts index 6af3d3371aee..d5701fe6cbd9 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/test/public/utils/recordedClient.ts @@ -29,7 +29,7 @@ const recorderEnvSetup: RecorderStartOptions = { * read before they are being used. */ export async function createRecorder(context: TestInfo): Promise { - const recorder = new Recorder(context.currentTest); + const recorder = new Recorder(context); await recorder.start(recorderEnvSetup); return recorder; } From 972b72967188cd8e223fe8f4ec3c0160397bf362 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 27 Dec 2024 16:41:10 +0800 Subject: [PATCH 73/73] update --- sdk/appservice/arm-appservice-rest/vitest.config.ts | 12 ++++++++++-- sdk/compute/arm-compute-rest/vitest.config.ts | 12 ++++++++++-- .../arm-containerservice-rest/vitest.config.ts | 12 ++++++++++-- sdk/network/arm-network-rest/vitest.config.ts | 12 ++++++++++-- .../arm-servicefabric-rest/vitest.config.ts | 12 ++++++++++-- 5 files changed, 50 insertions(+), 10 deletions(-) diff --git a/sdk/appservice/arm-appservice-rest/vitest.config.ts b/sdk/appservice/arm-appservice-rest/vitest.config.ts index cc5cd85d4131..2a4750c84292 100644 --- a/sdk/appservice/arm-appservice-rest/vitest.config.ts +++ b/sdk/appservice/arm-appservice-rest/vitest.config.ts @@ -1,7 +1,15 @@ - // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +import { defineConfig, mergeConfig } from "vitest/config"; import viteConfig from "../../../vitest.shared.config.ts"; -export default viteConfig; +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +); diff --git a/sdk/compute/arm-compute-rest/vitest.config.ts b/sdk/compute/arm-compute-rest/vitest.config.ts index cc5cd85d4131..2a4750c84292 100644 --- a/sdk/compute/arm-compute-rest/vitest.config.ts +++ b/sdk/compute/arm-compute-rest/vitest.config.ts @@ -1,7 +1,15 @@ - // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +import { defineConfig, mergeConfig } from "vitest/config"; import viteConfig from "../../../vitest.shared.config.ts"; -export default viteConfig; +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +); diff --git a/sdk/containerservice/arm-containerservice-rest/vitest.config.ts b/sdk/containerservice/arm-containerservice-rest/vitest.config.ts index cc5cd85d4131..2a4750c84292 100644 --- a/sdk/containerservice/arm-containerservice-rest/vitest.config.ts +++ b/sdk/containerservice/arm-containerservice-rest/vitest.config.ts @@ -1,7 +1,15 @@ - // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +import { defineConfig, mergeConfig } from "vitest/config"; import viteConfig from "../../../vitest.shared.config.ts"; -export default viteConfig; +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +); diff --git a/sdk/network/arm-network-rest/vitest.config.ts b/sdk/network/arm-network-rest/vitest.config.ts index cc5cd85d4131..2a4750c84292 100644 --- a/sdk/network/arm-network-rest/vitest.config.ts +++ b/sdk/network/arm-network-rest/vitest.config.ts @@ -1,7 +1,15 @@ - // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +import { defineConfig, mergeConfig } from "vitest/config"; import viteConfig from "../../../vitest.shared.config.ts"; -export default viteConfig; +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +); diff --git a/sdk/servicefabric/arm-servicefabric-rest/vitest.config.ts b/sdk/servicefabric/arm-servicefabric-rest/vitest.config.ts index cc5cd85d4131..2a4750c84292 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/vitest.config.ts +++ b/sdk/servicefabric/arm-servicefabric-rest/vitest.config.ts @@ -1,7 +1,15 @@ - // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +import { defineConfig, mergeConfig } from "vitest/config"; import viteConfig from "../../../vitest.shared.config.ts"; -export default viteConfig; +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +);